1 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7 (_dl_start_user): Likewise.
8 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10 2014-11-12 Carlos O'Donell <carlos@redhat.com>
11 Siddhesh Poyarekar <siddhesh@redhat.com>
13 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
14 Move argv and envp down instead of moving argc up.
15 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
17 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
20 * test-skeleton.c (main): Return successful if one of
21 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
22 * string/tst-strcoll-overflow.c: Define expected status.
24 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
27 * locale/iso-639.def: Define Bhili and Tulu language codes.
29 2014-11-11 Alan Hayward <alan.hayward@arm.com>
31 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33 2014-11-10 Renlin Li <Renlin.Li@arm.com>
36 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
40 * configure.ac: Updated check of minimal required version to
42 * manual/install.texi (Tools for Compilation): Updated version
44 * configure: Regenerated.
47 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
49 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
52 2014-11-07 Joseph Myers <joseph@codesourcery.com>
54 * include/sys/wait.h (__libc_waitpid): Remove declaration.
55 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
56 (__waitpid): Don't define as alias. Use libc_hidden_def not
58 (waitpid): Define as alias of __waitpid.
59 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
61 (__waitpid): Don't define as alias. Use libc_hidden_def not
63 (waitpid): Define as alias of __waitpid.
64 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
66 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
67 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
69 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
70 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
71 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
73 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
75 (__waitpid): Don't define as alias. Use libc_hidden_def not
77 (waitpid): Define as alias of __waitpid.
79 2014-11-06 Carlos O'Donell <carlos@redhat.com>
81 * manual/llio.texi: Add comment that write safety has been
84 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
85 (localplt-build-dso): Add elf/ld.so.
86 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
87 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
89 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
90 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
91 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
93 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
95 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
96 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
97 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
98 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
99 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
100 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
101 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
102 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
103 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
104 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
105 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
107 2014-11-05 Joseph Myers <joseph@codesourcery.com>
110 * include/libc-symbols.h (INTUSE): Remove macro.
112 (INTVARDEF): Likewise.
113 (_INTVARDEF): Likewise.
115 (INTVARDEF2): Likewise.
116 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
117 rtld_hidden_def instead of INTVARDEF.
118 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
119 (_dl_starting_up_internal): Remove declaration.
120 (_dl_starting_up): Use rtld_hidden_proto.
121 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
123 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
124 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
126 * elf/dl-writev.h (_dl_writev): Likewise.
127 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
128 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
129 _dl_starting_up_internal.
131 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
133 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
136 2014-11-05 Will Newton <will.newton@linaro.org>
138 * benchtests/Makefile: (bench-malloc): Add malloc thread
139 scalability benchmark.
140 * benchtests/bench-malloc-threads.c: New file.
142 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
144 * sysdeps/aarch64/strchrnul.S: New file.
146 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
148 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
150 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
152 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
156 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
158 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
161 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
163 * catgets/test-gencat.c: Use test-skeleton.c.
164 * catgets/tst-catgets.c: Likewise.
165 * csu/tst-empty.c: Likewise.
166 * elf/tst-audit2.c: Likewise.
167 * elf/tst-global1.c: Likewise.
168 * elf/tst-pathopt.c: Likewise.
169 * elf/tst-piemod1.c: Likewise.
170 * elf/tst-tls10.c: Likewise.
171 * elf/tst-tls11.c: Likewise.
172 * elf/tst-tls12.c: Likewise.
173 * gnulib/tst-gcc.c: Likewise.
174 * iconvdata/tst-e2big.c: Likewise.
175 * iconvdata/tst-loading.c: Likewise.
176 * iconv/tst-iconv1.c: Likewise.
177 * iconv/tst-iconv2.c: Likewise.
178 * inet/test-inet6_opt.c: Likewise.
179 * inet/tst-gethnm.c: Likewise.
180 * inet/tst-network.c: Likewise.
181 * inet/tst-ntoa.c: Likewise.
182 * intl/tst-codeset.c: Likewise.
183 * intl/tst-gettext2.c: Likewise.
184 * intl/tst-gettext3.c: Likewise.
185 * intl/tst-ngettext.c: Likewise.
186 * intl/tst-translit.c: Likewise.
187 * io/test-stat.c: Likewise.
188 * libio/test-fmemopen.c: Likewise.
189 * libio/tst-freopen.c: Likewise.
190 * libio/tst-sscanf.c: Likewise.
191 * libio/tst-ungetwc1.c: Likewise.
192 * libio/tst-ungetwc2.c: Likewise.
193 * libio/tst-widetext.c: Likewise.
194 * localedata/tst-ctype.c: Likewise.
195 * localedata/tst-digits.c: Likewise.
196 * localedata/tst-leaks.c: Likewise.
197 * localedata/tst-mbswcs1.c: Likewise.
198 * localedata/tst-mbswcs2.c: Likewise.
199 * localedata/tst-mbswcs3.c: Likewise.
200 * localedata/tst-mbswcs4.c: Likewise.
201 * localedata/tst-mbswcs5.c: Likewise.
202 * localedata/tst-setlocale.c: Likewise.
203 * localedata/tst-trans.c: Likewise.
204 * localedata/tst-wctype.c: Likewise.
205 * localedata/tst-xlocale1.c: Likewise.
206 * login/tst-grantpt.c: Likewise.
207 * malloc/tst-calloc.c: Likewise.
208 * malloc/tst-malloc.c: Likewise.
209 * malloc/tst-mallocstate.c: Likewise.
210 * malloc/tst-mcheck.c: Likewise.
211 * malloc/tst-mtrace.c: Likewise.
212 * malloc/tst-obstack.c: Likewise.
213 * math/atest-exp2.c: Likewise.
214 * math/atest-exp.c: Likewise.
215 * math/atest-sincos.c: Likewise.
216 * math/test-matherr.c: Likewise.
217 * math/test-misc.c: Likewise.
218 * math/test-powl.c: Likewise.
219 * math/tst-definitions.c: Likewise.
220 * misc/tst-dirname.c: Likewise.
221 * misc/tst-efgcvt.c: Likewise.
222 * misc/tst-fdset.c: Likewise.
223 * misc/tst-hsearch.c: Likewise.
224 * misc/tst-mntent2.c: Likewise.
225 * nptl/tst-sem7.c: Likewise.
226 * nptl/tst-sem8.c: Likewise.
227 * nptl/tst-sem9.c: Likewise.
228 * nss/test-netdb.c: Likewise.
229 * posix/tst-fnmatch.c: Likewise.
230 * posix/tst-getlogin.c: Likewise.
231 * posix/tst-gnuglob.c: Likewise.
232 * posix/tst-mmap.c: Likewise.
233 * pwd/tst-getpw.c: Likewise.
234 * resolv/tst-inet_ntop.c: Likewise.
235 * rt/tst-timer.c: Likewise.
236 * stdio-common/test-fseek.c: Likewise.
237 * stdio-common/test-popen.c: Likewise.
238 * stdio-common/test-vfprintf.c: Likewise.
239 * stdio-common/tst-cookie.c: Likewise.
240 * stdio-common/tst-fileno.c: Likewise.
241 * stdio-common/tst-gets.c: Likewise.
242 * stdio-common/tst-obprintf.c: Likewise.
243 * stdio-common/tst-perror.c: Likewise.
244 * stdio-common/tst-sprintf2.c: Likewise.
245 * stdio-common/tst-sprintf3.c: Likewise.
246 * stdio-common/tst-sprintf.c: Likewise.
247 * stdio-common/tst-swprintf.c: Likewise.
248 * stdio-common/tst-tmpnam.c: Likewise.
249 * stdio-common/tst-unbputc.c: Likewise.
250 * stdio-common/tst-wc-printf.c: Likewise.
251 * stdlib/tst-environ.c: Likewise.
252 * stdlib/tst-fmtmsg.c: Likewise.
253 * stdlib/tst-limits.c: Likewise.
254 * stdlib/tst-rand48-2.c: Likewise.
255 * stdlib/tst-rand48.c: Likewise.
256 * stdlib/tst-random2.c: Likewise.
257 * stdlib/tst-random.c: Likewise.
258 * stdlib/tst-strtol.c: Likewise.
259 * stdlib/tst-strtoll.c: Likewise.
260 * stdlib/tst-tls-atexit.c: Likewise.
261 * stdlib/tst-xpg-basename.c: Likewise.
262 * string/test-ffs.c: Likewise.
263 * string/tst-bswap.c: Likewise.
264 * string/tst-inlcall.c: Likewise.
265 * string/tst-strtok.c: Likewise.
266 * string/tst-strxfrm.c: Likewise.
267 * sysdeps/x86_64/tst-audit10.c: Likewise.
268 * sysdeps/x86_64/tst-audit3.c: Likewise.
269 * sysdeps/x86_64/tst-audit4.c: Likewise.
270 * sysdeps/x86_64/tst-audit5.c: Likewise.
271 * time/tst-ftime_l.c: Likewise.
272 * time/tst-getdate.c: Likewise.
273 * time/tst-mktime3.c: Likewise.
274 * time/tst-mktime.c: Likewise.
275 * time/tst-posixtz.c: Likewise.
276 * time/tst-strptime2.c: Likewise.
277 * time/tst-strptime3.c: Likewise.
278 * wcsmbs/tst-btowc.c: Likewise.
279 * wcsmbs/tst-mbrtowc.c: Likewise.
280 * wcsmbs/tst-mbsrtowcs.c: Likewise.
281 * wcsmbs/tst-wchar-h.c: Likewise.
282 * wcsmbs/tst-wcpncpy.c: Likewise.
283 * wcsmbs/tst-wcrtomb.c: Likewise.
284 * wcsmbs/tst-wcsnlen.c: Likewise.
285 * wcsmbs/tst-wcstof.c: Likewise.
287 2014-11-04 Joseph Myers <joseph@codesourcery.com>
290 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
292 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
294 (_dl_mcount): Use rtld_hidden_proto.
295 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
297 * elf/rtld.c (_rtld_global_ro): Likewise.
300 * elf/dl-init.c (_dl_init): Don't use INTDEF.
301 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
302 of _dl_init_internal.
303 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
304 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
305 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
306 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
307 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
308 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
309 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
310 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
311 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
312 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
313 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
314 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
315 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
316 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
317 * sysdeps/tile/dl-start.S (_start): Likewise.
318 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
319 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
322 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
323 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
324 (rtld_progname): Make macro definition unconditional.
325 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
327 (dlmopen_doit): Do not use INTUSE with _dl_argv.
329 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
330 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
331 instead of _dl_argv_internal.
332 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
333 __GI__dl_argv instead of INTUSE(_dl_argv).
334 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
335 __GI__dl_argv instead of _dl_argv_internal.
337 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
338 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
340 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
341 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
343 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
344 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
346 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
347 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
349 2014-11-04 Andreas Schwab <schwab@suse.de>
351 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
353 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
356 mtvsrd instruction in binary form.
358 2014-11-03 Andreas Schwab <schwab@suse.de>
361 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
362 for less than MB_LEN_MAX use a local buffer of that size.
363 * libio/tst-fputws.c: New file.
364 * libio/Makefile (tests): Add tst-fputws.
366 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
368 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
369 the size of the fpu_fr.fpu_dregs[] array.
371 2014-11-01 Joseph Myers <joseph@codesourcery.com>
373 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
374 (__nanosleep): Do not define as alias.
375 (nanosleep): Define as alias of __nanosleep.
376 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
377 __libc_nanosleep name.
379 2014-10-31 Joseph Myers <joseph@codesourcery.com>
381 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
382 install.texi in comment.
384 2014-10-31 Torvald Riegel <triegel@redhat.com>
386 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
387 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
388 ... add here and use lwsync or sync ...
389 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
390 ... and add here using lwsync.
392 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
394 * elf/dl-machine-reject-phdr.h: New file.
395 * elf/dl-load.c: #include that.
396 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
397 if that returned true.
399 2014-10-31 Roland McGrath <roland@hack.frob.com>
402 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
403 gen-as-const-headers chunk. Add a big scare comment after the last
404 safe place to touch before-compile.
406 2014-10-31 Joseph Myers <joseph@codesourcery.com>
408 * manual/install.texi (Tools for Compilation): Update autoconf
409 version requirements.
410 * INSTALL: Regenerated.
412 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
413 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
414 (__libc_pselect): Likewise.
417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
422 2014-10-31 Torvald Riegel <triegel@redhat.com>
424 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
425 correct barrier instruction.
426 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
428 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
431 2014-10-30 Roland McGrath <roland@hack.frob.com>
433 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
434 after defining inlines. Instead, just use parens to defeat macro
435 expansion of __isctype in its declaration.
437 2014-10-30 Joseph Myers <joseph@codesourcery.com>
439 * include/sys/uio.h (__libc_readv): Remove declaration.
440 (__libc_writev): Likewise.
441 * misc/readv.c (__libc_readv): Rename to __readv.
442 (__readv): Do not define as alias.
443 (readv): Define as alias of __readv.
444 * misc/writev.c (__libc_writev): Rename to __writev.
445 (__writev): Do not define as alias.
446 (writev): Define as alias of __writev.
447 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
448 (__readv): Do not define as alias.
449 (readv): Define unconditionally as alias of __readv.
450 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
451 (__writev): Do not define as alias.
452 (writev): Define unconditionally as alias of __writev.
453 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
455 (writev): Do not define __libc_writev name.
457 2014-10-30 Roland McGrath <roland@hack.frob.com>
459 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
460 (convert_charseq): New function, broken out of ...
461 (use_from_charmap): ... here. Call it.
462 (use_to_charmap): Use convert_charseq and free instead of duplicating
463 its code with a variable-length stack struct.
465 2014-10-30 Joseph Myers <joseph@codesourcery.com>
467 * include/fcntl.h (__libc_creat): Remove declaration.
468 * io/creat.c (__libc_creat): Rename to creat.
469 (creat): Do not define as alias.
470 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
471 of creat instead of __libc_creat.
472 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
474 (creat): Do not define as alias.
475 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
477 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
482 2014-10-29 Carlos O'Donell <carlos@redhat.com>
484 * manual/llio.texi: Add comments discussing why write() may be
485 considered MT-unsafe on Linux.
487 2014-10-28 Carlos O'Donell <carlos@redhat.com>
489 * dl-load.c (local_strdup): Remove.
490 (expand_dynamic_string_token): Use __strdup.
491 (decompose_rpath): Likewise.
492 (_dl_map_object): Likewise.
494 2014-10-28 Joseph Myers <joseph@codesourcery.com>
497 * sysdeps/generic/unwind-dw2-fde.c
498 (__register_frame_info_bases_internal): Do not declare.
499 (__register_frame_info_table_bases_internal): Likewise.
500 (__deregister_frame_info_bases_internal): Likewise.
501 (__register_frame_info_bases): Declare and use hidden_proto before
502 definition. Use hidden_def instead of INTDEF.
503 (__register_frame_info_table_bases): Likewise.
504 (__deregister_frame_info_bases): Likewise.
505 (__register_frame_info): Do not use INTUSE.
506 (__register_frame): Likewise.
507 (__register_frame_info_table): Likewise.
508 (__register_frame_table): Likewise.
509 (__deregister_frame_info): Likewise.
510 (__deregister_frame): Likewise.
512 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
514 * sysdeps/unix/sysv/linux/arm/kernel-features.h
515 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
517 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
519 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
522 2014-10-27 Joseph Myers <joseph@codesourcery.com>
525 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
526 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
527 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
528 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
529 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
530 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
531 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
532 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
533 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
534 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
535 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
536 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
537 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
539 (setfsuid): Likewise.
540 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
541 (setfsuid): Likewise.
542 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
543 (setfsuid): Likewise.
544 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
546 (setfsuid): Likewise.
547 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
548 (setfsuid): Likewise.
549 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
551 (setfsuid): Likewise.
553 2014-10-27 Andreas Schwab <schwab@suse.de>
556 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
557 check for Slow_SSE4_2 feature bit.
558 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
559 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
560 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
561 Likewise. Fix check for Fast_Unaligned_Load feature bit.
563 2014-10-24 Roland McGrath <roland@hack.frob.com>
565 * configure.ac: Validate compiler version with a empirical test of
566 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
568 * configure: Regenerated.
570 * inet/htons.c (htons): Prototypify.
571 * inet/htonl.c (htonl): Likewise.
573 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
575 * string/strncat.c (strncat): Improve performance by using strlen.
577 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
579 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
581 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
583 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
584 Call libc_fetestexcept_aarch64.
586 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
588 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
589 Call libc_feholdexcept_aarch64.
591 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
593 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
594 Call get_rounding_mode.
596 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
598 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
601 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
603 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
606 2014-10-24 Joseph Myers <joseph@codesourcery.com>
609 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
610 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
611 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
612 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
613 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
614 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
615 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
616 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
617 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
618 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
619 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
620 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
621 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
622 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
623 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
624 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
625 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
626 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
627 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
628 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
629 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
630 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
631 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
632 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
633 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
634 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
635 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
636 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
637 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
638 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
639 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
640 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
641 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
642 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
643 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
644 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
645 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
646 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
647 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
648 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
649 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
654 (getresgid): Likewise.
655 (getresuid): Likewise.
656 (getgroups): Likewise.
657 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
661 (getresgid): Likewise.
662 (getresuid): Likewise.
663 (getgroups): Likewise.
664 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
668 (getresgid): Likewise.
669 (getresuid): Likewise.
670 (getgroups): Likewise.
671 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
676 (getresgid): Likewise.
677 (getresuid): Likewise.
678 (getgroups): Likewise.
679 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
683 (getresgid): Likewise.
684 (getresuid): Likewise.
685 (getgroups): Likewise.
686 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
691 (getgroups): Likewise.
694 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
695 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
696 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
698 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
699 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
700 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
701 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
702 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
705 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
706 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
708 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
711 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
715 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
718 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
723 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
725 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
728 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
730 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
733 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
735 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
736 Remove unused include.
738 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
740 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
741 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
742 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
743 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
745 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
746 Helge Deller <deller@gmx.de>
749 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
750 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
751 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
753 2014-10-23 Joseph Myers <joseph@codesourcery.com>
756 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
757 Remove macro definition.
758 (__ashrdi3_v_glibc20): Likewise.
759 (__lshrdi3_v_glibc20): Likewise.
760 (__cmpdi2_v_glibc20): Likewise.
761 (__ucmpdi2_v_glibc20): Likewise.
762 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
763 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
764 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
765 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
766 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
767 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
769 2014-10-22 Roland McGrath <roland@hack.frob.com>
771 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
772 old GNU extension [0] syntax.
773 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
774 alloca rather than an array member with variable length.
775 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
776 * nscd/nscd.c (invalidate_db): New function, broken out of ...
777 (parse_opt): ... here. Likewise use alloca there.
778 Validate the -i argument before checking for rootness.
779 (send_shutdown): New function, broken out of ...
780 (parse_opt): ... here.
782 2014-10-22 Roland McGrath <roland@hack.frob.com>
784 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
785 macro to get at the _rt_local_ro field.
786 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
787 ([PIC] case) or _dl_hwcap ([!PIC] case).
788 * sysdeps/arm/setjmp.S: Likewise.
790 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
791 * sysdeps/arm/configure.ac: New check to define it.
792 * sysdeps/arm/configure: Regenerated.
793 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
794 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
795 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
796 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
797 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
798 Use move/movt pair instead of a load.
799 (LDST_GLOBAL): Macro removed.
800 (LDR_GLOBAL): New macro replaces it.
801 (LDR_HIDDEN): New macro.
802 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
803 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
805 * setjmp/tst-setjmp-static.c: New file.
806 * setjmp/Makefile (tests): Add it.
807 (tests-static): New variable.
809 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
812 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
814 2014-10-21 Joseph Myers <joseph@codesourcery.com>
817 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
819 2014-10-21 Roland McGrath <roland@hack.frob.com>
821 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
823 2014-10-20 Roland McGrath <roland@hack.frob.com>
825 * io/fts.c (dirent_not_directory): New function.
826 (fts_build): Call it.
828 2014-10-20 Roland McGrath <roland@hack.frob.com>
830 * nptl/version.c (__nptl_main): Use normal __write rather than
832 (banner): Update copyright years.
834 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
836 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
837 * nptl/pthread_cond_timedwait.c: Likewise.
838 * nptl/pthread_mutex_timedlock.c: Likewise.
839 * nptl/sem_timedwait.c: Likewise.
841 * sysdeps/nptl/bits/libc-lock.h
842 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
843 (__libc_lock_init_recursive): Return void, not 0.
844 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
845 (__libc_rwlock_init): Likewise.
846 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
848 2014-10-20 Torvald Riegel <triegel@redhat.com>
851 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
852 (__pthread_once_slow): ... here.
853 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
854 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
856 2014-10-20 Torvald Riegel <triegel@redhat.com>
859 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
860 __PTHREAD_ONCE_FORK_GEN_INCR): New.
861 * sysdeps/nptl/fork.c (__libc_fork): Use them.
862 * nptl/pthread_once.c (__pthread_once): Likewise.
865 2014-10-20 Joseph Myers <joseph@codesourcery.com>
868 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
870 (writev): Use __libc_writev as strong name.
871 * sysdeps/unix/sysv/linux/readv.c: Remove file.
872 * sysdeps/unix/sysv/linux/writev.c: Likewise.
874 2014-10-17 Roland McGrath <roland@hack.frob.com>
876 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
878 * sysdeps/i386/nptl/tls.h
879 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
880 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
882 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
883 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
884 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
885 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
886 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
887 Call CHECK_THREAD_SYSINFO instead of doing an assert.
889 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
890 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
892 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
894 (__pthread_mutex_init): ... here. Call it.
895 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
896 Conditionalize PI cases on [__NR_futex].
897 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
898 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
899 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
901 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
902 conditional on [SIGSETXID].
903 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
904 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
905 is defined. Likewise for SIGSETXID.
906 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
907 Conditionalize definitions on [SIGSETXID].
908 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
909 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
910 unblocking on [SIGCANCEL].
912 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
913 [__NR_set_robust_list].
915 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
917 * string/strcoll_l.c (get_next_seq): Fix up formatting.
918 (do_compare): Likewise.
920 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
923 * string/strcoll_l.c: Don't include stdio.h.
924 (coll_seq): Remove members idxarr and rulearr.
925 (get_next_seq_cached): Remove function.
926 (get_next_seq): Likewise.
927 (get_next_seq_nocache): Rename to get_next_seq.
928 (do_compare): Remove function.
929 (do_compare_nocache): Rename to do_compare.
930 (STRCOLL): Remove weight and rules cache.
932 2014-10-16 Roland McGrath <roland@hack.frob.com>
934 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
935 * sysdeps/arm/sfp-machine.h: ... to here.
936 * sysdeps/arm/Implies: Remove arm/soft-fp.
938 2014-10-14 Joseph Myers <joseph@codesourcery.com>
940 * conform/data/sys/utsname.h-data (*_t): Allow.
941 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
942 [POSIX] (WEXITED): Do not expect constant.
943 [POSIX] (WSTOPPED): Likewise.
944 [POSIX] (WNOHANG): Likewise.
945 [POSIX] (WNOWAIT): Likewise.
946 [POSIX] (siginfo_t): Do not expect type or elements.
947 [POSIX] (pid_t): Do not expect type.
948 [POSIX] (signal.h): Do not allow header.
949 [POSIX] (sys/resource.h): Likewise.
950 [POSIX] (si_*): Do not allow pattern.
951 [POSIX] (W*): Likewise.
952 [POSIX] (P_*): Likewise.
953 [POSIX] (BUS_*): Likewise.
954 [POSIX] (CLD_*): Likewise.
955 [POSIX] (FPE_*): Likewise.
956 [POSIX] (ILL_*): Likewise.
957 [POSIX] (POLL_*): Likewise.
958 [POSIX] (SEGV_*): Likewise.
959 [POSIX] (SI_*): Likewise.
960 [POSIX] (TRAP_*): Likewise.
961 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
964 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
967 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
968 infinite loop when __recvmsg returns 0.
970 2014-10-10 Joseph Myers <joseph@codesourcery.com>
972 * CANCEL-FCT-WAIVE: Remove file.
973 * CANCEL-FILE-WAIVE: Likewise.
976 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
977 instead of INTVARDEF.
978 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
979 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
980 rtld_hidden_data_def instead of INTVARDEF.
981 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
982 * elf/dl-deps.c (expand_dst): Likewise.
983 * elf/dl-load.c (_dl_dst_count): Likewise.
984 (_dl_dst_substitute): Likewise.
985 (decompose_rpath): Likewise.
986 (_dl_init_paths): Likewise.
987 (open_path): Likewise.
988 (_dl_map_object): Likewise.
989 * elf/rtld.c (dl_main): Likewise.
990 (process_dl_audit): Likewise.
991 (process_envvars): Likewise.
992 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
994 (__libc_enable_secure): Use rtld_hidden_proto.
996 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
999 (add_path): New function broken out of _dl_rtld_di_serinfo.
1000 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1002 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1004 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1005 parentheses around macro arguments.
1006 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1007 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1009 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1010 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1011 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1012 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1013 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1014 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1015 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1016 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1017 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1018 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1019 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1020 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1021 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1022 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1023 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1024 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1027 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1028 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1029 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1030 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1031 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1032 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1033 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1034 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1035 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1036 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1037 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1038 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1039 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1040 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1041 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1043 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1044 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1045 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1046 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1047 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1048 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1049 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1050 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1051 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1052 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1053 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1054 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1055 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1056 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1057 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1058 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1059 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1060 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1061 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1062 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1063 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1064 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1065 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1066 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1067 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1068 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1069 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1070 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1071 (_FP_FRAC_SRS_1): Likewise.
1072 (_FP_FRAC_CLZ_1): Likewise.
1073 (_FP_MUL_MEAT_1_imm): Likewise.
1074 (_FP_MUL_MEAT_1_wide): Likewise.
1075 (_FP_MUL_MEAT_1_hard): Likewise.
1076 (_FP_SQRT_MEAT_1): Likewise.
1077 (_FP_FRAC_ASSEMBLE_1): Likewise.
1078 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1079 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1080 (__FP_CLZ_2): Likewise.
1081 (_FP_MUL_MEAT_2_wide): Likewise.
1082 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1083 (_FP_MUL_MEAT_2_gmp): Likewise.
1084 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1085 (_FP_SQRT_MEAT_2): Likewise.
1086 (_FP_FRAC_ASSEMBLE_2): Likewise.
1087 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1088 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1089 (_FP_FRAC_CLZ_4): Likewise.
1090 (_FP_MUL_MEAT_4_wide): Likewise.
1091 (_FP_MUL_MEAT_4_gmp): Likewise.
1092 (_FP_SQRT_MEAT_4): Likewise.
1093 (_FP_FRAC_ASSEMBLE_4): Likewise.
1094 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1095 * soft-fp/op-common.h (_FP_CMP): Likewise.
1096 (_FP_CMP_EQ): Likewise.
1097 (_FP_CMP_UNORD): Likewise.
1098 (_FP_TO_INT): Likewise.
1099 (_FP_FROM_INT): Likewise.
1100 [!__FP_CLZ] (__FP_CLZ): Likewise.
1101 (_FP_DIV_HELP_imm): Likewise.
1102 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1104 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1105 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1106 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1107 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1108 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1109 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1110 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1111 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1112 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1113 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1114 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1115 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1116 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1117 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1118 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1119 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1120 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1121 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1122 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1124 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1125 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1126 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1127 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1128 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1129 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1130 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1131 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1132 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1133 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1134 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1135 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1136 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1137 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1138 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1139 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1140 (FP_UNPACK_RAW_SP): Likewise.
1141 (FP_PACK_RAW_S): Likewise.
1142 (FP_PACK_RAW_SP): Likewise.
1143 (FP_UNPACK_S): Likewise.
1144 (FP_UNPACK_SP): Likewise.
1145 (FP_UNPACK_SEMIRAW_S): Likewise.
1146 (FP_UNPACK_SEMIRAW_SP): Likewise.
1147 (FP_PACK_S): Likewise.
1148 (FP_PACK_SP): Likewise.
1149 (FP_PACK_SEMIRAW_S): Likewise.
1150 (FP_PACK_SEMIRAW_SP): Likewise.
1151 (_FP_SQRT_MEAT_S): Likewise.
1152 (FP_CMP_S): Likewise.
1153 (FP_CMP_EQ_S): Likewise.
1154 (FP_CMP_UNORD_S): Likewise.
1155 (FP_TO_INT_S): Likewise.
1156 (FP_FROM_INT_S): Likewise.
1158 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1160 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1161 (FP_EX_INVALID_IMZ): Likewise.
1162 (FP_EX_INVALID_IMZ_FMA): Likewise.
1163 (FP_EX_INVALID_ISI): Likewise.
1164 (FP_EX_INVALID_ZDZ): Likewise.
1165 (FP_EX_INVALID_IDI): Likewise.
1166 (FP_EX_INVALID_SQRT): Likewise.
1167 (FP_EX_INVALID_CVI): Likewise.
1168 (FP_EX_INVALID_VC): Likewise.
1169 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1170 "invalid" exceptions.
1171 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1172 (_FP_ADD_INTERNAL): Likewise.
1173 (_FP_MUL): Likewise.
1174 (_FP_FMA): Likewise.
1175 (_FP_DIV): Likewise.
1176 (_FP_CMP_CHECK_NAN): Likewise.
1177 (_FP_SQRT): Likewise.
1178 (_FP_TO_INT): Likewise.
1179 (FP_EXTEND): Likewise.
1181 2014-10-09 Allan McRae <allan@archlinux.org>
1183 * po/fr.po: Update French translation from translation project.
1185 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1188 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1190 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1191 (__cxa_atexit): Use libc_hidden_proto.
1192 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1195 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1197 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1198 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1199 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1200 [!_ISOMAC] (__iswctype_internal): Likewise.
1201 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1202 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1204 (fcntl): Remove __fcntl_internal alias.
1205 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1206 __connect_internal alias.
1207 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1210 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1211 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1213 (_FP_CHECK_FLUSH_ZERO): New macro.
1214 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1215 (_FP_CMP): Likewise.
1216 (_FP_CMP_EQ): Likewise.
1217 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1219 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1220 (FP_TRUNC): Likewise.
1222 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1223 treated as invalid conversion, not as normal exponent.
1225 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1226 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1227 (_FP_CMP_EQ): Likewise.
1228 (_FP_CMP_UNORD): Likewise.
1229 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1230 (FP_CMP_EQ_D): Likewise.
1231 (FP_CMP_UNORD_D): Likewise.
1232 * soft-fp/extended.h (FP_CMP_E): Likewise.
1233 (FP_CMP_EQ_E): Likewise.
1234 (FP_CMP_UNORD_E): Likewise.
1235 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1236 (FP_CMP_EQ_Q): Likewise.
1237 (FP_CMP_UNORD_Q): Likewise.
1238 * soft-fp/single.h (FP_CMP_S): Likewise.
1239 (FP_CMP_EQ_S): Likewise.
1240 (FP_CMP_UNORD_S): Likewise.
1241 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1242 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1243 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1244 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1245 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1246 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1247 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1248 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1249 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1250 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1251 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1252 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1253 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1255 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1257 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1258 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1260 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1262 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1263 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1264 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1265 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1267 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1269 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1270 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1272 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1274 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1275 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1276 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1277 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1280 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1281 a subnormal result, set the underflow exception if trapping on
1282 underflow is enabled.
1283 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1284 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1285 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1287 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1288 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1289 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1290 * soft-fp/extendxftf2.c (__extendxftf2): Use
1291 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1293 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1294 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1295 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1296 FP_HANDLE_EXCEPTIONS.
1297 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1298 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1299 FP_HANDLE_EXCEPTIONS.
1300 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1301 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1302 FP_HANDLE_EXCEPTIONS.
1303 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1304 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1305 FP_HANDLE_EXCEPTIONS.
1307 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1310 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1311 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1313 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1314 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1316 (__adjtimex): Define using libc_hidden_ver.
1317 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1319 (ntp_gettime): Call __adjtimex directly.
1320 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1322 (ntp_gettimex): Call __adjtimex directly.
1323 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1324 __adjtimex_internal alias.
1326 2014-10-08 Roland McGrath <roland@hack.frob.com>
1329 * nscd/nscd.c (more_help): Rewrite list of tables collection
1330 using xstrdup and asprintf.
1332 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1334 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1335 Roland McGrath <roland@hack.frob.com>
1337 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1338 (do_lookup_unique): ... local function 'enter' here; update callers.
1340 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1342 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1343 compat_symbol calls on [SHARED].
1344 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1345 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1347 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1348 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1349 (oldsetrlimit): Remove.
1350 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1352 (lchown): New syscall entry.
1353 (oldsetrlimit): Remove.
1354 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1355 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1356 (oldsetrlimit): Remove.
1357 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1360 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1361 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1362 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1363 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1364 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1365 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1367 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1372 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1375 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1376 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1377 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1378 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1380 (__old_sem_post): Likewise.
1382 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1384 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1385 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1386 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1387 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1388 Use INLINE_VSYSCALL macro.
1389 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1390 __vdso_clock_gettime.
1391 * sysdeps/unix/sysv/linux/tile/init-first.c
1392 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1393 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1394 __vdso_clock_gettime.
1396 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1397 to set up frame more cleanly.
1399 * sysdeps/tile/memcmp.c: New file.
1401 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1403 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1404 * sysdeps/tile/tilegx/strcasestr.c: New file.
1405 * sysdeps/tile/tilegx/strnlen.c: New file.
1406 * sysdeps/tile/tilegx/strstr.c: New file.
1408 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1410 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1412 * nptl/tst-setuid3.c: Write errors to stdout.
1414 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1417 (preload): New functions broken out of _dl_map_object_deps.
1418 (_dl_map_object_deps): Remove a nested function. Update call sites.
1420 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1423 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1424 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1426 2014-10-01 Steve Ellcey <sellcey@mips.com>
1428 * sysdeps/mips/strcmp.S: New.
1430 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1433 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1435 (mkdirat): Likewise.
1436 (readlinkat): Likewise.
1437 (renameat): Likewise.
1438 (symlinkat): Likewise.
1439 (unlinkat): Likewise.
1440 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1441 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1442 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1443 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1444 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1445 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1446 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1448 2014-09-30 Will Newton <will.newton@linaro.org>
1450 * math/math.h: Define long double math functions if
1451 _LIBC_TEST is defined.
1452 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1454 * localedata/Makefile: Move assignment to tests-special
1455 into an ifdef testing run-built-tests.
1456 * timezone/Makefile: Likewise.
1458 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1460 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1461 with $(BASH) not $(SHELL).
1463 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1464 Matthew LeGendre <legendre1@llnl.gov>
1467 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1470 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1472 * stdio-common/printf_fp.c
1473 (hack_digit): New function, broken out of ...
1474 (__printf_fp): ... local function here. Update call sites.
1475 hack_digit now takes an additional parameter that is a pointer
1476 to a struct of the referenced locals. Those locals moved inside
1477 the struct and references updated.
1479 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1481 * aclocal.m4: Require autoconf 2.69.
1482 * configure: Regenerated.
1483 * sysdeps/aarch64/configure: Likewise.
1484 * sysdeps/alpha/configure: Likewise.
1485 * sysdeps/arm/armv7/configure: Likewise.
1486 * sysdeps/arm/configure: Likewise.
1487 * sysdeps/ia64/configure: Likewise.
1488 * sysdeps/mach/configure: Likewise.
1489 * sysdeps/mips/configure: Likewise.
1490 * sysdeps/s390/configure: Likewise.
1491 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1494 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1496 * sysdeps/ia64/configure.ac: Likewise.
1498 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1501 specify symbol version for ld.so. Do not include entry for
1503 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1504 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1505 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1508 * Makeconfig [$(build-shared) = yes]
1509 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1511 [$(build-shared) = yes && $(soversions.mk-done) = t]
1512 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1513 [$(build-shared) = yes && $(soversions.mk-done) = t]
1514 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1516 [$(build-shared) = yes && $(soversions.mk-done) = t]
1517 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1519 [$(build-shared) = yes && $(soversions.mk-done) = t]
1520 (common-generated): Don't append gnu/lib-names.h and
1521 gnu/lib-names.stmp here.
1522 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1523 (lib-names-h-abi): New variable.
1524 [$(build-shared) = yes && $(soversions.mk-done) = t]
1525 (lib-names-stmp-abi): Likewise.
1526 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1527 abi-variants] (before-compile): Append
1528 $(common-objpfx)$(lib-names-h-abi).
1529 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1530 abi-variants] (common-generated): Append gnu/lib-names.h.
1531 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1532 abi-variants] (install-others-nosubdir): Depend on
1533 $(inst_includedir)/$(lib-names-h-abi).
1534 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1535 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1536 [$(build-shared) = yes && $(soversions.mk-done) = t]
1537 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1538 [$(build-shared) = yes && $(soversions.mk-done) = t]
1539 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1540 [$(build-shared) = yes && $(soversions.mk-done) = t]
1541 (common-generated): Append $(lib-names-h-abi) and
1542 $(lib-names-stmp-abi).
1543 * scripts/lib-names.awk: Do not handle multi being set.
1544 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1546 (abi-lp64_be-ld-soname): Likewise.
1547 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1549 (abi-hard-ld-soname): Likewise.
1550 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1551 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1553 (abi-o32_hard-ld-soname): Likewise.
1554 (abi-o32_soft_2008-ld-soname): Likewise.
1555 (abi-o32_hard_2008-ld-soname): Likewise.
1556 (abi-n32_soft-ld-soname): Likewise.
1557 (abi-n32_hard-ld-soname): Likewise.
1558 (abi-n32_soft_2008-ld-soname): Likewise.
1559 (abi-n32_hard_2008-ld-soname): Likewise.
1560 (abi-n64_soft-ld-soname): Likewise.
1561 (abi-n64_hard-ld-soname): Likewise.
1562 (abi-n64_soft_2008-ld-soname): Likewise.
1563 (abi-n64_hard_2008-ld-soname): Likewise.
1564 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1566 (abi-64-v2-ld-soname): Likewise.
1567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1569 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1571 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1573 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1575 (abi-64-ld-soname): Likewise.
1576 (abi-x32-ld-soname): Likewise.
1577 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1579 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1581 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1584 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1585 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1586 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1587 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1588 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1589 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1590 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1591 syscall entry for GLIBC_2.2 symbol version.
1592 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1595 (setrlimit): Likewise.
1596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1599 2014-09-23 Will Newton <will.newton@linaro.org>
1601 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1602 _LINUX_ARM_SYSDEP_H include guard too.
1603 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1606 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1608 * sysdeps/unix/sysv/linux/eventfd.c:
1609 Make first argument unsigned.
1610 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1611 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1613 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1615 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1616 * socket/sys/socket.h: Likewise
1617 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1619 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1621 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1623 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1625 * time/tst-ftime.c: New test.
1626 * time/Makefile (tests): Add tst-ftime.
1628 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1630 * soft-fp/extended.h: Fix comment formatting.
1631 * soft-fp/op-1.h: Likewise.
1632 * soft-fp/op-2.h: Likewise.
1633 * soft-fp/op-4.h: Likewise.
1634 * soft-fp/op-8.h: Likewise.
1635 * soft-fp/op-common.h: Likewise.
1636 * soft-fp/soft-fp.h: Likewise.
1638 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1640 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1643 * Makeconfig (soversions-default-setname): Remove variable.
1644 ($(common-objpfx)soversions.i): Don't pass default_setname to
1646 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1647 oldest_abi to abi-versions.awk.
1648 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1649 * config.make.in (oldest-abi): Remove variable.
1650 * configure.ac (--enable-oldest-abi): Remove configure option.
1651 * configure: Regenerated.
1652 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1654 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1655 * scripts/soversions.awk: Do not handle default_setname variable.
1656 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1658 * sysdeps/mach/hurd/configure: Regenerated.
1659 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1661 * sysdeps/unix/sysv/linux/configure: Regenerated.
1663 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1665 * elf/Makefile (CFLAGS-interp.c): Remove.
1666 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1668 * elf/interp.c: Include generated runtime-linker.h
1670 * Makerules (lib%.so): Don't include $(+interp) in
1672 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1673 * dlfcn/eval.c: Remove file.
1675 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1679 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1683 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1685 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1686 Jakub Jelinek <jakub@redhat.com>
1689 * libio/stdio.h: Check definition of __fortify_function
1690 instead of __extern_always_inline to include bits/stdio2.h.
1691 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1692 check if __extern_always_inline is defined.
1693 [__USE_MISC || __USE_XOPEN]: Likewise.
1694 [__USE_ISOC99] Likewise.
1695 * misc/sys/cdefs.h (__fortify_function): Define only if
1696 __extern_always_inline is defined.
1697 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1698 __extern_always_inline and __extern_inline only for g++-4.3
1699 and newer or a compatible gcc.
1701 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1704 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1705 last change to handle zero prefix length.
1707 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1709 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1712 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1715 2014-09-13 Allan McRae <allan@archlinux.org>
1717 * po/ru.po: Update Russian translation from translation project.
1719 2014-09-12 Roland McGrath <roland@hack.frob.com>
1721 * locale/programs/locale.c (show_locale_vars): Inline local function
1722 into its sole call site. Clean up some style nits.
1723 (print_item): New function, broken out of ...
1724 (show_info): ... local function here. Clean up style nits.
1726 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1728 (set_class_defaults): ... local function set_default here.
1729 Define set_default as a macro locally to pass constant parameters.
1730 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1731 rather than a shared local.
1733 * stdlib/rpmatch.c (try): New function, broken out of ...
1734 (rpmatch): ... local function here. Also, prototypify definition.
1736 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1738 * scripts/soversions.awk: Do not handle configuration names.
1739 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1740 vendor and os variables to soversions.awk.
1741 * configure.ac: Do not modify gnu-* host_os.
1742 * configure: Regenerated
1743 * shlib-versions: Remove first column with configuration names.
1744 * nptl/shlib-versions: Likewise.
1745 * nptl_db/shlib-versions: Likewise.
1746 * sysdeps/hppa/shlib-versions: Likewise.
1747 * sysdeps/m68k/shlib-versions: Likewise.
1748 * sysdeps/mach/hurd/shlib-versions: Likewise.
1749 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1750 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1751 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1752 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1753 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1754 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1755 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1756 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1759 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1760 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1761 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1762 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1763 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1764 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1765 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1769 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1772 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1774 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1776 * shlib-versions: Remove OS-specific entries. Moved to files in
1778 * sysdeps/mach/hurd/shlib-versions: New file.
1779 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1781 * nptl/shlib-versions: Remove architecture-specific entries.
1782 Moved to files in sysdeps.
1783 * shlib-versions: Likewise.
1784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1786 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1787 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1788 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1789 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1791 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1792 (UDP_NO_CHECK6_RX): Likewise.
1794 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1796 * sysdeps/posix/sysconf.c (__sysconf): Spell
1797 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1799 2014-08-12 Florian Weimer <fweimer@redhat.com>
1801 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1803 * iconv/Versions (__gconv_transliterate): Export for use from
1805 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1806 (struct __gconv_trans_data, __gconv_trans_fct,
1807 __gconv_trans_context_fct, __gconv_trans_query_fct,
1808 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1810 (struct __gconv_step_data): Remove __trans member.
1811 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1812 longer hidden. Remove unused trans_data argument.
1813 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1814 (__gconv_translit_find): Remove declaration.
1815 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1817 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1818 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1819 trans_data argument. Add hidden definition.
1820 (__gconv_translit_find): Remove.
1821 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1822 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1823 * iconv/skeleton.c: Remove transliteration initialization.
1824 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1825 __gconv_step_data initialization.
1826 * libio/iofwide.c (__libio_translit_): Remove.
1827 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1828 * wcsmbs/btowc.c (__btowc): Likewise.
1829 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1830 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1831 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1832 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1833 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1834 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1835 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1836 * wcsmbs/wctob.c (wctob): Likewise.
1838 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1841 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1842 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1844 * sysdeps/x86/Makefile: Adjust.
1846 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1847 Roland McGrath <roland@hack.frob.com>
1849 * locale/weight.h: Add include guard.
1850 (findidx): Make static rather than auto; take new parameters
1851 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1852 * locale/weightwc.h: Likewise.
1853 * posix/fnmatch_loop.c
1854 (FCT): Change type of EXTRA from int32_t to wint_t.
1855 Don't include either header inside the function.
1856 Call FINDIDX rather than findidx, and pass new arguments.
1857 #undef FINDIDX at the end of the file.
1858 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1859 FINDIDX before including fnmatch_loop.c for the non-wide version.
1860 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1861 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1862 for the wide version.
1863 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1864 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1865 Pass new arguments to findidx.
1866 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1867 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1868 Don't #include it inside the function. Pass new arguments to findidx.
1869 * posix/regex_internal.h
1870 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1871 (re_string_elem_size_at): Don't #include it inside the function.
1872 Pass new arguments to findidx.
1873 * string/strcoll_l.c: #include WEIGHT_H at top level.
1874 (get_next_seq): Don't #include it inside the function.
1875 Pass new arguments to findidx.
1876 (get_next_seq_nocache): Likewise.
1877 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1878 (STRXFRM): Don't #include it inside the function.
1879 Pass new arguments to findidx.
1881 2014-09-11 Florian Weimer <fweimer@redhat.com>
1884 * malloc/malloc.c (unlink): Turn asserts into a call to
1887 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1890 * libio/wfileops (do_ftell_wide): Free OUT.
1892 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1894 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1896 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1899 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1900 group if the current group is empty.
1902 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904 * benchtests/bench-memset.c (test_main): Add more test from size
1905 from 32 to 512 bytes.
1906 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1907 Add POWER8 memset object.
1908 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1909 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1910 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1912 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1914 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1915 multiarch POWER8 memset optimization.
1916 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1917 POWER8 memset optimization.
1919 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1920 Remove bzero multiarch objects.
1921 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1922 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1923 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1924 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1926 [__bzero]: Redefine to specific name.
1927 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1928 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1929 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1931 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1932 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1934 2014-09-10 Florian Weimer <fweimer@redhat.com>
1936 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1937 warnings into errors.
1939 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1940 __cxa_thread_atexit_impl prototype.
1942 2014-09-09 Steve Ellcey <sellcey@mips.com>
1944 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1945 Fix capitalization of error message.
1947 2014-09-09 Steve Ellcey <sellcey@mips.com>
1949 * sysdeps/mips/preconfigure: Modify ABI tests.
1951 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1953 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1955 2014-09-07 Roland McGrath <roland@hack.frob.com>
1956 Carlos O'Donell <carlos@systemhalted.org>
1958 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1959 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1960 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1961 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1962 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1963 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1964 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1965 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1966 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1967 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1968 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1969 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1970 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1971 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1972 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1973 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1974 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1975 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1976 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1977 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1978 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1979 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1980 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1981 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1982 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1983 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1984 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1985 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1986 Deconditionalize the code that was previously under [RESET_PID].
1987 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1988 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1989 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1990 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1993 2014-09-08 Allan McRae <allan@archlinux.org>
1995 * version.h (RELEASE): Set to "development".
1996 (VERSION): Set to "2.20.90"
1998 2014-09-07 Allan McRae <allan@archlinux.org
2000 * version.h (RELEASE): Set to "stable".
2001 (VERSION): Set to "2.20"
2002 * include/features.h (__GLIBC_MINOR__): Set to 20.
2004 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2007 * po/ko.po: Update Korean translation from translation project.
2009 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2012 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2013 macro for handling signed relocations.
2015 2014-09-03 Florian Weimer <fweimer@redhat.com>
2018 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2019 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2021 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2022 * iconvdata/ibm935.c (BODY): Likewise.
2023 * iconvdata/ibm937.c (BODY): Likewise.
2024 * iconvdata/ibm939.c (BODY): Likewise.
2025 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2027 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2029 * iconvdata/run-iconv-test.sh: New test loop for checking for
2032 2014-09-02 Khem Raj <raj.khem@gmail.com>
2034 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2037 2014-09-01 Allan McRae <allan@archlinux.org>
2039 * po/eo.po: Update Esperanto translation from translation project.
2041 * po/ca.po: Update Catalan translation from translation project.
2043 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2045 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2048 2014-08-27 Mark Wielaard <mjw@redhat.com>
2051 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2052 to call set_thread_area instead of hand written asm.
2053 (__NR_set_thread_area): Removed define.
2054 (TLS_FLAG_WRITABLE): Likewise.
2055 (__ASSUME_SET_THREAD_AREA): Remove check.
2056 (TLS_EBX_ARG): Remove define.
2057 (TLS_LOAD_EBX): Likewise.
2059 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2061 Simplify atomicity of socket creation in bind.
2063 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2064 looking up the name after linking the file.
2066 2014-08-27 Allan McRae <allan@archlinux.org>
2068 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2070 2014-08-26 Florian Weimer <fweimer@redhat.com>
2073 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2074 trans_compare, open_translit, __gconv_translit_find):
2075 Remove module loading code.
2077 2014-08-26 Allan McRae <allan@archlinux.org>
2079 * po/vi.po: Update Vietnamese translation from translation project.
2081 * po/uk.po: Update Ukrainian translation from translation project.
2083 * po/fr.po: Update French translation from translation project.
2085 * po/ru.po: Update Russian translation from translation project.
2087 * po/pl.po: Update Polish translation from translation project.
2089 * po/cs.po: Update Czech translation from translation project.
2091 * po/de.po: Update German translation from translation project.
2093 * po/bg.po: Update Bulgarian translation from translation project.
2095 * po/sv.po: Update Sweedish translation from translation project.
2097 * po/nl.po: Update Dutch translation from translation project.
2099 * po/es.po: Update Spanish translation from translation project.
2101 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2103 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2105 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2106 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2107 (CPPFLAGS-iconvconfig): Likewise.
2108 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2110 * include/libc-symbols.h: Remove unnecessary check for
2112 * nptl/pthreadP.h: Likewise.
2113 * sysdeps/aarch64/setjmp.S: Likewise.
2114 * sysdeps/alpha/setjmp.S: Likewise.
2115 * sysdeps/arm/sysdep.h: Likewise.
2116 * sysdeps/i386/setjmp.S: Likewise.
2117 * sysdeps/m68k/setjmp.c: Likewise.
2118 * sysdeps/posix/getcwd.c: Likewise.
2119 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2120 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2121 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2122 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2123 * sysdeps/sh/sh3/setjmp.S: Likewise.
2124 * sysdeps/sh/sh4/setjmp.S: Likewise.
2125 * sysdeps/unix/alpha/sysdep.h: Likewise.
2126 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2128 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2129 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2132 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2134 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2137 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2139 * sysdeps/x86_64/setjmp.S: Likewise.
2141 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2144 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2146 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2147 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2149 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2151 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2154 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2155 and __x86_64__ when disabling x87 inline functions.
2157 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2160 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2161 asm statement with __cpuid_count.
2163 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2165 * configure.ac: Change __ehdr_start code to dereference the struct.
2166 Run readelf on the output to look for relocations.
2167 * configure: Regenerated.
2169 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2172 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2174 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2176 2014-08-12 Roland McGrath <roland@hack.frob.com>
2178 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2180 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2183 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2184 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2186 2014-08-12 Sean Anderson <seanga2@gmail.com>
2188 * malloc/malloc.c: Fix typo in comment.
2190 2014-08-09 Allan McRae <allan@archlinux.org>
2192 * Regenerate libc.po.
2194 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2196 * intl/tst-gettext2.sh: Check every lang file for creation.
2198 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2200 * sysdeps/aarch64/fpu/math_private.h
2201 (libc_feholdsetround_noex_aarch64_ctx): New function.
2203 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2205 * sysdeps/arm/armv6/strcpy.S (strcpy):
2206 Fix performance issue in misaligned cases.
2208 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2210 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2211 Move definition from termios.h.
2212 (struct termio): Likewise.
2213 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2214 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2215 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2216 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2218 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2219 Move definition to ioctl-types.h
2220 (struct termio): Likewise.
2221 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2222 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2223 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2224 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2227 2014-08-05 Richard Henderson <rth@redhat.com>
2229 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2231 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2233 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2234 Use __feraiseexcept.
2235 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2236 Protect libm symbols with IS_IN_libm.
2238 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2240 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2242 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2244 2014-08-04 Will Newton <will.newton@linaro.org>
2246 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2249 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2251 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2252 variants for each function.
2254 2014-08-04 Roland McGrath <roland@hack.frob.com>
2256 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2258 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2259 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2261 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2262 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2263 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2264 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2265 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2266 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2267 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2268 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2269 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2270 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2283 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2289 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2290 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2291 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2295 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2296 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2297 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2298 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2299 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2300 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2301 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2302 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2303 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2304 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2305 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2306 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2307 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2308 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2309 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2310 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2311 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2312 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2313 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2315 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2316 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2318 2014-08-04 Roland McGrath <roland@hack.frob.com>
2320 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2321 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2322 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2323 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2324 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2325 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2327 2014-08-04 Roland McGrath <roland@hack.frob.com>
2329 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2330 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2331 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2332 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2334 2014-08-04 Roland McGrath <roland@hack.frob.com>
2336 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2337 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2338 (__libc_vfork): Define function under this name.
2339 (__vfork): Define as an alias.
2340 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2341 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2343 2014-08-04 Roland McGrath <roland@hack.frob.com>
2345 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2346 that was previously under [RESET_PID].
2347 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2349 2014-08-04 Andreas Schwab <schwab@suse.de>
2351 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2353 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2355 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2358 2014-08-01 Roland McGrath <roland@hack.frob.com>
2360 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2362 2014-08-01 Richard Henderon <rth@redhat.com>
2364 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2365 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2366 typo in exact zero test.
2367 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2368 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2369 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2371 2014-08-01 Roland McGrath <roland@hack.frob.com>
2373 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2374 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2375 * sysdeps/arm/sysdep.h: ... here.
2376 [!__ASSEMBLER__]: Include <stdint.h>.
2378 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2380 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2381 (HAVE_WCTYPE_H): Likewise.
2382 (HAVE_ISWCTYPE): Likewise.
2383 (ENABLE_NLS): Likewise.
2384 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2385 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2387 * posix/regex_internal.c: Check if DEBUG is defined and is
2390 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2391 (HAVE_MBSRTOWCS): Likewise.
2392 * posix/fnmatch.c: Include string.h unconditionally.
2394 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2396 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2399 2014-07-31 Roland McGrath <roland@hack.frob.com>
2401 * sysdeps/generic/safe-fatal.h: New file.
2402 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2403 * nptl/forward.c: Include it.
2404 (__pthread_unwind): Use __safe_fatal as default action, rather
2405 than a bogus use of INTERNAL_SYSCALL that could never work.
2407 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2408 * configure.ac (libc_cv_builtin_trap): New test.
2409 * configure: Regenerated.
2410 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2411 (ABORT_INSTRUCTION): Define using __builtin_trap.
2413 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2414 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2415 * sysdeps/nptl/nptl-signals.h: New file.
2416 * nptl/pthreadP.h: Include <nptl-signals.h>.
2418 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2420 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2421 (ONE_DIRECTION): Define.
2422 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2423 (ONE_DIRECTION): Define.
2424 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2425 (ONE_DIRECTION): Define.
2427 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2429 * sysdeps/s390/Makefile: Delete file.
2430 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2431 * sysdeps/s390/__longjmp.c: Delete file.
2432 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2433 Remove fields __flags and __reserved.
2434 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2436 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2437 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2438 * sysdeps/s390/rtld-setjmp.S: Likewise.
2439 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2440 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2441 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2442 * sysdeps/s390/s390-32/setjmp.S: ... here.
2444 (__sigsetjmp): Remove setting __flags field.
2445 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2446 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2447 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2448 * sysdeps/s390/s390-64/setjmp.S: ... here.
2450 (__sigsetjmp): Remove setting __flags field.
2451 * sysdeps/s390/setjmp.S: Delete file.
2452 * sysdeps/s390/sigjmp.c: Likewise.
2453 * sysdeps/s390/v1-longjmp.c: Likewise.
2454 * sysdeps/s390/v1-setjmp.h: Likewise.
2455 * sysdeps/s390/v1-sigjmp.c: Likewise.
2456 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2457 Remove v1-longjmp_chk.
2458 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2459 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2460 Include debug/longjmp_chk.c and add versioning.
2461 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2462 Include nptl/pt-longjmp.c and add versioning.
2463 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2464 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2465 Include __longjmp.c.
2466 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2468 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2469 (__getcontext): Remove setting __flags field.
2471 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2472 Don't restore upper high grps.
2473 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2475 (__swapcontext): Remove setting uc_flags field.
2476 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2478 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2479 Include __longjmp.c.
2480 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2482 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2483 (__getcontext): Remove setting __flags field.
2485 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2486 (__swapcontext): Remove setting uc_flags field.
2487 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2488 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2489 Remove fields uc_high_gprs and __reserved.
2490 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2491 New file with reverted content.
2492 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2493 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2495 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2498 2014-07-31 Andreas Schwab <schwab@suse.de>
2500 * config.h.in (HAVE_IFUNC): Define to 0.
2501 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2504 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2507 memmove-avx-unaligned, memcpy-avx-unaligned and
2508 mempcpy-avx-unaligned.
2509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2510 Add tests for AVX memcpy functions.
2511 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2512 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2514 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2515 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2517 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2518 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2520 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2521 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2522 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2524 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2527 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2530 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2533 * manual/llio.texi: Add section about open file description locks.
2534 * manual/examples/ofdlocks.c: Example of open file description
2536 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2537 F_OFD_SETLK, and F_OFD_SETLKW.
2539 2014-07-23 Allan McRae <allan@archlinux.org>
2541 * po/es.po: Update Spanish translation from translation project.
2543 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2545 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2547 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2550 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2551 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2552 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2554 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2557 * math/fesetenv.c (__fesetenv)
2558 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2559 * math/feupdateenv.c (__feupdateenv)
2560 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2562 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2563 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2564 (__ASSUME_SOCKETCALL): Do not define.
2566 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2567 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2568 (__ASSUME_SOCKETCALL): Do not define.
2569 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2570 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2571 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2572 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2573 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2574 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2575 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2576 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2578 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2579 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2580 (__ASSUME_SOCKETCALL): Do not define.
2581 (__ASSUME_IPC64): Define unconditionally.
2582 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2583 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2584 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2585 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2586 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2587 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2588 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2591 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2592 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2593 (__ASSUME_SOCKETCALL): Do not define.
2594 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2595 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2596 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2597 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2598 (__ASSUME_REQUEUE_PI): Define unconditionally.
2599 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2600 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2601 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2602 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2603 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2604 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2606 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2607 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2608 (__ASSUME_SOCKETCALL): Do not define.
2609 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2610 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2611 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2612 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2613 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2614 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2616 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2617 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2618 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2619 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2620 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2621 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2622 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2623 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2624 (__ASSUME_GETCPU_SYSCALL): Likewise.
2626 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2627 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2628 cases for individual architectures.
2629 * sysdeps/gnu/configure: Regenerated.
2630 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2631 LIBC_SLIBDIR_RTLDDIR.
2632 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2633 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2634 LIBC_SLIBDIR_RTLDDIR.
2635 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2637 LIBC_SLIBDIR_RTLDDIR.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2640 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2641 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2643 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2646 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2647 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2648 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2649 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2651 * sysdeps/aarch64/shlib-versions: Move to ...
2652 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2653 * sysdeps/alpha/shlib-versions: Move to ...
2654 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2655 * sysdeps/arm/shlib-versions: Move to ...
2656 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2657 * sysdeps/hppa/shlib-versions: Move all contents except for
2658 libgcc_s entry to ...
2659 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2661 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2662 * sysdeps/ia64/shlib-versions: Move to ...
2663 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2665 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2666 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2667 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2668 * sysdeps/microblaze/shlib-versions: Move to ...
2669 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2670 * sysdeps/mips/shlib-versions: Move to ...
2671 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2673 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2674 * sysdeps/tile/shlib-versions: Move to ...
2675 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2676 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2678 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2679 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2681 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2683 2014-07-17 Will Newton <will.newton@linaro.org>
2685 * sysdeps/arm/bits/atomic.h
2686 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2687 (__arch_compare_and_exchange_bool_16_int): Likewise.
2688 (__arch_compare_and_exchange_bool_64_int): Likewise.
2690 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2691 into an #else block.
2693 2014-07-16 Roland McGrath <roland@hack.frob.com>
2695 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2696 just Linux configurations. Test empirically that the compiler sets
2697 __ARM_EABI__, rather than using the tuple to decide.
2698 * sysdeps/arm/preconfigure: Regenerated.
2699 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2700 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2701 contents appended ...
2702 * sysdeps/arm/configure.ac: ... here.
2703 * sysdeps/arm/configure: Regenerated.
2705 2014-07-15 Roland McGrath <roland@hack.frob.com>
2707 * nptl/pthread_kill.c: New file.
2708 * nptl/pthread_sigmask.c: New file.
2709 * nptl/pthread_sigqueue.c: New file.
2711 * sysdeps/nptl/lowlevellock.h: New file.
2712 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2713 * sysdeps/nptl/lowlevellock-futex.h: New file.
2715 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2716 Remove dead declarations.
2718 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2720 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2721 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2723 * sysdeps/x86_64/configure.ac: Likewise.
2724 * sysdeps/i386/configure: Regenerated.
2725 * sysdeps/x86_64/configure: Likewise.
2726 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2727 memset-avx2 only if config-cflags-avx2 is yes.
2728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2729 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2731 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2732 only if HAVE_AVX2_SUPPORT is defined.
2733 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2735 2014-07-14 Alan Modra <amodra@gmail.com>
2738 * elf/elf.h (DT_PPC64_NUM): Correct value.
2739 * NEWS: Add to fixed bug list.
2741 2014-07-13 Jim Meyering <meyering@fb.com>
2744 regex: don't deref NULL upon heap allocation failure
2745 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2746 failure in one more place.
2747 To trigger the segfault, configure grep -with-included-regex,
2748 build it, and run these commands:
2749 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2751 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2753 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2755 2014-07-11 Richard Henderson <rth@redhat.com>
2757 * sysdeps/aarch64/libm-test-ulps: Update.
2759 2014-07-10 Florian Weimer <fweimer@redhat.com>
2762 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2763 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2764 (__nptl_setxid): Initialize error member. Call
2765 __nptl_setxid_error.
2766 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2767 * nptl/descr.h (struct xid_command): Add error member.
2768 * nptl/tst-setuid3.c: New file.
2769 * nptl/Makefile (tests): Add it.
2771 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2775 (__lll_trylock): Use __lll_base_trylock.
2776 (__lll_cond_trylock): Likewise.
2778 2014-07-10 Roland McGrath <roland@hack.frob.com>
2780 * nptl/pthread_create.c (start_thread): Use atomic_or and
2781 lll_futex_wake directly rather than lll_robust_dead.
2782 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2783 (lll_robust_dead): Macro removed.
2784 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2785 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2786 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2787 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2788 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2789 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2790 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2791 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2792 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2793 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2794 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2795 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2796 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2797 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2798 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2800 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2801 Use atomic_compare_and_exchange_val_acq directly rather than
2803 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2804 (__lll_robust_trylock, lll_robust_trylock): Removed.
2805 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2806 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2807 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2808 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2809 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2810 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2811 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2812 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2813 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2814 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2815 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2816 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2817 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2818 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2820 2014-07-02 Florian Weimer <fweimer@redhat.com>
2822 * manual/locale.texi (Locale Names): New section documenting
2823 locale name syntax. Adjust menu and node chaining accordingly.
2824 (Choosing Locale): Reference Locale Names, Locale Categories.
2825 Mention setting LC_ALL=C. Reflect that name syntax is now
2827 (Locale Categories): New section title. Reference Locale Names.
2828 LC_ALL is an environment variable, but not a category.
2829 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2830 description, now in Locale Name. Reference that section. Locale
2831 name syntax is now documented.
2833 2014-07-02 Florian Weimer <fweimer@redhat.com>
2836 * locale/findlocale.c (name_present, valid_locale_name): New
2838 (_nl_find_locale): Use the loc_name variable to store name
2839 candidates. Call name_present and valid_locale_name to check and
2840 validate locale names. Return an error if the locale is invalid.
2842 2014-07-02 Florian Weimer <fweimer@redhat.com>
2844 * locale/setlocale.c (setlocale): Use strdup for allocating
2845 composite name copy.
2847 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2849 Sync up with gnulib.
2850 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2851 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2852 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2853 and _GL_ARG_NONNULL.
2854 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2855 [!_LIBC]: Include code for Windows and Cygwin.
2856 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2857 Include prototype for int strerror_r.
2858 [!_LIBC] (is_open): New function.
2859 (flush_stdout): New function.
2860 (print_errno_message): Use it.
2862 (error_at_line): Likewise.
2863 (error_tail) Add function attribute macros. Use
2866 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2868 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2870 * io/ftw.c: Include sys/param.h unconditionally.
2872 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2875 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2877 (freecache): New function to free CACHE on exit.
2879 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2882 2014-07-09 David S. Miller <davem@davemloft.net>
2884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2886 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2887 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2888 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2889 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2890 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2891 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2892 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2893 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2894 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2895 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2896 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2897 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2898 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2900 2014-07-09 Andreas Schwab <schwab@suse.de>
2902 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2904 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2905 (do_test): Likewise.
2907 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2909 2014-07-09 Will Newton <will.newton@linaro.org>
2911 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2912 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2913 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2914 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2915 * sysdeps/hppa/start.S (_start): Likewise.
2917 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2919 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2921 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2924 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2926 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2927 after checking that it is non-NULL.
2929 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2931 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2933 * sysdeps/powerpc/memmove.c: Remove file.
2934 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2935 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2936 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2937 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2938 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2939 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2940 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2941 string memmove instead of removed powerpc one.
2943 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2944 [weak_alias]: Fix compiler warning due trailing data.
2945 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2946 [weak_alias]: Likewise.
2947 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2948 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2951 (__libc_ifunc_impl_list): Add memmove functions.
2953 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2955 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2957 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2959 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2961 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2963 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2965 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2967 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2969 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2971 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2973 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2975 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2977 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2979 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2981 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2983 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2985 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2987 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2990 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2993 to avoid alignment traps in non-cacheable memory.
2994 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2998 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2999 file: multiarch power7 memmove.
3000 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3001 multiarch default memmove.
3002 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3003 multiarch memove for powerpc32/power4.
3005 * string/bcopy.c: Use full path to include memmove.c.
3006 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3008 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3009 bcopy for powerpc64.
3010 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3011 bcopy for powerpc64.
3012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3013 and memmove implementations.
3014 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3015 optimized multiarch memmove for POWER7/powerpc64.
3016 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3017 default multiarch memmove for powerpc64.
3018 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3019 multiarch for powerpc64.
3020 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3021 for POWER7/powerpc64.
3022 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3023 memmove for POWER7/powerpc64.
3025 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3028 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3029 __ELF_NATIVE_CLASS equal to 64.
3031 2014-07-07 Roland McGrath <roland@hack.frob.com>
3033 * sysdeps/nptl/lowlevellock.h: File removed.
3035 * NEWS: NPTL is no longer an add-on!
3036 * nptl/internaltypes.h: Moved ...
3037 * sysdeps/nptl/internaltypes.h: ... here.
3038 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3039 * sysdeps/nptl/fork.c: Likewise.
3040 * sysdeps/nptl/gai_misc.h: Likewise.
3041 * sysdeps/nptl/librt-cancellation.c: Likewise.
3042 * sysdeps/nptl/jmp-unwind.c: Likewise.
3043 * sysdeps/nptl/setxid.h: Likewise.
3044 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3045 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3046 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3047 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3048 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3049 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3050 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3051 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3052 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3053 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3054 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3055 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3056 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3057 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3058 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3059 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3060 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3061 * nptl/Makeconfig: Moved ...
3062 * sysdeps/nptl/Makeconfig: ... here.
3063 * nptl/configure: File removed.
3064 * nptl/ANNOUNCE: File removed.
3065 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3066 * sysdeps/unix/sysv/linux/configure: Regenerated.
3068 * nptl/Makefile (routines): Add libc_pthread_init,
3069 libc_multiple_threads, register-atfork and unregister-atfork.
3070 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3071 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3072 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3073 pthread-pi-defines.sym, structsem.sym.
3074 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3075 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3076 [$(subdir) = nptl] (tests): Add tst-setgetname.
3077 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3078 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3079 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3080 [!LIBC_SIGACTION]: Remove aliases.
3081 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3082 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3083 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3084 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3085 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3086 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3089 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3090 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3091 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3092 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3093 __libc_allocate_rtsig_private.
3094 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3095 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3096 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3097 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3098 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3099 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3100 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3101 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3102 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3103 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3104 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3105 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3106 * nptl/internaltypes.h: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3108 * sysdeps/nptl/jmp-unwind.c: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3110 * nptl/libc-lowlevellock.c: ... here.
3111 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3112 * nptl/libc_multiple_threads.c: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3114 * nptl/libc_pthread_init.c: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3116 * nptl/lowlevelbarrier.sym: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3118 * nptl/lowlevelcond.sym: ... here.
3119 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3120 * nptl/lowlevellock.c: ... here.
3121 * nptl/lowlevellock.h: Moved ...
3122 * sysdeps/nptl/lowlevellock.h: ... here.
3123 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3124 * nptl/lowlevelrobustlock.c: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3126 * nptl/lowlevelrobustlock.sym: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3128 * nptl/lowlevelrwlock.sym: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3130 * nptl/pt-fork.c: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3132 * nptl/pthread-pi-defines.sym: ... here.
3133 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3134 * nptl/pthread_attr_getaffinity.c: ... here.
3135 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3136 * nptl/pthread_attr_setaffinity.c: ... here.
3137 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3138 * nptl/pthread_mutex_cond_lock.c: ... here.
3139 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3141 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3142 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3143 * nptl/pthread_once.c: ... here, replacing old file.
3144 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3145 * nptl/pthread_yield.c: ... here.
3146 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3147 * nptl/register-atfork.c: ... here.
3148 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3149 * nptl/sem_post.c: ... here.
3150 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3151 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3152 * nptl/sem_timedwait.c: ... here.
3153 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3154 * nptl/sem_trywait.c: ... here.
3155 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3156 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3157 * nptl/sem_wait.c: ... here.
3158 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3159 * nptl/structsem.sym: ... here.
3160 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3161 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3162 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3163 * nptl/unregister-atfork.c: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3165 * nptl/unwindbuf.sym: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3167 * sysdeps/nptl/fork.c: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3169 * sysdeps/nptl/fork.h: ... here.
3170 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3171 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3172 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3173 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3174 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3175 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3176 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3177 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3178 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3179 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3180 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3181 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3182 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3183 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3184 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3185 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3186 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3187 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3188 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3189 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3190 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3191 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3192 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3193 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3194 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3195 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3196 * sysdeps/unix/sysv/linux/raise.c: ... here.
3197 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3198 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3199 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3200 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3201 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3202 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3203 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3204 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3205 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3206 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3207 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3208 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3209 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3210 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3211 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3213 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3215 * sysdeps/generic/memcopy.h: Add comment for
3216 MEMCPY_OK_FOR_FWD_MEMMOVE.
3218 2014-07-04 Will Newton <will.newton@linaro.org>
3220 * string/memchr.c: Merge from gnulib.
3221 [_LIBC]: Remove conditionals.
3222 (__ptr_t): Remove define.
3223 (LONG_MAX_32_BITS): Likewise.
3224 (LONG_MAX): Likewise.
3225 (MEMCHR): Use ANSI prototype and optimize algorithm.
3227 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3229 2014-07-03 Roland McGrath <roland@hack.frob.com>
3231 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3232 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3234 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3235 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3236 in a bare environment with no <stdlib.h> installed.
3237 * sysdeps/nptl/configure: Regenerated.
3239 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3241 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3242 AC_EGREP_CPP for kernel header checks, so they only succeed if
3243 including <linux/version.h> actually works right.
3244 * sysdeps/unix/sysv/linux/configure: Regenerated.
3246 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3247 value so it's not diagnosed as unused.
3249 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3250 thing) with "ifeq ($(subdir),rt)".
3252 2014-07-03 Richard Henderson <rth@redhat.com>
3254 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3255 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3256 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3258 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3259 (math_force_eval): New.
3261 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3262 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3264 * sysdeps/alpha/fpu/s_round.c: Remove file.
3265 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3267 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3268 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3269 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3270 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3271 (_dl_start, print_statistics): Likewise.
3272 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3273 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3275 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3276 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3277 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3278 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3279 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3280 (HP_SMALL_TIMING_AVAIL): Define.
3281 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3282 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3283 (HP_SMALL_TIMING_AVAIL): Define.
3284 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3285 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3287 * sysdeps/aarch64/hp-timing.h: New file.
3289 * sysdeps/generic/hp-timing.h: Remove dead comment.
3290 * sysdeps/generic/hp-timing-common.h: New file.
3291 * sysdeps/alpha/hp-timing.h: Include it.
3292 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3293 * sysdeps/i386/i686/hp-timing.h: Likewise.
3294 * sysdeps/ia64/hp-timing.h: Likewise.
3295 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3296 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3297 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3298 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3299 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3300 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3303 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3304 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3305 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3306 * elf/rtld.c (_dl_start_final): Likewise.
3307 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3308 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3309 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3310 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3311 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3312 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3313 (HP_TIMING_DIFF_INIT): Remove.
3314 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3315 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3316 (HP_TIMING_DIFF_INIT): Remove.
3317 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3318 * sysdeps/i386/i686/hp-timing.c: Remove file.
3319 * sysdeps/x86_64/hp-timing.c: Remove file.
3320 * sysdeps/ia64/hp-timing.c: Remove file.
3321 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3322 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3323 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3324 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3326 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3327 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3328 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3329 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3330 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3331 (HP_TIMING_ACCUM): Remove.
3332 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3333 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3334 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3336 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3337 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3338 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3339 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3340 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3341 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3343 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3345 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3347 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3349 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3351 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3353 Sync up with gettext.
3354 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3355 [_MSC_VER]: Include malloc.h
3356 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3357 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3358 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3359 TEMP_FAILURE_RETRY. Cast return of alloca.
3360 [!_LIBC] Call gl_rwlock_init.
3361 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3363 2014-07-02 Roland McGrath <roland@hack.frob.com>
3365 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3366 before checking its value.
3368 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3370 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3372 * debug/memcpy_chk.c: Don't include pagecopy.h.
3373 * debug/mempcpy_chk.c: Likewise.
3374 * string/memcpy.c: Likewise.
3375 * string/memmove.c: Likewise.
3376 * sysdeps/powerpc/memmove.c: Likewise.
3377 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3378 definition of PAGE_COPY_FWD_MAYBE here...
3379 * sysdeps/generic/pagecopy.h: ... from here.
3380 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3382 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3383 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3385 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3386 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3388 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3389 (__libc_ifunc_impl_list): Likewise.
3390 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3391 multiarch strcat for PPC64.
3392 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3393 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3395 2014-07-02 Roland McGrath <roland@hack.frob.com>
3397 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3399 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3401 * intl/loadmsgcat.c: Remove declaration of
3402 get_sysdep_segment_value.
3403 (get_sysdep_segment_value): Use ISO C style.
3404 (_nl_load_domain): Use ISO C style. Get rid of redundant
3405 semicolon. Fix typo and formatting in comment.
3406 (_nl_unload_domain): Use ISO C style.
3408 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3410 2014-07-02 Will Newton <will.newton@linaro.org>
3412 * malloc/obstack.c: Merge from gnulib master.
3413 [HAVE_CONFIG_H]: Remove conditional code.
3414 [!_LIBC]: Include config.h.
3415 [!ELIDE_CODE]: Don't include inttypes.h, include
3416 stdint.h unconditionally.
3417 (print_and_abort): Mark as _Noreturn.
3418 (_obstack_allocated_p): Mark as __attribute_pure__.
3419 (obstack_free): Rename to __obstack_free.
3420 [!__attribute__]: Remove conditional code.
3421 * malloc/obstack.h: Merge from gnulib master.
3422 [__cplusplus]: Move conditional down.
3423 [!__attribute_pure__]: Define __attribute_pure__ here
3424 if it is not already defined.
3425 (_obstack_memory_used): Mark as __attribute_pure__.
3426 [!__obstack_free]: Define as obstack_free.
3427 [__GNUC__]: Remove check for ancient NeXT gcc.
3429 2014-07-02 Will Newton <will.newton@linaro.org>
3430 Paul Eggert <eggert@cs.ucla.edu>
3432 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3434 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3436 * resolv/gethnamaddr.c: Add comment warning that the file is
3439 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3441 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3444 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3445 entry for aio_cancel and aio_cancel64.
3446 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3447 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3448 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3449 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3450 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3451 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3452 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3453 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3454 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3455 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3456 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3457 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3458 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3460 2014-07-01 Roland McGrath <roland@hack.frob.com>
3462 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3463 * nptl/pthread_mutex_lock.c: Likewise.
3464 * nptl/pthread_mutex_timedlock.c: Likewise.
3465 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3467 2014-07-01 Richard henderson <rth@redhat.com>
3469 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3470 (__isnan, __isnanl): Remove.
3471 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3473 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3475 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3477 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3479 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3481 * resolv/nss_dns/dns-host.c (getanswer_r)
3482 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3484 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3486 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3487 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3489 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3490 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3492 2014-07-01 Roland McGrath <roland@hack.frob.com>
3494 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3495 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3497 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3498 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3500 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3501 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3503 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3504 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3506 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3507 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3508 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3509 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3511 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3512 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3513 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3514 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3515 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3517 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3519 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3520 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3521 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3522 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3523 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3524 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3525 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3526 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3527 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3528 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3529 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3530 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3531 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3532 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3534 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3535 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3536 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3537 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3538 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3540 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3541 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3542 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3543 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3544 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3545 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3546 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3547 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3549 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3551 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3552 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3553 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3556 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3560 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3562 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3563 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3565 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3567 * sysdeps/arm/libm-test-ulps: Regenerated.
3569 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3570 Roland McGrath <roland@hack.frob.com>
3572 * test-skeleton.c (signal_handler): Kill the whole process group
3573 before killing the child individually.
3574 (main): Report any failure on `setpgid'.
3576 2014-06-30 Roland McGrath <roland@hack.frob.com>
3578 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3579 from _TLS_H to _ARM_NPTL_TLS_H.
3580 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3581 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3583 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3586 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3587 (__expm1l): Return argument unchanged when small but not
3590 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3592 (_FP_UNPACK_RAW_1_P): Likewise.
3593 (_FP_PACK_RAW_1): Likewise.
3594 (_FP_PACK_RAW_1_P): Likewise.
3595 (_FP_MUL_MEAT_1_wide): Likewise.
3596 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3597 (_FP_MUL_MEAT_1_hard): Likewise.
3598 (_FP_DIV_MEAT_1_imm): Likewise.
3599 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3600 (_FP_DIV_MEAT_1_udiv): Likewise.
3601 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3602 (_FP_UNPACK_RAW_2): Likewise.
3603 (_FP_UNPACK_RAW_2_P): Likewise.
3604 (_FP_PACK_RAW_2): Likewise.
3605 (_FP_PACK_RAW_2_P): Likewise.
3606 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3607 (_FP_MUL_MEAT_2_wide): Likewise.
3608 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3609 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3610 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3611 (_FP_MUL_MEAT_2_gmp): Likewise.
3612 (_FP_DIV_MEAT_2_udiv): Likewise.
3613 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3614 (_FP_FRAC_SRL_4): Likewise.
3615 (_FP_FRAC_SRST_4): Likewise.
3616 (_FP_FRAC_SRS_4): Likewise.
3617 (_FP_UNPACK_RAW_4): Likewise.
3618 (_FP_UNPACK_RAW_4_P): Likewise.
3619 (_FP_PACK_RAW_4): Likewise.
3620 (_FP_PACK_RAW_4_P): Likewise.
3621 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3622 (_FP_MUL_MEAT_4_wide): Likewise.
3623 (_FP_MUL_MEAT_4_gmp): Likewise.
3624 (umul_ppppmnnn): Likewise.
3625 (_FP_DIV_MEAT_4_udiv): Likewise.
3626 (__FP_FRAC_ADD_4): Likewise.
3627 (__FP_FRAC_SUB_3): Likewise.
3628 (__FP_FRAC_SUB_4): Likewise.
3629 (__FP_FRAC_DEC_3): Likewise.
3630 (__FP_FRAC_DEC_4): Likewise.
3631 (__FP_FRAC_ADDI_4): Likewise.
3632 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3633 (_FP_FRAC_SRL_8): Likewise.
3634 (_FP_FRAC_SRS_8): Likewise.
3636 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3638 (FP_UNPACK_RAW_EP): Likewise.
3639 (FP_PACK_RAW_E): Likewise.
3640 (FP_PACK_RAW_EP): Likewise.
3641 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3642 (_FP_ISSIGNAN): Likewise.
3643 (_FP_ADD_INTERNAL): Likewise.
3644 (_FP_FMA): Likewise.
3645 (_FP_CMP): Likewise.
3646 (_FP_SQRT): Likewise.
3647 (_FP_TO_INT): Likewise.
3648 (_FP_FROM_INT): Likewise.
3649 (FP_EXTEND): Likewise.
3650 (_FP_DIV_MEAT_N_loop): Likewise.
3652 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3654 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3657 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3660 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3661 result with correct sign in case of exponents that produce
3662 overflow except for X very close to 1.
3664 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3666 mktime: merge #if/#ifdef usage from glibc
3667 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3668 as that works with both Glibc's and Gnulib's style.
3669 See thread starting at Siddhesh Poyarekar's bug report at:
3670 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3672 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3674 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3675 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3676 * sysdeps/tile/tilegx/memmove.c: Remove file.
3678 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3680 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3681 abi-name definition.
3682 * scripts/soversions.awk: Do not handle or generate ABI lines.
3683 * shlib-versions: Remove ABI entries.
3684 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3685 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3687 2014-06-27 Roland McGrath <roland@hack.frob.com>
3689 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3690 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3691 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3692 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3693 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3697 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3699 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3700 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3701 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3702 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3704 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3706 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3708 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3710 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3711 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3713 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3715 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3716 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3717 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3723 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3728 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3730 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3731 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3732 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3734 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3737 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3738 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3739 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3740 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3742 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3743 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3745 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3746 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3747 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3748 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3750 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3752 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3753 Identical file removed.
3754 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3756 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3757 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3758 Identical file removed.
3759 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3760 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3761 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3763 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3764 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3765 Identical file removed.
3766 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3767 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3768 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3769 Identical file removed.
3770 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3771 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3773 Identical file removed.
3774 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3775 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3776 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3777 Identical file removed.
3778 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3780 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3781 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3782 Identical file removed.
3783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3785 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3786 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3787 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3788 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3789 Identical file removed.
3790 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3792 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3794 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3795 Identical file removed.
3796 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3798 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3799 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3800 Identical file removed.
3801 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3803 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3804 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3805 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3806 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3807 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3808 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3810 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3811 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3812 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3814 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3815 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3816 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3817 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3818 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3820 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3823 * nscd/nscd.c (monitor_child): Return exit status of child
3824 instead of return value from wait syscall.
3826 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3828 * configure.ac (libc_commonpagesize): Remove variable.
3829 (libc_relro_required): Likewise.
3830 (libc_cv_z_relro): Remove configure test.
3831 * configure: Regenerated.
3832 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3834 (libc_relro_required): Likewise.
3835 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3836 (libc_relro_required): Likewise.
3837 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3838 (libc_relro_required): Likewise.
3839 * sysdeps/arm/preconfigure: Regenerated.
3840 * sysdeps/ia64/preconfigure: Remove file.
3841 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3843 (libc_relro_required): Likewise.
3847 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3848 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3849 recompute overflowing results in original rounding mode.
3850 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3851 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3852 recompute overflowing results in original rounding mode.
3853 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3854 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3855 recompute overflowing results in original rounding mode.
3856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3857 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3858 recompute overflowing results in original rounding mode.
3859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3860 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3861 recompute overflowing results in original rounding mode.
3862 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3863 (libc_feholdsetround_ctx): New macro.
3864 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3865 * sysdeps/i386/fpu/libm-test-ulps: Update.
3866 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3868 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3870 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3871 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3872 corresponding .cpsetup call.
3874 2014-06-26 Roland McGrath <roland@hack.frob.com>
3876 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3877 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3878 * sysdeps/arm/Makefile [$(subdir) = csu]
3879 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3880 (static-only-routines): Add aeabi_read_tp here.
3881 (shared-only-routines): Add libc-aeabi_read_tp here.
3882 (CFLAGS-libc-start.c): Add -fexceptions here.
3883 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3884 (sysdep_routines, static-only-routines, shared-only-routines):
3885 Don't add to these here.
3886 (CFLAGS-libc-start.c): Likewise.
3888 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3889 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3890 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3891 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3892 * sysdeps/arm/Makefile [$(subdir) = rt]
3893 (librt-sysdep_routines, librt-shared-only-routines):
3894 Append rt-aeabi_unwind_cpp_pr1 here.
3895 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3896 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3897 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3898 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3899 Append nptl-aeabi_unwind_cpp_pr1 here.
3900 (tests): Filter out tst-cleanupx4 here.
3901 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3902 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3903 Don't do those here.
3905 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3907 * scripts/list-sources.sh: Do not handle ports specially.
3909 2014-06-26 Roland McGrath <roland@hack.frob.com>
3911 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3912 * sysdeps/arm/feupdateenv.c: Likewise.
3914 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3916 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3918 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3919 trailing whitespace removed.
3920 * scripts/config.guess: Update to version 2014-03-23.
3921 * scripts/config.sub: Update to version 2014-05-01
3922 * scripts/install-sh: Update to version 2013-12-25.23.
3923 * scripts/move-if-change: Update from gnulib.
3925 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3927 * debug/memmove_chk.c: Remove pagecopy.h include.
3929 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3931 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3932 identical to gnulib mktime.
3934 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3936 * configure.ac: Do not test for machine being rs6000. Do not test
3938 * configure: Regenerated.
3940 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3942 * configure: Regenerated.
3943 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3944 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3945 Remove configure test.
3946 * sysdeps/arm/configure: Regenerated.
3947 * sysdeps/nptl/configure.ac: Do not check
3948 libc_cv_asm_cfi_directives.
3949 * sysdeps/nptl/configure: Regenerated.
3950 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3951 * sysdeps/x86_64/nptl/configure: Remove generated file.
3952 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3954 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3956 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3959 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3960 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3963 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3964 instead of whether it is defined.
3965 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3966 * sysdeps/hppa/dl-machine.h: Likewise.
3967 * sysdeps/ia64/dl-machine.h: Likewise.
3968 * sysdeps/m68k/dl-machine.h: Likewise.
3969 * sysdeps/microblaze/dl-machine.h: Likewise.
3970 * sysdeps/mips/dl-machine.: Likewise.
3971 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3972 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3973 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3974 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3975 * sysdeps/sh/dl-machine.h: Likewise.
3976 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3977 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3978 * sysdeps/tile/dl-machine.h: Likewise.
3979 * sysdeps/x86_64/dl-machine.h: Likewise.
3981 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3983 (verify_persistent_db): Likewise.
3985 2014-06-26 Roland McGrath <roland@hack.frob.com>
3987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3988 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3990 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3993 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3996 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3998 Identical file removed.
3999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4000 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4002 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4004 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4006 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4008 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4011 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4013 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4015 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4018 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4020 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4022 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4024 Identical file removed.
4025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4026 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4028 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4031 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4034 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4036 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4038 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4040 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4042 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4045 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4048 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4050 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4053 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4055 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4057 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4059 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4060 * sysdeps/unix/sysv/linux/s390/Versions
4061 (libpthread: GLIBC_2.19): New version set.
4062 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4063 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4064 (librt: GLIBC_2.3.3): New version set.
4065 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4066 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4067 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4068 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4069 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4070 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4071 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4072 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4073 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4074 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4075 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4076 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4077 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4078 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4079 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4080 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4081 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4082 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4083 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4084 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4085 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4086 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4087 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4088 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4089 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4090 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4091 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4092 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4093 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4094 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4095 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4096 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4098 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4100 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4101 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4103 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4104 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4105 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4106 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4107 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4108 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4109 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4111 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4112 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4113 (__libc_vfork): Define the function under this name.
4114 [!NOT_IN_libc] (__vfork): Make this an alias.
4115 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4117 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4118 (__libc_vfork): Define the function under this name.
4119 [!NOT_IN_libc] (__vfork): Make this an alias.
4120 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4121 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4122 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4125 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4127 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4128 code that was previously under [RESET_PID].
4129 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4130 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4133 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4134 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4135 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4136 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4137 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4138 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4139 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4140 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4141 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4145 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4146 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4147 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4148 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4149 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4150 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4151 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4152 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4153 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4154 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4155 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4156 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4157 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4158 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4159 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4160 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4161 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4162 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4163 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4164 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4165 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4166 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4167 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4168 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4169 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4170 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4171 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4172 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4173 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4175 2014-06-25 Roland McGrath <roland@hack.frob.com>
4177 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4178 that was previously under [RESET_PID].
4179 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4181 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4183 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4184 not undefine and redefine.
4185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4186 [O_CLOEXEC]: Make code unconditional.
4187 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4188 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4189 <kernel-features.h>.
4190 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4191 conditional variable definition.
4192 (shm_open) [O_CLOEXEC]: Make code unconditional.
4193 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4196 * configure.ac (USE_REGPARMS): Don't define here.
4197 * configure: Regenerated.
4198 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4199 * sysdeps/i386/configure: Regenerated.
4201 * nptl/createthread.c: Don't include kernel-features.h.
4202 * nptl/pthread_cancel.c: Likewise.
4203 * nptl/pthread_condattr_setclock.c: Likewise.
4204 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4205 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4206 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4207 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4208 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4209 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4210 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4212 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4213 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4214 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4215 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4216 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4217 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4218 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4219 * nscd/gai.c: Likewise.
4220 * nss/nss_db/db-open.c: Likewise.
4221 * sysdeps/generic/ldsodefs.h: Likewise.
4222 * sysdeps/sh/nptl/tls.h: Likewise.
4223 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4224 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4225 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4226 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4227 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4228 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4229 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4230 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4231 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4232 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4233 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4234 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4235 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4236 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4237 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4238 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4239 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4240 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4241 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4242 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4243 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4244 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4246 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4248 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4249 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4250 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4251 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4252 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4253 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4254 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4255 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4256 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4257 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4258 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4259 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4260 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4262 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4263 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4264 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4265 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4266 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4267 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4268 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4269 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4270 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4271 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4272 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4273 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4274 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4275 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4276 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4277 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4278 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4279 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4280 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4303 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4304 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4306 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4307 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4311 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4312 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4313 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4314 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4316 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4317 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4318 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4319 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4321 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4322 * sysdeps/unix/sysv/linux/system.c: Likewise.
4323 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4324 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4325 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4326 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4327 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4328 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4329 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4331 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4332 * configure: Regenerated.
4333 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4335 * configure.ac (base_machine): Do not set specially for particular
4337 * configure: Regenerated.
4338 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4339 settings from configure.ac.
4340 * sysdeps/i386/preconfigure: New file.
4341 * sysdeps/s390/preconfigure: Likewise.
4342 * sysdeps/sh/preconfigure: Likewise.
4343 * sysdeps/sparc/preconfigure: Likewise.
4345 2014-06-25 Roland McGrath <roland@hack.frob.com>
4347 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4348 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4349 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4350 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4351 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4352 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4353 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4354 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4355 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4356 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4357 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4358 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4359 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4360 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4361 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4362 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4363 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4364 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4365 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4367 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4368 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4369 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4370 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4371 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4372 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4373 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4374 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4375 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4376 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4377 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4378 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4379 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4380 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4381 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4382 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4383 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4384 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4385 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4386 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4387 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4388 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4389 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4390 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4391 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4392 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4393 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4394 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4395 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4396 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4397 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4398 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4399 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4400 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4401 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4402 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4403 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4404 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4407 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4409 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4412 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4420 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4422 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4424 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4426 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4429 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4434 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4437 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4439 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4441 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4443 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4445 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4448 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4456 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4458 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4460 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4462 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4465 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4468 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4470 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4473 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4475 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4477 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4479 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4481 * timezone/checktab.awk: Update from tzcode 2014e.
4482 * timezone/private.h: Likewise.
4483 * timezone/tzfile.h: Likewise.
4484 * timezone/zdump.c: Likewise.
4485 * timezone/zic.c: Likewise.
4487 * sysdeps/unix/sysv/linux/kernel-features.h
4488 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4490 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4491 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4492 Remove conditional code.
4494 2014-06-25 Will Newton <will.newton@linaro.org>
4496 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4497 (_dl_arm_cap_flags): Add HWCAP2 values.
4498 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4499 (_DL_HWCAP_COUNT): Increase to 37.
4500 (_DL_HWCAP_LAST): New define.
4501 (_DL_HWCAP2_LAST): New define.
4502 (_dl_procinfo): Add support for printing
4504 (_dl_string_hwcap): Use _dl_hwcap_string.
4506 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4510 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4512 * README: Do not mention ports directory.
4514 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4516 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4517 <kernel-features.h>.
4518 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4519 conditional variable definition.
4520 (__futimes): Update comment.
4521 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4522 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4525 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4526 arguments close to 0.
4527 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4529 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4531 * math/auto-libm-test-in: Add more tests of exp10.
4532 * math/auto-libm-test-out: Regenerated.
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4535 * sysdeps/unix/sysv/linux/kernel-features.h
4536 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4537 * sysdeps/unix/sysv/linux/readv.c: Do not include
4538 <kernel-features.h>.
4539 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4540 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4541 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4543 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4545 * sysdeps/unix/sysv/linux/writev.c: Do not include
4546 <kernel-features.h>.
4547 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4548 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4549 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4551 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4554 2014-06-25 Will Newton <will.newton@linaro.org>
4556 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4557 comment changes throughout the file. Remove checks
4558 for HAVE_*_H definitions that are not required.
4559 (__gen_tempname): Call abort if an unknown kind value is
4562 2014-06-25 Andreas Schwab <schwab@suse.de>
4565 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4566 scalbln, scalblnf, scalblnl in libc.
4568 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4571 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4572 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4573 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4575 2014-06-24 Roland McGrath <roland@hack.frob.com>
4577 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4578 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4579 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4580 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4582 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4583 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4585 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4586 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4587 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4588 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4589 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4590 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4591 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4592 * sysdeps/x86/bits/semaphore.h: ... here.
4593 * sysdeps/x86/nptl/elide.h: Moved ...
4594 * sysdeps/x86/elide.h: ... here.
4595 * sysdeps/x86_64/nptl/Implies: File removed.
4596 * sysdeps/i386/nptl/Implies: File removed.
4598 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4601 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4602 return the argument for normal arguments with exponent below -64.
4603 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4605 * math/auto-libm-test-in: Add another test of expm1.
4606 * math/auto-libm-test-out: Regenerated.
4609 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4610 calling __erfcl for arguments at least 16.
4611 * math/auto-libm-test-in: Add more tests of erf.
4612 * math/auto-libm-test-out: Regenerated.
4614 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4615 individual architectures.
4616 * sysdeps/unix/sysv/linux/configure: Regenerated.
4617 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4618 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4619 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4620 (ldd_rewrite_script): Define variable.
4621 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4626 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4627 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4628 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4629 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4630 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4631 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4632 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4633 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4635 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4639 Rename member __data.d to __data.__elision_data.
4641 2014-06-24 Wilco <wdijkstr@arm.com>
4643 * NEWS: Add 16918 to fixed bug list.
4645 2014-06-24 Wilco <wdijkstr@arm.com>
4647 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4649 2014-06-24 Wilco <wdijkstr@arm.com>
4651 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4652 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4653 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4654 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4655 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4656 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4657 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4660 2014-06-24 Wilco <wdijkstr@arm.com>
4662 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4664 2014-06-24 Wilco <wdijkstr@arm.com>
4666 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4667 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4668 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4669 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4671 2014-06-24 Wilco <wdijkstr@arm.com>
4674 * sysdeps/arm/feupdateenv.c (feupdateenv):
4675 Rewrite to reduce FPSCR accesses and fix return value.
4677 2014-06-24 Wilco <wdijkstr@arm.com>
4679 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4680 Optimize to avoid unnecessary FPSCR writes.
4681 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4682 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4683 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4684 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4686 2014-06-24 Wilco <wdijkstr@arm.com>
4688 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4689 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4690 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4691 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4692 Call libc_fetestexcept_vfp.
4693 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4694 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4695 __SOFTFP__ ifdef so that they can be built for softfp.
4697 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4699 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4700 argument type signed char.
4702 * Makerules (check-abi): Dump diff of symlist if the test
4705 2014-06-23 Roland McGrath <roland@hack.frob.com>
4707 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4710 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4711 Remove unused variable ST.
4713 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4717 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4718 small arguments before calling __expm1.
4719 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4720 small arguments before calling __expm1f.
4721 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4722 small arguments before calling __expm1l.
4723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4725 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4726 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4727 spurious underflow for some cosh tests.
4728 * math/auto-libm-test-out: Regenerated.
4729 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4733 (__ieee754_y1): Set errno if return value overflows.
4734 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4735 (__ieee754_y1f): Set errno if return value overflows.
4736 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4737 (__ieee754_y1l): Set errno if return value overflows.
4738 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4739 (__ieee754_y1l): Set errno if return value overflows.
4740 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4741 * math/auto-libm-test-out: Regenerated.
4743 * math/gen-auto-libm-tests.c: Document use of
4744 ignore-zero-inf-sign.
4745 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4746 (input_flags): Add ignore-zero-inf-sign.
4747 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4748 * math/gen-libm-test.pl (generate_testfile): Handle
4749 ignore-zero-inf-sign.
4750 * math/auto-libm-test-in: Mark some cpow tests with
4751 ignore-zero-inf-sign and some with xfail-rounding.
4752 * math/auto-libm-test-out: Regenerated.
4753 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4754 * sysdeps/i386/fpu/libm-test-ulps: Update.
4755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4758 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4759 overflowing or underflowing operations take place with sign of
4761 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4762 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4763 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4764 (__ieee754_pow): Recompute overflowing and underflowing results in
4765 original rounding mode.
4766 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4767 (__powl_helper): Allow negative argument X and scale negated value
4768 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4769 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4770 overflowing or underflowing operations take place with sign of
4772 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4774 * math/auto-libm-test-in: Add more tests of pow.
4775 * math/auto-libm-test-out: Regenerated.
4776 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4777 (pow_tonearest_test_data): Remove.
4778 (pow_test_tonearest): Likewise.
4779 (pow_towardzero_test_data): Likewise.
4780 (pow_test_towardzero): Likewise.
4781 (pow_downward_test_data): Likewise.
4782 (pow_test_downward): Likewise.
4783 (pow_upward_test_data): Likewise.
4784 (pow_test_upward): Likewise.
4785 (main): Don't call removed functions.
4786 * sysdeps/i386/fpu/libm-test-ulps: Update.
4787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4789 2014-06-23 Roland McGrath <roland@hack.frob.com>
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4965 2014-06-23 Will Newton <will.newton@linaro.org>
4966 Wilco <wdijkstr@arm.com>
4968 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4969 implementation. Include get-rounding-mode.h.
4970 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4971 [!libc_feholdsetround_noex_ctx]: Define
4972 libc_feholdsetround_noex_ctx.
4973 [!libc_feholdsetround_noexf_ctx]: Define
4974 libc_feholdsetround_noexf_ctx.
4975 [!libc_feholdsetround_noexl_ctx]: Define
4976 libc_feholdsetround_noexl_ctx.
4977 (libc_feholdsetround_ctx): New function.
4978 (libc_feresetround_ctx): New function.
4979 (libc_feholdsetround_noex_ctx): New function.
4980 (libc_feresetround_noex_ctx): New function.
4982 2014-06-23 Roland McGrath <roland@hack.frob.com>
4984 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4985 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4986 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4987 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4988 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4989 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4991 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4992 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4993 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4994 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4995 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4996 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4997 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4998 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4999 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5003 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5005 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5011 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5013 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5014 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5015 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5017 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5020 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5021 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5023 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5025 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5026 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5028 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5029 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5030 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5031 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5032 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5033 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5034 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5035 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5036 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5037 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5039 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5041 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5042 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5043 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5044 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5045 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5046 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5047 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5048 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5049 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5050 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5051 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5052 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5053 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5055 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5057 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5058 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5059 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5062 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5063 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5064 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5065 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5066 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5068 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5069 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5071 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5072 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5073 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5074 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5077 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5078 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5079 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5080 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5085 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5087 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5088 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5089 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5090 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5091 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5092 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5093 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5094 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5095 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5097 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5100 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5101 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5102 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5103 (IPV6_PMTUDISC_INTERFACE): Likewise.
5104 (IPV6_PMTUDISC_OMIT): Likewise.
5106 2014-06-23 Andreas Schwab <schwab@suse.de>
5108 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5109 Remove unused errout label.
5111 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5113 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5114 macro: hardware supports Vector Crypto instructions.
5116 2014-06-23 Will Newton <will.newton@linaro.org>
5118 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5119 rather than __builtin_expect.
5121 * elf/dl-lookup.c (undefined_msg): Remove variable.
5122 (_dl_lookup_symbol_x): Replace undefined_msg with string
5125 * elf/dl-lookup.c (do_lookup_unique): New function.
5126 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5127 to a separate function.
5129 2014-06-23 Andreas Schwab <schwab@suse.de>
5132 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5133 before reading the next line.
5135 2014-06-23 Will Newton <will.newton@linaro.org>
5137 * test-skeleton.c (signal_handler): Use printf and %m
5138 rather than perror. Use printf rather than fprintf to
5139 stderr. Use puts rather than fputs to stderr.
5142 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5144 * nscd/nscd.c (thread_info_t): Remove typedef.
5145 (thread_info): Remove variable.
5147 2014-06-21 Allan McRae <allan@archlinux.org>
5149 * NEWS: Mention CVE-2014-4043.
5151 2014-06-20 Roland McGrath <roland@hack.frob.com>
5153 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5154 * nptl/smp.h: ... here.
5156 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5158 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5159 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5160 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5161 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5163 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5164 * nptl/stack-aliasing.h: New file.
5165 * sysdeps/i386/i686/stack-aliasing.h: New file.
5166 * sysdeps/i386/i686/nptl/Makefile: File removed.
5167 * sysdeps/x86_64/stack-aliasing.h: New file.
5168 * sysdeps/x86_64/nptl/Makefile
5169 (CFLAGS-pthread_create.c): Variable removed.
5171 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5172 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5174 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5175 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5178 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5180 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5181 (__ASSUME_SIGFRAME_V2): Remove macro.
5182 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5183 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5184 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5185 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5186 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5187 Declare as function. Remove conditional macro definitions.
5188 (__default_rt_sa_restorer): Likewise.
5189 (__default_sa_restorer_v1): Remove declaration.
5190 (__default_sa_restorer_v2): Likewise.
5191 (__default_rt_sa_restorer_v1): Likewise.
5192 (__default_rt_sa_restorer_v2): Likewise.
5193 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5194 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5195 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5197 2014-06-20 Roland McGrath <roland@hack.frob.com>
5199 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5200 (libpthread-routines): Add sysdep.
5201 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5202 * sysdeps/unix/sysv/linux/sparc/Versions
5203 (libpthread: GLIBC_2.3.3): New version set.
5204 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5205 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5206 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5208 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5209 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5211 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5212 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5213 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5214 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5215 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5216 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5217 * sysdeps/sparc/nptl/sem_init.c: ... here.
5218 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5219 * sysdeps/sparc/nptl/sem_post.c: ... here.
5220 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5221 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5222 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5223 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5224 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5225 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5226 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5227 (libpthread-routines): Add cpu_relax.
5228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5230 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5231 (librt: GLIBC_2.3.3): New version set.
5232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5233 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5234 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5235 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5238 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5241 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5243 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5244 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5245 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5246 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5247 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5248 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5249 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5250 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5252 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5254 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5256 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5260 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5262 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5264 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5266 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5268 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5270 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5272 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5275 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5281 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5282 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5283 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5284 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5292 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5294 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5295 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5296 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5297 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5298 * nscd/nscd.c: Likewise.
5299 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5300 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5301 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5302 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5304 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5305 <kernel-features.h>.
5306 (init_mq_netlink): Remove conditional have_sock_cloexec
5307 definitions. Remove code conditional on have_sock_cloexec < 0.
5308 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5309 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5310 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5311 <kernel-features.h>.
5312 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5313 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5315 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5317 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5318 Add tests for memset_chk and memset.
5320 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5323 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5326 * elf/tst-dl-iter-static.c: New file.
5327 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5329 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5332 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5334 * sysdeps/unix/sysv/linux/kernel-features.h
5335 (__ASSUME_F_GETOWN_EX): Remove macro.
5336 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5337 <kernel-features.h>.
5338 (miss_F_GETOWN_EX): Remove variable or macro.
5339 (do_fcntl): Do not check miss_F_GETOWN_EX.
5340 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5345 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5346 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5348 * sysdeps/unix/sysv/linux/kernel-features.h
5349 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5350 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5351 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5352 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5354 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5357 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5358 Fix calculation of the symbol's value.
5359 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5360 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5361 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5362 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5363 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5364 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5365 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5366 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5367 (modules-names): Add `tst-armtlsdescmod',
5368 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5369 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5370 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5371 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5372 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5373 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5374 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5375 ($(objpfx)tst-armtlsdescloc): New dependency.
5376 ($(objpfx)tst-armtlsdescextnow): Likewise.
5377 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5378 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5380 * sysdeps/arm/configure: Regenerate.
5382 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5384 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5385 (__atfct_seterrno_2): Likewise.
5386 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5387 <kernel-features.h>.
5388 (__ASSUME_ATFCTS): Do not undefine and redefine.
5389 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5390 (__have_atfcts): Remove conditional definition.
5391 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5392 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5393 unreachable if [__ASSUME_ATFCTS].
5394 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5395 not undefine and redefine.
5396 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5397 <kernel-features.h>.
5398 (faccessat) [__NR_faccessat]: Make code unconditional.
5399 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5400 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5401 <kernel-features.h>.
5402 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5403 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5404 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5405 <kernel-features.h>.
5406 (fchownat) [__NR_fchownat]: Make code unconditional.
5407 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5408 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5409 <kernel-features.h>.
5410 (futimesat) [__NR_futimesat]: Make code unconditional.
5411 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5412 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5413 <kernel-features.h>.
5414 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5415 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5416 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5417 <kernel-features.h>.
5418 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5419 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5420 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5421 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5422 <kernel-features.h>.
5423 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5424 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5425 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5426 <kernel-features.h>.
5427 (linkat) [__NR_linkat]: Make code unconditional.
5428 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5430 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5431 <kernel-features.h>.
5432 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5433 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5434 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5435 <kernel-features.h>.
5436 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5437 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5438 * sysdeps/unix/sysv/linux/openat.c: Do not include
5439 <kernel-features.h>.
5440 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5441 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5442 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5443 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5444 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5445 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5446 <kernel-features.h>.
5447 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5448 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5449 result of INLINE_SYSCALL directly, not via int variable.
5450 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5451 <kernel-features.h>.
5452 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5453 (renameat) [__NR_renameat]: Make code unconditional.
5454 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5455 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5456 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5457 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5458 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5459 (__ASSUME_ATFCTS): Do not undefine and redefine.
5460 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5461 <kernel-features.h>.
5462 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5463 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5464 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5465 <kernel-features.h>.
5466 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5467 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5468 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5469 (__ASSUME_ATFCTS): Do not undefine and redefine.
5470 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5471 <kernel-features.h>.
5472 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5473 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5475 <kernel-features.h>.
5476 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5477 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5479 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5481 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5483 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5486 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5487 constructed tree before returning error.
5488 * posix/bug-regexp36.c: Expand test case.
5490 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5493 * math/libm-test.inc (scalbln_test_date):
5494 Add errno expectations.
5495 * math/w_scalblnf.c: New File.
5496 Add wrapper which checks for setting errno to ERANGE.
5497 Add weak_alias for corresponding scalbln function.
5498 * math/w_scalbln.c: Likewise.
5499 * math/w_scalblnl.c: Likewise.
5500 * math/Makefile (libm-calls): Add w_scalbln.
5501 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5502 Remove weak_alias for corresponding scalbln function.
5503 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5507 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5508 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5509 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5510 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5511 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5512 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5513 Remove long_double_symbol for scalblnl function in libm, libc.
5514 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5515 Add wrapper which checks for setting errno to ERANGE.
5516 Add long_double_symbol for scalblnl function in libm, libc.
5517 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5518 Remove long_double_symbol for scalblnl in libm.
5519 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5520 Add wrapper which checks for setting errno to ERANGE.
5521 Add long_double_symbol for scalblnl function in libm.
5522 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5523 Do not use wrapper because of own implementation.
5525 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5527 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5528 3 bytes for __pad1 for x32.
5529 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5531 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5532 H.J. Lu <hongjiu.lu@intel.com>
5534 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5535 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5536 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5537 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5538 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5540 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5543 * posix/regcomp.c (parse_expression): Deallocate partially
5544 constructed tree before returning error.
5545 * posix/Makefile.c (tests): Add bug-regex36.
5546 (generated): Add bug-regex36.mtrace.
5547 (tests-special): Add $(objpfx)bug-regex36-mem.out
5548 (bug-regex36-ENV): New variable.
5549 ($(objpfx)bug-regex36-mem.out): New rule.
5550 * posix/bug-regex36.c: New file.
5552 2014-06-19 Will Newton <will.newton@linaro.org>
5554 * malloc/malloc.c (systrim): If extra is zero then return
5557 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5559 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5561 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5563 * sysdeps/aarch64/strchr.S: New file.
5565 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5568 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5569 from arguments -2 or below.
5570 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5571 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5573 2014-06-18 Andreas Schwab <schwab@suse.de>
5576 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5577 of a bracket expr not to run off the end of the string.
5578 * posix/Makefile (tests): Add tst-fnmatch3.
5579 * posix/tst-fnmatch3.c: New file.
5581 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5583 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5584 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5585 [$(cross-compiling) = no]: Likewise.
5586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5587 [$(cross-compiling) = no]: Likewise.
5589 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5592 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5593 double, adjusted for any remainder from the high double.
5594 * math/libm-test.inc (nearbyint): Add tests.
5597 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599 * nptl/sysdeps/powerpc/Makefile: Moved ...
5600 * sysdeps/powerpc/nptl/Makefile: ... here.
5601 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5602 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5603 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5604 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5605 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5606 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5607 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5608 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5609 * nptl/sysdeps/powerpc/tls.h: Moved ...
5610 * sysdeps/powerpc/nptl/tls.h: ... here.
5612 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5615 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5616 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5617 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5618 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5619 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5620 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5621 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5622 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5623 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5625 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5627 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5629 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5631 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5634 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5637 2014-06-16 Florian Weimer <fweimer@redhat.com>
5640 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5641 non-executed part of the test.
5643 2014-06-16 Andreas Schwab <schwab@suse.de>
5645 * string/bits/string2.h (strdup, strndup): Update feature guard.
5647 2014-06-14 David S. Miller <davem@davemloft.net>
5649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5651 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5653 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5654 that was previously under [RESET_PID].
5655 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5657 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5658 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5659 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5660 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5661 (__libc_vfork): New strong alias.
5662 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5664 2014-06-14 Andi Kleen <ak@linux.intel.com>
5666 * sysdeps/generic/elide.h: New file.
5668 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5670 * Makefile (installed-headers): Adjust path of pthread.h header.
5672 2014-06-13 Roland McGrath <roland@hack.frob.com>
5674 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5675 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5676 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5677 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5679 * nptl/sysdeps/s390/Makefile: Moved ...
5680 * sysdeps/s390/nptl/Makefile: ... here.
5681 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5682 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5683 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5684 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5685 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5686 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5687 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5688 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5689 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5690 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5691 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5692 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5693 * nptl/sysdeps/s390/tls.h: Moved ...
5694 * sysdeps/s390/nptl/tls.h: ... here.
5696 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5697 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5699 2014-06-13 David S. Miller <davem@davemloft.net>
5701 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5702 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5703 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5704 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5707 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5708 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5709 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5710 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5711 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5712 Remove RESET_PID cpp guards.
5713 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5714 Remove RESET_PID cpp guards.
5715 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5717 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5719 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5722 2014-06-13 Andi Kleen <ak@linux.intel.com>
5724 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5725 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5726 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5727 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5728 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5729 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5730 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5731 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5732 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5733 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5734 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5735 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5736 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5737 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5738 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5739 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5740 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5741 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5742 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5743 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5745 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5746 (pthread_rwlock_rdlock): Add elision.
5747 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5748 (pthread_rwlock_wrlock): Add elision.
5749 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5750 (pthread_rwlock_trywrlock): Add elision.
5751 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5752 (pthread_rwlock_tryrdlock): Add elision.
5753 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5754 (pthread_rwlock_tryrdlock): Add elision unlock.
5755 * nptl/sysdeps/pthread/pthread.h:
5756 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5757 (PTHREAD_RWLOCK_INITIALIZER,
5758 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5759 Handle new elision field.
5760 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5761 * sysdeps/arm/nptl/bits/pthreadtypes.h
5762 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5763 * sysdeps/sh/nptl/bits/pthreadtypes.h
5764 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5765 * sysdeps/tile/nptl/bits/pthreadtypes.h
5766 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5767 * sysdeps/a/nptl/bits/pthreadtypes.h
5768 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5769 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5770 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5771 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5772 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5773 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5774 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5775 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5776 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5777 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5778 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5779 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5780 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5781 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5782 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5783 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5784 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5785 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5786 (elision_init): Set try_xbegin to zero when no RTM.
5787 * sysdeps/x86/nptl/bits/pthreadtypes.h
5788 (pthread_rwlock_t): Change __pad1 to __rwelision.
5789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5791 2014-06-13 Andi Kleen <ak@linux.intel.com>
5793 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5794 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5795 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5796 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5798 2014-06-13 Meador Inge <meadori@codesourcery.com>
5801 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5802 that the cached result has been set before returning it.
5804 2014-06-12 Roland McGrath <roland@hack.frob.com>
5806 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5807 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5808 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5809 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5810 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5811 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5813 * nptl/sysdeps/sparc/Makefile: Moved ...
5814 * sysdeps/sparc/nptl/Makefile: ... here.
5815 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5816 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5817 * nptl/sysdeps/sparc/tls.h: Moved ...
5818 * sysdeps/sparc/nptl/tls.h: ... here.
5819 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5820 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5821 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5822 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5823 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5824 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5825 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5826 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5827 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5828 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5829 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5830 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5831 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5832 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5833 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5834 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5835 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5836 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5838 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5839 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5841 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5842 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5844 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5848 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5850 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5851 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5853 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5854 (struct list_links): Type removed.
5855 (struct thread_node, struct timer_node): Replace struct list_links
5856 with struct list_head.
5857 (list_unlink_ip): Likewise.
5858 * sysdeps/pthread/timer_routines.c
5859 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5860 (list_append, list_insbefore): Likewise.
5861 (list_init): Function removed.
5862 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5863 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5864 * sysdeps/pthread/Makefile: ... here, new file.
5866 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5867 * sysdeps/nptl/Implies: ... here.
5868 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5869 * nptl/sysdeps/pthread/list.h: Moved ...
5870 * include/list.h: ... here.
5871 * nptl/sysdeps/pthread/createthread.c: Moved ...
5872 * nptl/createthread.c: ... here.
5873 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5874 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5875 * nptl/pt-longjmp.c: ... here.
5876 * nptl/sysdeps/pthread/Makefile: Moved ...
5877 * sysdeps/nptl/Makefile: ... here.
5878 * nptl/sysdeps/pthread/Subdirs: Moved ...
5879 * sysdeps/nptl/Subdirs: ... here.
5880 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5881 * sysdeps/nptl/aio_misc.h: ... here.
5882 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5883 * sysdeps/nptl/bits/libc-lock.h: ... here.
5884 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5885 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5886 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5887 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5888 * nptl/sysdeps/pthread/configure: Moved ...
5889 * sysdeps/nptl/configure: ... here.
5890 * nptl/sysdeps/pthread/configure.ac: Moved ...
5891 * sysdeps/nptl/configure.ac: ... here.
5892 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5893 * sysdeps/nptl/gai_misc.h: ... here.
5894 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5895 * sysdeps/nptl/librt-cancellation.c: ... here.
5896 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5897 * sysdeps/nptl/malloc-machine.h: ... here.
5898 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5899 * sysdeps/nptl/pthread-functions.h: ... here.
5900 * nptl/sysdeps/pthread/pthread.h: Moved ...
5901 * sysdeps/nptl/pthread.h: ... here.
5902 * nptl/sysdeps/pthread/setxid.h: Moved ...
5903 * sysdeps/nptl/setxid.h: ... here.
5904 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5905 * sysdeps/nptl/sigfillset.c: ... here.
5906 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5907 * sysdeps/nptl/tcb-offsets.h: ... here.
5908 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5909 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5910 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5911 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5912 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5913 * sysdeps/pthread/allocalim.h: ... here.
5914 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5915 * sysdeps/pthread/bits/sigthread.h: ... here.
5916 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5917 * sysdeps/pthread/flockfile.c: ... here.
5918 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5919 * sysdeps/pthread/ftrylockfile.c: ... here.
5920 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5921 * sysdeps/pthread/funlockfile.c: ... here.
5922 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5923 * sysdeps/pthread/posix-timer.h: ... here.
5924 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5925 * sysdeps/pthread/timer_create.c: ... here.
5926 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5927 * sysdeps/pthread/timer_delete.c: ... here.
5928 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5929 * sysdeps/pthread/timer_getoverr.c: ... here.
5930 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5931 * sysdeps/pthread/timer_gettime.c: ... here.
5932 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5933 * sysdeps/pthread/timer_routines.c: ... here.
5934 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5935 * sysdeps/pthread/timer_settime.c: ... here.
5936 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5937 * sysdeps/pthread/tst-timer.c: ... here.
5938 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5939 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5941 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5942 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5944 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5945 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5946 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5947 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5948 Update #include target.
5949 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5950 * sysdeps/i386/i686/nptl/Makefile: ... here.
5951 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5952 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5953 Update #include target.
5954 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5955 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5956 * nptl/sysdeps/i386/Makefile: Moved ...
5957 * sysdeps/i386/nptl/Makefile: ... here.
5958 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5959 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5960 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5961 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5962 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5963 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5964 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5965 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5966 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5967 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5968 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5969 * nptl/sysdeps/i386/tls.h: Moved ...
5970 * sysdeps/i386/nptl/tls.h: ... here.
5972 * sysdeps/sh/Makefile [$(subdir) = csu]
5973 (gen-as-const-headers): Add tcb-offsets.sym.
5974 * nptl/sysdeps/sh/Makefile: File removed.
5975 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5976 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5977 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5978 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5979 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5980 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5981 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5982 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5983 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5984 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5985 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5986 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5987 * nptl/sysdeps/sh/tls.h: Moved ...
5988 * sysdeps/sh/nptl/tls.h: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5990 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5992 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5994 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5996 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5997 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5998 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5999 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6000 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6001 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6002 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6003 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6004 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6006 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6007 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6008 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6009 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6010 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6011 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6012 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6013 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6015 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6018 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6019 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6020 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6021 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6022 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6024 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6025 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6026 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6027 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6028 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6029 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6030 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6031 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6032 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6033 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6034 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6035 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6036 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6038 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6040 * posix/spawn_faction_addopen.c: Include string.h.
6042 2014-06-11 Roland McGrath <roland@hack.frob.com>
6044 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6045 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6046 * nptl/sysdeps/x86_64/Makefile: Moved ...
6047 * sysdeps/x86_64/nptl/Makefile: ... here.
6048 * nptl/sysdeps/x86_64/configure: Moved ...
6049 * sysdeps/x86_64/nptl/configure: ... here.
6050 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6051 * sysdeps/x86_64/nptl/configure.ac: ... here.
6052 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6053 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6054 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6055 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6056 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6057 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6058 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6059 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6060 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6061 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6062 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6063 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6064 * nptl/sysdeps/x86_64/tls.h: Moved ...
6065 * sysdeps/x86_64/nptl/tls.h: ... here.
6066 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6067 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6068 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6069 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6071 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6073 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6077 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6079 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6081 [POSIX] (off_t): Likewise.
6082 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6083 [POSIX] (S_ISBLK): Require macro.
6084 [POSIX] (S_ISCHR): Likewise.
6085 [POSIX] (S_ISDIR): Likewise.
6086 [POSIX] (S_ISFIFO): Likewise.
6087 [POSIX] (S_ISREG): Likewise.
6088 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6090 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6092 [POSIX] (time_t): Likewise.
6093 [POSIX] (timer_t): Likewise.
6095 2014-06-11 Florian Weimer <fweimer@redhat.com>
6098 * posix/spawn_int.h (struct __spawn_action): Make the path string
6099 non-const to support deallocation.
6100 * posix/spawn_faction_addopen.c
6101 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6102 * posix/spawn_faction_destroy.c
6103 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6104 path in all spawn_do_open actions.
6105 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6106 posix_spawn_file_actions_addopen.
6108 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6110 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6111 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6112 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6113 conditional code always true.
6114 (__libc_vfork): New alias.
6116 2014-06-11 Roland McGrath <roland@hack.frob.com>
6118 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6119 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6121 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6123 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6124 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6126 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6127 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6129 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6130 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6132 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6134 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6135 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6136 multiarch strcmp for PPC64.
6137 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6140 multiarch optimizations.
6141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6142 (__libc_ifunc_impl_list): Likewise.
6144 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6146 * benchtests/scripts/validate_benchout.py: New script.
6147 * benchtests/Makefile (bench-func): Call it.
6148 * benchtests/scripts/benchout.schema.json: New file.
6150 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6152 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6153 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6154 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6155 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6156 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6157 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6158 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6159 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6160 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6161 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6162 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6163 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6164 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6165 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6166 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6167 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6242 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6244 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6262 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6271 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6272 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6273 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6274 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6275 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6277 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6279 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6280 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6281 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6282 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6283 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6284 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6285 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6286 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6287 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6288 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6289 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6290 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6291 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6293 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6296 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6297 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6298 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6299 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6301 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6303 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6304 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6305 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6306 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6307 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6309 2014-06-10 Wilco <wdijkstr@arm.com>
6311 * math/test-fenv-return.c: New file.
6312 * math/Makefile: Add new test test-fenv-return.
6314 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6317 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6319 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6320 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6322 0.0L for an argument of 1.0L.
6323 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6325 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6326 value when x - 1 is zero.
6327 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6334 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6336 2014-06-09 Roland McGrath <roland@hack.frob.com>
6338 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6339 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6341 2014-06-09 Roland McGrath <roland@hack.frob.com>
6343 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6344 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6346 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6347 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6349 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6350 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6352 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6353 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6355 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6356 if not already defined.
6357 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6358 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6359 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6360 (TLS_INIT_TP): Use it.
6361 (TLS_DEFINE_INIT_TP): New macro.
6362 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6364 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6366 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6368 [POSIX] (IXANY): Likewise.
6369 [POSIX] (OLCUC): Likewise.
6370 [POSIX || POSIX2008] (CBAUD): Do not allow.
6371 [POSIX || POSIX2008] (DEFECHO): Likewise.
6372 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6373 [POSIX || POSIX2008] (ECHOKE): Likewise.
6374 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6375 [POSIX || POSIX2008] (EXTA): Likewise.
6376 [POSIX || POSIX2008] (EXTB): Likewise.
6377 [POSIX || POSIX2008] (FLUSHO): Likewise.
6378 [POSIX || POSIX2008] (LOBLK): Likewise.
6379 [POSIX || POSIX2008] (PENDIN): Likewise.
6380 [POSIX || POSIX2008] (SWTCH): Likewise.
6381 [POSIX || POSIX2008] (VDISCARD): Likewise.
6382 [POSIX || POSIX2008] (VDSUSP): Likewise.
6383 [POSIX || POSIX2008] (VLNEXT): Likewise.
6384 [POSIX || POSIX2008] (VREPRINT): Likewise.
6385 [POSIX || POSIX2008] (VSTATUS): Likewise.
6386 [POSIX || POSIX2008] (VWERASE): Likewise.
6387 (B*): Change to B[0123456789]*.
6388 * conform/data/time.h-data [POSIX || UNIX98]
6389 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6390 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6391 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6392 [POSIX] (tm_*): Do not allow.
6394 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6396 * Makefile (install): Don't set LANGUAGE.
6397 * Makefile.in (install): Likewise.
6398 * assert/Makefile (test-assert-ENV): Remove variable.
6399 (test-assert-perr-ENV): Likewise.
6400 * elf/Makefile (neededtest4-ENV): Likewise.
6401 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6402 [$(cross-compiling) = no]: Don't set LANGUAGE.
6403 * io/ftwtest-sh (LANG): Remove variable.
6404 * libio/Makefile (tst-widetext-ENV): Likewise.
6405 * manual/install.texi (Running make install): Don't refer to
6406 environment settings for make install.
6407 * INSTALL: Regenerated.
6408 * nptl/tst-tls6.sh: Don't set LANG.
6409 * posix/globtest.sh (LANG): Remove variable.
6410 * string/Makefile (tester-ENV): Likewise.
6411 (inl-tester-ENV): Likewise.
6412 (noinl-tester-ENV): Likewise.
6413 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6414 [$(cross-compiling) = no]: Don't set LANGUAGE.
6415 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6416 without explicit environment settings.
6418 2014-06-06 Roland McGrath <roland@hack.frob.com>
6420 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6421 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6422 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6423 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6425 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6427 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6428 other files in the crypt directory.
6429 * crypt/crypt.c: Remove duplicate includes.
6430 * crypt/crypt-entry.c: Likewise.
6431 * crypt/crypt_util.c: Likewise.
6433 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6435 * Makeconfig (run-program-env): New variable.
6436 (run-program-prefix-before-env): Likewise.
6437 (run-program-prefix-after-env): Likewise.
6438 (run-program-prefix): Define in terms of new variables.
6439 (built-program-cmd-before-env): New variable.
6440 (built-program-cmd-after-env): Likewise.
6441 (built-program-cmd): Define in terms of new variables.
6442 (test-program-prefix-before-env): New variable.
6443 (test-program-prefix-after-env): Likewise.
6444 (test-program-prefix): Define in terms of new variables.
6445 (test-program-cmd-before-env): New variable.
6446 (test-program-cmd-after-env): Likewise.
6447 (test-program-cmd): Define in terms of new variables.
6448 * Rules (make-test-out): Use $(run-program-env).
6449 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6450 (help): Do not mention environment variables. Mention
6451 --timeoutfactor option.
6452 (timeoutfactor): New variable.
6453 (blacklist_exports): Remove function.
6454 (exports): Remove variable.
6455 (command): Do not include ${exports}.
6456 * manual/install.texi (Configuring and compiling): Do not mention
6457 test wrappers preserving environment variables. Mention that last
6458 assignment to a variable must take precedence.
6459 * INSTALL: Regenerated.
6460 * benchtests/Makefile (run-bench): Use $(run-program-env).
6461 * catgets/Makefile ($(objpfx)test1.cat): Use
6462 $(built-program-cmd-before-env), $(run-program-env) and
6463 $(built-program-cmd-after-env).
6464 ($(objpfx)test2.cat): Do not specify environment variables
6466 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6467 $(run-program-env) and $(built-program-cmd-after-env).
6468 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6469 $(run-program-env) and $(test-program-cmd-after-env).
6470 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6472 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6473 run_program_env and test_program_cmd_after_env arguments.
6474 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6475 * elf/tst-pathopt.sh: Use run_program_env argument.
6476 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6477 $(test-wrapper-env) and $(run-program-env).
6478 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6479 run_program_env arguments.
6480 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6481 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6482 $(test-program-prefix-before-env), $(run-program-env) and
6483 $(test-program-prefix-after-env).
6484 ($(objpfx)tst-gettext2.out): Likewise.
6485 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6486 run_program_env and test_program_prefix_after_env arguments.
6487 * intl/tst-gettext2.sh: Likewise.
6488 * intl/tst-gettext4.sh: Do not set environment variables
6490 * intl/tst-gettext6.sh: Likewise.
6491 * intl/tst-translit.sh: Likewise.
6492 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6493 $(test-program-prefix-before-env), $(run-program-env) and
6494 $(test-program-prefix-after-env).
6495 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6496 run_program_env and test_program_prefix_after_env arguments.
6497 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6498 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6499 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6500 explicitly with each use of ${test_wrapper_env}.
6501 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6502 $(test-program-prefix-before-env), $(run-program-env) and
6503 $(test-program-prefix-after-env).
6504 * posix/tst-getconf.sh: Do not set environment variables
6506 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6507 run_program_env and test_program_prefix_after_env arguments.
6508 * stdio-common/tst-printf.sh: Do not set environment variables
6510 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6511 $(test-program-prefix-before-env), $(run-program-env) and
6512 $(test-program-prefix-after-env).
6513 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6514 run_program_env and test_program_prefix_after_env arguments.
6515 Split $test calls into $test_pre and $test.
6516 * timezone/Makefile (build-testdata): Use
6517 $(built-program-cmd-before-env), $(run-program-env) and
6518 $(built-program-cmd-after-env).
6520 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6522 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6523 strlen for non SHARED builds.
6525 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6527 * nptl/allocatestack.c (check_list): Inlined function...
6528 (__reclaim_stacks): ... here.
6530 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6533 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6536 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6538 * Rules (make-test-out): Include
6539 LOCPATH=$(common-objpfx)localedata in default environment.
6540 * debug/Makefile (tst-chk1-ENV): Remove variable.
6541 (tst-chk2-ENV): Likewise.
6542 (tst-chk3-ENV): Likewise.
6543 (tst-chk4-ENV): Likewise.
6544 (tst-chk5-ENV): Likewise.
6545 (tst-chk6-ENV): Likewise.
6546 (tst-lfschk1-ENV): Likewise.
6547 (tst-lfschk2-ENV): Likewise.
6548 (tst-lfschk3-ENV): Likewise.
6549 (tst-lfschk4-ENV): Likewise.
6550 (tst-lfschk5-ENV): Likewise.
6551 (tst-lfschk6-ENV): Likewise.
6552 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6553 (tst-iconv7-ENV): Likewise.
6554 * intl/Makefile (LOCPATH-ENV): Likewise.
6555 (tst-codeset-ENV): Likewise.
6556 (tst-gettext3-ENV): Likewise.
6557 (tst-gettext5-ENV): Likewise.
6558 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6559 (tst-fopenloc-ENV): Likewise.
6560 (tst-fgetws-ENV): Remove variable.
6561 (tst-ungetwc1-ENV): Likewise.
6562 (tst-ungetwc2-ENV): Likewise.
6563 (bug-ungetwc2-ENV): Likewise.
6564 (tst-swscanf-ENV): Likewise.
6565 (bug-ftell-ENV): Likewise.
6566 (tst-fgetwc-ENV): Likewise.
6567 (tst-fseek-ENV): Likewise.
6568 (tst-ftell-partial-wide-ENV): Likewise.
6569 (tst-ftell-active-handler-ENV): Likewise.
6570 (tst-ftell-append-ENV): Likewise.
6571 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6572 (tst-regexloc-ENV): Likewise.
6573 (bug-regex1-ENV): Likewise.
6574 (tst-regex-ENV): Likewise.
6575 (tst-regex2-ENV): Likewise.
6576 (bug-regex5-ENV): Likewise.
6577 (bug-regex6-ENV): Likewise.
6578 (bug-regex17-ENV): Likewise.
6579 (bug-regex18-ENV): Likewise.
6580 (bug-regex19-ENV): Likewise.
6581 (bug-regex20-ENV): Likewise.
6582 (bug-regex22-ENV): Likewise.
6583 (bug-regex23-ENV): Likewise.
6584 (bug-regex25-ENV): Likewise.
6585 (bug-regex26-ENV): Likewise.
6586 (bug-regex30-ENV): Likewise.
6587 (bug-regex32-ENV): Likewise.
6588 (bug-regex33-ENV): Likewise.
6589 (bug-regex34-ENV): Likewise.
6590 (bug-regex35-ENV): Likewise.
6591 (tst-rxspencer-ENV): Likewise.
6592 (tst-rxspencer-no-utf8-ENV): Likewise.
6593 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6594 (tst-sscanf-ENV): Likewise.
6595 (tst-swprintf-ENV): Likewise.
6596 (tst-swscanf-ENV): Likewise.
6597 (test-vfprintf-ENV): Likewise.
6598 (scanf13-ENV): Likewise.
6599 (bug14-ENV): Likewise.
6600 (tst-grouping-ENV): Likewise.
6601 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6602 (tst-strtod3-ENV): Likewise.
6603 (tst-strtod4-ENV): Likewise.
6604 (tst-strtod5-ENV): Likewise.
6605 (testmb2-ENV): Likewise./
6606 * string/Makefile (tst-strxfrm-ENV): Likewise.
6607 (tst-strxfrm2-ENV): Likewise.
6608 (bug-strcoll1-ENV): Likewise.
6609 (test-strcasecmp-ENV): Likewise.
6610 (test-strncasecmp-ENV): Likewise.
6611 * time/Makefile (tst-strptime-ENV): Likewise.
6612 (tst-ftime_l-ENV): Likewise.
6613 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6614 (tst-mbrtowc-ENV): Likewise.
6615 (tst-wcrtomb-ENV): Likewise.
6616 (tst-mbrtowc2-ENV): Likewise.
6617 (tst-c16c32-1-ENV): Likewise.
6618 (tst-mbsnrtowcs-ENV): Likewise.
6620 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6622 * manual/resource.texi (How to get information about the memory
6623 subsystem?): Fix typo.
6624 Reported by Peon de la Parra Ivan <peon@keba.com>
6626 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6629 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6630 (pthread_spin_lock): Branch out of spin loop to proper location.
6631 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6632 (pthread_spin_lock): Likewise.
6634 * nptl/tst-spin4.c: New test.
6635 * nptl/Makefile (tests): Add tst-spin4.
6637 2014-06-03 Andreas Schwab <schwab@suse.de>
6640 * resolv/res_send.c (send_dg): Reload file descriptor after
6643 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6645 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6647 2014-06-03 Richard Henderson <rth@redhat.com>
6649 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6650 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6651 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6652 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6653 in the SAVE_PID block.
6654 (__libc_vfork): New alias.
6655 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6657 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6658 child in registers, not on the stack. Remove RESET_PID conditionals.
6659 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6661 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6663 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6665 2014-06-03 Wilco <wdijkstr@arm.com>
6667 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6668 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6669 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6670 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6671 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6674 2014-06-03 Wilco <wdijkstr@arm.com>
6676 * sysdeps/aarch64/fpu/math_private.h
6677 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6678 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6679 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6680 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6683 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6685 * crypt/crypt-private.h: Include ufc-crypt.h.
6686 (__b64_from_24bit): Declare extern.
6687 * crypt/crypt_util.c(__b64_from_24bit): New function.
6688 (b64t): New static const variable.
6689 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6690 (b64t): Remove variable.
6691 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6692 * crypt/sha256-crypt.c: Include crypt-private.h.
6693 (b64t): Remove variable.
6694 (__sha256_crypt_r): Remove b64_from_24bit and replace
6695 with __b64_from_24bit.
6696 * crypt/sha512-crypt.c: Likewise.
6698 2014-06-02 Roland McGrath <roland@hack.frob.com>
6700 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6701 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6702 Label the code __libc_vfork rather than __vfork.
6703 [!NOT_IN_libc] (vfork): Define as weak alias.
6704 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6705 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6706 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6708 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6710 * malloc/malloc.c (malloc_info): Fix format specifier for
6713 2014-06-02 Wilco <wdijkstr@arm.com>
6715 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6718 2014-06-02 Wilco <wdijkstr@arm.com>
6721 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6722 Rewrite to reduce FPCR/FPSR accesses.
6724 2014-06-01 David S. Miller <davem@davemloft.net>
6726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6728 2014-05-31 David S. Miller <davem@davemloft.net>
6730 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6731 to occur in round to nearest mode when |x| >= 2.0
6733 2014-05-30 Richard Henderson <rth@twiddle.net>
6735 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6736 (PSEUDO_RET_NOERRNO): Remove.
6737 (ret): Don't redefine.
6738 (ret_NOERRNO): Define in terms of ret.
6739 (ret_ERRVAL): Likewise.
6741 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6742 use of PSEUDO_RET; perform the error check directly.
6744 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6746 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6749 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6751 * malloc/malloc (malloc_info): Fix formatting.
6753 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6754 Roland McGrath <roland@hack.frob.com>
6756 * malloc/malloc (malloc_info): Also print mmapped statistics.
6758 2014-05-30 Roland McGrath <roland@hack.frob.com>
6760 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6761 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6763 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6765 * malloc/malloc.c (malloc_info): Inline mi_arena.
6767 2014-05-29 Richard Henderson <rth@twiddle.net>
6769 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6770 Remove comma before expanding ASM_ARGS_##nr.
6771 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6772 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6774 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6775 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6776 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6777 (ASM_ARGS_1): Add leading comma.
6779 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6780 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6781 to __errno_location.
6782 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6783 Remove the expected plt for __errno_location.
6785 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6786 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6789 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6790 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6791 it and break it down.
6792 (DOCARGS_0, DOCARGS_1): Do nothing.
6793 (DOCARGS_2): Update to store into the new stack frame.
6794 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6795 (UNDOCARGS_1): Update to restore from the new stack frame.
6796 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6797 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6799 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6800 (SINGLE_THREAD_P): New parameter for result regno.
6801 (PSEUDO): Update to match; use cbz instead of beq.
6803 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6804 Use ENTRY to define the _nocancel entry point. Share the syscall
6805 and syscall error check paths with the cancel path.
6808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6809 whitespace; tabs before and after asm mnemonics.
6811 2014-05-29 Eric Wong <normalperson@yhbt.net>
6814 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6815 Call fstat64 or stat64 internally, depending on arguments passed.
6816 Replace stat buffer argument with file descriptor argument.
6817 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6818 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6819 Pass fd to __internal_statvfs instead of calling fstat64.
6820 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6821 Pass fd to __internal_statvfs64 instead of calling fstat64.
6822 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6823 Pass -1 to __internal_statvfs instead of calling stat64.
6824 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6825 Pass -1 to __internal_statvfs64 instead of calling stat64.
6827 2014-05-28 Roland McGrath <roland@hack.frob.com>
6829 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6830 that was previously under [RESET_PID].
6831 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6833 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6834 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6836 2014-05-27 Roland McGrath <roland@hack.frob.com>
6838 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6840 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6841 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6843 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6845 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6847 2014-05-27 Andreas Schwab <schwab@suse.de>
6849 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6851 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6852 * elf/rtld.c (init_tls, dl_main): Likewise.
6853 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6854 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6855 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6856 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6857 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6858 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6859 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6860 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6861 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6862 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6863 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6864 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6865 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6866 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6867 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6868 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6869 * sysdeps/generic/tls.h: Update description.
6871 2014-05-27 Will Newton <will.newton@linaro.org>
6874 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6875 and restore r2 rather than just restoring.
6877 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6880 * libio/tst-ftell-append.c: New test case.
6881 * libio/Makefile (tests): Add test case.
6882 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6884 * libio/wfileops.c (do_ftell_wide): Likewise.
6886 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6890 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6894 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6895 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6896 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6897 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6898 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6899 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6900 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6906 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6907 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6908 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6909 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6910 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6912 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6913 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6915 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6917 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6919 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6920 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6921 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6923 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6924 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6925 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6926 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6934 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6941 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6949 conditional [RESET_PID].
6950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6958 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6959 (__libc_vfork): New strong alias.
6960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6962 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6967 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6968 (__libc_vfork): New strong alias.
6969 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6974 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6976 * malloc/malloc.c (mi_arena): New function.
6977 (malloc_info): Remove nested function mi_arena. Call non-nosted
6980 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6982 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6984 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6985 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6986 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6987 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6988 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6989 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6990 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6992 2014-05-26 Andreas Schwab <schwab@suse.de>
6995 * locale/programs/repertoire.c (repertoire_read): Add slash
6996 between I18NPATH element and file name.
6997 * locale/programs/locfile.c (locfile_read): Likewise.
6999 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7001 * nptl/pthread_mutexattr_settype.c
7002 (__pthread_mutexattr_settype):
7003 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7005 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7007 * nptl/tst-mutex5 (do_test):
7008 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7010 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7012 * benchtests/README: Document 'init' directive.
7013 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7015 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7016 (parse_file): Recognize 'init' directive.
7018 2014-05-26 Kyle McMartin <kyle@redhat.com>
7021 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7022 alignment of struct pthread.
7024 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7027 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7028 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7029 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7030 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7032 2014-05-25 Richard Henderson <rth@twiddle.net>
7034 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7035 (SINGLE_THREAD_P_PIC): Remove.
7036 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7037 (SINGLE_THREAD_P_PIC): Remove.
7039 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7040 branch to syscall error ...
7042 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7043 from __local_syscall_error to .Lsyscall_error.
7044 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7045 (SYSCALL_ERROR): Update label name.
7047 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7048 Do not use DOARGS/UNDOARGS.
7049 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7050 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7051 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7052 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7053 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7058 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7059 define if !NOT_IN_libc.
7060 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7061 define with non-default symbol versions.
7063 2014-05-23 Richard Henderson <rth@twiddle.net>
7065 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7066 (vfork, __vfork): Define via compat_symbol.
7068 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7069 [!HAVE_IFUNC] (vfork_compat): Remove.
7070 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7072 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7075 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7076 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7079 2014-05-23 Richard Henderson <rth@twiddle.net>
7081 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7082 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7083 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7084 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7086 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7087 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7088 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7089 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7090 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7091 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7092 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7093 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7094 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7095 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7096 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7097 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7098 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7101 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7102 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7103 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7104 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7108 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7117 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7118 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7119 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7120 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7121 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7123 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7124 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7125 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7126 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7127 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7128 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7129 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7130 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7131 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7132 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7133 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7134 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7135 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7136 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7137 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7138 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7139 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7140 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7141 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7143 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7144 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7145 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7146 before exiting on error.
7147 (__libc_vfork): New strong alias.
7148 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7149 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7151 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7152 that was previously under [RESET_PID].
7153 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7155 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7157 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7160 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7161 value when x - 1 is zero.
7162 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7163 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7164 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7165 0.0L for an argument of 1.0L.
7166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7168 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7169 value when x - 1 is zero.
7170 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7171 * sysdeps/i386/fpu/libm-test-ulps: Update.
7172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7174 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7176 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7177 alphasort and versionsort.
7179 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7181 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7183 [copysignf]: Likewise.
7185 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7187 * crypt/md5-crypt.c: Fix formatting.
7189 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7191 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7192 (b64_from_24bit): New function.
7194 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7197 libc_hidden_builtin_def to ifunc.
7198 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7199 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7201 2014-05-21 Roland McGrath <roland@hack.frob.com>
7203 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7204 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7206 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7208 * nscd/Depend (linuxthreads): Remove.
7210 * resolv/Depend (linuxthreads): Remove.
7211 * rt/Depend (linuxthreads): Remove.
7213 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7214 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7215 $(common-objpfx)elf/.
7216 (link-libc-before-gnulib): Likewise.
7217 (elfobjdir): Remove variable.
7218 * Makefile (install): Use $(elf-objpfx) instead of
7219 $(common-objpfx)elf/.
7220 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7222 (link-libc-deps): Likewise.
7223 ($(common-objpfx)libc.so): Likewise.
7224 ($(common-objpfx)linkobj/libc.so): Likewise.
7225 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7226 instead of $(common-objpfx)elf/.
7227 (symbolic-link-list): Likewise.
7228 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7229 [$(cross-compiling) = no]: Likewise.
7230 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7232 (static-gnulib-arch): Likewise.
7233 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7234 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7235 $(common-objpfx)elf/.
7237 2014-05-21 Richard Henderson <rth@redhat.com>
7239 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7240 (SINGLE_THREAD_P): Use the correct width load. Fold
7241 into the ldr offset.
7243 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7244 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7246 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7248 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7249 (libgcc_s_resume): Use __attribute_used__.
7250 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7253 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7255 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7256 optimization when used with float constants.
7258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7260 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7263 * locale/nl_langinfo_l.c: Make direct reference to every
7264 _nl_current_CATEGORY symbol.
7265 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7266 (tests-static): Add tst-langinfo-static.
7267 (tests-special): Add tst-langinfo-static.out.
7268 ($(objpfx)tst-langinfo.out): Redirect output.
7269 ($(objpfx)tst-langinfo-static.out): New.
7270 * localedata/tst-langinfo.sh: Send output to stdout.
7271 * localedata/tst-langinfo-static.c: New file.
7274 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7275 when the shift amount is modulo the limb size.
7277 2014-05-20 Richard Henderson <rth@redhat.com>
7280 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7281 Change type of sa_flags from unsigned int to int.
7284 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7286 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7288 2014-05-20 Will Newton <will.newton@linaro.org>
7290 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7291 Test the return value of the system call in the nocancel case.
7293 2014-05-20 Will Newton <will.newton@linaro.org>
7294 Yvan Roux <yvan.roux@linaro.org>
7296 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7297 #include of asm/ptrace.h.
7298 (PTRACE_GET_THREAD_AREA): Remove #undef.
7299 (PTRACE_GETHBPREGS): Likewise.
7300 (PTRACE_SETHBPREGS): Likewise.
7301 (struct user_regs_struct): New structure.
7302 (struct user_fpsimd_struct): New structure.
7303 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7304 #include of asm/ptrace.h and second #include of sys/user.h.
7305 (PTRACE_GET_THREAD_AREA): Remove #undef.
7306 (PTRACE_GETHBPREGS): Likewise.
7307 (PTRACE_SETHBPREGS): Likewise.
7308 (ELF_NGREG): Use new struct user_regs_struct.
7309 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7311 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7313 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7314 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7316 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7320 membar to avoid block loads/stores to overlap previous stores.
7322 2014-05-17 Richard Henderson <rth@redhat.com>
7324 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7325 Create the __##syscall_name##_nocancel entry point.
7326 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7327 Remove; let the sysdep-cancel.h code create it.
7329 2014-05-17 David S. Miller <davem@davemloft.net>
7331 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7332 Protect with __USE_GNU.
7333 (TIOCSET_TEMPT): Likewise.
7334 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7335 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7336 these are already provided in bits/ioctl-types.h
7338 2014-05-16 Roland McGrath <roland@hack.frob.com>
7340 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7341 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7343 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7344 Use wait4 regardless of [__NR_waitpid].
7346 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7349 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7350 (_FP_NANSIGN_Q): Set the quiet bit.
7352 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7354 * benchtests/Makefile
7355 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7356 not $(common-objpfx)math/libm.so.
7357 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7358 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7359 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7360 $(common-objpfx)dlfcn/libdl.so.
7361 ($(objpfx)tst-audit8): Depend on $(libm), not
7362 $(common-objpfx)math/libm.so.
7363 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7364 not $(common-objpfx)dlfcn/libdl.so.
7366 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7367 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7368 [$(build-shared) = yes].
7369 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7370 $(common-objpfx)nptl/libpthread.so.
7371 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7372 $(common-objpfx)math/libm.so$(libm.so-version) or
7373 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7374 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7375 $(common-objpfx)dlfcn/libdl.so.
7376 * setjmp/Makefile (link-libm): Remove variable.
7377 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7378 * stdio-common/Makefile (link-libm): Remove variable.
7379 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7380 * stdlib/Makefile (link-libm): Remove variable.
7381 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7382 ($(objpfx)tst-strtod-round): Likewise.
7383 ($(objpfx)tst-tininess): Likewise.
7384 ($(objpfx)tst-strtod-underflow): Likewise.
7385 ($(objpfx)tst-strtod6): Likewise.
7386 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7387 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7388 $(common-objpfx)dlfcn/libdl.so.
7390 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7392 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7393 BSD terminal modes definitions.
7395 2014-05-16 Roland McGrath <roland@hack.frob.com>
7397 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7398 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7400 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7401 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7402 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7403 Don't do #include_next.
7404 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7405 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7406 Don't do #include_next.
7407 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7408 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7409 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7410 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7412 2014-05-16 Allan McRae <allan@archlinux.org>
7414 * po/sv.po: Update Swedish translation from translation project.
7416 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7419 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7422 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7423 errno if the TIOCGPTN ioctl fails with an error different than
7425 * login/tst-ptsname.c: New file.
7426 * login/Makefile (tests): Add tst-ptsname.
7429 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7432 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7435 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7436 herrno to return EAI_AGAIN.
7438 2014-05-14 Roland McGrath <roland@hack.frob.com>
7440 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7441 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7442 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7443 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7445 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7447 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7449 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7450 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7451 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7453 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7454 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7455 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7456 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7457 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7458 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7459 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7460 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7461 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7462 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7463 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7464 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7465 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7466 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7467 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7469 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7471 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7473 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7476 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7478 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7480 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7482 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7484 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7486 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7488 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7490 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7492 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7496 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7500 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7502 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7505 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7507 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7509 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7511 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7513 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7515 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7517 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7523 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7526 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7528 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7530 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7531 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7532 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7533 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7534 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7535 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7536 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7537 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7538 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7539 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7540 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7541 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7542 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7544 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7545 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7546 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7547 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7548 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7549 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7550 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7551 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7552 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7553 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7554 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7556 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7557 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7558 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7560 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7562 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7563 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7565 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7566 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7567 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7568 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7569 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7570 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7572 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7575 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7576 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7578 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7579 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7581 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7583 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7586 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7588 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7590 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7591 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7592 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7593 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7595 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7596 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7598 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7600 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7601 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7603 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7604 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7606 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7610 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7612 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7614 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7618 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7620 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7621 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7623 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7624 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7626 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7628 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7631 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7633 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7635 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7636 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7637 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7640 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7641 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7643 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7645 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7646 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7647 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7648 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7651 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7655 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7657 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7659 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7661 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7663 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7666 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7667 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7669 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7672 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7673 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7675 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7677 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7678 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7679 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7682 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7684 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7686 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7687 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7688 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7691 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7696 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7697 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7699 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7700 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7702 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7706 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7707 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7708 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7709 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7710 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7711 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7712 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7713 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7714 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7715 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7716 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7718 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7719 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7721 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7722 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7724 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7725 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7726 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7727 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7728 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7729 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7730 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7732 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7734 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7736 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7738 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7739 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7740 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7741 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7743 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7744 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7745 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7746 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7748 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7750 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7751 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7752 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7753 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7754 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7755 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7757 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7760 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7761 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7762 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7764 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7766 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7767 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7768 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7770 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7771 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7772 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7773 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7774 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7775 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7776 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7778 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7779 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7780 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7781 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7782 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7784 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7785 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7786 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7787 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7788 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7789 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7790 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7791 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7792 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7793 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7795 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7796 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7798 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7799 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7801 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7802 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7803 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7804 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7805 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7806 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7807 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7808 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7809 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7810 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7811 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7814 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7816 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7818 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7820 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7832 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7833 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7834 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7837 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7838 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7839 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7840 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7841 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7842 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7843 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7844 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7845 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7846 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7848 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7849 that was previously under [RESET_PID].
7850 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7851 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7852 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7854 * sysdeps/i386/nptl/Implies: New file.
7855 * sysdeps/x86_64/nptl/Implies: New file.
7856 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7857 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7858 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7859 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7861 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7862 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7863 (__libc_vfork): New strong alias.
7864 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7865 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7867 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7868 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7869 (__libc_vfork): New strong alias.
7870 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7871 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7873 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7874 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7875 (__libc_vfork): New strong alias.
7876 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7877 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7878 * nptl/pt-vfork.c: New file.
7879 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7880 (libpthread: GLIBC_2.20): New version set (empty).
7882 2014-05-14 Will Newton <will.newton@linaro.org>
7884 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7887 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7890 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7891 arguments with exponent 65 or above.
7892 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7893 arguments 0x1p113L or above.
7894 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7895 to arguments 0x1p107L or above.
7896 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7897 positive arguments with exponent 65 or above.
7898 * math/auto-libm-test-in: Add more tests of log1p.
7899 * math/auto-libm-test-out: Regenerated.
7902 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7903 non-finite arguments is +0.
7904 * math/s_cacosf.c (__cacosf): Likewise.
7905 * math/s_cacosl.c (__cacosl): Likewise.
7906 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7907 * sysdeps/i386/fpu/libm-test-ulps: Update.
7908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7911 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7913 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7914 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7916 for explicit high bit of mantissa when testing for argument equal
7918 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7919 * sysdeps/i386/fpu/libm-test-ulps: Update.
7920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7923 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7924 (__erf): Scale by 16 instead of 8 in potentially underflowing
7925 case. Ensure exception if result actually underflows.
7926 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7927 (__erff): Scale by 16 instead of 8 in potentially underflowing
7928 case. Ensure exception if result actually underflows.
7929 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7930 (efx8): Remove variable.
7931 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7932 case. Ensure exception if result actually underflows.
7933 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7934 (efx8): Remove variable.
7935 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7936 case. Ensure exception if result actually underflows.
7937 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7938 (efx8): Remove variable.
7939 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7940 case. Ensure exception if result actually underflows.
7941 * math/auto-libm-test-in: Add more tests of erf.
7942 * math/auto-libm-test-out: Regenerated.
7944 2014-05-14 Andreas Schwab <schwab@suse.de>
7946 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7947 Remove code conditionalized on USE___THREAD.
7949 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7950 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7953 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7955 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7956 Define unconditionally.
7957 (__ASSUME_O_CLOEXEC): Likewise.
7958 (__ASSUME_SOCK_CLOEXEC): Likewise.
7959 (__ASSUME_IN_NONBLOCK): Likewise.
7960 (__ASSUME_PIPE2): Likewise.
7961 (__ASSUME_EVENTFD2): Likewise.
7962 (__ASSUME_SIGNALFD4): Likewise.
7963 (__ASSUME_DUP3): Likewise.
7964 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7965 (__ASSUME_DUP3): Do not define.
7966 (__ASSUME_EVENTFD2): Likewise.
7967 (__ASSUME_IN_NONBLOCK): Likewise.
7968 (__ASSUME_O_CLOEXEC): Likewise.
7969 (__ASSUME_PIPE2): Likewise.
7970 (__ASSUME_SIGNALFD4): Likewise.
7971 (__ASSUME_SOCK_CLOEXEC): Likewise.
7972 (__ASSUME_UTIMES): Undefine.
7973 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7974 (__ASSUME_UTIMES): Do not define.
7975 (__ASSUME_O_CLOEXEC): Likewise.
7976 (__ASSUME_SOCK_CLOEXEC): Likewise.
7977 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7978 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7980 (__ASSUME_PIPE2): Likewise.
7981 (__ASSUME_EVENTFD2): Likewise.
7982 (__ASSUME_SIGNALFD4): Likewise.
7983 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7984 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7986 (__ASSUME_EVENTFD2): Likewise.
7987 (__ASSUME_SIGNALFD4): Likewise.
7988 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7989 (__ASSUME_32BITUIDS): Likewise.
7990 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7991 (__ASSUME_IPC64): Likewise.
7992 (__ASSUME_ST_INO_64_BIT): Likewise.
7993 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7994 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7995 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7996 (__ASSUME_UTIMES): Do not define.
7997 (__ASSUME_PSELECT): Likewise.
7998 (__ASSUME_PPOLL): Likewise.
7999 (__ASSUME_O_CLOEXEC): Likewise.
8000 (__ASSUME_SOCK_CLOEXEC): Likewise.
8001 (__ASSUME_IN_NONBLOCK): Likewise.
8002 (__ASSUME_PIPE2): Likewise.
8003 (__ASSUME_EVENTFD2): Likewise.
8004 (__ASSUME_SIGNALFD4): Likewise.
8005 (__ASSUME_DUP3): Likewise.
8006 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8007 (__ASSUME_UTIMES): Likewise.
8008 (__ASSUME_O_CLOEXEC): Likewise.
8009 (__ASSUME_SOCK_CLOEXEC): Likewise.
8010 (__ASSUME_IN_NONBLOCK): Likewise.
8011 (__ASSUME_PIPE2): Likewise.
8012 (__ASSUME_EVENTFD2): Likewise.
8013 (__ASSUME_SIGNALFD4): Likewise.
8014 (__ASSUME_DUP3): Likewise.
8015 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8016 (__ASSUME_UTIMES): Likewise.
8017 (__ASSUME_O_CLOEXEC): Likewise.
8018 (__ASSUME_SOCK_CLOEXEC): Likewise.
8019 (__ASSUME_IN_NONBLOCK): Likewise.
8020 (__ASSUME_PIPE2): Likewise.
8021 (__ASSUME_EVENTFD2): Likewise.
8022 (__ASSUME_SIGNALFD4): Likewise.
8023 (__ASSUME_DUP3): Likewise.
8024 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8026 (__ASSUME_UTIMES): Likewise.
8027 (__ASSUME_EVENTFD2): Likewise.
8028 (__ASSUME_SIGNALFD4): Likewise.
8029 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8030 (__ASSUME_O_CLOEXEC): Likewise.
8031 (__ASSUME_SOCK_CLOEXEC): Likewise.
8032 (__ASSUME_IN_NONBLOCK): Likewise.
8033 (__ASSUME_PIPE2): Likewise.
8034 (__ASSUME_EVENTFD2): Likewise.
8035 (__ASSUME_SIGNALFD4): Likewise.
8036 (__ASSUME_DUP3): Likewise.
8037 (__ASSUME_UTIMES): Undefine.
8039 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8040 feclearexcept. Remove symbol versioning code.
8041 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8042 symbol versioning code.
8043 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8044 symbol versioning code.
8045 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8046 feupdateenv. Remove symbol versioning code.
8047 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8048 fegetexceptflag. Remove symbol versioning code.
8049 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8050 fesetexceptflag. Remove symbol versioning code.
8051 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8052 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8053 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8054 (__posix_fadvise64_l32): Remove prototype.
8055 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8058 2014-05-13 Roland McGrath <roland@hack.frob.com>
8060 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8061 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8062 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8063 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8065 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8067 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8068 current working directory
8070 2014-05-13 Roland McGrath <roland@hack.frob.com>
8072 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8073 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8074 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8075 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8076 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8077 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8078 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8079 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8080 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8081 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8087 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8093 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8097 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8098 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8099 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8101 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8102 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8103 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8104 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8105 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8106 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8107 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8108 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8109 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8110 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8111 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8112 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8113 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8115 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8116 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8118 * sysdeps/unix/sysv/linux/arm/Makefile
8119 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8120 Add rt-aeabi_unwind_cpp_pr1.
8121 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8122 Add nptl-aeabi_unwind_cpp_pr1.
8123 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8124 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8125 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8126 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8127 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8128 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8130 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8131 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8132 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8133 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8135 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8136 Deconditionalize the code that was previously under [RESET_PID].
8137 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8139 * sysdeps/generic/exit-thread.h: New file.
8140 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8141 * include/unistd.h (__exit_thread): Remove declaration.
8142 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8143 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8144 * csu/libc-start.c: Include <exit-thread.h>.
8145 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8146 * nptl/pthread_create.c: Include <exit-thread.h>.
8147 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8148 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8149 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8150 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8151 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8152 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8153 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8154 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8155 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8156 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8157 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8158 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8159 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8160 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8161 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8162 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8163 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8165 2014-05-13 Andreas Schwab <schwab@suse.de>
8167 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8169 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8171 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8172 (__ASSUME_UTIMES): Do not condition on kernel version.
8173 (__ASSUME_PSELECT): Define unconditionally.
8174 (__ASSUME_PPOLL): Likewise.
8175 (__ASSUME_ATFCTS): Likewise.
8176 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8177 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8178 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8179 (__ASSUME_UTIMENSAT): Define unconditionally.
8180 (__ASSUME_PRIVATE_FUTEX): Likewise.
8181 (__ASSUME_FALLOCATE): Likewise.
8182 (__ASSUME_O_CLOEXEC): Likewise.
8183 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8184 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8185 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8186 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8187 (__ASSUME_IN_NONBLOCK): Likewise.
8188 (__ASSUME_PIPE2): Likewise.
8189 (__ASSUME_EVENTFD2): Likewise.
8190 (__ASSUME_SIGNALFD4): Likewise.
8191 (__ASSUME_DUP3): Likewise.
8192 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8193 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8194 (__ASSUME_AT_RANDOM): Likewise.
8195 (__ASSUME_PREADV): Likewise.
8196 (__ASSUME_PWRITEV): Likewise.
8197 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8198 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8199 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8200 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8201 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8202 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8203 (__ASSUME_O_CLOEXEC): Define unconditionally.
8204 (__ASSUME_PSELECT): Do not undefine conditionally.
8205 (__ASSUME_PPOLL): Likewise.
8206 (__ASSUME_ATFCTS): Likewise.
8207 (__ASSUME_SET_ROBUST_LIST): Likewise.
8208 (__ASSUME_UTIMENSAT): Likewise.
8209 (__ASSUME_FDATASYNC): Define unconditionally.
8210 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8211 (__ASSUME_SIGFRAME_V2): Likewise.
8212 )__ASSUME_EVENTFD2): Likewise.
8213 (__ASSUME_SIGNALFD4): Likewise.
8214 (__ASSUME_PSELECT): Do not undefine conditionally.
8215 (__ASSUME_PPOLL): Likewise.
8216 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8217 (__ASSUME_PSELECT): Define unconditionally.
8218 (__ASSUME_PPOLL): Likewise.
8219 (__ASSUME_O_CLOEXEC): Likewise.
8220 (__ASSUME_SOCK_CLOEXEC): Likewise.
8221 (__ASSUME_IN_NONBLOCK): Likewise.
8222 (__ASSUME_PIPE2): Likewise.
8223 (__ASSUME_EVENTFD2): Likewise.
8224 (__ASSUME_SIGNALFD4): Likewise.
8225 (__ASSUME_DUP3): Likewise.
8226 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8227 (__ASSUME_O_CLOEXEC): Likewise.
8228 (__ASSUME_SOCK_CLOEXEC): Likewise.
8229 (__ASSUME_IN_NONBLOCK): Likewise.
8230 (__ASSUME_PIPE2): Likewise.
8231 (__ASSUME_EVENTFD2): Likewise.
8232 (__ASSUME_SIGNALFD4): Likewise.
8233 (__ASSUME_DUP3): Likewise.
8234 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8235 (__ASSUME_EVENTFD2): Likewise.
8236 (__ASSUME_SIGNALFD4): Likewise.
8237 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8239 2014-05-12 Andreas Schwab <schwab@suse.de>
8242 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8243 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8244 than maximum RPC packet size.
8245 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8246 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8247 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8248 (_nss_nis_getservbyport_r): Likewise.
8250 2014-05-12 Will Newton <will.newton@linaro.org>
8252 * malloc/Makefile (tests): Add tst-mallopt.
8253 * malloc/tst-mallopt.c: New file.
8255 2014-05-09 Roland McGrath <roland@hack.frob.com>
8257 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8258 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8260 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8262 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8263 (tst-tlsmod6.so): Likewise.
8265 2014-05-09 Roland McGrath <roland@hack.frob.com>
8267 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8269 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8272 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8273 and <dl-procinfo.h>.
8274 (__fegetenv): Save SSE state in envp->__eip if supported.
8275 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8276 envp->__eip if supported.
8277 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8278 and <dl-procinfo.h>.
8279 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8280 __data_offset and __data_selector in environment to 0. Set SSE
8282 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8284 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8286 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8288 2014-05-09 Will Newton <will.newton@linaro.org>
8290 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8291 and libc_relro_required for ARM.
8292 * sysdeps/arm/preconfigure: Regenerate.
8294 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8295 Stefan Liebler <stli@linux.vnet.ibm.com>
8297 * config.make.in (enable-lock-elision): New Makefile variable.
8298 * configure.ac: Likewise.
8299 * configure: Regenerate.
8300 * sysdeps/s390/configure.ac:
8301 Add check for gcc transactions support.
8302 * sysdeps/s390/configure: Regenerate.
8303 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8304 Build elision files if enabled.
8305 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8306 Add lock elision support for s390.
8307 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8308 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8309 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8310 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8311 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8312 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8313 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8315 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8317 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8319 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8321 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8322 (__lll_timedlock_elision, __lll_lock_elision)
8323 (__lll_unlock_elision, __lll_trylock_elision)
8324 (lll_timedlock_elision, lll_lock_elision)
8325 (lll_unlock_elision, lll_trylock_elision): Add.
8326 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8327 (pthread_mutex_t): Add lock elision support for s390.
8329 2014-05-14 Wilco <wdijkstr@arm.com>
8331 * sysdeps/arm/fclrexcpt.c: Cleanup.
8332 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8333 * sysdeps/arm/feenablxcpt.c: Cleanup.
8334 * sysdeps/arm/fegetenv.c: Cleanup.
8335 * sysdeps/arm/fegetexcept.c: Cleanup.
8336 * sysdeps/arm/fegetround.c: Cleanup.
8337 * sysdeps/arm/feholdexcpt.c: Cleanup.
8338 * sysdeps/arm/fesetenv.c: Cleanup.
8339 * sysdeps/arm/fesetround.c: Cleanup.
8340 * sysdeps/arm/feupdateenv.c: Cleanup.
8341 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8342 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8343 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8344 * sysdeps/arm/ftestexcept.c: Cleanup.
8345 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8346 * sysdeps/arm/setfpucw.c: Cleanup.
8348 2014-05-09 Will Newton <will.newton@linaro.org>
8350 * sysdeps/arm/armv7/strcmp.S: New file.
8351 * NEWS: Mention addition of ARMv7 optimized strcmp.
8353 2014-05-08 Roland McGrath <roland@hack.frob.com>
8355 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8356 look for %.ac rather than %.in.
8358 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8359 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8360 * sysdeps/mach/hurd/configure: Regenerated.
8361 * sysdeps/unix/sysv/linux/configure: Regenerated.
8363 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8365 2014-05-07 Steve Ellcey <sellcey@mips.com>
8368 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8372 2014-05-07 Andreas Schwab <schwab@suse.de>
8374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8375 when skipping over non-matching result from nscd.
8377 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8380 * nptl/sockperf.c (client): Check socket return value.
8383 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8384 nscd security class.
8386 2014-05-06 Roland McGrath <roland@hack.frob.com>
8388 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8389 * sysdeps/arm/unwind.h: ... here.
8391 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8394 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8397 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8399 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8400 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8401 multiarch strncpy for PPC64.
8402 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8403 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8405 multiarch optimizations.
8406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8407 (__libc_ifunc_impl_list): Likewise.
8408 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8409 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8410 multiarch stpncpy for PPC64.
8411 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8412 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8414 2014-05-06 Andreas Schwab <schwab@suse.de>
8417 * gmon/mcount.c (_MCOUNT_DECL): Use
8418 atomic_compare_and_exchange_bool_acq instead of
8419 catomic_compare_and_exchange_bool_acq.
8421 2014-05-05 Roland McGrath <roland@hack.frob.com>
8423 * elf/Makefile (others, install-bin): Remove pldd.
8424 (pldd-modules): Variable removed.
8425 ($(objpfx)pldd): Target removed.
8426 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8427 (others, install-bin): Append pldd here.
8428 ($(objpfx)pldd): New target.
8430 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8431 to 0, so the first #if test emitted later doesn't see it undefined.
8432 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8433 * sysdeps/gnu/errlist.c: Regenerated.
8435 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8437 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8438 [libc_hidden_builtin_def]: Define to empty value.
8439 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8440 [libc_hidden_builtin_def]: Likewise.
8441 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8442 [libc_hidden_builtin_def]: Likewise.
8443 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8444 [libc_hidden_builtin_def]: Likewise.
8445 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8446 __redirect_memcpy and define ifunc as default hidden symbol.
8447 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8448 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8450 2014-05-04 Adam Conrad <adconrad@0c3.net>
8452 * locale/iso-4217.def: Reintroduce XDR currency.
8454 2014-05-04 Allan McRae <allan@archlinux.org>
8456 * po/eo.po: Update Esperanto translation from translation project.
8458 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8460 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8461 and FEATURE_INDEX_MAX to 1.
8462 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8464 2014-05-01 Steve Ellcey <sellcey@mips.com>
8466 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8467 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8468 * iconvdata/big5.c (ONE_DIRECTION): Define.
8469 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8470 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8471 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8472 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8473 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8474 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8475 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8476 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8477 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8478 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8479 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8480 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8481 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8482 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8483 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8484 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8485 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8486 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8487 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8488 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8489 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8490 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8491 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8492 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8493 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8494 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8495 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8496 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8497 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8498 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8499 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8500 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8501 * iconvdata/johab.c (ONE_DIRECTION): Define.
8502 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8503 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8504 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8505 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8506 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8507 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8508 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8509 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8510 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8511 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8513 2014-05-01 Roland McGrath <roland@hack.frob.com>
8515 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8516 (_IO_JUMPS_OFFSET): Define to 0.
8518 * nptl/sysdeps/pthread/bits/libc-lock.h
8519 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8520 (__libc_lock_define_initialized_recursive): Always define using
8521 initializer. Modern compilers treat uninitialized (implicit zero) and
8522 explicit zero initializers the same (i.e. put the datum in bss).
8524 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8526 * nscd/nscd-client.h: Include <string.h>.
8528 2014-05-01 David S. Miller <davem@davemloft.net>
8531 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8532 multiple zero bytes exist at the end of a string.
8533 Reported by Aurelien Jarno <aurelien@aurel32.net>
8535 * string/test-strcmp.c (check): Add explicit test for situations where
8536 there are multiple zero bytes after the first.
8538 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8541 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8542 when compiling wprintf.
8543 * stdio-common/tstdiomisc.c (t3): New function.
8546 2014-05-01 Steve Ellcey <sellcey@mips.com>
8548 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8549 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8550 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8551 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8553 2014-05-01 Steve Ellcey <sellcey@mips.com>
8555 * stdlib/longlong.h: Updated from GCC.
8557 2014-05-01 Will Newton <will.newton@linaro.org>
8558 Bernard Ogden <bernie.ogden@linaro.org>
8560 * NEWS: Update fixed bug list.
8563 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8565 2014-04-30 David S. Miller <davem@davemloft.net>
8567 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8568 (libc_feholdexcept_setround_sparc_ctx): New function.
8569 (libc_fesetenv_sparc_ctx): Likewise.
8570 (libc_feupdateenv_sparc_ctx): Likewise.
8571 (libc_feholdsetround_sparc_ctx): Likewise.
8572 (libc_feholdexcept_setround_ctx): Define.
8573 (libc_feholdexcept_setroundf_ctx): Likewise.
8574 (libc_feholdexcept_setroundl_ctx): Likewise.
8575 (libc_fesetenv_ctx): Likewise.
8576 (libc_fesetenvf_ctx): Likewise.
8577 (libc_fesetenvl_ctx): Likewise.
8578 (libc_feupdateenv_ctx): Likewise.
8579 (libc_feupdateenvf_ctx): Likewise.
8580 (libc_feupdateenvl_ctx): Likewise.
8581 (libc_feresetround_ctx): Likewise.
8582 (libc_feresetroundf_ctx): Likewise.
8583 (libc_feresetroundl_ctx): Likewise.
8584 (libc_feholdsetround_ctx): Likewise.
8585 (libc_feholdsetroundf_ctx): Likewise.
8586 (libc_feholdsetroundl_ctx): Likewise.
8588 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8589 with __USE_GNU instead of XOPEN cpp guards.
8591 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8594 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8595 with XOPEN cpp guards.
8597 2014-04-30 Julian Brown <julian@codesourcery.com>
8600 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8603 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8606 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8608 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8609 * sysdeps/unix/sysv/linux/configure: Regenerated.
8610 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8611 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8612 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8613 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8614 * README: Update reference to required Linux kernel version.
8615 * manual/install.texi (Linux): Update reference to required Linux
8616 kernel headers version.
8617 * INSTALL: Regenerated.
8619 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8621 [POSIX] (limits.h): Likewise.
8622 [POSIX] (math.h): Likewise.
8623 [POSIX] (sys/wait.h): Likewise.
8624 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8626 [POSIX] (stddef.h): Do not allow header inclusion.
8628 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8630 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8632 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8634 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8635 Return immediately after lll_futex_wake.
8637 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8640 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8642 (datahead_init_pos): Call datahead_init_common early.
8643 (datahead_init_neg): Likewise.
8645 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8646 datahead_init_neg): New functions.
8647 * nscd/aicache.c (addhstaiX): Use them.
8648 * nscd/grpcache.c (cache_addgr): Likewise.
8649 * nscd/hstcache.c (cache_addhst): Likewise.
8650 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8651 * nscd/netgroupcache.c (do_notfound): Likewise.
8652 (addgetnetgrentX): Likewise.
8653 (addinnetgrX): Likewise.
8654 * nscd/pwdcache.c (cache_addpw): Likewise.
8655 * nscd/servicescache.c (cache_addserv): Likewise.
8657 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8658 Atsushi Onoe <atsushi@onoe.org>
8663 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8664 one response is valid.
8665 * resolv/res_send.c (send_dg): Check for validity of other
8666 response if the current response is a referral.
8668 2014-04-29 Steve Ellcey <sellcey@mips.com>
8670 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8672 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8675 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8676 Always divide by positive zero when computing -Inf result.
8677 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8678 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8680 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8682 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8683 FPSCR if value do not change.
8684 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8685 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8686 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8687 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8688 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8689 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8692 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8694 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8695 * sysdeps/unix/sysv/linux/hppa: Move directory from
8696 ports/systeps/unix/sysv/linux/hppa.
8697 * README: Update listing for hppa-*-linux-gnu.
8699 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8702 * manual/stdio.texi (Hook functions): Fix types of stream hook
8705 * socket/sys/socket.h: Fix typo in comment.
8707 2014-04-28 Wilco <wdijkstr@arm.com>
8709 * sysdeps/arm/fenv_private.h: New file.
8710 * sysdeps/arm/math_private.h: New file.
8711 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8713 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8715 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8717 (La_x86_64_retval): Likewise.
8719 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8721 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8722 fpsr if value didn't change.
8723 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8724 to fpcr if value didn't change.
8725 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8726 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8727 fpsr or fpcr if value didn't change.
8728 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8729 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8730 fpcr if value didn't change.
8731 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8732 to fpsr if value didn't change.
8734 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 * nptl/tst-sem3.c: Use test-skeleton.c
8737 (main): Rename to do_test. Use return instead of
8739 * nptl/tst-sem4.c: Use test-skeleton.c
8740 (main): Rename to do_test.
8742 2014-04-22 David S. Miller <davem@davemloft.net>
8744 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8745 (struct sigaction): New struct member __glibc_reserved0, change
8746 type of sa_flags to int.
8748 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8750 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8751 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8753 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8755 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8756 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8758 2014-04-22 Will Newton <will.newton@linaro.org>
8759 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8761 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8762 (__longjmp): Add longjmp and longjmp_target SystemTap
8764 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8765 (__sigsetjmp): Add setjmp SystemTap probe.
8767 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8769 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8772 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8774 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8776 * sysdeps/powerpc/fpu/fenv_private.h
8777 (libc_feholdexcept_setroundl_ctx): Define to
8778 libc_feholdexcept_setround_ppc_ctx.
8779 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8780 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8781 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8782 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8784 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8786 * sysdeps/aarch64/math-tests.h: New file.
8788 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8790 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8793 Check and set bit_AVX2_Usable.
8794 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8796 (bit_AVX2): Likewise.
8797 (index_AVX2_Usable): Likewise.
8798 (CPUID_AVX2): Likewise.
8799 (HAS_AVX2): Likewise.
8801 2014-04-17 Will Newton <will.newton@linaro.org>
8803 * manual/setjmp.texi (System V contexts): Add note that
8804 calling setcontext on a context created by a call to a
8805 signal handler is undefined. Update text to note that
8806 setcontext from a signal handler is possible but not
8810 * stdlib/tst-setcontext.c: Include signal.h.
8811 (main): Check that the signal stack before and
8812 after swapcontext is the same.
8814 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8815 Re-implement to restore registers in user code and avoid
8816 rt_sigreturn system call.
8818 2014-04-17 Wilco <wdijkstr@arm.com>
8820 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8821 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8822 * math/test-fenv.c: Skip exception trap tests on targets which only
8823 support non-stop mode.
8825 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8826 Wilco Dijkstra <wilco.dijkstra@arm.com>
8828 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8829 (libc_feholdsetround_aarch64_ctx)
8830 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8831 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8832 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8833 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8834 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8835 (libc_feresetround_noexl_ctx): Define.
8837 2014-04-16 Richard Henderson <rth@redhat.com>
8839 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8841 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8844 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8845 const from the non-libc, non-ldso copy.
8847 * sysdeps/alpha/libm-test-ulps: Regenerate.
8849 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8850 Wilco Dijkstra <wilco.dijkstra@arm.com>
8852 * sysdeps/aarch64/fpu/math_private.h: New file.
8854 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8856 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8858 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8861 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8862 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8864 Intel MPX bound registers before _dl_profile_fixup.
8865 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8866 registers after _dl_profile_fixup. Save and restore bound
8867 registers bnd0/bnd1 when calling _dl_call_pltexit.
8868 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8869 (LR_BND_OFFSET): Likewise.
8870 (LRV_BND0_OFFSET): Likewise.
8871 (LRV_BND1_OFFSET): Likewise.
8873 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8875 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8877 * sysdeps/mach/hurd/i386/tls.h: ... here.
8878 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8879 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8882 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8884 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8886 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8888 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8890 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8893 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8894 * sysdeps/s390/configure: Regenerate.
8897 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8898 Set round-to-nearest internally to reduce error accumulation.
8900 2014-04-16 Alan Modra <amodra@gmail.com>
8904 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8905 * math/libm-test.inc (frexp_test_data): Add tests.
8906 * NEWS: Update fixed bug list.
8908 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8910 * benchtests/Makefile: Depend on libraries in build directory.
8911 (bench-math): Separate out math tests.
8912 (bench-pthread): Separate out pthread tests.
8913 (bench): Include math and pthread tests.
8915 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8918 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8919 _dl_debug_initialize.
8921 * configure.ac: Remove SELinux header check.
8922 * configure: Regenerate.
8923 * nscd/selinux.c (perms): Array of const char* to permission names.
8924 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8925 default policy. Call string_to_security_class and string_to_av_perm to
8926 translate strings. Enforce default policy and call avs_has_perm with
8927 results of translated strings.
8929 2014-04-13 David S. Miller <davem@davemloft.net>
8931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8933 2014-04-12 Allan McRae <allan@archlinux.org>
8936 * manual/string.texi (Collation Functions): Fix qsort argument
8938 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8940 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8942 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8943 Make the test a no-op if there are no exceptions defined.
8945 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8947 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8948 enable-hardcoded-path-in-tests
8950 2014-04-11 Will Newton <will.newton@linaro.org>
8952 * benchtests/Makefile (extra-objs): Add json-lib.o.
8953 (bench-func): Tidy up JSON output.
8954 * benchtests/bench-skeleton.c: Include json-lib.h.
8955 (main): Use JSON library functions to do output of
8957 * benchtests/bench-timing-type.c (main): Output the
8958 timing type simply, leaving formatting to the user.
8959 * benchtests/json-lib.c: New file.
8960 * benchtests/json-lib.h: Likewise.
8962 2014-04-11 Torvald Riegel <triegel@redhat.com>
8965 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8966 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8967 memory barriers. Add comments.
8968 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8969 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8970 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8971 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8972 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8973 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8975 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8977 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8978 * sysdeps/s390/s390-64/configure.ac: ... this ...
8979 * sysdeps/s390/configure.ac: ... to here.
8980 * sysdeps/s390/s390-32/configure: Delete file.
8981 * sysdeps/s390/s390-64/configure: Delete file.
8982 * sysdeps/s390/configure: Regenerate.
8984 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8986 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8988 2014-04-11 Will Newton <will.newton@linaro.org>
8990 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8991 to zero if it is not defined elsewhere. (mtrim): Test
8992 the value of MALLOC_DEBUG with #if rather than #ifdef.
8994 2014-04-10 Torvald Riegel <triegel@redhat.com>
8996 * benchtests/pthread_once-inputs: New file.
8997 * benchtests/pthread_once-source.c: New file.
8998 * benchtests/README: Update documentation.
9000 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9001 H.J. Lu <hongjiu.lu@intel.com>
9004 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9005 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9006 * sysdeps/x86_64/configure: Regenerated.
9007 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9009 (REGISTER_SAVE_RAX): Likewise.
9010 (REGISTER_SAVE_RCX): Likewise.
9011 (REGISTER_SAVE_RDX): Likewise.
9012 (REGISTER_SAVE_RSI): Likewise.
9013 (REGISTER_SAVE_RDI): Likewise.
9014 (REGISTER_SAVE_R8): Likewise.
9015 (REGISTER_SAVE_R9): Likewise.
9016 (REGISTER_SAVE_BND0): Likewise.
9017 (REGISTER_SAVE_BND1): Likewise.
9018 (REGISTER_SAVE_BND2): Likewise.
9019 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9020 bound registers when calling _dl_fixup.
9022 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9024 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9025 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9027 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9028 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9029 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9030 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9031 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9032 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9033 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9035 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9038 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9039 pathconf(_PC_NAME_MAX).
9041 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9043 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9045 (__PTHREAD_SPINS): Move definition to ...
9046 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9047 (__PTHREAD_SPINS): ... here.
9048 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9049 (__PTHREAD_SPIN): Likewise.
9050 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9051 (__PTHREAD_SPIN): Likewise.
9052 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9053 (__PTHREAD_SPIN): Likewise.
9054 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9055 (__PTHREAD_SPIN): Likewise.
9056 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9057 (__PTHREAD_SPIN): Likewise.
9058 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9059 (__PTHREAD_SPIN): Likewise.
9060 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9061 (__PTHREAD_SPIN): Likewise.
9062 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9063 (__PTHREAD_SPIN): Likewise.
9064 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9065 (__PTHREAD_SPIN): Likewise.
9066 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9067 (__PTHREAD_SPIN): Likewise.
9068 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9069 (__PTHREAD_SPIN): Likewise.
9070 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9071 (__PTHREAD_SPIN): Likewise.
9073 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9074 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9075 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9076 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9078 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9079 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9080 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9081 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9083 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9084 strlen symbol for non multi-arch builds.
9085 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9086 missing hidden_def and weak_alias.
9088 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9090 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9092 2014-04-07 Will Newton <will.newton@linaro.org>
9094 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9095 and contents. [!_LIBC] Remove #ifndef and contents.
9096 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9097 * string/memccpy.c (__memccpy): Use ANSI prototype.
9098 * string/memfrob.c (memfrob): Likewise.
9099 * string/strcoll.c (STRCOLL): Likewise.
9100 * string/strlen.c (strlen): Likewise.
9101 * string/strtok.c (STRTOK): Likewise.
9102 * string/strcat.c: Remove unused #include of memcopy.h.
9103 (strcat): Use ANSI prototype.
9104 * string/strchr.c: Remove unused #include of memcopy.h.
9105 (strchr): Use ANSI prototype.
9106 * string/strcmp.c: Remove unused #include of memcopy.h.
9107 (strcmp): Use ANSI prototype.
9108 * string/strcpy.c: Remove unused #include of memcopy.h.
9109 (strcpy): Use ANSI prototype.
9111 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9113 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9114 * config.make.in (config-extra-cppflags): Set it from
9115 libc_extra_cppflags.
9116 * configure.ac (libc_extra_cflags): Make it accumulate over
9117 configure fragments.
9118 (libc_extra_cppflags): New flag.
9119 * configure. Regenerate.
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9121 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9122 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9126 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9127 result for FE_DOWNWARD rounding mode.
9128 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9132 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9134 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9135 in function argument name.
9137 2014-04-03 David Svoboda <svoboda@cert.org>
9140 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9143 2014-04-03 Roland McGrath <roland@hack.frob.com>
9145 * elf/dl-unmap-segments.h: New file.
9146 * sysdeps/generic/ldsodefs.h
9147 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9148 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9149 * elf/dl-fptr.c: Likewise.
9150 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9151 * sysdeps/aarch64/tlsdesc.c: Likewise.
9152 * sysdeps/arm/tlsdesc.c: Likewise.
9153 * sysdeps/i386/tlsdesc.c: Likewise.
9154 * sysdeps/tile/dl-runtime.c: Likewise.
9155 * sysdeps/x86_64/tlsdesc.c: Likewise.
9156 * elf/dl-load.h: New file.
9157 * elf/dl-load.c: Include it.
9158 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9159 Macros moved to dl-load.h.
9160 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9161 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9162 Use _dl_unmap_segments in place of __munmap.
9163 Break out segment-mapping loop into ...
9164 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9166 2014-04-03 Will Newton <will.newton@linaro.org>
9168 * elf/dl-lookup.c (do_lookup_x): Remove comment
9169 referring to nested function and move variable
9170 declarations down to before first use.
9172 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9176 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9178 * math/s_catanf.c (__catanf): Likewise.
9179 * math/s_catanh.c (__catanh): Likewise.
9180 * math/s_catanhf.c (__catanhf): Likewise.
9181 * math/s_catanhl.c (__catanhl): Likewise.
9182 * math/s_catanl.c (__catanl): Likewise.
9183 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9184 by positive zero when computing -Inf result.
9185 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9186 (catanh_test): Likewise.
9187 * sysdeps/i386/fpu/libm-test-ulps: Update.
9188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9191 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9192 instead of using underflowing value in computing result.
9193 * math/s_clog10.c (__clog10): Likewise.
9194 * math/s_clog10f.c (__clog10f): Likewise.
9195 * math/s_clog10l.c (__clog10l): Likewise.
9196 * math/s_clogf.c (__clogf): Likewise.
9197 * math/s_clogl.c (__clogl): Likewise.
9198 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9199 (clog10_test): Likewise.
9200 * sysdeps/i386/fpu/libm-test-ulps: Update.
9201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9203 2014-04-02 Alan Modra <amodra@gmail.com>
9206 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9207 output when value is near a power of two. Use int64_t for lx and
9208 remove casts. Use decimal rather than hex exponent constants.
9209 Don't use long double multiplication when double will suffice.
9210 * math/libm-test.inc (nextafter_test_data): Add tests.
9211 * NEWS: Add 16739 and 16786 to bug list.
9213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9215 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9217 2014-04-01 Will Newton <will.newton@linaro.org>
9219 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9220 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9222 2014-04-01 Florian Weimer <fweimer@redhat.com>
9225 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9226 * nptl/tst-setuid2.c: New file.
9227 * nptl/Makefile (xtests): Add tst-setuid2.
9229 2014-04-01 Alan Modra <amodra@gmail.com>
9232 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9234 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9238 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9239 set errno as appropriate.
9240 * math/w_scalbf.c (__scalbf): Likewise.
9241 * math/w_scalbl.c (__scalbl): Likewise.
9242 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9243 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9244 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9248 * math/w_atan2.c: Include <errno.h>.
9249 (__atan2): Set errno for result underflowing to zero.
9250 * math/w_atan2f.c: Include <errno.h>.
9251 (__atan2f): Set errno for result underflowing to zero.
9252 * math/w_atan2l.c: Include <errno.h>.
9253 (__atan2l): Set errno for result underflowing to zero.
9254 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9256 * math/auto-libm-test-out: Regenerated.
9258 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9260 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9261 Encode instruction correctly in little endian.
9262 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9264 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9266 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9268 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9271 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9274 * sysdeps/unix/sysv/linux/kernel-features.h
9275 [__sparc__ && !__arch64__ && !__sparc_v9__]
9276 (__ASSUME_SET_ROBUST_LIST): Do not define.
9277 [__sparc__ && !__arch64__ && !__sparc_v9__]
9278 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9279 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9281 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9282 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9283 (__ASSUME_REQUEUE_PI): Likewise.
9284 (__ASSUME_SET_ROBUST_LIST): Likewise.
9285 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9286 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9288 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9289 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9291 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9293 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9295 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9296 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9298 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9299 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9303 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9304 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9305 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9307 2014-03-31 Will Newton <will.newton@linaro.org>
9309 * benchtests/Makefile (bench): Add ffs and ffsll to list
9311 * benchtests/ffs-inputs: New file.
9312 * benchtests/ffsll-inputs: Likewise.
9314 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9317 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9318 too large before casting to int.
9319 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9320 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9321 * math/libm-test.inc (scalb_test_data): Add more tests.
9323 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9325 * benchtests/Makefile (DETAILED_OPT): New make option.
9326 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9328 * benchtests/bench-skeleton.c: Include stdbool.h.
9329 (main): Store and print timings per input.
9330 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9331 member to each argument value.
9332 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9333 (_print_arg_data): Initialize per-input timing to 0.
9335 * benchtests/Makefile (timing-type): New binary.
9336 (bench-clean): Also remove bench-timing-type.
9337 (bench): New target for timing-type.
9338 (bench-func): Print output in JSON format.
9339 * benchtests/bench-skeleton.c (main): Print output in JSON
9341 * benchtests/bench-timing-type.c: New file.
9342 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9343 (TIMING_PRINT_STATS): Remove.
9344 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9347 * benchtests/bench-modf.c: Remove.
9348 * benchtests/modf-inputs: New inputs file.
9350 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9353 * math/s_clog10.c (M_PI_LOG10E): New macro.
9354 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9355 imaginary parts are 0.
9356 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9357 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9358 imaginary parts are 0.
9359 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9360 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9361 imaginary parts are 0.
9362 * math/libm-test.inc (clog10_test_data): Update expected results
9363 for when real and imaginary parts are 0.
9365 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9367 * elf/dl-load.c: Finish conversion of __builtin_expect into
9370 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9374 1+x for argument with exponent below -67.
9375 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9377 * math/auto-libm-test-in: Add more tests of exp.
9378 * math/auto-libm-test-out: Regenerated.
9380 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9383 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9384 (nscd_getnetgrent): Use it.
9387 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9390 2014-03-27 Andi Kleen <ak@linux.intel.com>
9392 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9393 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9394 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9395 (lll_robust_unlock): Remove out of line section. Use cfi
9397 (LLL_STUB_UNWIND_INFO*): Remove.
9398 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9399 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9400 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9401 (lll_robust_unlock): Remove out of line section. Use cfi
9403 (LLL_STUB_UNWIND_INFO*): Remove.
9405 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9408 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9411 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9413 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9415 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9418 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9420 * math/test-fenv-preserve.c: New file.
9421 * math/Makefile (tests): Add test-fenv-preserve.
9423 2014-03-26 Will Newton <will.newton@linaro.org>
9425 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9427 2014-03-25 Roland McGrath <roland@hack.frob.com>
9429 * scripts/versionlist.awk: Partition the version sets and emit all
9430 GLIBC_* (sorted) before all others (sorted).
9432 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9434 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9435 GLIBC_2.2.5 version.
9437 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9439 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9442 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9447 2014-03-25 Andreas Schwab <schwab@suse.de>
9449 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9450 label to be used after in6ailist is initialized.
9452 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9455 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9457 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9461 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9463 (fp_formats): Update initializers.
9464 (init_fp_formats): Initialize new field.
9465 (output_for_one_input_case): Allow underflow for results up to
9467 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9468 * math/auto-libm-test-in: Don't mark some underflows from asin and
9470 * math/auto-libm-test-out: Regenerated.
9471 * sysdeps/i386/fpu/libm-test-ulps: Update.
9472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9474 2014-03-25 Andreas Schwab <schwab@suse.de>
9476 * libio/Makefile (tst-ftell-partial-wide-ENV)
9477 (tst-ftell-active-handler-ENV): Define.
9479 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9481 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9483 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9485 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9487 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9489 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9490 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9491 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9493 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9496 * elf/dl-load.c (open_verify): Add mode parameter.
9497 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9498 (open_path): Change from boolean 'secure' to complete flag 'mode'
9499 (_dl_map_object): Adjust.
9500 * elf/Makefile (tests): Add tst-dlopen-aout.
9501 * elf/tst-dlopen-aout.c: New test.
9503 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9506 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9507 (struct stat): Rename member pad0 to __glibc_reserved0.
9510 * sysdeps/s390/s390-32/bits/wordsize.h
9511 (__WORDSIZE32_SIZE_ULONG): New define.
9512 * sysdeps/s390/s390-64/bits/wordsize.h
9513 (__WORDSIZE32_SIZE_ULONG): Likewise.
9514 * sysdeps/generic/stdint.h (SIZE_MAX):
9515 Define as UL if __WORDSIZE32_SIZE_ULONG.
9518 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9519 (__glibc_reserved0): New variable.
9520 (sa_flags): Change type to int.
9522 * posix/Makefile (before-compile): Use += before-compile instead
9525 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9526 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9528 2014-03-20 Andreas Schwab <schwab@suse.de>
9531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9532 non-matching result from nscd.
9534 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9536 * scripts/bench.py: Moved to ...
9537 * benchtests/scripts/bench.py: ... here.
9538 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9540 2014-03-24 Andreas Schwab <schwab@suse.de>
9543 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9544 alloca_account and account alloca use for struct in6ailist.
9546 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9549 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9550 rounding mode to recompute results that overflow to infinity or
9552 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9554 * math/auto-libm-test-out: Regenerated.
9555 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9556 (ccosh_test): Likewise.
9557 (csin_test_data): Use plus_oflow.
9558 (csin_test): Use ALL_RM_TEST.
9559 (csinh_test_data): Use plus_oflow.
9560 (csinh_test): Use ALL_RM_TEST.
9561 * sysdeps/i386/fpu/libm-test-ulps: Update.
9562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9566 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9567 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9568 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9571 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9573 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9574 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9575 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9576 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9578 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9579 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9581 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9582 * sysdeps/i386/fpu/libm-test-ulps: Update.
9583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9585 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9587 * scripts/bench.pl: Remove file.
9588 * scripts/bench.py: New benchmark script.
9589 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9590 * benchtests/README: Mention python dependency.
9591 * scripts/pylintrc: New file.
9592 * scripts/pylint: New file.
9594 * bits/mathdef.h: Use #ifdef instead of #if.
9595 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9596 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9597 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9598 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9599 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9600 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9602 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9603 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9605 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9607 and strpbrk-ppc64 objects.
9608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9609 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9610 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9611 multiarch strpbrk for POWER7.
9612 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9613 multiarch strpbrk for PPC64.
9614 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9616 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9619 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9621 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9622 (atan_test): Likewise.
9623 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9624 (atanh_test): Use ALL_RM_TEST.
9625 (atan2_test_data): Likewise.
9626 (cabs_test): Likewise.
9627 (cacosh_test): Likewise.
9628 (carg_test): Likewise.
9629 (casin_test): Likewise.
9630 (casinh_test): Likewise.
9631 (cbrt_test): Likewise.
9632 (csqrt_test): Likewise.
9633 (erf_test): Likewise.
9634 (erfc_test): Likewise.
9635 (pow10_test): Likewise.
9636 (exp2_test): Likewise.
9637 (hypot_test): Likewise.
9638 (j0_test): Likewise.
9639 (j1_test): Likewise.
9640 (lgamma_test): Likewise.
9641 (gamma_test): Likewise.
9642 (sincos_test): Likewise.
9643 (tanh_test): Likewise.
9644 (y0_test): Likewise.
9645 (y1_test): Likewise.
9646 * sysdeps/i386/fpu/libm-test-ulps: Update.
9647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9649 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9651 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9653 and strcspn-ppc64 objects.
9654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9655 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9656 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9657 multiarch strcspn for POWER7.
9658 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9659 multiarch strcspn for PPC64.
9660 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9662 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9665 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9667 * math/gen-libm-test.pl (generate_testfile): Expect only function
9668 name as argument to AUTO_TESTS_* and pass results for all rounding
9669 modes to parse_args.
9670 (parse_auto_input): Separate inputs of automatic tests from
9671 outputs before storing in %auto_tests.
9672 * math/libm-test.inc (acos_test_data): Update call to
9674 (acos_test): Use ALL_RM_TEST.
9675 (acos_tonearest_test_data): Remove.
9676 (acos_test_tonearest): Likewise.
9677 (acos_towardzero_test_data): Likewise.
9678 (acos_test_towardzero): Likewise.
9679 (acos_downward_test_data): Likewise.
9680 (acos_test_downward): Likewise.
9681 (acos_upward_test_data): Likewise.
9682 (acos_test_upward): Likewise.
9683 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9684 (asin_test_data): Likewise.
9685 (asin_test): Use ALL_RM_TEST.
9686 (asin_tonearest_test_data): Remove.
9687 (asin_test_tonearest): Likewise.
9688 (asin_towardzero_test_data): Likewise.
9689 (asin_test_towardzero): Likewise.
9690 (asin_downward_test_data): Likewise.
9691 (asin_test_downward): Likewise.
9692 (asin_upward_test_data): Likewise.
9693 (asin_test_upward): Likewise.
9694 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9695 (atan_test_data): Likewise.
9696 (atanh_test_data): Likewise.
9697 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9698 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9699 (carg_test_data): Likewise.
9700 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9701 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9702 (ccosh_test_data): Likewise.
9703 (cexp_test_data): Likewise.
9704 (clog_test_data): Likewise.
9705 (clog10_test_data): Likewise.
9706 (cos_test_data): Update call to AUTO_TESTS_f_f.
9707 (cos_test): Use ALL_RM_TEST.
9708 (cos_tonearest_test_data): Remove.
9709 (cos_test_tonearest): Likewise.
9710 (cos_towardzero_test_data): Likewise.
9711 (cos_test_towardzero): Likewise.
9712 (cos_downward_test_data): Likewise.
9713 (cos_test_downward): Likewise.
9714 (cos_upward_test_data): Likewise.
9715 (cos_test_upward): Likewise.
9716 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9717 (cosh_test): Use ALL_RM_TEST.
9718 (cosh_tonearest_test_data): Remove.
9719 (cosh_test_tonearest): Likewise.
9720 (cosh_towardzero_test_data): Likewise.
9721 (cosh_test_towardzero): Likewise.
9722 (cosh_downward_test_data): Likewise.
9723 (cosh_test_downward): Likewise.
9724 (cosh_upward_test_data): Likewise.
9725 (cosh_test_upward): Likewise.
9726 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9727 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9728 (ctan_test_data): Likewise.
9729 (ctan_test): Use ALL_RM_TEST.
9730 (ctan_tonearest_test_data): Remove.
9731 (ctan_test_tonearest): Likewise.
9732 (ctan_towardzero_test_data): Likewise.
9733 (ctan_test_towardzero): Likewise.
9734 (ctan_downward_test_data): Likewise.
9735 (ctan_test_downward): Likewise.
9736 (ctan_upward_test_data): Likewise.
9737 (ctan_test_upward): Likewise.
9738 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9739 (ctanh_test): Use ALL_RM_TEST.
9740 (ctanh_tonearest_test_data): Remove.
9741 (ctanh_test_tonearest): Likewise.
9742 (ctanh_towardzero_test_data): Likewise.
9743 (ctanh_test_towardzero): Likewise.
9744 (ctanh_downward_test_data): Likewise.
9745 (ctanh_test_downward): Likewise.
9746 (ctanh_upward_test_data): Likewise.
9747 (ctanh_test_upward): Likewise.
9748 (erf_test_data): Update call to AUTO_TESTS_f_f.
9749 (erfc_test_data): Likewise.
9750 (exp_test_data): Likewise.
9751 (exp_test): Use ALL_RM_TEST.
9752 (exp_tonearest_test_data): Remove.
9753 (exp_test_tonearest): Likewise.
9754 (exp_towardzero_test_data): Likewise.
9755 (exp_test_towardzero): Likewise.
9756 (exp_downward_test_data): Likewise.
9757 (exp_test_downward): Likewise.
9758 (exp_upward_test_data): Likewise.
9759 (exp_test_upward): Likewise.
9760 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9761 (exp10_test): Use ALL_RM_TEST.
9762 (exp10_tonearest_test_data): Remove.
9763 (exp10_test_tonearest): Likewise.
9764 (exp10_towardzero_test_data): Likewise.
9765 (exp10_test_towardzero): Likewise.
9766 (exp10_downward_test_data): Likewise.
9767 (exp10_test_downward): Likewise.
9768 (exp10_upward_test_data): Likewise.
9769 (exp10_test_upward): Likewise.
9770 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9771 (expm1_test_data): Likewise.
9772 (expm1_test): Use ALL_RM_TEST.
9773 (expm1_tonearest_test_data): Remove.
9774 (expm1_test_tonearest): Likewise.
9775 (expm1_towardzero_test_data): Likewise.
9776 (expm1_test_towardzero): Likewise.
9777 (expm1_downward_test_data): Likewise.
9778 (expm1_test_downward): Likewise.
9779 (expm1_upward_test_data): Likewise.
9780 (expm1_test_upward): Likewise.
9781 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9782 (fma_test): Use ALL_RM_TEST.
9783 (fma_towardzero_test_data): Remove.
9784 (fma_test_towardzero): Likewise.
9785 (fma_downward_test_data): Likewise.
9786 (fma_test_downward): Likewise.
9787 (fma_upward_test_data): Likewise.
9788 (fma_test_upward): Likewise.
9789 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9790 (j0_test_data): Update call to AUTO_TESTS_f_f.
9791 (j1_test_data): Likewise.
9792 (jn_test_data): Update call to AUTO_TESTS_if_f.
9793 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9794 (log_test_data): Update call to AUTO_TESTS_f_f.
9795 (log10_test_data): Likewise.
9796 (log1p_test_data): Likewise.
9797 (log2_test_data): Likewise.
9798 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9799 (pow_tonearest_test_data): Likewise.
9800 (sin_test_data): Update call to AUTO_TESTS_f_f.
9801 (sin_test): Use ALL_RM_TEST.
9802 (sin_tonearest_test_data): Remove.
9803 (sin_test_tonearest): Likewise.
9804 (sin_towardzero_test_data): Likewise.
9805 (sin_test_towardzero): Likewise.
9806 (sin_downward_test_data): Likewise.
9807 (sin_test_downward): Likewise.
9808 (sin_upward_test_data): Likewise.
9809 (sin_test_upward): Likewise.
9810 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9811 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9812 (sinh_test): Use ALL_RM_TEST.
9813 (sinh_tonearest_test_data): Remove.
9814 (sinh_test_tonearest): Likewise.
9815 (sinh_towardzero_test_data): Likewise.
9816 (sinh_test_towardzero): Likewise.
9817 (sinh_downward_test_data): Likewise.
9818 (sinh_test_downward): Likewise.
9819 (sinh_upward_test_data): Likewise.
9820 (sinh_test_upward): Likewise.
9821 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9822 (sqrt_test): Use ALL_RM_TEST.
9823 (sqrt_tonearest_test_data): Remove.
9824 (sqrt_test_tonearest): Likewise.
9825 (sqrt_towardzero_test_data): Likewise.
9826 (sqrt_test_towardzero): Likewise.
9827 (sqrt_downward_test_data): Likewise.
9828 (sqrt_test_downward): Likewise.
9829 (sqrt_upward_test_data): Likewise.
9830 (sqrt_test_upward): Likewise.
9831 (tan_test_data): Update call to AUTO_TESTS_f_f.
9832 (tan_test): Use ALL_RM_TEST.
9833 (tan_tonearest_test_data): Remove.
9834 (tan_test_tonearest): Likewise.
9835 (tan_towardzero_test_data): Likewise.
9836 (tan_test_towardzero): Likewise.
9837 (tan_downward_test_data): Likewise.
9838 (tan_test_downward): Likewise.
9839 (tan_upward_test_data): Likewise.
9840 (tan_test_upward): Likewise.
9841 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9842 (tgamma_test_data): Likewise.
9843 (y0_test_data): Likewise.
9844 (y1_test_data): Likewise.
9845 (yn_test_data): Update call to AUTO_TESTS_if_f.
9846 (main): Do not call removed functions.
9848 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9850 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9851 (ldexp_test_data): Remove.
9852 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9854 (scalb_test): Use ALL_RM_TEST.
9856 2014-03-19 Andreas Schwab <schwab@suse.de>
9858 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9860 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9863 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9864 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9865 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9866 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9867 (__ASSUME_PREADV): Undefine.
9868 (__ASSUME_PWRITEV): Likewise.
9870 2014-03-18 Roland McGrath <roland@hack.frob.com>
9872 * bits/mman-linux.h: Add comment about non-Linux use.
9873 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9874 bits/mman-linux.h resting place.
9876 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9877 * bits/mman-linux.h: ... here.
9879 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9881 * conform/conformtest.pl: Add standard definition when calling C
9882 preprocessor on data files.
9883 (checknamespace): Remove unused variable.
9885 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9887 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9888 minus_oflow, plus_uflow and minus_uflow in expected results.
9889 * math/libm-test.inc (scalbn_test_data): Add more tests of
9890 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9892 (scalbn_test): Use ALL_RM_TEST.
9893 (scalbln_test_data): Add more tests of negative arguments. Use
9894 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9895 (scalbln_test): Use ALL_RM_TEST.
9897 2014-03-18 Roland McGrath <roland@hack.frob.com>
9899 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9901 2014-03-18 Will Newton <will.newton@linaro.org>
9903 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9906 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9908 * Makerules [!subdir] (check-abi): Exit with error status if a
9911 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9913 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9914 for rint. Include results for all rounding modes.
9915 (nearbyint_test): Use ALL_RM_TEST.
9916 (rint_test_data): Include all tests used for nearbyint.
9918 2014-03-17 Will Newton <will.newton@linaro.org>
9920 * nptl/sysdeps/pthread/pthread.h: Revert previous
9923 * sysdeps/generic/ldsodefs.h: Revert previous
9926 * libio/genops.c: Revert previous change.
9927 * libio/libioP.h: Likewise.
9928 * stdio-common/vfprintf.c: Likewise.
9930 * sysdeps/generic/math_private.h: Revert previous
9933 * sysdeps/generic/math_private.h: Check whether
9934 HAVE_RM_CTX is defined with #ifdef rather
9937 * argp/argp-fmtstream.h: Check whether
9938 __STRICT_ANSI__ is defined with #ifdef rather
9940 * argp/argp.h: Likewise.
9942 * libio/genops.c: Check whether
9943 _IO_JUMPS_OFFSET is defined with #ifdef rather
9945 * libio/libioP.h: Likewise.
9946 * stdio-common/vfprintf.c: Likewise.
9948 * sysdeps/generic/ldsodefs.h: Check whether
9949 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9952 * nptl/sysdeps/pthread/pthread.h: Check
9953 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9956 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9958 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9960 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9964 * libio/fileops.c (_IO_file_open): Seek to end of file but
9965 don't cache the offset.
9966 (get_file_offset): Remove function.
9967 (do_ftell): Use cached offset when available.
9968 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9969 don't cache the offset.
9970 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9972 (do_one_test): Call it.
9973 (do_ftell_test): Fix up expected old offset for a+ mode.
9974 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9977 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9978 up test status with function return status.
9979 (do_write_test): Likewise.
9980 (do_append_test): Likewise.
9982 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9983 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9986 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9988 * math/gen-libm-test.pl (parse_args): Handle results specified for
9989 each rounding mode separately.
9990 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9991 tests and results from lrint_tonearest_test_data,
9992 lrint_towardzero_test_data, lrint_downward_test_data and
9993 lrint_upward_test_data.
9994 (lrint_test): Use ALL_RM_TEST.
9995 (lrint_tonearest_test_data): Remove.
9996 (lrint_test_tonearest): Likewise.
9997 (lrint_towardzero_test_data): Likewise.
9998 (lrint_test_towardzero): Likewise.
9999 (lrint_downward_test_data): Likewise.
10000 (lrint_test_downward): Likewise.
10001 (lrint_upward_test_data): Likewise.
10002 (lrint_test_upward): Likewise.
10003 (llrint_test_data): Merge in per-rounding-mode tests and results
10004 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10005 llrint_downward_test_data and llrint_upward_test_data.
10006 (llrint_test): Use ALL_RM_TEST.
10007 (llrint_tonearest_test_data): Remove.
10008 (llrint_test_tonearest): Likewise.
10009 (llrint_towardzero_test_data): Likewise.
10010 (llrint_test_towardzero): Likewise.
10011 (llrint_downward_test_data): Likewise.
10012 (llrint_test_downward): Likewise.
10013 (llrint_upward_test_data): Likewise.
10014 (llrint_test_upward): Likewise.
10015 (rint_test_data): Merge in per-rounding-mode tests and results
10016 from rint_tonearest_test_data, rint_towardzero_test_data,
10017 rint_downward_test_data and rint_upward_test_data. Add
10018 per-rounding-mode results for tests not in those arrays.
10019 (rint_test): Use ALL_RM_TEST.
10020 (rint_tonearest_test_data): Remove.
10021 (rint_test_tonearest): Likewise.
10022 (rint_towardzero_test_data): Likewise.
10023 (rint_test_towardzero): Likewise.
10024 (rint_downward_test_data): Likewise.
10025 (rint_test_downward): Likewise.
10026 (rint_upward_test_data): Likewise.
10027 (rint_test_upward): Likewise.
10028 (main): Don't call removed functions.
10030 2014-03-14 Roland McGrath <roland@hack.frob.com>
10032 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10033 "Compiled on ..." crapola. It is anti-useful.
10035 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10037 * scripts/evaluate-test.sh: Handle fourth argument to determine
10038 whether test run should stop on failure.
10039 * Makeconfig (stop-on-test-failure): New variable.
10040 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10041 $(stop-on-test-failure).
10042 * Makefile (tests): Give a summary of results from testing and
10043 exit with failure status if they include an ERROR or FAIL.
10044 (xtests): Likewise.
10045 * manual/install.texi (Configuring and compiling): Mention
10046 stop-on-test-failure=y.
10047 * INSTALL: Regenerated.
10049 2014-03-14 Roland McGrath <roland@hack.frob.com>
10051 * scripts/versionlist.awk: New file.
10052 * Makerules [$(build-shared) = yes]
10053 (postclean-generated): Add Versions.def, not Versions.def.v and
10055 ($(common-objpfx)Versions.def.v.i): Target removed.
10056 ($(common-objpfx)Versions.def): New target.
10057 ($(common-objpfx)Versions.all): Depend on that rather that
10058 $(common-objpfx)Versions.def.v.
10059 * Versions.def: File removed.
10061 * Makeconfig (+gccwarn): Add -Wundef.
10062 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10063 a dl-sysdep.h breaking its contract.
10064 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10065 * include/stackinfo.h: New file.
10066 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10067 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10068 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10069 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10070 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10071 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10072 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10073 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10074 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10075 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10076 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10077 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10078 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10079 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10080 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10082 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10085 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10087 * math/libm-test.inc (round_test_data): Add more tests.
10090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10092 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10095 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10097 * math/libm-test.inc (ceil_test_data): Add more tests.
10099 * math/libm-test.inc (trunc_test_data): Add more tests related to
10102 2014-03-14 Roland McGrath <roland@hack.frob.com>
10104 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10105 with #if rather than #ifdef.
10106 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10108 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10110 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10111 first. Disable AVX-512 GCC support if assembler doesn't support
10113 * sysdeps/x86_64/configure: Regenerated.
10115 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10117 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10118 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10119 (__old_pthread_attr_setstack): Likewise.
10120 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10121 [!_STACK_GROWS_DOWN]: Likewise.
10123 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10125 * config.make.in (have-bash2): Delete.
10126 * configure.ac (libc_cv_have_bash2): Delete.
10127 * configure: Regenerate.
10128 * elf/Makefile (common-ldd-rewrite): Rename to ...
10129 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10130 (sh-ldd-rewrite): Delete.
10131 (bash-ldd-rewrite): Delete.
10132 (have-bash2): Delete checks.
10133 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10136 * config.make.in (have-ksh): Delete.
10138 * configure.ac (libc_cv_have_ksh): Delete.
10139 * configure: Regenerate.
10141 * elf/Makefile: Delete $(have-ksh) check.
10142 ($(objpfx)sotruss): Change KSH to BASH.
10143 * elf/sotruss.ksh: Rename to ...
10144 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10145 function style to match POSIX. Drop ksh vim mode setting.
10147 * manual/time.texi (Specifying the Time Zone with TZ): Change
10148 Tuesday to Thursday.
10150 * debug/tst-longjmp_chk2.c: Update header comment.
10151 (stackoverflow_handler): Add comment. Call assert on pass value.
10153 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10156 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10157 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10158 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10159 (La_x86_64_vector): Add zmm.
10160 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10161 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10162 ($(objpfx)tst-audit10): New target.
10163 ($(objpfx)tst-audit10.out): Likewise.
10164 (tst-audit10-ENV): New.
10165 (AVX512-CFLAGS): Likewise.
10166 (CFLAGS-tst-audit10.c): Likewise.
10167 (CFLAGS-tst-auditmod10a.c): Likewise.
10168 (CFLAGS-tst-auditmod10b.c): Likewise.
10169 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10170 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10171 * sysdeps/x86_64/configure: Regenerated.
10172 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10173 AVX-512 zmm register support.
10174 (_dl_x86_64_save_sse): Likewise.
10175 (_dl_x86_64_restore_sse): Likewise.
10176 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10177 size vector registers.
10178 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10179 (ZMM_SIZE): Likewise.
10180 * sysdeps/x86_64/tst-audit10.c: New file.
10181 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10182 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10184 2014-03-13 Roland McGrath <roland@hack.frob.com>
10186 * configure.ac (HAVE_EHDR_START): New check.
10187 * configure: Regenerated.
10188 * config.h.in (HAVE_EHDR_START): New #undef.
10189 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10190 assuming the lowest-addressed segment maps the start of the file.
10192 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10194 * INSTALL: Regenerated.
10196 2014-03-13 Will Newton <will.newton@linaro.org>
10198 * manual/setjmp.texi (System V contexts): Improve
10199 clarity and grammar of documentation.
10201 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10204 * elf/Makefile (tests): Add tst-pie2.
10205 (tests-pie): Add tst-pie2.
10206 * elf/tst-pie2.c: New file.
10207 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10209 * elf/rtld.c (map_doit): Load executable as lt_executable.
10210 (dl_main): Likewise.
10212 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10215 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10216 (__ASSUME_PSELECT): Undefine.
10218 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10221 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10222 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10224 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10225 selector for static builds.
10227 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10230 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10233 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10235 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10236 IFUNC selector for static builds.
10238 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10240 * sysdeps/mips/math_private.h [__mips_hard_float]
10241 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10242 libc_feresetround_mips_ctx.
10243 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10244 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10245 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10248 * math/s_nextafter.c (__nextafter): Do not return value from
10249 overflowing computation.
10250 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10251 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10252 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10254 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10256 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10257 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10259 2014-03-11 Roland McGrath <roland@hack.frob.com>
10261 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10262 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10263 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10264 the new mov targetting sp.
10266 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10269 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10270 Define it for static builds as well.
10271 (NO_BZERO_IMPL): Likewise.
10273 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10275 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10276 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10277 multiarch strspn for PPC64.
10278 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10279 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10281 (__libc_ifunc_impl_list): Likewise.
10282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10283 multiarch optimizations
10284 * string/strspn.c (strspn): Using macro to redefine symbol name.
10286 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10287 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10290 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10291 multiarch strncat for PPC64.
10292 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10293 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10295 (__libc_ifunc_impl_list): Likewise.
10296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10297 multiarch optimizations
10299 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10302 * nscd/nscd.service: Make service type forking.
10304 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10306 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10307 sign in non default rounding modes.
10308 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10310 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10312 * math/libm-test.inc (ALL_RM_TEST): New macro.
10313 (ceil_test): Use ALL_RM_TEST.
10314 (cimag_test): Likewise.
10315 (conj_test): Likewise.
10316 (copysign_test): Likewise.
10317 (cproj_test): Likewise.
10318 (creal_test): Likewise.
10319 (fabs_test): Likewise.
10320 (floor_test): Likewise.
10321 (fmax_test): Likewise.
10322 (fmin_test): Likewise.
10323 (fmod_test): Likewise.
10324 (fpclassify_test): Likewise.
10325 (frexp_test): Likewise.
10326 (ilogb_test): Likewise.
10327 (isfinite_test): Likewise.
10328 (finite_test): Likewise.
10329 (isgreater_test): Likewise.
10330 (isgreaterequal_test): Likewise.
10331 (isinf_test): Likewise.
10332 (isless_test): Likewise.
10333 (islessequal_test): Likewise.
10334 (islessgreater_test): Likewise.
10335 (isnan_test): Likewise.
10336 (isnormal_test): Likewise.
10337 (issignaling_test): Likewise.
10338 (isunordered_test): Likewise.
10339 (logb_test): Likewise.
10340 (logb_downward_test_data): Remove.
10341 (logb_test_downward): Likewise.
10342 (lround_test): Use ALL_RM_TEST.
10343 (llround_test): Likewise.
10344 (modf_test): Likewise.
10345 (nexttoward_test): Likewise.
10346 (remainder_test): Likewise.
10347 (drem_test): Likewise.
10348 (remainder_tonearest_test_data): Likewise.
10349 (remainder_test_tonearest): Likewise.
10350 (drem_test_tonearest): Likewise.
10351 (remainder_towardzero_test_data): Likewise.
10352 (remainder_test_towardzero): Likewise.
10353 (drem_test_towardzero): Likewise.
10354 (remainder_downward_test_data): Likewise.
10355 (remainder_test_downward): Likewise.
10356 (drem_test_downward): Likewise.
10357 (remainder_upward_test_data): Likewise.
10358 (remainder_test_upward): Likewise.
10359 (drem_test_upward): Likewise.
10360 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10361 (round_test): Use ALL_RM_TEST.
10362 (signbit_test): Likewise.
10363 (trunc_test): Likewise.
10364 (significand_test): Likewise.
10365 (main): Don't call removed functions.
10367 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10370 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10371 || __USE_XOPEN2K8].
10372 (ILL_ILLOPN): Likewise.
10373 (ILL_ILLADR): Likewise.
10374 (ILL_ILLTRP): Likewise.
10375 (ILL_PRVOPC): Likewise.
10376 (ILL_PRVREG): Likewise.
10377 (ILL_COPROC): Likewise.
10378 (ILL_BADSTK): Likewise.
10379 (FPE_INTDIV): Likewise.
10380 (FPE_INTOVF): Likewise.
10381 (FPE_FLTDIV): Likewise.
10382 (FPE_FLTOVF): Likewise.
10383 (FPE_FLTUND): Likewise.
10384 (FPE_FLTRES): Likewise.
10385 (FPE_FLTINV): Likewise.
10386 (FPE_FLTSUB): Likewise.
10387 (SEGV_MAPERR): Likewise.
10388 (SEGV_ACCERR): Likewise.
10389 (BUS_ADRALN): Likewise.
10390 (BUS_ADRERR): Likewise.
10391 (BUS_OBJERR): Likewise.
10392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10393 (TRAP_TRACE): Likewise.
10394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10396 (CLD_KILLED): Likewise.
10397 (CLD_DUMPED): Likewise.
10398 (CLD_TRAPPED): Likewise.
10399 (CLD_STOPPED): Likewise.
10400 (CLD_CONTINUED): Likewise.
10401 (POLL_IN): Likewise.
10402 (POLL_OUT): Likewise.
10403 (POLL_MSG): Likewise.
10404 (POLL_ERR): Likewise.
10405 (POLL_PRI): Likewise.
10406 (POLL_HUP): Likewise.
10407 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10409 (ILL_ILLOPN): Likewise.
10410 (ILL_ILLADR): Likewise.
10411 (ILL_ILLTRP): Likewise.
10412 (ILL_PRVOPC): Likewise.
10413 (ILL_PRVREG): Likewise.
10414 (ILL_COPROC): Likewise.
10415 (ILL_BADSTK): Likewise.
10416 (FPE_INTDIV): Likewise.
10417 (FPE_INTOVF): Likewise.
10418 (FPE_FLTDIV): Likewise.
10419 (FPE_FLTOVF): Likewise.
10420 (FPE_FLTUND): Likewise.
10421 (FPE_FLTRES): Likewise.
10422 (FPE_FLTINV): Likewise.
10423 (FPE_FLTSUB): Likewise.
10424 (SEGV_MAPERR): Likewise.
10425 (SEGV_ACCERR): Likewise.
10426 (BUS_ADRALN): Likewise.
10427 (BUS_ADRERR): Likewise.
10428 (BUS_OBJERR): Likewise.
10429 (BUS_MCEERR_AR): Likewise.
10430 (BUS_MCEERR_AO): Likewise.
10431 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10432 (TRAP_TRACE): Likewise.
10433 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10435 (CLD_KILLED): Likewise.
10436 (CLD_DUMPED): Likewise.
10437 (CLD_TRAPPED): Likewise.
10438 (CLD_STOPPED): Likewise.
10439 (CLD_CONTINUED): Likewise.
10440 (POLL_IN): Likewise.
10441 (POLL_OUT): Likewise.
10442 (POLL_MSG): Likewise.
10443 (POLL_ERR): Likewise.
10444 (POLL_PRI): Likewise.
10445 (POLL_HUP): Likewise.
10446 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10447 (ILL_ILLOPN): Likewise.
10448 (ILL_ILLADR): Likewise.
10449 (ILL_ILLTRP): Likewise.
10450 (ILL_PRVOPC): Likewise.
10451 (ILL_PRVREG): Likewise.
10452 (ILL_COPROC): Likewise.
10453 (ILL_BADSTK): Likewise.
10454 (FPE_INTDIV): Likewise.
10455 (FPE_INTOVF): Likewise.
10456 (FPE_FLTDIV): Likewise.
10457 (FPE_FLTOVF): Likewise.
10458 (FPE_FLTUND): Likewise.
10459 (FPE_FLTRES): Likewise.
10460 (FPE_FLTINV): Likewise.
10461 (FPE_FLTSUB): Likewise.
10462 (SEGV_MAPERR): Likewise.
10463 (SEGV_ACCERR): Likewise.
10464 (BUS_ADRALN): Likewise.
10465 (BUS_ADRERR): Likewise.
10466 (BUS_OBJERR): Likewise.
10467 (BUS_MCEERR_AR): Likewise.
10468 (BUS_MCEERR_AO): Likewise.
10469 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10470 (TRAP_TRACE): Likewise.
10471 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10473 (CLD_KILLED): Likewise.
10474 (CLD_DUMPED): Likewise.
10475 (CLD_TRAPPED): Likewise.
10476 (CLD_STOPPED): Likewise.
10477 (CLD_CONTINUED): Likewise.
10478 (POLL_IN): Likewise.
10479 (POLL_OUT): Likewise.
10480 (POLL_MSG): Likewise.
10481 (POLL_ERR): Likewise.
10482 (POLL_PRI): Likewise.
10483 (POLL_HUP): Likewise.
10484 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10486 (ILL_ILLOPN): Likewise.
10487 (ILL_ILLADR): Likewise.
10488 (ILL_ILLTRP): Likewise.
10489 (ILL_PRVOPC): Likewise.
10490 (ILL_PRVREG): Likewise.
10491 (ILL_COPROC): Likewise.
10492 (ILL_BADSTK): Likewise.
10493 (ILL_BADIADDR): Likewise.
10494 (ILL_BREAK): Likewise.
10495 (FPE_INTDIV): Likewise.
10496 (FPE_INTOVF): Likewise.
10497 (FPE_FLTDIV): Likewise.
10498 (FPE_FLTOVF): Likewise.
10499 (FPE_FLTUND): Likewise.
10500 (FPE_FLTRES): Likewise.
10501 (FPE_FLTINV): Likewise.
10502 (FPE_FLTSUB): Likewise.
10503 (FPE_DECOVF): Likewise.
10504 (FPE_DECDIV): Likewise.
10505 (FPE_DECERR): Likewise.
10506 (FPE_INVASC): Likewise.
10507 (FPE_INVDEC): Likewise.
10508 (SEGV_MAPERR): Likewise.
10509 (SEGV_ACCERR): Likewise.
10510 (SEGV_PSTKOVF): Likewise.
10511 (BUS_ADRALN): Likewise.
10512 (BUS_ADRERR): Likewise.
10513 (BUS_OBJERR): Likewise.
10514 (BUS_MCEERR_AR): Likewise.
10515 (BUS_MCEERR_AO): Likewise.
10516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10517 (TRAP_TRACE): Likewise.
10518 (TRAP_BRANCH): Likewise.
10519 (TRAP_HWBKPT): Likewise.
10520 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10522 (CLD_KILLED): Likewise.
10523 (CLD_DUMPED): Likewise.
10524 (CLD_TRAPPED): Likewise.
10525 (CLD_STOPPED): Likewise.
10526 (CLD_CONTINUED): Likewise.
10527 (POLL_IN): Likewise.
10528 (POLL_OUT): Likewise.
10529 (POLL_MSG): Likewise.
10530 (POLL_ERR): Likewise.
10531 (POLL_PRI): Likewise.
10532 (POLL_HUP): Likewise.
10533 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10534 (ILL_ILLOPN): Likewise.
10535 (ILL_ILLADR): Likewise.
10536 (ILL_ILLTRP): Likewise.
10537 (ILL_PRVOPC): Likewise.
10538 (ILL_PRVREG): Likewise.
10539 (ILL_COPROC): Likewise.
10540 (ILL_BADSTK): Likewise.
10541 (FPE_INTDIV): Likewise.
10542 (FPE_INTOVF): Likewise.
10543 (FPE_FLTDIV): Likewise.
10544 (FPE_FLTOVF): Likewise.
10545 (FPE_FLTUND): Likewise.
10546 (FPE_FLTRES): Likewise.
10547 (FPE_FLTINV): Likewise.
10548 (FPE_FLTSUB): Likewise.
10549 (SEGV_MAPERR): Likewise.
10550 (SEGV_ACCERR): Likewise.
10551 (BUS_ADRALN): Likewise.
10552 (BUS_ADRERR): Likewise.
10553 (BUS_OBJERR): Likewise.
10554 (BUS_MCEERR_AR): Likewise.
10555 (BUS_MCEERR_AO): Likewise.
10556 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10557 (TRAP_TRACE): Likewise.
10558 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10560 (CLD_KILLED): Likewise.
10561 (CLD_DUMPED): Likewise.
10562 (CLD_TRAPPED): Likewise.
10563 (CLD_STOPPED): Likewise.
10564 (CLD_CONTINUED): Likewise.
10565 (POLL_IN): Likewise.
10566 (POLL_OUT): Likewise.
10567 (POLL_MSG): Likewise.
10568 (POLL_ERR): Likewise.
10569 (POLL_PRI): Likewise.
10570 (POLL_HUP): Likewise.
10571 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10572 (ILL_ILLOPN): Likewise.
10573 (ILL_ILLADR): Likewise.
10574 (ILL_ILLTRP): Likewise.
10575 (ILL_PRVOPC): Likewise.
10576 (ILL_PRVREG): Likewise.
10577 (ILL_COPROC): Likewise.
10578 (ILL_BADSTK): Likewise.
10579 (FPE_INTDIV): Likewise.
10580 (FPE_INTOVF): Likewise.
10581 (FPE_FLTDIV): Likewise.
10582 (FPE_FLTOVF): Likewise.
10583 (FPE_FLTUND): Likewise.
10584 (FPE_FLTRES): Likewise.
10585 (FPE_FLTINV): Likewise.
10586 (FPE_FLTSUB): Likewise.
10587 (SEGV_MAPERR): Likewise.
10588 (SEGV_ACCERR): Likewise.
10589 (BUS_ADRALN): Likewise.
10590 (BUS_ADRERR): Likewise.
10591 (BUS_OBJERR): Likewise.
10592 (BUS_MCEERR_AR): Likewise.
10593 (BUS_MCEERR_AO): Likewise.
10594 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10595 (TRAP_TRACE): Likewise.
10596 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10598 (CLD_KILLED): Likewise.
10599 (CLD_DUMPED): Likewise.
10600 (CLD_TRAPPED): Likewise.
10601 (CLD_STOPPED): Likewise.
10602 (CLD_CONTINUED): Likewise.
10603 (POLL_IN): Likewise.
10604 (POLL_OUT): Likewise.
10605 (POLL_MSG): Likewise.
10606 (POLL_ERR): Likewise.
10607 (POLL_PRI): Likewise.
10608 (POLL_HUP): Likewise.
10609 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10610 (ILL_ILLOPN): Likewise.
10611 (ILL_ILLADR): Likewise.
10612 (ILL_ILLTRP): Likewise.
10613 (ILL_PRVOPC): Likewise.
10614 (ILL_PRVREG): Likewise.
10615 (ILL_COPROC): Likewise.
10616 (ILL_BADSTK): Likewise.
10617 (FPE_INTDIV): Likewise.
10618 (FPE_INTOVF): Likewise.
10619 (FPE_FLTDIV): Likewise.
10620 (FPE_FLTOVF): Likewise.
10621 (FPE_FLTUND): Likewise.
10622 (FPE_FLTRES): Likewise.
10623 (FPE_FLTINV): Likewise.
10624 (FPE_FLTSUB): Likewise.
10625 (SEGV_MAPERR): Likewise.
10626 (SEGV_ACCERR): Likewise.
10627 (BUS_ADRALN): Likewise.
10628 (BUS_ADRERR): Likewise.
10629 (BUS_OBJERR): Likewise.
10630 (BUS_MCEERR_AR): Likewise.
10631 (BUS_MCEERR_AO): Likewise.
10632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10633 (TRAP_TRACE): Likewise.
10634 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10636 (CLD_KILLED): Likewise.
10637 (CLD_DUMPED): Likewise.
10638 (CLD_TRAPPED): Likewise.
10639 (CLD_STOPPED): Likewise.
10640 (CLD_CONTINUED): Likewise.
10641 (POLL_IN): Likewise.
10642 (POLL_OUT): Likewise.
10643 (POLL_MSG): Likewise.
10644 (POLL_ERR): Likewise.
10645 (POLL_PRI): Likewise.
10646 (POLL_HUP): Likewise.
10647 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10648 (ILL_ILLOPN): Likewise.
10649 (ILL_ILLADR): Likewise.
10650 (ILL_ILLTRP): Likewise.
10651 (ILL_PRVOPC): Likewise.
10652 (ILL_PRVREG): Likewise.
10653 (ILL_COPROC): Likewise.
10654 (ILL_BADSTK): Likewise.
10655 (ILL_DBLFLT): Likewise.
10656 (ILL_HARDWALL): Likewise.
10657 (FPE_INTDIV): Likewise.
10658 (FPE_INTOVF): Likewise.
10659 (FPE_FLTDIV): Likewise.
10660 (FPE_FLTOVF): Likewise.
10661 (FPE_FLTUND): Likewise.
10662 (FPE_FLTRES): Likewise.
10663 (FPE_FLTINV): Likewise.
10664 (FPE_FLTSUB): Likewise.
10665 (SEGV_MAPERR): Likewise.
10666 (SEGV_ACCERR): Likewise.
10667 (BUS_ADRALN): Likewise.
10668 (BUS_ADRERR): Likewise.
10669 (BUS_OBJERR): Likewise.
10670 (BUS_MCEERR_AR): Likewise.
10671 (BUS_MCEERR_AO): Likewise.
10672 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10673 (TRAP_TRACE): Likewise.
10674 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10676 (CLD_KILLED): Likewise.
10677 (CLD_DUMPED): Likewise.
10678 (CLD_TRAPPED): Likewise.
10679 (CLD_STOPPED): Likewise.
10680 (CLD_CONTINUED): Likewise.
10681 (POLL_IN): Likewise.
10682 (POLL_OUT): Likewise.
10683 (POLL_MSG): Likewise.
10684 (POLL_ERR): Likewise.
10685 (POLL_PRI): Likewise.
10686 (POLL_HUP): Likewise.
10687 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10688 (ILL_ILLOPN): Likewise.
10689 (ILL_ILLADR): Likewise.
10690 (ILL_ILLTRP): Likewise.
10691 (ILL_PRVOPC): Likewise.
10692 (ILL_PRVREG): Likewise.
10693 (ILL_COPROC): Likewise.
10694 (ILL_BADSTK): Likewise.
10695 (FPE_INTDIV): Likewise.
10696 (FPE_INTOVF): Likewise.
10697 (FPE_FLTDIV): Likewise.
10698 (FPE_FLTOVF): Likewise.
10699 (FPE_FLTUND): Likewise.
10700 (FPE_FLTRES): Likewise.
10701 (FPE_FLTINV): Likewise.
10702 (FPE_FLTSUB): Likewise.
10703 (SEGV_MAPERR): Likewise.
10704 (SEGV_ACCERR): Likewise.
10705 (BUS_ADRALN): Likewise.
10706 (BUS_ADRERR): Likewise.
10707 (BUS_OBJERR): Likewise.
10708 (BUS_MCEERR_AR): Likewise.
10709 (BUS_MCEERR_AO): Likewise.
10710 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10711 (TRAP_TRACE): Likewise.
10712 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10714 (CLD_KILLED): Likewise.
10715 (CLD_DUMPED): Likewise.
10716 (CLD_TRAPPED): Likewise.
10717 (CLD_STOPPED): Likewise.
10718 (CLD_CONTINUED): Likewise.
10719 (POLL_IN): Likewise.
10720 (POLL_OUT): Likewise.
10721 (POLL_MSG): Likewise.
10722 (POLL_ERR): Likewise.
10723 (POLL_PRI): Likewise.
10724 (POLL_HUP): Likewise.
10725 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10726 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10729 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10730 before #include of <time.h>.
10731 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10732 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10733 (test-xfail-UNIX98/sched.h/conform): Likewise.
10735 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10737 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10738 error absence of trapping exception support.
10739 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10741 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10743 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10744 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10745 * timezone/Makefile (testdata): Move definition above include of
10747 (test-zones): New variable.
10748 (tests-special): Add zone files.
10749 (build-testdata): Use $(evaluate-test).
10751 * elf/Makefile (tests-special): Rename tests to end with .out.
10752 ($(objpfx)noload-mem): Likewise.
10753 ($(objpfx)tst-leaks1-mem): Likewise.
10754 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10755 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10756 $(objpfx)test-iconvconfig.out.
10757 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10758 set -e inside subshell and redirect output to file.
10759 * iconvdata/Makefile (generated): Rename tests to end with .out.
10761 (tests-special): Rename tests to end with .out.
10762 ($(objpfx)mtrace-tst-loading): Likewise.
10763 * intl/Makefile (generated): Likewise.
10764 (tests-special): Likewise.
10765 ($(objpfx)mtrace-tst-gettext): Likewise.
10766 * misc/Makefile (generated): Likewise.
10767 (tests-special): Likewise.
10768 ($(objpfx)tst-error1-mem): Likewise.
10769 * nptl/Makefile (tests-special): Likewise.
10770 ($(objpfx)tst-stack3-mem): Likewise.
10771 (generated): Likewise.
10772 * posix/Makefile (generated): Likewise.
10773 (tests-special): Likewise.
10774 (xtests-special): Likewise.
10775 ($(objpfx)tst-fnmatch-mem): Likewise.
10776 ($(objpfx)bug-regex2-mem): Likewise.
10777 ($(objpfx)bug-regex14-mem): Likewise.
10778 ($(objpfx)bug-regex21-mem): Likewise.
10779 ($(objpfx)bug-regex31-mem): Likewise.
10780 ($(objpfx)tst-vfork3-mem): Likewise.
10781 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10782 ($(objpfx)tst-pcre-mem): Likewise.
10783 ($(objpfx)tst-boost-mem): Likewise.
10784 ($(objpfx)bug-ga2-mem): Likewise.
10785 ($(objpfx)bug-glob2-mem): Likewise.
10786 * resolv/Makefile (generate): Likewise.
10787 (tests-special): Likewise.
10788 (xtests-special): Likewise.
10789 (generated): Likewise.
10790 ($(objpfx)mtrace-tst-leaks): Likewise.
10791 ($(objpfx)mtrace-tst-leaks2): Likewise.
10793 * scripts/merge-test-results.sh: New file.
10794 * Makefile (tests-special-notdir): New variable.
10795 (tests): Run merge-test-results.sh.
10796 (xtests): Likewise.
10797 * Rules (tests-special-notdir): New variable.
10798 (xtests-special-notdir): Likewise.
10799 (tests): Run merge-test-results.sh
10800 (xtests): Likewise.
10802 * Makeconfig (test-xfail-name): New variable.
10803 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10804 compute variable name for expected failures.
10805 * conform/Makefile (conformtest-headers-data): New variable.
10806 (conformtest-standards): Likewise.
10807 (conformtest-headers-ISO): Likewise.
10808 (conformtest-headers-ISO99): Likewise.
10809 (conformtest-headers-ISO11): Likewise.
10810 (conformtest-headers-POSIX): Likewise.
10811 (conformtest-headers-XPG3): Likewise.
10812 (conformtest-headers-XPG4): Likewise.
10813 (conformtest-headers-UNIX98): Likewise.
10814 (conformtest-headers-XOPEN2K): Likewise.
10815 (conformtest-headers-POSIX2008): Likewise.
10816 (conformtest-headers-XOPEN2K8): Likewise.
10817 (conformtest-header-list-base): Likewise.
10818 (conformtest-header-list-tests): Likewise.
10819 (conformtest-header-base): Likewise.
10820 (conformtest-header-tests): Likewise.
10821 (tests-special): Add $(conformtest-header-list-tests). If
10822 [$(fast-check) && !$(cross-compiling)], add
10823 $(conformtest-header-tests) instead of
10824 $(objpfx)run-conformtest.out.
10825 (generated): Add $(conformtest-header-list-base). If
10826 [$(fast-check) && !$(cross-compiling)], add
10827 $(conformtest-header-base). Remove previous setting.
10828 ($(conformtest-header-list-tests)): New target.
10829 (test-xfail-run-conformtest): Remove variable.
10830 ($(objpfx)run-conformtest.out): Remove target.
10831 (test-xfail-ISO11/complex.h/conform): New variable.
10832 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10833 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10834 (test-xfail-XPG3/varargs.h/conform): Likewise.
10835 (test-xfail-XPG4/varargs.h/conform): Likewise.
10836 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10837 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10838 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10839 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10840 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10841 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10842 (test-xfail-XPG3/ftw.h/conform): Likewise.
10843 (test-xfail-XPG3/grp.h/conform): Likewise.
10844 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10845 (test-xfail-XPG3/limits.h/conform): Likewise.
10846 (test-xfail-XPG3/pwd.h/conform): Likewise.
10847 (test-xfail-XPG3/search.h/conform): Likewise.
10848 (test-xfail-XPG3/signal.h/conform): Likewise.
10849 (test-xfail-XPG3/stdio.h/conform): Likewise.
10850 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10851 (test-xfail-XPG3/string.h/conform): Likewise.
10852 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10853 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10854 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10855 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10856 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10857 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10858 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10859 (test-xfail-XPG3/termios.h/conform): Likewise.
10860 (test-xfail-XPG3/time.h/conform): Likewise.
10861 (test-xfail-XPG3/unistd.h/conform): Likewise.
10862 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10863 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10864 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10865 (test-xfail-XPG4/netdb.h/conform): Likewise.
10866 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10867 (test-xfail-XPG4/signal.h/conform): Likewise.
10868 (test-xfail-XPG4/stdio.h/conform): Likewise.
10869 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10870 (test-xfail-XPG4/stropts.h/conform): Likewise.
10871 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10872 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10873 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10874 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10875 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10876 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10877 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10878 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10879 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10880 (test-xfail-XPG4/termios.h/conform): Likewise.
10881 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10882 (test-xfail-XPG4/unistd.h/conform): Likewise.
10883 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10884 (test-xfail-POSIX/sched.h/conform): Likewise.
10885 (test-xfail-POSIX/signal.h/conform): Likewise.
10886 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10887 (test-xfail-POSIX/tar.h/conform): Likewise.
10888 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10889 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10890 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10891 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10892 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10893 (test-xfail-UNIX98/sched.h/conform): Likewise.
10894 (test-xfail-UNIX98/signal.h/conform): Likewise.
10895 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10896 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10897 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10898 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10899 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10900 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10901 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10902 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10903 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10904 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10905 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10906 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10907 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10908 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10909 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10910 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10911 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10912 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10913 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10914 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10915 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10916 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10917 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10918 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10919 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10920 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10921 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10922 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10923 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10924 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10925 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10926 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10927 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10928 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10929 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10930 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10931 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10932 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10933 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10934 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10935 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10936 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10937 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10938 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10939 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10940 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10941 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10942 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10943 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10944 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10945 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10946 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10947 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10948 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10949 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10950 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10951 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10952 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10953 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10954 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10955 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10956 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10957 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10958 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10959 (conformtest-cc-flags): Likewise.
10960 ($(conformtest-header-tests): New target.
10961 * conform/check-header-lists.sh: New file.
10962 * conform/run-conformtest.sh: Remove.
10964 * conform/conformtest.pl: Allow ' and \ in values given for
10966 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10968 [POSIX] (sys/types.h): Likewise.
10969 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10971 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10973 * conform/data/signal.h-data (SIGIO): Remove expectation.
10974 [XPG3] (SIGBUS): Do not expect.
10975 [POSIX || XPG3] (SIGPOLL): Likewise.
10976 [POSIX || XPG3] (SIGPROF): Likewise.
10977 [POSIX || XPG3] (SIGSYS): Likewise.
10978 [XPG3] (SIGTRAP): Likewise.
10979 [POSIX || XPG3] (SIGURG): Likewise.
10980 [POSIX || XPG3] (SIGVTALRM): Likewise.
10981 [POSIX || XPG3] (SIGXCPU): Likewise.
10982 [POSIX || XPG3] (SIGXFSZ): Likewise.
10983 [POSIX] (SA_SIGINFO): Expect.
10984 [XPG3] (siginfo_t): Do not expect type or contents.
10985 [POSIX] (si_pid): Do not expect element.
10986 [POSIX] (si_uid): Likewise.
10987 [POSIX] (si_addr): Likewise.
10988 [POSIX] (si_status): Likewise.
10989 [POSIX] (si_band): Likewise.
10990 [XPG4] (si_value): Likewise.
10991 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10992 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10993 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10994 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10995 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10996 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10997 [POSIX || XPG3] (ILL_COPROC): Likewise.
10998 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10999 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11000 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11001 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11002 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11003 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11004 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11005 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11006 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11007 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11008 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11009 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11010 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11011 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11012 [POSIX || XPG3] (CLD_EXITED): Likewise.
11013 [POSIX || XPG3] (CLD_KILLED): Likewise.
11014 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11015 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11016 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11017 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11018 [POSIX || XPG3] (POLL_IN): Likewise.
11019 [POSIX || XPG3] (POLL_OUT): Likewise.
11020 [POSIX || XPG3] (POLL_MSG): Likewise.
11021 [POSIX || XPG3] (POLL_ERR): Likewise.
11022 [POSIX || XPG3] (POLL_PRI): Likewise.
11023 [POSIX || XPG3] (POLL_HUP): Likewise.
11024 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11025 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11026 (SIG*): Do not allow.
11027 [XPG3] (si_*): Likewise.
11028 [XPG3] (SI_*): Likewise.
11029 [XPG3 || XPG4] (sigev_*): Likewise.
11030 [XPG3 || XPG4] (SIGEV_*): Likewise.
11031 [XPG3 || XPG4] (sival_*): Likewise.
11032 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11033 [POSIX || XPG3] (BUS_*): Likewise.
11034 [POSIX || XPG3] (CLD_*): Likewise.
11035 [POSIX || XPG3] (FPE_*): Likewise.
11036 [POSIX || XPG3] (ILL_*): Likewise.
11037 [POSIX || XPG3] (POLL_*): Likewise.
11038 [POSIX || XPG3] (SEGV_*): Likewise.
11039 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11040 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11041 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11042 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11043 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11044 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11045 Specify type and value.
11046 (TVERSLEN): Likewise.
11047 (REGTYPE): Likewise.
11048 (AREGTYPE): Likewise.
11049 (LNKTYPE): Likewise.
11050 (SYMTYPE): Likewise.
11051 (CHRTYPE): Likewise.
11052 (BLKTYPE): Likewise.
11053 (DIRTYPE): Likewise.
11054 (FIFOTYPE): Likewise.
11055 (CONTTYPE): Likewise.
11059 (TUREAD): Likewise.
11060 (TUWRITE): Likewise.
11061 (TUEXEC): Likewise.
11062 (TGREAD): Likewise.
11063 (TGWRITE): Likewise.
11064 (TGEXEC): Likewise.
11065 (TOREAD): Likewise.
11066 (TOWRITE): Likewise.
11067 (TOEXEC): Likewise.
11068 [POSIX] (TSVTX): Expect constant.
11070 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11072 * Makefile (tests): Change dependencies to ....
11073 (tests-special): ... additions to this variable.
11074 (tests): Depend on $(tests-special).
11075 * Makerules (check-abi-list): New variable.
11076 (check-abi): Depend on $(check-abi-list).
11077 [$(subdir) = elf] (tests-special): Add
11078 $(objpfx)check-abi-libc.out.
11079 [$(build-shared) = yes && subdir] (tests-special): Add
11081 [$(build-shared) = yes && subdir] (tests): Do not depend on
11083 * Rules (tests): Depend on $(tests-special).
11084 (xtests): Depend on $(xtests-special).
11085 * catgets/Makefile (tests): Change dependencies to ....
11086 (tests-special): ... additions to this variable.
11087 * conform/Makefile (tests): Change dependencies to ....
11088 (tests-special): ... additions to this variable.
11089 * elf/Makefile (tests): Change dependencies to ....
11090 (tests-special): ... additions to this variable.
11091 * grp/Makefile (tests): Change dependencies to ....
11092 (tests-special): ... additions to this variable.
11093 * iconv/Makefile (xtests): Change dependencies to ....
11094 (xtests-special): ... additions to this variable.
11095 * iconvdata/Makefile (tests): Change dependencies to ....
11096 (tests-special): ... additions to this variable.
11097 * intl/Makefile (tests): Change dependencies to ....
11098 (tests-special): ... additions to this variable. Also add
11099 $(objpfx)tst-gettext.out.
11100 * io/Makefile (tests): Change dependencies to ....
11101 (tests-special): ... additions to this variable.
11102 * libio/Makefile (tests): Change dependencies to ....
11103 (tests-special): ... additions to this variable.
11104 * malloc/Makefile (tests): Change dependencies to ....
11105 (tests-special): ... additions to this variable.
11106 * misc/Makefile (tests): Change dependencies to ....
11107 (tests-special): ... additions to this variable.
11108 * nptl/Makefile (tests): Change dependencies to ....
11109 (tests-special): ... additions to this variable.
11110 * nptl_db/Makefile (tests): Change dependencies to ....
11111 (tests-special): ... additions to this variable.
11112 * posix/Makefile (tests): Change dependencies to ....
11113 (tests-special): ... additions to this variable.
11114 (xtests): Change dependencies to ....
11115 (xtests-special): ... additions to this variable.
11116 * resolv/Makefile (tests): Change dependencies to ....
11117 (tests-special): ... additions to this variable.
11118 (xtests): Change dependencies to ....
11119 (xtests-special): ... additions to this variable.
11120 * stdio-common/Makefile (tests): Change dependencies to ....
11121 (tests-special): ... additions to this variable.
11122 (do-tst-unbputc): Remove target.
11123 (do-tst-printf): Likewise.
11124 * stdlib/Makefile (tests): Change dependencies to ....
11125 (tests-special): ... additions to this variable.
11126 * string/Makefile (tests): Change dependencies to ....
11127 (tests-special): ... additions to this variable.
11128 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11129 (tests-special): ... additions to this variable.
11131 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11133 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11135 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11136 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11138 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11139 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11140 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11141 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11142 * conform/data/libgen.h-data [XPG3]: Likewise.
11143 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11144 * conform/data/ndbm.h-data [XPG3]: Likewise.
11145 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11146 * conform/data/netdb.h-data [XPG3]: Likewise.
11147 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11148 * conform/data/poll.h-data [XPG3]: Likewise.
11149 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11150 * conform/data/strings.h-data [XPG3]: Likewise.
11151 * conform/data/stropts.h-data [XPG3]: Likewise.
11152 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11153 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11154 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11156 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11157 * conform/data/sys/time.h-data [XPG3]: Likewise.
11158 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11159 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11160 * conform/data/sys/un.h-data [XPG3]: Likewise.
11161 * conform/data/syslog.h-data [XPG3]: Likewise.
11162 * conform/data/ucontext.h-data [XPG3]: Likewise.
11163 * conform/data/utmpx.h-data [XPG3]: Likewise.
11164 * conform/data/varargs.h-data [UNIX98]: Enable file.
11166 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11168 * math/libm-test.inc (struct test_f_f_data): Move expected results
11169 into structure for each rounding mode.
11170 (struct test_ff_f_data): Likewise.
11171 (struct test_ff_f_data_nexttoward): Likewise.
11172 (struct test_fi_f_data): Likewise.
11173 (struct test_fl_f_data): Likewise.
11174 (struct test_if_f_data): Likewise.
11175 (struct test_fff_f_data): Likewise.
11176 (struct test_c_f_data): Likewise.
11177 (struct test_f_f1_data): Likewise.
11178 (struct test_fF_f1_data): Likewise.
11179 (struct test_ffI_f1_data): Likewise.
11180 (struct test_c_c_data): Likewise.
11181 (struct test_cc_c_data): Likewise.
11182 (struct test_f_i_data): Likewise.
11183 (struct test_ff_i_data): Likewise.
11184 (struct test_f_l_data): Likewise.
11185 (struct test_f_L_data): Likewise.
11186 (struct test_fFF_11_data): Likewise.
11188 (RM_FE_DOWNWARD): Likewise.
11189 (RM_FE_TONEAREST): Likewise.
11190 (RM_FE_TOWARDZERO): Likewise.
11191 (RM_FE_UPWARD): Likewise.
11192 (RUN_TEST_LOOP_f_f): Update references to expected results.
11193 (RUN_TEST_LOOP_2_f): Likewise.
11194 (RUN_TEST_LOOP_fff_f): Likewise.
11195 (RUN_TEST_LOOP_c_f): Likewise.
11196 (RUN_TEST_LOOP_f_f1): Likewise.
11197 (RUN_TEST_LOOP_fF_f1): Likewise.
11198 (RUN_TEST_LOOP_fI_f1): Likewise.
11199 (RUN_TEST_LOOP_ffI_f1): Likewise.
11200 (RUN_TEST_LOOP_c_c): Likewise.
11201 (RUN_TEST_LOOP_cc_c): Likewise.
11202 (RUN_TEST_LOOP_f_i): Likewise.
11203 (RUN_TEST_LOOP_f_i_tg): Likewise.
11204 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11205 (RUN_TEST_LOOP_f_b): Likewise.
11206 (RUN_TEST_LOOP_f_b_tg): Likewise.
11207 (RUN_TEST_LOOP_f_l): Likewise.
11208 (RUN_TEST_LOOP_f_L): Likewise.
11209 (RUN_TEST_LOOP_fFF_11): Likewise.
11210 * math/gen-libm-test.pl (parse_args): Output four copies of
11211 expected results for each test.
11213 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11214 (__ASSUME_UTIMES): Remove.
11215 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11216 (__ASSUME_UTIMES): Likewise.
11218 * math/gen-auto-libm-tests.c: Update comment on output format.
11219 (output_for_one_input_case): Generate before-rounding and
11220 after-rounding information as conditions on output flags not
11221 floating-point format.
11222 * math/auto-libm-test-out: Regenerated.
11223 * math/gen-libm-test.pl (cond_value): New function.
11224 (or_cond_value): Use cond_value.
11225 (generate_testfile): Handle conditional exceptions.
11227 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11229 * math/libm-test.inc (max_valid_error): New variable.
11230 (init_max_error): Take new argument specifying whether function
11231 results are exactly determined. Set max_valid_error and bound
11232 other variables for errors based on this argument.
11233 (set_max_error): Do not record results above max_valid_error.
11234 (check_float_internal): Only accept errors of up to 0.5ulps if
11235 also at most max_valid_error.
11236 (START): Take new argument EXACT and pass it to init_max_error.
11237 (acos_test): Update call to START.
11238 (acos_test_tonearest): Likewise.
11239 (acos_test_towardzero): Likewise.
11240 (acos_test_downward): Likewise.
11241 (acos_test_upward): Likewise.
11242 (acosh_test): Likewise.
11243 (asin_test): Likewise.
11244 (asin_test_tonearest): Likewise.
11245 (asin_test_towardzero): Likewise.
11246 (asin_test_downward): Likewise.
11247 (asin_test_upward): Likewise.
11248 (asinh_test): Likewise.
11249 (atan_test): Likewise.
11250 (atanh_test): Likewise.
11251 (atan2_test): Likewise.
11252 (cabs_test): Likewise.
11253 (cacos_test): Likewise.
11254 (cacosh_test): Likewise.
11255 (carg_test): Likewise.
11256 (casin_test): Likewise.
11257 (casinh_test): Likewise.
11258 (catan_test): Likewise.
11259 (catanh_test): Likewise.
11260 (cbrt_test): Likewise.
11261 (ccos_test): Likewise.
11262 (ccosh_test): Likewise.
11263 (ceil_test): Likewise.
11264 (cexp_test): Likewise.
11265 (cimag_test): Likewise.
11266 (clog_test): Likewise.
11267 (clog10_test): Likewise.
11268 (conj_test): Likewise.
11269 (copysign_test): Likewise.
11270 (cos_test): Likewise.
11271 (cos_test_tonearest): Likewise.
11272 (cos_test_towardzero): Likewise.
11273 (cos_test_downward): Likewise.
11274 (cos_test_upward): Likewise.
11275 (cosh_test): Likewise.
11276 (cosh_test_tonearest): Likewise.
11277 (cosh_test_towardzero): Likewise.
11278 (cosh_test_downward): Likewise.
11279 (cosh_test_upward): Likewise.
11280 (cpow_test): Likewise.
11281 (cproj_test): Likewise.
11282 (creal_test): Likewise.
11283 (csin_test): Likewise.
11284 (csinh_test): Likewise.
11285 (csqrt_test): Likewise.
11286 (ctan_test): Likewise.
11287 (ctan_test_tonearest): Likewise.
11288 (ctan_test_towardzero): Likewise.
11289 (ctan_test_downward): Likewise.
11290 (ctan_test_upward): Likewise.
11291 (ctanh_test): Likewise.
11292 (ctanh_test_tonearest): Likewise.
11293 (ctanh_test_towardzero): Likewise.
11294 (ctanh_test_downward): Likewise.
11295 (ctanh_test_upward): Likewise.
11296 (erf_test): Likewise.
11297 (erfc_test): Likewise.
11298 (exp_test): Likewise.
11299 (exp_test_tonearest): Likewise.
11300 (exp_test_towardzero): Likewise.
11301 (exp_test_downward): Likewise.
11302 (exp_test_upward): Likewise.
11303 (exp10_test): Likewise.
11304 (exp10_test_tonearest): Likewise.
11305 (exp10_test_towardzero): Likewise.
11306 (exp10_test_downward): Likewise.
11307 (exp10_test_upward): Likewise.
11308 (pow10_test): Likewise.
11309 (exp2_test): Likewise.
11310 (expm1_test): Likewise.
11311 (expm1_test_tonearest): Likewise.
11312 (expm1_test_towardzero): Likewise.
11313 (expm1_test_downward): Likewise.
11314 (expm1_test_upward): Likewise.
11315 (fabs_test): Likewise.
11316 (fdim_test): Likewise.
11317 (floor_test): Likewise.
11318 (fma_test): Likewise.
11319 (fma_test_towardzero): Likewise.
11320 (fma_test_downward): Likewise.
11321 (fma_test_upward): Likewise.
11322 (fmax_test): Likewise.
11323 (fmin_test): Likewise.
11324 (fmod_test): Likewise.
11325 (fpclassify_test): Likewise.
11326 (frexp_test): Likewise.
11327 (hypot_test): Likewise.
11328 (ilogb_test): Likewise.
11329 (isfinite_test): Likewise.
11330 (finite_test): Likewise.
11331 (isgreater_test): Likewise.
11332 (isgreaterequal_test): Likewise.
11333 (isinf_test): Likewise.
11334 (isless_test): Likewise.
11335 (islessequal_test): Likewise.
11336 (islessgreater_test): Likewise.
11337 (isnan_test): Likewise.
11338 (isnormal_test): Likewise.
11339 (issignaling_test): Likewise.
11340 (isunordered_test): Likewise.
11341 (j0_test): Likewise.
11342 (j1_test): Likewise.
11343 (jn_test): Likewise.
11344 (ldexp_test): Likewise.
11345 (lgamma_test): Likewise.
11346 (gamma_test): Likewise.
11347 (lrint_test): Likewise.
11348 (lrint_test_tonearest): Likewise.
11349 (lrint_test_towardzero): Likewise.
11350 (lrint_test_downward): Likewise.
11351 (lrint_test_upward): Likewise.
11352 (llrint_test): Likewise.
11353 (llrint_test_tonearest): Likewise.
11354 (llrint_test_towardzero): Likewise.
11355 (llrint_test_downward): Likewise.
11356 (llrint_test_upward): Likewise.
11357 (log_test): Likewise.
11358 (log10_test): Likewise.
11359 (log1p_test): Likewise.
11360 (log2_test): Likewise.
11361 (logb_test): Likewise.
11362 (logb_test_downward): Likewise.
11363 (lround_test): Likewise.
11364 (llround_test): Likewise.
11365 (modf_test): Likewise.
11366 (nearbyint_test): Likewise.
11367 (nextafter_test): Likewise.
11368 (nexttoward_test): Likewise.
11369 (pow_test): Likewise.
11370 (pow_test_tonearest): Likewise.
11371 (pow_test_towardzero): Likewise.
11372 (pow_test_downward): Likewise.
11373 (pow_test_upward): Likewise.
11374 (remainder_test): Likewise.
11375 (drem_test): Likewise.
11376 (remainder_test_tonearest): Likewise.
11377 (drem_test_tonearest): Likewise.
11378 (remainder_test_towardzero): Likewise.
11379 (drem_test_towardzero): Likewise.
11380 (remainder_test_downward): Likewise.
11381 (drem_test_downward): Likewise.
11382 (remainder_test_upward): Likewise.
11383 (drem_test_upward): Likewise.
11384 (remquo_test): Likewise.
11385 (rint_test): Likewise.
11386 (rint_test_tonearest): Likewise.
11387 (rint_test_towardzero): Likewise.
11388 (rint_test_downward): Likewise.
11389 (rint_test_upward): Likewise.
11390 (round_test): Likewise.
11391 (scalb_test): Likewise.
11392 (scalbn_test): Likewise.
11393 (scalbln_test): Likewise.
11394 (signbit_test): Likewise.
11395 (sin_test): Likewise.
11396 (sin_test_tonearest): Likewise.
11397 (sin_test_towardzero): Likewise.
11398 (sin_test_downward): Likewise.
11399 (sin_test_upward): Likewise.
11400 (sincos_test): Likewise.
11401 (sinh_test): Likewise.
11402 (sinh_test_tonearest): Likewise.
11403 (sinh_test_towardzero): Likewise.
11404 (sinh_test_downward): Likewise.
11405 (sinh_test_upward): Likewise.
11406 (sqrt_test): Likewise.
11407 (sqrt_test_tonearest): Likewise.
11408 (sqrt_test_towardzero): Likewise.
11409 (sqrt_test_downward): Likewise.
11410 (sqrt_test_upward): Likewise.
11411 (tan_test): Likewise.
11412 (tan_test_tonearest): Likewise.
11413 (tan_test_towardzero): Likewise.
11414 (tan_test_downward): Likewise.
11415 (tan_test_upward): Likewise.
11416 (tanh_test): Likewise.
11417 (tgamma_test): Likewise.
11418 (trunc_test): Likewise.
11419 (y0_test): Likewise.
11420 (y1_test): Likewise.
11421 (yn_test): Likewise.
11422 (significand_test): Likewise.
11424 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11425 individual tests in comment.
11426 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11427 (prev_max_error): New variable.
11428 (prev_real_max_error): Likewise.
11429 (prev_imag_max_error): Likewise.
11430 (compare_ulp_data): Don't refer to test names in comment.
11431 (find_test_ulps): Remove function.
11432 (find_function_ulps): Likewise.
11433 (find_complex_function_ulps): Likewise.
11434 (init_max_error): Take function name as argument. Look up ulps
11436 (print_ulps): Remove function.
11437 (print_max_error): Use prev_max_error instead of calling
11438 find_function_ulps.
11439 (print_complex_max_error): Use prev_real_max_error and
11440 prev_imag_max_error instead of calling find_complex_function_ulps.
11441 (check_float_internal): Take max_ulp parameter instead of calling
11442 find_test_ulps. Don't call print_ulps.
11443 (check_float): Update call to check_float_internal.
11444 (check_complex): Update calls to check_float_internal.
11445 (START): Pass argument to init_max_error.
11446 * math/gen-libm-test.pl (%results): Don't include "kind"
11448 (parse_ulps): Don't handle ulps of individual tests.
11449 (print_ulps_file): Likewise.
11450 (output_ulps): Likewise.
11451 * math/README.libm-test: Update.
11452 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11454 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11455 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11456 * sysdeps/arm/libm-test-ulps: Likewise.
11457 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11458 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11459 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11460 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11461 * sysdeps/microblaze/libm-test-ulps: Likewise.
11462 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11463 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11465 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11466 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11467 * sysdeps/sh/libm-test-ulps: Likewise.
11468 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11469 * sysdeps/tile/libm-test-ulps: Likewise.
11470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11472 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11474 * math/libm-test.inc (print_complex_max_error): Check separately
11475 whether real and imaginary errors are within allowed range and
11476 pass 0 to print_complex_function_ulps instead of value within
11479 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11481 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11483 (get_handles_fopen): Likewise.
11484 (do_write_test): Likewise.
11486 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11488 * libio/fileops.c (do_ftell): Use cached offset when
11490 * libio/iofwide.c (do_ftell_wide): Likewise.
11491 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11493 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11496 * libio/libioP.h (get_file_offset): New function.
11497 * libio/fileops.c (get_file_offset): Likewise.
11498 (do_ftell): Likewise.
11499 (_IO_new_file_seekoff): Split out ftell logic.
11500 * libio/wfileops.c (do_ftell_wide): Likewise.
11501 (_IO_wfile_seekoff): Split out ftell logic.
11502 * libio/tst-ftell-active-handler.c: New test case.
11503 * libio/Makefile (tests): Add it.
11505 2014-03-03 Roland McGrath <roland@hack.frob.com>
11507 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11508 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11510 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11513 * nscd/connections.c (nscd_init): Call do_exit.
11514 (start_threads): Call do_exit and notify_parent.
11515 (begin_drop_privileges): Call do_exit.
11516 (finish_drop_privileges): Likewise.
11517 * nscd/selinux.c (preserve_capabilities): Likewise.
11518 (install_real_capabilities): Likewise.
11519 (nscd_selinux_enabled): Likewise.
11520 (avc_create_thread): Likewise.
11521 (avc_alloc_lock): Likewise.
11522 (nscd_avc_init): Likewise.
11523 * nscd/nscd.c (parent_fd): New static variable.
11524 (main): Create a pipe between parent and child processes.
11525 Skip closing parent_fd.
11526 (monitor_child): New function.
11527 (do_exit): Likewise.
11528 (notify_parent): Likewise.
11529 * nscd/nscd.h (notify_parent): Likewise.
11530 (do_exit): Likewise.
11532 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11534 * malloc/malloc.c (__libc_calloc): Revert last change.
11536 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11540 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11542 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11546 (__libc_ifunc_impl_list): Likewise.
11547 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11548 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11549 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11550 * string/strrchr.c: Define STRRCHR.
11552 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11554 * benchtest/bench-strtok.c (simple_strtok): Delete.
11555 (strtok_string): Use as benchmark.
11556 * string/strtok (STRTOK): New macro.
11558 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11560 * manual/threads.texi: Add header and standard comments to all
11563 * elf/dl-lookup.c (check_match): New function.
11564 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11565 (do_lookup_x): Remove nested function check_match. Use non-nested
11566 function check_match.
11568 2014-02-28 Roland McGrath <roland@hack.frob.com>
11570 * csu/Makefile (generated, before-compile): Use += rather than =.
11571 * catgets/Makefile (generated, generated-dirs): Likewise.
11572 * debug/Makefile (generated): Likewise.
11573 * dlfcn/Makefile (generated): Likewise.
11574 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11575 * iconvdata/Makefile (before-compile, generated): Likewise.
11576 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11577 * libio/Makefile (generated): Likewise.
11578 * malloc/Makefile (generated): Likewise.
11579 * manual/Makefile (generated, generated-dirs): Likewise.
11580 * misc/Makefile (generated): Likewise.
11581 * posix/Makefile (generated): Likewise.
11582 * resolv/Makefile (generated): Likewise.
11583 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11584 * timezone/Makefile (generated, generated-dirs): Likewise.
11586 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11588 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11591 power8 implementation.
11592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11593 file: POWER8 llround ifunc implementation.
11594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11595 (__lllround): Add POWER8 implementation.
11596 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11597 POWER8 llround implementation.
11599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11600 power8 implementation.
11601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11602 file: POWER8 llrint ifunc implementation.
11603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11604 Add POWER8 implementation.
11605 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11606 POWER8 llrint implementation.
11608 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11609 power8 implementation.
11610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11611 file: POWER8 finite ifunc implementation.
11612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11613 Add POWER8 implementation.
11614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11616 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11617 POWER8 finite implementation.
11618 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11620 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11621 power8 implementation.
11622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11623 file: POWER8 isinf ifunc implementation.
11624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11625 POWER8 implementation.
11626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11628 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11629 isinf implementation.
11630 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11632 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11633 (INIT_ARCH): Add hwcap2 initialization.
11634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11635 power8 implementation.
11636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11637 file: POWER8 isnan ifunc implementation.
11638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11639 POWER8 implementation.
11640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11642 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11643 isnan implementation.
11644 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11646 2014-02-27 Joey Ye <joey.ye@arm.com>
11648 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11649 (_FP_NANFRAC_Q): Set to zero.
11651 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11654 * math/auto-libm-test-in: New test inputs.
11655 * math/auto-libm-test-out: Regenerate.
11656 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11659 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11661 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11663 * scripts/evaluate-test.sh: Take new argument indicating whether
11664 failure is expected.
11665 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11666 indicating whether failure is expected.
11667 * conform/Makefile (test-xfail-run-conformtest): New variable.
11668 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11670 * posix/Makefile (test-xfail-annexc): New variable.
11671 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11673 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11675 * argp/Makefile: Include Makeconfig immediately after defining
11677 * assert/Makefile: Likewise.
11678 * benchtests/Makefile: Likewise.
11679 * catgets/Makefile: Likewise.
11680 * conform/Makefile: Likewise.
11681 * crypt/Makefile: Likewise.
11682 * csu/Makefile: Likewise.
11683 (all): Remove target.
11684 * ctype/Makefile: Include Makeconfig immediately after defining
11686 * debug/Makefile: Likewise.
11687 * dirent/Makefile: Likewise.
11688 * dlfcn/Makefile: Likewise.
11689 * gmon/Makefile: Likewise.
11690 * gnulib/Makefile: Likewise.
11691 * grp/Makefile: Likewise.
11692 * gshadow/Makefile: Likewise.
11693 * hesiod/Makefile: Likewise.
11694 * hurd/Makefile: Likewise.
11695 (all): Remove target.
11696 * iconvdata/Makefile: Include Makeconfig immediately after
11698 * inet/Makefile: Likewise.
11699 * intl/Makefile: Likewise.
11700 * io/Makefile: Likewise.
11701 * libio/Makefile: Likewise.
11702 (all): Remove target.
11703 * locale/Makefile: Include Makeconfig immediately after defining
11705 * login/Makefile: Likewise.
11706 * mach/Makefile: Likewise.
11707 (all): Remove target.
11708 * malloc/Makefile: Include Makeconfig immediately after defining
11710 (all): Remove target.
11711 * manual/Makefile: Include Makeconfig immediately after defining
11713 * math/Makefile: Likewise.
11714 * misc/Makefile: Likewise.
11715 * nis/Makefile: Likewise.
11716 * nss/Makefile: Likewise.
11717 * po/Makefile: Likewise.
11718 (all): Remove target.
11719 * posix/Makefile: Include Makeconfig immediately after defining
11721 * pwd/Makefile: Likewise.
11722 * resolv/Makefile: Likewise.
11723 * resource/Makefile: Likewise.
11724 * rt/Makefile: Likewise.
11725 * setjmp/Makefile: Likewise.
11726 * shadow/Makefile: Likewise.
11727 * signal/Makefile: Likewise.
11728 * socket/Makefile: Likewise.
11729 * soft-fp/Makefile: Likewise.
11730 * stdio-common/Makefile: Likewise.
11731 * stdlib/Makefile: Likewise.
11732 * streams/Makefile: Likewise.
11733 * string/Makefile: Likewise.
11734 * sunrpc/Makefile: Likewise.
11735 (all): Remove target.
11736 * sysvipc/Makefile: Include Makeconfig immediately after defining
11738 * termios/Makefile: Likewise.
11739 * time/Makefile: Likewise.
11740 * timezone/Makefile: Likewise.
11741 (all): Remove target.
11742 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11744 * wctype/Makefile: Likewise.
11746 2014-02-26 Steve Ellcey <sellcey@mips.com>
11748 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11749 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11750 (libc_feholdexcept_setround_mips): Ditto.
11751 (libc_feholdsetround): New.
11752 (libc_feholdsetroundf): New.
11753 (libc_feholdsetroundl): New.
11754 (libc_feupdateenv_test_mips): New.
11755 (libc_feupdateenv_test): New.
11756 (libc_feupdateenv_testf): New.
11757 (libc_feupdateenv_testl): New.
11758 (libc_feresetround): New.
11759 (libc_feresetroundf): New.
11760 (libc_feresetroundl): New.
11761 (libc_fetestexcept_mips): New.
11762 (libc_fetestexcept): New.
11763 (libc_fetestexceptf): New.
11764 (libc_fetestexceptl): New.
11765 (HAVE_RM_CTX): New.
11766 (libc_feholdexcept_setround_mips_ctx): New.
11767 (libc_feholdexcept_setround_ctx): New.
11768 (libc_feholdexcept_setroundf_ctx): New.
11769 (libc_feholdexcept_setroundl_ctx): New.
11770 (libc_fesetenv_mips_ctx): New.
11771 (libc_fesetenv_ctx): New.
11772 (libc_fesetenv_ctxf): New.
11773 (libc_fesetenv_ctxl): New.
11774 (libc_feupdateenv_mips_ctx): New.
11775 (libc_feupdateenv_ctx): New.
11776 (libc_feupdateenvf_ctx): New.
11777 (libc_feupdateenvl_ctx): New.
11778 (libc_feholdsetround_mips_ctx): New.
11779 (libc_feholdsetround_ctx): New.
11780 (libc_feholdsetroundf_ctx): New.
11781 (libc_feholdsetroundl_ctx): New.
11782 (libc_feresetround_mips_ctx): New.
11783 (libc_feresetround_ctx): New.
11784 (libc_feresetroundf_ctx): New.
11785 (libc_feresetroundl_ctx): New.
11787 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11789 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11791 * manual/ipc.texi: New file.
11792 * manual/Makefile (chapters): Add ipc.
11793 * manual/job.texi: Add "Inter-Process Communication" to next.
11794 * manual/process.texi: Add "Inter-Process Communication" to prev.
11796 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11800 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11802 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11804 * manual/arith.texi: Fix spaces after sentences.
11805 * manual/charset.texi: Likewise.
11806 * manual/errno.texi: Likewise.
11807 * manual/install.texi: Likewise.
11808 * manual/llio.texi: Likewise.
11809 * manual/locale.texi: Likewise.
11810 * manual/maint.texi: Likewise.
11811 * manual/math.texi: Likewise.
11812 * manual/memory.texi: Likewise.
11813 * manual/message.texi: Likewise.
11814 * manual/probes.texi: Likewise.
11815 * manual/resource.texi: Likewise.
11816 * manual/signal.texi: Likewise.
11817 * manual/socket.texi: Likewise.
11818 * manual/stdio.texi: Likewise.
11819 * manual/string.texi: Likewise.
11820 * manual/time.texi: Likewise.
11821 * manual/users.texi: Likewise.
11823 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11826 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11827 _DEFAULT_SOURCE is defined.
11829 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11830 Carlos O'Donell <carlos@redhat.com>
11833 * elf/dl-tls.c (_dl_count_modids): New function.
11834 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11835 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11836 audit library and increment generation counter.
11837 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11838 * elf/tst-audit9.c: New file.
11839 * elf/tst-auditmod9a.c: New file.
11840 * elf/tst-auditmod9b.c: New file.
11841 * elf/Makefile: Add rules to build and run tst-audit9.
11843 2014-02-25 Florian Weimer <fweimer@redhat.com>
11846 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11848 2014-02-25 Will Newton <will.newton@linaro.org>
11850 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11851 (__longjmp): Restore sp and lr before restoring callee
11852 saved registers. Add longjmp and longjmp_target
11853 SystemTap probe point.
11854 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11855 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11856 Define to zero to match jmpbuf layout.
11857 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11858 (__sigsetjmp): Save sp and lr before saving callee
11859 saved registers. Add setjmp SystemTap probe point.
11861 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11863 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11865 2014-02-24 Andreas Schwab <schwab@suse.de>
11868 * elf/pldd.c (wait_for_ptrace_stop): New function.
11869 (main): Call it after attaching.
11871 2014-02-22 Roland McGrath <roland@hack.frob.com>
11873 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11874 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11875 Versions files is now verboten.
11876 * hurd/Versions (libc: GLIBC_2.0):
11877 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11878 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11879 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11880 * mach/Versions: Likewise.
11882 * csu/Versions: Remove unused %include.
11883 * resolv/Versions: Likewise.
11885 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11887 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11888 ($(objpfx)check-local-headers.out): Likewise.
11889 ($(objpfx)begin-end-check.out): Likewise.
11890 * Makerules (check-abi-%.out): Likewise.
11891 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11892 ($(objpfx)test2.cat): Likewise.
11893 ($(objpfx)de/libc.cat): Likewise.
11894 ($(objpfx)test-gencat.out): Likewise.
11895 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11896 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11897 ($(objpfx)noload-mem): Likewise.
11898 ($(objpfx)tst-pathopt.out): Likewise.
11899 ($(objpfx)tst-rtld-load-self.out): Likewise.
11900 ($(objpfx)tst-array1-cmp.out): Likewise.
11901 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11902 ($(objpfx)tst-array2-cmp.out): Likewise.
11903 ($(objpfx)tst-array3-cmp.out): Likewise.
11904 ($(objpfx)tst-array4-cmp.out): Likewise.
11905 ($(objpfx)tst-array5-cmp.out): Likewise.
11906 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11907 ($(objpfx)check-textrel.out): Likewise.
11908 ($(objpfx)check-execstack.out): Likewise.
11909 ($(objpfx)check-localplt.out): Likewise.
11910 ($(objpfx)order2-cmp.out): Likewise.
11911 ($(objpfx)tst-leaks1-mem): Likewise.
11912 ($(objpfx)tst-leaks1-static-mem): Likewise.
11913 ($(objpfx)tst-initorder-cmp.out): Likewise.
11914 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11915 ($(objpfx)tst-unused-dep.out): Likewise.
11916 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11917 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11918 * iconv/Makefile (test-iconvconfig): Likewise.
11919 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11920 ($(objpfx)iconv-test.out): Likewise.
11921 ($(objpfx)tst-tables.out): Likewise.
11922 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11923 ($(objpfx)tst-gettext.out): Likewise.
11924 ($(objpfx)tst-translit.out): Likewise.
11925 ($(objpfx)tst-gettext2.out): Likewise.
11926 ($(objpfx)tst-gettext4.out): Likewise.
11927 ($(objpfx)tst-gettext6.out): Likewise.
11928 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11929 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11930 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11931 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11932 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11933 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11934 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11935 ($(objpfx)wordexp-tst.out): Likewise.
11936 ($(objpfx)annexc.out): Likewise.
11937 ($(objpfx)tst-fnmatch-mem): Likewise.
11938 ($(objpfx)bug-regex2-mem): Likewise.
11939 ($(objpfx)bug-regex14-mem): Likewise.
11940 ($(objpfx)bug-regex21-mem): Likewise.
11941 ($(objpfx)bug-regex31-mem): Likewise.
11942 ($(objpfx)tst-vfork3-mem): Likewise.
11943 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11944 ($(objpfx)tst-pcre-mem): Likewise.
11945 ($(objpfx)tst-boost-mem): Likewise.
11946 ($(objpfx)tst-getconf.out): Likewise.
11947 ($(objpfx)bug-ga2-mem): Likewise.
11948 ($(objpfx)bug-glob2-mem): Likewise.
11949 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11950 ($(objpfx)mtrace-tst-leaks2): Likewise.
11951 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11952 ($(objpfx)tst-printf.out): Likewise.
11953 ($(objpfx)tst-setvbuf1.out): Likewise.
11954 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11955 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11956 ($(objpfx)tst-fmtmsg.out): Likewise.
11957 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11958 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11960 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11961 * bits/sigaction.h [__USE_MISC]: Likewise.
11962 * bits/waitstatus.h: Update #endif comments.
11963 * ctype/ctype.h: Likewise.
11964 * dirent/dirent.h: Likewise.
11965 [__USE_MISC]: Remove redundant conditionals.
11966 * grp/grp.h: Update #endif comments.
11967 [__USE_GNU]: Remove redundant conditionals.
11968 [__USE_MISC]: Likewise.
11969 * inet/netinet/in.h [__USE_GNU]: Likewise.
11970 * io/sys/stat.h [__USE_MISC]: Likewise.
11971 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11972 * libio/bits/stdio.h: Update #endif comments.
11973 [__USE_MISC]: Remove redundant conditionals.
11974 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11975 * libio/stdio.h: Update #endif comments.
11976 [__USE_MISC]: Remove redundant conditionals.
11977 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11978 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11979 * math/math.h: Update #else and #endif comments.
11980 [__USE_MISC]: Remove redundant conditionals.
11981 * misc/sys/uio.h: Update #endif comments.
11982 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11983 * posix/glob.h [__USE_MISC]: Likewise.
11984 * posix/sys/types.h: Update #endif comments.
11985 [__USE_MISC]: Remove redundant conditionals.
11986 * posix/sys/wait.h: Update #endif comments.
11987 [__USE_MISC]: Remove redundant conditionals.
11988 * posix/unistd.h: Update #endif comments.
11989 [__USE_MISC]: Remove redundant conditionals.
11990 * pwd/pwd.h [__USE_GNU]: Likewise.
11991 [__USE_MISC]: Likewise.
11992 * resolv/netdb.h [__USE_GNU]: Likewise.
11993 * signal/signal.h: Update #endif comments.
11994 [__USE_MISC]: Remove redundant conditionals.
11995 * stdlib/stdlib.h: Update #else and #endif comments.
11996 [__USE_MISC]: Remove redundant conditionals.
11997 [__USE_GNU]: Likewise.
11998 * string/bits/string2.h [__USE_MISC]: Likewise.
11999 * string/string.h: Update #endif comments.
12000 [__USE_MISC]: Remove redundant conditionals.
12001 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12003 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12004 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12005 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12007 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12009 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12011 [__USE_MISC]: Remove redundant conditionals.
12012 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12013 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12014 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12015 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12016 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12018 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12019 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12021 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12022 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12024 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12026 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12027 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12029 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12031 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12032 * sysdeps/x86/bits/string.h: Update #endif comments.
12033 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12035 * time/sys/time.h: Update #endif comments.
12036 * time/time.h: Likewise.
12037 [__USE_MISC]: Remove redundant conditionals.
12039 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12042 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12044 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12046 * Versions.def (librt): Add GLIBC_2.17.
12048 2014-02-21 Adam Conrad <adconrad@0c3.net>
12050 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12051 synonym for _SYS_AUXV_H to allow direct inclusion.
12052 * sysdeps/sparc/bits/hwcap.h: Likewise.
12053 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12054 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12055 * sysdeps/sparc/sysdep.h: Likewise.
12057 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12059 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12061 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12063 * benchtests/bench-strrchr.c: Print length instead of position.
12065 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12068 * sysdeps/unix/sysv/linux/kernel-features.h
12069 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12070 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12071 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12072 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12074 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12075 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12076 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12077 (__ASSUME_SENDMMSG): Define instead of using previous
12078 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12079 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12080 (__ASSUME_SENDMMSG_SYSCALL): Define.
12081 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12082 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12084 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12085 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12087 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12088 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12090 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12091 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12092 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12093 [__ASSUME_SENDMMSG]: Change conditionals to
12094 [__ASSUME_SENDMMSG_SOCKETCALL].
12095 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12096 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12098 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12099 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12101 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12102 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12103 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12104 [!__ASSUME_SENDMMSG]: Change conditional to
12105 [!__ASSUME_SENDMMSG_SOCKETCALL].
12106 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12107 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12111 * sysdeps/unix/sysv/linux/kernel-features.h
12112 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12113 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12114 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12115 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12116 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12117 [__i386__ || __sparc__]
12118 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12119 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12120 (__ASSUME_RECVMMSG): Define instead of using previous
12121 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12122 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12123 (__ASSUME_RECVMMSG_SYSCALL): Define.
12124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12125 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12127 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12128 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12130 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12131 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12133 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12134 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12135 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12136 [__ASSUME_RECVMMSG]: Change condition to
12137 [__ASSUME_RECVMMSG_SOCKETCALL].
12138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12139 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12141 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12142 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12143 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12145 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12146 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12147 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12148 [!__ASSUME_RECVMMSG]: Change condition to
12149 [!__ASSUME_RECVMMSG_SOCKETCALL].
12150 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12151 (__ASSUME_RECVMMSG_SYSCALL): Define.
12154 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12155 __powerpc__ || __s390__ || __sh__ || __sparc__]
12156 (__ASSUME_SOCKETCALL): Define.
12157 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12158 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12159 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12160 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12161 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12162 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12163 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12164 (__ASSUME_ACCEPT4): Define instead of using previous
12165 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12166 __powerpc__ || __sparc__ || __s390__)] condition.
12167 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12168 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12169 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12170 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12171 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12172 [!__ASSUME_ACCEPT4]: Change condition to
12173 [!__ASSUME_ACCEPT4_SOCKETCALL].
12174 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12175 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12176 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12177 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12178 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12179 __ASSUME_ACCEPT4_SYSCALL.
12180 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12181 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12182 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12183 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12184 __ASSUME_ACCEPT4_SYSCALL.
12185 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12186 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12187 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12188 [__ASSUME_ACCEPT4]: Change condition to
12189 [__ASSUME_ACCEPT4_SOCKETCALL].
12190 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12191 (__ASSUME_SOCKETCALL): Define.
12192 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12194 (__ASSUME_SOCKETCALL): Define.
12195 (__ASSUME_ACCEPT4): Remove.
12196 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12198 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12199 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12201 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12202 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12204 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12206 (HWCAP_ARM_LPAE): Likewise.
12207 (HWCAP_ARM_EVTSTRM): Likewise.
12208 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12209 Add vpfd32, lpae and evtstrm.
12210 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12213 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12215 * math/auto-libm-test-in: Add tests of clog10.
12216 * math/auto-libm-test-out: Regenerated.
12217 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12218 * sysdeps/i386/fpu/libm-test-ulps: Update.
12219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12221 2014-02-18 Andreas Schwab <schwab@suse.de>
12224 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12225 Store non-zero if the second buffer was newly allocated.
12226 (send_dg): Likewise.
12227 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12228 to send_vc and send_dg.
12229 (res_nsend): Pass NULL for ansp2_malloced.
12230 * resolv/res_query.c (__libc_res_nquery): Add parameter
12231 answerp2_malloced and pass it down to __libc_res_nsend.
12232 (res_nquery): Pass additional NULL to __libc_res_nquery.
12233 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12234 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12235 second answer buffer if answerp2_malloced was set.
12236 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12237 (__libc_res_nquerydomain): Add parameter
12238 answerp2_malloced and pass it down to __libc_res_nquery.
12239 (res_nquerydomain): Pass additional NULL to
12240 __libc_res_nquerydomain.
12241 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12242 additional NULL to __libc_res_nsend and __libc_res_nquery.
12243 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12244 additional NULL to __libc_res_nsearch.
12245 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12246 parameter of __libc_res_nsearch to check for separately allocated
12248 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12250 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12251 additional NULL to __libc_res_nquery.
12252 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12253 __libc_res_nsearch.
12254 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12255 * include/resolv.h: Update prototypes of __libc_res_nquery,
12256 __libc_res_nsearch, __libc_res_nsend.
12258 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12260 * math/auto-libm-test-in: Add tests of fma.
12261 * math/auto-libm-test-out: Regenerated.
12262 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12263 (fma_towardzero_test_data): Likewise.
12264 (fma_downward_test_data): Likewise.
12265 (fma_upward_test_data): Likewise.
12266 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12268 (rounding_modes): Add values for new field.
12269 (func_calc_method): Add value mpfr_fff_f.
12270 (func_calc_desc): Add mpfr_fff_f union field.
12271 (test_function): Add field exact_args.
12272 (FUNC): Add macro argument EXACT_ARGS.
12273 (FUNC_mpfr_f_f): Update call to FUNC.
12274 (FUNC_mpfr_f_f): Likewise.
12275 (FUNC_mpfr_ff_f): Likewise.
12276 (FUNC_mpfr_if_f): Likewise.
12277 (FUNC_mpc_c_f): Likewise.
12278 (FUNC_mpc_c_c): Likewise.
12279 (test_functions): Add fma. Update calls to FUNC.
12280 (handle_input_arg): Add argument exact_args.
12281 (add_test): Update call to handle_input_arg.
12282 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12283 (output_for_one_input_case): Update call to calc_generic_results.
12284 Recalculate exact zero results in each rounding mode.
12286 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12287 non-negative before setting low bit.
12288 * math/auto-libm-test-in: Mark one asin test possibly having
12289 spurious underflow.
12290 * math/auto-libm-test-out: Regenerated.
12291 * sysdeps/i386/fpu/libm-test-ulps: Update.
12292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12294 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12296 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12297 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12298 ports/sysdeps/unix/sysv/linux/microblaze.
12299 * README: Add missing listing for microblaze*-*-linux-gnu.
12301 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12306 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12308 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12309 * sysdeps/unix/sysv/linux/ia64: Move directory from
12310 ports/sysdeps/unix/sysv/linux/ia64.
12311 * README: Update listing for ia64-*-linux-gnu.
12313 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12314 Joseph Myers <joseph@codesourcery.com>
12316 * Makeconfig (test-name): New variable.
12317 (evaluate-test): Likewise.
12318 * Makerules (do-test-clean): Remove .test-result files.
12319 (common-mostlyclean): Likewise.
12320 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12321 * scripts/evaluate-test.sh: New file.
12323 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12325 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12326 separate $(objpfx)tst-fopenloc-cmp.out and
12327 $(objpfx)tst-fopenloc-mem.out targets.
12328 (tests): Update dependencies.
12329 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12330 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12331 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12332 (tst-rxspencer-no-utf8-ARGS): New variable.
12333 (tst-rxspencer-no-utf8-ENV): Likewise.
12334 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12335 instead of $(objpfx)tst-rxspencer-mem.
12336 ($(objpfx)tst-rxspencer-mem): Change target to
12337 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12338 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12339 * posix/tst-rxspencer-no-utf8.c: New file.
12341 * elf/Makefile ($(objpfx)order.out): Remove rule.
12342 [$(run-built-tests) = yes] (tests): Depend on
12343 $(objpfx)order-cmp.out.
12344 ($(objpfx)order-cmp.out): New rule.
12345 [$(run-built-tests) = yes] (tests): Depend on
12346 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12347 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12348 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12349 $(objpfx)tst-array5-static-cmp.out.
12350 ($(objpfx)tst-array1.out): Remove rule.
12351 ($(objpfx)tst-array1-cmp.out): New rule.
12352 ($(objpfx)tst-array1-static.out): Remove rule.
12353 ($(objpfx)tst-array1-static-cmp.out): New rule.
12354 ($(objpfx)tst-array2.out): Remove rule.
12355 ($(objpfx)tst-array2-cmp.out): New rule.
12356 ($(objpfx)tst-array3.out): Remove rule.
12357 ($(objpfx)tst-array3-cmp.out): New rule.
12358 ($(objpfx)tst-array4.out): Remove rule.
12359 ($(objpfx)tst-array4-cmp.out): New rule.
12360 ($(objpfx)tst-array5.out): Remove rule.
12361 ($(objpfx)tst-array5-cmp.out): New rule.
12362 ($(objpfx)tst-array5-static.out): Remove rule.
12363 ($(objpfx)tst-array5-static-cmp.out): New rule.
12364 [$(run-built-tests) = yes] (tests): Depend on
12365 $(objpfx)order2-cmp.out.
12366 ($(objpfx)order2.out): Remove rule.
12367 ($(objpfx)order2-cmp.out): New rule.
12368 ($(objpfx)tst-initorder.out): Remove rule.
12369 [$(run-built-tests) = yes] (tests): Depend on
12370 $(objpfx)tst-initorder-cmp.out.
12371 ($(objpfx)tst-initorder-cmp.out): New rule.
12372 ($(objpfx)tst-initorder2.out): Remove rule.
12373 [$(run-built-tests) = yes] (tests): Depend on
12374 $(objpfx)tst-initorder2-cmp.out.
12375 ($(objpfx)tst-initorder2-cmp.out): New rule.
12376 [$(run-built-tests) = yes] (tests): Depend on
12377 $(objpfx)tst-unused-dep-cmp.out.
12378 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12379 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12380 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12381 on $(objpfx)tst-setvbuf1-cmp.out.
12382 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12383 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12384 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12385 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12386 ($(objpfx)tst-svc.out): Remove rule.
12387 ($(objpfx)tst-svc-cmp.out): New rule.
12389 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12391 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12392 * ctype/ctype.h [__USE_MISC]: Likewise.
12393 * dirent/dirent.h [__USE_MISC]: Likewise.
12394 * grp/grp.h [__USE_MISC]: Likewise.
12395 * io/fcntl.h [__USE_MISC]: Likewise.
12396 * io/sys/stat.h [__USE_MISC]: Likewise.
12397 * libio/stdio.h [__USE_MISC]: Likewise.
12398 * posix/unistd.h [__USE_MISC]: Likewise.
12399 * pwd/pwd.h [__USE_MISC]: Likewise.
12400 * stdlib.h [__USE_MISC]: Likewise.
12401 * string/bits/string2.h [__USE_MISC]: Likewise.
12402 * string/string.h [__USE_MISC]: Likewise.
12403 * time/time.h [__USE_MISC]: Likewise.
12405 2014-02-13 Andreas Schwab <schwab@suse.de>
12408 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12409 second answer buffer if it was separately allocated.
12411 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12413 * sysdeps/mips/math-tests.h: Include <features.h>.
12414 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12415 (ROUNDING_TESTS_long_double): Do not define.
12416 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12417 (EXCEPTION_TESTS_long_double): Likewise.
12418 * sysdeps/mips/mips64/libm-test-ulps: Update.
12420 * include/features.h (__USE_BSD): Remove macro definitions.
12421 (__USE_SVID): Likewise.
12422 (_BSD_SOURCE): Likewise.
12423 (_SVID_SOURCE): Likewise.
12424 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12425 from definition of _DEFAULT_SOURCE.
12426 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12428 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12429 * bits/mman.h [__USE_BSD]: Likewise.
12430 * bits/termios.h [__USE_BSD]: Likewise.
12431 * bits/waitstatus.h [__USE_BSD]: Likewise.
12432 * ctype/ctype.h [__USE_SVID]: Likewise.
12433 * dirent/dirent.h [__USE_BSD]: Likewise.
12434 * grp/grp.h [__USE_SVID]: Likewise.
12435 [__USE_BSD]: Likewise.
12436 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12437 * io/fcntl.h [__USE_BSD]: Likewise.
12438 * io/ftw.h [__USE_BSD]: Likewise.
12439 * io/sys/stat.h [__USE_BSD]: Likewise.
12440 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12441 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12442 * libio/stdio.h [__USE_SVID]: Likewise.
12443 [__USE_BSD]: Likewise.
12444 * math/math.h [__USE_SVID]: Likewise.
12445 [__USE_BSD]: Likewise.
12446 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12447 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12448 * misc/search.h [__USE_SVID]: Likewise.
12449 * misc/sys/mman.h [__USE_BSD]: Likewise.
12450 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12451 * misc/sys/uio.h [__USE_BSD]: Likewise.
12452 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12453 * posix/glob.h [__USE_BSD]: Likewise.
12454 * posix/regex.h [__USE_BSD]: Likewise.
12455 * posix/sys/types.h [__USE_BSD]: Likewise.
12456 [__USE_SVID]: Likewise.
12457 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12458 * posix/sys/wait.h [__USE_BSD]: Likewise.
12459 [__USE_SVID]: Likewise.
12460 * posix/unistd.h [__USE_BSD]: Likewise.
12461 [__USE_SVID]: Likewise.
12462 * pwd/pwd.h [__USE_SVID]: Likewise.
12463 * resolv/netdb.h [__USE_BSD]: Likewise.
12464 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12465 * signal/signal.h [__USE_BSD]: Likewise.
12466 [__USE_SVID]: Likewise.
12467 * socket/sys/socket.h [__USE_BSD]: Likewise.
12468 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12469 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12470 [__USE_SVID]: Likewise.
12471 * string/bits/string2.h [__USE_BSD]: Likewise.
12472 [__USE_SVID]: Likewise.
12473 * string/bits/string3.h [__USE_BSD]: Likewise.
12474 * string/endian.h [__USE_BSD]: Likewise.
12475 * string/string.h [__USE_SVID]: Likewise.
12476 [__USE_BSD]: Likewise.
12477 * string/strings.h [__USE_BSD]: Likewise.
12478 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12479 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12480 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12481 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12482 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12483 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12485 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12487 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12488 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12490 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12491 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12493 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12495 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12496 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12499 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12501 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12502 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12503 * termios/termios.h [__USE_BSD]: Likewise.
12504 * time/sys/time.h [__USE_BSD]: Likewise.
12505 * time/time.h [__USE_BSD]: Likewise.
12506 [__USE_SVID]: Likewise.
12508 * Makefile (subdir_targets): Remove subdir_lint.out.
12510 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12511 (do-tst-printf): Likewise.
12512 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12513 $(objpfx)tst-printf.out.
12515 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12517 * Makerules (check-abi-%): Change target to
12518 $(objpfx)check-abi-%.out.
12519 (check-abi target): Update dependencies.
12520 (check-abi-pattern variable): Redirect output of diff to $@.
12521 (check-abi variable): Likewise.
12522 * elf/Makefile (check-abi): Update dependencies.
12524 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12526 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12527 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12529 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12530 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12531 value has largest subnormal exponent.
12532 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12533 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12534 * sysdeps/aarch64/soft-fp/sfp-machine.h
12535 (_FP_TININESS_AFTER_ROUNDING): New macro.
12536 * sysdeps/alpha/soft-fp/sfp-machine.h
12537 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12538 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12540 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12541 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12542 * sysdeps/mips/soft-fp/sfp-machine.h
12543 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12544 * sysdeps/powerpc/soft-fp/sfp-machine.h
12545 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12546 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12548 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12549 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12550 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12551 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12552 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12555 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12558 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12561 2014-02-12 Richard Henderson <rth@redhat.com>
12563 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12564 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12565 * sysdeps/unix/sysv/linux/alpha: Move directory from
12566 ports/sysdeps/unix/sysv/linux/alpha.
12567 * README: Update listing for alpha-*-linux-gnu.
12569 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12571 * include/features.h: Update comment documenting feature test
12573 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12575 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12576 (_SVID_SOURCE): Likewise.
12577 (_DEFAULT_SOURCE): Update description of default features.
12578 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12580 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12581 (S_ISVTX): Likewise.
12582 * manual/math.texi (Mathematical Constants): Likewise.
12583 * manual/signal.texi (Interrupted Primitives): Likewise.
12584 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12585 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12586 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12587 Don't refer to _SVID_SOURCE in warning text.
12589 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12591 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12593 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12594 * sysdeps/mips/dl-lookup.c: Remove.
12595 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12597 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12600 * math/auto-libm-test-in: Add testcase for expl.
12601 * math/auto-libm-test-out: Regenerate.
12602 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12603 calculation of unsafe.
12604 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12606 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12608 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12609 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12610 ports/sysdeps/unix/sysv/linux/aarch64.
12611 * README: Update listing for aarch64*-*-linux-gnu.
12613 2014-02-11 Will Newton <will.newton@linaro.org>
12615 * manual/probes.texi (Mathematical Function Probes): Use
12616 "triggered" instead of "hit".
12618 * manual/probes.texi (Internal Probes): Add documentation
12619 of setjmp, longjmp and longjmp_target probes.
12621 * include/stap-probe.h: Add comment about probe argument
12624 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12625 definition. (tr_where, tr_freehook, tr_mallochook,
12626 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12628 2014-02-11 David S. Miller <davem@davemloft.net>
12630 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12631 processing int_tests.
12633 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12635 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12636 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12637 * sysdeps/unix/sysv/linux/mips: Move directory from
12638 ports/sysdeps/unix/sysv/linux/mips.
12639 * README: Update listing for mips-*-linux-gnu and
12640 mips64-*-linux-gnu.
12642 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12644 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12645 * sysdeps/unix/sysv/linux/m68k: Move directory from
12646 ports/sysdeps/unix/sysv/linux/m68k.
12647 * README: Update listing for m68k-*-linux-gnu.
12649 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12651 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12652 * sysdeps/unix/sysv/linux/generic: Move directory from
12653 ports/sysdeps/unix/sysv/linux/generic.
12654 * sysdeps/unix/sysv/linux/tile: Move directory from
12655 ports/sysdeps/unix/sysv/linux/tile.
12656 * README: Update listing for tile*-*-linux-gnu.
12658 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12660 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12662 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12663 * catgets/open_catalog.c (__open_catalog): Likewise.
12664 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12665 * debug/confstr_chk.c: Likewise.
12666 * debug/fread_chk.c (__fread_chk): Likewise.
12667 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12668 * debug/getgroups_chk.c: Likewise.
12669 * debug/mbsnrtowcs_chk.c: Likewise.
12670 * debug/mbsrtowcs_chk.c: Likewise.
12671 * debug/mbstowcs_chk.c: Likewise.
12672 * debug/memcpy_chk.c: Likewise.
12673 * debug/memmove_chk.c: Likewise.
12674 * debug/mempcpy_chk.c: Likewise.
12675 * debug/memset_chk.c: Likewise.
12676 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12677 * debug/strcat_chk.c (__strcat_chk): Likewise.
12678 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12679 * debug/strncat_chk.c (__strncat_chk): Likewise.
12680 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12681 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12682 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12683 * debug/wcpncpy_chk.c: Likewise.
12684 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12685 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12686 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12687 * debug/wcsncpy_chk.c: Likewise.
12688 * debug/wcsnrtombs_chk.c: Likewise.
12689 * debug/wcsrtombs_chk.c: Likewise.
12690 * debug/wcstombs_chk.c: Likewise.
12691 * debug/wmemcpy_chk.c: Likewise.
12692 * debug/wmemmove_chk.c: Likewise.
12693 * debug/wmempcpy_chk.c: Likewise.
12694 * debug/wmemset_chk.c: Likewise.
12695 * dirent/scandirat.c (SCANDIRAT): Likewise.
12696 * dlfcn/dladdr1.c (dladdr1): Likewise.
12697 * dlfcn/dladdr.c (dladdr): Likewise.
12698 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12699 * dlfcn/dlerror.c (__dlerror): Likewise.
12700 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12701 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12702 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12703 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12704 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12705 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12706 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12707 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12709 * elf/dl-conflict.c: Likewise.
12710 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12711 * elf/dl-dst.h: Likewise.
12712 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12713 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12714 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12715 * elf/dl-init.c (call_init, _dl_init): Likewise.
12716 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12717 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12718 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12720 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12722 * elf/dl-minimal.c (__libc_memalign): Likewise.
12723 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12724 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12725 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12726 * elf/dl-sym.c (do_sym): Likewise.
12727 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12728 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12729 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12730 * elf/dl-writev.h (_dl_writev): Likewise.
12731 * elf/ldconfig.c (search_dir): Likewise.
12732 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12733 (dl_main): Likewise.
12734 * elf/setup-vdso.h (setup_vdso): Likewise.
12735 * grp/compat-initgroups.c (compat_call): Likewise.
12736 * grp/fgetgrent.c (fgetgrent): Likewise.
12737 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12738 * grp/putgrent.c (putgrent): Likewise.
12739 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12741 * hurd/hurdinit.c: Likewise.
12742 * iconvdata/8bit-gap.c (struct): Likewise.
12743 * iconvdata/ansi_x3.110.c : Likewise.
12744 * iconvdata/big5.c : Likewise.
12745 * iconvdata/big5hkscs.c : Likewise.
12746 * iconvdata/cp1255.c: Likewise.
12747 * iconvdata/cp1258.c : Likewise.
12748 * iconvdata/cp932.c : Likewise.
12749 * iconvdata/euc-cn.c: Likewise.
12750 * iconvdata/euc-jisx0213.c : Likewise.
12751 * iconvdata/euc-jp.c: Likewise.
12752 * iconvdata/euc-jp-ms.c : Likewise.
12753 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12754 * iconvdata/gb18030.c : Likewise.
12755 * iconvdata/gbbig5.c (const): Likewise.
12756 * iconvdata/gbgbk.c: Likewise.
12757 * iconvdata/gbk.c : Likewise.
12758 * iconvdata/ibm1364.c : Likewise.
12759 * iconvdata/ibm930.c : Likewise.
12760 * iconvdata/ibm932.c: Likewise.
12761 * iconvdata/ibm933.c : Likewise.
12762 * iconvdata/ibm935.c : Likewise.
12763 * iconvdata/ibm937.c : Likewise.
12764 * iconvdata/ibm939.c : Likewise.
12765 * iconvdata/ibm943.c: Likewise.
12766 * iconvdata/iso_11548-1.c: Likewise.
12767 * iconvdata/iso-2022-cn.c : Likewise.
12768 * iconvdata/iso-2022-cn-ext.c : Likewise.
12769 * iconvdata/iso-2022-jp-3.c: Likewise.
12770 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12771 * iconvdata/iso-2022-kr.c : Likewise.
12772 * iconvdata/iso646.c (gconv_end): Likewise.
12773 * iconvdata/iso_6937-2.c : Likewise.
12774 * iconvdata/iso_6937.c : Likewise.
12775 * iconvdata/iso8859-1.c: Likewise.
12776 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12777 * iconvdata/shift_jisx0213.c : Likewise.
12778 * iconvdata/sjis.c : Likewise.
12779 * iconvdata/t.61.c : Likewise.
12780 * iconvdata/tcvn5712-1.c : Likewise.
12781 * iconvdata/tscii.c: Likewise.
12782 * iconvdata/uhc.c : Likewise.
12783 * iconvdata/unicode.c (gconv_end): Likewise.
12784 * iconvdata/utf-16.c (gconv_end): Likewise.
12785 * iconvdata/utf-32.c (gconv_end): Likewise.
12786 * iconvdata/utf-7.c (base64): Likewise.
12787 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12788 * iconv/gconv_close.c (__gconv_close): Likewise.
12789 * iconv/gconv_open.c (__gconv_open): Likewise.
12790 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12791 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12792 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12793 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12794 (ucs4le_internal_loop_single): Likewise.
12795 * iconv/iconv.c (iconv): Likewise.
12796 * iconv/iconv_close.c: Likewise.
12797 * iconv/loop.c (SINGLE): Likewise.
12798 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12799 * include/atomic.h: Likewise.
12800 * inet/inet6_option.c (option_alloc): Likewise.
12801 * intl/bindtextdom.c (set_binding_values): Likewise.
12802 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12803 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12804 * intl/localealias.c (read_alias_file): Likewise.
12805 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12806 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12807 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12808 * libio/fmemopen.c (fmemopen): Likewise.
12809 * libio/iofgets.c (_IO_fgets): Likewise.
12810 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12811 * libio/iofgetws.c (fgetws): Likewise.
12812 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12813 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12814 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12815 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12816 * locale/findlocale.c (_nl_find_locale): Likewise.
12817 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12818 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12820 * locale/setlocale.c (setlocale): Likewise.
12821 * login/programs/pt_chown.c (main): Likewise.
12822 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12823 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12824 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12825 (mmap, mmap64, mremap, munmap): Likewise.
12826 * math/e_exp2l.c: Likewise.
12827 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12828 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12829 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12830 * math/s_catan.c (__catan): Likewise.
12831 * math/s_catanf.c (__catanf): Likewise.
12832 * math/s_catanh.c (__catanh): Likewise.
12833 * math/s_catanhf.c (__catanhf): Likewise.
12834 * math/s_catanhl.c (__catanhl): Likewise.
12835 * math/s_catanl.c (__catanl): Likewise.
12836 * math/s_ccosh.c (__ccosh): Likewise.
12837 * math/s_ccoshf.c (__ccoshf): Likewise.
12838 * math/s_ccoshl.c (__ccoshl): Likewise.
12839 * math/s_cexp.c (__cexp): Likewise.
12840 * math/s_cexpf.c (__cexpf): Likewise.
12841 * math/s_cexpl.c (__cexpl): Likewise.
12842 * math/s_clog10.c (__clog10): Likewise.
12843 * math/s_clog10f.c (__clog10f): Likewise.
12844 * math/s_clog10l.c (__clog10l): Likewise.
12845 * math/s_clog.c (__clog): Likewise.
12846 * math/s_clogf.c (__clogf): Likewise.
12847 * math/s_clogl.c (__clogl): Likewise.
12848 * math/s_csin.c (__csin): Likewise.
12849 * math/s_csinf.c (__csinf): Likewise.
12850 * math/s_csinh.c (__csinh): Likewise.
12851 * math/s_csinhf.c (__csinhf): Likewise.
12852 * math/s_csinhl.c (__csinhl): Likewise.
12853 * math/s_csinl.c (__csinl): Likewise.
12854 * math/s_csqrt.c (__csqrt): Likewise.
12855 * math/s_csqrtf.c (__csqrtf): Likewise.
12856 * math/s_csqrtl.c (__csqrtl): Likewise.
12857 * math/s_ctan.c (__ctan): Likewise.
12858 * math/s_ctanf.c (__ctanf): Likewise.
12859 * math/s_ctanh.c (__ctanh): Likewise.
12860 * math/s_ctanhf.c (__ctanhf): Likewise.
12861 * math/s_ctanhl.c (__ctanhl): Likewise.
12862 * math/s_ctanl.c (__ctanl): Likewise.
12863 * math/w_pow.c: Likewise.
12864 * math/w_powf.c: Likewise.
12865 * math/w_powl.c: Likewise.
12866 * math/w_scalb.c (sysv_scalb): Likewise.
12867 * math/w_scalbf.c (sysv_scalbf): Likewise.
12868 * math/w_scalbl.c (sysv_scalbl): Likewise.
12869 * misc/error.c (error_tail): Likewise.
12870 * misc/pselect.c (__pselect): Likewise.
12871 * nis/nis_callback.c (__nis_create_callback): Likewise.
12872 * nis/nis_call.c (__nisfind_server): Likewise.
12873 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12874 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12875 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12876 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12877 * nis/nis_lookup.c (nis_lookup): Likewise.
12878 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12879 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12880 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12881 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12882 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12883 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12884 * nis/nss_compat/compat-initgroups.c (add_group)
12885 (internal_getgrent_r): Likewise.
12886 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12887 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12888 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12889 (internal_getspnam_r): Likewise.
12890 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12891 (_nss_nis_getaliasbyname_r): Likewise.
12892 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12893 (_nss_nis_getntohost_r): Likewise.
12894 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12895 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12896 (_nss_nis_getgrgid_r): Likewise.
12897 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12898 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12899 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12900 (_nss_nis_gethostbyname4_r): Likewise.
12901 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12902 (initgroups_netid): Likewise.
12903 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12904 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12905 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12906 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12907 (_nss_nis_getprotobynumber_r): Likewise.
12908 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12909 (_nss_nis_getsecretkey): Likewise.
12910 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12911 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12912 (_nss_nis_getpwuid_r): Likewise.
12913 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12914 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12915 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12916 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12917 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12918 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12919 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12921 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12922 (_nss_nisplus_getntohost_r): Likewise.
12923 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12924 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12925 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12926 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12928 * nis/nss_nisplus/nisplus-initgroups.c
12929 (_nss_nisplus_initgroups_dyn): Likewise.
12930 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12931 (_nss_nisplus_getnetbyaddr_r): Likewise.
12932 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12933 (_nss_nisplus_getprotobynumber_r): Likewise.
12934 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12935 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12936 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12938 * nis/nss_nisplus/nisplus-service.c
12939 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12940 (_nss_nisplus_getservbyport_r): Likewise.
12941 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12942 (_nss_nisplus_getspnam_r): Likewise.
12943 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12945 * nscd/aicache.c (addhstaiX): Likewise.
12946 * nscd/cache.c (cache_search, prune_cache): Likewise.
12947 * nscd/connections.c (register_traced_file, send_ro_fd)
12948 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12949 (main_loop_epoll): Likewise.
12950 * nscd/grpcache.c (addgrbyX): Likewise.
12951 * nscd/hstcache.c (addhstbyX): Likewise.
12952 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12953 * nscd/mem.c (gc, mempool_alloc): Likewise.
12954 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12955 (addinnetgrX): Likewise.
12956 * nscd/nscd-client.h (__nscd_acquire_maplock)
12957 (__nscd_drop_map_ref): Likewise.
12958 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12959 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12960 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12962 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12963 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12964 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12965 (__nscd_get_map_ref): Likewise.
12966 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12967 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12969 * nscd/pwdcache.c (addpwbyX): Likewise.
12970 * nscd/selinux.c (preserve_capabilities): Likewise.
12971 * nscd/servicescache.c (addservbyX): Likewise.
12972 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12973 * posix/fnmatch.c (fnmatch): Likewise.
12974 * posix/getopt.c (_getopt_internal_r): Likewise.
12975 * posix/glob.c (glob, glob_in_dir): Likewise.
12976 * posix/wordexp.c (exec_comm_child): Likewise.
12977 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12978 (getanswer_r, gaih_getanswer_slice): Likewise.
12979 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12980 * resolv/res_init.c: Likewise.
12981 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12982 * resolv/res_query.c (__libc_res_nquery): Likewise.
12983 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12986 * stdio-common/perror.c (perror): Likewise.
12987 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12988 * stdio-common/tmpnam.c (tmpnam): Likewise.
12989 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12990 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12991 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12993 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12994 * stdlib/putenv.c (putenv): Likewise.
12995 * stdlib/setenv.c (__add_to_environ): Likewise.
12996 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12997 * stdlib/strtol_l.c (INTERNAL): Likewise.
12998 * string/memmem.c (memmem): Likewise.
12999 * string/strerror.c (strerror): Likewise.
13000 * string/strnlen.c (__strnlen): Likewise.
13001 * string/test-memmem.c (simple_memmem): Likewise.
13002 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13003 * sunrpc/pm_getport.c (__get_socket): Likewise.
13004 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13005 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
13006 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13007 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13009 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13010 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13011 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13012 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13013 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13014 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13016 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13018 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13019 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13020 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13021 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13022 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13023 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13024 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13025 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13026 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13027 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13028 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13029 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13031 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13033 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13035 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13036 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13037 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13038 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13039 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13040 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13041 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13042 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13043 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13044 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13045 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13047 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13048 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13049 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13050 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13052 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13056 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13060 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13062 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13063 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13064 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13065 * sysdeps/posix/sleep.c: Likewise.
13066 * sysdeps/posix/tempname.c: Likewise.
13067 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13068 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13070 * sysdeps/powerpc/powerpc32/dl-machine.h
13071 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13072 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13073 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13074 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13075 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13077 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13078 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13079 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13080 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13081 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13082 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13083 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13084 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13085 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13086 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13087 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13088 (elf_machine_lazy_rel): Likewise.
13089 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13090 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13091 (elf_machine_lazy_rel): Likewise.
13092 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13093 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13094 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13095 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13096 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13097 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13098 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13101 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13102 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13103 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13104 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13105 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13106 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13107 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13108 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13109 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13110 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13111 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13113 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13114 (__posix_fallocate64_l64): Likewise.
13115 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13116 (posix_fallocate): Likewise.
13117 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13119 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13120 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13121 (getifaddrs_internal): Likewise.
13122 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13123 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13124 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13125 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13126 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13127 (__posix_fallocate64_l64): Likewise.
13128 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13130 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13131 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13132 (__get_clockfreq): Likewise.
13133 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13134 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13135 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13136 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13137 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13138 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13139 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13140 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13142 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13143 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13144 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13145 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13146 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13147 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13148 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13150 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13151 (posix_fallocate): Likewise.
13152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13153 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13154 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13155 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13156 (elf_machine_rela, elf_machine_rela_relative)
13157 (elf_machine_lazy_rel): Likewise.
13158 * time/asctime.c (asctime_internal): Likewise.
13159 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13160 * time/tzset.c (__tzset_parse_tz): Likewise.
13161 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13162 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13163 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13164 * wcsmbs/wcsmbsload.h: Likewise.
13167 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13169 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13170 (arena_get2): Remove THREAD_STATS conditionals.
13171 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13172 (__malloc_stats, int): Likewise.
13174 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13176 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13177 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13179 * manual/setjmp.texi: Fix typos/grammar errors.
13181 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13182 Only return early when n is <= 0. Delete unused return statement.
13184 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13185 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13186 * debug/tst-longjmp_chk3.c: New file.
13188 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13189 (test_main): Replace code with set_fortify_handler call.
13190 * debug/test-strcpy_chk.c: Likewise.
13191 * debug/tst-chk1.c: Likewise.
13192 * debug/tst-longjmp_chk.c: Likewise.
13193 * test-skeleton.c: Include fcntl.h & paths.h
13194 (set_fortify_handler): Define.
13196 * debug/tst-longjmp_chk.c: Add header comment and include
13197 ../test-skeleton.c.
13198 (do_test): Mark static.
13199 (TEST_FUNCTION): Define.
13201 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13202 (IP_PMTUDISC_INTERFACE): Likewise.
13203 (IP_MULTICAST_IF): Likewise.
13204 (IP_MULTICAST_TTL): Likewise.
13205 (IP_MULTICAST_LOOP): Likewise.
13206 (IP_ADD_MEMBERSHIP): Likewise.
13207 (IP_DROP_MEMBERSHIP): Likewise.
13208 (IP_UNBLOCK_SOURCE): Likewise.
13209 (IP_BLOCK_SOURCE): Likewise.
13210 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13211 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13212 (IP_MSFILTER): Likewise.
13213 (MCAST_JOIN_GROUP): Likewise.
13214 (MCAST_BLOCK_SOURCE): Likewise.
13215 (MCAST_UNBLOCK_SOURCE): Likewise.
13216 (MCAST_LEAVE_GROUP): Likewise.
13217 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13218 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13219 (MCAST_MSFILTER): Likewise.
13220 (IP_MULTICAST_ALL): Likewise.
13221 (IP_UNICAST_IF): Likewise.
13223 * timezone/Makefile: Delete $(have-ksh) check.
13224 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13225 * timezone/tzselect.ksh: Add +x mode bits.
13227 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13228 (ANON_INODE_FS_MAGIC): Likewise.
13229 (BDEVFS_MAGIC): Likewise.
13230 (BINFMTFS_MAGIC): Likewise.
13231 (BTRFS_TEST_MAGIC): Likewise.
13232 (CRAMFS_MAGIC_WEND): Likewise.
13233 (DEBUGFS_MAGIC): Likewise.
13234 (ECRYPTFS_SUPER_MAGIC): Likewise.
13235 (EXT3_SUPER_MAGIC): Likewise.
13236 (EXT4_SUPER_MAGIC): Likewise.
13237 (FUTEXFS_SUPER_MAGIC): Likewise.
13238 (HOSTFS_SUPER_MAGIC): Likewise.
13239 (HUGETLBFS_MAGIC): Likewise.
13240 (MINIX3_SUPER_MAGIC): Likewise.
13241 (MTD_INODE_FS_MAGIC): Likewise.
13242 (NILFS_SUPER_MAGIC): Likewise.
13243 (OPENPROM_SUPER_MAGIC): Likewise.
13244 (PIPEFS_MAGIC): Likewise.
13245 (PSTOREFS_MAGIC): Likewise.
13246 (QNX6_SUPER_MAGIC): Likewise.
13247 (RAMFS_MAGIC): Likewise.
13248 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13249 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13250 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13251 (SECURITYFS_MAGIC): Likewise.
13252 (SELINUX_MAGIC): Likewise.
13253 (SMACK_MAGIC): Likewise.
13254 (SOCKFS_MAGIC): Likewise.
13255 (SQUASHFS_MAGIC): Likewise.
13256 (STACK_END_MAGIC): Likewise.
13257 (TMPFS_MAGIC): Likewise.
13258 (USBDEVICE_SUPER_MAGIC): Likewise.
13259 (V9FS_MAGIC): Likewise.
13260 (XENFS_SUPER_MAGIC): Likewise.
13261 (CRAMFS_MAGIC): Fix typo in comment.
13262 (EXT2_SUPER_MAGIC): Update comment.
13263 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13265 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13267 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13268 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13269 * sysdeps/unix/sysv/linux/arm: Move directory from
13270 ports/sysdeps/unix/sysv/linux/arm.
13271 * README: Update listing for arm-*-linux-gnueabi.
13273 * README: Remove mention of am33.
13275 2014-02-07 Roland McGrath <roland@hack.frob.com>
13277 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13278 than the comma operator, to avoid "rhs of comma has no effect"
13280 (__sigfillset, __sigandset, __sigorset): Likewise.
13281 * include/signal.h (__sigemptyset): Likewise.
13282 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13284 2014-02-07 Allan McRae <allan@archlinux.org>
13286 * version.h (RELEASE): Set to "development".
13287 (VERSION): Set to "2.19.90"
13288 * NEWS: Add 2.20 section.
13290 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13293 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13295 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13297 * manual/contrib.texi: Update entry for Carlos O'Donell,
13298 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13300 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13302 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13304 * sysdeps/unix/sysv/linux/kernel-features.h
13305 [__LINUX_KERNEL_VERSION >= 0x020621]
13306 (__ASSUME_PROC_PID_TASK_COMM): Define.
13308 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13311 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13312 conversion when destination buffer does not have enough space.
13313 * libio/tst-ftell-partial-wide.c: New test case.
13314 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13316 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13317 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13318 Leonard and Allan McRae.
13320 2014-02-04 David S. Miller <davem@davemloft.net>
13322 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13325 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13354 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13356 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13357 * shlib-versions: Likewise.
13359 2014-02-04 Roland McGrath <roland@hack.frob.com>
13360 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13362 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13363 (abilist-pattern): New variable, set to %-le.abilist.
13365 * Makerules (abilist-pattern): New variable.
13366 (vpath): Use $(abilist-pattern) in place of %.abilist.
13367 (check-abi-% pattern rule): Likewise.
13368 (check-abi, update-abi): Likewise.
13370 2014-02-04 Eric Wong <normalperson@yhbt.net>
13372 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13374 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13376 * manual/startup.texi: Add next, previous, and top entries for
13377 the `Program Arguments' and `Environment Variables' nodes.
13379 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13381 * manual/macros.texi: Add comments before MTASC-safety macros.
13383 * manual/users.texi: Document MTASC-safety properties.
13385 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13386 (pthread_getspecific, pthread_setspecific): Format with
13387 @deftypefun, and add @safety note.
13388 * manual/signal.texi: Move comments that analyze the above
13389 functions to their home place.
13391 2014-02-03 Allan McRae <allan@archlinux.org>
13393 * po/sl.po: Update Slovenian translation from translation project.
13395 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13397 * manual/time.texi (timegm): Add missing blank after @c.
13398 Reported by Joseph Myers <joseph@codesourcery.com>.
13400 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13402 * manual/check-safety.sh: New.
13403 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13405 * manual/terminal.texi: Document MTASC-safety properties.
13407 * manual/filesys.texi: Document MTASC-safety properties.
13409 * manual/errno.texi: Document MTASC-safety properties.
13411 * manual/intro.texi: Document safety identifiers and
13414 * manual/string.texi (wcstok): Fix prototype.
13415 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13417 * manual/time.texi: Document MTASC-safety properties.
13419 * manual/string.texi: Document MTASC-safety properties.
13421 * manual/threads.texi: Document MTASC-safety properties.
13423 * manual/stdio.texi: Document MTASC-safety properties.
13425 * manual/syslog.texi: Document MTASC-safety properties.
13427 * manual/sysinfo.texi: Document MTASC-safety properties.
13429 * manual/startup.texi: Document MTASC-safety properties.
13431 * manual/socket.texi: Document MTASC-safety properties.
13433 * manual/signal.texi: Document MTASC-safety properties.
13435 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13437 * manual/setjmp.texi: Document MTASC-safety properties.
13439 * manual/search.texi: Document MTASC-safety properties.
13441 * manual/resource.texi: Document MTASC-safety properties.
13443 * manual/process.texi: Document MTASC-safety properties.
13445 * manual/platform.texi: Document MTASC-safety properties.
13447 * manual/pipe.texi: Document MTASC-safety properties.
13449 * manual/pattern.texi: Document MTASC-safety properties.
13451 * manual/message.texi: Document MTASC-safety properties.
13454 * manual/memory.texi: Document MTASC-safety properties.
13456 * manual/math.texi: Document MTASC-safety properties.
13458 * manual/locale.texi: Document MTASC-safety properties.
13460 * manual/llio.texi: Document MTASC-safety properties.
13462 * manual/libdl.texi: New.
13464 * manual/lang.texi: Document MTASC-safety properties.
13466 * manual/job.texi: Document MTASC-safety properties.
13468 * manual/getopt.texi: Document MTASC-safety properties.
13470 * manual/ctype.texi: Document MTASC-safety properties.
13472 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13475 * csu/libc-tls.c (static_map): Remove variable.
13476 (__libc_setup_tls): Use main executable's link map for TLS data.
13477 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13478 casing for LM_ID_BASE and GL(dl_nns).
13479 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13480 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13481 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13482 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13483 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13485 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13488 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13490 * manual/debug.texi: Document MTASC-safety properties.
13492 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13495 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13496 of __x86_64__ when disabling x87 inline functions.
13498 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13500 * manual/charset.texi: Document MTASC-safety properties.
13502 * manual/crypt.texi: Document MTASC-safety properties.
13504 * manual/conf.texi: Document MTASC-safety properties.
13506 * manual/arith.texi: Document MTASC-safety properties.
13508 * manual/argp.texi: Document MTASC-safety properties.
13510 * manual/macros.texi: Introduce macros to document multi
13511 thread, asynchronous signal and asynchronous cancellation
13513 * manual/intro.texi: Introduce the properties themselves.
13515 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13517 * sysdeps/sh/sh4/Makefile: New file.
13519 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13521 * math/gen-libm-test.pl ($srcdir): New variable.
13522 ($auto_input): Use it.
13524 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13527 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13528 access beyond array bounds when parsing netgroups file.
13530 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13531 the old buffer before realloc.
13533 2014-01-27 Allan McRae <allan@archlinux.org>
13535 * po/fr.po: Update French translation from translation project.
13537 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13539 * sysdeps/sh/libm-test-ulps: Regenerate.
13541 2014-01-24 David S. Miller <davem@davemloft.net>
13543 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13545 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13547 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13548 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13550 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13553 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13554 string pointers after reallocation.
13556 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13558 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13559 __SH4A__ instead of __SH_FPU_ANY__.
13561 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13563 * sysdeps/sh/fpu_control.h: New file.
13564 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13565 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13566 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13567 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13568 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13569 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13570 * sysdeps/sh/sys/ucontext.h: Remove.
13571 * sysdeps/sh/sys: Remove directory.
13573 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13575 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13576 s390/sys/ucontext.h.
13577 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13578 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13580 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13583 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13585 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13588 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13589 Adjust the vDSO correctly for internal calls.
13590 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13592 2014-01-20 Allan McRae <allan@archlinux.org>
13594 * po/ca.po: Update Catalan translation from translation project.
13596 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13598 * sysdeps/s390/sotruss-lib.c: New file.
13600 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13603 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13604 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13605 local calls issues by not having a PLT stub required for IFUNC calls.
13606 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13608 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13610 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13611 * math/test-fpucw-static.c: Likewise.
13613 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13616 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13618 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13620 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13621 implementation for powerpc.
13623 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13626 * sysdeps/posix/system.c (__libc_system): Do not enable
13627 asynchronous cancellation.
13629 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13632 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13633 handling only for numbers special also in the IEEE case.
13635 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13637 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13639 2014-01-11 Allan McRae <allan@archlinux.org>
13641 * po/bg.po: Update Bulgarian translation from translation project.
13643 * po/de.po: Update German translation from translation project.
13645 2014-01-10 Roland McGrath <roland@hack.frob.com>
13647 * sysdeps/generic/gcc-compat.h: New file.
13649 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13651 * benchtests/asin-inputs: Correct slow inputs.
13652 * benchtests/acos-inputs: Likewise.
13654 2014-01-10 Allan McRae <allan@archlinux.org>
13656 * po:sv.po: Update Swedish translation from translation project.
13658 * po/vi.po: Update Vietnamese translation from translation project.
13660 * po/eo.po: Update Esperanto translation from translation project.
13662 * po/cs.po: Update Czech translation from translation project.
13664 * po/nl.po: Update Dutch translation from translation project.
13666 * po/pl.po: Update Polish translation from translation project.
13668 * po/ru.po: Update Russian translation from translation project.
13670 * po/uk.po: Update Ukrainian translation from translation project.
13672 2014-01-08 Brooks Moses <bmoses@google.com>
13674 * elf/dl-load.c: Fix comment typo.
13676 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13678 * po/header.pot: Rename to...
13679 * po/pot.header: ... this.
13680 * po/Makefile: Use pot.header.
13682 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13683 Maxim Kuvyrkov <maxim@kugelworks.com>
13686 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13687 SRC and DEST against LEN.
13689 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13692 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13694 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13696 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13700 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13703 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13704 for large positive arguments.
13706 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13708 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13710 * math/auto-libm-test-in: Mark various tests with
13711 xfail-rounding:ldbl-128ibm.
13712 * math/auto-libm-test-out: Regenerated.
13715 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13716 Increase overflow threshold.
13718 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13721 * stdio-common/vfprintf.c: Check for integer overflow.
13723 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13725 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13726 the first argument and return value of __tls_get_addr_internal.
13728 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13730 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13731 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13733 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13735 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13736 * sysdeps/s390/rtld-global-offsets.sym: New file.
13737 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13739 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13740 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13741 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13743 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13744 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13750 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13751 halfs of GPRs for high_gprs contexts.
13752 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13753 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13755 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13757 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13759 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13760 for high GPRs (uc_high_gprs) and for future extensions
13762 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13763 for future extensions (__reserved).
13764 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13766 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13767 SC_HIGHGPRS offset definition.
13768 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13769 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13771 * Versions.def: Add GLIBC_2.19 for libpthread.
13772 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13773 siglongjmp for libpthread with GLIBC_2.19 symver.
13774 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13775 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13776 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13777 * sysdeps/s390/__longjmp.c: New file.
13778 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13779 * sysdeps/s390/longjmp.c: New file.
13780 * sysdeps/s390/setjmp.S: New file.
13781 * sysdeps/s390/sigjmp.S: New file.
13782 * sysdeps/s390/v1-longjmp.c: New file.
13783 * sysdeps/s390/v1-setjmp.h: New file.
13784 * sysdeps/s390/v1-sigjmp.c: New file.
13785 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13786 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13787 GLIBC_2.19 version.
13788 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13789 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13790 versioned symbols for ____longjmp_chk.
13791 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13801 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13802 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13803 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13804 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13805 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13806 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13807 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13808 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13809 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13810 * sysdeps/s390/rtld-__longjmp.c: New file.
13811 * sysdeps/s390/rtld-setjmp.S: New file.
13813 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13816 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13817 Return -__logl (x) for small positive arguments without evaluating
13820 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13822 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13824 (__ptrace_peeksiginfo_args): ... this.
13825 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13826 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13827 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13829 2014-01-06 Allan McRae <allan@archlinux.org>
13831 * inet/netinet/in.h: Fix typo in comment.
13833 2014-01-05 Andreas Jaeger <aj@suse.de>
13835 * sysdeps/i386/fpu/libm-test-ulps: Update.
13837 2014-01-05 Allan McRae <allan@archlinux.org>
13839 * po/libc.pot: Regenerated.
13841 * malloc/memusagestat.c: Fix gettext call formatting.
13843 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13845 * nscd/nscd.c: Improve usage() output.
13847 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13849 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13850 * sysdeps/unix/sysv/linux/configure: Regenerated.
13851 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13852 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13854 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13857 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13858 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13860 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13862 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13863 extra tokens at end of #undef directive.
13864 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13865 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13866 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13868 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13870 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13872 * math/auto-libm-test-in: Mark various tests with
13873 xfail-rounding:ldbl-128ibm.
13874 * math/auto-libm-test-out: Regenerated.
13876 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13880 numbers with subnormal high part when calculating exponent.
13883 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13887 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13889 (__ieee754_acoshl): Use __log1pl not __log1p.
13891 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13893 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13894 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13895 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13896 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13897 (reused_arena, arena_get2): Convert to GNU style.
13898 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13899 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13900 (memalign_check, __malloc_set_state): Likewise.
13901 * malloc/mallocbug.c (main): Likewise.
13902 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13903 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13904 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13905 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13906 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13907 (__posix_memalign, malloc_info): Likewise.
13908 * malloc/malloc.h: Likewise.
13909 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13910 (mallochook, memalignhook, reallochook, mabort): Likewise.
13911 * malloc/mcheck.h: Likewise.
13912 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13913 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13914 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13915 * malloc/morecore.c (__default_morecore): Likewise.
13916 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13917 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13918 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13919 (print_and_abort): Likewise.
13920 * malloc/obstack.h: Likewise.
13921 * malloc/set-freeres.c (__libc_freeres): Likewise.
13922 * malloc/tst-mallocstate.c (main): Likewise.
13923 * malloc/tst-mtrace.c (main): Likewise.
13924 * malloc/tst-realloc.c (do_test): Likewise.
13926 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13929 * nscd/netgroupcache.c (do_notfound): New function.
13930 (addgetnetgrentX): Use it.
13933 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13934 NSS_STATUS_NOTFOUND.
13936 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13938 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13941 2014-01-01 Allan McRae <allan@archlinux.org>
13943 * scripts/update-copyrights: Update configure input file suffix.
13945 * NEWS: Update copyright year.
13946 * catgets/gencat.c: Likewise.
13947 * csu/version.c: Likewise.
13948 * debug/catchsegv.sh: Likewise.
13949 * debug/pcprofiledump.c: Likewise.
13950 * debug/xtrace.sh: Likewise.
13951 * elf/ldconfig.c: Likewise.
13952 * elf/ldd.bash.in: Likewise.
13953 * elf/pldd.c: Likewise.
13954 * elf/sotruss.ksh: Likewise.
13955 * elf/sprof.c: Likewise.
13956 * iconv/iconv_prog.c: Likewise.
13957 * iconv/iconvconfig.c: Likewise.
13958 * locale/programs/locale.c: Likewise.
13959 * locale/programs/localedef.c: Likewise.
13960 * login/programs/pt_chown.c: Likewise.
13961 * malloc/memusage.sh: Likewise.
13962 * malloc/memusagestat.c: Likewise.
13963 * malloc/mtrace.pl: Likewise.
13964 * manual/libc.texinfo: Likewise.
13965 * nscd/nscd.c: Likewise.
13966 * nss/getent.c: Likewise.
13967 * nss/makedb.c: Likewise.
13968 * posix/getconf.c: Likewise.
13969 * scripts/test-installation.pl: Likewise.
13971 * All files with FSF copyright notices: Update copyright dates
13972 using scripts/update-copyrights.
13973 * intl/plural.c: Regenerated.
13974 * locale/programs/charmap-kw.h: Likewise.
13975 * locale/programs/locfile-kw.h: Likewise.
13977 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13979 * sysdeps/unix/sysv/linux/configure: Regenerated.
13980 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13981 the linux/fanotify.h header.
13982 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13983 HAVE_LINUX_FANOTIFY_H is defined.
13985 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13987 * benchtests/cos-inputs: New inputs.
13988 * benchtests/sin-inputs: Likewise.
13990 * benchtests/atan-inputs: New inputs. Fix name of multiple
13991 precision fallback inputs.
13993 * benchtests/atanh-inputs: New inputs.
13994 * benchtests/tanh-inputs: Likewise.
13996 * benchtests/acosh-inputs: New inputs.
13997 * benchtests/asinh-inputs: Likewise.
13999 * benchtests/cosh-inputs: New inputs.
14000 * benchtests/sinh-inputs: Likewise.
14002 * benchtests/acos-inputs: Add more inputs.
14003 * benchtests/asin-inputs: Likewise.
14005 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
14008 * manual/arith.texi: Fix spelling.
14009 * manual/charset.texi: Likewise.
14010 * manual/errno.texi: Likewise.
14011 * manual/filesys.texi: Likewise.
14012 * manual/lang.texi: Likewise.
14013 * manual/llio.texi: Likewise.
14014 * manual/locale.texi: Likewise.
14015 * manual/message.texi: Likewise.
14016 * manual/resource.texi: Likewise.
14017 * manual/search.texi: Likewise.
14018 * manual/setjmp.texi: Likewise.
14019 * manual/stdio.texi: Likewise.
14020 * manual/string.texi: Likewise.
14021 * manual/sysinfo.texi: Likewise.
14022 * manual/time.texi: Likewise.
14024 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14026 * po/sl.po: New file.
14028 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14030 * .gitignore: Add core/.gdbinit/.gdb_history.
14032 2013-12-27 Allan McRae <allan@archlinux.org>
14035 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14036 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14038 2013-12-24 Brooks Moses <bmoses@google.com>
14040 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14041 all compilers that claim C++98 compliance, not just GCC.
14042 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14045 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14047 * NEWS: Restore accidentally deleted bug-fix entries.
14049 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14050 Ondřej Bílka <neleai@seznam.cz>
14053 * malloc/malloc.c (_int_free): Perform sanity check only if we
14056 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14059 * manual/stdio.texi (String Input Conversions): Clarify that character
14060 classes are not supported.
14062 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14066 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14069 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14070 Calculate results for small negative arguments directly rather
14071 than using reflection formula with special underflow handling.
14073 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14074 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14075 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14076 (fchflags): Likewise.
14077 (revoke): Likewise.
14078 (setlogin): Likewise.
14079 (sigaltstack): Likewise.
14081 (sigblock): Remove.
14082 (sigsetmask): Likewise.
14084 (waitpid): Likewise.
14085 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14086 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14088 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14089 * sysdeps/unix/bsd/Makefile: ... here.
14090 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14091 * sysdeps/unix/bsd/Versions: ... here.
14092 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14093 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14094 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14095 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14096 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14097 * sysdeps/unix/bsd/sigblock.c: ... here.
14098 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14099 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14100 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14101 * sysdeps/unix/bsd/sigvec.c: ... here.
14102 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14103 * sysdeps/unix/bsd/tcdrain.c: ... here.
14104 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14105 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14106 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14107 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14108 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14109 * sysdeps/unix/bsd/wait.c: ... here.
14110 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14111 * sysdeps/unix/bsd/wait3.c: ... here.
14112 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14113 * sysdeps/unix/bsd/waitpid.c: ... here.
14115 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14118 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14119 round-to-nearest for [!USE_AS_EXPM1L].
14120 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14121 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14122 more tests of exp and exp10. Expect some exp10 tests to miss
14123 exceptions or fail in directed rounding modes.
14124 * math/auto-libm-test-out: Regenerated.
14125 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14126 (exp10_test_tonearest): New function.
14127 (exp10_towardzero_test_data): New array.
14128 (exp10_test_towardzero): New function.
14129 (exp10_downward_test_data): New array.
14130 (exp10_test_downward): New function.
14131 (exp10_upward_test_data): New array.
14132 (exp10_test_upward): New function.
14133 (main): Call the new functions.
14134 * sysdeps/i386/fpu/libm-test-ulps: Update.
14135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14137 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14139 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14140 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14141 * math/auto-libm-test-out: Regenerated.
14142 * math/libm-test.inc (acosh_test_data): Add more tests.
14143 (atanh_test_data): Likewise.
14144 (ceil_test_data): Likewise.
14145 (copysign_test_data): Likewise.
14146 * sysdeps/i386/fpu/libm-test-ulps: Update.
14147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14149 * timezone/checktab.awk: Update from tzcode 2013i.
14150 * timezone/private.h: Likewise.
14151 * timezone/scheck.c: Likewise.
14152 * timezone/tzfile.h: Likewise.
14153 * timezone/tzselect.ksh: Likewise.
14154 * timezone/zdump.c: Likewise.
14155 * timezone/zic.c: Likewise.
14157 * math/auto-libm-test-in: Add tests of cpow.
14158 * math/auto-libm-test-out: Regenerated.
14159 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14160 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14162 (func_calc_desc): Add mpc_cc_c union field.
14163 (test_functions): Add cpow.
14164 (special_fill_2pi): New function.
14165 (special_real_inputs): Add 2pi.
14166 (calc_generic_results): Handle mpc_cc_c.
14167 * sysdeps/i386/fpu/libm-test-ulps: Update.
14168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14170 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14171 csqrt, ctan and ctanh.
14172 * math/auto-libm-test-out: Regenerated.
14173 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14174 (TEST_COND_x86): Likewise.
14175 (ccos_test_data): Use AUTO_TESTS_c_c.
14176 (ccosh_test_data): Likewise.
14177 (cexp_test_data): Likewise.
14178 (clog_test_data): Likewise.
14179 (csqrt_test_data): Likewise.
14180 (ctan_test_data): Likewise.
14181 (ctan_tonearest_test_data): Likewise.
14182 (ctan_towardzero_test_data): Likewise.
14183 (ctan_downward_test_data): Likewise.
14184 (ctan_upward_test_data): Likewise.
14185 (ctanh_test_data): Likewise.
14186 (ctanh_tonearest_test_data): Likewise.
14187 (ctanh_towardzero_test_data): Likewise.
14188 (ctanh_downward_test_data): Likewise.
14189 (ctanh_upward_test_data): Likewise.
14190 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14192 (func_calc_desc): Add mpc_c_c union field.
14193 (FUNC_mpc_c_c): New macro.
14194 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14195 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14197 (special_fill_min_subnorm_p120): New function.
14198 (special_real_inputs): Add min_subnorm_p120.
14199 (calc_generic_results): Handle mpc_c_c.
14200 * sysdeps/i386/fpu/libm-test-ulps: Update.
14201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14203 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14205 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14206 (do_sin_slow): New functions.
14207 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14208 (cslow2, csloww1, csloww2): Use the new functions.
14210 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14211 Use M to change sign of result instead of X. Assume X is
14213 (csloww1): Likewise.
14217 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14218 arguments A and DA.
14222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14224 (sloww1): Don't adjust sign of DX.
14225 (csloww1): Likewise.
14226 (sloww2): Use X directly and don't adjust sign of DX.
14227 (csloww2): Likewise.
14229 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14231 * math/auto-libm-test-in: Add tests of cabs and carg.
14232 * math/auto-libm-test-out: Regenerated.
14233 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14234 (carg_test_data): Likewise.
14235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14237 (func_calc_desc): Add mpc_c_f union field.
14238 (test_functions): Add cabs and carg.
14239 (calc_generic_results): Handle mpc_c_f.
14241 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14242 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14243 as a macro and a compat symbol.
14244 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14245 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14246 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14247 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14248 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14249 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14251 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14253 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14255 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14257 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14259 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14261 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14262 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14265 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14269 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14271 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14272 trailing whitespace removed.
14273 * scripts/config.guess: Update to version 2013-11-29.
14274 * scripts/config.sub: Update to version 2013-10-01.
14276 * math/auto-libm-test-in: Add tests of sincos.
14277 * math/auto-libm-test-out: Regenerated.
14278 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14279 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14281 (func_calc_desc): Add mpfr_f_11 union field.
14282 (test_functions): Add sincos.
14283 (calc_generic_results): Handle mpfr_f_11.
14284 * sysdeps/i386/fpu/libm-test-ulps: Update.
14285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14287 2013-12-19 Andreas Schwab <schwab@suse.de>
14289 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14292 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14293 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14295 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14297 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14298 * sysdeps/i386/fpu/libm-test-ulps: Update.
14299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14302 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14303 round-to-nearest mode when using frndint.
14304 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14305 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14306 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14308 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14310 * math/auto-libm-test-out: Regenerated.
14311 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14312 (TEST_COND_x86): Likewise.
14313 (expm1_tonearest_test_data): New array.
14314 (expm1_test_tonearest): New function.
14315 (expm1_towardzero_test_data): New array.
14316 (expm1_test_towardzero): New function.
14317 (expm1_downward_test_data): New array.
14318 (expm1_test_downward): New function.
14319 (expm1_upward_test_data): New array.
14320 (expm1_test_upward): New function.
14321 (main): Run the new test functions.
14322 * sysdeps/i386/fpu/libm-test-ulps: Update.
14323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14325 * include/features.h: Update comment documenting feature test
14326 macros. Mention _DEFAULT_SOURCE in comment.
14327 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14328 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14329 _BSD_SOURCE and _SVID_SOURCE.
14330 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14331 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14332 !_SVID_SOURCE]: Likewise.
14333 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14334 (__USE_POSIX_IMPLICITLY): Define.
14335 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14336 (_POSIX_SOURCE): Undefine and redefine.
14337 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14338 (_POSIX_C_SOURCE): Likewise.
14339 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14340 (Feature Test Macros): Update documentation of default features.
14342 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14344 * benchtests/Makefile: Add bench-strtok.
14345 * benchtests/bench-strtok.c: New file: strtok benchtest.
14347 2013-12-19 Allan McRae <allan@archlinux.org>
14349 * manual/install.texi: Suppress menu for plain text output.
14350 * INSTALL: Regenerated.
14352 2013-12-18 Brooks Moses <bmoses@google.com>
14355 * misc/getauxval.c: Include errno.h.
14356 (__getauxval): Set errno to ENOENT if the requested type is not
14358 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14359 don't declare with __attribute_const__.
14360 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14361 * manual/startup.texi: Document that getauxval sets errno.
14363 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14365 * math/auto-libm-test-in: Add tests of jn and yn.
14366 * math/auto-libm-test-out: Regenerated.
14367 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14368 (yn_test_data): Likewise.
14369 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14371 (func_calc_desc): Add mpfr_if_f union field.
14372 (FUNC_mpfr_if_f): New macro.
14373 (test_functions): Add jn and yn.
14374 (calc_generic_results): Assert type of second input for
14375 mpfr_ff_f. Handle mpfr_if_f.
14376 (output_for_one_input_case): Disable all checking for arguments
14377 fitting floating-point types in case of an integer argument.
14378 * sysdeps/i386/fpu/libm-test-ulps: Update.
14379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14382 Don't expect fegetround reference in libm.so.
14384 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14386 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14387 $(config-cflags-nofma).
14389 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14391 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14392 * math/auto-libm-test-out: Regenerated.
14395 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14396 to determine exponent and adjust argument to have exponent of -1.
14397 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14399 * math/auto-libm-test-out: Regenerated.
14400 * sysdeps/i386/fpu/libm-test-ulps: Update.
14401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14403 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14405 * manual/probes.texi: Remove cases when per-thread arenas are
14408 2013-12-18 Andreas Schwab <schwab@suse.de>
14410 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14411 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14412 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14413 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14414 * sysdeps/i386/i686/multiarch/Makefile: Update.
14415 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14417 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14419 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14420 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14422 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14425 Support TZ transition times < 00:00:00.
14426 This is needed for version-3 tz-format files; it supports time
14427 stamps past 2037 for America/Godthab (the only entry in the tz
14428 database for which this change is relevant).
14429 * manual/time.texi (TZ Variable): Document transition times
14430 from -167:59:59 through -00:00:01.
14431 * time/tzset.c (tz_rule): Time of day is now signed.
14432 (__tzset_parse_tz): Parse negative time of day.
14434 Document TZ transition times >= 25:00:00.
14435 * manual/time.texi (TZ Variable): Document transition times from
14436 25:00:00 through 167:59:59. These are already supported, and this
14437 support will help with version-3 tz-format files.
14439 * manual/time.texi (TZ Variable): Modernize North America example
14440 to reflect current (i.e., 2007-and-later) daylight saving rules.
14442 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14444 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14446 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14447 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14450 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14451 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14452 * sysdeps/unix/bsd/clock.c: Likewise.
14453 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14454 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14455 * sysdeps/unix/bsd/init-posix.c: Likewise.
14456 * sysdeps/unix/bsd/poll.c: Likewise.
14457 * sysdeps/unix/bsd/ptsname.c: Likewise.
14458 * sysdeps/unix/bsd/seekdir.c: Likewise.
14459 * sysdeps/unix/bsd/setegid.c: Likewise.
14460 * sysdeps/unix/bsd/seteuid.c: Likewise.
14461 * sysdeps/unix/bsd/setgid.c: Likewise.
14462 * sysdeps/unix/bsd/setrgid.c: Likewise.
14463 * sysdeps/unix/bsd/setruid.c: Likewise.
14464 * sysdeps/unix/bsd/setsid.c: Likewise.
14465 * sysdeps/unix/bsd/setuid.c: Likewise.
14466 * sysdeps/unix/bsd/sigaction.c: Likewise.
14467 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14468 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14469 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14470 * sysdeps/unix/bsd/telldir.c: Likewise.
14471 * sysdeps/unix/bsd/times.c: Likewise.
14472 * sysdeps/unix/bsd/usleep.c: Likewise.
14474 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14475 ($(objpfx)libbsd-compat.a): Remove rule.
14477 * include/features.h (__FAVOR_BSD): Do not define.
14478 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14479 features conflicting with POSIX.
14480 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14481 (_BSD_SOURCE): Remove description of not being a subset of other
14482 feature test macros.
14483 * manual/job.texi (getpgrp): Do not document BSD version.
14484 (getpgid): Do not document by reference to BSD getpgrp.
14485 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14486 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14487 * signal/signal.h [__FAVOR_BSD]: Likewise.
14488 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14489 instead of making contents conditional on [__FAVOR_BSD].
14490 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14492 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14496 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14499 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14500 values below 2**-450, not 2**-500.
14501 * math/auto-libm-test-in: Don't allow spurious underflow from
14503 * math/auto-libm-test-out: Regenerated.
14507 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14508 values of ha and hb and sort them after adjusting subnormal
14510 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14512 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14513 values of ea and eb and sort them after adjusting subnormal
14515 * math/auto-libm-test-in: Do not expect some hypot tests of
14516 subnormals to fail. Add more hypot tests.
14517 * math/auto-libm-test-out: Regenerated.
14519 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14522 * sysdeps/sh/s_fma.c: New file.
14523 * sysdeps/sh/s_fmaf.c: New file.
14524 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14526 * sysdeps/sh/Implies: Add sh/soft-fp.
14528 2013-12-16 Roland McGrath <roland@hack.frob.com>
14530 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14531 level of indirection to members `objname', `errstring', `malloced'.
14532 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14533 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14534 it as the __longjmp argument (just pass 1 instead).
14535 (_dl_catch_error): Initialize C with argument pointers and address of
14536 volatile local ERRCODE rather than copying values out of C at return.
14538 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14540 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14541 * math/auto-libm-test-out: Regenerated.
14542 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14543 (hypot_test_data): Likewise.
14544 (pow_test_data): Likewise.
14545 (pow_tonearest_test_data): Likewise.
14546 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14548 (func_calc_desc): Add mpfr_ff_f union field.
14549 (FUNC_mpfr_ff_f): New macro.
14550 (test_functions): Add atan2, hypot and pow.
14551 (special_fill_min): New function.
14552 (special_fill_minus_min): Likewise.
14553 (special_fill_min_subnorm): Likewise.
14554 (special_fill_minus_min_subnorm): Likewise.
14555 (special_real_inputs): Add min, -min, min_subnorm and
14557 (calc_generic_results): Handle mpfr_ff_f.
14558 * sysdeps/i386/fpu/libm-test-ulps: Update.
14559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14561 2013-12-16 Will Newton <will.newton@linaro.org>
14563 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14564 (Aligned Memory Blocks): Add documentation for aligned_alloc
14565 and suggest it as an alternative to posix_memalign.
14566 (Hooks for Malloc): Document __memalign_hook is also called
14567 for aligned_alloc. (Summary of Malloc): Add summary for
14568 aligned alloc. Document __memalign_hook is also called
14571 2013-12-16 Will Newton <will.newton@linaro.org>
14573 * manual/memory.texi (Malloc Examples): Clarify default
14574 alignment documentation. Suggest posix_memalign rather
14575 than memalign or valloc.
14576 (Aligned Memory Blocks): Remove suggestion to use memalign
14577 or valloc. Remove obsolete comment about BSD.
14578 Document memalign errno values and mark the function obsolete.
14579 Document posix_memalign returned error codes. Mark valloc
14580 as obsolete. (Hooks for Malloc): __memalign_hook is also
14581 called for posix_memalign and valloc.
14582 (Summary of Malloc): Add posix_memalign to function summary.
14583 __memalign_hook is also called for posix_memalign and valloc.
14585 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14587 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14591 (sloww): Use mynumber union. Expand ternary operator into
14592 if-else statements.
14593 (cslow): use mynumber union.
14595 2013-12-16 Allan McRae <allan@archlinux.org>
14597 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14598 * configure: Regenerated.
14600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14603 * configure.ac: Added --enable-maintainer-mode. Check for
14604 autoconf when enabled.
14605 * configure: Regenerated.
14607 * nscd/nscd.service: New file.
14608 * nscd/nscd.tmpfiles: New file.
14610 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14613 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14614 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14615 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14616 (strstr): Add __strstr_sse2_unaligned ifunc.
14617 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14618 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14619 (strcasestr): Remove __strcasestr_sse42 ifunc.
14620 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14622 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14624 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14626 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14627 * sysdeps/sh/bits/fenv.h: ... here.
14628 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14630 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14632 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14634 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14635 hypotf multiarch implementations.
14636 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14637 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14638 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14639 multiarch hypot for PPC64.
14640 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14641 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14642 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14643 multiarch hypotf for PPC64.
14645 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14646 modff multiarch implementations.
14647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14650 multiarch modf for PPC64.
14651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14654 multiarch modff for PPC64.
14656 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14657 and logl multiarch implementations.
14658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14661 multiarch logb for PPC64.
14662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14665 multiarch logb for PPC64.
14666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14669 multiarch logb for PPC64.
14671 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14672 isinff multiarch implementation.
14673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14677 multiarch isinf for PPC64.
14678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14681 multiarch isinff for PPC64.
14683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14684 finitef multiarch implementation.
14685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14689 multiarch finite for PPC64.
14690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14693 multiarch finitef for PPC64.
14695 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14696 lrint multiarch implementation.
14697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14701 multiarch llrint for PPC64.
14702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14703 multiarch lrint for PPC64.
14705 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14706 copysignf multiarch implementation.
14707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14712 multiarch copysign for PPC64.
14713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14714 multiarch copysignf for PPC64.
14716 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14717 multiarch implementation.
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14726 multiarch llround for PPC64.
14727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14728 multiarch trunc for PPC64.
14729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14730 multiarch truncf for PPC64.
14732 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14733 multiarch implementation.
14734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14742 multiarch llround for PPC64.
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14744 multiarch round for PPC64.
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14746 multiarch roundf for PPC64.
14748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14749 multiarch implementation.
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14758 multiarch llround for PPC64.
14759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14760 multiarch floor for PPC64.
14761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14762 multiarch floorf for PPC64.
14764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14765 multiarch implementation.
14766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14774 multiarch llround for PPC64.
14775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14776 multiarch ceil for PPC64.
14777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14778 multiarch ceilf for PPC64.
14780 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14781 multiarch implementation.
14782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14789 multiarch llround for PPC64.
14790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14791 multiarch lround for PPC64.
14793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14794 multiarch implementation.
14795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14802 multiarch isnan for PPC64.
14803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14804 multiarch isnanf for PPC64.
14806 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14807 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14808 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14809 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14810 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14813 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14815 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14819 multiarch implementations.
14820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14821 (__libc_ifunc_impl_list): Likewise.
14822 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14823 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14824 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14825 multiarch stpcpy for PPC64.
14827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14828 multiarch implementations.
14829 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14830 (__libc_ifunc_impl_list): Likewise.
14831 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14832 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14833 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14834 multiarch strcpy for PPC64.
14836 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14837 redefine function name.
14838 (_wordcopy_fwd_dest_aligned): Likewise.
14839 (_wordcopy_bwd_aligned): Likewise.
14840 (_wordcopy_bwd_dest_aligned): Likewise.
14841 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14842 multiarch implementations.
14843 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14844 (__libc_ifunc_impl_list): Likewise.
14845 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14846 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14847 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14848 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14849 multiarch wcscpy for PPC64.
14851 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14852 multiarch implementations.
14853 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14854 (__libc_ifunc_impl_list): Likewise.
14855 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14856 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14857 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14858 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14859 multiarch wcscpy for PPC64.
14861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14862 multiarch implementations.
14863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14864 (__libc_ifunc_impl_list): Likewise.
14865 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14866 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14867 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14868 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14869 multiarch wcsrchr for PPC64.
14871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14872 multiarch implementations.
14873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14874 (__libc_ifunc_impl_list): Likewise.
14875 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14876 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14877 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14878 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14879 multiarch wcschr for PPC64.
14881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14882 multiarch implementations.
14883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14884 (__libc_ifunc_impl_list): Likewise.
14885 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14886 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14887 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14888 multiarch strchrnul for PPC64.
14890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14893 (__libc_ifunc_impl_list): Likewise.
14894 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14895 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14896 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14897 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14903 (__libc_ifunc_impl_list): Likewise.
14904 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14905 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14906 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14907 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14910 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14911 multiarch implementations.
14912 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14913 (__libc_ifunc_impl_list): Likewise.
14914 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14915 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14916 strncasecmp for PPC64.
14917 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14918 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14919 multiarch strncasecmp_l for PPC64.
14921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14922 multiarch implementations.
14923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14924 (__libc_ifunc_impl_list): Likewise.
14925 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14926 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14927 multiarch strcasecmp for PPC64.
14928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14930 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14931 multiarch strcasecmp_l for PPC64.
14933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14936 (__libc_ifunc_impl_list): Likewise.
14937 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14938 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14939 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14945 (__libc_ifunc_impl_list): Likewise.
14946 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14947 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14948 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14954 (__libc_ifunc_impl_list): Likewise.
14955 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14956 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14957 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14958 rawmemrchr for PPC64.
14960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14963 (__libc_ifunc_impl_list): Likewise.
14964 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14965 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14966 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14972 (__libc_ifunc_impl_list): Likewise.
14973 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14974 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14975 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14978 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14980 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14981 (__libc_ifunc_impl_list): Likewise.
14982 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14983 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14984 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14987 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14988 avoid cretion of __bzero symbol.
14989 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14991 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14993 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14995 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14996 multiarch implementations.
14997 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14998 (__libc_ifunc_impl_list): Likewise.
14999 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15000 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15001 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15002 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15004 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15005 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15006 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15007 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15008 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15010 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15012 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15016 (__libc_ifunc_impl_list): Likewise.
15017 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15018 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15019 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15020 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15024 multiarch for POWER/PPC64.
15025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15026 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15027 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15028 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15029 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15031 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15032 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15033 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15036 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15037 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15038 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15039 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15040 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15041 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15042 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15043 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15044 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15045 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15046 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15047 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15048 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15049 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15050 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15059 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15061 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15063 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15065 * benchtests/Makefile (bench): Add exp2 and log2.
15066 (LDLIBS-bench-exp2): Add -lm.
15067 (LDLIBS-bench-log2): Likewise.
15068 * benchtests/exp2-inputs: New inputs file.
15069 * benchtests/log2-inputs: New inputs file.
15070 * benchtests/log-inputs: Add new inputs.
15071 * benchtests/tan-inputs: Likewise.
15073 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15075 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15077 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15078 (csloww2): ... from here.
15080 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15081 instead of structures.
15082 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15083 (POLYNOMIAL): Likewise.
15084 (TAYLOR_SLOW): Likewise.
15090 (sloww1); Likewise.
15091 (sloww2): Likewise.
15092 (bsloww1): Likewise.
15093 (bsloww2): Likewise.
15094 (cslow2): Likewise.
15095 (csloww): Likewise.
15096 (csloww1): Likewise.
15097 (csloww2): Likewise.
15099 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15101 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15102 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15103 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15104 * malloc/hooks.c (realloc_check): Likewise.
15106 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15107 * malloc/arena.c: Remove PER_THREAD conditional.
15108 [!PER_THREAD]: Remove code.
15109 (ptmalloc_unlock_all2): Likewise.
15110 (ptmalloc_init): Likewise.
15111 (_int_new_arena): Likewise.
15112 (arena_get2): Likewise.
15113 * malloc/hooks.c (__malloc_get_state): Likewise.
15114 (__malloc_set_state): Likewise.
15115 * malloc/malloc.c: Likewise.
15116 (struct malloc_state): Likewise.
15117 (struct malloc_par): Likewise.
15118 (__libc_realloc): Likewise.
15119 (__libc_mallopt): Likewise.
15121 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15123 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15125 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15127 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15128 macro to a function. Check for zero perturb_byte.
15129 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15131 * malloc/malloc.c: (force_reg): Remove.
15132 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15133 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15134 force_reg by atomic_forced_read.
15135 * malloc/arena.c (ptmalloc_init): Likewise.
15136 * malloc/hooks.c (top_check): Likewise.
15138 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15140 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15142 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15146 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15148 * math/auto-libm-test-in: Add tests of lgamma.
15149 * math/auto-libm-test-out: Regenerated.
15150 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15151 (M_LOG_2_SQRT_PIl): Likewise.
15152 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15153 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15155 (func_calc_desc): Add mpfr_f_f1 union field.
15156 (ARGS1): New macro.
15164 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15165 (test_functions): Add lgamma.
15166 (calc_generic_results): Handle mpfr_f_f1.
15167 * sysdeps/i386/fpu/libm-test-ulps: Update.
15168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15170 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15172 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15173 __mpn_add_n for PowerPC64/POWER7.
15174 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15175 __mpn_sub_n for PowerPC64/POWER7.
15177 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15178 __mpn_addmul_1 for PowerPC64.
15179 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15180 __mpn_submul_1 for PowerPC64.
15181 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15183 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15186 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15189 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15191 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15193 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15195 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15196 add multiarch folders.
15197 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15198 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15199 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15200 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15201 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15202 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15203 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15204 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15205 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15206 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15207 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15216 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15222 multiarch __ieee754_hypot for PowerPC32.
15223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15228 multiarch __ieee754_hypotf for PowerPC32.
15230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15231 long_double_symbol only if __logbl is defined.
15232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15233 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15235 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15237 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15238 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15239 path for implementation.
15240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15241 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15243 logb, and logbl multiarch implementations for PowerPC32.
15244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15249 multiarch logb for PowerPC32.
15250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15255 multiarch logbf for PowerPC32.
15256 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15260 multiarch logbl implementation for PowerPC32.
15262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15263 and modff multiarch implementations.
15264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15269 multiarch modf for PowerPC32.
15270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15275 multiarch modff for PowerPC32.
15277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15278 and lrintf multiarch implementations.
15279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15284 multiarch lrint for PowerPC32.
15285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15286 file: multiarch lrintf for PowerPC32.
15288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15289 and lroundf multiarch implementations.
15290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15297 multiarch lround for PowerPC32.
15298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15299 file: multiarch lroundf for PowerPC32.
15301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15302 copysign and copysignf multiarch implementations.
15303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15308 file: multiarch copysign for PowerPC32.
15309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15310 file: multiarch copysignf for PowerPC32.
15312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15313 and truncf multiarch implementations.
15314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15319 multiarch trunc for PowerPC32.
15320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15325 multiarch truncf for PowerPC32.
15327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15328 and roundf multiarch implementations.
15329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15334 multiarch round for PowerPC32.
15335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15340 multiarch roundf for PowerPC32.
15342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15343 and floorf multiarch implementations.
15344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15349 multiarch floor for PowerPC32.
15350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15355 multiarch floorf for PowerPC32.
15357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15358 and ceilf multiarch implementations.
15359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15364 multiarch ceil for PowerPC32.
15365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15370 multiarch ceilf for PowerPC32.
15372 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15374 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15375 FINITEF is defined.
15376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15377 and finitef multiarch implementations.
15378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15383 multiarch finite for PowerPC32.
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15387 file: multiarch finitef for PowerPC32.
15389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15390 and isinff multiarch implementations.
15391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15396 multiarch isinf for PowerPC32.
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15400 multiarch isinff for PowerPC32.
15402 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15403 alias when __isnan is defined.
15404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15405 and isnanf multiarch implementations.
15406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15415 multiarch isnan for PowerPC32.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15421 multiarch isnanf for PowerPC32.
15423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15424 and sqrtf multiarch implementations.
15425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15430 multiarch sqrt for PowerPC32.
15431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15436 multiarch sqrtf for PowerPC32.
15438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15439 and llroundf multiarch implementations.
15440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15447 file: multiarch llround for PowerPC32.
15448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15449 file: multiarch llroundf for PowerPC32.
15451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15452 multiarch PowerPC32 fpu implementations.
15453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15458 multiarch llrint for PowerPC32.
15459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15468 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15470 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15472 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15474 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15475 multiarch wordcopy for PPC32.
15476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15479 (__libc_ifunc_impl_list): Likewise.
15480 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15481 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15482 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15483 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15484 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15485 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15487 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15494 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15495 multiarch wcscpy for PPC32.
15496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15499 (__libc_ifunc_impl_list): Likewise.
15500 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15501 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15502 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15503 sysdeps/powerpc/power6/wcscpy.c.
15505 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15506 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15508 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15510 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15512 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15513 multiarch wcsrchr for PPC32.
15514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15517 (__libc_ifunc_impl_list): Likewise.
15518 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15519 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15520 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15521 sysdeps/powerpc/power6/wcsrchr.c.
15523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15529 multiarch wcschr for PPc32.
15530 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15532 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15533 (__libc_ifunc_impl_list): Likewise.
15534 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15535 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15536 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15537 sysdeps/powerpc/power6/wcschr.c.
15539 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15540 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15542 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15543 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15544 file: multiarch strchr for PPC32.
15545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15548 (__libc_ifunc_impl_list): Likewise.
15550 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15552 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15554 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15556 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15557 multiarch strchrnul for PPC32.
15558 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15560 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15561 (__libc_ifunc_impl_list): Likewise.
15563 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15565 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15566 multiarch strncasecmp for PPC32.
15567 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15569 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15570 multiarch strncasecmp_l for PPC32.
15571 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15572 strncasecmp multiarch objects.
15573 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15574 (__libc_ifunc_impl_list): Likewise.
15576 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15578 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15579 multiarch strncasecmp for PPC32.
15580 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15582 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15583 multiarch strcasecmp_l for PPC32.
15584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15587 (__libc_ifunc_impl_list): Likewise.
15589 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15591 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15593 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15594 multiarch strncmp for PPC32.
15595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15598 (__libc_ifunc_impl_list): Likewise.
15600 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15601 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15603 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15604 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15607 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15608 (__libc_ifunc_impl_list): Likewise.
15610 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15612 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15614 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15618 (__libc_ifunc_impl_list): Likewise.
15620 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15622 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15624 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15625 multiarch rawmemchr for PPC32.
15626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15629 (__libc_ifunc_impl_list): Likewise.
15631 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15635 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15636 file: memrchr multiarch for PPC32.
15637 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15640 (__libc_ifunc_impl_list): Likewise.
15642 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15643 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15645 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15646 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15647 multiarch memchr for PPC32.
15648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15651 (__libc_ifunc_impl_list): Likewise.
15653 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15654 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15656 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15658 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15659 file: multiarch mempcpy for PPC32.
15660 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15662 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15663 (__libc_ifunc_impl_list): Likewise.
15665 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15666 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15667 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15668 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15669 multiarch bzero for PPC32.
15670 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15672 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15675 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15676 file: multiarch memset for PPC32.
15677 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15679 memset multiarch objects.
15680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15681 (__libc_ifunc_impl_list): Likewise.
15683 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15685 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15688 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15692 (__libc_ifunc_impl_list): Likewise.
15694 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15695 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15696 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15703 multiarch memcpy for PPC32.
15704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15707 (__libc_ifunc_impl_list): Likewise.
15709 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15710 support multiarch for POWER/PPC32.
15711 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15713 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15715 Implies file to make multiarch folder appers before the fpu and
15716 default folder for power4 configuration.
15718 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15720 * scripts/bench.pl: Append volatile keyword to type.
15722 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15724 * sysdeps/sh/sotruss-lib.c: New file.
15725 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15727 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15731 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15734 * math/w_tgamma.c: Include <errno.h>.
15735 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15736 * math/w_tgammaf.c: Include <errno.h>.
15737 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15738 * math/w_tgammal.c: Include <errno.h>.
15739 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15740 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15741 underflow. Add more tgamma tests.
15742 * math/auto-libm-test-out: Regenerated.
15743 * sysdeps/i386/fpu/libm-test-ulps: Update.
15744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15746 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15747 sin, sinh, tan, tanh, tgamma, y0 and y1.
15748 * math/auto-libm-test-out: Regenerated.
15749 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15750 (TEST_COND_x86): Likewise.
15751 (M_E2l): Remove macro.
15753 (M_2_SQRT_PIl): Likewise.
15754 (M_SQRT_PIl): Likewise.
15755 (M_1_DIV_El): Likewise.
15756 (log_test_data): Use AUTO_TESTS_f_f.
15757 (log10_test_data): Likewise.
15758 (log1p_test_data): Likewise.
15759 (log2_test_data): Likewise.
15760 (sin_test_data): Likewise.
15761 (sin_tonearest_test_data): Likewise.
15762 (sin_towardzero_test_data): Likewise.
15763 (sin_downward_test_data): Likewise.
15764 (sin_upward_test_data): Likewise.
15765 (sinh_test_data): Likewise.
15766 (sinh_tonearest_test_data): Likewise.
15767 (sinh_towardzero_test_data): Likewise.
15768 (sinh_downward_test_data): Likewise.
15769 (sinh_upward_test_data): Likewise.
15770 (tan_test_data): Likewise.
15771 (tan_tonearest_test_data): Likewise.
15772 (tan_towardzero_test_data): Likewise.
15773 (tan_downward_test_data): Likewise.
15774 (tan_upward_test_data): Likewise.
15775 (tanh_test_data): Likewise.
15776 (tgamma_test_data): Likewise.
15777 (y0_test_data): Likewise.
15778 (y1_test_data): Likewise.
15779 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15780 (special_real_inputs): Add pi/4.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15786 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15787 "longjmp_target" static probes.
15788 (__longjmp): Rename to __longjmp_symbol.
15789 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15790 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15791 on which longjmp to generate.
15792 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15793 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15795 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15796 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15797 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15798 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15799 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15800 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15802 __longjmp_symbol based on which __longjmp to generate.
15803 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15805 (setjmp): Rename to setjmp_symbol.
15806 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15807 (_setjmp): Rename to _setjmp_symbol.
15808 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15809 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15810 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15811 which setjmp to generate.
15812 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15813 "longjmp_target" static probes.
15815 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 * benchtests/README: Add note about output arguments.
15818 * benchtests/bench-sincos.c: Remove file.
15819 * benchtests/sincos-inputs: New file.
15820 * scripts/bench.pl: Identify output arguments and define
15821 static variables for them.
15823 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15826 * Makefile (INSTALL): Add install-plain.texi as the primary
15828 * manual/install-plain.texi: New file.
15829 * manual/install.texi: Include node directive only for
15830 non-plaintext output.
15832 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15834 * stdlib/longlong.h: Update from GCC.
15838 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15839 * math/w_j0f.c (y0f): Likewise.
15840 * math/w_j0l.c (__y0l): Likewise.
15841 * math/w_j1.c (y1): Likewise.
15842 * math/w_j1f.c (y1f): Likewise.
15843 * math/w_j1l.c (__y1l): Likewise
15844 * math/w_jn.c (yn): Likewise.
15845 * math/w_jnf.c (ynf): Likewise.
15846 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15847 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15848 value for Bessel function domain errors outside _SVID_ mode.
15849 Adjust sign of return value for yn (negative integer, 0).
15850 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15851 by zero in return for negative x and set sign appropriately for
15853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15855 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15856 expectations in error cases.
15857 (y1_test_data): Likewise.
15858 (yn_test_data): Likewise.
15859 * sysdeps/i386/fpu/libm-test-ulps: Update.
15860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15862 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15864 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15865 "64" to "64-v1". Add "64-v2".
15866 (abi-64-options): Rename to ...
15867 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15868 (abi-64-condition): Rename to ...
15869 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15870 (abi-64-ld-soname): Rename to ...
15871 (abi-64-v1-ld-soname): ... this.
15872 (abi-64-v2-options): Define.
15873 (abi-64-v2-condition): Likewise.
15874 (abi-64-v2-ld-soname): Likewise.
15875 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15876 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15881 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15882 Alan Modra <amodra@gmail.com>
15884 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15885 New versions for use with the ELFv2 ABI.
15886 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15887 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15889 (struct La_ppc64v2_retval): Likewise.
15890 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15891 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15892 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15893 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15894 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15895 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15896 Do not save or restore CR.
15897 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15898 (_dl_profile_resolve): Do no save or restore CR. Support extended
15899 return values for ELFv2 ABI. Fix location of FPR return registers.
15900 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15901 updated values for _CALL_ELF == 2.
15902 (La_regs, La_retval, int_retval): Likewise.
15904 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15906 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15907 (FRAME_MIN_SIZE_PARM): Likewise.
15908 (FRAME_BACKCHAIN): Likewise.
15909 (FRAME_CR_SAVE): Likewise.
15910 (FRAME_LR_SAVE): Likewise.
15911 (FRAME_TOC_SAVE): Likewise.
15912 (FRAME_PARM_SAVE): Likewise.
15913 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15914 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15915 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15916 (call_mcount_parm_offset): New macro.
15917 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15918 (PROF): Use symbolic stack frame offsets.
15919 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15921 Redefine in terms of FRAME_MIN_SIZE.
15922 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15923 (_dl_profile_resolve): Likewise. Update comment.
15924 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15925 symbols stack frame offsets.
15926 (__sigsetjmp): Likewise.
15927 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15928 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15929 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15930 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15933 (FRAME_BACKCHAIN): Remove.
15934 (FRAME_CR_SAVE): Likewise.
15935 (FRAME_LR_SAVE): Likewise.
15936 (FRAME_COMPILER_DW): Likewise.
15937 (FRAME_LINKER_DW): Likewise.
15938 (FRAME_TOC_SAVE): Likewise.
15939 (FRAME_PARM_SAVE): Likewise.
15940 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15941 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15942 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15944 (CHECK_SP): Use symbolic stack frame offsets.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15946 zone" instead of caller's parameter save area for temp storage.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15948 Likewise. Also, use symbolic stack frame offsets.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15950 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15951 our own stack frame instead of the caller's.
15952 (__socket): Use symbolic stack frame offsets.
15954 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15955 Alan Modra <amodra@gmail.com>
15957 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15959 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15960 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15961 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15963 (elf_machine_fixup_plt): Call it.
15964 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15966 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15967 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15968 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15969 r2 before calling target.
15971 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15972 Alan Modra <amodra@gmail.com>
15974 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15975 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15976 versions of macros to support ELFv2 ABI.
15977 (LOCALENTRY): New macro.
15978 (ENTRY, EALIGN): Use it.
15979 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15980 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15981 fall through into ENTRY entry point.
15982 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15983 Only define if _CALL_ELF != 2.
15985 (elf_machine_matches_host): Verify ABI version matches.
15986 (RTLD_START): Use LOCALENTRY.
15987 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15988 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15989 (PLT_ENTRY_WORDS): New macro.
15990 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15991 (elf_machine_runtime_setup): Support ELFv2 ABI.
15992 (elf_machine_fixup_plt): Likewise.
15993 (elf_machine_plt_conflict): Likewise.
15994 (resolve_ifunc): Likewise.
15995 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15999 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16001 (makecontext): Support ELFv2 ABI.
16002 * elf/elf.h (EF_PPC64_ABI): Define.
16004 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16006 * sysdeps/powerpc/powerpc64/sysdep.h
16007 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16008 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16009 (ENTRY) [ASSEMBLER]: ... but instead here ...
16010 (EALIGN) [ASSEMBLER]: ... and here.
16011 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16012 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16013 (ENTRY_2) [!ASSEMBLER]: Use it.
16014 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16015 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16016 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16017 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16018 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16020 Use PPC64_LOAD_FUNCPTR.
16022 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16024 2013-12-04 Alan Modra <amodra@gmail.com>
16026 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16027 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16028 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16029 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16031 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16032 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16033 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16034 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16035 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16036 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16038 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16041 (__makecontext): Fix incorrect CFI when backtracing out of
16042 context created via makecontext.
16043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16044 (__setcontext): Fix incorrect CFI during switch to new context.
16045 (__novec_setcontext): Likewise.
16047 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16050 * time/strptime_l.c (__strptime_internal): Allow modifiers
16052 * time/tst-strptime.c (day_tests): Add testcase.
16054 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16056 * scripts/bench.pl: Skip over blank lines.
16058 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16061 * manual/time.texi (Calendar Time): Clarify what timezone functions
16064 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16068 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16070 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16072 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16073 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16074 * debug/memset_chk.c (__memset_chk): Likewise.
16075 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16076 * debug/strncpy_chk.c: Likewise.
16078 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16082 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16083 (__ieee754_exp): For possibly underflowing results, check size of
16084 result and force underflow exception if required.
16085 * math/auto-libm-test-in: Add more tests of exp.
16086 * math/auto-libm-test-out: Regenerated.
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16091 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16092 * math/w_exp2f.c (__exp2f): Likewise.
16093 * math/w_exp2l.c (__exp2l): Likewise.
16094 * math/auto-libm-test-in: Do not allow missing errno on exp2
16096 * math/auto-libm-test-out: Regenerated.
16098 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16101 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16102 handle filename validation.
16103 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16106 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16109 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16110 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16111 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16113 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16115 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16117 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16119 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16120 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16121 Add more erfc tests.
16122 * math/auto-libm-test-out: Regenerated.
16123 * sysdeps/i386/fpu/libm-test-ulps: Update.
16124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16126 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16127 exp2, expm1, j0 and j1.
16128 * math/auto-libm-test-out: Regenerated.
16129 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16130 (erfc_test_data): Likewise.
16131 (exp_test_data): Likewise.
16132 (exp_tonearest_test_data): Likewise.
16133 (exp_towardzero_test_data): Likewise.
16134 (exp_downward_test_data): Likewise.
16135 (exp_upward_test_data): Likewise.
16136 (exp10_test_data): Likewise.
16137 (exp2_test_data): Likewise.
16138 (expm1_test_data): Likewise.
16139 (j0_test_data): Likewise.
16140 (j1_test_data): Likewise.
16141 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16142 (input_flag_type): Add flag_xfail_rounding.
16143 (input_flags): Add xfail-rounding.
16144 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16145 (output_for_one_input_case): Handle flag_xfail_rounding.
16146 * sysdeps/i386/fpu/libm-test-ulps: Update.
16147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16149 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16152 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16155 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16158 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16159 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16160 (STAP_PROBE0): New macro.
16161 (STAP_PROBE1): Likewise.
16162 (STAP_PROBE2): Likewise.
16163 (STAP_PROBE3): Likewise.
16164 (STAP_PROBE4): Likewise.
16166 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16168 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16170 2013-12-02 Steve Ellcey <sellcey@mips.com>
16172 * benchtests/Makefile (bench): Add sqrt.
16173 (LDLIBS-bench-sqrt): New.
16174 * benchtests/sqrt-input: New.
16176 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16178 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16179 (GAIH_EAI): Likewise.
16180 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16181 (gaih_inet): Likewise.
16182 (getaddrinfo): Don't use GAIH_EAI.
16184 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16185 (struct gaih): Remove definition.
16187 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16189 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16190 Use HERRNOP directly.
16192 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16196 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16198 * math/gen-auto-libm-tests.c (test_functions): Add more
16199 single-argument functions.
16200 (special_fill_pi_2): New function.
16201 (special_fill_minus_pi_2): Likewise.
16202 (special_fill_pi_6): Likewise.
16203 (special_fill_minus_pi_6): Likewise.
16204 (special_fill_pi_3): Likewise.
16205 (special_fill_2pi_3): Likewise.
16206 (special_fill_e): Likewise.
16207 (special_fill_1_e): Likewise.
16208 (special_fill_e_minus_1): Likewise.
16209 (special_real_inputs): Add more special inputs.
16210 (output_for_one_input_case): Do not require ERANGE on underflow to
16211 zero if round-to-nearest result does not underflow to zero, unless
16212 exact results required.
16213 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16214 atan, atanh, cbrt, cos and cosh.
16215 * math/auto-libm-test-out: Regenerated.
16216 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16217 (acos_tonearest_test_data): Likewise.
16218 (acos_towardzero_test_data): Likewise.
16219 (acos_downward_test_data): Likewise.
16220 (acos_upward_test_data): Likewise.
16221 (acosh_test_data): Likewise.
16222 (asin_test_data): Likewise.
16223 (asin_tonearest_test_data): Likewise.
16224 (asin_towardzero_test_data): Likewise.
16225 (asin_upward_test_data): Likewise.
16226 (asinh_test_data): Likewise.
16227 (atan_test_data): Likewise.
16228 (atanh_test_data): Likewise.
16229 (cbrt_test_data): Likewise.
16230 (cos_test_data): Likewise.
16231 (cos_tonearest_test_data): Likewise.
16232 (cos_towardzero_test_data): Likewise.
16233 (cos_downward_test_data): Likewise.
16234 (cos_upward_test_data): Likewise.
16235 (cosh_test_data): Likewise.
16236 (cosh_tonearest_test_data): Likewise.
16237 (cosh_towardzero_test_data): Likewise.
16238 (cosh_downward_test_data): Likewise.
16239 (cosh_upward_test_data): Likewise.
16240 * sysdeps/i386/fpu/libm-test-ulps: Update.
16241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16243 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16246 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16247 * math/w_exp10f.c (__exp10f): Likewise.
16248 * math/w_exp10l.c (__exp10l): Likewise.
16249 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16250 errno settings in existing tests.
16253 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16254 precision control set to double precision.
16255 * sysdeps/i386/fpu/w_sqrt.c: New file.
16256 * math/auto-libm-test-in: Add more tests.
16257 * math/auto-libm-test-out: Update.
16259 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16260 (sqrt_test_tonearest): New function.
16261 (sqrt_towardzero_test_data): New variable.
16262 (sqrt_test_towardzero): New function.
16263 (sqrt_downward_test_data): New variable.
16264 (sqrt_test_downward): New function.
16265 (sqrt_upward_test_data): New variable.
16266 (sqrt_test_upward): New function.
16267 (main): Call the new functions.
16269 * math/gen-auto-libm-tests.c: New file.
16270 * math/auto-libm-test-in: Likewise.
16271 * math/auto-libm-test-out: New generated file.
16272 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16274 (%beautify): Add generated representations of zero.
16275 (top level): Set $auto_input and call parse_auto_input.
16276 (beautify): Remove trailing "f" from hex float constants.
16277 (parse_args): Handle XFAIL_TEST.
16278 (convert_condition): New function.
16279 (or_value): Likewise.
16280 (or_cond_value): Likewise.
16281 (generate_testfile): Handle AUTO_TESTS_* lines.
16282 (parse_auto_input): New function.
16283 * math/libm-test.inc (XFAIL_TEST): New macro.
16284 (ERRNO_UNCHANGED): Update value.
16285 (ERRNO_EDOM): Likewise.
16286 (ERRNO_ERANGE): Likewise.
16287 (IGNORE_RESULT): Likewise.
16288 (TEST_COND_flt_32): New macro.
16289 (TEST_COND_dbl_64): Likewise.
16290 (TEST_COND_ldbl_96_intel): Likewise.
16291 (TEST_COND_ldbl_96_m68k): Likewise.
16292 (TEST_COND_ldbl_128): Likewise.
16293 (TEST_COND_ldbl_128ibm): Likewise.
16294 (TEST_COND_long32): Likewise.
16295 (TEST_COND_long64): Likewise.
16296 (TEST_COND_before_rounding): Likewise.
16297 (TEST_COND_after_rounding): Likewise.
16298 (enable_test): Handle XFAIL_TEST flag.
16299 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16300 with finite results.
16301 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16302 auto-libm-test-out.
16304 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16305 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16308 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16309 __tls_get_addr_internal instead of __tls_get_offset in order to
16310 avoid GOT pointer dependency. Make rtld export
16311 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16312 __tls_get_addr since we are a __tls_get_offset platform.
16313 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16314 GOT pointer being set up before.
16315 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16317 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16319 * manual/math.texi (Errors in Math Functions): Document accuracy
16323 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16324 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16327 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16329 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16337 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16338 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16340 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16341 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16342 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16343 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16344 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16346 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16348 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16350 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16351 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16352 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16353 atomic-feupdateenv and flt-rounds.
16354 * sysdeps/powerpc/nofpu/Versions (libc): Add
16355 __atomic_feholdexcept, __atomic_feclearexcept,
16356 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16357 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16358 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16359 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16360 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16365 * manual/arith.texi (FP Exceptions): Document that exceptions may
16366 not be raised when matherr is used.
16367 (Math Error Reporting): Document overflow in directed rounding
16368 modes. Document that errno may not be set when finite values are
16369 returned on overflow. Document intent to set errno on underflow
16370 only for underflow to zero.
16373 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16374 round-to-nearest then adjust result for other rounding modes.
16375 * include/fenv.h (fegetround): Use libm_hidden_proto.
16376 * math/fegetround.c (fegetround): Use libm_hidden_def.
16377 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16378 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16379 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16380 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16382 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16383 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16384 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16385 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16387 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16390 * nss/Versions (libnss_files): Add
16391 _nss_files_gethostbyname3_r.
16392 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16394 (HOST_DB_LOOKUP): Remove macro.
16395 (_nss_files_gethostbyname_r): Implement function without the
16396 HOST_DB_LOOKUP macro.
16397 (_nss_files_gethostbyname2_r): Likewise.
16399 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16401 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16403 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16405 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16406 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16409 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16411 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16412 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16413 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16414 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16415 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16416 __fe_nomask_env_priv and attribute_hidden.
16417 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16418 (libc_feupdateenv_test_ppc): Likewise.
16419 (libc_feresetround_ppc): Likewise.
16420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16421 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16422 compat_symbol macro.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16424 (__fe_nomask_env): Likewise.
16425 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16427 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16429 * string/Makefile: Remove ifunc tests.
16430 * string/test-string.h: Define TEST_IFUNC.
16431 * string/test-bcopy-ifunc.c: Remove.
16432 * string/test-bzero-ifunc.c: Likewise.
16433 * string/test-memccpy-ifunc.c: Likewise.
16434 * string/test-memchr-ifunc.c: Likewise.
16435 * string/test-memcmp-ifunc.c: Likewise.
16436 * string/test-memcpy-ifunc.c: Likewise.
16437 * string/test-memmem-ifunc.c: Likewise.
16438 * string/test-memmove-ifunc.c: Likewise.
16439 * string/test-mempcpy-ifunc.c: Likewise.
16440 * string/test-memrchr-ifunc.c: Likewise.
16441 * string/test-memset-ifunc.c: Likewise.
16442 * string/test-rawmemchr-ifunc.c: Likewise.
16443 * string/test-stpcpy-ifunc.c: Likewise.
16444 * string/test-stpncpy-ifunc.c: Likewise.
16445 * string/test-strcasecmp-ifunc.c: Likewise.
16446 * string/test-strcasestr-ifunc.c: Likewise.
16447 * string/test-strcat-ifunc.c: Likewise.
16448 * string/test-strchr-ifunc.c: Likewise.
16449 * string/test-strchrnul-ifunc.c: Likewise.
16450 * string/test-strcmp-ifunc.c: Likewise.
16451 * string/test-strcpy-ifunc.c: Likewise.
16452 * string/test-strcspn-ifunc.c: Likewise.
16453 * string/test-strlen-ifunc.c: Likewise.
16454 * string/test-strncasecmp-ifunc.c: Likewise.
16455 * string/test-strncat-ifunc.c: Likewise.
16456 * string/test-strncmp-ifunc.c: Likewise.
16457 * string/test-strncpy-ifunc.c: Likewise.
16458 * string/test-strnlen-ifunc.c: Likewise.
16459 * string/test-strpbrk-ifunc.c: Likewise.
16460 * string/test-strrchr-ifunc.c: Likewise.
16461 * string/test-strspn-ifunc.c: Likewise.
16462 * string/test-strstr-ifunc.c: Likewise.
16464 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16466 * benchtests/Makefile: Remove ifunc tests.
16467 * benchtests/bench-string.h: Define TEST_IFUNC.
16468 * benchtests/bench-bcopy-ifunc.c: Remove.
16469 * benchtests/bench-bzero-ifunc.c: Likewise.
16470 * benchtests/bench-memccpy-ifunc.c: Likewise.
16471 * benchtests/bench-memchr-ifunc.c: Likewise.
16472 * benchtests/bench-memcmp-ifunc.c: Likewise.
16473 * benchtests/bench-memcpy-ifunc.c: Likewise.
16474 * benchtests/bench-memmem-ifunc.c: Likewise.
16475 * benchtests/bench-memmove-ifunc.c: Likewise.
16476 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16477 * benchtests/bench-memrchr-ifunc.c: Likewise.
16478 * benchtests/bench-memset-ifunc.c: Likewise.
16479 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16480 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16481 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16482 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16483 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16484 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16485 * benchtests/bench-strcat-ifunc.c: Likewise.
16486 * benchtests/bench-strchr-ifunc.c: Likewise.
16487 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16488 * benchtests/bench-strcmp-ifunc.c: Likewise.
16489 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16490 * benchtests/bench-strcpy-ifunc.c: Likewise.
16491 * benchtests/bench-strcspn-ifunc.c: Likewise.
16492 * benchtests/bench-strlen-ifunc.c: Likewise.
16493 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16494 * benchtests/bench-strncat-ifunc.c: Likewise.
16495 * benchtests/bench-strncmp-ifunc.c: Likewise.
16496 * benchtests/bench-strncpy-ifunc.c: Likewise.
16497 * benchtests/bench-strnlen-ifunc.c: Likewise.
16498 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16499 * benchtests/bench-strrchr-ifunc.c: Likewise.
16500 * benchtests/bench-strsep-ifunc.c: Likewise.
16501 * benchtests/bench-strspn-ifunc.c: Likewise.
16502 * benchtests/bench-strstr-ifunc.c: Likewise.
16504 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16506 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16508 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16510 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16511 * rt/aio.h: Likewise.
16512 * sysdeps/gnu/bits/utmp.h: Likewise.
16513 * sysdeps/gnu/bits/utmpx.h: Likewise.
16514 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16515 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16516 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16517 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16518 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16519 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16520 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16521 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16524 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16525 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16526 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16528 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16529 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16530 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16531 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16532 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16533 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16534 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16535 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16536 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16537 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16538 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16539 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16540 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16541 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16542 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16543 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16544 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16545 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16546 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16547 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16548 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16549 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16550 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16551 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16552 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16553 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16554 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16555 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16557 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16560 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16561 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16563 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16565 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16566 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16569 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16571 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16572 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16573 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16574 (__fesetround): Remove define.
16575 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16576 rounding and exceptions handling.
16577 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16578 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16579 (__fe_nomask_env): Likewise.
16580 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16581 __fegetround instead of fegetround.
16582 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16583 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16585 2013-11-21 Roland McGrath <roland@hack.frob.com>
16587 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16590 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16592 2013-11-21 Meador Inge <meadori@codesourcery.com>
16595 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16596 (encrypt_r): Likewise.
16597 * malloc/obstack.h (obstack_free): Likewise.
16598 * posix/unistd.h (encrypt): Likewise.
16600 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16602 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16603 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16604 DL_CALL_DT_FINI() that call the functions directly.
16605 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16606 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16607 * elf/dl-fini.c: Likewise.
16609 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16611 * malloc/hooks.c (memalign_check): Add alignment rounding.
16612 * malloc/malloc.c (_mid_memalign): New function.
16613 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16614 Implement by calling _mid_memalign.
16615 * manual/probes.texi (Memory Allocation Probes): Remove
16616 memory_valloc_retry and memory_pvalloc_retry.
16618 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16620 * locale/programs/locarchive.c (open_archive): Add const
16621 qualifier to ARCHIVEFNAME and copy default fname to
16625 * libio/tst-widetext.input: Rename Oriya to Odia.
16626 * locale/iso-639.def: Likewise.
16628 * manual/probes.texi (Mathematical Function Probes): Add
16629 documentation for sin, cos, asin and acos probes.
16630 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16631 (__sin32): Add slowasin probe.
16632 (__cos32): Add slowacos probe.
16633 (__mpsin): Add slowsin probe.
16634 (__mpcos): Add slowcos probe.
16636 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16639 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16640 thread-local __sim_exceptions_thread and global
16641 __sim_exceptions_global.
16642 (__sim_disabled_exceptions): Change to thread-local
16643 __sim_disabled_exceptions_thread and global
16644 __sim_disabled_exceptions_global.
16645 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16646 and global __sim_round_mode_global.
16647 (__simulate_exceptions): Use thread-local floating-point state and
16648 set global state from it as needed.
16649 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16650 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16651 __sim_round_mode_thread.
16652 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16653 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16654 and global __sim_exceptions_global.
16655 (__sim_disabled_exceptions): Change to thread-local
16656 __sim_disabled_exceptions_thread and global
16657 __sim_disabled_exceptions_global.
16658 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16659 and global __sim_round_mode_global.
16660 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16661 (SIM_SET_GLOBAL): Likewise.
16662 * sysdeps/powerpc/soft-fp/sfp-machine.h
16663 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16664 __sim_round_mode_thread.
16665 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16666 __sim_disabled_exceptions_thread.
16667 (__sim_exceptions): Change to __sim_exceptions_thread.
16668 (__sim_disabled_exceptions): Change to
16669 __sim_disabled_exceptions_thread.
16670 (__sim_round_mode): Change to __sim_round_mode_thread.
16671 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16672 thread-local floating-point state and set global state from it as
16674 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16675 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16676 (__sim_disabled_exceptions): Remove extern declaration.
16677 (feenableexcept): Use thread-local floating-point state and set
16678 global state from it as needed.
16679 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16680 extern declaration.
16681 (__sim_disabled_exceptions): Likewise.
16682 (__sim_round_mode): Likewise.
16683 (__fegetenv): Use thread-local floating-point state.
16684 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16685 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16686 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16687 floating-point state and set global state from it as needed.
16688 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16689 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16690 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16692 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16693 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16695 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16696 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16697 Use __sim_round_mode_thread.
16698 * math/test-fenv-tls.c: New file.
16699 * math/Makefile (tests): Add test-fenv-tls.
16700 ($(objpfx)test-fenv-tls): Depend on
16701 $(common-objpfx)nptl/libpthread.so.
16703 2013-11-19 Andreas Schwab <schwab@suse.de>
16705 * locale/programs/locale.c (show_info): Decode wordarray elements.
16706 * locale/categories.def (LC_MONETARY): Add element for
16707 _NL_MONETARY_CRNCYSTR.
16708 * locale/C-monetary.c (conversion_rate): New variable.
16709 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16712 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16714 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16715 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16717 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16719 * elf/Makefile (tst-auxv): New test.
16720 * elf/tst-auxv.c: New
16721 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16723 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16725 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16726 (hidden_proto): Caller changed.
16727 (hidden_tls_proto): New macro.
16728 (libc_hidden_tls_proto): Likewise.
16729 (rtld_hidden_tls_proto): Likewise.
16730 (libm_hidden_tls_proto): Likewise.
16731 (libresolv_hidden_tls_proto): Likewise.
16732 (librt_hidden_tls_proto): Likewise.
16733 (libdl_hidden_tls_proto): Likewise.
16734 (libnss_files_hidden_tls_proto): Likewise.
16735 (libnsl_hidden_tls_proto): Likewise.
16736 (libnss_nisplus_hidden_tls_proto): Likewise.
16737 (libutil_hidden_tls_proto): Likewise.
16739 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16742 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16743 (decompose_rpath): Defer expansion to fillin_rpath.
16744 (_dl_init_paths): Pass linkmap to fillin_rpath.
16746 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16748 * benchtests/Makefile: Add strsep.
16749 * benchtests/bench-strsep.c: New file: strsep benchtest.
16750 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16752 2013-11-18 Andreas Schwab <schwab@suse.de>
16754 * locale/programs/locale.c (show_info) [case byte]: Check for
16755 '\377' instead of '\177'.
16756 * locale/C-monetary.c (not_available): Always use "\377".
16757 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16758 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16759 detect unavailable sign_posn locale elements.
16760 * locale/localeconv.c (__localeconv): For grouping and
16761 mon_grouping handle "\177" and "\377" like no grouping.
16762 (INT_ELEM): New macro. Use it to set all numeric members.
16763 * locale/programs/ld-monetary.c (monetary_read)
16764 <tok_mon_grouping>: Normalize single -1 to the empty string.
16765 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16768 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16771 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16772 when we match (nil).
16773 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16775 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16777 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16778 (NO_TEST_INLINE): Update value.
16779 (ERRNO_UNCHANGED): Likewise.
16780 (ERRNO_EDOM): Likewise.
16781 (ERRNO_ERANGE): Likewise.
16782 (IGNORE_RESULT): Likewise.
16783 (check_float_internal): Check signs of NaN results if
16784 TEST_NAN_SIGN used.
16785 (check_complex): Pass TEST_NAN_SIGN flag through to second
16786 check_float_internal call.
16787 (copysign_test_data): Add tests with quiet NaNs as second
16788 argument. Use TEST_NAN_SIGN.
16789 (fabs_test_data): Add test of negative quiet NaN argument. Use
16791 (signbit_test_data): Add tests of quiet NaN argument.
16792 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16794 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16796 (parse_args): Handle function results specified as IGNORE.
16797 * math/libm-test.inc (IGNORE_RESULT): New macro.
16798 (check_float_internal): Do not check numerical result if flag
16800 (check_complex): Pass through IGNORE_RESULT to second
16801 check_float_internal call.
16802 (check_int): Do not check numerical result if flag IGNORE_RESULT
16804 (check_long): Likewise.
16805 (check_bool): Likewise.
16806 (check_longlong): Likewise.
16807 (lrint_test_data): Add tests of infinite and NaN arguments.
16808 (lrint_tonearest_test_data): Likewise.
16809 (lrint_towardzero_test_data): Likewise.
16810 (lrint_downward_test_data): Likewise.
16811 (lrint_upward_test_data): Likewise.
16812 (llrint_test_data): Likewise.
16813 (llrint_tonearest_test_data): Likewise.
16814 (llrint_towardzero_test_data): Likewise.
16815 (llrint_downward_test_data): Likewise.
16816 (llrint_upward_test_data): Likewise.
16817 (lround_test_data): Likewise.
16818 (llround_test_data): Likewise.
16820 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16821 (ERRNO_UNCHANGED): Update value.
16822 (ERRNO_EDOM): Likewise.
16823 (ERRNO_ERANGE): Likewise.
16824 (NO_TEST_INLINE_FLOAT): New macro.
16825 (NO_TEST_INLINE_DOUBLE): Likewise.
16826 (enable_test): New function.
16827 (RUN_TEST_f_f): Check enable_test before running test.
16828 (RUN_TEST_2_f): Likewise.
16829 (RUN_TEST_fff_f): Likewise.
16830 (RUN_TEST_c_f): Likewise.
16831 (RUN_TEST_f_f1): Likewise.
16832 (RUN_TEST_fF_f1): Likewise.
16833 (RUN_TEST_fI_f1): Likewise.
16834 (RUN_TEST_ffI_f1): Likewise.
16835 (RUN_TEST_c_c): Likewise.
16836 (RUN_TEST_cc_c): Likewise.
16837 (RUN_TEST_f_i): Likewise.
16838 (RUN_TEST_f_i_tg): Likewise.
16839 (RUN_TEST_ff_i_tg): Likewise.
16840 (RUN_TEST_f_b): Likewise.
16841 (RUN_TEST_f_b_tg): Likewise.
16842 (RUN_TEST_f_l): Likewise.
16843 (RUN_TEST_f_L): Likewise.
16844 (RUN_TEST_fFF_11): Likewise.
16845 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16847 (cosh_test_data): Likewise.
16848 (exp_test_data): Likewise.
16849 (expm1_test_data): Likewise.
16850 (hypot_test_data): Likewise.
16851 (pow_test_data): Likewise.
16852 (sinh_test_data): Likewise.
16853 (tanh_test_data): Likewise.
16854 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16857 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16858 tests with quiet NaN input and output.
16859 (acosh_test_data): Likewise.
16860 (asin_test_data): Likewise.
16861 (asinh_test_data): Likewise.
16862 (atan_test_data): Likewise.
16863 (atanh_test_data): Likewise.
16864 (atan2_test_data): Likewise.
16865 (cbrt_test_data): Likewise.
16866 (cos_test_data): Likewise.
16867 (cosh_test_data): Likewise.
16868 (erf_test_data): Likewise.
16869 (erfc_test_data): Likewise.
16870 (exp_test_data): Likewise.
16871 (exp10_test_data): Likewise.
16872 (exp2_test_data): Likewise.
16873 (expm1_test_data): Likewise.
16874 (hypot_test_data): Likewise.
16875 (j0_test_data): Likewise.
16876 (j1_test_data): Likewise.
16877 (jn_test_data): Likewise.
16878 (lgamma_test_data): Likewise.
16879 (log_test_data): Likewise.
16880 (log10_test_data): Likewise.
16881 (log1p_test_data): Likewise.
16882 (log2_test_data): Likewise.
16883 (pow_test_data): Likewise.
16884 (scalb_test_data): Likewise.
16885 (sin_test_data): Likewise.
16886 (sincos_test_data): Likewise.
16887 (sinh_test_data): Likewise.
16888 (tan_test_data): Likewise.
16889 (tanh_test_data): Likewise.
16890 (tgamma_test_data): Likewise.
16891 (y0_test_data): Likewise.
16892 (y1_test_data): Likewise.
16893 (yn_test_data): Likewise.
16896 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16897 argument being NaN and avoid computations with second argument in
16899 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16900 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16901 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16903 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16905 * locale/iso-639.def: Add Chitwani Tharu (the).
16907 2013-11-14 Andreas Schwab <schwab@suse.de>
16909 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16910 word instead of empty string.
16912 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16915 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16917 (__fe_nomask_env): Likewise.
16919 2013-11-13 Steve Ellcey <sellcey@mips.com>
16921 * benchtests/bench-timing.h: Include time.h.
16923 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16926 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16928 * sysdeps/unix/sysv/linux/configure: Regenerated.
16930 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16933 * stdlib/strtod_l.c (round_and_return): Do not consider
16934 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16935 exponent one less than half the least subnormal exponent.
16936 * stdlib/test-strtod-round-data: Add more tests.
16937 * stdlib/tst-strtod-round.c (tests): Regenerated.
16939 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16942 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16943 (__fe_mask_env): Likewise.
16944 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16945 libm_hidden_proto and add function prototype.
16946 (__fe_mask_env): Add function prototype.
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16948 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16950 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16952 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16954 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16956 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16957 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16959 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16961 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16962 of htab_find_slot().
16964 2013-11-11 David S. Miller <davem@davemloft.net>
16967 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16968 symbol in the non-vis3 case in static builds.
16969 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16970 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16971 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16972 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16974 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16977 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16980 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16982 * benchtests/Makefile: Add bench-strtod.
16983 * benchtests/bench-strtod.c: New file: strtod benchtest
16985 2013-11-11 Andreas Schwab <schwab@suse.de>
16988 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16989 terminating NUL in key length.
16991 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16993 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16994 Add artificial ODP entry for vDSO symbol for PPC64.
16995 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16996 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16998 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
17001 * nss/getent.c (services_keys): Recognize services starting with digit.
17003 2013-11-06 David S. Miller <davem@davemloft.net>
17006 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17007 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17009 2013-11-06 Will Newton <will.newton@linaro.org>
17011 * manual/memory.texi (Malloc Examples): Remove register
17012 keyword from examples.
17014 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17016 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17018 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17021 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17022 depending on [__GCC_IEC_559 > 0].
17023 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17024 depending on [__GCC_IEC_559_COMPLEX > 0].
17026 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17028 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17031 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17033 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17035 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17038 * malloc/malloc (malloc_info): Do not handle first bin as
17041 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17043 * locale/iso-639.def: Add Central Nahuatl (nhn).
17045 2013-11-01 Bruno Haible <bruno@clisp.org>
17048 * manual/math.texi (BSD Random): Specify range upper bound as
17051 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17053 * locale/iso-639.def: Add Meadow Mari (mhr).
17055 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17057 [BZ #14752], [BZ #15763]
17058 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17060 * rt/tst_shm.c: Add test for escaping directory.
17062 2013-10-31 Andreas Schwab <schwab@suse.de>
17065 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17066 followed by 'x' as part of digit sequence.
17067 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17069 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17072 * configure.ac: allow GNU Make 4.0 and greater.
17073 * configure: Regenerated.
17075 2013-10-30 Will Newton <will.newton@linaro.org>
17078 * malloc/hooks.c (memalign_check): Limit alignment to the
17079 maximum representable power of two.
17080 * malloc/malloc.c (__libc_memalign): Likewise.
17081 * malloc/tst-memalign.c (do_test): Add test for very
17082 large alignment values.
17083 * malloc/tst-posix_memalign.c (do_test): Likewise.
17085 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17088 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17089 (munmap_chunk): Likewise.
17090 (mremap_chunk): Likewise.
17092 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17095 * stdlib/div.c (div): Remove obsolete code.
17096 * stdlib/ldiv.c (ldiv): Likewise.
17097 * stdlib/lldiv.c (lldiv): Likewise.
17099 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17102 * nss/nss_files/files-XXX.c (get_contents_ret): New
17104 (get_contents): New function.
17105 (internal_getent): Use it. Expand size of LINEBUFLEN.
17107 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17109 * configure.in: Moved to ...
17110 * configure.ac: ... here. Change reference to configure.in
17112 * sysdeps/arm/preconfigure.ac: ... here.
17113 configure.in to configure.ac.
17114 * sysdeps/gnu/configure.in: Moved to ...
17115 * sysdeps/gnu/configure.ac: ... here.
17116 * sysdeps/i386/configure.in: Moved to ...
17117 * sysdeps/i386/configure.ac: ... here.
17118 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17119 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17120 * sysdeps/mach/configure.in: Moved to ...
17121 * sysdeps/mach/configure.ac: ... here.
17122 * sysdeps/mach/hurd/configure.in: Moved to ...
17123 * sysdeps/mach/hurd/configure.ac: ... here.
17124 * sysdeps/powerpc/configure.in: Moved to ...
17125 * sysdeps/powerpc/configure.ac: ... here.
17126 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17127 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17128 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17129 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17130 * sysdeps/s390/s390-32/configure.in: Moved to ...
17131 * sysdeps/s390/s390-32/configure.ac: ... here.
17132 * sysdeps/s390/s390-64/configure.in: Moved to ...
17133 * sysdeps/s390/s390-64/configure.ac: ... here.
17134 * sysdeps/sh/configure.in: Moved to ...
17135 * sysdeps/sh/configure.ac: ... here.
17136 * sysdeps/sparc/configure.in: Moved to ...
17137 * sysdeps/sparc/configure.ac: ... here.
17138 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17139 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17140 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17141 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17142 * sysdeps/x86_64/configure.in: Moved to ...
17143 * sysdeps/x86_64/configure.ac: ... here.
17144 * sysdeps/x86_64/preconfigure.in: Moved to ...
17145 * sysdeps/x86_64/preconfigure.ac: ... here.
17146 * aclocal.m4: Change reference to configure.in to configure.ac.
17147 * config.h.in: Likewise.
17148 * manual/install.texi: Likewise.
17149 * manual/maint.texi: Likewise.
17150 * Makefile: Likewise.
17151 * malloc/Makefile: Likewise.
17152 * nscd/Makefile: Likewise.
17153 * Makeconfig: Change reference to configure.in and
17154 preconfigure.in to configure.ac and preconfigure.ac
17156 * INSTALL: Regenerated.
17157 * configure: Likewise.
17158 * sysdeps/gnu/configure: Likewise.
17159 * sysdeps/i386/configure: Likewise.
17160 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17161 * sysdeps/mach/configure: Likewise.
17162 * sysdeps/mach/hurd/configure: Likewise.
17163 * sysdeps/powerpc/configure: Likewise.
17164 * sysdeps/powerpc/powerpc32/configure: Likewise.
17165 * sysdeps/powerpc/powerpc64/configure: Likewise.
17166 * sysdeps/s390/s390-32/configure: Likewise.
17167 * sysdeps/s390/s390-64/configure: Likewise.
17168 * sysdeps/sh/configure: Likewise.
17169 * sysdeps/sparc/configure: Likewise.
17170 * sysdeps/unix/sysv/linux/configure: Likewise.
17171 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17172 * sysdeps/x86_64/configure: Likewise.
17173 * sysdeps/x86_64/preconfigure: Likewise.
17175 2013-10-29 Andreas Schwab <schwab@suse.de>
17177 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17179 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17181 * benchtests/pow-inputs: Add new inputs.
17183 * benchtests/exp-inputs: Add new inputs.
17185 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17186 conditional check for return value.
17187 (__cos32): Likewise.
17189 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17191 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17192 to provide a boost for large inputs with word alignment.
17193 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17194 implementation based on optimized PPC64 strcpy.
17195 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17196 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17197 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17198 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17200 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17203 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17205 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17208 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17209 * time/tst-strptime.c (day_tests): Add testcase.
17211 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17214 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17216 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17219 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17220 MAP_FAILED on error.
17222 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17225 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17226 heap for large requests.
17228 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17231 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17232 result if the result has no associated interface.
17233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17234 interface for all 127.X.Y.Z addresses.
17236 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17238 * locale/iso-639.def: Add Ligurian (lij)
17240 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17243 * sunrpc/rpc_main.c: Document rpcgen -5.
17245 2013-10-19 Michael Stahl <mstahl@redhat.com>
17247 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17249 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17252 * posix/glob.c: Match only directories when trailing slash is present.
17253 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17254 (main): Add testcase.
17256 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17259 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17261 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17263 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17264 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17265 AUTH_DES and cindex for FIPS 140-2.
17266 (DES Encryption): Add cindex FIPS 46-3.
17268 * locale/locarchive.h (struct locarhandle): Add fname.
17269 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17270 if an optional argument was specified to --list-archive,
17272 * locale/programs/locarchive.c (show_archive_content): Take new
17273 argument fname and pass it via ah.fname to open_archive.
17274 * locale/programs/localedef.h: Update decl.
17275 (open_archive): If AH->fname is non-null, open that file
17276 rather than the default file name, and don't ignore ENOENT.
17277 (create_archive): Set AH.fname to NULL.
17278 (delete_locales_from_archive): Likewise.
17279 (add_locales_to_archive): Likewise.
17280 * locale/programs/locfile.c (write_all_categories): Likewise.
17282 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17283 Aldy Hernandez <aldyh@redhat.com>
17285 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17286 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17287 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17288 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17289 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17290 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17291 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17292 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17293 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17294 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17295 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17296 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17297 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17298 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17299 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17301 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17303 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17305 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17307 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17308 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17310 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17311 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17312 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17313 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17315 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17316 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17317 * sysdeps/powerpc/preconfigure: Likewise.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17320 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17321 Replace contents of file by #include of <fenv_libc.h>.
17322 * sysdeps/powerpc/soft-fp/sfp-machine.h
17323 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17325 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17326 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17328 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17333 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17334 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17338 Allow copysignl PLT reference to be missing.
17340 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17341 Joseph Myers <joseph@codesourcery.com
17344 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17346 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17348 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17350 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17351 * elf/tst-tls1.c: Likewise.
17352 * elf/tst-tls10.h: Likewise.
17353 * elf/tst-tls14.c: Likewise.
17354 * elf/tst-tls2.c: Likewise.
17355 * elf/tst-tls3.c: Likewise.
17356 * elf/tst-tls4.c: Likewise.
17357 * elf/tst-tls5.c: Likewise.
17358 * elf/tst-tls6.c: Likewise.
17359 * elf/tst-tls7.c: Likewise.
17360 * elf/tst-tls8.c: Likewise.
17361 * elf/tst-tls9.c: Likewise.
17362 * elf/tst-tlsmod1.c: Likewise.
17363 * elf/tst-tlsmod13.c: Likewise.
17364 * elf/tst-tlsmod13a.c: Likewise.
17365 * elf/tst-tlsmod14a.c: Likewise.
17366 * elf/tst-tlsmod16a.c: Likewise.
17367 * elf/tst-tlsmod16b.c: Likewise.
17368 * elf/tst-tlsmod2.c: Likewise.
17369 * elf/tst-tlsmod3.c: Likewise.
17370 * elf/tst-tlsmod4.c: Likewise.
17371 * elf/tst-tlsmod5.c: Likewise.
17372 * elf/tst-tlsmod6.c: Likewise.
17374 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17377 * malloc/malloc.c: remove checks for statistics.
17379 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17382 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17383 * inet/tst-network.c: Add testcase.
17385 2013-10-17 Andreas Schwab <schwab@suse.de>
17388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17389 to determine canonical name.
17391 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17393 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17394 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17408 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17414 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17417 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17418 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17423 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17442 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17443 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17444 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17445 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17446 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17447 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17448 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17449 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17450 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17452 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17455 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17456 make result into a quiet NaN.
17458 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17460 * soft-fp/adddf3.c: Fix horizontal whitespace.
17461 * soft-fp/addsf3.c: Likewise.
17462 * soft-fp/addtf3.c: Likewise.
17463 * soft-fp/divdf3.c: Likewise.
17464 * soft-fp/divsf3.c: Likewise.
17465 * soft-fp/divtf3.c: Likewise.
17466 * soft-fp/double.h: Likewise.
17467 * soft-fp/eqdf2.c: Likewise.
17468 * soft-fp/eqsf2.c: Likewise.
17469 * soft-fp/eqtf2.c: Likewise.
17470 * soft-fp/extenddftf2.c: Likewise.
17471 * soft-fp/extended.h: Likewise.
17472 * soft-fp/extendsfdf2.c: Likewise.
17473 * soft-fp/extendsftf2.c: Likewise.
17474 * soft-fp/extendxftf2.c: Likewise.
17475 * soft-fp/fixdfdi.c: Likewise.
17476 * soft-fp/fixdfsi.c: Likewise.
17477 * soft-fp/fixdfti.c: Likewise.
17478 * soft-fp/fixsfdi.c: Likewise.
17479 * soft-fp/fixsfsi.c: Likewise.
17480 * soft-fp/fixsfti.c: Likewise.
17481 * soft-fp/fixtfdi.c: Likewise.
17482 * soft-fp/fixtfsi.c: Likewise.
17483 * soft-fp/fixtfti.c: Likewise.
17484 * soft-fp/fixunsdfdi.c: Likewise.
17485 * soft-fp/fixunsdfsi.c: Likewise.
17486 * soft-fp/fixunsdfti.c: Likewise.
17487 * soft-fp/fixunssfdi.c: Likewise.
17488 * soft-fp/fixunssfsi.c: Likewise.
17489 * soft-fp/fixunssfti.c: Likewise.
17490 * soft-fp/fixunstfdi.c: Likewise.
17491 * soft-fp/fixunstfsi.c: Likewise.
17492 * soft-fp/fixunstfti.c: Likewise.
17493 * soft-fp/floatdidf.c: Likewise.
17494 * soft-fp/floatdisf.c: Likewise.
17495 * soft-fp/floatditf.c: Likewise.
17496 * soft-fp/floatsidf.c: Likewise.
17497 * soft-fp/floatsisf.c: Likewise.
17498 * soft-fp/floatsitf.c: Likewise.
17499 * soft-fp/floattidf.c: Likewise.
17500 * soft-fp/floattisf.c: Likewise.
17501 * soft-fp/floattitf.c: Likewise.
17502 * soft-fp/floatundidf.c: Likewise.
17503 * soft-fp/floatundisf.c: Likewise.
17504 * soft-fp/floatunditf.c: Likewise.
17505 * soft-fp/floatunsidf.c: Likewise.
17506 * soft-fp/floatunsisf.c: Likewise.
17507 * soft-fp/floatunsitf.c: Likewise.
17508 * soft-fp/floatuntidf.c: Likewise.
17509 * soft-fp/floatuntisf.c: Likewise.
17510 * soft-fp/floatuntitf.c: Likewise.
17511 * soft-fp/fmadf4.c: Likewise.
17512 * soft-fp/fmasf4.c: Likewise.
17513 * soft-fp/fmatf4.c: Likewise.
17514 * soft-fp/gedf2.c: Likewise.
17515 * soft-fp/gesf2.c: Likewise.
17516 * soft-fp/getf2.c: Likewise.
17517 * soft-fp/ledf2.c: Likewise.
17518 * soft-fp/lesf2.c: Likewise.
17519 * soft-fp/letf2.c: Likewise.
17520 * soft-fp/muldf3.c: Likewise.
17521 * soft-fp/mulsf3.c: Likewise.
17522 * soft-fp/multf3.c: Likewise.
17523 * soft-fp/negdf2.c: Likewise.
17524 * soft-fp/negsf2.c: Likewise.
17525 * soft-fp/negtf2.c: Likewise.
17526 * soft-fp/op-1.h: Likewise.
17527 * soft-fp/op-2.h: Likewise.
17528 * soft-fp/op-4.h: Likewise.
17529 * soft-fp/op-8.h: Likewise.
17530 * soft-fp/op-common.h: Likewise.
17531 * soft-fp/quad.h: Likewise.
17532 * soft-fp/single.h: Likewise.
17533 * soft-fp/soft-fp.h: Likewise.
17534 * soft-fp/sqrtdf2.c: Likewise.
17535 * soft-fp/sqrtsf2.c: Likewise.
17536 * soft-fp/sqrttf2.c: Likewise.
17537 * soft-fp/subdf3.c: Likewise.
17538 * soft-fp/subsf3.c: Likewise.
17539 * soft-fp/subtf3.c: Likewise.
17540 * soft-fp/truncdfsf2.c: Likewise.
17541 * soft-fp/trunctfdf2.c: Likewise.
17542 * soft-fp/trunctfsf2.c: Likewise.
17543 * soft-fp/trunctfxf2.c: Likewise.
17544 * soft-fp/unorddf2.c: Likewise.
17545 * soft-fp/unordsf2.c: Likewise.
17546 * soft-fp/unordtf2.c: Likewise.
17548 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17550 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17551 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17553 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17555 * elf/dl-libc.c: Clear initfini list after freeing.
17557 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17559 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17560 * soft-fp/addsf3.c: Likewise.
17561 * soft-fp/addtf3.c: Likewise.
17562 * soft-fp/divdf3.c: Likewise.
17563 * soft-fp/divsf3.c: Likewise.
17564 * soft-fp/divtf3.c: Likewise.
17565 * soft-fp/double.h: Likewise.
17566 * soft-fp/eqdf2.c: Likewise.
17567 * soft-fp/eqsf2.c: Likewise.
17568 * soft-fp/eqtf2.c: Likewise.
17569 * soft-fp/extenddftf2.c: Likewise.
17570 * soft-fp/extended.h: Likewise.
17571 * soft-fp/extendsfdf2.c: Likewise.
17572 * soft-fp/extendsftf2.c: Likewise.
17573 * soft-fp/extendxftf2.c: Likewise.
17574 * soft-fp/fixdfdi.c: Likewise.
17575 * soft-fp/fixdfsi.c: Likewise.
17576 * soft-fp/fixdfti.c: Likewise.
17577 * soft-fp/fixsfdi.c: Likewise.
17578 * soft-fp/fixsfsi.c: Likewise.
17579 * soft-fp/fixsfti.c: Likewise.
17580 * soft-fp/fixtfdi.c: Likewise.
17581 * soft-fp/fixtfsi.c: Likewise.
17582 * soft-fp/fixtfti.c: Likewise.
17583 * soft-fp/fixunsdfdi.c: Likewise.
17584 * soft-fp/fixunsdfsi.c: Likewise.
17585 * soft-fp/fixunsdfti.c: Likewise.
17586 * soft-fp/fixunssfdi.c: Likewise.
17587 * soft-fp/fixunssfsi.c: Likewise.
17588 * soft-fp/fixunssfti.c: Likewise.
17589 * soft-fp/fixunstfdi.c: Likewise.
17590 * soft-fp/fixunstfsi.c: Likewise.
17591 * soft-fp/fixunstfti.c: Likewise.
17592 * soft-fp/floatdidf.c: Likewise.
17593 * soft-fp/floatdisf.c: Likewise.
17594 * soft-fp/floatditf.c: Likewise.
17595 * soft-fp/floatsidf.c: Likewise.
17596 * soft-fp/floatsisf.c: Likewise.
17597 * soft-fp/floatsitf.c: Likewise.
17598 * soft-fp/floattidf.c: Likewise.
17599 * soft-fp/floattisf.c: Likewise.
17600 * soft-fp/floattitf.c: Likewise.
17601 * soft-fp/floatundidf.c: Likewise.
17602 * soft-fp/floatundisf.c: Likewise.
17603 * soft-fp/floatunsidf.c: Likewise.
17604 * soft-fp/floatunsisf.c: Likewise.
17605 * soft-fp/floatuntidf.c: Likewise.
17606 * soft-fp/floatuntisf.c: Likewise.
17607 * soft-fp/floatuntitf.c: Likewise.
17608 * soft-fp/fmadf4.c: Likewise.
17609 * soft-fp/fmasf4.c: Likewise.
17610 * soft-fp/fmatf4.c: Likewise.
17611 * soft-fp/gedf2.c: Likewise.
17612 * soft-fp/gesf2.c: Likewise.
17613 * soft-fp/getf2.c: Likewise.
17614 * soft-fp/ledf2.c: Likewise.
17615 * soft-fp/lesf2.c: Likewise.
17616 * soft-fp/letf2.c: Likewise.
17617 * soft-fp/muldf3.c: Likewise.
17618 * soft-fp/mulsf3.c: Likewise.
17619 * soft-fp/multf3.c: Likewise.
17620 * soft-fp/negdf2.c: Likewise.
17621 * soft-fp/negsf2.c: Likewise.
17622 * soft-fp/negtf2.c: Likewise.
17623 * soft-fp/op-1.h: Likewise.
17624 * soft-fp/op-2.h: Likewise.
17625 * soft-fp/op-4.h: Likewise.
17626 * soft-fp/op-8.h: Likewise.
17627 * soft-fp/op-common.h: Likewise.
17628 * soft-fp/quad.h: Likewise.
17629 * soft-fp/single.h: Likewise.
17630 * soft-fp/soft-fp.h: Likewise.
17631 * soft-fp/sqrtdf2.c: Likewise.
17632 * soft-fp/sqrtsf2.c: Likewise.
17633 * soft-fp/sqrttf2.c: Likewise.
17634 * soft-fp/subdf3.c: Likewise.
17635 * soft-fp/subsf3.c: Likewise.
17636 * soft-fp/subtf3.c: Likewise.
17637 * soft-fp/truncdfsf2.c: Likewise.
17638 * soft-fp/trunctfdf2.c: Likewise.
17639 * soft-fp/trunctfsf2.c: Likewise.
17640 * soft-fp/trunctfxf2.c: Likewise.
17641 * soft-fp/unorddf2.c: Likewise.
17642 * soft-fp/unordsf2.c: Likewise.
17643 * soft-fp/unordtf2.c: Likewise.
17645 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17648 * misc/error.c (error_tail): Fix possible buffer overflow.
17650 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17653 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17656 2013-10-14 P. J. McDermott <pj@pehjota.net>
17659 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17660 testing pipefail option.
17662 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17664 * soft-fp/double.h: Indent preprocessor directives inside #if.
17665 * soft-fp/extended.h: Likewise.
17666 * soft-fp/op-2.h: Likewise.
17667 * soft-fp/op-4.h: Likewise.
17668 * soft-fp/op-common.h: Likewise.
17669 * soft-fp/quad.h: Likewise.
17670 * soft-fp/single.h: Likewise.
17671 * soft-fp/soft-fp.h: Likewise.
17673 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17675 * iconv/iconv_prog.c: Fix typos.
17676 * stdio-common/psiginfo-data.h: Likewise.
17678 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17681 * locale/setlocale.c: Fix typo.
17683 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17686 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17687 signaling NaN arguments.
17688 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17689 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17692 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17693 unordered operands.
17694 * soft-fp/gesf2.c (__gesf2): Likewise.
17695 * soft-fp/getf2.c (__getf2): Likewise.
17696 * soft-fp/ledf2.c (__ledf2): Likewise.
17697 * soft-fp/lesf2.c (__lesf2): Likewise.
17698 * soft-fp/letf2.c (__letf2): Likewise.
17700 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17701 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17702 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17703 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17704 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17705 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17706 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17707 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17708 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17709 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17710 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17711 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17712 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17713 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17714 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17715 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17716 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17717 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17718 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17719 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17720 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17721 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17722 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17723 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17724 * soft-fp/floattidf.c (__floattidf): Likewise.
17725 * soft-fp/floattisf.c (__floattisf): Likewise.
17726 * soft-fp/floattitf.c (__floattitf): Likewise.
17727 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17728 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17729 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17730 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17731 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17732 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17733 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17734 * soft-fp/gesf2.c (__gesf2): Likewise.
17735 * soft-fp/getf2.c (__getf2): Likewise.
17736 * soft-fp/ledf2.c (__ledf2): Likewise.
17737 * soft-fp/lesf2.c (__lesf2): Likewise.
17738 * soft-fp/letf2.c (__letf2): Likewise.
17740 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17741 Undefine and redefine.
17742 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17743 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17744 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17745 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17746 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17747 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17748 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17749 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17750 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17751 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17752 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17753 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17754 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17755 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17756 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17759 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17760 without decrementing exponent if mantissa >= that for the
17761 denominator, not >.
17762 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17763 denominator, not >. Decrement exponent in < case instead of
17764 incrementing in >= case.
17765 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17766 without decrementing exponent if mantissa >= that for the
17767 denominator, not >.
17769 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17770 computing saturated result for unsigned overflow.
17772 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17773 Jeff Law <law@redhat.com>
17775 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17776 (atan2Mp): Add systemtap probe marker.
17777 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17778 (__ieee754_log): Add systemtap probe marker.
17779 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17780 (atanMp): Add systemtap probe marker.
17781 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17782 (tanMp): Add systemtap probe marker.
17783 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17784 (__slowexp): Add systemtap probe marker.
17785 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17786 (__slowpow): Add systemtap probe marker.
17787 * manual/probes.texi: Document probes.
17789 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17792 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17794 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17796 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17797 written to buffer but not flushed.
17798 * libio/iofwrite_u.c: Likewise.
17799 * libio/iopadn.c: Return bytes returned even if EOF was
17801 * libio/iowpadn.c: Likewise.
17802 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17803 if _IO_padn does not write the whole buffer.
17804 [!COMPILE_WPRINTF] (PAD): Likewise.
17806 2013-10-10 David S. Miller <davem@davemloft.net>
17808 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17811 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17813 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17814 instead of FSF address.
17815 * soft-fp/fixdfti.c: Likewise.
17816 * soft-fp/fixsfti.c: Likewise.
17817 * soft-fp/fixtfti.c: Likewise.
17818 * soft-fp/fixunsdfti.c: Likewise.
17819 * soft-fp/fixunssfti.c: Likewise.
17820 * soft-fp/fixunstfti.c: Likewise.
17821 * soft-fp/floattidf.c: Likewise.
17822 * soft-fp/floattisf.c: Likewise.
17823 * soft-fp/floattitf.c: Likewise.
17824 * soft-fp/floatuntidf.c: Likewise.
17825 * soft-fp/floatuntisf.c: Likewise.
17826 * soft-fp/floatuntitf.c: Likewise.
17827 * soft-fp/trunctfxf2.c: Likewise.
17829 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17830 * soft-fp/fixdfti.c: Likewise.
17831 * soft-fp/fixsfti.c: Likewise.
17832 * soft-fp/fixtfti.c: Likewise.
17833 * soft-fp/fixunsdfti.c: Likewise.
17834 * soft-fp/fixunssfti.c: Likewise.
17835 * soft-fp/fixunstfti.c: Likewise.
17836 * soft-fp/floattidf.c: Likewise.
17837 * soft-fp/floattisf.c: Likewise.
17838 * soft-fp/floattitf.c: Likewise.
17839 * soft-fp/floatuntidf.c: Likewise.
17840 * soft-fp/floatuntisf.c: Likewise.
17841 * soft-fp/floatuntitf.c: Likewise.
17842 * soft-fp/trunctfxf2.c: Likewise.
17844 2013-10-10 David S. Miller <davem@davemloft.net>
17846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17848 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17850 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17851 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17852 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17853 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17854 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17855 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17856 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17859 for NaNs before doing comparisons on argument.
17860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17863 2013-10-10 Will Newton <will.newton@linaro.org>
17865 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17866 passed to _int_memalign does not overflow.
17868 2013-10-10 Torvald Riegel <triegel@redhat.com>
17870 * scripts/bench.pl: Add include-sources directive.
17871 * benchtests/README: Update documentation.
17873 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17875 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17876 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17877 instead of FP_INIT_ROUNDMODE.
17878 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17879 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17882 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17883 copy class of input value.
17884 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17885 not handle exceptions.
17886 * soft-fp/negsf2.c (__negsf2): Likewise.
17887 * soft-fp/negtf2.c (__negtf2): Likewise.
17888 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17890 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17892 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17893 semicolon. From Linux kernel.
17895 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17897 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17899 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17902 * manual/socket.texi: Added statement about buffer
17903 for gethostbyname2_r.
17905 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17907 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17908 Use .p2align directive instead, throughout.
17909 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17910 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17911 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17913 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17914 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17915 * sysdeps/x86_64/strchr.S: Likewise.
17916 * sysdeps/x86_64/strrchr.S: Likewise.
17918 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17920 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17922 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17924 * sysdeps/generic/math_private.h (__mpsin1): Remove
17926 (__mpcos1): Likewise.
17927 (__mpsin): New argument __range_reduce.
17928 (__mpcos): Likewise.
17929 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17930 (slow): Use __mpsin and __mpcos.
17934 (sloww1): Likewise.
17935 (sloww2): Likewise.
17936 (bsloww): Likewise.
17937 (bsloww1): Likewise.
17938 (bsloww2): Likewise.
17939 (cslow2): Likewise.
17940 (csloww): Likewise.
17941 (csloww1): Likewise.
17942 (csloww2): Likewise.
17943 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17944 range_reduce. Merge in __mpsin1.
17945 (__mpcos): Likewise.
17946 (__mpsin1): Remove.
17947 (__mpcos1): Likewise.
17949 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17951 * locale/loadlocale.c (_nl_intern_locale_data): Use
17953 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17954 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17955 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17956 obstack data is appropriately aligned.
17957 (obstack_int32_grow_fast): Likewise.
17958 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17959 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17960 (add_locale_uint32_array): Likewise.
17962 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17964 * benchtests/Makefile: Remove ARGLIST and RET variables.
17965 ($(objpfx)bench-%.c): Pass only function name to the script.
17966 * benchtests/README: Update documentation.
17967 * benchtests/acos-inputs: Add new directives.
17968 * benchtests/acosh-inputs: Likewise.
17969 * benchtests/asin-inputs: Likewise.
17970 * benchtests/asinh-inputs: Likewise.
17971 * benchtests/atan-inputs: Likewise.
17972 * benchtests/atanh-inputs: Likewise.
17973 * benchtests/cos-inputs: Likewise.
17974 * benchtests/cosh-inputs: Likewise.
17975 * benchtests/exp-inputs: Likewise.
17976 * benchtests/log-inputs: Likewise.
17977 * benchtests/pow-inputs: Likewise.
17978 * benchtests/rint-inputs: Likewise.
17979 * benchtests/sin-inputs: Likewise.
17980 * benchtests/sinh-inputs: Likewise.
17981 * benchtests/tan-inputs: Likewise.
17982 * benchtests/tanh-inputs: Likewise.
17983 * scripts/bench.pl: Add support for new directives.
17985 2013-10-07 Alan Modra <amodra@gmail.com>
17987 * README: Fix careless merge.
17989 2013-10-05 Alan Modra <amodra@gmail.com>
17991 * NEWS: Mention powerpc64le support and bugs fixed.
17992 * README: Both big-endian and little-endian powerpc64 supported.
17994 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17996 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17997 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17998 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17999 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18001 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18003 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18006 2013-10-04 Joseph Myers <joseph@codesourcery.com>
18008 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18009 Move -mhard-float appending from
18010 ports/sysdeps/powerpc/powerpc32/Makefile.
18011 [$(with-fp) = yes] (ASFLAGS): Likewise.
18012 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18013 * sysdeps/powerpc/nofpu: Move directory from
18014 ports/sysdeps/powerpc/nofpu.
18015 * sysdeps/powerpc/soft-fp: Move directory from
18016 ports/sysdeps/powerpc/soft-fp.
18017 * sysdeps/powerpc/powerpc32/405: Move directory from
18018 ports/sysdeps/powerpc/powerpc32/405.
18019 * sysdeps/powerpc/powerpc32/440: Move directory from
18020 ports/sysdeps/powerpc/powerpc32/440.
18021 * sysdeps/powerpc/powerpc32/464: Move directory from
18022 ports/sysdeps/powerpc/powerpc32/464.
18023 * sysdeps/powerpc/powerpc32/476: Move directory from
18024 ports/sysdeps/powerpc/powerpc32/476.
18025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18026 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18028 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18030 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18032 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18034 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18035 * README: Update for powerpc-*-linux-gnu software floating point
18038 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18039 case to powerpc/powerpc32*.
18040 * sysdeps/unix/sysv/linux/configure: Regenerated.
18042 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18043 (_FPU_MASK_OM): Define as 0x04.
18044 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18052 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18055 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18058 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18059 and setcontext_e500.
18061 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18063 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18065 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18067 * manual/threads.texi (Default Thread Attributes): Fix typo.
18069 2013-10-04 Will Newton <will.newton@linaro.org>
18071 * malloc/Makefile: Add tst-memalign.
18072 * malloc/tst-memalign.c: New file.
18074 * malloc/tst-posix_memalign.c: Add comments.
18075 (do_test): Add comments and call free on all potentially
18076 allocated pointers. Add space after cast.
18078 * malloc/tst-pvalloc.c: Add comments.
18079 (do_test): Add comments and call free on all potentially
18080 allocated pointers. Remove duplicate check for NULL pointer.
18081 Add space after cast.
18083 * malloc/tst-valloc.c: Add comments.
18084 (do_test): Add comments and call free on all potentially
18085 allocated pointers. Remove duplicate check for NULL pointer.
18086 Add space after cast.
18088 2013-10-04 Alan Modra <amodra@gmail.com>
18090 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18091 Use stdint types in rather than __attribute__((mode())).
18092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18094 2013-10-04 Alan Modra <amodra@gmail.com>
18096 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18097 Correct handling of unaligned relocs for little-endian.
18098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18100 2013-10-04 Alan Modra <amodra@gmail.com>
18102 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18103 * configure: Regenerate.
18104 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18105 * shlib-versions: Likewise.
18107 2013-10-04 Alan Modra <amodra@gmail.com>
18109 * string/tester.c (test_memrchr): Increment reported test cycle.
18111 2013-10-04 Alan Modra <amodra@gmail.com>
18113 * string/test-memcpy.c (do_one_test): When reporting errors, print
18114 string address and don't overrun end of string.
18116 2013-10-04 Alan Modra <amodra@gmail.com>
18118 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18119 insrdi. Make better use of reg selection to speed exit slightly.
18120 Schedule entry path a little better. Remove useless "are we done"
18121 checks on entry to main loop. Handle wrapping around zero address.
18122 Correct main loop count. Handle single left-over word from main
18123 loop inline rather than by using loop_small. Remove extra word
18124 case in loop_small caused by wrong loop count. Add little-endian
18126 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18127 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18129 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18130 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18131 support. Avoid rlwimi.
18132 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18134 2013-10-04 Alan Modra <amodra@gmail.com>
18136 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18137 insrdi. Formatting.
18138 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18139 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18140 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18141 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18142 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18143 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18145 2013-10-04 Alan Modra <amodra@gmail.com>
18147 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18148 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18150 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18151 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18152 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18153 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18154 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18155 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18156 use of regs. Use power7 mtocrf. Tidy function tails.
18158 2013-10-04 Alan Modra <amodra@gmail.com>
18160 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18161 Formatting. Consistently use rXXX register defines or rN defines.
18162 Use early exit labels that avoid restoring unused non-volatile regs.
18163 Make cr field use more consistent with rWORDn compares. Rename
18164 regs used as shift registers for unaligned loop, using rN defines
18165 for short lifetime/multiple use regs.
18166 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18167 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18168 addi 1,1,64 to pop stack frame. Simplify return value code.
18169 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18171 2013-10-04 Alan Modra <amodra@gmail.com>
18173 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18174 support. Correct typos, formatting. Optimize tail. Use insrdi
18175 rather than rlwimi.
18176 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18177 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18178 little-endian support. Correct typos.
18179 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18180 rather than rlwimi.
18181 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18182 in loop and entry code to keep "and." results.
18183 (strchr): Add little-endian support. Comment. Move cntlzd
18185 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18187 2013-10-04 Alan Modra <amodra@gmail.com>
18189 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18190 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18191 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18192 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18194 2013-10-04 Alan Modra <amodra@gmail.com>
18196 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18197 (rTMP): Define as r11.
18198 (strcmp): Add little-endian support. Optimise tail.
18199 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18200 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18201 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18202 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18203 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18204 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18205 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18207 2013-10-04 Alan Modra <amodra@gmail.com>
18209 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18210 little-endian support. Remove unnecessary "are we done" tests.
18211 Handle "s" wrapping around zero and extremely large "size".
18212 Correct main loop count. Handle single left-over word from main
18213 loop inline rather than by using small_loop. Correct comments.
18214 Delete "zero" tail, use "end_max" instead.
18215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18217 2013-10-04 Alan Modra <amodra@gmail.com>
18219 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18220 support. Don't branch over align.
18221 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18222 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18223 support. Rearrange tmp reg use to suit. Comment.
18224 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18226 2013-10-04 Alan Modra <amodra@gmail.com>
18228 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18230 2013-10-04 Alan Modra <amodra@gmail.com>
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18233 conditional form of branch and link when obtaining pc.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18236 2013-10-04 Alan Modra <amodra@gmail.com>
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18243 2013-10-04 Alan Modra <amodra@gmail.com>
18245 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18246 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18247 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18248 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18249 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18250 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18251 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18252 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18253 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18254 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18256 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18257 Alistair Popple <alistair@ozlabs.au.ibm.com>
18258 Alan Modra <amodra@gmail.com>
18261 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18262 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18263 _dl_hwcap access for little-endian.
18264 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18265 destroy vmx regs when saving unaligned.
18266 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18267 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18268 destroy vmx regs when saving unaligned.
18270 2013-10-04 Alan Modra <amodra@gmail.com>
18272 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18273 Don't use a union to pack hi/low value.
18275 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18277 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18279 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18281 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18282 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18283 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18285 2013-10-04 Alan Modra <amodra@gmail.com>
18287 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18288 constants to usual value for .cst8 section, and remove redundant
18290 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18291 constant for 0x1p52. Load little-endian words of double from
18292 correct stack offsets.
18294 2013-10-04 Alan Modra <amodra@gmail.com>
18296 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18297 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18298 words of double from correct stack offsets.
18299 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18300 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18301 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18302 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18303 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18304 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18305 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18306 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18307 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18308 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18309 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18310 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18311 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18312 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18313 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18314 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18315 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18317 2013-10-04 Alan Modra <amodra@gmail.com>
18319 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18320 64-bit int/double union.
18321 (_FPU_SETCW): Likewise.
18322 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18323 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18325 2013-10-04 Alan Modra <amodra@gmail.com>
18327 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18328 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18330 2013-10-04 Alan Modra <amodra@gmail.com>
18332 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18333 use vector int constants.
18334 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18336 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18338 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18339 array with long long.
18340 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18341 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18342 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18343 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18344 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18345 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18346 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18347 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18348 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18349 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18350 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18351 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18352 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18354 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18356 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18357 (__signbit): Likewise. Correct for little-endian.
18358 (__signbitl): Call __signbit.
18359 (lrint): Correct for little-endian.
18360 (lrintf): Call lrint.
18362 2013-10-04 Alan Modra <amodra@gmail.com>
18364 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18365 union 32-bit int array member with 64-bit int array.
18366 (t515, tm256): Double rather than long double.
18367 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18369 2013-10-04 Alan Modra <amodra@gmail.com>
18371 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18373 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18375 version of math_ldbl.h.
18377 2013-10-04 Alan Modra <amodra@gmail.com>
18379 [BZ #15734], [BZ #15735]
18380 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18381 all uses of ieee875 long double macros and unions. Simplify test
18382 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18383 ldbl_extract_mantissa value for ix,iy exponents. Properly
18384 normalize after ldbl_extract_mantissa, and don't add hidden bit
18385 already handled. Don't treat low word of ieee854 mantissa like
18386 low word of IBM long double and mask off bit when testing for
18388 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18389 all uses of ieee875 long double macros and unions. Simplify tests
18390 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18391 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18392 two1022, instead use their values. Recognise that tests for large
18393 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18394 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18395 Rewrite all uses of ieee875 long double macros and unions. Simplify
18396 test for 0.0L and nan. Correct negation.
18397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18398 ieee875 long double macros and unions. Correct output for large
18399 magnitude x. Correct absolute value calculation.
18400 (__erfcl): Likewise.
18401 * math/libm-test.inc: Add tests for errors discovered in IBM long
18402 double versions of fmodl, remainderl, erfl and erfcl.
18404 2013-10-04 Alan Modra <amodra@gmail.com>
18406 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18407 all uses of ieee854 long double macros and unions. Simplify tests
18408 for long doubles that are fully specified by the high double.
18409 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18411 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18412 Remove dead code too.
18413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18414 (__ieee754_ynl): Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18416 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18418 Remove dead code too.
18419 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18420 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18421 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18422 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18424 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18426 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18427 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18429 Comment on variable precision.
18430 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18431 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18433 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18434 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18435 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18436 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18437 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18439 2013-10-04 Alan Modra <amodra@gmail.com>
18441 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18442 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18443 all uses of ieee854 long double macros and unions.
18444 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18445 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18446 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18447 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18448 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18449 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18452 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18453 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18454 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18455 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18456 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18457 Simplify sign and nan test too.
18458 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18459 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18460 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18461 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18464 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18466 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18469 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18470 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18473 2013-10-04 Alan Modra <amodra@gmail.com>
18475 * stdio-common/printf_size.c (__printf_size): Don't use
18476 union ieee854_long_double in fpnum union.
18477 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18478 signbit macro to retrieve sign from long double.
18479 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18480 retrieve sign from long double.
18481 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18482 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18483 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18484 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18485 * math/test-misc.c (main): Don't use union ieee854_long_double.
18487 2013-10-04 Alan Modra <amodra@gmail.com>
18490 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18491 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18492 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18493 calculation. Remove unnecessary test for denormal exponent.
18494 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18495 Correct handling of denormals. Avoid undefined shift behaviour.
18496 Correct normalisation of low mantissa when low double is denormal.
18497 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18498 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18499 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18500 Correct normalisation of low mantissa. Test for overflow of high
18501 mantissa and normalise.
18502 (ldbl_nearbyint): Use more readable constant for two52.
18503 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18504 (__mpn_construct_long_double): Fix test for overflow of high
18505 mantissa and correct normalisation. Avoid undefined shift.
18507 2013-10-04 Alan Modra <amodra@gmail.com>
18509 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18510 (union ibm_extended_long_double): Define as an array of ieee754_double.
18511 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18512 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18513 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18514 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18515 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18516 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18517 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18518 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18519 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18520 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18521 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18523 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18525 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18526 page size instead of calling getpagesize.
18528 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18529 (LOCFILE_ALIGN_MASK): Likewise.
18530 (LOCFILE_ALIGN_UP): Likewise.
18531 (LOCFILE_ALIGNED_P): Likewise.
18532 * locale/programs/ld-collate.c (collate_output): Use the new
18533 macros instead of __alignof__ (int32_t).
18534 * locale/weight.h (findidx): Likewise.
18536 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18539 * manual/string.texi: Fix strncat and wcsncat.
18541 2013-10-03 Brooks Moses <bmoses@google.com>
18544 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18545 * Makerules: ...here, and adjust associated comments.
18547 2013-10-02 Will Newton <will.newton@linaro.org>
18549 * malloc/Makefile: Add tst-pvalloc.
18550 * malloc/tst-pvalloc.c: New file.
18552 2013-10-02 Will Newton <will.newton@linaro.org>
18554 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18555 improve test coverage.
18557 2013-10-02 Will Newton <will.newton@linaro.org>
18559 * malloc/Makefile: Add tst-posix_memalign.
18560 * malloc/tst-posix_memalign.c: New file.
18562 2013-10-01 Eric Blake <eblake@redhat.com>
18564 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18565 Use __THROWNL rather than __THROW on static functions.
18567 2013-09-30 Petr Machata <pmachata@redhat.com>
18569 * elf/elf.h (R_AARCH64_ABS16): New macro.
18570 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18571 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18572 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18573 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18574 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18575 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18576 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18577 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18578 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18579 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18580 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18581 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18582 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18583 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18584 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18585 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18586 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18587 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18588 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18589 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18590 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18591 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18592 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18593 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18594 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18595 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18596 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18597 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18598 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18599 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18600 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18601 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18602 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18603 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18604 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18605 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18606 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18607 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18608 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18609 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18610 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18611 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18612 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18613 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18614 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18615 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18616 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18617 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18618 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18619 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18620 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18621 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18622 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18623 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18624 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18625 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18626 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18627 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18628 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18629 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18630 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18631 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18632 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18633 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18634 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18635 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18636 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18637 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18638 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18639 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18640 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18641 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18642 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18643 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18644 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18645 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18646 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18647 (R_AARCH64_TLSDESC_LDR): Likewise.
18648 (R_AARCH64_TLSDESC_ADD): Likewise.
18649 (R_AARCH64_TLSDESC_CALL): Likewise.
18651 2013-09-30 Andreas Schwab <schwab@suse.de>
18654 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18655 the nss database lookup.
18656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18659 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18661 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18663 2013-09-28 P. J. McDermott <pj@pehjota.net>
18665 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18666 ${Bash-specific parameter/pattern/string} parameter expansion.
18667 * sysdeps/unix/make-syscalls.sh: Likewise.
18669 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18671 * sysdeps/sh/stackguard-macros.h: New file.
18673 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18676 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18677 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18678 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18679 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18680 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18682 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18684 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18685 Fix thread ID register.
18687 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18689 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18690 [POSIX || UNIX98]: Require rather than permitting all symbols from
18692 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18693 element of struct sched_param.
18694 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18695 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18696 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18697 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18700 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18702 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18703 argument calculation.
18705 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18707 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18709 [POSIX] (pthread_attr_t): Do not require type.
18710 [POSIX] (pthread_cond_t): Likewise.
18711 [POSIX] (pthread_condattr_t): Likewise.
18712 [POSIX] (pthread_key_t): Likewise.
18713 [POSIX] (pthread_mutex_t): Likewise.
18714 [POSIX] (pthread_mutexattr_t): Likewise.
18715 [POSIX] (pthread_once_t): Likewise.
18716 [POSIX] (pthread_t): Likewise.
18717 [POSIX-based standards] (pthread_atfork): Expect function.
18719 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18720 Richard Sandiford <richard@codesourcery.com>
18722 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18723 (swap_endianness_p): New extern variable.
18724 (set_big_endian): New inline function.
18725 (maybe_swap_uint32): Likewise.
18726 (maybe_swap_uint32_array): Likewise.
18727 (maybe_swap_uint32_obstack): Likewise.
18728 * locale/programs/locfile.c: Include <stdbool.h>.
18729 (swap_endianness_p): New variable.
18730 (add_locale_uint32): Call maybe_swap_uint32.
18731 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18732 (write_locale_data): Call maybe_swap_uint32_array.
18733 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18735 (obstack_int32_grow_fast): Likewise.
18736 (output_weightwc): Call maybe_swap_uint32_obstack.
18737 (collate_output): Likewise.
18738 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18739 (OPT_LITTLE_ENDIAN): Likewise.
18740 (options): Add --little-endian and --big-endian options.
18741 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18742 * locale/programs/locarchive.c: Include "locfile.h".
18746 (create_archive): Use the new macros to access fields of
18747 structures directly mapped from or written to locale archives.
18748 (oldlocrecentcmp): Likewise.
18749 (enlarge_archive): Likewise.
18750 (insert_name): Likewise.
18751 (add_alias): Likewise.
18752 (add_locale): Likewise.
18753 (delete_locales_from_archive): Likewise.
18754 (show_archive_content): Likewise.
18755 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18758 2013-09-24 Roland McGrath <roland@hack.frob.com>
18760 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18761 http://www.gnu.org/doc/freemanuals.texi.
18762 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18764 2013-09-24 Will Newton <will.newton@linaro.org>
18766 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18769 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18771 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18774 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18776 * manual/threads.texi (POSIX Threads): Fix a typo.
18778 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18781 * string/tst-strcoll-overflow.c: New test case.
18782 * string/Makefile (xtests): Add tst-strcoll-overflow.
18783 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18784 cache if string sizes may cause integer overflow.
18787 * string/strcoll_l.c (coll_seq): New members rule, idx,
18788 save_idx and back_us.
18789 (get_next_seq_nocache): New function.
18790 (do_compare_nocache): New function.
18791 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18794 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18797 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18798 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18799 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18802 * elf/Makefile (tests): Add tst-ptrguard1.
18803 (tests-static): Add tst-ptrguard1-static.
18804 (tst-ptrguard1-ARGS): Define.
18805 (tst-ptrguard1-static-ARGS): Define.
18806 * elf/tst-ptrguard1.c: New file.
18807 * elf/tst-ptrguard1-static.c: New file.
18808 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18809 * sysdeps/i386/stackguard-macros.h: Likewise.
18810 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18811 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18812 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18813 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18814 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18815 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18817 2013-09-23 Hector Marco <hecmargi@upv.es>
18818 Ismael Ripoll <iripoll@disca.upv.es>
18819 Carlos O'Donell <carlos@redhat.com>
18822 * sysdeps/generic/stackguard-macros.h: Define
18823 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18824 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18825 Define __pointer_chk_guard_local.
18826 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18827 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18829 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18832 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18834 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18836 * include/string.h (__ffs): Declare as hidden.
18837 * string/ffs.c (__ffs): Define as hidden.
18838 * sysdeps/i386/ffs.c (__ffs): Likewise.
18839 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18840 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18841 * sysdeps/s390/ffs.c (__ffs): Likewise.
18842 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18844 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18846 * NEWS: Mention malloc probes.
18848 * malloc/arena.c (new_heap): New memory_heap_new probe.
18849 (grow_heap): New memory_heap_more probe.
18850 (shrink_heap): New memory_heap_less probe.
18851 (heap_trim): New memory_heap_free probe.
18852 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18853 (systrim): New memory_sbrk_less probe.
18854 * manual/probes.texi: Document them.
18856 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18857 * manual/probes.texi: Document it.
18859 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18860 (__libc_realloc): Add memory_realloc_retry probe.
18861 (__libc_memalign): Add memory_memalign_retry probe.
18862 (__libc_valloc): Add memory_valloc_retry probe.
18863 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18864 (__libc_calloc): Add memory_calloc_retry probe.
18865 * manual/probes.texi: Document them.
18867 * malloc/arena.c (get_free_list): Add probe
18868 memory_arena_reuse_free_list.
18869 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18870 and memory_arena_reuse.
18871 (arena_get2) [!PER_THREAD]: Likewise.
18872 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18873 memory_arena_reuse_realloc.
18874 * manual/probes.texi: Document them.
18876 * malloc/malloc.c (__libc_free): Add
18877 memory_mallopt_free_dyn_thresholds probe.
18878 (__libc_mallopt): Add multiple memory_mallopt probes.
18879 * manual/probes.texi: Document them.
18881 * malloc/malloc.c: Include stap-probe.h.
18882 (__libc_mallopt): Add memory_mallopt probe.
18883 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18884 * manual/probes.texi: New.
18885 * manual/Makefile (chapters): Add probes.
18886 * manual/threads.texi: Set next node.
18888 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18890 [BZ #15963, #13985]
18891 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18892 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18893 Add `Chinese' to `nan' entry name.
18895 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18897 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18898 (POLYNOMIAL): Likewise.
18899 (TAYLOR_SINCOS): Likewise.
18900 (TAYLOR_SLOW): Likewise.
18901 (__sin): Use TAYLOR_SINCOS.
18903 (slow): Use TAYLOR_SLOW.
18905 (bsloww): Likewise.
18906 (csloww): Likewise.
18908 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18910 * stdlib/strtod_l.c: Fix buffer overrun.
18912 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18914 * benchtests/Makefile (bench): Add sincos.
18915 * benchtests/bench-sincos.c: New file.
18917 * math/libm-test.inc (cos_test_data): New test inputs.
18918 (sin_test_data): Likewise.
18920 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18926 (sloww1): Likewise.
18927 (sloww2): Likewise.
18928 (bsloww1): Likewise.
18929 (bsloww2): Likewise.
18930 (cslow2): Likewise.
18931 (csloww1): Likewise.
18932 (csloww2): Likewise.
18934 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18939 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18943 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18945 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18946 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18947 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18948 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18949 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18950 * elf/cache.c (print_entry): Handle the new cache flags.
18952 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18953 Aldy Hernandez <aldyh@redhat.com>
18955 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18956 Change condition to [_SOFT_FLOAT].
18957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18969 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18972 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18975 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18977 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18978 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18979 (__longjmp): Use LOAD_GP to load saved GPRs.
18980 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18981 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18982 (__sigsetjmp): Use SAVE_GP to save GPRs.
18984 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18985 Do not append -msoft-float.
18986 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18988 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18990 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18992 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18995 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18996 (_FPU_GETCW): Use initial "__" on variable and field names but not
18997 on macro parameter name.
18998 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18999 parentheses around reference to macro parameter.
19001 2013-09-13 Richard Sandiford <richard@codesourcery.com>
19003 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19005 (ctype_startup): Use uint32_t in cast and sizeof for
19008 2013-09-11 Jia Liu <proljc@gmail.com>
19010 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19012 [__FreeBSD__]: Likewise.
19014 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19016 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19017 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19018 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19019 (strchr): Remove __strchr_sse42 ifunc selection.
19020 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19021 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19023 2013-09-11 Will Newton <will.newton@linaro.org>
19025 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19026 parameter to RES. Remove hardcoded 1000 value.
19027 * benchtests/bench-skeleton.c (main): Pass RES parameter
19028 to TIMING_INIT and multiply result by 1000.
19030 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19032 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19034 2013-09-11 Andreas Schwab <schwab@suse.de>
19036 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19038 (O_TMPFILE) [__USE_GNU]: Define.
19039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19042 2013-09-11 Will Newton <will.newton@linaro.org>
19045 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19048 2013-09-11 Will Newton <will.newton@linaro.org>
19051 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19054 2013-09-11 Will Newton <will.newton@linaro.org>
19057 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19060 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19062 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19063 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19064 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19065 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19066 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19068 2013-09-10 Allan McRae <allan@archlinux.org>
19071 * manual/arith.texi (Parsing of Floats): Clarify
19075 * manual/install.texi (Running make install): Mention
19077 * INSTALL: Regenerated.
19079 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19081 * csu/init-first.c (_init): Remove the !SHARED condition around
19082 FPU control word initialization.
19083 * elf/dl-support.c (_dl_fpu_control): New variable.
19084 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19085 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19086 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19087 * math/test-fpucw-static.c: New file.
19088 * math/test-fpucw-ieee.c: New file.
19089 * math/test-fpucw-ieee-static.c: New file.
19090 * math/Makefile (tests): Add `test-fpucw-ieee' and
19092 (tests-static): New variable.
19093 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19095 [($(build-shared),yes)]
19096 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19098 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19101 2013-09-09 Allan McRae <allan@archlinux.org>
19104 * manual/string.texi (Collation Functions): Fix typo in
19106 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19109 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19112 * libio/memstream.c (open_memstream): Fix memory leak.
19113 * libio/wmemstream.c (open_wmemstream): Likewise.
19116 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19118 2013-09-09 Will Newton <will.newton@linaro.org>
19120 * malloc/Makefile: Add tst-realloc to tests.
19121 * malloc/tst-realloc.c: New file.
19123 2013-09-09 Allan McRae <allan@archlinux.org>
19126 * COPYING: Update from GNU website to fix FSF address.
19127 * COPYING.LIB: Likewise.
19129 2013-09-06 David S. Miller <davem@davemloft.net>
19131 * po/zh_TW.po: Update Chinese (traditional) translation from
19132 translation project.
19134 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19135 Joseph Myers <joseph@codesourcery.com>
19137 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19139 (obstack_chunk_alloc): New macro.
19140 (obstack_chunk_free): Likewise.
19141 (record_offset): New function.
19142 (init_locale_data): Likewise.
19143 (align_locale_data): Likewise.
19144 (add_locale_empty): Likewise.
19145 (add_locale_raw_data): Likewise.
19146 (add_locale_raw_obstack): Likewise.
19147 (add_locale_string): Likewise.
19148 (add_locale_wstring): Likewise.
19149 (add_locale_uint32): Likewise.
19150 (add_locale_uint32_array): Likewise.
19151 (add_locale_char): Likewise.
19152 (start_locale_structure): Likewise.
19153 (end_locale_structure): Likewise.
19154 (start_locale_prelude): Likewise.
19155 (end_locale_prelude): Likewise.
19156 (write_locale_data): Take locale_file structure rather than an
19158 * locale/programs/locfile.h: Include "obstack.h".
19159 (struct locale_file): Change to store locale file contents instead
19161 (init_locale_data): New prototype.
19162 (align_locale_data): Likewise.
19163 (add_locale_empty): Likewise.
19164 (add_locale_raw_data): Likewise.
19165 (add_locale_raw_obstack): Likewise.
19166 (add_locale_string): Likewise.
19167 (add_locale_wstring): Likewise.
19168 (add_locale_uint32): Likewise.
19169 (add_locale_uint32_array): Likewise.
19170 (add_locale_char): Likewise.
19171 (start_locale_structure): Likewise.
19172 (end_locale_structure): Likewise.
19173 (start_locale_prelude): Likewise.
19174 (end_locale_prelude): Likewise.
19175 (write_locale_data): Update prototype.
19176 * locale/programs/3level.h (struct TABLE): Remove result field.
19177 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19178 Use new locale_file interface.
19179 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19180 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19181 * locale/programs/ld-address.c (address_output): Use new
19182 locale_file interface.
19183 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19185 (collate_finish): Don't call collseq_table_finalize.
19186 (collate_output): Use new locale_file interface.
19187 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19189 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19190 (TABLE): Move defines earlier in file.
19191 (ELEMENT): Likewise.
19192 (DEFAULT): Likewise.
19193 (wctrans_table_add): Move macro and inline function earlier in
19195 (struct wctype_table): Move type earlier in file.
19196 (add_locale_wctype_table): New static prototype.
19197 (struct locale_ctype_t): Use logical types instead of struct iovec
19198 pointers for members.
19199 (ctype_output): Use new locale_file interface.
19200 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19201 new locale_file interface.
19202 (allocate_arrays): Update for use of new locale_file interface.
19203 * locale/programs/ld-identification.c (identification_output): Use
19204 new locale_file interface.
19205 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19206 * locale/programs/ld-messages.c (messages_output): Likewise.
19207 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19208 * locale/programs/ld-name.c (name_output): Likewise.
19209 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19210 * locale/programs/ld-paper.c (paper_output): Likewise.
19211 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19212 * locale/programs/ld-time.c (time_output): Likewise.
19214 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19216 * benchtests/Makefile: Add memrchr benchmark.
19217 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19218 benchmark as memrchr.
19219 * benchtests/bench-memrchr-ifunc.c: New file.
19220 * benchtests/bench-memrchr.c: New file.
19222 2013-09-06 Will Newton <will.newton@linaro.org>
19224 * benchtests/Makefile (string-bench): Add memcpy.
19226 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19227 Cong Wang <amwang@redhat.com>
19230 * sysdeps/unix/sysv/linux/bits/in.h
19231 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19232 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19233 before __USE_KERNEL_IPV6_DEFS uses.
19234 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19236 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19237 sockaddr_in6, or ipv6_mreq.
19239 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19241 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19242 memory access for final bytes in some large inputs.
19243 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19245 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19247 * string/test-memrchr.c: New file.
19248 * string/test-memrchr-ifunc.c: New file.
19249 * string/Makefile: Add new memrchr testcase.
19251 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19253 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19254 fanotify_init returns EPERM.
19256 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19258 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19260 (top level): Treat second token from macro or constant entries for
19261 allowed headers as allowed.
19262 * include/complex.h: Condition internal declarations on
19264 * include/fenv.h: Condition include of <stdbool.h> and internal
19265 declarations on [!_ISOMAC].
19267 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19270 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19272 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19274 * configure.in (--enable-versioning): Remove configure option.
19275 (libc_cv_asm_symver_directive): Remove configure test.
19276 (libc_cv_ld_version_script_option): Likewise.
19277 (VERSIONING): Remove variable and AC_SUBST.
19278 (DO_VERSIONING): Remove AC_DEFINE.
19279 * configure: Regenerated.
19280 * config.h.in (DO_VERSIONING): Remove macro.
19281 * Makerules [$(versioning) = yes]: Change conditionals to
19282 [$(build-shared) = yes].
19283 * config.make.in (versioning): Remove variable.
19284 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19285 [$(build-shared) = yes].
19286 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19287 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19288 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19289 [$(build-shared) = yes].
19290 * extra-lib.mk [$(versioning) = yes]: Likewise.
19291 * hurd/Makefile [$(versioning) = yes]: Likewise.
19292 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19294 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19296 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19297 [SHARED && !NO_HIDDEN].
19298 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19300 [SHARED && DO_VERSIONING]: Likewise..
19301 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19302 [$(build-shared) = yes].
19303 * manual/install.texi (--disable-versioning): Remove
19305 * INSTALL: Regenerated.
19306 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19308 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19309 [$(build-shared) = yes].
19310 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19311 * sysdeps/i386/i686/multiarch/strstr-c.c
19312 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19313 [SHARED && !NO_HIDDEN].
19314 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19315 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19316 * sysdeps/powerpc/powerpc32/dl-machine.c
19317 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19318 * sysdeps/powerpc/powerpc32/sysdep.h
19319 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19320 to [SHARED && PIC && !NO_HIDDEN].
19321 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19322 conditional to [SHARED].
19324 2013-09-04 Will Newton <will.newton@linaro.org>
19326 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19327 * benchtests/bench-string.h: Include bench-timing.h instead
19328 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19329 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19330 call to HP_TIMING_DIFF_INIT.
19331 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19332 instead of hp-timing.h macros.
19333 * benchtests/bench-memchr.c: Likewise.
19334 * benchtests/bench-memcmp.c: Likewise.
19335 * benchtests/bench-memcpy.c: Likewise.
19336 * benchtests/bench-memmem.c: Likewise.
19337 * benchtests/bench-memmove.c: Likewise.
19338 * benchtests/bench-memset.c: Likewise.
19339 * benchtests/bench-rawmemchr.c: Likewise.
19340 * benchtests/bench-strcasecmp.c: Likewise.
19341 * benchtests/bench-strcasestr.c: Likewise.
19342 * benchtests/bench-strcat.c: Likewise.
19343 * benchtests/bench-strchr.c: Likewise.
19344 * benchtests/bench-strcmp.c: Likewise.
19345 * benchtests/bench-strcpy.c: Likewise.
19346 * benchtests/bench-strcpy_chk.c: Likewise.
19347 * benchtests/bench-strlen.c: Likewise.
19348 * benchtests/bench-strncasecmp.c: Likewise.
19349 * benchtests/bench-strncat.c: Likewise.
19350 * benchtests/bench-strncmp.c: Likewise.
19351 * benchtests/bench-strncpy.c: Likewise.
19352 * benchtests/bench-strnlen.c: Likewise.
19353 * benchtests/bench-strpbrk.c: Likewise.
19354 * benchtests/bench-strrchr.c: Likewise.
19355 * benchtests/bench-strspn.c: Likewise.
19356 * benchtests/bench-strstr.c: Likewise.
19358 2013-09-04 Will Newton <will.newton@linaro.org>
19360 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19362 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19365 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19366 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19367 * math/libm-test.inc (lgamma_test_data): Add more tests.
19368 * sysdeps/i386/fpu/libm-test-ulps: Update.
19369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19371 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19373 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19377 Add strcmp-sse2-unaligned
19378 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19380 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19382 * Versions.def (libc): Add GLIBC_2.19.
19384 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19386 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19387 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19389 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19392 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19393 intermediate calculations in recurrence.
19394 (__ieee754_ynf): Likewise.
19395 * math/libm-test.inc (jn_test_data): Do not allow spurious
19396 underflow exception. Add more tests.
19397 (yn_test_data): Add more tests.
19398 * sysdeps/i386/fpu/libm-test-ulps: Update.
19399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19401 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19405 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19407 * csu/init-first.c: Fix then/than typos.
19408 * locale/programs/ld-collate.c: Likewise.
19409 * locale/programs/linereader.h: Likewise.
19410 * manual/charset.texi: Likewise.
19411 * manual/filesys.texi: Likewise.
19412 * manual/stdio.texi: Likewise.
19413 * manual/string.texi: Likewise.
19414 * stdlib/fmtmsg.c: Likewise.
19415 * sysdeps/i386/stpncpy.S: Likewise.
19416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19417 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19418 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19419 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19421 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19423 * elf/dl-open.c: Fix typos.
19424 * iconvdata/gbbig5.c: Likewise.
19425 * iconvdata/iso-2022-jp.c: Likewise.
19426 * iconv/gconv_int.h: Likewise.
19427 * iconv/loop.c: Likewise.
19428 * nis/rpcsvc/nis.h: Likewise.
19429 * resolv/ns_name.c: Likewise.
19430 * stdio-common/vfscanf.c: Likewise.
19431 * streams/stropts.h: Likewise.
19432 * sunrpc/rpc_thread.c: Likewise.
19433 * sysdeps/i386/strpbrk.S: Likewise.
19434 * sysdeps/ieee754/k_standard.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19437 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19438 * sysdeps/mach/hurd/profil.c: Likewise.
19439 * sysdeps/s390/dl-procinfo.h: Likewise.
19440 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19441 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19443 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19444 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19446 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19448 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19449 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19451 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19453 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19454 aix specific files.
19455 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19456 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19457 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19458 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19459 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19460 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19461 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19462 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19464 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19465 Roland McGrath <roland@hack.frob.com>
19467 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19468 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19470 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19472 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19473 __executable_start symbol instead of _start.
19475 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19477 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19478 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19480 * sysdeps/gnu/ldsodefs.h: ... this new file.
19482 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19483 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19484 instead of ELFOSABI_LINUX.
19486 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19487 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19488 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19489 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19491 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19492 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19495 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19496 (ibm_extended_long_double): Add ieee_nan member.
19497 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19498 (do_test): New function.
19500 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19502 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19503 functions, renamed from truncdfsf_test, trunctfsf_test,
19505 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19507 (do_test): Run all these.
19509 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19511 * argp/argp-help.c: Fix typos.
19512 * argp/argp-parse.c: Likewise.
19513 * debug/backtracesyms.c: Likewise.
19514 * elf/elf.h: Likewise.
19515 * malloc/malloc.c: Likewise.
19516 * nis/nis_print.c: Likewise.
19517 * resolv/res_comp.c: Likewise.
19518 * stdlib/stdlib.h: Likewise.
19519 * sunrpc/clnt_tcp.c: Likewise.
19520 * sunrpc/clnt_udp.c: Likewise.
19521 * sunrpc/clnt_unix.c: Likewise.
19522 * sysdeps/unix/bsd/ptsname.c: Likewise.
19523 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19524 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19531 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19533 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19535 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19538 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19541 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19542 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19543 ($(objpfx)bug-dl-leaf): New rule.
19544 ($(objpfx)bug-dl-leaf.so): Likewise.
19545 ($(objpfx)bug-dl-leaf.out): Likewise.
19546 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19547 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19548 * dlfcn/bug-dl-leaf.c: New test.
19549 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19550 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19551 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19552 (dlclose): Likewise.
19553 (dlmopen): Likewise.
19555 2013-08-27 Roland McGrath <roland@hack.frob.com>
19557 * include/netdb.h [!_ISOMAC]:
19558 Don't include <tls.h>.
19559 (h_errno, __libc_h_errno): Move declaration and macros out of
19562 * include/resolv.h [_RESOLV_H_]:
19563 Don't include <tls.h>.
19564 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19565 * resolv/res_libc.c: Don't include <tls.h>.
19566 (_res): Use __attribute__ ((nocommon)) in place of
19567 __attribute__ ((section (".bss"))).
19569 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19570 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19572 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19574 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19575 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19577 * resolv/res_mkquery.c: Include <sys/time.h>.
19579 * inet/ifreq.c: Moved to ...
19580 * sysdeps/unix/ifreq.c: ... here.
19581 * inet/ifreq.c: New file, true stub version.
19583 * socket/sa_len.c: New file.
19584 * socket/Makefile (aux): Add it.
19585 * sysdeps/unix/sysv/linux/Makefile
19586 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19587 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19588 and #include <socket/sa_len.c>.
19589 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19590 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19592 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19593 * bits/socket.h: ... here.
19595 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19596 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19597 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19599 2013-08-27 Andreas Schwab <schwab@suse.de>
19602 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19603 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19604 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19605 * string/test-strcasecmp.c (test_main): Run tests in several
19607 * string/test-strncasecmp.c (test_main): Likewise.
19609 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19610 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19611 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19612 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19613 (__strncasecmp_ssse3) [PIC]: Likewise.
19615 2013-08-26 Roland McGrath <roland@hack.frob.com>
19617 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19619 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19620 instead of explicitly declaring xdecrypt.
19621 * nis/nss_nis/nis-publickey.c: Likewise.
19623 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19626 * nscd/aicache.c: Include res_hconf.h.
19627 (addhstaiX): Initialize res_hconf.
19629 2013-08-26 Andreas Schwab <schwab@suse.de>
19631 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19632 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19634 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19636 * nscd/aicache.c (addhstaiX): Fix indentation.
19638 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19640 * configure.ac: Quote $build_pt_chown test.
19641 * configure: Regenerated.
19643 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19646 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19647 * math/s_cexpf.c (__cexpf): Likewise.
19648 * math/s_cexpl.c (__cexpl): Likewise.
19649 * math/libm-test.inc (cexp_test_data): Correct expected return
19650 value for NaN + i0. Add another test.
19652 2013-08-22 David S. Miller <davem@davemloft.net>
19654 * po/ca.po: Update Catalan translation from translation project.
19655 * po/uk.po: Add Ukrainian translations from translation project.
19657 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19660 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19661 is infinite, not alongside NaN test.
19662 * math/s_fdimf.c (__fdimf): Likewise.
19663 * math/s_fdiml.c (__fdiml): Likewise.
19664 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19665 errno is unchanged.
19667 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19669 * argp/argp-help.c: Fix typos.
19670 * crypt/speeds.c: Likewise.
19671 * csu/check_fds.c: Likewise.
19672 * elf/dl-load.c: Likewise.
19673 * elf/dl-open.c: Likewise.
19674 * elf/reldep3.c: Likewise.
19675 * elf/reldep.c: Likewise.
19676 * elf/sprof.c: Likewise.
19677 * iconv/iconv_charmap.c: Likewise.
19678 * iconv/skeleton.c: Likewise.
19679 * iconv/strtab.c: Likewise.
19680 * io/lockf64.c: Likewise.
19681 * libio/libioP.h: Likewise.
19682 * resolv/gai_notify.c: Likewise.
19683 * resolv/ns_name.c: Likewise.
19684 * resolv/ns_samedomain.c: Likewise.
19685 * resolv/res_send.c: Likewise.
19686 * stdlib/random.c: Likewise.
19687 * sunrpc/rpc/xdr.h: Likewise.
19688 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19689 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19690 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19691 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19692 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19693 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19695 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19696 * sysdeps/mach/hurd/check_fds.c: Likewise.
19697 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19698 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19700 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19701 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19702 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19703 * sysdeps/pthread/aio_notify.c: Likewise.
19704 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19705 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19706 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19707 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19708 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19710 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19712 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19713 version if bit_Slow_SSE4_2 is set.
19714 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19715 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19717 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19720 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19721 trampoline stack frame information.
19722 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19723 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19724 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19725 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19726 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19727 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19728 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19729 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19731 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19732 interrupting a syscall and set with option SA_SIGINFO.
19734 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19737 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19738 argument is infinite.
19739 * math/s_cprojf.c (__cprojf): Likewise.
19740 * math/s_cprojl.c (__cprojl): Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19742 * math/libm-test.inc (cproj_test_data): Add more tests.
19744 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19746 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19747 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19748 size. Use __ffs to determine corresponding shift.
19750 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19751 Roland McGrath <roland@hack.frob.com>
19753 * Makefile (INSTALL): Remove trailing blank lines from output of
19756 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19758 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19759 Align 32 bit compat elf_greg to 8 bytes.
19761 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19763 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19765 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19767 * string/strcoll_l.c (coll_seq): New structure.
19768 (get_next_seq_cached): New function.
19769 (get_next_seq): New function.
19770 (do_compare): New function.
19771 (STRCOLL): Use GNU style definition. Simplify implementation
19772 by using get_next_seq, get_next_seq_cached and do_compare.
19774 2013-08-16 Florian Weimer <fweimer@redhat.com>
19778 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19780 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19782 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19783 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19784 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19786 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19787 GETDENTS_64BIT_ALIGNED.
19788 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19789 * manual/filesys.texi (Reading/Closing Directory): Document
19790 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19792 * manual/conf.texi (Limits for Files): Add portability note to
19793 NAME_MAX, PATH_MAX.
19794 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19796 2013-08-13 Andreas Schwab <schwab@suse.de>
19799 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19801 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19802 LDBL_MAX_EXP >= 16384]: Add tests for it.
19804 2013-08-12 David S. Miller <davem@davemloft.net>
19806 * version.h (RELEASE): Set to "development".
19807 (VERSION): Set to "2.18.90".
19808 * NEWS: Add 2.19 section.
19810 2013-08-03 David S. Miller <davem@davemloft.net>
19812 * po/ko.po: Update Korean translation from translation project.
19814 2013-08-01 David S. Miller <davem@davemloft.net>
19816 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19817 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19820 2013-07-30 David S. Miller <davem@davemloft.net>
19822 * po/fr.po: Update French translation from translation project.
19824 2013-07-28 David S. Miller <davem@davemloft.net>
19826 * po/cs.po: Update Czech translation from translation project.
19828 * po/sv.po: Update Swedish translation from translation project.
19830 2013-07-27 David S. Miller <davem@davemloft.net>
19832 * po/eo.po: Update Esperanto translation from translation project.
19834 * po/vi.po: Update Vietnamese translation from translation project.
19836 * po/de.po: Update German translation from translation project.
19838 2013-07-26 David S. Miller <davem@davemloft.net>
19840 * po/bg.po: Update Bulgarian translation from translation project.
19842 * po/nl.po: Update Dutch translation from translation project.
19843 * po/pl.po: Update Polish translation from translation project.
19844 * po/ru.po: Update Russian translation from translation project.
19846 2013-07-24 David S. Miller <davem@davemloft.net>
19848 * po/libc.pot: Update.
19850 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19852 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19853 variable page size.
19854 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19855 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19856 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19858 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19860 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19862 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19863 Andreas Schwab <schwab@suse.de>
19864 Roland McGrath <roland@hack.frob.com>
19865 Joseph Myers <joseph@codesourcery.com>
19866 Carlos O'Donell <carlos@redhat.com>
19869 * config.h.in: Define HAVE_PT_CHOWN.
19870 * config.make.in (build-pt-chown): New variable.
19871 * configure.in (--enable-pt_chown): New configure option.
19872 * configure: Regenerate.
19873 * login/Makefile: Include Makeconfig. Build pt_chown only if
19874 build-pt-chown is enabled.
19875 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19876 pt_chown to fix pty ownership.
19877 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19879 * manual/install.texi (Configuring and compiling): Mention
19880 --enable-pt_chown. Add @findex for grantpt.
19881 * INSTALL: Regenerate.
19883 2013-07-20 David S. Miller <davem@davemloft.net>
19885 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19886 difference between 32-bit and 64-bit.
19888 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19891 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19892 Avoid system header dependency with -ffreestanding.
19893 ($(objpfx)bits/syscall%d): Likewise.
19895 2013-07-13 David S. Miller <davem@davemloft.net>
19897 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19898 underflows from atanl/atan2l due to bug 15319.
19899 (casinh_test_data): Likewise.
19901 2013-07-07 David S. Miller <davem@davemloft.net>
19903 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19905 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19907 * sysdeps/i386/fpu/libm-test-ulps: Update.
19908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19910 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19912 * configure.in (--enable-lock-elision): Fix message text.
19913 * INSTALL: Regenerate.
19914 * configure: Regenerate.
19916 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19920 2013-07-03 Andreas Jaeger <aj@suse.de>
19922 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19924 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19925 (ptrace_peeksiginfo_args): Add.
19926 (__ptrace_peeksiginfo_flags): Add.
19927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19928 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19931 2013-07-03 Allan McRae <allan@archlinux.org>
19933 * sysdeps/i386/fpu/libm-test-ulps: Update.
19935 2013-07-02 David S. Miller <davem@davemloft.net>
19937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19939 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19943 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19945 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19948 2013-07-02 Andi Kleen <ak@linux.intel.com>
19950 * config.h.in (ENABLE_LOCK_ELISION): Add.
19951 * configure.in (--enable-lock-elision): Add option.
19952 * manual/install.texi: Document --enable lock elision.
19953 * configure: Regenerate
19954 * INSTALL: Regenerate.
19956 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19958 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19959 SSE4.2 strcasecmp for libc.a.
19960 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19962 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19965 * soft-fp/op-common.h (_FP_FMA): New macro.
19966 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19967 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19968 (_FP_MUL_MEAT_1_imm): ... here.
19969 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19970 (_FP_MUL_MEAT_1_wide): ... here.
19971 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19972 (_FP_MUL_MEAT_1_hard): ... here.
19973 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19974 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19975 (_FP_MUL_MEAT_2_wide): ... here.
19976 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19977 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19978 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19979 (_FP_MUL_MEAT_2_gmp): ... here.
19980 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19981 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19982 (_FP_MUL_MEAT_4_wide): ... here.
19983 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19984 (_FP_MUL_MEAT_4_gmp): ... here.
19985 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19986 (_FP_WFRACBITS_DW_S): Likewise.
19987 (_FP_WFRACXBITS_DW_S): Likewise.
19988 (_FP_HIGHBIT_DW_S): Likewise.
19989 (FP_FMA_S): Likewise.
19990 (_FP_FRAC_HIGH_DW_S): Likewise.
19991 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19992 (_FP_WFRACBITS_DW_D): Likewise.
19993 (_FP_WFRACXBITS_DW_D): Likewise.
19994 (_FP_HIGHBIT_DW_D): Likewise.
19995 (FP_FMA_D): Likewise.
19996 (_FP_FRAC_HIGH_DW_D): Likewise.
19997 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19998 (_FP_WFRACBITS_DW_E): Likewise.
19999 (_FP_WFRACXBITS_DW_E): Likewise.
20000 (_FP_HIGHBIT_DW_E): Likewise.
20001 (FP_FMA_E): Likewise.
20002 (_FP_FRAC_HIGH_DW_E): Likewise.
20003 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20004 (_FP_WFRACBITS_DW_Q): Likewise.
20005 (_FP_WFRACXBITS_DW_Q): Likewise.
20006 (_FP_HIGHBIT_DW_Q): Likewise.
20007 (FP_FMA_Q): Likewise.
20008 (_FP_FRAC_HIGH_DW_Q): Likewise.
20009 * soft-fp/fmasf4.c: New file.
20010 * soft-fp/fmadf4.c: Likewise.
20011 * soft-fp/fmatf4.c: Likewise.
20013 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20016 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20018 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20020 (index_Slow_SSE4_2): Likewise.
20021 (index_Prefer_PMINUB_for_stringop): Likewise.
20022 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20023 bit_Slow_SSE4_2 is set.
20024 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20025 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20027 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20029 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20030 rtld_global._dl_hwcap2.
20031 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20033 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20034 POWER8 feature descriptions defined in _dl_hwcap2.
20035 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20036 string handling for POWER8 feature bits.
20037 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20038 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20039 _dl_powerpc_cap_flags.
20040 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20041 * sysdeps/powerpc/rtld-global-offsets.sym
20042 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20043 _dl_hwcap2 in the rtld_global_ro structure.
20045 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20047 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20048 hardware capabilities in support of AT_HWCAP2.
20049 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20050 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20052 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20053 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20054 explicitly the unknown a_type display mechanism is used.
20055 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20056 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20058 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20059 to macro prototype for AT_HWCAP2 support.
20060 * sysdeps/i386/dl-procinfo.h: Likewise.
20061 * sysdeps/s390/dl-procinfo.h: Likewise.
20062 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20063 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20064 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20065 return -1 for unknown a_type display fallback.
20066 * sysdeps/sparc/dl-procinfo.h: Likewise.
20067 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20068 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20070 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20072 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20073 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20075 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20078 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20079 mprotect making __stack_prot writable.
20081 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20082 Joseph Myers <joseph@codesourcery.com>
20084 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20085 as being properly aligned.
20087 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20089 * dlfcn/modstatic5.c: New file.
20090 * dlfcn/tststatic5.c: New file.
20091 * dlfcn/Makefile (tests): Add tststatic5.
20092 (tests-static): Likewise.
20093 (modules-names): Add modstatic5.
20094 (tststatic5-ENV): New variable.
20095 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20098 * elf/dl-support.c (_dl_main_map): New variable.
20099 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20100 (_dl_nns, _dl_load_adds): Set to 1.
20101 (_dl_initial_searchlist): Refer to _dl_main_map.
20102 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20103 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20104 call to _dl_get_origin.
20105 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20107 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20108 * dlfcn/modstatic3.c: New file.
20109 * dlfcn/tststatic3.c: New file.
20110 * dlfcn/tststatic4.c: New file.
20111 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20112 (tests-static): Likewise.
20113 (modules-names): Add modstatic3.
20114 (tststatic3-ENV, tststatic4-ENV): New variables.
20115 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20116 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20118 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20120 * configure.in (CC): Require GCC version 4.4 or later.
20121 * configure: Regenerated.
20122 * manual/install.texi (Tools for Compilation): Update GCC version
20124 * INSTALL: Regenerated.
20126 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20129 * string/test-memcmp.c (check2): New.
20130 (main): Call check2.
20132 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20134 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20137 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20139 (dl_open_worker) [!SHARED]: ... here.
20141 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20143 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20145 2013-06-25 Richard Henderson <rth@redhat.com>
20147 * locale/programs/locarchive.c: Include <libc-internal.h>
20149 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20151 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20152 trailing whitespace removed.
20154 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20157 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20158 * locale/programs/locarchive.c: Include libc-mmap.h.
20159 (prepare_address_space): Take two new outputs (the mmap base and len).
20160 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20162 (create_archive): Declare new mmap base and len values for
20163 prepare_address_space, and store the result in ah.
20164 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20165 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20166 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20167 Declare new mmap base and len values for
20168 prepare_address_space, and store the result in new_ah.
20169 (open_archive): Declare new mmap base and len values for
20170 prepare_address_space, and store the result in ah.
20171 (close_archive): If ah->mmap_base is not NULL, use that and
20172 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20173 * sysdeps/generic/libc-mmap.h: New file.
20175 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20177 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20178 (ALIGN_UP): Likewise.
20179 (PTR_ALIGN_DOWN): Likewise.
20180 (PTR_ALIGN_UP): Likewise.
20182 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20184 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20185 entry mapped to PPC_PLATFORM_POWER8.
20186 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20188 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20189 (_dl_string_platform): Add case for exporting platform position for
20191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20192 search path to sysdeps/powerpc/powerpc32/power8 directory.
20193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20194 search path to sysdeps/powerpc/powerpc64/power8 directory.
20195 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20196 power7 directories.
20197 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20198 power7 directories.
20200 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20202 * INSTALL: Regenerate.
20204 * nscd/connections.c (nscd_init): Fix comment.
20206 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20208 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20211 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20212 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20214 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20216 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20218 (DL_DST_REQ_STATIC): Remove macro.
20220 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20223 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20224 with a shift of 0 bits.
20226 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20228 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20231 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20234 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20236 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20238 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20239 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20240 accepts -fno-tree-loop-distribute-patterns.
20241 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20242 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20244 * string/memset.c (memset): Likewise.
20245 * string/test-memmove.c (simple_memmove): Disable loop transformation
20247 * string/test-memset.c (simple_memset): Likewise.
20248 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20249 * benchtests/bench-memset.c (simple_memset): Likewise.
20250 * configure: Regenerated.
20252 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20254 * math/test-misc.c (main): Ignore fesetround failure when failures
20255 of subsequent rounding tests would be ignored.
20258 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20259 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20260 * math/fegetenv.c (__fegetenv): Return 0.
20261 * math/fegetexcept.c (fegetexcept): Return 0.
20262 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20264 * math/feholdexcpt.c (feholdexcept): Return 0.
20265 * math/fesetenv.c (__fesetenv): Return 0.
20266 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20267 argument FE_TONEAREST.
20268 * math/feupdateenv.c (__feupdateenv): Return 0.
20269 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20271 2013-06-18 Roland McGrath <roland@hack.frob.com>
20273 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20274 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20275 ($(objpfx)rtld-%.os rules): Use them.
20277 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20279 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20282 2013-06-17 Roland McGrath <roland@hack.frob.com>
20284 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20285 length of target pattern, then descending length of dependency pattern.
20286 * configure.in (AWK): Require gawk 3.1.2 or newer.
20287 * manual/install.texi (Tools for Compilation): Say that we do.
20288 * configure: Regenerated.
20290 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20291 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20292 * scripts/sysd-rules.awk: ... this new script.
20293 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20294 than a glob-style pattern.
20296 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20298 * math/test-misc.c (main): Do not treat incorrectly rounded
20299 conversions as failure unless ROUNDING_TESTS passes.
20301 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20304 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20305 restore exception state around main square root computation, then
20306 check for inexactness explicitly.
20308 * math/libm-test.inc (fma_test_data): Add another test.
20310 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20312 * manual/threads.texi (Non-POSIX Extensions): New document
20313 node. Document pthread_getattr_default_np and
20314 pthread_setattr_default_np.
20316 * Versions.def (libpthread): Add GLIBC_2.18.
20317 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20326 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20337 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20339 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20340 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20342 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20343 H.J. Lu <hjl.tools@gmail.com>
20346 * sysdeps/x86_64/rtld-memset.c: Remove file.
20347 * sysdeps/x86_64/rtld-memset.S: New file.
20349 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20351 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20352 (test_in_one_mode): Take arguments for whether the rounding mode
20353 is supported for each floating-point type.
20354 (do_test): Pass new arguments to test_in_one_mode using
20357 2013-06-13 Roland McGrath <roland@hack.frob.com>
20359 * posix/tst-waitid.c (do_test): Distinguish different instances of
20360 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20361 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20362 before entering the kernel for waitpid.
20364 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20366 * NEWS: Fix note on clock function precision. Text by Roland
20369 2013-06-13 Roland McGrath <roland@hack.frob.com>
20371 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20372 it into place only when and if the sanity check passes.
20374 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20376 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20377 output for whether conversion result is exact. Take argument
20378 indicating whether type is IBM long double.
20379 (round_for_all): Change need_exact field to ibm_ld.
20380 * stdlib/tst-strtod-round.c (struct exactness): New type.
20381 (struct test): Change bool ld_ok field to struct exactness exact.
20382 (TEST): Update all definitions for change to field.
20383 (tests): Regenerate array contents.
20384 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20385 field value. Check for IBM long double here.
20386 (do_test): Update calls to test_in_one_mode.
20388 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20391 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20392 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20394 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20397 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20398 generated by the compiler on loop optimizations.
20399 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20400 general definitions.
20402 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20404 * math/bug-nextafter.c: Include <math-tests.h>.
20405 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20407 * math/bug-nexttoward.c: Include <math-tests.h>.
20408 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20410 * math/test-misc.c: Include <math-tests.h>.
20411 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20414 2013-06-12 Andreas Jaeger <aj@suse.de>
20416 * po/ia.po: Update Interlingua translation from translation
20419 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20421 * include/fenv.h: Include stdbool.h.
20422 (struct rm_ctx): New structure.
20423 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20425 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20426 (SET_RESTORE_ROUNDF): Likewise.
20427 (SET_RESTORE_ROUNDL): Likewise.
20428 (SET_RESTORE_ROUND_NOEX): Likewise.
20429 (SET_RESTORE_ROUND_NOEXF): Likewise.
20430 (SET_RESTORE_ROUND_NOEXL): Likewise.
20431 (SET_RESTORE_ROUND_53BIT): Likewise.
20432 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20433 (libc_feresetround_noexf_ctx): Likewise.
20434 (libc_feresetround_noexl_ctx): Likewise.
20435 (libc_feholdsetround_53bit_ctx): Likewise.
20436 (libc_feresetround_53bit_ctx): Likewise.
20437 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20438 (libc_feholdexcept_setround_sse_ctx): New function.
20439 (libc_fesetenv_sse_ctx): Likewise.
20440 (libc_feupdateenv_sse_ctx): Likewise.
20441 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20442 (libc_feholdexcept_setround_387_ctx): Likewise.
20443 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20444 (libc_feholdsetround_387_prec_ctx): Likewise.
20445 (libc_feholdsetround_387_ctx): Likewise.
20446 (libc_feholdsetround_387_53bit_ctx): Likewise.
20447 (libc_feholdsetround_sse_ctx): Likewise.
20448 (libc_feresetround_sse_ctx): Likewise.
20449 (libc_feresetround_387_ctx): Likewise.
20450 (libc_feupdateenv_387_ctx): Likewise.
20451 (libc_feholdexcept_setroundf_ctx): Define macro.
20452 (libc_fesetenvf_ctx): Likewise.
20453 (libc_feupdateenvf_ctx): Likewise.
20454 (libc_feholdsetroundf_ctx): Likewise.
20455 (libc_feresetroundf_ctx): Likewise.
20456 (libc_feholdexcept_setround_ctx): Likewise.
20457 (libc_fesetenv_ctx): Likewise.
20458 (libc_feupdateenv_ctx): Likewise.
20459 (libc_feholdsetround_ctx): Likewise.
20460 (libc_feresetround_ctx): Likewise.
20461 (libc_feholdexcept_setroundl_ctx): Likewise.
20462 (libc_feupdateenvl_ctx): Likewise.
20463 (libc_feholdsetroundl_ctx): Likewise.
20464 (libc_feresetroundl_ctx): Likewise.
20465 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20466 (libc_feresetround_53bit_ctx): Likewise.
20468 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20470 * locale/iso-639.def: Convert to UTF-8.
20472 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20474 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20475 (EXCEPTION_TESTS_double): Likewise.
20476 (EXCEPTION_TESTS_long_double): Likewise.
20477 (EXCEPTION_TESTS): Likewise.
20478 * math/libm-test.inc (test_exceptions): Only test exceptions if
20479 EXCEPTION_TESTS (FLOAT).
20481 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20483 * benchtests/Makefile (string-bench): Add strcpy_chk and
20485 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20486 * benchtests/bench-stpcpy_chk.c: New file.
20487 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20488 * benchtests/bench-strcpy_chk.c: New file.
20489 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20491 (do_test): Likewise.
20493 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20495 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20496 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20497 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20498 with tabs where appropriate.
20499 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20501 [PPC_PLATFORM_PPC440]: Likewise.
20502 [PPC_PLATFORM_PPC464]: Likewise.
20503 [PPC_PLATFORM_PPC476]: Likewise.
20504 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20505 ppc464, and ppc476 platform strings merging from ports/
20508 2013-06-11 Andreas Schwab <schwab@suse.de>
20511 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20512 (from_ucs4_idx): Regenerate.
20513 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20514 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20515 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20516 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20517 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20518 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20519 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20520 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20521 from FROM_LOOP and TO_LOOP specific macros.
20522 (BODY): Handle combining characters.
20523 * iconvdata/BIG5HKSCS.irreversible: Update.
20524 * iconvdata/BIG5HKSCS.precomposed: New file.
20525 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20527 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20529 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20531 * include/sys/time.h: Fix indentation and add copyright header.
20533 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20534 (do_test): Likewise.
20535 * string/test-memchr.c (do_one_test): Likewise.
20536 (do_test): Likewise.
20537 * string/test-memcmp.c (do_one_test): Likewise.
20538 (do_test): Likewise.
20539 * string/test-memcpy.c (do_one_test): Likewise.
20540 (do_test): Likewise.
20541 * string/test-memmem.c (do_one_test): Likewise.
20542 (do_test): Likewise.
20543 (do_random_tests): Likewise.
20544 * string/test-memmove.c (do_one_test): Likewise.
20545 (do_test): Likewise.
20546 * string/test-memset.c (do_one_test): Likewise.
20547 (do_test): Likewise.
20548 * string/test-rawmemchr.c (do_one_test): Likewise.
20549 (do_test): Likewise.
20550 * string/test-strcasecmp.c (do_one_test): Likewise.
20551 (do_test): Likewise.
20552 * string/test-strcasestr.c (do_one_test): Likewise.
20553 (do_test): Likewise.
20554 * string/test-strcat.c (do_one_test): Likewise.
20555 (do_test): Likewise.
20556 * string/test-strchr.c (do_one_test): Likewise.
20557 (do_test): Likewise.
20558 * string/test-strcmp.c (do_one_test): Likewise.
20559 (do_test): Likewise.
20560 * string/test-strcpy.c (do_one_test): Likewise.
20561 (do_test): Likewise.
20562 * string/test-string.h: Likewise.
20563 (test_init): Likewise.
20564 * string/test-strlen.c (do_one_test): Likewise.
20565 (do_test): Likewise.
20566 * string/test-strncasecmp.c (do_one_test): Likewise.
20567 (do_test): Likewise.
20568 * string/test-strncat.c (do_one_test): Likewise.
20569 (do_test): Likewise.
20570 * string/test-strncmp.c (do_one_test): Likewise.
20571 (do_test_limit): Likewise.
20572 (do_test): Likewise.
20573 * string/test-strncpy.c (do_one_test): Likewise.
20574 (do_test): Likewise.
20575 * string/test-strnlen.c (do_one_test): Likewise.
20576 (do_test): Likewise.
20577 * string/test-strpbrk.c (do_one_test): Likewise.
20578 (do_test): Likewise.
20579 * string/test-strrchr.c (do_one_test): Likewise.
20580 (do_test): Likewise.
20581 * string/test-strspn.c (do_one_test): Likewise.
20582 (do_test): Likewise.
20583 * string/test-strstr.c (do_one_test): Likewise.
20584 (do_test): Likewise.
20586 * benchtests/Makefile (string-bench): Add string benchmarks.
20587 * benchtests/bench-bcopy-ifunc.c: New file.
20588 * benchtests/bench-bcopy.c: New file.
20589 * benchtests/bench-bzero-ifunc.c: New file.
20590 * benchtests/bench-bzero.c: New file.
20591 * benchtests/bench-memccpy-ifunc.c: New file.
20592 * benchtests/bench-memccpy.c: New file.
20593 * benchtests/bench-memchr-ifunc.c: New file.
20594 * benchtests/bench-memchr.c: New file.
20595 * benchtests/bench-memcmp-ifunc.c: New file.
20596 * benchtests/bench-memcmp.c: New file.
20597 * benchtests/bench-memmem-ifunc.c: New file.
20598 * benchtests/bench-memmem.c: New file.
20599 * benchtests/bench-memmove-ifunc.c: New file.
20600 * benchtests/bench-memmove.c: New file.
20601 * benchtests/bench-mempcpy-ifunc.c: New file.
20602 * benchtests/bench-mempcpy.c: New file.
20603 * benchtests/bench-memset-ifunc.c: New file.
20604 * benchtests/bench-memset.c: New file.
20605 * benchtests/bench-rawmemchr-ifunc.c: New file.
20606 * benchtests/bench-rawmemchr.c: New file.
20607 * benchtests/bench-stpcpy-ifunc.c: New file.
20608 * benchtests/bench-stpcpy.c: New file.
20609 * benchtests/bench-stpncpy-ifunc.c: New file.
20610 * benchtests/bench-stpncpy.c: New file.
20611 * benchtests/bench-strcasecmp-ifunc.c: New file.
20612 * benchtests/bench-strcasecmp.c: New file.
20613 * benchtests/bench-strcasestr-ifunc.c: New file.
20614 * benchtests/bench-strcasestr.c: New file.
20615 * benchtests/bench-strcat-ifunc.c: New file.
20616 * benchtests/bench-strcat.c: New file.
20617 * benchtests/bench-strchr-ifunc.c: New file.
20618 * benchtests/bench-strchr.c: New file.
20619 * benchtests/bench-strchrnul-ifunc.c: New file.
20620 * benchtests/bench-strchrnul.c: New file.
20621 * benchtests/bench-strcmp-ifunc.c: New file.
20622 * benchtests/bench-strcmp.c: New file.
20623 * benchtests/bench-strcpy-ifunc.c: New file.
20624 * benchtests/bench-strcpy.c: New file.
20625 * benchtests/bench-strcspn-ifunc.c: New file.
20626 * benchtests/bench-strcspn.c: New file.
20627 * benchtests/bench-strlen-ifunc.c: New file.
20628 * benchtests/bench-strlen.c: New file.
20629 * benchtests/bench-strncasecmp-ifunc.c: New file.
20630 * benchtests/bench-strncasecmp.c: New file.
20631 * benchtests/bench-strncat-ifunc.c: New file.
20632 * benchtests/bench-strncat.c: New file.
20633 * benchtests/bench-strncmp-ifunc.c: New file.
20634 * benchtests/bench-strncmp.c: New file.
20635 * benchtests/bench-strncpy-ifunc.c: New file.
20636 * benchtests/bench-strncpy.c: New file.
20637 * benchtests/bench-strnlen-ifunc.c: New file.
20638 * benchtests/bench-strnlen.c: New file.
20639 * benchtests/bench-strpbrk-ifunc.c: New file.
20640 * benchtests/bench-strpbrk.c: New file.
20641 * benchtests/bench-strrchr-ifunc.c: New file.
20642 * benchtests/bench-strrchr.c: New file.
20643 * benchtests/bench-strspn-ifunc.c: New file.
20644 * benchtests/bench-strspn.c: New file.
20645 * benchtests/bench-strstr-ifunc.c: New file.
20646 * benchtests/bench-strstr.c: New file.
20648 * benchtests/Makefile: Disable parallel execution of targets.
20649 (string-bench): Add memcpy.
20650 (benchset): New variable to store a list of benchmark sets.
20651 (bench-func): Renamed from bench.
20652 (bench-set): New target.
20653 (bench): Depend on bench-func and bench-set.
20654 * benchtests/README: Add section on benchmark sets.
20655 * benchtests/bench-memcpy-ifunc.c: New file.
20656 * benchtests/bench-memcpy.c: New file.
20657 * benchtests/bench-string.h: New file.
20659 2013-06-11 Andreas Schwab <schwab@suse.de>
20662 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20663 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20664 values in the triple.
20665 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20666 terminator in the group key.
20668 2013-06-11 Andreas Jaeger <aj@suse.de>
20670 * po/zh_TW.po: Update Chinese (traditional) translation from
20671 translation project.
20673 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20675 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20676 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20677 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20678 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20679 (clock_getcpuclockid): Likewise.
20680 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20681 Add weak_alias and libc_hidden_def.
20682 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20683 * rt/clock_gettime.c (clock_gettime): Rename to
20684 __clock_gettime. Add weak_alias and libc_hidden_def.
20685 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20686 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20687 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20688 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20689 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20691 * rt/clock_settime.c (clock_settime): Rename to
20692 __clock_settime. Add weak_alias and libc_hidden_def.
20693 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20695 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20697 * mach/err_boot.sub: Remove trailing whitespace.
20698 * mach/err_ipc.sub: Likewise.
20699 * mach/err_mach.sub: Likewise.
20701 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20702 (ROUNDING_TESTS_double): Likewise.
20703 (ROUNDING_TESTS_long_double): Likewise.
20704 (ROUNDING_TESTS): Likewise.
20705 * math/libm-test.inc: Include <math-tests.h>.
20706 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20707 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20708 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20709 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20711 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20713 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20716 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20718 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20719 otherwise empty TRANS lines.
20720 * sysdeps/gnu/errlist.c: Regenerated.
20722 * catgets/gencat.c (error_print): Use (void) in function
20724 * crypt/crypt_util.c (__init_des): Likewise.
20725 * crypt/speeds.c (Stop): Likewise.
20727 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20728 * inet/ruserpass.c (token): Likewise.
20729 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20730 * intl/localealias.c (extend_alias_table): Likewise.
20731 * intl/plural-exp.c (init_germanic_plural): Likewise.
20732 * libio/fcloseall.c (__fcloseall): Likewise.
20733 * libio/genops.c (_IO_flush_all): Likewise.
20734 (_IO_flush_all_linebuffered): Likewise.
20735 (_IO_cleanup): Likewise.
20736 (_IO_iter_begin): Likewise.
20737 (_IO_iter_end): Likewise.
20738 (_IO_list_lock): Likewise.
20739 (_IO_list_unlock): Likewise.
20740 (_IO_list_resetlock): Likewise.
20741 * libio/getchar.c (getchar): Likewise.
20742 * libio/getchar_u.c (getchar_unlocked): Likewise.
20743 * libio/getwchar.c (getwchar): Likewise.
20744 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20745 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20746 * login/getpt.c (__getpt): Likewise.
20747 * login/tst-utmp.c (main): Likewise.
20748 * malloc/hooks.c (__malloc_check_init): Likewise.
20749 * malloc/malloc.c (__malloc_stats): Likewise.
20750 * malloc/mtrace.c (tr_break): Likewise.
20751 (mtrace): Likewise.
20752 (muntrace): Likewise.
20753 * misc/fstab.c (endfsent): Likewise.
20754 * misc/getclktck.c (__getclktck): Likewise.
20755 * misc/getdtsz.c (__getdtablesize): Likewise.
20756 * misc/gethostid.c (gethostid): Likewise.
20757 * misc/getpagesize.c (__getpagesize): Likewise.
20758 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20759 (__get_nprocs): Likewise.
20760 (__get_phys_pages): Likewise.
20761 (__get_avphys_pages): Likewise.
20762 * misc/getttyent.c (getttyent): Likewise.
20763 (setttyent): Likewise.
20764 (endttyent): Likewise.
20765 * misc/getusershell.c (getusershell): Likewise.
20766 (endusershell): Likewise.
20767 (setusershell): Likewise.
20768 (initshells): Likewise.
20769 * misc/hsearch.c (__hdestroy): Likewise.
20770 * misc/sync.c (sync): Likewise.
20771 * misc/syslog.c (closelog_internal): Likewise.
20772 (closelog): Likewise.
20773 * misc/ttyslot.c (ttyslot): Likewise.
20774 * misc/vhangup.c (vhangup): Likewise.
20775 * posix/fork.c (__fork): Likewise.
20776 * posix/getegid.c (__getegid): Likewise.
20777 * posix/geteuid.c (__geteuid): Likewise.
20778 * posix/getgid.c (__getgid): Likewise.
20779 * posix/getpid.c (__getpid): Likewise.
20780 * posix/getppid.c (__getppid): Likewise.
20781 * posix/getuid.c (__getuid): Likewise.
20782 * posix/pause.c (pause): Likewise.
20783 * posix/setpgrp.c (setpgrp): Likewise.
20784 * posix/setsid.c (__setsid): Likewise.
20785 * posix/test-vfork.c (noop): Likewise.
20786 * resolv/gethnamaddr.c (_endhtent): Likewise.
20787 (_gethtent): Likewise.
20788 (ht_endhostent): Likewise.
20789 (gethostent): Likewise.
20790 (dns_service): Likewise.
20791 * stdlib/drand48.c (drand48): Likewise.
20792 * stdlib/lrand48.c (lrand48): Likewise.
20793 * stdlib/mrand48.c (mrand48): Likewise.
20794 * stdlib/rand.c (rand): Likewise.
20795 * stdlib/random.c (__random): Likewise.
20796 * stdlib/setenv.c (clearenv): Likewise.
20797 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20798 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20799 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20800 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20801 (__get_nprocs): Likewise.
20802 (__get_phys_pages): Likewise.
20803 (__get_avphys_pages): Likewise.
20804 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20805 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20806 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20807 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20808 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20809 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20810 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20811 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20812 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20813 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20814 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20815 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20816 * sysdeps/posix/clock.c (clock): Likewise.
20817 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20818 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20819 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20820 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20821 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20822 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20823 (__get_nprocs_conf): Likewise.
20824 (__get_phys_pages): Likewise.
20825 (__get_avphys_pages): Likewise.
20826 * time/clock.c (clock): Likewise.
20827 * time/tzset.c (__tzname_max): Likewise.
20829 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20831 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20832 (__bswap_32): Do not use "register".
20833 * crypt/crypt.c (_ufc_doit_r): Likewise.
20834 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20835 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20836 * gmon/gmon.c (__monstartup): Likewise.
20837 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20838 * hurd/hurdmalloc.c (more_memory): Likewise.
20839 (malloc): Likewise.
20841 (realloc): Likewise.
20842 (malloc_fork_prepare): Likewise.
20843 (malloc_fork_parent): Likewise.
20844 (malloc_fork_child): Likewise.
20845 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20846 (_svcauth_des): Likewise.
20847 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20848 * inet/inet_net.c (inet_network): Likewise.
20849 * inet/inet_netof.c (inet_netof): Likewise.
20850 * inet/rcmd.c (__validuser2_sa): Likewise.
20851 * io/fts.c (fts_open): Likewise.
20852 (fts_load): Likewise.
20853 (fts_close): Likewise.
20854 (fts_read): Likewise.
20855 (fts_children): Likewise.
20856 (fts_build): Likewise.
20857 (fts_stat): Likewise.
20858 (fts_sort): Likewise.
20859 (fts_alloc): Likewise.
20860 (fts_lfree): Likewise.
20861 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20862 (_IO_file_xsgetn): Likewise.
20863 (_IO_file_xsgetn_mmap): Likewise.
20864 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20865 (_IO_cookie_write): Likewise.
20866 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20867 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20868 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20869 * malloc/obstack.c (_obstack_begin): Likewise.
20870 (_obstack_begin_1): Likewise.
20871 (_obstack_newchunk): Likewise.
20872 (_obstack_allocated_p): Likewise.
20873 (obstack_free): Likewise.
20874 (_obstack_memory_used): Likewise.
20875 * misc/getttyent.c (getttynam): Likewise.
20876 (getttyent): Likewise.
20879 * misc/getusershell.c (initshells): Likewise.
20880 * misc/syslog.c (__vsyslog_chk): Likewise.
20881 * misc/ttyslot.c (ttyslot): Likewise.
20882 * nis/nis_hash.c (__nis_hash): Likewise.
20883 * posix/fnmatch_loop.c (FCT): Likewise.
20884 * posix/getconf.c (print_all): Likewise.
20886 * posix/getopt.c (exchange): Likewise.
20887 * posix/glob.c (globfree): Likewise.
20888 (prefix_array): Likewise.
20889 (__glob_pattern_type): Likewise.
20890 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20891 (NS_GET32): Likewise.
20892 (NS_PUT16): Likewise.
20893 (NS_PUT32): Likewise.
20894 * resolv/gethnamaddr.c (getanswer): Likewise.
20895 (gethostbyname2): Likewise.
20896 (gethostbyaddr): Likewise.
20897 (_gethtent): Likewise.
20898 (_gethtbyname2): Likewise.
20899 (_gethtbyaddr): Likewise.
20900 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20901 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20902 * resolv/res_init.c (__res_vinit): Likewise.
20903 (net_mask): Likewise.
20904 * resolv/res_mkquery.c (outchar): Likewise.
20906 * stdio-common/printf_fp.c (outchar): Likewise.
20908 * stdio-common/printf_fphex.c (outchar): Likewise.
20910 * stdio-common/printf_size.c (outchar): Likewise.
20912 * stdio-common/test_rdwr.c (main): Likewise.
20913 * stdio-common/tfformat.c (matches): Likewise.
20914 * stdio-common/vfprintf.c (outchar): Likewise.
20915 (printf_unknown): Likewise.
20916 (buffered_vfprintf): Likewise.
20917 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20918 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20919 (ReadFile): Likewise.
20920 * stdlib/qsort.c (SWAP): Likewise.
20921 (_quicksort): Likewise.
20922 * stdlib/setenv.c (__add_to_environ): Likewise.
20923 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20924 * stdlib/strtol_l.c (__strtol_l): Likewise.
20925 * stdlib/tst-strtod.c (main): Likewise.
20926 * stdlib/tst-strtol.c (main): Likewise.
20927 * stdlib/tst-strtoll.c (main): Likewise.
20928 * string/bits/string2.h (__strcmp_cc): Likewise.
20929 (__strcmp_cg): Likewise.
20930 (__strcspn_c1): Likewise.
20931 (__strcspn_c2): Likewise.
20932 (__strcspn_c3): Likewise.
20933 (__strspn_c1): Likewise.
20934 (__strspn_c2): Likewise.
20935 (__strspn_c3): Likewise.
20936 (__strsep_1c): Likewise.
20937 (__strsep_2c): Likewise.
20938 (__strsep_3c): Likewise.
20939 * string/memccpy.c (__memccpy): Likewise.
20940 * string/stpcpy.c (__stpcpy): Likewise.
20941 * string/strcmp.c (strcmp): Likewise.
20942 * string/strrchr.c (strrchr): Likewise.
20943 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20945 * sysdeps/mach/hurd/getcwd.c
20946 (_hurd_canonicalize_directory_name_internal): Likewise.
20947 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20948 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20949 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20950 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20951 Likewise, in both definitions.
20952 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20954 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20955 64] (__bswap_64): Likewise.
20956 * time/test_time.c (main): Likewise.
20957 * time/tzfile.c (__tzfile_read): Likewise.
20958 (__tzfile_compute): Likewise.
20959 * time/tzset.c (__tzset_parse_tz): Likewise.
20960 (tzset_internal): Likewise.
20961 (compute_change): Likewise.
20962 * wcsmbs/wcscat.c (__wcscat): Likewise.
20963 * wcsmbs/wcschr.c (wcschr): Likewise.
20964 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20965 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20966 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20967 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20968 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20969 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20970 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20971 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20972 * wcsmbs/wmemset.c (wmemset): Likewise.
20974 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20976 * scripts/config.guess: Update to version 2013-05-16.
20977 * scripts/config.sub: Update to version 2013-04-24.
20978 * scripts/install-sh: Update to version 2011-11-20.07.
20979 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20980 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20982 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20984 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20985 * elf/sln.c: Likewise.
20986 * hurd/hurd/ioctl.h: Likewise.
20987 * hurd/hurdmalloc.c: Likewise.
20988 * hurd/xattr.c: Likewise.
20989 * include/shlib-compat.h: Likewise.
20990 * inet/ruserpass.c: Likewise.
20991 * libio/iofgets_u.c: Likewise.
20992 * libio/iofgetws_u.c: Likewise.
20993 * locale/programs/ld-identification.c: Likewise.
20994 * locale/programs/ld-time.c: Likewise.
20995 * mach/msg-destroy.c: Likewise.
20996 * nss/nss_files/files-netgrp.c: Likewise.
20997 * resolv/res_data.c: Likewise.
20998 * soft-fp/op-1.h: Likewise.
20999 * soft-fp/op-2.h: Likewise.
21000 * soft-fp/op-4.h: Likewise.
21001 * soft-fp/op-common.h: Likewise.
21002 * stdio-common/printf_fphex.c: Likewise.
21003 * stdlib/strtod_l.c: Likewise.
21004 * sunrpc/rpc/clnt.h: Likewise.
21005 * sysdeps/generic/framestate.c: Likewise.
21006 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21007 * sysdeps/i386/bsd-setjmp.S: Likewise.
21008 * sysdeps/i386/__longjmp.S: Likewise.
21009 * sysdeps/i386/setjmp.S: Likewise.
21010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21011 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21012 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21028 * sysdeps/ieee754/support.c: Likewise.
21029 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21030 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21031 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21032 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21033 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21034 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21035 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21036 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21037 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21038 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21039 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21040 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21041 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21042 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21043 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21044 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21045 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21048 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21050 * posix/transbug.c: Remove executable mode.
21052 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21054 * crypt/speeds.c: Remove trailing whitespace.
21055 * dlfcn/default.c: Likewise.
21056 * elf/ifuncdep2.c: Likewise.
21057 * elf/ifuncmain1.c: Likewise.
21058 * elf/ifuncmain1vis.c: Likewise.
21059 * elf/testobj.h: Likewise.
21060 * elf/tst-stackguard1.c: Likewise.
21061 * gmon/sys/gmon.h: Likewise.
21062 * hurd/hurdmsg.c: Likewise.
21063 * hurd/new-fd.c: Likewise.
21064 * hurd/ports-get.c: Likewise.
21065 * iconvdata/ibm1008_420.c: Likewise.
21066 * inet/tst-getni1.c: Likewise.
21067 * inet/tst-getni2.c: Likewise.
21068 * libio/ioungetc.c: Likewise.
21069 * libio/wfiledoalloc.c: Likewise.
21070 * manual/libm-err-tab.pl: Likewise.
21071 * math/w_dremf.c: Likewise.
21072 * misc/ftruncate.c: Likewise.
21073 * posix/bug-glob2.c: Likewise.
21074 * posix/tst-pcre.c: Likewise.
21075 * posix/wait4.c: Likewise.
21076 * resolv/README: Likewise.
21077 * resolv/res_debug.h: Likewise.
21078 * resolv/tst-inet_ntop.c: Likewise.
21079 * setjmp/bug269-setjmp.c: Likewise.
21080 * soft-fp/extended.h: Likewise.
21081 * soft-fp/op-1.h: Likewise.
21082 * soft-fp/op-2.h: Likewise.
21083 * soft-fp/op-4.h: Likewise.
21084 * soft-fp/op-8.h: Likewise.
21085 * soft-fp/testit.c: Likewise.
21086 * stdio-common/bug16.c: Likewise.
21087 * stdlib/random.c: Likewise.
21088 * sunrpc/rpcsvc/rquota.x: Likewise.
21089 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21090 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21091 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21092 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21093 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21094 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21095 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21096 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21097 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21098 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21099 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21103 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21107 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21108 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21109 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21110 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21111 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21112 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21113 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21114 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21115 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21116 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21117 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21118 * sysdeps/ieee754/s_lib_version.c: Likewise.
21119 * sysdeps/mach/hurd/check_fds.c: Likewise.
21120 * sysdeps/mach/hurd/getsockname.c: Likewise.
21121 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21122 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21123 * sysdeps/powerpc/bits/link.h: Likewise.
21124 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21125 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21126 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21127 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21128 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21129 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21130 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21131 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21132 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21133 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21134 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21135 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21136 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21137 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21138 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21139 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21140 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21141 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21142 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21143 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21145 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21146 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21147 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21148 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21149 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21150 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21151 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21152 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21156 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21157 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21158 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21159 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21160 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21161 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21162 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21163 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21164 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21165 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21166 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21167 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21168 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21169 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21170 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21171 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21172 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21176 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21177 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21178 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21179 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21180 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21181 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21182 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21183 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21184 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21185 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21186 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21187 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21188 * sysdeps/powerpc/sysdep.h: Likewise.
21189 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21190 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21191 * sysdeps/sh/dl-trampoline.S: Likewise.
21192 * sysdeps/sh/memset.S: Likewise.
21193 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21194 * sysdeps/sh/strlen.S: Likewise.
21195 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21196 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21197 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21198 * sysdeps/sparc/sparc32/rem.S: Likewise.
21199 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21200 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21201 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21202 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21203 * sysdeps/sparc/sparc32/urem.S: Likewise.
21204 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21205 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21206 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21207 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21208 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21209 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21210 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21211 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21212 * sysdeps/unix/bsd/times.c: Likewise.
21213 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21214 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21218 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21219 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21220 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21221 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21222 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21223 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21224 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21225 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21226 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21227 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21228 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21229 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21230 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21231 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21232 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21233 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21234 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21235 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21236 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21237 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21238 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21239 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21240 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21241 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21242 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21243 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21244 * sysdeps/x86_64/strcspn.S: Likewise.
21246 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21248 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21249 generated file. Regenerate properly from gen-translit.pl.
21250 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21251 locale/C-translit.h.
21253 2013-06-05 Andreas Schwab <schwab@suse.de>
21256 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21257 week as 6 instead of -1.
21258 * time/tst-strptime.c (day_tests): Add test case.
21260 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21262 * sysdeps/generic/math_private.h
21263 (libc_feholdexcept_setround_53bit): Replace with
21264 libc_feholdsetround_53bit.
21265 (libc_feupdateenv_53bit): Replace with
21266 libc_feresetround_53bit.
21267 (SET_RESTORE_ROUND_53BIT): Adjust.
21269 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21271 * string/test-strchrnul.c: Add copyright header.
21273 * posix/tst-getaddrinfo4.c: Increase test timeout.
21275 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21278 * math/libm-test.inc (MAX_EXP): Remove
21280 (ulp): Use MIN_EXP - MANT_DIG.
21281 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21283 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21285 * po/be.po: Revert last change.
21286 * po/zh_CN.po: Likewise.
21287 * po/header.pot: Likewise.
21289 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21291 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21292 link-libc-deps to empty as target-specific variable.
21293 * Makerules (link-libc-args): New variable.
21294 (libc-for-link): Likewise.
21295 (link-libc-deps): Likewise.
21296 (lib%.so): Depend on $(link-libc-deps). Link with
21298 (build-module): Link with $(link-libc-args).
21299 (build-module-asneeded): Likewise.
21300 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21302 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21303 target-specific variable.
21304 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21305 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21306 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21308 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21310 ($(objpfx)libpcprofile.so): Likewise.
21311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21313 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21314 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21315 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21317 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21318 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21319 * login/Makefile ($(objpfx)libutil.so): Likewise.
21320 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21321 * math/Makefile ($(objpfx)libm.so): Likewise.
21322 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21323 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21324 variable instead of depending directly on libc.
21325 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21326 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21328 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21330 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21331 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21332 ($(objpfx)libanl.so): Likewise.
21333 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21335 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21337 * sysdeps/i386/fpu/Makefile: Remove file.
21338 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21339 ($(objpfx)libm.so): Remove dependency on ld.so.
21341 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21344 * nis/yp_xdr.c (XDRMAXNAME): Define.
21345 (XDRMAXRECORD): Define.
21346 (xdr_domainname): Use XDRMAXNAME.
21347 (xdr_mapname): Likewise.
21348 (xdr_peername): Likewise.
21349 (xdr_keydat): Use XDRMAXRECORD.
21350 (xdr_valdat): Likewise.
21352 2013-05-30 Jeff Law <law@redhat.com>
21355 * manual/errno.texi (ESTALE): Update to account for more than
21356 just NFS file systems.
21357 * sysdeps/gnu/errlist.c: Regenerated.
21359 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21362 * elf/Makefile (tests): Add tst-null-argv.
21363 (modules-names): Add tst-null-argv-lib.
21364 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21365 (tst-null-argv-ENV): Set environment for tst-null-argv.
21366 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21367 (RTLD_PROGNAME): New macro.
21368 * elf/tst-null-argv.c: New test case.
21369 * elf/tst-null-argv-lib.c: Library for test case.
21370 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21371 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21372 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21373 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21374 * elf/dl-init.c (call_init): Likewise.
21375 (_dl_init): Likewise.
21376 * elf/dl-load.c (print_search_path): Likewise.
21377 (_dl_map_object): Likewise.
21378 * elf/dl-lookup.c (do_lookup_x): Likewise.
21379 (add_dependency): Likewise.
21380 (_dl_lookup_symbol_x): Likewise.
21381 (_dl_debug_bindings): Likewise.
21382 * elf/dl-open.c (_dl_show_scope): Likewise.
21383 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21384 * elf/dl-version.c (match_symbol): Likewise.
21385 (_dl_check_map_versions): Likewise.
21386 * elf/rtld.c (dl_main): Likewise.
21387 (print_unresolved): Use RTLD_PROGNAME.
21388 (print_missing_version): Likewise.
21389 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21390 (elf_machine_rela): Likewise.
21391 * sysdeps/powerpc/powerpc32/dl-machine.c
21392 (__process_machine_rela): Likewise.
21393 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21395 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21397 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21399 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21400 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21402 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21404 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21406 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21408 * po/be.po: Add descriptive title.
21409 * po/zh_CN.po: Likewise.
21410 * po/header.pot: Likewise.
21412 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21414 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21416 (enlarge_archive): Likewise.
21418 2013-05-28 Ben North <ben@redfrontdoor.org>
21420 * manual/arith.texi (frexp): It is the magnitude of the return
21421 value which lies in [0.5, 1), not the return value itself.
21423 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21427 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21429 * stdio-common/bug26.c (main): Correct fscanf template.
21431 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21432 declare _dl_skip_args.
21434 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21437 * manual/platform.texi: Add missing @end deftypefun.
21439 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21442 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21443 bit of mantissa of 2^16382.
21444 * math/libm-test.inc (hypot_test_data): Add more tests.
21446 * math/libm-test.inc: Add drem and pow10 to list of tested
21448 (pow10_test): New function.
21449 (drem_test): Likewise.
21450 (drem_test_tonearest): Likewise.
21451 (drem_test_towardzero): Likewise.
21452 (drem_test_downward): Likewise.
21453 (drem_test_upward): Likewise.
21454 (main): Call the new functions.
21456 * math/libm-test.inc (finite_test_data): Remove.
21457 (finite_test): Run tests from isfinite_test_data.
21458 (gamma_test_data): Remove.
21459 (gamma_test): Run tests from lgamma_test_data.
21460 * sysdeps/i386/fpu/libm-test-ulps: Update.
21461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21463 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21465 * manual/platform.texi: Add PowerPC PPR function set documentation.
21466 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21469 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21471 * math/libm-test.inc (MAX_EXP): Define.
21473 (ulp): New function.
21474 (check_float_internal): Use ULPDIFF.
21475 (cpow_test): Disable failing test.
21476 (check_ulp): Test ulp() implemetnation.
21477 (main): Call check_ulp before starting tests.
21479 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21481 * math/gen-libm-test.pl (generate_testfile): Do not handle
21482 START_DATA and END_DATA.
21483 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21485 (acos_tonearest_test_data): Likewise.
21486 (acos_towardzero_test_data): Likewise.
21487 (acos_downward_test_data): Likewise.
21488 (acos_upward_test_data): Likewise.
21489 (acosh_test_data): Likewise.
21490 (asin_test_data): Likewise.
21491 (asin_tonearest_test_data): Likewise.
21492 (asin_towardzero_test_data): Likewise.
21493 (asin_downward_test_data): Likewise.
21494 (asin_upward_test_data): Likewise.
21495 (asinh_test_data): Likewise.
21496 (atan_test_data): Likewise.
21497 (atanh_test_data): Likewise.
21498 (atan2_test_data): Likewise.
21499 (cabs_test_data): Likewise.
21500 (cacos_test_data): Likewise.
21501 (cacosh_test_data): Likewise.
21502 (carg_test_data): Likewise.
21503 (casin_test_data): Likewise.
21504 (casinh_test_data): Likewise.
21505 (catan_test_data): Likewise.
21506 (catanh_test_data): Likewise.
21507 (cbrt_test_data): Likewise.
21508 (ccos_test_data): Likewise.
21509 (ccosh_test_data): Likewise.
21510 (ceil_test_data): Likewise.
21511 (cexp_test_data): Likewise.
21512 (cimag_test_data): Likewise.
21513 (clog_test_data): Likewise.
21514 (clog10_test_data): Likewise.
21515 (conj_test_data): Likewise.
21516 (copysign_test_data): Likewise.
21517 (cos_test_data): Likewise.
21518 (cos_tonearest_test_data): Likewise.
21519 (cos_towardzero_test_data): Likewise.
21520 (cos_downward_test_data): Likewise.
21521 (cos_upward_test_data): Likewise.
21522 (cosh_test_data): Likewise.
21523 (cosh_tonearest_test_data): Likewise.
21524 (cosh_towardzero_test_data): Likewise.
21525 (cosh_downward_test_data): Likewise.
21526 (cosh_upward_test_data): Likewise.
21527 (cpow_test_data): Likewise.
21528 (cproj_test_data): Likewise.
21529 (creal_test_data): Likewise.
21530 (csin_test_data): Likewise.
21531 (csinh_test_data): Likewise.
21532 (csqrt_test_data): Likewise.
21533 (ctan_test_data): Likewise.
21534 (ctan_tonearest_test_data): Likewise.
21535 (ctan_towardzero_test_data): Likewise.
21536 (ctan_downward_test_data): Likewise.
21537 (ctan_upward_test_data): Likewise.
21538 (ctanh_test_data): Likewise.
21539 (ctanh_tonearest_test_data): Likewise.
21540 (ctanh_towardzero_test_data): Likewise.
21541 (ctanh_downward_test_data): Likewise.
21542 (ctanh_upward_test_data): Likewise.
21543 (erf_test_data): Likewise.
21544 (erfc_test_data): Likewise.
21545 (exp_test_data): Likewise.
21546 (exp_tonearest_test_data): Likewise.
21547 (exp_towardzero_test_data): Likewise.
21548 (exp_downward_test_data): Likewise.
21549 (exp_upward_test_data): Likewise.
21550 (exp10_test_data): Likewise.
21551 (exp2_test_data): Likewise.
21552 (expm1_test_data): Likewise.
21553 (fabs_test_data): Likewise.
21554 (fdim_test_data): Likewise.
21555 (finite_test_data): Likewise.
21556 (floor_test_data): Likewise.
21557 (fma_test_data): Likewise.
21558 (fma_towardzero_test_data): Likewise.
21559 (fma_downward_test_data): Likewise.
21560 (fma_upward_test_data): Likewise.
21561 (fmax_test_data): Likewise.
21562 (fmin_test_data): Likewise.
21563 (fmod_test_data): Likewise.
21564 (fpclassify_test_data): Likewise.
21565 (frexp_test_data): Likewise.
21566 (gamma_test_data): Likewise.
21567 (hypot_test_data): Likewise.
21568 (ilogb_test_data): Likewise.
21569 (isfinite_test_data): Likewise.
21570 (isgreater_test_data): Likewise.
21571 (isgreaterequal_test_data): Likewise.
21572 (isinf_test_data): Likewise.
21573 (isless_test_data): Likewise.
21574 (islessequal_test_data): Likewise.
21575 (islessgreater_test_data): Likewise.
21576 (isnan_test_data): Likewise.
21577 (isnormal_test_data): Likewise.
21578 (issignaling_test_data): Likewise.
21579 (isunordered_test_data): Likewise.
21580 (j0_test_data): Likewise.
21581 (j1_test_data): Likewise.
21582 (jn_test_data): Likewise.
21583 (ldexp_test_data): Likewise.
21584 (lgamma_test_data): Likewise.
21585 (lrint_test_data): Likewise.
21586 (lrint_tonearest_test_data): Likewise.
21587 (lrint_towardzero_test_data): Likewise.
21588 (lrint_downward_test_data): Likewise.
21589 (lrint_upward_test_data): Likewise.
21590 (llrint_test_data): Likewise.
21591 (llrint_tonearest_test_data): Likewise.
21592 (llrint_towardzero_test_data): Likewise.
21593 (llrint_downward_test_data): Likewise.
21594 (llrint_upward_test_data): Likewise.
21595 (log_test_data): Likewise.
21596 (log10_test_data): Likewise.
21597 (log1p_test_data): Likewise.
21598 (log2_test_data): Likewise.
21599 (logb_test_data): Likewise.
21600 (logb_downward_test_data): Likewise.
21601 (lround_test_data): Likewise.
21602 (llround_test_data): Likewise.
21603 (modf_test_data): Likewise.
21604 (nearbyint_test_data): Likewise.
21605 (nextafter_test_data): Likewise.
21606 (nexttoward_test_data): Likewise.
21607 (pow_test_data): Likewise.
21608 (pow_tonearest_test_data): Likewise.
21609 (pow_towardzero_test_data): Likewise.
21610 (pow_downward_test_data): Likewise.
21611 (pow_upward_test_data): Likewise.
21612 (remainder_test_data): Likewise.
21613 (remainder_tonearest_test_data): Likewise.
21614 (remainder_towardzero_test_data): Likewise.
21615 (remainder_downward_test_data): Likewise.
21616 (remainder_upward_test_data): Likewise.
21617 (remquo_test_data): Likewise.
21618 (rint_test_data): Likewise.
21619 (rint_tonearest_test_data): Likewise.
21620 (rint_towardzero_test_data): Likewise.
21621 (rint_downward_test_data): Likewise.
21622 (rint_upward_test_data): Likewise.
21623 (round_test_data): Likewise.
21624 (scalb_test_data): Likewise.
21625 (scalbn_test_data): Likewise.
21626 (scalbln_test_data): Likewise.
21627 (signbit_test_data): Likewise.
21628 (sin_test_data): Likewise.
21629 (sin_tonearest_test_data): Likewise.
21630 (sin_towardzero_test_data): Likewise.
21631 (sin_downward_test_data): Likewise.
21632 (sin_upward_test_data): Likewise.
21633 (sincos_test_data): Likewise.
21634 (sinh_test_data): Likewise.
21635 (sinh_tonearest_test_data): Likewise.
21636 (sinh_towardzero_test_data): Likewise.
21637 (sinh_downward_test_data): Likewise.
21638 (sinh_upward_test_data): Likewise.
21639 (sqrt_test_data): Likewise.
21640 (tan_test_data): Likewise.
21641 (tan_tonearest_test_data): Likewise.
21642 (tan_towardzero_test_data): Likewise.
21643 (tan_downward_test_data): Likewise.
21644 (tan_upward_test_data): Likewise.
21645 (tanh_test_data): Likewise.
21646 (tgamma_test_data): Likewise.
21647 (trunc_test_data): Likewise.
21648 (y0_test_data): Likewise.
21649 (y1_test_data): Likewise.
21650 (yn_test_data): Likewise.
21651 (significand_test_data): Likewise.
21653 * math/gen-libm-test.pl (@functions): Remove variable.
21654 (generate_testfile): Don't handle START and END lines.
21655 * math/libm-test.inc (START): New macro.
21657 (END_COMPLEX): Likewise.
21658 (acos_test): Use END macro without arguments.
21659 (acos_test_tonearest): Likewise.
21660 (acos_test_towardzero): Likewise.
21661 (acos_test_downward): Likewise.
21662 (acos_test_upward): Likewise.
21663 (acosh_test): Likewise.
21664 (asin_test): Likewise.
21665 (asin_test_tonearest): Likewise.
21666 (asin_test_towardzero): Likewise.
21667 (asin_test_downward): Likewise.
21668 (asin_test_upward): Likewise.
21669 (asinh_test): Likewise.
21670 (atan_test): Likewise.
21671 (atanh_test): Likewise.
21672 (atan2_test): Likewise.
21673 (cabs_test): Likewise.
21674 (cacos_test): Use END_COMPLEX macro without arguments.
21675 (cacosh_test): Likewise.
21676 (carg_test): Use END macro without arguments.
21677 (casin_test): Use END_COMPLEX macro without arguments.
21678 (casinh_test): Likewise.
21679 (catan_test): Likewise.
21680 (catanh_test): Likewise.
21681 (cbrt_test): Use END macro without arguments.
21682 (ccos_test): Use END_COMPLEX macro without arguments.
21683 (ccosh_test): Likewise.
21684 (ceil_test): Use END macro without arguments.
21685 (cexp_test): Use END_COMPLEX macro without arguments.
21686 (cimag_test): Use END macro without arguments.
21687 (clog_test): Use END_COMPLEX macro without arguments.
21688 (clog10_test): Likewise.
21689 (conj_test): Likewise.
21690 (copysign_test): Use END macro without arguments.
21691 (cos_test): Likewise.
21692 (cos_test_tonearest): Likewise.
21693 (cos_test_towardzero): Likewise.
21694 (cos_test_downward): Likewise.
21695 (cos_test_upward): Likewise.
21696 (cosh_test): Likewise.
21697 (cosh_test_tonearest): Likewise.
21698 (cosh_test_towardzero): Likewise.
21699 (cosh_test_downward): Likewise.
21700 (cosh_test_upward): Likewise.
21701 (cpow_test): Use END_COMPLEX macro without arguments.
21702 (cproj_test): Likewise.
21703 (creal_test): Use END macro without arguments.
21704 (csin_test): Use END_COMPLEX macro without arguments.
21705 (csinh_test): Likewise.
21706 (csqrt_test): Likewise.
21707 (ctan_test): Likewise.
21708 (ctan_test_tonearest): Likewise.
21709 (ctan_test_towardzero): Likewise.
21710 (ctan_test_downward): Likewise.
21711 (ctan_test_upward): Likewise.
21712 (ctanh_test): Likewise.
21713 (ctanh_test_tonearest): Likewise.
21714 (ctanh_test_towardzero): Likewise.
21715 (ctanh_test_downward): Likewise.
21716 (ctanh_test_upward): Likewise.
21717 (erf_test): Use END macro without arguments.
21718 (erfc_test): Likewise.
21719 (exp_test): Likewise.
21720 (exp_test_tonearest): Likewise.
21721 (exp_test_towardzero): Likewise.
21722 (exp_test_downward): Likewise.
21723 (exp_test_upward): Likewise.
21724 (exp10_test): Likewise.
21725 (exp2_test): Likewise.
21726 (expm1_test): Likewise.
21727 (fabs_test): Likewise.
21728 (fdim_test): Likewise.
21729 (finite_test): Likewise.
21730 (floor_test): Likewise.
21731 (fma_test): Likewise.
21732 (fma_test_towardzero): Likewise.
21733 (fma_test_downward): Likewise.
21734 (fma_test_upward): Likewise.
21735 (fmax_test): Likewise.
21736 (fmin_test): Likewise.
21737 (fmod_test): Likewise.
21738 (fpclassify_test): Likewise.
21739 (frexp_test): Likewise.
21740 (gamma_test): Likewise.
21741 (hypot_test): Likewise.
21742 (ilogb_test): Likewise.
21743 (isfinite_test): Likewise.
21744 (isgreater_test): Likewise.
21745 (isgreaterequal_test): Likewise.
21746 (isinf_test): Likewise.
21747 (isless_test): Likewise.
21748 (islessequal_test): Likewise.
21749 (islessgreater_test): Likewise.
21750 (isnan_test): Likewise.
21751 (isnormal_test): Likewise.
21752 (issignaling_test): Likewise.
21753 (isunordered_test): Likewise.
21754 (j0_test): Likewise.
21755 (j1_test): Likewise.
21756 (jn_test): Likewise.
21757 (ldexp_test): Likewise.
21758 (lgamma_test): Likewise.
21759 (lrint_test): Likewise.
21760 (lrint_test_tonearest): Likewise.
21761 (lrint_test_towardzero): Likewise.
21762 (lrint_test_downward): Likewise.
21763 (lrint_test_upward): Likewise.
21764 (llrint_test): Likewise.
21765 (llrint_test_tonearest): Likewise.
21766 (llrint_test_towardzero): Likewise.
21767 (llrint_test_downward): Likewise.
21768 (llrint_test_upward): Likewise.
21769 (log_test): Likewise.
21770 (log10_test): Likewise.
21771 (log1p_test): Likewise.
21772 (log2_test): Likewise.
21773 (logb_test): Likewise.
21774 (logb_test_downward): Likewise.
21775 (lround_test): Likewise.
21776 (llround_test): Likewise.
21777 (modf_test): Likewise.
21778 (nearbyint_test): Likewise.
21779 (nextafter_test): Likewise.
21780 (nexttoward_test): Likewise.
21781 (pow_test): Likewise.
21782 (pow_test_tonearest): Likewise.
21783 (pow_test_towardzero): Likewise.
21784 (pow_test_downward): Likewise.
21785 (pow_test_upward): Likewise.
21786 (remainder_test): Likewise.
21787 (remainder_test_tonearest): Likewise.
21788 (remainder_test_towardzero): Likewise.
21789 (remainder_test_downward): Likewise.
21790 (remainder_test_upward): Likewise.
21791 (remquo_test): Likewise.
21792 (rint_test): Likewise.
21793 (rint_test_tonearest): Likewise.
21794 (rint_test_towardzero): Likewise.
21795 (rint_test_downward): Likewise.
21796 (rint_test_upward): Likewise.
21797 (round_test): Likewise.
21798 (scalb_test): Likewise.
21799 (scalbn_test): Likewise.
21800 (scalbln_test): Likewise.
21801 (signbit_test): Likewise.
21802 (sin_test): Likewise.
21803 (sin_test_tonearest): Likewise.
21804 (sin_test_towardzero): Likewise.
21805 (sin_test_downward): Likewise.
21806 (sin_test_upward): Likewise.
21807 (sincos_test): Likewise.
21808 (sinh_test): Likewise.
21809 (sinh_test_tonearest): Likewise.
21810 (sinh_test_towardzero): Likewise.
21811 (sinh_test_downward): Likewise.
21812 (sinh_test_upward): Likewise.
21813 (sqrt_test): Likewise.
21814 (tan_test): Likewise.
21815 (tan_test_tonearest): Likewise.
21816 (tan_test_towardzero): Likewise.
21817 (tan_test_downward): Likewise.
21818 (tan_test_upward): Likewise.
21819 (tanh_test): Likewise.
21820 (tgamma_test): Likewise.
21821 (trunc_test): Likewise.
21822 (y0_test): Likewise.
21823 (y1_test): Likewise.
21824 (yn_test): Likewise.
21825 (significand_test): Likewise.
21827 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21830 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21832 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21835 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21836 __ppc_mdoio and __ppc_mdoom.
21837 * manual/platform.texi: Document new functions __ppc_yield,
21838 __ppc_mdoio and __ppc_mdoom.
21840 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21842 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21843 (main): Mention "tls" pseudo-hwcap is legacy.
21844 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21846 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21848 * math/gen-libm-test.pl (parse_args): Output only string of
21849 arguments as text for test name, not full call or descriptions of
21850 tests for extra outputs.
21851 (generate_testfile): Do not pass function name to parse_args.
21852 Generate this_func variable from START.
21853 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21855 (struct test_ff_f_data): Likewise.
21856 (test_ff_f_data_nexttoward): Likewise.
21857 (struct test_fi_f_data): Likewise.
21858 (struct test_fl_f_data): Likewise.
21859 (struct test_if_f_data): Likewise.
21860 (struct test_fff_f_data): Likewise.
21861 (struct test_c_f_data): Likewise.
21862 (struct test_f_f1_data): Likewise. Remove field extra_name.
21863 (struct test_fF_f1_data): Likewise.
21864 (struct test_ffI_f1_data): Likewise.
21865 (struct test_c_c_data): Rename test_name field to arg_str.
21866 (struct test_cc_c_data): Likewise.
21867 (struct test_f_i_data): Likewise.
21868 (struct test_ff_i_data): Likewise.
21869 (struct test_f_l_data): Likewise.
21870 (struct test_f_L_data): Likewise.
21871 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21873 (COMMON_TEST_SETUP): New macro.
21874 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21875 (COMMON_TEST_CLEANUP): Likewise.
21876 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21877 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21879 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21880 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21882 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21883 (RUN_TEST_fff_f): Take argument string. Call new setup and
21885 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21886 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21888 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21889 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21891 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21892 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21894 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21895 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21897 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21898 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21900 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21901 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21903 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21904 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21906 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21907 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21909 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21910 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21912 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21913 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21915 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21916 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21918 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21919 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21921 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21922 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21924 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21925 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21927 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21928 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21930 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21932 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21934 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21935 to _sifields.sigfault.
21936 (si_addr_lsb): Define new macro.
21937 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21938 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21939 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21941 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21944 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21946 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21948 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21949 loading the domain.
21951 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21953 * math/gen-libm-test.pl (parse_args): Do not include expected
21954 result in test name.
21955 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21957 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21959 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21962 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21964 * benchtests/Makefile: Sort function entries.
21966 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21967 tanh, asinh, acosh, atanh.
21968 * benchtests/acos-inputs: New file.
21969 * benchtests/acosh-inputs: New file.
21970 * benchtests/asin-inputs: New file.
21971 * benchtests/asinh-inputs: New file.
21972 * benchtests/atanh-inputs: New file.
21973 * benchtests/cosh-inputs: New file.
21974 * benchtests/log-inputs: New file.
21975 * benchtests/sinh-inputs: New file.
21976 * benchtests/tanh-inputs: New file.
21978 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21981 * posix/tst-getaddrinfo4.c: New test.
21982 * posix/Makefile (tests): Add it.
21984 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21987 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21988 when no services were used.
21989 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21990 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21992 2013-05-21 Andreas Schwab <schwab@suse.de>
21995 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21996 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21998 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21999 redundant variable declarations and reallocation of buffer when
22000 parsing as IPv6 address. Always set NSS status when called from
22001 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22002 buffer too small. Correct computation of needed size.
22003 * nss/Makefile (tests): Add test-digits-dots.
22004 * nss/test-digits-dots.c: New test.
22006 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22008 * benchtests/Makefile: Remove instructions for adding
22010 * benchtests/README: New file to explain how to execute and
22011 enhance the benchmark tests.
22013 2013-05-21 Andreas Schwab <schwab@suse.de>
22016 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22017 * setjmp/tst-sigsetjmp.c: New test.
22019 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22021 * sysdeps/x86_64/memset.S (memset): New implementation.
22022 (__bzero): Likewise.
22023 (__memset_tail): New function.
22025 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22027 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22028 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22029 __memcpy_sse2_unaligned ifunc selection.
22030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22031 Add memcpy-sse2-unaligned.S.
22032 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22033 Add: __memcpy_sse2_unaligned.
22035 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22038 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22039 math_force_eval before restoring floating-point envrionment.
22040 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22041 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22043 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22045 (__nearbyintl): Use math_force_eval before restoring
22046 floating-point environment.
22047 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22049 * math/gen-libm-test.pl (special_functions): Remove.
22050 (parse_args): Don't handle TEST_extra. Handle functions with no
22052 * math/libm-test.inc (struct test_sincos_data): Replace with
22053 struct test_fFF_11_data.
22054 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22055 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22056 (sincos_test_data): Change element type to struct
22057 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22058 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22059 RUN_TEST_LOOP_sincos.
22060 * math/README.libm-test: Don't mention special handling of
22061 individual functions.
22062 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22063 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22064 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22065 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22066 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22069 * math/gen-libm-test.pl (get_variable): Remove function.
22070 (parse_args): Don't show pointer parameters to call in test
22071 names. Use "extra output N" in test names for extra outputs
22072 rather than naming variables.
22074 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22077 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22078 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22079 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22081 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22083 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22086 * math/gen-libm-test.pl (@tests): Remove variable.
22087 ($count): Likewise.
22088 (new_test): Remove function.
22089 (show_exceptions): New function.
22090 (special_functions): Use show_exceptions instead of new_test.
22091 (parse_args): Likewise.
22092 (generate_testfile): Pass only function name in generated call to
22093 print_max_error or print_complex_max_error.
22094 (get_ulps): Do not handle complex tests specially.
22095 (output_test): Rename to ...
22096 (get_all_ulps_for_test): ... this. Return a string rather than
22097 printing to a file. Require ulps to be present.
22098 (output_ulps): Generate arrays rather than #defines.
22099 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22100 (struct ulp_data): New type.
22101 (BUILD_COMPLEX_ULP): Remove macro.
22102 (compare_ulp_data): New function.
22103 (find_ulps): Likewise.
22104 (find_test_ulps): Likewise.
22105 (find_function_ulps): Likewise.
22106 (find_complex_function_ulps): Likewise.
22107 (print_max_error): Determine allowed ulps using
22108 find_function_ulps.
22109 (print_complex_max_error): Determine allowed ulps using
22110 find_complex_function_ulps.
22111 (check_float_internal): Determine max ulps using find_test_ulps.
22112 (check_float): Do not take max_ulp parameter. Update call to
22113 check_float_internal.
22114 (check_complex): Likewise.
22115 (check_int): Do not take max_ulp parameter.
22116 (check_long): Likewise.
22117 (check_bool): Likewise.
22118 (check_longlong): Likewise.
22119 (struct test_f_f_data): Remove max_ulp field.
22120 (struct test_ff_f_data): Likewise.
22121 (struct test_ff_f_data_nexttoward): Likewise.
22122 (struct test_fi_f_data): Likewise.
22123 (struct test_fl_f_data): Likewise.
22124 (struct test_if_f_data): Likewise.
22125 (struct test_fff_f_data): Likewise.
22126 (struct test_c_f_data): Likewise.
22127 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22128 (struct test_fF_f1_data): Likewise.
22129 (struct test_ffI_f1_data): Likewise.
22130 (struct test_c_c_data): Remove max_ulp field.
22131 (struct test_cc_c_data): Likewise.
22132 (struct test_f_i_data): Likewise.
22133 (struct test_ff_i_data): Likewise.
22134 (struct test_f_l_data): Likewise.
22135 (struct test_f_L_data): Likewise.
22136 (struct test_sincos_data): Likewise.
22137 (RUN_TEST_f_f): Do not handle ulps.
22138 (RUN_TEST_LOOP_f_f): Likewise.
22139 (RUN_TEST_2_f): Likewise.
22140 (RUN_TEST_LOOP_2_f): Likewise.
22141 (RUN_TEST_fff_f): Likewise.
22142 (RUN_TEST_LOOP_fff_f): Likewise.
22143 (RUN_TEST_c_f): Likewise.
22144 (RUN_TEST_LOOP_c_f): Likewise.
22145 (RUN_TEST_f_f1): Likewise.
22146 (RUN_TEST_LOOP_f_f1): Likewise.
22147 (RUN_TEST_fF_f1): Likewise.
22148 (RUN_TEST_LOOP_fF_f1): Likewise.
22149 (RUN_TEST_fI_f1): Likewise.
22150 (RUN_TEST_LOOP_fI_f1): Likewise.
22151 (RUN_TEST_ffI_f1): Likewise.
22152 (RUN_TEST_LOOP_ffI_f1): Likewise.
22153 (RUN_TEST_c_c): Likewise.
22154 (RUN_TEST_LOOP_c_c): Likewise.
22155 (RUN_TEST_cc_c): Likewise.
22156 (RUN_TEST_LOOP_cc_c): Likewise.
22157 (RUN_TEST_f_i): Likewise.
22158 (RUN_TEST_LOOP_f_i): Likewise.
22159 (RUN_TEST_f_i_tg): Likewise.
22160 (RUN_TEST_LOOP_f_i_tg): Likewise.
22161 (RUN_TEST_ff_i_tg): Likewise.
22162 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22163 (RUN_TEST_f_b): Likewise.
22164 (RUN_TEST_LOOP_f_b): Likewise.
22165 (RUN_TEST_f_b_tg): Likewise.
22166 (RUN_TEST_LOOP_f_b_tg): Likewise.
22167 (RUN_TEST_f_l): Likewise.
22168 (RUN_TEST_LOOP_f_l): Likewise.
22169 (RUN_TEST_f_L): Likewise.
22170 (RUN_TEST_LOOP_f_L): Likewise.
22171 (RUN_TEST_sincos): Likewise.
22172 (RUN_TEST_LOOP_sincos): Likewise.
22174 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22178 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22179 main case of finite arguments, set rounding mode to FE_TONEAREST
22180 and discard exceptions.
22181 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22183 (remainder_tonearest_test_data): New variable.
22184 (remainder_test_tonearest): New function.
22185 (remainder_towardzero_test_data): New variable.
22186 (remainder_test_towardzero): New function.
22187 (remainder_downward_test_data): New variable.
22188 (remainder_test_downward): New function.
22189 (remainder_upward_test_data): New variable.
22190 (remainder_test_upward): New function.
22191 (main): Call the new test functions.
22193 * math/libm-test.inc (struct test_f_f1_data): Remove field
22195 (struct test_fF_f1_data): Likewise.
22196 (struct test_ffI_f1_data): Likewise.
22197 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22198 based on value of EXTRA_EXPECTED.
22199 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22200 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22201 EXTRA_VAR based on value of EXTRA_EXPECTED.
22202 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22203 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22204 EXTRA_VAR based on value of EXTRA_EXPECTED.
22205 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22206 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22207 EXTRA_VAR based on value of EXTRA_EXPECTED.
22208 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22209 * math/gen-libm-test.pl (parse_args): Don't output initializers
22210 for extra output values.
22212 * math/libm-test.inc (check_int): Expect result to be exactly
22213 equal to expected value and do not handle ulps.
22214 (check_long): Likewise.
22215 (check_longlong): Likewise.
22217 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22219 (cimag_test_data): Likewise.
22220 (conj_test_data): Likewise.
22221 (copysign_test_data): Likewise.
22222 (cproj_test_data): Likewise.
22223 (creal_test_data): Likewise.
22224 (fabs_test_data): Likewise.
22225 (fdim_test_data): Likewise.
22226 (finite_test_data): Likewise.
22227 (floor_test_data): Likewise.
22228 (fmax_test_data): Likewise.
22229 (fmin_test_data): Likewise.
22230 (fmod_test_data): Likewise.
22231 (fpclassify_test_data): Likewise.
22232 (frexp_test_data): Likewise.
22233 (ilogb_test_data): Likewise.
22234 (isfinite_test_data): Likewise.
22235 (isgreater_test_data): Likewise.
22236 (isgreaterequal_test_data): Likewise.
22237 (isinf_test_data): Likewise.
22238 (isless_test_data): Likewise.
22239 (islessequal_test_data): Likewise.
22240 (islessgreater_test_data): Likewise.
22241 (isnan_test_data): Likewise.
22242 (isnormal_test_data): Likewise.
22243 (issignaling_test_data): Likewise.
22244 (isunordered_test_data): Likewise.
22245 (ldexp_test_data): Likewise.
22246 (lrint_test_data): Likewise.
22247 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22248 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22249 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22250 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22251 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22252 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22254 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22255 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22256 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22257 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22259 (lrint_downward_test_data): Test for "inexact" exceptions.
22260 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22261 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22262 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22264 (lrint_upward_test_data): Test for "inexact" exceptions.
22265 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22267 (llrint_test_data): Test for "inexact" exceptions.
22268 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22269 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22270 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22271 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22272 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22273 (llrint_downward_test_data): Test for "inexact" exceptions.
22274 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22275 (llrint_upward_test_data): Test for "inexact" exceptions.
22276 (logb_test_data): Likewise.
22277 (logb_downward_test_data): Likewise.
22278 (nextafter_test_data): Likewise.
22279 (nexttoward_test_data): Likewise.
22280 (remainder_test_data): Likewise.
22281 (remquo_test_data): Likewise.
22282 (scalbn_test_data): Likewise.
22283 (scalbln_test_data): Likewise.
22284 (signbit_test_data): Likewise.
22285 (sqrt_test_data): Likewise.
22286 (significand_test_data): Likewise.
22288 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22291 * benchtests/bench-modf.c (struct args): Mark arg0 as
22293 * scripts/bench.pl: Mark members of struct args as volatile.
22295 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22298 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22299 negative infinity on POWER6 or lower.
22300 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22302 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22305 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22306 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22307 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22308 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22309 (_FP_SETQNAN): New macro.
22310 (_FP_SETQNAN_SEMIRAW): Likewise.
22311 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22312 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22313 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22314 (FP_EXTEND): Use _FP_FRAC_SNANP.
22315 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22316 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22318 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22320 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22323 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22325 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22326 with DIVIDE_BY_ZERO_EXCEPTION.
22327 (gamma_test_data): Likewise.
22328 (lgamma_test_data): Likewise.
22329 (log_test_data): Likewise.
22330 (log10_test_data): Likewise.
22331 (log2_test_data): Likewise.
22332 (tgamma_test_data): Likewise.
22334 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22335 (acos_test_tonearest): Likewise.
22336 (acos_test_towardzero): Likewise.
22337 (acos_test_downward): Likewise.
22338 (acos_test_upward): Likewise.
22339 (acosh_test): Likewise.
22340 (asin_test): Likewise.
22341 (asin_test_tonearest): Likewise.
22342 (asin_test_towardzero): Likewise.
22343 (asin_test_downward): Likewise.
22344 (asin_test_upward): Likewise.
22345 (asinh_test): Likewise.
22346 (atan_test): Likewise.
22347 (atanh_test): Likewise.
22348 (atan2_test): Likewise.
22349 (cabs_test): Likewise.
22350 (cacos_test): Likewise.
22351 (cacosh_test): Likewise.
22352 (casin_test): Likewise.
22353 (casinh_test): Likewise.
22354 (catan_test): Likewise.
22355 (catanh_test): Likewise.
22356 (cbrt_test): Likewise.
22357 (ccos_test): Likewise.
22358 (ccosh_test): Likewise.
22359 (cexp_test): Likewise.
22360 (clog_test): Likewise.
22361 (clog10_test): Likewise.
22362 (cos_test): Likewise.
22363 (cos_test_tonearest): Likewise.
22364 (cos_test_towardzero): Likewise.
22365 (cos_test_downward): Likewise.
22366 (cos_test_upward): Likewise.
22367 (cosh_test): Likewise.
22368 (cosh_test_tonearest): Likewise.
22369 (cosh_test_towardzero): Likewise.
22370 (cosh_test_downward): Likewise.
22371 (cosh_test_upward): Likewise.
22372 (cpow_test): Likewise.
22373 (csin_test): Likewise.
22374 (csinh_test): Likewise.
22375 (csqrt_test): Likewise.
22376 (ctan_test): Likewise.
22377 (ctan_test_tonearest): Likewise.
22378 (ctan_test_towardzero): Likewise.
22379 (ctan_test_downward): Likewise.
22380 (ctan_test_upward): Likewise.
22381 (ctanh_test): Likewise.
22382 (ctanh_test_tonearest): Likewise.
22383 (ctanh_test_towardzero): Likewise.
22384 (ctanh_test_downward): Likewise.
22385 (ctanh_test_upward): Likewise.
22386 (erf_test): Likewise.
22387 (erfc_test): Likewise.
22388 (exp_test): Likewise.
22389 (exp_test_tonearest): Likewise.
22390 (exp_test_towardzero): Likewise.
22391 (exp_test_downward): Likewise.
22392 (exp_test_upward): Likewise.
22393 (exp10_test): Likewise.
22394 (exp2_test): Likewise.
22395 (expm1_test): Likewise.
22396 (fmod_test): Likewise.
22397 (gamma_test): Likewise.
22398 (hypot_test): Likewise.
22399 (j0_test): Likewise.
22400 (j1_test): Likewise.
22401 (jn_test): Likewise.
22402 (lgamma_test): Likewise.
22403 (log_test): Likewise.
22404 (log10_test): Likewise.
22405 (log1p_test): Likewise.
22406 (log2_test): Likewise.
22407 (logb_test_downward): Likewise.
22408 (pow_test): Likewise.
22409 (pow_test_tonearest): Likewise.
22410 (pow_test_towardzero): Likewise.
22411 (pow_test_downward): Likewise.
22412 (pow_test_upward): Likewise.
22413 (remainder_test): Likewise.
22414 (remquo_test): Likewise.
22415 (sin_test): Likewise.
22416 (sin_test_tonearest): Likewise.
22417 (sin_test_towardzero): Likewise.
22418 (sin_test_downward): Likewise.
22419 (sin_test_upward): Likewise.
22420 (sincos_test): Likewise.
22421 (sinh_test): Likewise.
22422 (sinh_test_tonearest): Likewise.
22423 (sinh_test_towardzero): Likewise.
22424 (sinh_test_downward): Likewise.
22425 (sinh_test_upward): Likewise.
22426 (sqrt_test): Likewise.
22427 (tan_test): Likewise.
22428 (tan_test_tonearest): Likewise.
22429 (tan_test_towardzero): Likewise.
22430 (tan_test_downward): Likewise.
22431 (tan_test_upward): Likewise.
22432 (tanh_test): Likewise.
22433 (tgamma_test): Likewise.
22434 (y0_test): Likewise.
22435 (y1_test): Likewise.
22436 (yn_test): Likewise.
22438 * math/gen-libm-test.pl (adjust_arg): Remove function.
22439 (special_function): Remove argument $in_func. Only handle
22440 generating output for tables of tests, not inside functions.
22441 (parse_args): Likewise.
22442 (generate_testfile): Remove variable $in_func. Update call to
22444 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22445 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22446 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22447 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22448 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22449 (MAX_VALUE_INIT): Rename macro to max_value.
22450 (MIN_VALUE_INIT): Rename macro to min_value.
22451 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22452 (plus_zero): Remove variable.
22453 (minus_zero): Likewise.
22454 (plus_infty): Likewise.
22455 (minus_infty): Likewise.
22456 (qnan_value): Likewise.
22457 (max_value): Likewise.
22458 (min_value): Likewise.
22459 (min_subnorm_value): Likewise.
22461 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22463 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22464 uint64_t or uint32_t usage.
22465 * crypt/sha256-block.c: Likewise.
22466 * crypt/sha256-crypt.c: Likewise.
22467 * crypt/sha256.c: Likewise.
22468 * crypt/sha512-block.c: Likewise.
22469 * crypt/sha512-crypt.c: Likewise.
22470 * crypt/sha512.c: Likewise.
22471 * debug/backtrace-tst.c: Likewise.
22472 * debug/pcprofiledump.c: Likewise.
22473 * elf/cache.c: Likewise.
22474 * elf/dl-cache.c: Likewise.
22475 * elf/dl-misc.c: Likewise.
22476 * elf/dl-profile.c: Likewise.
22477 * elf/dl-support.c: Likewise.
22478 * elf/ldconfig.c: Likewise.
22479 * elf/sprof.c: Likewise.
22480 * iconv/dummy-repertoire.c: Likewise.
22481 * iconv/iconv_charmap.c: Likewise.
22482 * iconv/skeleton.c: Likewise.
22483 * iconvdata/8bit-generic.c: Likewise.
22484 * iconvdata/cp737.h: Likewise.
22485 * iconvdata/cp775.h: Likewise.
22486 * iconvdata/ibm1008.h: Likewise.
22487 * iconvdata/ibm1025.h: Likewise.
22488 * iconvdata/ibm1046.h: Likewise.
22489 * iconvdata/ibm1097.h: Likewise.
22490 * iconvdata/ibm1112.h: Likewise.
22491 * iconvdata/ibm1122.h: Likewise.
22492 * iconvdata/ibm1123.h: Likewise.
22493 * iconvdata/ibm1124.h: Likewise.
22494 * iconvdata/ibm1129.h: Likewise.
22495 * iconvdata/ibm1130.h: Likewise.
22496 * iconvdata/ibm1132.h: Likewise.
22497 * iconvdata/ibm1133.h: Likewise.
22498 * iconvdata/ibm1137.h: Likewise.
22499 * iconvdata/ibm1140.h: Likewise.
22500 * iconvdata/ibm1141.h: Likewise.
22501 * iconvdata/ibm1142.h: Likewise.
22502 * iconvdata/ibm1143.h: Likewise.
22503 * iconvdata/ibm1144.h: Likewise.
22504 * iconvdata/ibm1145.h: Likewise.
22505 * iconvdata/ibm1146.h: Likewise.
22506 * iconvdata/ibm1147.h: Likewise.
22507 * iconvdata/ibm1148.h: Likewise.
22508 * iconvdata/ibm1149.h: Likewise.
22509 * iconvdata/ibm1153.h: Likewise.
22510 * iconvdata/ibm1154.h: Likewise.
22511 * iconvdata/ibm1155.h: Likewise.
22512 * iconvdata/ibm1156.h: Likewise.
22513 * iconvdata/ibm1157.h: Likewise.
22514 * iconvdata/ibm1158.h: Likewise.
22515 * iconvdata/ibm1160.h: Likewise.
22516 * iconvdata/ibm1161.h: Likewise.
22517 * iconvdata/ibm1162.h: Likewise.
22518 * iconvdata/ibm1163.h: Likewise.
22519 * iconvdata/ibm1164.h: Likewise.
22520 * iconvdata/ibm1166.h: Likewise.
22521 * iconvdata/ibm1167.h: Likewise.
22522 * iconvdata/ibm12712.h: Likewise.
22523 * iconvdata/ibm1390.h: Likewise.
22524 * iconvdata/ibm1399.h: Likewise.
22525 * iconvdata/ibm16804.h: Likewise.
22526 * iconvdata/ibm4517.h: Likewise.
22527 * iconvdata/ibm4899.h: Likewise.
22528 * iconvdata/ibm4909.h: Likewise.
22529 * iconvdata/ibm4971.h: Likewise.
22530 * iconvdata/ibm5347.h: Likewise.
22531 * iconvdata/ibm803.h: Likewise.
22532 * iconvdata/ibm856.h: Likewise.
22533 * iconvdata/ibm901.h: Likewise.
22534 * iconvdata/ibm902.h: Likewise.
22535 * iconvdata/ibm9030.h: Likewise.
22536 * iconvdata/ibm9066.h: Likewise.
22537 * iconvdata/ibm921.h: Likewise.
22538 * iconvdata/ibm922.h: Likewise.
22539 * iconvdata/ibm9448.h: Likewise.
22540 * iconvdata/isiri-3342.h: Likewise.
22541 * iconvdata/jis0201.h: Likewise.
22542 * include/link.h: Likewise.
22543 * include/netdb.h: Likewise.
22544 * inet/check_native.c: Likewise.
22545 * inet/check_pf.c: Likewise.
22546 * inet/getipv4sourcefilter.c: Likewise.
22547 * inet/getnameinfo.c: Likewise.
22548 * inet/getsourcefilter.c: Likewise.
22549 * inet/htonl.c: Likewise.
22550 * inet/setipv4sourcefilter.c: Likewise.
22551 * inet/setsourcefilter.c: Likewise.
22552 * inet/test-inet6_opt.c: Likewise.
22553 * inet/tst-network.c: Likewise.
22554 * locale/C-collate.c: Likewise.
22555 * locale/C-ctype.c: Likewise.
22556 * locale/C-time.c: Likewise.
22557 * locale/C-translit.h: Likewise.
22558 * locale/loadarchive.c: Likewise.
22559 * locale/programs/3level.h: Likewise.
22560 * locale/programs/charmap.c: Likewise.
22561 * locale/programs/charmap.h: Likewise.
22562 * locale/programs/ld-address.c: Likewise.
22563 * locale/programs/ld-collate.c: Likewise.
22564 * locale/programs/ld-ctype.c: Likewise.
22565 * locale/programs/ld-identification.c: Likewise.
22566 * locale/programs/ld-measurement.c: Likewise.
22567 * locale/programs/ld-messages.c: Likewise.
22568 * locale/programs/ld-monetary.c: Likewise.
22569 * locale/programs/ld-name.c: Likewise.
22570 * locale/programs/ld-numeric.c: Likewise.
22571 * locale/programs/ld-paper.c: Likewise.
22572 * locale/programs/ld-telephone.c: Likewise.
22573 * locale/programs/ld-time.c: Likewise.
22574 * locale/programs/linereader.c: Likewise.
22575 * locale/programs/locale.c: Likewise.
22576 * locale/programs/locarchive.c: Likewise.
22577 * locale/programs/locfile.h: Likewise.
22578 * locale/programs/repertoire.c: Likewise.
22579 * locale/programs/simple-hash.c: Likewise.
22580 * locale/programs/simple-hash.h: Likewise.
22581 * malloc/memusage.c: Likewise.
22582 * malloc/memusagestat.c: Likewise.
22583 * nis/nis_defaults.c: Likewise.
22584 * nis/nis_hash.c: Likewise.
22585 * nis/nis_print.c: Likewise.
22586 * nis/nis_xdr.c: Likewise.
22587 * nscd/connections.c: Likewise.
22588 * nscd/hstcache.c: Likewise.
22589 * nscd/nscd_gethst_r.c: Likewise.
22590 * nscd/nscd_getserv_r.c: Likewise.
22591 * nscd/nscd_helper.c: Likewise.
22592 * nscd/servicescache.c: Likewise.
22593 * nss/makedb.c: Likewise.
22594 * nss/nss_db/db-XXX.c: Likewise.
22595 * nss/nss_db/db-initgroups.c: Likewise.
22596 * nss/nss_db/db-netgrp.c: Likewise.
22597 * nss/nss_files/files-network.c: Likewise.
22598 * nss/nss_files/files-parse.c: Likewise.
22599 * posix/bug-regex5.c: Likewise.
22600 * posix/fnmatch_loop.c: Likewise.
22601 * posix/regcomp.c: Likewise.
22602 * posix/regexec.c: Likewise.
22603 * posix/tst-rfc3484-2.c: Likewise.
22604 * posix/tst-rfc3484-3.c: Likewise.
22605 * posix/tst-rfc3484.c: Likewise.
22606 * resolv/nss_dns/dns-canon.c: Likewise.
22607 * resolv/nss_dns/dns-network.c: Likewise.
22608 * resolv/res_init.c: Likewise.
22609 * resolv/res_mkquery.c: Likewise.
22610 * resolv/tst-aton.c: Likewise.
22611 * stdlib/cxa_atexit.c: Likewise.
22612 * stdlib/cxa_finalize.c: Likewise.
22613 * stdlib/gen-fpioconst.c: Likewise.
22614 * stdlib/strtol_l.c: Likewise.
22615 * string/tst-endian.c: Likewise.
22616 * sunrpc/auth_des.c: Likewise.
22617 * sunrpc/clnt_udp.c: Likewise.
22618 * sunrpc/rtime.c: Likewise.
22619 * sunrpc/svcauth_des.c: Likewise.
22620 * sunrpc/xdr.c: Likewise.
22621 * sunrpc/xdr_intXX_t.c: Likewise.
22622 * sunrpc/xdr_rec.c: Likewise.
22623 * sysdeps/generic/ldconfig.h: Likewise.
22624 * sysdeps/generic/ldsodefs.h: Likewise.
22625 * sysdeps/generic/memusage.h: Likewise.
22626 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22629 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22636 * sysdeps/posix/getaddrinfo.c: Likewise.
22637 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22638 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22639 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22640 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22641 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22642 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22643 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22644 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22645 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22646 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22647 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22648 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22649 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22650 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22651 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22652 * sysdeps/x86_64/dl-tls.h: Likewise.
22653 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22654 * time/alt_digit.c: Likewise.
22655 * time/era.c: Likewise.
22656 * wcsmbs/tst-c16c32-1.c: Likewise.
22658 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22660 * math/libm-test.inc (struct test_sincos_data): New type.
22661 (RUN_TEST_LOOP_sincos): New macro.
22662 (sincos_test_data): New variable.
22663 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22665 2013-05-16 Richard Henderson <rth@redhat.com>
22667 * math/atest-exp2.c (LIMB64): New macro.
22668 (CONSTSZ): New macro.
22669 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22671 (print_mpn_fp): ... to function scope.
22672 (read_mpn_hex): Remove.
22673 (get_log2): Remove.
22674 (exp2_mpn): Use mp_log2.
22675 (main): Use mp_exp1.
22677 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22679 * math/libm-test.inc: Remove comment about not testing "inexact"
22681 (INEXACT_EXCEPTION): New macro.
22682 (NO_INEXACT_EXCEPTION): Likewise.
22683 (INVALID_EXCEPTION_OK): Update value.
22684 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22685 (OVERFLOW_EXCEPTION_OK): Likewise.
22686 (UNDERFLOW_EXCEPTION_OK): Likewise.
22687 (IGNORE_ZERO_INF_SIGN): Likewise.
22688 (ERRNO_UNCHANGED): Likewise.
22689 (ERRNO_EDOM): Likewise.
22690 (ERRNO_ERANGE): Likewise.
22691 (test_exceptions): Handle testing "inexact" exceptions.
22692 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22693 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22694 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22695 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22697 (rint_towardzero_test_data): Likewise.
22698 (rint_downward_test_data): Likewise.
22699 (rint_upward_test_data): Likewise.
22701 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22702 with OVERFLOW_EXCEPTION.
22703 (exp10_test_data): Likewise.
22704 (exp2_test_data): Likewise.
22705 (expm1_test_data): Likewise.
22706 (lgamma_test_data): Likewise.
22707 (pow_test_data): Likewise.
22708 (tgamma_test_data): Likewise.
22709 (yn_test_data): Remove duplicate test of overflow.
22711 * math/libm-test.inc (struct test_cc_c_data): New type.
22712 (RUN_TEST_LOOP_cc_c): New macro.
22713 (cpow_test_data): New variable.
22714 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22716 * math/libm-test.inc (struct test_f_L_data): New type.
22717 (RUN_TEST_LOOP_f_L): New macro.
22718 (llrint_test_data): New variable.
22719 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22720 (llrint_tonearest_test_data): New variable.
22721 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22722 (llrint_towardzero_test_data): New variable.
22723 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22724 (llrint_downward_test_data): New variable.
22725 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22726 (llrint_upward_test_data): New variable.
22727 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22728 (llround_test_data): New variable.
22729 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22731 2013-05-13 Peter Collingbourne <pcc@google.com>
22733 * math/atest-exp2.c (get_log2): Remove const attribute.
22735 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22737 * math/libm-test.inc (struct test_f_l_data): New type.
22738 (RUN_TEST_LOOP_f_l): New macro.
22739 (lrint_test_data): New variable.
22740 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22741 (lrint_tonearest_test_data): New variable.
22742 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22743 (lrint_towardzero_test_data): New variable.
22744 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22745 (lrint_downward_test_data): New variable.
22746 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22747 (lrint_upward_test_data): New variable.
22748 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22749 (lround_test_data): New variable.
22750 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22752 2013-05-15 Peter Collingbourne <pcc@google.com>
22754 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22755 (EXTRACT_WORDS64) Use where appropriate.
22756 (INSERT_WORDS64) Likewise.
22758 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22759 constraints with x constraints.
22760 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22762 * malloc/obstack.c (_obstack_compat): Add initializer.
22764 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22766 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22767 si_trapno and add si_addr_lsb to _sifields.sigfault.
22768 (si_trapno): Remove macro.
22769 (si_addr_lsb): Define new macro.
22770 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22772 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22774 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22775 instead of TEST_f_l.
22776 (llrint_test_tonearest): Likewise.
22777 (llrint_test_towardzero): Likewise.
22778 (llrint_test_downward): Likewise.
22779 (llrint_test_upward): Likewise.
22780 (llround_test): Likewise.
22782 * math/libm-test.inc (struct test_f_i_data): Add comment.
22783 (RUN_TEST_LOOP_f_b): New macro.
22784 (RUN_TEST_LOOP_f_b_tg): Likewise.
22785 (finite_test_data): New variable.
22786 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22787 (isfinite_test_data): New variable.
22788 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22789 (isinf_test_data): New variable.
22790 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22791 (isnan_test_data): New variable.
22792 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22793 (isnormal_test_data): New variable.
22794 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22795 (issignaling_test_data): New variable.
22796 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22797 (signbit_test_data): New variable.
22798 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22800 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22801 with INVALID_EXCEPTION.
22802 (acosh_test_data): Likewise.
22803 (asin_test_data): Likewise.
22804 (atanh_test_data): Likewise.
22805 (fmod_test_data): Likewise.
22806 (log_test_data): Likewise.
22807 (log10_test_data): Likewise.
22808 (log2_test_data): Likewise.
22809 (pow_test_data): Likewise.
22810 (sqrt_test_data): Likewise.
22811 (y0_test_data): Likewise.
22812 (y1_test_data): Likewise.
22813 (yn_test_data): Likewise.
22815 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22818 * math/libm-test.inc (struct test_ff_i_data): New type.
22819 (RUN_TEST_LOOP_ff_i_tg): New macro.
22820 (isgreater_test_data): New variable.
22821 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22822 (isgreaterequal_test_data): New variable.
22823 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22824 (isless_test_data): New variable.
22825 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22826 (islessequal_test_data): New variable.
22827 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22828 (islessgreater_test_data): New variable.
22829 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22830 (isunordered_test_data): New variable.
22831 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22833 2013-05-14 David S. Miller <davem@davemloft.net>
22835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22837 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22839 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22841 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22843 (struct test_f_i_data): Change type of max_ulp to int.
22845 * math/libm-test.inc (test_ffI_f1_data): New type.
22846 (RUN_TEST_LOOP_ffI_f1): New macro.
22847 (remquo_test_data): New variable.
22848 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22850 * setjmp/tst-setjmp-fp.c: New file.
22851 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22852 (link-libm): New variable.
22853 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22855 * math/libm-test.inc (struct test_f_i_data): New type.
22856 (RUN_TEST_LOOP_f_i): New macro.
22857 (RUN_TEST_LOOP_f_i_tg): Likewise.
22858 (fpclassify_test_data): New variable.
22859 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22860 (ilogb_test_data): New variable.
22861 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22863 * math/libm-test.inc (scalbln_test): Correct function name in END
22866 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22867 (RUN_TEST_LOOP_fI_f1): New macro.
22868 (frexp_test_data): New variable.
22869 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22871 * math/libm-test.inc (struct test_fF_f1_data): New type.
22872 (RUN_TEST_LOOP_fF_f1): New macro.
22873 (modf_test_data): New variable.
22874 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22876 * math/libm-test.inc (struct test_f_f1_data): New type.
22877 (RUN_TEST_LOOP_f_f1): New macro.
22878 (gamma_test_data): New variable.
22879 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22880 (lgamma_test_data): New variable.
22881 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22883 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22885 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22886 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22887 (main): Comment "tls" pseudo-hwcap.
22889 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22891 * math/libm-test.inc (struct test_fl_f_data): New type.
22892 (RUN_TEST_LOOP_fl_f): New variable.
22893 (scalbln_test_data): New variable.
22894 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22896 * math/libm-test.inc (struct test_fi_f_data): New type.
22897 (RUN_TEST_LOOP_fi_f): New macro.
22898 (ldexp_test_data): New variable.
22899 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22900 (scalbn_test_data): New variable.
22901 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22903 * math/libm-test.inc (struct test_c_f_data): New type.
22904 (RUN_TEST_LOOP_c_f): New macro.
22905 (cabs_test_data): New variable.
22906 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22907 (carg_test_data): New variable.
22908 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22909 (cimag_test_data): New variable.
22910 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22911 (creal_test_data): New variable.
22912 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22914 * math/libm-test.inc (struct test_if_f_data): New type.
22915 (RUN_TEST_LOOP_if_f): New macro.
22916 (jn_test_data): New variable.
22917 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22918 (yn_test_data): New variable.
22919 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22921 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22923 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22925 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22926 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22928 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22930 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22931 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22932 (bench-deps): Add bench-timing.h.
22933 * benchtests-bench-skeleton.c: Include bench-timing.h.
22934 (main): Use TIMING_* macros instead of clock_gettime.
22935 * benchtests/bench-timing.h: New file.
22938 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22939 Renamed from _LIB_VERSION.
22940 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22942 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22944 * math/libm-test.inc (struct test_fff_f_data): New type.
22945 (RUN_TEST_LOOP_fff_f): New macro.
22946 (fma_test_data): New variable.
22947 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22948 (fma_towardzero_test_data): New variable.
22949 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22950 (fma_downward_test_data): New variable.
22951 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22952 (fma_upward_test_data): New variable.
22953 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22955 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22956 (struct test_c_c_data): New type.
22957 (RUN_TEST_LOOP_c_c): New macro.
22958 (cacos_test_data): New variable.
22959 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22960 (cacosh_test_data): New variable.
22961 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22962 (casin_test_data): New variable.
22963 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22964 (casinh_test_data): New variable.
22965 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22966 (catan_test_data): New variable.
22967 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22968 (catanh_test_data): New variable.
22969 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22970 (ccos_test_data): New variable.
22971 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22972 (ccosh_test_data): New variable.
22973 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22974 (cexp_test_data): New variable.
22975 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22976 (clog_test_data): New variable.
22977 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22978 (clog10_test_data): New variable.
22979 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22980 (conj_test_data): New variable.
22981 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22982 (cproj_test_data): New variable.
22983 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22984 (csin_test_data): New variable.
22985 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22986 (csinh_test_data): New variable.
22987 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22988 (csqrt_test_data): New variable.
22989 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22990 (ctan_test_data): New variable.
22991 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22992 (ctan_tonearest_test_data): New variable.
22993 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22994 (ctan_towardzero_test_data): New variable.
22995 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22996 (ctan_downward_test_data): New variable.
22997 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22998 (ctan_upward_test_data): New variable.
22999 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23000 (ctanh_test_data): New variable.
23001 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23002 (ctanh_tonearest_test_data): New variable.
23003 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23004 (ctanh_towardzero_test_data): New variable.
23005 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23006 (ctanh_downward_test_data): New variable.
23007 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23008 (ctanh_upward_test_data): New variable.
23009 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23010 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23013 * math/libm-test.inc (struct test_ff_f_data): New type.
23014 (struct test_ff_f_data_nexttoward): Likewise.
23015 (RUN_TEST_LOOP_2_f): New macro.
23016 (RUN_TEST_LOOP_ff_f): Likewise.
23017 (atan2_test_data): New variable.
23018 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23019 (copysign_test_data): New variable.
23020 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23021 (fdim_test_data): New variable.
23022 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23023 (fmax_test_data): New variable.
23024 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23025 (fmin_test_data): New variable.
23026 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23027 (fmod_test_data): New variable.
23028 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23029 (hypot_test_data): New variable.
23030 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23031 (nextafter_test_data): New variable.
23032 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23033 (nexttoward_test_data): New variable.
23034 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23035 (pow_test_data): New variable.
23036 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23037 (pow_tonearest_test_data): New variable.
23038 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23039 (pow_towardzero_test_data): New variable.
23040 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23041 (pow_downward_test_data): New variable.
23042 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23043 (pow_upward_test_data): New variable.
23044 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23045 (remainder_test_data): New variable.
23046 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23047 (scalb_test_data): New variable.
23048 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23049 * sysdeps/i386/fpu/libm-test-ulps: Update.
23051 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23053 * math/libm-test.inc (fma_test): Use max_value instead of local
23055 (nextafter_test): Likewise.
23057 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23058 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23059 (acos_downward_test_data): New variable.
23060 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23061 (acos_upward_test_data): New variable.
23062 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23063 (acosh_test_data): New variable.
23064 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23065 (asin_test_data): New variable.
23066 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23067 (asin_tonearest_test_data): New variable.
23068 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23069 (asin_towardzero_test_data): New variable.
23070 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23071 (asin_downward_test_data): New variable.
23072 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23073 (asin_upward_test_data): New variable.
23074 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23075 (asinh_test_data): New variable.
23076 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23077 (atan_test_data): New variable.
23078 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23079 (atanh_test_data): New variable.
23080 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23081 (cbrt_test_data): New variable.
23082 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23083 (ceil_test_data): New variable.
23084 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23085 (cos_test_data): New variable.
23086 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23087 (cos_tonearest_test_data): New variable.
23088 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23089 (cos_towardzero_test_data): New variable.
23090 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23091 (cos_downward_test_data): New variable.
23092 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23093 (cos_upward_test_data): New variable.
23094 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23095 (cosh_test_data): New variable.
23096 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23097 (cosh_tonearest_test_data): New variable.
23098 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23099 (cosh_towardzero_test_data): New variable.
23100 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23101 (cosh_downward_test_data): New variable.
23102 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23103 (cosh_upward_test_data): New variable.
23104 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23105 (erf_test_data): New variable.
23106 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23107 (erfc_test_data): New variable.
23108 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23109 (exp_test_data): New variable.
23110 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23111 (exp_tonearest_test_data): New variable.
23112 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23113 (exp_towardzero_test_data): New variable.
23114 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23115 (exp_downward_test_data): New variable.
23116 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23117 (exp_upward_test_data): New variable.
23118 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23119 (exp10_test_data): New variable.
23120 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23121 (exp2_test_data): New variable.
23122 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23123 (expm1_test_data): New variable.
23124 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23125 (fabs_test_data): New variable.
23126 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23127 (floor_test_data): New variable.
23128 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23129 (j0_test_data): New variable.
23130 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23131 (j1_test_data): New variable.
23132 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23133 (log_test_data): New variable.
23134 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23135 (log10_test_data): New variable.
23136 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23137 (log1p_test_data): New variable.
23138 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23139 (log2_test_data): New variable.
23140 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23141 (logb_test_data): New variable.
23142 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23143 (logb_downward_test_data): New variable.
23144 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23145 (nearbyint_test_data): New variable.
23146 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23147 (rint_test_data): New variable.
23148 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23149 (rint_tonearest_test_data): New variable.
23150 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23151 (rint_towardzero_test_data): New variable.
23152 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23153 (rint_downward_test_data): New variable.
23154 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23155 (rint_upward_test_data): New variable.
23156 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23157 (round_test_data): New variable.
23158 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23159 (sin_test_data): New variable.
23160 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23161 (sin_tonearest_test_data): New variable.
23162 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23163 (sin_towardzero_test_data): New variable.
23164 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23165 (sin_downward_test_data): New variable.
23166 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23167 (sin_upward_test_data): New variable.
23168 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23169 (sinh_test_data): New variable.
23170 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23171 (sinh_tonearest_test_data): New variable.
23172 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23173 (sinh_towardzero_test_data): New variable.
23174 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23175 (sinh_downward_test_data): New variable.
23176 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23177 (sinh_upward_test_data): New variable.
23178 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23179 (sqrt_test_data): New variable.
23180 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23181 (tan_test_data): New variable.
23182 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23183 (tan_tonearest_test_data): New variable.
23184 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23185 (tan_towardzero_test_data): New variable.
23186 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23187 (tan_downward_test_data): New variable.
23188 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23189 (tan_upward_test_data): New variable.
23190 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23191 (tanh_test_data): New variable.
23192 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23193 (tgamma_test_data): New variable.
23194 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23195 (trunc_test_data): New variable.
23196 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23197 (y0_test_data): New variable.
23198 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23199 (y1_test_data): New variable.
23200 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23201 (significand_test_data): New variable.
23202 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23204 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23207 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23209 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23211 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23213 2013-05-10 Andreas Jaeger <aj@suse.de>
23216 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23217 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23219 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23221 * math/gen-libm-test.pl (adjust_arg): New function.
23222 (special_functions): Handle generating output in both functions
23224 (parse_args): Likewise.
23225 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23226 $in_func argument to parse_args.
23227 * math/libm-test.inc (struct test_f_f_data): New type.
23228 (IF_ROUND_INIT_): New macro.
23229 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23230 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23231 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23232 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23233 (ROUND_RESTORE_): Likewise.
23234 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23235 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23236 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23237 (ROUND_RESTORE_FE_UPWARD): Likewise.
23238 (RUN_TEST_LOOP_f_f): New macro.
23239 (acos_test_data): New variable.
23240 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23241 (acos_tonearest_test_data): New variable.
23242 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23244 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23246 * benchtests/bench-skeleton.c (startup): Fix coding style.
23248 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23251 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23252 negative infinity argument.
23253 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23254 negative infinity argument.
23255 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23256 negative infinity argument.
23257 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23260 2013-05-10 Florian Weimer <fweimer@redhat.com>
23262 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23263 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23264 * iconv/iconv_prog.c (main): Likewise.
23265 * locale/programs/charmap-dir.c (charmap_readdir)
23266 (fopen_uncompressed): Likewise.
23267 * locale/programs/locfile.c (siblings_uncached)
23268 (write_locale_data): Use lstat64 instead of lstat.
23269 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23272 2013-05-10 Andreas Jaeger <aj@suse.de>
23275 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23277 Include <locale.h>.
23279 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23281 * elf/dl-close.c (_dl_close_worker): Add comments.
23283 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23286 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23288 (__ieee754_rem_pio2l): Update comments.
23291 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23293 (__ieee754_rem_pio2l): Update comments.
23295 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23296 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23298 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23301 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23302 (M_PI_34_LOG10El): Likewise.
23303 (M_PI2_LOG10El): Likewise.
23304 (M_PI4_LOG10El): Likewise.
23305 (M_PI_LOG10El): Likewise.
23307 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23311 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23313 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23314 (MINUS_ZERO_INIT): Likewise.
23315 (PLUS_INFTY_INIT): Likewise.
23316 (MINUS_INFTY_INIT): Likewise.
23317 (QNAN_VALUE_INIT): Likewise.
23318 (MAX_VALUE_INIT): Likewise.
23319 (MIN_VALUE_INIT): Likewise.
23320 (MIN_SUBNORM_VALUE_INIT): Likewise.
23321 (plus_zero): Initialize with PLUS_ZERO_INIT.
23322 (minus_zero): Initialize with MINUS_ZERO_INIT.
23323 (plus_infty): Initialize with PLUS_INFTY_INIT.
23324 (minus_infty): Initialize with MINUS_INFTY_INIT.
23325 (qnan_value): Initialize with QNAN_VALUE_INIT.
23326 (max_value): Initialize with MAX_VALUE_INIT.
23327 (min_value): Initialize with MIN_VALUE_INIT.
23328 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23330 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23331 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23332 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23333 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23335 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23336 (RUN_TEST_2_f): Likewise.
23337 (RUN_TEST_ff_f): Likewise.
23338 (RUN_TEST_fi_f): Likewise.
23339 (RUN_TEST_fl_f): Likewise.
23340 (RUN_TEST_fff_f): Likewise.
23341 (RUN_TEST_c_f): Likewise.
23342 (RUN_TEST_f_f1): Likewise.
23343 (RUN_TEST_fF_f1): Likewise.
23344 (RUN_TEST_fI_f1): Likewise.
23345 (RUN_TEST_ffI_f1): Likewise.
23346 (RUN_TEST_c_c): Likewise.
23347 (RUN_TEST_cc_c): Likewise.
23348 (RUN_TEST_f_i): Likewise.
23349 (RUN_TEST_f_i_tg): Likewise.
23350 (RUN_TEST_ff_i_tg): Likewise.
23351 (RUN_TEST_f_b): Likewise.
23352 (RUN_TEST_f_b_tg): Likewise.
23353 (RUN_TEST_f_l): Likewise.
23354 (RUN_TEST_f_L): Likewise.
23355 (RUN_TEST_sincos): Likewise.
23356 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23357 whether to show exceptions. Do not include ");\n" in return
23359 (special_functions): Output call to RUN_TEST_sincos instead of
23360 check_float calls. Update calls to new_test.
23361 (parse_args): Output call to single RUN_TEST_* macro instead of
23362 check_* calls and other assignments. Update calls to new_test.
23368 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23369 input to result for tgamma overflow.
23370 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23371 (gamma_coeff): New variable.
23372 (NCOEFF): New macro.
23373 (gamma_positive): New function.
23374 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23375 underflow here. Use gamma_positive instead of exp (lgamma) for
23377 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23378 (gamma_coeff): New variable.
23379 (NCOEFF): New macro.
23380 (gammaf_positive): New function.
23381 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23382 underflow here. Use gamma_positive instead of exp (lgamma) for
23384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23385 (gamma_coeff): New variable.
23386 (NCOEFF): New macro.
23387 (gammal_positive): New function.
23388 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23389 underflow here. Use gamma_positive instead of exp (lgamma) for
23391 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23392 (gamma_coeff): New variable.
23393 (NCOEFF): New macro.
23394 (gammal_positive): New function.
23395 (__ieee754_gammal_r): Handle positive infinity, overflow and
23396 underflow here. Handle NaN the same as positive infinity. Remove
23397 check x < 0xffffffff for negative integers. Use gamma_positive
23398 instead of exp (lgamma) for other arguments.
23399 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23400 (gamma_coeff): New variable.
23401 (NCOEFF): New macro.
23402 (gammal_positive): New function.
23403 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23404 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23405 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23406 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23407 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23408 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23409 * sysdeps/generic/math_private.h (__gamma_productf): New
23411 (__gamma_product): Likewise.
23412 (__gamma_productl): Likewise.
23413 * math/Makefile (libm-calls): Add gamma_product.
23414 * math/libm-test.inc (tgamma_test): Add more tests.
23415 * sysdeps/i386/fpu/libm-test-ulps: Update.
23416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23418 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23420 * benchtests/bench-skeleton.c (main): Preheat CPU.
23422 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23424 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23426 2013-05-07 Roland McGrath <roland@hack.frob.com>
23428 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23429 and _dl_skip_args_internal.
23431 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23433 * manual/message.texi (Message Translation): Talk about users.
23434 Message to key mapping impacts design.
23436 2013-05-06 Roland McGrath <roland@hack.frob.com>
23438 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23440 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23442 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23443 * sysdeps/wordsize-64/glob64.c: ... here.
23445 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23446 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23449 * debug/getlogin_r_chk.c: Moved to ...
23450 * login/getlogin_r_chk.c: ... here.
23451 * debug/Makefile (routines): Move getlogin_r_chk to ...
23452 * login/Makefile (routines): ... here.
23453 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23454 * login/Versions (libc: GLIBC_2.4): ... here.
23456 * io/poll.c (__poll): Renamed from poll.
23457 Add libc_hidden_def.
23458 (poll): Define as weak alias.
23460 * debug/ptsname_r_chk.c: Moved to ...
23461 * login/ptsname_r_chk.c: ... here.
23462 * debug/Makefile (routines): Move ptsname_r_chk to ...
23463 * login/Makefile (routines): ... here.
23464 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23465 * login/Versions (libc: GLIBC_2.4): ... here.
23467 * posix/getlogin.c: Moved to ...
23468 * login/getlogin.c: ... here.
23469 * posix/getlogin_r.c: Moved to ...
23470 * login/getlogin_r.c: ... here.
23471 * posix/getlogin_r.c: Moved to ...
23472 * login/getlogin_r.c: ... here.
23473 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23474 * login/Makefile (routines): ... here.
23475 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23476 * login/Versions (libc: GLIBC_2.0): ... here.
23478 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23479 (setrlimit): Define as weak alias.
23481 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23482 Call __ names for open, ftruncate, and close.
23483 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23484 (truncate): Define as weak alias.
23486 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23488 * math/gen-libm-test.pl (parse_args): Initialize x before each
23489 test of frexp, modf and remquo.
23491 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23492 test signgam value.
23494 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23498 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23500 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23502 2013-05-06 Roland McGrath <roland@hack.frob.com>
23504 * elf/dl-writev.h: New file.
23505 * elf/dl-misc.c: Include it.
23506 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23507 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23509 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23511 * math/libm-test.inc (noXFails): Remove variable.
23512 (noXPasses): Likewise.
23513 (BUILD_COMPLEX_INT): Remove macro.
23514 (print_screen): Remove xfail argument.
23515 (print_screen_max_error): Likewise.
23516 (update_stats): Likewise.
23517 (print_max_error): Likewise. Update calls to other affected
23519 (print_complex_max_error): Likewise.
23520 (test_single_exception): Update calls to print_screen.
23521 (test_single_errno): Likewise.
23522 (check_float_internal): Remove xfail argument. Update calls to
23523 other affected functions.
23524 (check_float): Likewise.
23525 (check_complex): Likewise.
23526 (check_int): Likewise.
23527 (check_long): Likewise.
23528 (check_bool): Likewise.
23529 (check_longlong): Likewise.
23530 (main): Don't print noXFails and noXPasses.
23531 * math/gen-libm-test.pl (top level): Don't mention expected
23532 failure handling in comment.
23533 (new_test): Don't handle expected failures.
23534 (parse_args): Don't mention expected failure handling in comment.
23535 (generate_testfile): Don't handle expected failures.
23536 (parse_ulps): Likewise.
23537 (print_ulps_file): Likewise.
23538 (get_failure): Remove function.
23539 (output_test): Don't handle expected failures.
23540 * make/README.libm-test: Don't mention expected failure handling.
23542 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23543 (minus_zero): Likewise.
23544 (plus_infty): Likewise.
23545 (minus_infty): Likewise.
23546 (qnan_value): Likewise.
23547 (max_value): Likewise.
23548 (min_value): Likewise.
23549 (min_subnorm_value): Likewise.
23550 (initialize): Do not initialize those variables dynamically.
23552 2013-05-03 Roland McGrath <roland@hack.frob.com>
23554 * io/open.c (__open_2): Moved to ...
23555 * io/open_2.c: ... this new file.
23556 * io/open64.c (__open64_2): Moved to ...
23557 * io/open64_2.c: ... this new file.
23558 * io/openat.c (__openat_2): Moved to ...
23559 * io/openat_2.c: ... this new file.
23560 * io/openat64.c (__openat64_2): Moved to ...
23561 * io/openat64_2.c: ... this new file.
23562 * io/Makefile (routines): Add them.
23563 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23564 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23565 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23566 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23567 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23568 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23569 (__openat64): Add hidden_ver.
23570 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23571 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23573 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23574 Separately conditionalize setting of GLRO(dl_sysinfo) so
23575 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23576 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23578 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23580 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23581 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23583 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23584 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23585 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23586 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23587 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23589 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23591 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23592 test signgam value.
23594 * math/libm-test.inc (hypot_test): Do not use
23595 IGNORE_ZERO_INF_SIGN.
23597 2013-05-03 Andreas Jaeger <aj@suse.de>
23599 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23602 (PF_MAX): Adjust for VSOCK change.
23604 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23608 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23611 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23612 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23613 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23615 2013-05-02 David S. Miller <davem@davemloft.net>
23617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23619 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23621 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23623 2013-05-01 Roland McGrath <roland@hack.frob.com>
23625 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23627 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23630 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23631 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23632 Use __attribute__ ((__gnu_inline__)).
23633 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23634 Don't use __attribute__ ((__gnu_inline__)).
23636 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23639 * math/s_catan.c (__catan): Handle small real or imaginary part of
23640 input specially to avoid spurious underflow.
23641 * math/s_catanf.c (__catanf): Likewise.
23642 * math/s_catanh.c (__catanh): Likewise.
23643 * math/s_catanhf.c (__catanhf): Likewise.
23644 * math/s_catanhl.c (__catanhl): Likewise.
23645 * math/s_catanl.c (__catanl): Likewise.
23646 * math/libm-test.inc (catan_test): Add more tests.
23647 (catanh_test): Likewise.
23648 * sysdeps/i386/fpu/libm-test-ulps: Update.
23649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23651 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23655 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23658 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23659 accurately for denominator in atan2.
23660 * math/s_catanf.c (__catanf): Likewise.
23661 * math/s_catanh.c (__catanh): Likewise.
23662 * math/s_catanhf.c (__catanhf): Likewise.
23663 * math/s_catanhl.c (__catanhl): Likewise.
23664 * math/s_catanl.c (__catanl): Likewise.
23665 * math/libm-test.inc (catan_test): Add more tests.
23666 (catanh_test): Likewise.
23667 * sysdeps/i386/fpu/libm-test-ulps: Update.
23668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23670 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23672 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23674 * benchtests/Makefile (bench): Remove slow benchmarks.
23675 * benchtests/atan-inputs: Add slow benchmark inputs.
23676 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23677 (BENCH_FUNC): Accept variant offset.
23679 * benchtests/bench-skeleton.c (main): Run benchmark for each
23681 * benchtests/cos-inputs: Add slow benchmark inputs.
23682 * benchtests/exp-inputs: Likewise.
23683 * benchtests/pow-inputs: Likewise.
23684 * benchtests/sin-inputs: Likewise.
23685 * benchtests/slowatan-inputs: Remove.
23686 * benchtests/slowatan.c: Remove.
23687 * benchtests/slowcos-inputs: Remove.
23688 * benchtests/slowcos.c: Remove.
23689 * benchtests/slowexp-inputs: Remove.
23690 * benchtests/slowexp.c: Remove.
23691 * benchtests/slowpow-inputs: Remove.
23692 * benchtests/slowpow.c: Remove.
23693 * benchtests/slowsin-inputs: Remove.
23694 * benchtests/slowsin.c: Remove.
23695 * benchtests/slowtan-inputs: Remove.
23696 * benchtests/slowtan.c: Remove.
23697 * benchtests/tan-inputs: Add slow benchmark inputs.
23698 * scripts/bench.pl: Parse comments and directives.
23700 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23702 ($(objpfx)bench-%.c): Remove *-ITER.
23703 * benchtests/bench-modf.c: Remove definition of ITER.
23704 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23705 (main): Loop for DURATION seconds instead of fixed number of
23707 * scripts/bench.pl: Don't expect iterations in parameters.
23709 2013-04-29 Roland McGrath <roland@hack.frob.com>
23711 * io/fchdir.c (__fchdir): Renamed from fchdir.
23712 (fchdir): Define as weak alias.
23714 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23716 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23717 (ERRNO_EDOM): Likewise.
23718 (ERRNO_ERANGE): Likewise.
23719 (noErrnoTests): New variable.
23720 (init_max_error): Set errno to 0.
23721 (test_single_errno): New function.
23722 (test_errno): Likewise.
23723 (check_float_internal): Call test_errno. Set errno to 0.
23724 (check_complex): Refer to errno tests in comment.
23725 (check_int): Call test_errno. Set errno to 0.
23726 (check_long): Likewise.
23727 (check_bool): Likewise.
23728 (check_longlong): Likewise.
23729 (cos_test): Use ERRNO_* flags for errno tests instead of
23731 (expm1_test): Likewise.
23732 (fmod_test): Likewise.
23733 (ilogb_test): Likewise.
23734 (lgamma_test): Likewise.
23735 (pow_test): Likewise.
23736 (remainder_test): Likewise.
23737 (sin_test): Likewise.
23738 (tan_test): Likewise.
23739 (yn_test): Likewise.
23740 (initialize): Set errno to 0.
23741 (main): Print number of errno tests.
23742 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23744 2013-04-29 Andreas Jaeger <aj@suse.de>
23747 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23751 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23752 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23756 * stdlib/random.c (__initstate): Return NULL if
23760 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23761 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23764 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23768 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23770 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23771 of individual tests.
23772 (casin_test): Likewise.
23773 (casinh_test): Likewise.
23775 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23778 * math/s_catan.c (__catan): Handle arguments with large real or
23779 imaginary part separately without squaring.
23780 * math/s_catanf.c (__catanf): Likewise.
23781 * math/s_catanh.c (__catanh): Likewise.
23782 * math/s_catanhf.c (__catanhf): Likewise.
23783 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23785 (__catanhl): Handle arguments with large real or imaginary part
23786 separately without squaring.
23787 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23789 (__catanl): Handle arguments with large real or imaginary part
23790 separately without squaring.
23791 * math/libm-test.inc (catan_test): Add more tests.
23792 (catanh_test): Likewise.
23793 * sysdeps/i386/fpu/libm-test-ulps: Update.
23794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23796 2013-04-27 Andreas Jaeger <aj@suse.de>
23799 * stdlib/stdlib.h: Update guards for qecvt.
23800 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23803 2013-04-27 Allan McRae <allan@archlinux.org>
23805 * sysdeps/i386/fpu/libm-test-ulps: Update.
23807 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23810 * math/s_catan.c: Include <float.h>.
23811 (__catan): Ensure underflow exception occurs for underflowed
23813 * math/s_catanf.c: Include <float.h>.
23814 (__catanf): Ensure underflow exception occurs for underflowed
23816 * math/s_catanh.c: Include <float.h>.
23817 (__catanh): Ensure underflow exception occurs for underflowed
23819 * math/s_catanhf.c: Include <float.h>.
23820 (__catanhf): Ensure underflow exception occurs for underflowed
23822 * math/s_catanhl.c: Include <float.h>.
23823 (__catanhl): Ensure underflow exception occurs for underflowed
23825 * math/s_catanl.c: Include <float.h>.
23826 (__catanl): Ensure underflow exception occurs for underflowed
23828 * math/libm-test.inc (catan_test): Add more tests.
23829 (catanh_test): Likewise.
23832 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23833 underflowed result.
23834 * math/s_ccoshf.c (__ccoshf): Likewise.
23835 * math/s_ccoshl.c (__ccoshl): Likewise.
23836 * math/s_csin.c (__csin): Likewise.
23837 * math/s_csinf.c (__csinf): Likewise.
23838 * math/s_csinh.c (__csinh): Likewise.
23839 * math/s_csinhf.c (__csinhf): Likewise.
23840 * math/s_csinhl.c (__csinhl): Likewise.
23841 * math/s_csinl.c (__csinl): Likewise.
23842 * math/libm-test.inc (ccos_test): Add more tests.
23843 (ccosh_test): Likewise.
23844 (csin_test): Likewise.
23845 (csinh_test): Likewise.
23847 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23849 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23850 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23851 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23852 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23853 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23854 powerpc/power5+/fpu folders.
23855 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23858 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23862 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23864 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23865 additions to variable.
23866 [$(config-machine) = x86_64] (modules-names): Likewise.
23867 ($(objpfx)tst-audit3): Remove dependency.
23868 ($(objpfx)tst-audit3.out): Likewise.
23869 ($(objpfx)tst-audit4): Likewise.
23870 ($(objpfx)tst-audit4.out): Likewise.
23871 ($(objpfx)tst-audit5): Likewise.
23872 ($(objpfx)tst-audit5.out): Likewise.
23873 ($(objpfx)tst-audit6): Likewise.
23874 ($(objpfx)tst-audit6.out): Likewise.
23875 ($(objpfx)tst-audit7): Likewise.
23876 ($(objpfx)tst-audit7.out): Likewise.
23877 (tst-audit3-ENV): Remove variable.
23878 (tst-audit4-ENV): Likewise.
23879 (tst-audit5-ENV): Likewise.
23880 (tst-audit6-ENV): Likewise.
23881 (tst-audit7-ENV): Likewise.
23882 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23883 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23884 addition to variable.
23885 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23886 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23887 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23888 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23889 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23890 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23891 tst-audit3, tst-audit4 and tst-audit5.
23892 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23893 tst-audit6 and tst-audit7.
23894 [$(subdir) = elf] (modules-names): Add audit modules for those
23896 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23897 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23898 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23899 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23900 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23901 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23902 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23903 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23904 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23905 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23906 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23907 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23908 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23909 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23910 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23911 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23913 [$(subdir) = elf && $(config-cflags-avx) = yes]
23914 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23915 [$(subdir) = elf && $(config-cflags-avx) = yes]
23916 (CFLAGS-tst-auditmod4a.c): Likewise.
23917 [$(subdir) = elf && $(config-cflags-avx) = yes]
23918 (CFLAGS-tst-auditmod4b.c): Likewise.
23919 [$(subdir) = elf && $(config-cflags-avx) = yes]
23920 (CFLAGS-tst-auditmod6b.c): Likewise.
23921 [$(subdir) = elf && $(config-cflags-avx) = yes]
23922 (CFLAGS-tst-auditmod6c.c): Likewise.
23923 [$(subdir) = elf && $(config-cflags-avx) = yes]
23924 (CFLAGS-tst-auditmod7b.c): Likewise.
23925 * elf/tst-audit3.c: Move to ...
23926 * sysdeps/x86_64/tst-audit3.c: ... here.
23927 * elf/tst-audit4.c: Move to ...
23928 * sysdeps/x86_64/tst-audit4.c: ... here.
23929 * elf/tst-audit5.c: Move to ...
23930 * sysdeps/x86_64/tst-audit5.c: ... here.
23931 * elf/tst-audit6.c: Move to ...
23932 * sysdeps/x86_64/tst-audit6.c: ... here.
23933 * elf/tst-audit7.c: Move to ...
23934 * sysdeps/x86_64/tst-audit7.c: ... here.
23935 * elf/tst-auditmod3a.c: Move to ...
23936 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23937 * elf/tst-auditmod3b.c: Move to ...
23938 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23939 * elf/tst-auditmod4a.c: Move to ...
23940 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23941 * elf/tst-auditmod4b.c: Move to ...
23942 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23943 * elf/tst-auditmod5a.c: Move to ...
23944 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23945 * elf/tst-auditmod5b.c: Move to ...
23946 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23947 * elf/tst-auditmod6a.c: Move to ...
23948 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23949 * elf/tst-auditmod6b.c: Move to ...
23950 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23951 * elf/tst-auditmod6c.c: Move to ...
23952 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23953 * elf/tst-auditmod7a.c: Move to ...
23954 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23955 * elf/tst-auditmod7b.c: Move to ...
23956 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23958 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23961 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23962 define unconditionally.
23963 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23964 define unconditionally.
23965 (INT8_C, INT16_C, etc.): Likewise.
23967 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23969 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23970 __ehdr_start with hidden visibility.
23972 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23974 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23976 * math/libm-test.inc (cos_test): Use accurate hex constants.
23977 (sincost_test): Likewise.
23979 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23981 * math/libm-test.inc (catan_test): Add more tests.
23982 (catanh_test): Likewise.
23984 * math/s_catanf.c (__catanf): Use suffixed floating-point
23986 * math/s_catanhf.c (__catanhf): Likewise.
23987 * math/s_catanhl.c (__catanhl): Likewise.
23988 * math/s_catanl.c (__catanl): Likewise.
23991 * math/s_catan.c (__catan): Calculate imaginary part of result
23992 with log1p not log unless computing log of number close to 0.
23993 * math/s_catanf.c (__catanf): Likewise.
23994 * math/s_catanl.c (__catanl): Likewise.
23995 * math/s_catanh.c (__catanh): Calculate real part of result with
23996 log1p not log unless computing log of number close to 0.
23997 * math/s_catanhf.c (__catanhf): Likewise.
23998 * math/s_catanhl.c (__catanhl): Likewise.
23999 * math/libm-test.inc (catan_test): Add more tests.
24000 (catanh_test): Likewise.
24001 * sysdeps/i386/fpu/libm-test-ulps: Update.
24002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24004 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24006 * benchtests/Makefile: Mention files in which fast and slow
24007 paths of math functions are implemented.
24009 2013-04-23 Roland McGrath <roland@hack.frob.com>
24011 * sysdeps/posix/timespec_get.c: New file.
24013 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24015 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24017 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24019 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24020 powerpc/power5/fpu folders.
24021 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24022 * benchtests/Makefile: Add modf testcase.
24023 * benchtests/bench-modf.c: New file: Benchmark test for mo
24025 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24028 * time/Makefile (tests): Add tst-strptime-whitespace.
24029 * time/strptime_l.c (get_number): Use ISSPACE.
24030 (__strptime_internal): Likewise.
24031 * time/tst-strptime-whitespace.c: New test case.
24033 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24035 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24037 (_nss_files_init): Set it here.
24039 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24041 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24042 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24045 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24047 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24049 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24051 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24054 2013-04-21 David S. Miller <davem@davemloft.net>
24056 * po/ru.po: Update Russion translation from translation project.
24058 2013-04-17 Adam Conrad <adconrad@0c3.net>
24060 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24063 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24065 * configure.in: Remove i386 configure warning. Remove i386 case.
24066 * configure: Regenerate.
24067 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24068 Add example to error message.
24069 * sysdeps/i386/configure: Regenerate.
24071 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24073 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24075 * benchtests/cos-inputs: New file.
24076 * benchtests/slowcos-inputs: New file.
24077 * benchtests/slowcos.c: New file.
24078 * benchtests/slowtan-inputs: New file.
24079 * benchtests/slowtan.c: New file.
24080 * benchtests/tan-inputs: New file.
24082 2013-04-16 Roland McGrath <roland@hack.frob.com>
24084 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24087 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24089 * benchtests/Makefile: Include cppflags-iterator.mk to add
24090 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24092 * Makefile.in (bench-clean): New target.
24093 * benchtests/Makefile (bench-clean): Likewise.
24095 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24097 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24099 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24101 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24103 2013-04-15 Andreas Schwab <schwab@suse.de>
24105 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24106 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24107 * nscd/pwdcache.c (cache_addpw): Likewise.
24108 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24111 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24113 * benchtests/Makefile (bench): Write all output to
24114 bench-out.tmp together.
24116 2013-04-15 Andreas Schwab <schwab@suse.de>
24118 * nscd/nscd.c (main): Don't fork again after closing files.
24120 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24122 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24124 * benchtests/Rules (bench-deps): Collect dependencies into a
24125 single variable. Add Makefile to dependencies.
24126 ($(objpfx)bench-%.c): Depend on bench-deps.
24128 2013-04-12 Roland McGrath <roland@hack.frob.com>
24129 Xavier Roche <roche+kml2@exalead.com>
24132 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24133 just that it's a file descriptor.
24134 * manual/llio.texi (Synchronizing AIO Operations): Update description
24135 for EBADF error from aio_fsync.
24137 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24139 * Rules (bench): Move target definition...
24140 * benchtests/Makefile: ... here.
24142 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24144 * math/libm-test.inc (cos_test): Fix PI/2 test.
24145 (sincos_test): Likewise.
24146 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24147 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24149 2013-04-11 Andreas Schwab <schwab@suse.de>
24152 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24153 accept exponent character only when digits were seen.
24154 * stdio-common/Makefile (tests): Add bug26.
24155 * stdio-common/bug26.c: New file.
24158 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24161 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24163 * Makeconfig (rtld-prefix): Define built linker prefix.
24164 * Rules (run-bench): Use it.
24165 * math/Makefile (run-regen-ulps): Likewise.
24167 * Rules (bench): Remove eval.
24169 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24170 Roland McGrath <roland@hack.frob.com>
24171 Ondrej Bilka <neleai@seznam.cz>
24174 * time/getdate.c: Include ctype.h and alloca.h.
24175 (__getdate_r): Trim leading and trailing spaces of input.
24176 * time/tst-getdate.c (tests): Add tests with leading and
24179 2013-04-08 Roland McGrath <roland@hack.frob.com>
24182 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24183 when computing value.
24185 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24187 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24188 Use testrun.sh to run libm tests.
24191 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24193 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24196 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24198 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24200 * Makefile.in (regen-ulps): New target.
24201 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24202 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24203 [ifneq (no,$(PERL)] (regen-ulps): New target.
24204 [ifeq (no,$(PERL)] (regen-ulps): New target.
24205 * math/libm-test.inc (ulps_file_name): Define.
24206 (output_dir): New variable.
24207 (options): Add "output-dir" option.
24208 (parse_opt): Handle 'o' case.
24209 (main): If output_dir is non-NULL use it as a prefix
24211 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24213 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24215 [BZ #10060, #10062]
24216 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24217 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24218 fail configure if __sync_val_compare_and_swap is not inlined.
24219 * sysdeps/i386/configure: Regenerate.
24220 * configure.in: Build for i686 when configured for i386.
24221 * configure: Regenerate.
24222 * README: Remove i386 reference.
24224 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24226 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24227 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24229 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24231 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24232 (lmsnanval): New variables.
24233 (F): Add conversion tests.
24234 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24235 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24237 * stdio-common/tstdiomisc.c (F): Properly collect individual
24240 [BZ #14686, #15336]
24241 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24242 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24243 Instead, use input NaN values or generate a qNaN by arithmetic
24244 operation. Also fix bugs to comply with the standard.
24245 * math/libm-test.inc (remainder_test): Add more tests.
24247 [BZ #15335, #15342]
24248 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24249 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24250 input NaN values or generate a qNaN by arithmetic operation.
24252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24255 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24258 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24261 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24262 underflowed result.
24263 * math/s_cexpf.c (__cexpf): Likewise.
24264 * math/s_cexpl.c (__cexpl): Likewise.
24265 * math/libm-test.inc (cexp_test): Add more tests.
24267 2013-04-03 Andreas Schwab <schwab@suse.de>
24270 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24271 order arrays from heap if bigger than alloca cutoff.
24273 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24275 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24276 (SNAN_TESTS_double): Refer to GCC PR56831.
24277 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24280 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24282 * Rules (bench): Move bench.out after the run is complete.
24284 * Rules (bench): Echo currently running benchmark.
24286 * benchtests/Makefile (bench): Add atan and slowatan.
24287 * benchtests/atan-inputs: New file.
24288 * benchtests/slowatan-inputs: New file.
24289 * benchtests/slowatan.c: New file.
24291 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24292 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24296 * sysdeps/unix/sysv/linux/kernel-features.h
24297 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24298 __ASSUME_XFS_RESTRICTED_CHOWN.
24299 * sysdeps/unix/sysv/linux/pathconf.c
24300 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24301 Save and restore errno.
24303 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24306 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24307 arguments using __kernel_casinh.
24308 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24309 arguments using __kernel_casinhf.
24310 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24311 arguments using __kernel_casinhl.
24312 * math/libm-test.inc (cacosh_test): Add more tests.
24313 * sysdeps/i386/fpu/libm-test-ulps: Update.
24314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24318 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24319 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24321 * bench/Makefile (bench): Add sin and slowsin.
24322 * benchtests/sin-inputs: New file.
24323 * benchtests/slowsin-inputs: New file.
24324 * benchtests/slowsin.c: New file.
24326 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24327 (bench): Add slowexp and slowpow.
24328 (exp-ITER): Increase iterations.
24329 (pow-ITER): Likewise.
24330 * benchtests/exp-inputs: Change input.
24331 * benchtests/pow-inputs: Likewise.
24332 * benchtests/slowexp-inputs: New file.
24333 * benchtests/slowexp.c: New file.
24334 * benchtests/slowpow-inputs: New file.
24335 * benchtests/slowpow.c: New file.
24337 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24339 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24341 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24342 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24343 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24344 * benchtests/Makefile: Add rint benchtest.
24345 * benchtests/rint-inputs: Input for rint benchtest.
24347 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24349 * Versions.def (libm): Add GLIBC_2.18.
24350 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24351 hidden libm prototypes.
24352 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24353 * math/Makefile (libm-calls): Add s_issignaling.
24354 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24355 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24356 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24358 * math/math.h [__USE_GNU] (issignaling): New macro.
24359 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24360 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24361 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24362 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24363 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24364 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24365 * manual/arith.texi (issignaling): New section.
24366 * manual/libm-err-tab.pl (@all_functions): Update comment.
24367 * math/gen-libm-test.pl (parse_args): Apply special handling for
24369 * math/libm-test.inc (print_float, issignaling_test): New
24371 (check_float_internal): Add issignaling checks.
24372 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24373 default definition.
24374 * sysdeps/powerpc/math-tests.h: New file.
24375 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24377 * math/test-snan.c (TEST_FUNC): Likewise.
24379 2013-03-30 David S. Miller <davem@davemloft.net>
24381 * po/de.po: Update from translation team.
24383 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24386 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24387 imaginary part less than 1.0 and real part less than 0.5
24389 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24390 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24391 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24392 (cacos_test): Add more tests.
24393 (casin_test): Likewise.
24394 (casinh_test): Likewise.
24395 * sysdeps/i386/fpu/libm-test-ulps: Update.
24396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24398 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24400 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24401 ONE with its value.
24403 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24404 (__pow_mp): Replace ONE and MONE with their values.
24405 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24406 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24407 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24408 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24409 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24410 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24412 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24414 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24415 (__pow_mp): Replace ZERO and MZERO with their values.
24416 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24417 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24418 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24420 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24421 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24424 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24426 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24428 2013-03-28 Roland McGrath <roland@hack.frob.com>
24430 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24431 Declare with __attribute__ ((weak)).
24432 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24433 Call __call_tls_dtors only if it's not NULL.
24435 2013-03-28 Roland McGrath <roland@hack.frob.com>
24437 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24438 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24439 magic __ehdr_start linker symbol if it's defined.
24440 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24441 them up here if it was already done.
24443 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24444 (_dl_aux_init): Use const in cast when setting it.
24445 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24446 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24447 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24449 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24451 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24452 * csu/libc-tls.c: Nor here.
24453 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24455 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24456 (__libc_message): Never call vsyslog.
24458 2013-03-28 Alan Modra <amodra@gmail.com>
24460 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24462 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24465 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24468 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24472 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24475 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24476 Don't add gid passed as argument.
24478 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24480 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24483 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24484 imaginary part between 1.0 and 1.5 and real part less than 0.5
24486 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24487 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24488 * math/libm-test.inc (cacos_test): Add more tests.
24489 (casin_test): Likewise.
24490 (casinh_test): Likewise.
24491 * sysdeps/i386/fpu/libm-test-ulps: Update.
24492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24494 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24496 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24499 (denorm): Likewise.
24500 (__dbl_mp): Likewise.
24501 (add_magnitudes): Likewise.
24502 (sub_magnitudes): Likewise.
24510 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24512 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24513 (__dubcos): Likewise.
24514 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24515 (__ieee754_acos): Likewise.
24516 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24517 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24518 (__exp1): Likewise.
24519 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24520 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24522 (my_log2): Likewise.
24523 (checkint): Likewise.
24524 * sysdeps/ieee754/dbl-64/e_remainder.c
24525 (__ieee754_remainder): Likewise.
24526 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24527 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24528 (bsloww): Likewise.
24529 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24531 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24532 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24533 MANTISSA_STORE_T to store computations on mantissa. Use
24534 macros for rounding and division.
24535 (denorm): Likewise.
24536 (__dbl_mp): Likewise.
24537 (add_magnitudes): Likewise.
24538 (sub_magnitudes): Likewise.
24541 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24542 powers of two in terms of TWOPOW macro.
24543 (mp_no): Make type of mantissa as MANTISSA_T.
24544 [!RADIXI]: Define RADIXI.
24545 [!TWO52]: Define TWO52.
24546 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24548 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24550 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24551 llroundl symbol when building for PPC32.
24553 2013-03-24 Mark H Weaver <mhw@netris.org>
24555 * manual/arith.texi (Normalization Functions): Fix prototypes for
24556 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24558 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24562 high value to check if expl overflow.
24563 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24564 to check for underflow and overflow.
24565 * math/libm-test.inc: Add exp test.
24567 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24570 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24573 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24575 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24578 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24580 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24581 wrap blocks consisting of several statements.
24583 * sysdeps/generic/math-tests.h: New file.
24584 * sysdeps/i386/fpu/math-tests.h: Likewise.
24585 * math/test-snan.c: Include it.
24586 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24588 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24591 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24592 (__ieee754_j0l): Do not improve calculations using cos of twice
24593 input for inputs above LDBL_MAX / 2.0L.
24594 (__ieee754_y0l): Likewise.
24595 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24596 (__ieee754_j1l): Do not improve calculations using cos of twice
24597 input for inputs above LDBL_MAX / 2.0L.
24598 (__ieee754_y1l): Likewise.
24599 * math/libm-test.inc (j0_test): Add another test.
24600 (j1_test): Likewise.
24601 (y0_test): Likewise.
24602 (y1_test): Likewise.
24603 * sysdeps/i386/fpu/libm-test-ulps: Update.
24605 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24607 * Rules ($(objpfx)bench-%.c): Include code from a C source
24610 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24613 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24614 imaginary part 1.0 and real part less than 0.5 specially.
24615 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24616 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24617 * math/libm-test.inc (cacos_test): Add more tests.
24618 (casin_test): Likewise.
24619 (casinh_test): Likewise.
24620 * sysdeps/i386/fpu/libm-test-ulps: Update.
24621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24623 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24625 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24626 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24628 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24630 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24631 * config.make.in (config-cflags-sse4): Remove variable.
24632 (config-cflags-avx): Likewise.
24633 (config-cflags-sse2avx): Likewise.
24634 (config-cflags-novzeroupper): Likewise.
24635 (config-asflags-i686): Likewise.
24636 (have-mfma4): Likewise.
24637 (have-as-vis3): Likewise.
24639 * configure.in (MIG): Do not AC_SUBST.
24640 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24641 (libc_cv_cc_sse4): Do not AC_SUBST.
24642 (libc_cv_cc_avx): Likewise.
24643 (libc_cv_cc_sse2avx): Likewise.
24644 (libc_cv_cc_novzeroupper): Likewise.
24645 (libc_cv_cc_fma4): Likewise.
24646 (libc_cv_as_i686): Likewise.
24647 (libc_cv_sparc_as_vis3): Likewise.
24648 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24650 (config-asflags-i686): Likewise.
24651 (config-cflags-avx): Likewise.
24652 (config-cflags-sse2avx): Likewise.
24653 (have-mfma4): Likewise.
24654 (config-cflags-novzeroupper): Likewise.
24655 * sysdeps/mach/configure.in (MIG): Likewise.
24656 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24657 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24659 (config-cflags-avx): Likewise.
24660 (config-cflags-sse2avx): Likewise.
24661 (have-mfma4): Likewise.
24662 (config-cflags-novzeroupper): Likewise.
24663 * configure: Regenerated.
24664 * sysdeps/i386/configure: Likewise.
24665 * sysdeps/mach/configure: Likewise.
24666 * sysdeps/sparc/configure: Likewise.
24667 * sysdeps/x86_64/configure: Likewise.
24669 2013-03-20 Roland McGrath <roland@hack.frob.com>
24672 * locale/programs/localedef.c (options): Put N_ translation marker
24673 on argument names, not just descriptions.
24675 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24677 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24679 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24682 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24684 2013-03-19 Roland McGrath <roland@hack.frob.com>
24686 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24687 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24688 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24689 [!BEFORE_ABORT] (before_abort): New function.
24690 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24691 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24692 (writev_for_fatal): New function.
24693 (WRITEV_FOR_FATAL): New macro; call that.
24694 (backtrace_and_maps): New function.
24695 (BEFORE_ABORT): New macro; call that.
24696 (struct str_list): Type removed.
24697 (__libc_message, __libc_fatal): Functions removed.
24698 Include <sysdeps/posix/libc_fatal.c> instead.
24700 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24702 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24704 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24707 2013-03-19 Andreas Schwab <schwab@suse.de>
24709 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24710 * sysdeps/gnu/configure: Regenerate.
24712 * configure.in: Substitute libc_cv_rtlddir.
24713 * configure: Regenerate.
24714 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24715 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24716 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24717 * elf/Makefile (install-others, CFLAGS-interp.c)
24718 (ldso_install, common-ldd-rewrite): Likewise.
24719 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24720 $(inst_slibdir)/$(rtld-installed-name).
24721 * scripts/rellns-sh: Add -p option.
24722 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24725 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24727 * manual/nptl.texi: Renamed to ...
24728 * manual/threads.texi: ... this.
24729 * manual/Makefile (chapters): Update.
24731 2013-03-18 Roland McGrath <roland@hack.frob.com>
24734 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24735 on argument names, not just descriptions.
24736 * malloc/memusagestat.c (options): Likewise.
24737 * nss/getent.c (options): Likewise.
24739 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24742 * iconv/iconv_prog.c (options): Put N_ translation marker
24743 on argument names, not just descriptions.
24744 * iconv/iconvconfig.c (options): Likewise.
24746 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24748 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24749 implementation which is faster on all x86_64 architectures.
24750 Tested on AMD, Intel Nehalem, SNB, IVB.
24751 * sysdeps/x86_64/strnlen.S: Likewise.
24753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24754 Remove all multiarch strlen and strnlen versions.
24755 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24756 Remove strlen and strnlen related parts.
24758 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24759 Inline strlen part.
24760 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24762 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24763 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24764 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24765 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24766 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24767 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24769 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24771 * manual/memory.texi (Malloc Tunable Parameters):
24772 Sort parameters alphabetically. Add comments for missing entries.
24774 2013-03-17 David S. Miller <davem@davemloft.net>
24776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24778 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24781 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24782 for arguments at most half maximum finite value.
24783 * math/libm-test.inc (j0_test): Add more tests.
24784 (j1_test): Likewise.
24785 (y0_test): Likewise.
24786 (y1_test): Likewise.
24787 * sysdeps/i386/fpu/libm-test-ulps: Update.
24788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24792 1 / x and functions P and Q for arguments above 0x1p256L.
24793 (__ieee754_y0l): Likewise.
24794 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24795 (__ieee754_y1l): Likewise.
24796 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24797 (j1_test): Likewise.
24798 (y0_test): Likewise.
24799 (y1_test): Likewise.
24801 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24803 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24806 2013-03-15 Roland McGrath <roland@hack.frob.com>
24808 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24809 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24810 zero since it's initialized to EXEC_PAGESIZE.
24812 * sysdeps/unix/sysv/linux/ldsodefs.h
24813 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24814 * sysdeps/generic/ldsodefs.h: ... here.
24816 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24818 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24820 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24822 * math/test-snan.c: Renamed from
24823 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24824 * math/Makefile (tests): Add test-snan.
24825 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24828 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24829 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24831 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24832 __builtin_nan family of functions.
24833 * math/libm-test.inc (initialize): Initialize qnan_value with
24834 __builtin_nan family of functions.
24835 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24837 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24839 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24840 storage class. Initialize qNaN_var and sNaN_var with
24841 __builtin_nan and __builtin_nans families of functions,
24844 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24845 (sqrt_test): Remove duplicate test with qNaN input.
24846 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24847 (round_test, signbit_test, significand_test): Note missing +/-Inf
24848 as well as qNaN tests.
24850 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24851 qNaN_var. Fix a few strings, too.
24852 * math/libm-test.inc (nan_value): Rename to qnan_value.
24853 * math/gen-libm-test.pl (%beautify): Adjust to that.
24854 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24855 * math/test-misc.c (main): Likewise.
24856 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24857 to __qnan_bytes, and __qnan_union, respectively.
24858 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24860 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24861 and lqnanval, respectively.
24862 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24863 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24864 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24865 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24867 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24868 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24871 * math/test-misc.c (main): Fix copy'n'pastos.
24872 * misc/tst-efgcvt.c (special): Likewise.
24874 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24875 Remove declarations.
24877 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24879 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24880 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24881 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24882 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24884 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24886 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24887 macro to return vdso values correctly in IFUNC implementations.
24888 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24889 Optimization by using IFUNC.
24891 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24892 Richard Henderson <rth@redhat.com>
24893 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24895 * Makefile.in (bench): New target.
24896 * NEWS: Mention the benchmark framework.
24897 * Rules (bench): Likewise.
24898 (binaries-bench): Generate binaries for functions to
24900 * benchtests/Makefile: New makefile for benchmark tests.
24901 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24903 * benchtests/exp-inputs: New input file for EXP function.
24904 * benchtests/pow-inputs: New input file for POW function.
24905 * scripts/bench.pl: New script to generate source files for
24906 benchmark programs.
24908 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24910 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24911 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24912 computations on mantissa. Use macros for rounding and
24914 (denorm): Likewise.
24915 (__dbl_mp): Likewise.
24916 (add_magnitudes): Likewise.
24917 (sub_magnitudes): Likewise.
24920 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24921 powers of two in terms of TWOPOW macro.
24922 (mp_no): Make type of mantissa as MANTISSA_T.
24923 [!RADIXI]: Define RADIXI.
24924 [!TWO52]: Define TWO52.
24925 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24927 * manual/nptl.texi (cindex): Modify threads to pthreads.
24929 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24931 * sysdeps/x86_64/preconfigure: Regenerated.
24933 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24936 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24938 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24939 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24941 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24942 * math/libm-test.inc (j0_test): Do not allow one spurious
24943 underflow exception.
24944 (y1_test): Likewise.
24946 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24948 * manual/Makefile (chapters): Add nptl.
24949 * manual/debug.texi (Debugging Support): Add link to Threads
24951 * manual/nptl.texi: New file.
24953 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24955 2013-03-14 Petr Baudis <pasky@ucw.cz>
24957 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24958 for non-NULL pointer before the memory validity test. Pointed
24959 out by Holger Brunck <holger.brunck@keymile.com>.
24961 2013-03-13 Andreas Schwab <schwab@suse.de>
24963 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24966 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24968 * timezone/zic.c: Update from tzcode 2013b.
24970 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24972 * manual/install.texi (Configuring and compiling):
24973 Mention i686 and i586.
24974 * INSTALL: Regenerate.
24976 2013-03-12 Roland McGrath <roland@hack.frob.com>
24978 * sysdeps/init_array/elf-init.c: New file.
24980 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24981 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24983 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24984 __gmon_start__ as global, but as static with a .preinit_array pointer.
24985 * sysdeps/init_array/gmon-start.c: New file. Use that.
24986 * sysdeps/init_array/crti.S: New file, empty except for comments.
24987 * sysdeps/init_array/crtn.S: Likewise.
24989 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24991 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24994 Remove Prefer_SSE_for_memop.
24995 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24996 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24997 HAS_PREFER_SSE_FOR_MEMOP.
24998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25000 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25001 Remove bzero, memset ifunc support.
25002 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25003 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25004 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25005 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25007 2013-03-11 Andreas Schwab <schwab@suse.de>
25010 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25013 (GLIBC_2.16): Remove pthread_atfork.
25015 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25017 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25018 (ptestcases.h): Likewise.
25020 2013-03-08 Roland McGrath <roland@hack.frob.com>
25022 * Makeconfig ($(common-objpfx)config.status): Depend on
25023 sysdeps/*/preconfigure{,.in} too.
25025 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25027 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25028 (__free_hook): Use void * instead of __malloc_ptr_t.
25029 (__malloc_hook): Likewise.
25030 (__realloc_hook): Likewise.
25031 (__memalign_hook): Likewise.
25032 (__after_morecore_hook): Likewise.
25033 * malloc/arena.c (save_malloc_hook): Likewise.
25034 (save_free_hook): Likewise.
25035 * malloc/hooks.c (malloc_hook_ini): Likewise.
25036 (realloc_hook_ini): Likewise.
25037 (memalign_hook_ini): Likewise.
25038 * malloc/malloc.c (malloc_hook_ini): Likewise.
25039 (realloc_hook_ini): Likewise.
25040 (memalign_hook_ini): Likewise.
25041 (__free_hook): Likewise.
25042 (__malloc_hook): Likewise.
25043 (__realloc_hook): Likewise.
25044 (__memalign_hook): Likewise.
25045 (__libc_malloc): Likewise.
25046 (__libc_free): Likewise.
25047 (__libc_realloc): Likewise.
25048 (__libc_memalign): Likewise.
25049 (__libc_valloc): Likewise.
25050 (__libc_pvalloc): Likewise.
25051 (__libc_calloc): Likewise.
25052 (__posix_memalign): Likewise.
25053 * malloc/morecore.c (__sbrk): Likewise.
25054 (__default_morecore): Likewise.
25056 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25058 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25059 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25060 __malloc_ptrdiff_t.
25062 * malloc/malloc.h (__malloc_size_t): Remove macro.
25063 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25065 (old_memalign_hook): Likewise.
25066 (old_realloc_hook): Likewise.
25067 (struct hdr): Likewise.
25069 (mallochook): Likewise.
25070 (memalignhook): Likewise.
25071 (reallochook): Likewise.
25072 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25073 (tr_old_realloc_hook): Likewise.
25074 (tr_old_memalign_hook): Likewise.
25075 (tr_mallochook): Likewise.
25076 (tr_reallochook): Likewise.
25077 (tr_memalignhook): Likewise.
25079 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25082 default_ldbl_pack and using as default implementation.
25083 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25085 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25086 redundant definition.
25087 (ldbl_insert_mantissa): Likewise.
25088 (ldbl_canonicalize): Likewise.
25089 (ldbl_nearbyint): Likewise.
25090 (ldbl_pack): Rename to ldbl_pack_ppc.
25091 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25092 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25093 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25095 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25098 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25099 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25100 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25102 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25103 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25104 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25106 2013-03-07 Andreas Jaeger <aj@suse.de>
25108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25111 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25113 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25114 Include mpa.h and declare __MPEXP.
25115 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25116 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25117 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25118 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25119 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25120 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25121 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25123 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25124 (__slowpow): Use long double EXPL and LOGL functions to
25126 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25127 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25128 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25129 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25130 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25131 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25134 intermediate variable to calculate exponent.
25136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25140 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25141 [!NO__SQR]: Define __sqr.
25142 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25143 and NO__SQR. Remove all code except __mul and __sqr. Include
25144 sysdeps/ieee754/dbl-64/mpa.c.
25145 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25148 * posix/Makefile (tests): Add tst-pathconf.
25149 * posix/tst-pathconf.c: New test case.
25150 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25152 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25154 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25156 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25158 2013-03-06 Andreas Jaeger <aj@suse.de>
25160 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25161 definition via __MAP_ANONYMOUS.
25163 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25164 it's not part of Linux headers.
25166 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25167 (MAP_HUGE_MASK): Define.
25169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25171 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25174 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25175 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25177 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25178 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25180 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25182 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25183 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25184 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25185 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25186 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25187 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25189 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25193 Handle f2fs and efivarfs.
25195 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25198 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25199 (EFIVARFS_MAGIC): Add.
25200 (F2FS_LINK_MAX): Add.
25202 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25204 * stdio-common/vfprintf.c: Replace __builtin_expect with
25207 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25210 * sysdeps/generic/bp-sym.h: Remove file.
25211 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25212 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25213 <bp-sym.h> and <bp-asm.h>.
25214 (__longjmp): Don't use BP_SYM.
25215 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25217 (memcpy): Don't use BP_SYM.
25218 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25219 <bp-sym.h> and <bp-asm.h>.
25220 (memcpy): Don't use BP_SYM.
25221 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25223 (memcpy): Don't use BP_SYM.
25224 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25226 (memset): Don't use BP_SYM.
25227 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25228 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25229 (__bzero): Don't use BP_SYM.
25230 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25231 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25232 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25233 <bp-sym.h> and <bp-asm.h>.
25234 (memcmp): Don't use BP_SYM. Remove comment about bounded
25236 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25237 <bp-sym.h> and <bp-asm.h>.
25238 (memcpy): Don't use BP_SYM.
25239 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25240 <bp-sym.h> and <bp-asm.h>.
25241 (memset): Don't use BP_SYM.
25242 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25243 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25244 (__bzero): Don't use BP_SYM.
25245 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25246 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25248 <bp-sym.h> and <bp-asm.h>.
25249 (strncmp): Don't use BP_SYM. Remove comment about bounded
25251 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25252 <bp-sym.h> and <bp-asm.h>.
25253 (memcpy): Don't use BP_SYM.
25254 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25255 <bp-sym.h> and <bp-asm.h>.
25256 (memset): Don't use BP_SYM.
25257 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25258 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25259 (__bzero): Don't use BP_SYM.
25260 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25261 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25262 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25263 <bp-sym.h> and <bp-asm.h>.
25264 (__memchr): Don't use BP_SYM.
25265 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25266 <bp-sym.h> and <bp-asm.h>.
25267 (memcmp): Don't use BP_SYM. Remove comment about bounded
25269 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25270 <bp-sym.h> and <bp-asm.h>.
25271 (memcpy): Don't use BP_SYM.
25272 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25273 <bp-sym.h> and <bp-asm.h>.
25274 (__mempcpy): Don't use BP_SYM.
25275 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25276 <bp-sym.h> and <bp-asm.h>.
25277 (__memrchr): Don't use BP_SYM.
25278 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25279 <bp-sym.h> and <bp-asm.h>.
25280 (memset): Don't use BP_SYM.
25281 (__bzero): Likewise.
25282 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25283 <bp-sym.h> and <bp-asm.h>.
25284 (__rawmemchr): Don't use BP_SYM.
25285 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25286 <bp-sym.h> and <bp-asm.h>.
25287 (__STRCMP): Don't use BP_SYM.
25288 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25289 <bp-sym.h> and <bp-asm.h>.
25290 (strchr): Don't use BP_SYM.
25291 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25292 <bp-sym.h> and <bp-asm.h>.
25293 (__strchrnul): Don't use BP_SYM.
25294 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25295 <bp-sym.h> and <bp-asm.h>.
25296 (strlen): Don't use BP_SYM.
25297 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25298 <bp-sym.h> and <bp-asm.h>.
25299 (strncmp): Don't use BP_SYM. Remove comment about bounded
25301 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25302 <bp-sym.h> and <bp-asm.h>.
25303 (__strnlen): Don't use BP_SYM.
25304 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25305 <bp-sym.h> and <bp-asm.h>.
25306 (__GI__setjmp): Don't use BP_SYM.
25307 (_setjmp): Likewise.
25308 (__sigsetjmp): Likewise.
25309 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25310 (L(start_addresses)): Don't use BP_SYM.
25311 (_start): Likewise.
25312 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25314 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25315 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25316 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25317 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25318 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25320 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25321 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25322 about bounded pointers.
25323 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25324 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25325 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25327 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25328 about bounded pointers. Remove GKM FIXME comments.
25329 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25330 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25332 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25333 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25334 Remove GKM FIXME comments.
25335 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25336 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25337 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25339 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25340 about bounded pointers. Remove GKM FIXME comment.
25341 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25343 (strncmp): Don't use BP_SYM. Remove comment about bounded
25345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25346 <bp-sym.h> and <bp-asm.h>.
25347 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25349 <bp-sym.h> and <bp-asm.h>.
25350 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25353 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25355 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25358 2013-03-05 David S. Miller <davem@davemloft.net>
25360 * po/es.po: Update from translation team.
25362 2013-03-05 Andreas Jaeger <aj@suse.de>
25364 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25365 <bits/mman-linux.h>.
25366 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25368 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25369 <bits/mman-linux.h> to end of file.
25370 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25372 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25373 <bits/mman-linux.h> to end of file.
25374 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25376 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25377 <bits/mman-linux.h> to end of file.
25379 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25380 (MCL_CURRENT, MCL_FUTURE): Define here.
25382 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25385 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25387 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25389 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25391 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25392 fourth parameter needed for rt_sigprocmask syscall.
25393 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25394 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25395 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25396 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25397 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25398 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25400 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25403 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25404 comment about bounded pointers.
25405 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25406 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25408 2013-03-04 Andreas Jaeger <aj@suse.de>
25410 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25411 common definitions.
25413 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25414 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25415 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25416 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25417 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25418 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25420 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25423 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25424 __ieee754_sqrl instead of __sqrl.
25426 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25428 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25429 * sysdeps/powerpc/fpu_control.h: ... here.
25430 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25431 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25432 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25433 * sysdeps/powerpc/bits/mathinline.h: ... here.
25435 2013-03-01 Roland McGrath <roland@hack.frob.com>
25437 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25438 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25439 to just [NEED_DL_SYSINFO_DSO].
25440 * elf/dl-support.c: Likewise.
25441 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25442 * elf/rtld.c (dl_main): Likewise.
25443 * elf/setup-vdso.h (setup_vdso): Likewise.
25444 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25445 * sysdeps/unix/sysv/linux/dl-sysdep.c
25446 (_dl_discover_osversion): Likewise.
25448 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25450 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25451 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25453 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25455 * NEWS: Mention libm performance improvements and non-x86 PI
25458 * csu/libc-start.c (__pthread_initialize_minimal): Change
25459 function arguments.
25460 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25462 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25465 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25466 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25467 <bp-sym.h> and <bp-asm.h>.
25468 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25469 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25471 (memcpy): Don't use BP_SYM.
25472 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25474 (__mpn_add_n): Don't use BP_SYM.
25475 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25476 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25478 (__mpn_addmul_1): Don't use BP_SYM.
25479 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25480 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25482 (_setjmp): Don't use BP_SYM.
25483 (__novmx_setjmp): Likewise.
25484 (__GI__setjmp): Likewise.
25485 (__vmx_setjmp): Likewise.
25486 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25488 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25489 (__bzero): Don't use BP_SYM.
25490 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25491 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25492 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25493 <bp-sym.h> and <bp-asm.h>.
25494 (memcpy): Don't use BP_SYM.
25495 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25496 <bp-sym.h> and <bp-asm.h>.
25497 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25499 <bp-sym.h> and <bp-asm.h>.
25500 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25501 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25503 (__mpn_lshift): Don't use BP_SYM.
25504 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25505 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25507 (memset): Don't use BP_SYM.
25508 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25509 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25510 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25512 (__mpn_mul_1): Don't use BP_SYM.
25513 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25515 <bp-sym.h> and <bp-asm.h>.
25516 (memcmp): Don't use BP_SYM.
25517 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25518 <bp-sym.h> and <bp-asm.h>.
25519 (memcpy): Don't use BP_SYM.
25520 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25521 <bp-sym.h> and <bp-asm.h>.
25522 (memset): Don't use BP_SYM.
25523 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25524 <bp-sym.h> and <bp-asm.h>.
25525 (strncmp): Don't use BP_SYM.
25526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25527 <bp-sym.h> and <bp-asm.h>.
25528 (memcpy): Don't use BP_SYM.
25529 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25530 <bp-sym.h> and <bp-asm.h>.
25531 (memset): Don't use BP_SYM.
25532 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25533 <bp-sym.h> and <bp-asm.h>.
25534 (__memchr): Don't use BP_SYM.
25535 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25536 <bp-sym.h> and <bp-asm.h>.
25537 (memcmp): Don't use BP_SYM.
25538 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25539 <bp-sym.h> and <bp-asm.h>.
25540 (memcpy): Don't use BP_SYM.
25541 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25542 <bp-sym.h> and <bp-asm.h>.
25543 (__mempcpy): Don't use BP_SYM.
25544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25545 <bp-sym.h> and <bp-asm.h>.
25546 (__memrchr): Don't use BP_SYM.
25547 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25548 <bp-sym.h> and <bp-asm.h>.
25549 (memset): Don't use BP_SYM.
25550 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25551 <bp-sym.h> and <bp-asm.h>.
25552 (__rawmemchr): Don't use BP_SYM.
25553 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25554 <bp-sym.h> and <bp-asm.h>.
25555 (__STRCMP): Don't use BP_SYM.
25556 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25557 <bp-sym.h> and <bp-asm.h>.
25558 (strchr): Don't use BP_SYM.
25559 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25560 <bp-sym.h> and <bp-asm.h>.
25561 (__strchrnul): Don't use BP_SYM.
25562 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25563 <bp-sym.h> and <bp-asm.h>.
25564 (strlen): Don't use BP_SYM.
25565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25566 <bp-sym.h> and <bp-asm.h>.
25567 (strncmp): Don't use BP_SYM.
25568 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25569 <bp-sym.h> and <bp-asm.h>.
25570 (__strnlen): Don't use BP_SYM.
25571 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25573 (__mpn_rshift): Don't use BP_SYM.
25574 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25575 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25576 <bp-sym.h> and <bp-asm.h>.
25577 (__sigsetjmp): Don't use BP_SYM.
25578 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25579 (L(start_addresses)): Don't use BP_SYM.
25580 (_start): Likewise.
25581 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25583 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25584 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25585 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25586 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25588 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25589 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25590 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25591 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25593 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25595 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25596 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25598 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25600 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25601 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25602 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25604 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25606 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25608 (strncmp): Don't use BP_SYM,
25609 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25611 (__mpn_sub_n): Don't use BP_SYM.
25612 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25613 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25615 (__mpn_submul_1): Don't use BP_SYM.
25616 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25618 <bp-sym.h> and <bp-asm.h>.
25619 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25621 <bp-sym.h> and <bp-asm.h>.
25622 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25625 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25627 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25628 Use ZK to minimize writes to Z.
25629 (sub_magnitudes): Simplify code a bit.
25630 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25631 Use ZK to minimize writes to Z.
25632 (sub_magnitudes): Simplify code a bit.
25634 2013-02-27 Roland McGrath <roland@hack.frob.com>
25636 * csu/gmon-start.c: Add special exception to license text.
25638 2013-02-27 Richard Henderson <rth@redhat.com>
25640 * scripts/config.guess: Update from config.git.
25641 * scripts/config.sub: Likewise.
25643 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25647 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25649 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25651 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25653 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25655 2013-02-26 Roland McGrath <roland@hack.frob.com>
25657 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25658 [$(build-shared = yes].
25660 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25662 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25663 (__mul): Reduce iterations for calculating mantissa.
25665 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25667 (__mpranred): Likewise.
25670 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25671 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25673 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25675 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25676 Define __attribute__.
25678 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25680 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25682 * posix/regex_internal.h (__attribute): Remove.
25683 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25684 (re_string_context_at): Likewise.
25685 (bitset_not): Use __attribute__ and mark function as possibly
25687 (bitset_merge): Likewise.
25688 (bitset_mask): Likewise.
25689 (re_string_char_size_at): Likewise.
25690 (re_string_wchar_at): Likewise.
25691 (re_string_elem_size_at): Likewise.
25693 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25695 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25699 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25703 (denorm): Likewise.
25704 (__dbl_mp): Likewise.
25705 (add_magnitudes): Likewise.
25706 (sub_magnitudes): Likewise.
25710 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25713 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25716 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25719 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25720 up changes with default code.
25721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25724 2013-02-24 Allan McRae <allan@archlinux.org>
25726 * manual/socket.texi (The Internet Namespace): Order menu items
25727 to match that in the file.
25729 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25730 node listing of the info page menu.
25732 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25735 * sysdeps/i386/bp-asm.h: Remove file.
25736 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25737 (PARMS): Do not use macros from bp-asm.h.
25741 (__mpn_add_n): Do not use BP_SYM
25742 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25744 (PARMS): Do not use macros from bp-asm.h.
25747 (__mpn_addmul_1): Do not use BP_SYM
25748 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25750 (PARMS): Do not use macros from bp-asm.h.
25751 (SIGMSK): Likewise.
25752 (_setjmp): Likewise. Do not use BP_SYM.
25753 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25755 (PARMS): Do not use macros from bp-asm.h.
25756 (SIGMSK): Likewise.
25757 (setjmp): Likewise. Do not use BP_SYM.
25758 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25760 (PARMS): Do not use macros from bp-asm.h.
25761 (__frexp): Do not use BP_SYM.
25763 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25765 (PARMS): Do not use macros from bp-asm.h.
25766 (__frexpf): Do not use BP_SYM.
25767 (frexpf): Likewise.
25768 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25770 (PARMS): Do not use macros from bp-asm.h.
25771 (__frexpl): Do not use BP_SYM.
25772 (frexpl): Likewise.
25773 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25775 (PARMS): Do not use macros from bp-asm.h.
25776 (__remquo): Do not use BP_SYM.
25777 (remquo): Likewise.
25778 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25780 (PARMS): Do not use macros from bp-asm.h.
25781 (__remquof): Do not use BP_SYM.
25782 (remquof): Likewise.
25783 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25785 (PARMS): Do not use macros from bp-asm.h.
25786 (__remquol): Do not use BP_SYM.
25787 (remquol): Likewise.
25788 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25790 (PARMS): Do not use macros from bp-asm.h.
25793 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25794 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25796 (PARMS): Do not use macros from bp-asm.h.
25797 (strlen): Do not use BP_SYM.
25798 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25800 (PARMS): Do not use macros from bp-asm.h.
25804 (__mpn_add_n): Do not use BP_SYM.
25805 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25807 (PARMS): Do not use macros from bp-asm.h.
25810 (__mpn_addmul_1): Do not use BP_SYM.
25811 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25814 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25816 (PARMS): Do not use macros from bp-asm.h.
25819 (__mpn_lshift): Do not use BP_SYM.
25820 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25822 (PARMS): Do not use macros from bp-asm.h.
25826 (memcpy): Likewise. Do not use BP_SYM.
25827 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25828 libc_hidden_def and weak_alias.
25829 (mempcpy): Do not use BP_SYM in weak_alias.
25830 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25832 (PARMS): Do not use macros from bp-asm.h.
25835 [!BZERO_P] (CHR): Likewise.
25836 (memset): Likewise. Do not use BP_SYM.
25837 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25839 (PARMS): Do not use macros from bp-asm.h.
25842 (__mpn_mul_1): Do not use BP_SYM.
25843 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25845 (PARMS): Do not use macros from bp-asm.h.
25848 (__mpn_rshift): Do not use BP_SYM.
25849 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25851 (PARMS): Do not use macros from bp-asm.h.
25854 (strchr): Likewise. Do not use BP_SYM.
25855 (index): Do not use BP_SYM in weak_alias.
25856 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25858 (PARMS): Do not use macros from bp-asm.h.
25861 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25862 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25864 (PARMS): Do not use macros from bp-asm.h.
25865 (strlen): Do not use BP_SYM.
25866 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25868 (PARMS): Do not use macros from bp-asm.h.
25872 (__mpn_sub_n): Do not use BP_SYM.
25873 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25875 (PARMS): Do not use macros from bp-asm.h.
25878 (__mpn_submul_1): Do not use BP_SYM.
25879 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25881 (PARMS): Do not use macros from bp-asm.h.
25885 (__mpn_add_n): Do not use BP_SYM.
25886 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25889 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25891 (PARMS): Do not use macros from bp-asm.h.
25894 (memcmp): Do not use BP_SYM.
25895 (bcmp): Do not use BP_SYM in weak_alias.
25896 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25898 (PARMS): Do not use macros from bp-asm.h.
25902 (memcpy): Likewise. Do not use BP_SYM.
25903 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25905 (PARMS): Do not use macros from bp-asm.h.
25909 (memmove): Likewise. Do not use BP_SYM.
25910 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25912 (PARMS): Do not use macros from bp-asm.h.
25916 (__mempcpy): Likewise. Do not use BP_SYM.
25917 (mempcpy): Do not use BP_SYM in weak_alias.
25918 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25920 (PARMS): Do not use macros from bp-asm.h.
25923 [!BZERO_P] (CHR): Likewise.
25924 (memset): Likewise. Do not use BP_SYM.
25925 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25927 (PARMS): Do not use macros from bp-asm.h.
25929 (strcmp): Do not use BP_SYM.
25930 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25932 (PARMS): Do not use macros from bp-asm.h.
25935 [USE_AS_STRTOK_R] (SAVE): Likewise.
25936 (FUNCTION): Likewise. Do not use BP_SYM.
25937 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25939 (strtok_r): Likewise.
25940 (__GI___strtok_r): Likewise.
25941 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25942 (PARMS): Do not use macros from bp-asm.h.
25945 (__mpn_lshift): Do not use BP_SYM.
25946 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25947 (PARMS): Do not use macros from bp-asm.h.
25950 (__memchr): Do not use BP_SYM.
25951 (memchr): Do not use BP_SYM in weak_alias.
25952 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25953 (PARMS): Do not use macros from bp-asm.h.
25956 (memcmp): Do not use BP_SYM.
25957 (bcmp): Do not use BP_SYM in weak_alias.
25958 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25959 (PARMS): Do not use macros from bp-asm.h.
25962 (__mpn_mul_1): Do not use BP_SYM.
25963 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25965 (PARMS): Do not use macros from bp-asm.h.
25968 (__rawmemchr): Do not use BP_SYM.
25969 (rawmemchr): Do not use BP_SYM in weak_alias.
25970 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25971 (PARMS): Do not use macros from bp-asm.h.
25974 (__mpn_rshift): Do not use BP_SYM.
25975 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25976 (PARMS): Do not use macros from bp-asm.h.
25977 (SIGMSK): Likewise.
25978 (__sigsetjmp): Likewise. Do not use BP_SYM.
25979 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25980 (_start): Do not use BP_SYM.
25981 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25982 (PARMS): Do not use macros from bp-asm.h.
25985 (__stpcpy): Likewise. Do not use BP_SYM.
25986 (stpcpy): Do not use BP_SYM in weak_alias.
25987 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25989 (PARMS): Do not use macros from bp-asm.h.
25993 (__stpncpy): Likewise. Do not use BP_SYM.
25994 (stpncpy): Do not use BP_SYM in weak_alias.
25995 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25996 (PARMS): Do not use macros from bp-asm.h.
25999 (strchr): Likewise. Do not use BP_SYM.
26000 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26002 (PARMS): Do not use macros from bp-asm.h.
26005 (__strchrnul): Likewise. Do not use BP_SYM.
26006 (strchrnul): Do not use BP_SYM in weak_alias.
26007 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26009 (PARMS): Do not use macros from bp-asm.h.
26011 (strcspn): Do not use BP_SYM.
26012 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26014 (PARMS): Do not use macros from bp-asm.h.
26017 (strpbrk): Likewise. Do not use BP_SYM.
26018 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26020 (PARMS): Do not use macros from bp-asm.h.
26023 (strrchr): Likewise. Do not use BP_SYM.
26024 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26025 (PARMS): Do not use macros from bp-asm.h.
26027 (strspn): Do not use BP_SYM.
26028 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26029 (PARMS): Do not use macros from bp-asm.h.
26033 (FUNCTION): Likewise. Do not use BP_SYM.
26034 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26036 (strtok_r): Likewise.
26037 (__GI___strtok_r): Likewise.
26038 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26039 (PARMS): Do not use macros from bp-asm.h.
26043 (__mpn_sub_n): Do not use BP_SYM.
26044 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26046 (PARMS): Do not use macros from bp-asm.h.
26049 (__mpn_submul_1): Do not use BP_SYM.
26050 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26052 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26054 (PARMS): Do not use macros from bp-asm.h.
26059 (__clone): Do not use BP_SYM.
26060 (clone): Do not use BP_SYM in weak_alias.
26061 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26063 (PARMS): Do not use macros from bp-asm.h.
26065 (__mmap64): Do not use BP_SYM.
26066 (mmap64): Do not use BP_SYM in weak_alias.
26067 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26068 <bp-sym.h> and <bp-asm.h>.
26069 (PARMS): Do not use macros from bp-asm.h.
26070 (__posix_fadvise64_l64): Do not use BP_SYM.
26071 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26072 (PARMS): Do not use macros from bp-asm.h.
26074 (semtimedop): Do not use BP_SYM.
26075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26078 2013-02-21 Allan McRae <allan@archlinux.org>
26080 * manual/message.texi (Charset conversion in gettext):
26081 Move @end statement to beginning of line.
26083 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26090 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26091 (denorm): Likewise.
26092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26095 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26097 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26098 tail-call to the resolved function if pltexit isn't needed.
26100 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26102 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26103 or Y being zero as being unlikely.
26104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26107 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26109 * manual/nss.texi (System Databases and Name Service Switch):
26110 Remove frobnicate @pxref.
26112 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26114 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26115 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26117 2013-02-20 Petr Machata <pmachata@redhat.com>
26119 * elf/elf.h (R_ARM_TARGET1): New macro.
26120 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26121 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26122 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26123 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26124 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26125 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26126 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26127 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26128 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26129 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26130 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26131 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26132 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26133 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26134 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26135 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26136 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26137 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26138 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26139 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26140 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26141 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26142 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26143 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26144 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26145 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26146 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26147 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26148 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26149 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26150 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26151 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26152 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26153 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26154 (R_ARM_THM_GOT_BREL12): Likewise.
26155 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26156 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26157 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26158 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26159 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26160 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26161 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26162 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26163 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26165 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26167 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26168 __attribute_used__ to __attribute__ ((unused)).
26170 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26172 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26174 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26175 comment formatting.
26176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26178 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26181 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26183 (ENTER): Remove both macro definitions.
26185 (CHECK_BOUNDS_LOW): Likewise.
26186 (CHECK_BOUNDS_HIGH): Likewise.
26187 (CHECK_BOUNDS_BOTH): Likewise.
26188 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26189 (RETURN_BOUNDED_POINTER): Likewise.
26190 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26191 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26192 (POP_ERRNO_LOCATION_RETURN): Likewise.
26193 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26194 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26195 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26197 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26198 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26199 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26200 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26201 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26202 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26203 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26204 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26205 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26206 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26207 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26208 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26209 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26210 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26212 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26213 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26215 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26216 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26217 * sysdeps/i386/i586/memset.S (memset): Likewise.
26218 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26219 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26220 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26222 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26223 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26224 Change uses of L(2) to L(out).
26225 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26226 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26227 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26228 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26229 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26231 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26232 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26234 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26235 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26236 (RETURN): Do not use macro LEAVE.
26237 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26238 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26239 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26240 * sysdeps/i386/i686/memset.S (memset): Likewise.
26241 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26242 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26243 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26244 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26246 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26247 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26248 L(1_2) and L(1_3) into L(1).
26249 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26250 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26251 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26252 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26253 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26254 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26255 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26256 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26257 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26259 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26260 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26261 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26262 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26263 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26264 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26265 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26266 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26267 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26268 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26269 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26270 * sysdeps/i386/strspn.S (strspn): Likewise.
26271 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26273 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26274 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26275 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26276 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26277 L(1_3) into L(1_1).
26278 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26279 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26280 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26282 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26284 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26286 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26289 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26291 * math/atest-exp.c (exp_mpn): Remove ROUND.
26292 * math/atest-exp2.c (exp_mpn): Likewise.
26293 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26295 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26296 * stdlib/tst-tls-atexit-lib.c: Likewise.
26297 * stdlib/tst-tls-atexit.c: Likewise.
26299 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26301 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26302 and __attribute_alloc_size__.
26304 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26306 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26307 __attribute_alloc_size__.
26308 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26309 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26311 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26313 * include/programs/xmalloc.h: New file.
26314 * catgets/gencat.c: Include it.
26315 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26316 * elf/pldd.c: Likewise.
26317 * iconv/iconv_charmap.c: Likewise.
26318 * iconv/iconvconfig.c: Likewise.
26319 * iconv/strtab.c: Likewise.
26320 * locale/programs/locale.c: Likewise.
26321 * locale/programs/localedef.h: Likewise.
26322 * locale/programs/simple-hash.c: Likewise.
26323 * nscd/nscd.h: Likewise.
26324 * nss/makedb.c: Likewise.
26325 * sysdeps/generic/ldconfig.h: Likewise.
26327 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26329 * Versions.def: Add GLIBC_2.18.
26330 * include/link.h (struct link_map): New member l_tls_dtor_count.
26331 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26332 (__call_tls_dtors): Likewise.
26333 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26334 __cxa_thread_atexit_impl.
26335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26343 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26346 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26351 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26352 (tests): Add test case tst-tls-atexit.
26353 (modules-names): Add shared library for tst-tls-atexit.
26354 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26355 (GLIBC_PRIVATE): Add __call_tls_dtors.
26356 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26358 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26359 * stdlib/tst-tls-atexit.c: New test case.
26360 * stdlib/tst-tls-atexit-lib.c: New test case.
26362 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26364 * elf/Versions (ld): Add _dl_find_dso_for_object.
26365 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26366 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26367 (dl_open_worker): Use _dl_find_dso_for_object.
26368 * elf/dl-sym.c (do_sym): Likewise.
26369 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26371 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26373 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26374 Syntactic changes only.
26375 (_dl_runtime_profile): Do a tail-call to the resolved function.
26377 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26380 * sysdeps/x86_64/bp-asm.h: Remove file.
26381 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26382 <bp-sym.h> and <bp-asm.h>.
26383 (__clone): Do not use BP_SYM.
26384 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26385 <bp-sym.h> and <bp-asm.h>.
26386 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26387 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26389 (_setjmp): Do not use BP_SYM.
26390 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26392 (setjmp): Do not use BP_SYM.
26393 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26395 (mempcpy): Do not use BP_SYM in weak_alias.
26396 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26398 (strchr): Do not use BP_SYM.
26399 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26401 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26402 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26403 (_start): Do not use BP_SYM.
26404 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26406 (strcat): Do not use BP_SYM.
26407 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26409 (STRCMP): Do not use BP_SYM.
26410 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26412 (STRCPY): Do not use BP_SYM.
26413 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26415 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26417 (FUNCTION): Do not use BP_SYM.
26418 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26420 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26422 2013-02-17 Andreas Jaeger <aj@suse.de>
26424 * time/Versions: Sort entries.
26425 * string/Versions: Likewise.
26426 * resolv/Versions: Likewise.
26427 * posix/Versions: Likewise.
26428 * iconv/Versions: Likewise.
26429 * elf/Versions: Likewise.
26430 * wcsmbs/Versions: Likewise.
26432 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26434 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26435 loop termination condition.
26437 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26438 variable to calculate EZ.
26441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26442 the lower precision input.
26444 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26447 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26448 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26449 (run-via-rtld-prefix): Do not handle %-bp tests.
26450 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26451 (all-object-suffixes): Remove .ob.
26452 (bppfx): Remove variable.
26453 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26454 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26455 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26456 [$(build-bounded) = yes] (libtype.ob): Likewise.
26457 * Makerules (elide-routines.ob): Remove variable.
26458 (do-tests-clean): Do not handle *-bp.out.
26459 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26460 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26461 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26462 (tests): Do not include $(tests-bp.out).
26463 (xtests): Do not include $(xtests-bp.out).
26464 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26465 [$(build-bounded) = yes] ($(addprefix
26466 $(objpfx),$(binaries-bounded))): Remove rule.
26467 ($(objpfx)%-bp.out): Remove rule.
26468 * config.make.in (build-bounded): Remove variable.
26469 * crypt/Makefile [$(build-bounded) = yes]
26470 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26471 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26472 append to variable.
26473 [$(build-bounded) = yes] (install-lib): Likewise.
26474 [$(build-bounded) = yes] (generated): Likewise.
26475 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26477 * intl/Makefile [$(build-bounded) = yes]
26478 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26479 * math/Makefile [$(build-bounded) = yes]
26480 ($(tests:%=$(objpfx)%-bp): Likewise.
26481 * misc/Makefile [$(build-bounded) = yes]
26482 ($(objpfx)tst-tsearch-bp): Likewise.
26483 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26484 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26486 * string/Makefile (o-objects.ob): Remove variable.
26487 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26488 (CFLAGS-.ob): Remove variable.
26489 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26490 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26491 both definitions of variable.
26492 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26493 (ASFLAGS-.ob): Remove variable.
26495 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26498 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26499 Remove __BOUNDED_POINTERS__ from condition.
26500 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26501 * string/bits/string2.h [!__NO_STRING_INLINES &&
26502 !__BOUNDED_POINTERS__]: Likewise.
26503 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26505 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26506 Remove conditional code.
26507 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26508 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26509 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26513 * csu/libc-start.c: Do not include <bp-sym.h>.
26514 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26515 * elf/dl-open.c: Do not include <bp-sym.h>.
26516 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26517 * math/fegetenv.c: Do not include <bp-sym.h>.
26518 (fegetenv): Do not use BP_SYM in versioned symbols.
26519 * nptl/sysdeps/pthread/bits/libc-lockP.h
26520 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26522 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26523 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26524 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26525 (__pthread_mutex_destroy): Likewise.
26526 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26527 (__pthread_mutex_lock): Likewise.
26528 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26529 (__pthread_mutex_trylock): Likewise.
26530 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26531 (__pthread_mutex_unlock): Likewise.
26532 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26533 (__pthread_mutexattr_init): Likewise.
26534 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26535 (__pthread_mutexattr_destroy): Likewise.
26536 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26537 (__pthread_mutexattr_settype): Likewise.
26538 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26539 (__pthread_rwlock_init): Likewise.
26540 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26541 (__pthread_rwlock_destroy): Likewise.
26542 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26543 (__pthread_rwlock_rdlock): Likewise.
26544 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26545 (__pthread_rwlock_tryrdlock): Likewise.
26546 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26547 (__pthread_rwlock_wrlock): Likewise.
26548 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26549 (__pthread_rwlock_trywrlock): Likewise.
26550 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26551 (__pthread_rwlock_unlock): Likewise.
26552 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26553 (__pthread_key_create): Likewise.
26554 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26555 (__pthread_setspecific): Likewise.
26556 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26557 (__pthread_getspecific): Likewise.
26558 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26560 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26561 (_pthread_cleanup_push_defer): Likewise.
26562 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26563 (_pthread_cleanup_pop_restore): Likewise.
26564 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26565 (pthread_setcancelstate): Likewise.
26566 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26568 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26569 (memchr): Do not use BP_SYM in weak_alias.
26570 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26571 (fegetenv): Do not use BP_SYM in versioned symbols.
26572 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26573 (fesetenv): Do not use BP_SYM in versioned symbols.
26574 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26575 (feupdateenv): Do not use BP_SYM in versioned symbols.
26576 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26577 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26578 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26579 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26580 (open64): Do not use BP_SYM in weak_alias.
26581 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26582 (fegetenv): Do not use BP_SYM in versioned symbols.
26583 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26584 (fesetenv): Do not use BP_SYM in versioned symbols.
26585 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26586 (feupdateenv): Do not use BP_SYM in versioned symbols.
26587 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26588 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26589 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26590 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26591 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26592 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26593 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26595 (__libc_start_main): Do not use BP_SYM.
26597 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26599 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26600 redundant return line.
26602 (denorm): Likewise.
26603 (dbl_mp): Likewise.
26604 (sub_magnitudes): Likewise.
26610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26612 (denorm): Likewise.
26613 (dbl_mp): Likewise.
26614 (sub_magnitudes): Likewise.
26621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26623 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26624 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26627 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26628 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26630 of __mul for squares.
26631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26635 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26636 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26638 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26641 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26643 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26644 prototype or function definition. Rename ubp_* variables and
26645 parameters. Remove argv definitions conditional on
26646 [__BOUNDED_POINTERS__].
26647 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26648 * elf/dl-runtime.c (_dl_fixup): Likewise.
26649 * include/set-hooks.h (RUN_HOOK): Likewise.
26650 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26652 * string/strcpy.c (strcpy): Do not use __unbounded.
26653 * sysdeps/generic/frame.h (struct layout): Likewise.
26654 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26655 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26656 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26657 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26658 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26659 (__backtrace): Likewise.
26660 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26662 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26663 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26664 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26666 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26667 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26668 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26669 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26670 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26671 Do not use __unbounded.
26672 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26673 Rename __unboundedrlimits parameter to rlimits in prototype.
26674 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26675 Do not use __unbounded.
26676 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26677 not use __ptrvalue.
26678 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26679 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26680 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26681 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26682 __ptrvalue or __unbounded.
26683 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26684 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26686 (__new_msgctl): Do not use __ptrvalue.
26687 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26689 (__libc_msgrcv): Do not use __ptrvalue.
26690 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26691 startup_info): Do not use __unbounded.
26692 (__libc_start_main): Likewise. Rename ubp_* variables and
26693 parameters. Remove argv definitions conditional on
26694 [__BOUNDED_POINTERS__].
26695 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26697 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26699 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26701 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26703 (__new_shmctl): Do not use __ptrvalue.
26704 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26705 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26707 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26708 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26709 (__libc_sigaction): Likewise.
26710 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26711 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26713 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26715 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26717 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26719 * string/mempcpy.c: Implement by calling memcpy.
26721 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26728 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26729 values in the mantissa.
26731 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26732 minimize writes to Z.
26733 (sub_magnitudes): Simplify code a bit.
26735 2013-02-12 Roland McGrath <roland@hack.frob.com>
26737 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26738 from the message. The linker prefixes all warnings with that already.
26740 2013-02-12 Andreas Schwab <schwab@suse.de>
26743 * posix/regexec.c (extend_buffers): Add parameter min_len.
26744 (check_matching): Pass minimum needed length.
26745 (clean_state_log_if_needed): Likewise.
26746 (get_subexp): Likewise.
26747 * posix/Makefile (tests): Add bug-regex34.
26748 (bug-regex34-ENV): Define.
26749 * posix/bug-regex34.c: New file.
26752 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26753 elements compare against the byte sequence of it, not its name.
26754 * posix/Makefile (tests): Add bug-regex35.
26755 (bug-regex35-ENV): Define.
26756 * posix/bug-regex35.c: New file.
26758 2013-02-11 Tom de Vries <tom@codesourcery.com>
26760 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26762 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26763 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26764 (CHECK_EOL): Add undef.
26766 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26768 * bits/stdlib-bsearch.h: New file.
26769 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26770 * stdlib/stdlib.h: Likewise.
26772 2013-02-11 Roland McGrath <roland@hack.frob.com>
26774 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26775 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26777 * manual/search.texi (Array Search Function): Add missing const in
26779 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26780 declaration to use rlim_t.
26781 (Basic Scheduling Functions): Remove erroneous const from
26782 sched_getparam prototype. Remove erroneous * from
26783 sched_get_priority_max and sched_get_priority_min prototypes.
26784 (Resource Usage): Fix summary @comment on vtimes to refer to
26785 sys/vtimes.h rather than vtimes.h.
26786 Add missing *s in vtimes prototype.
26787 (Limits on Resources): Fix ulimit prototype to return long int.
26788 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26789 prototypes to use long int rather than double.
26790 (BSD Random): Fix initstate and setstate to use char *, not void *.
26791 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26792 prototype to make second argument 'struct aiocb64 *const[]'.
26793 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26794 (Status of AIO Operations): Remove erroneous const in aio_return and
26795 aio_return64 prototypes.
26796 (Synchronizing I/O): Fix sync prototype to return void.
26797 * manual/startup.texi (Suboptions): Remove an erroneous const in
26798 getsubopt prototype.
26799 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26800 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26801 use size_t rather than int.
26802 (Scanning All Users): Likewise for getpwent_r.
26803 (Setting Groups): Add missing const to setgroups prototype.
26804 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26805 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26806 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26807 'const void *' rather than 'const char *'.
26808 (Host Address Functions): Likewise for inet_ntop.
26809 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26810 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26811 ssize_t for return value.
26812 (Sending Data): Likewise for send, sendto, sendmsg.
26813 (Socket Option Functions): Add a missing const in setsockopt prototype.
26814 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26815 use wchar_t for the argument.
26816 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26817 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26819 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26820 double/float/long double for second argument.
26821 Fix return types of significand, significandf, significandl.
26822 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26823 argument in fchmod prototype.
26824 (File Owner): Use uid_t and gid_t in fchown prototype.
26825 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26826 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26827 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26828 use 'const struct dirent **' as argument types to CMP function pointer
26830 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26831 (File Times): Fix summary magic @comment for struct utimbuf and utime
26832 to refer to utime.h, not time.h.
26833 * manual/string.texi (Argz Functions): Add missing const in
26834 argz_extract and argz_next prototypes.
26835 (Finding Tokens in a String): Likewise for basename.
26836 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26837 (Copying and Concatenation): Fix typo in wmemmove prototype.
26838 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26839 (Signal Stack): Remove erroneous const in sigstack prototype.
26840 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26842 (Simple Calendar Time): Likewise for stime.
26843 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26845 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26846 say sys/sysctl.h instead.
26847 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26848 and vsyslog prototypes.
26850 2013-02-11 Tom de Vries <tom@codesourcery.com>
26852 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26855 2013-02-11 Roland McGrath <roland@hack.frob.com>
26857 * misc/sys/mman.h: Fix typo in mremap comment.
26859 2013-02-08 Roland McGrath <roland@hack.frob.com>
26861 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26862 the '\0' terminator.
26864 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26867 * debug/segfault.c: Don't include <bp-checks.h>.
26868 * sysdeps/generic/bp-checks.h: Remove file.
26869 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26870 (__GETDENTS): Don't use CHECK_N.
26871 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26872 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26873 (__getgroups): Don't use CHECK_N.
26874 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26875 (setgroups): Don't use CHECK_N.
26876 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26877 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26878 (__libc_msgrcv): Don't use CHECK_N.
26879 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26880 (__libc_msgsnd): Don't use CHECK_N.
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26883 (__libc_pread): Don't use CHECK_N.
26884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26885 include <bp-checks.h>.
26886 (__libc_pread64): Don't use CHECK_N.
26887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26888 include <bp-checks.h>.
26889 (__libc_pwrite): Don't use CHECK_N.
26890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26891 include <bp-checks.h>.
26892 (__libc_pwrite64): Don't use CHECK_N.
26893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26895 (__libc_pread): Don't use CHECK_N.
26896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26897 include <bp-checks.h>.
26898 (__libc_pread64): Don't use CHECK_N.
26899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26900 include <bp-checks.h>.
26901 (__libc_pwrite): Don't use CHECK_N.
26902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26903 include <bp-checks.h>.
26904 (__libc_pwrite64): Don't use CHECK_N.
26905 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26906 (do_pread): Don't use CHECK_N.
26907 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26908 (do_pread64): Don't use CHECK_N.
26909 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26910 (do_pwrite): Don't use CHECK_N.
26911 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26912 (do_pwrite64): Don't use CHECK_N.
26913 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26914 (__libc_readv): Don't use CHECK_N.
26915 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26916 (semop): Don't use CHECK_N.
26917 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26919 (semtimedop): Don't use CHECK_N.
26920 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26921 (__libc_pread): Don't use CHECK_N.
26922 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26924 (__libc_pread64): Don't use CHECK_N.
26925 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26927 (__libc_pwrite): Don't use CHECK_N.
26928 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26930 (__libc_pwrite64): Don't use CHECK_N.
26931 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26933 (__libc_msgrcv): Don't use CHECK_N.
26934 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26935 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26936 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26937 (__libc_writev): Don't use CHECK_N.
26939 2013-02-08 Roland McGrath <roland@hack.frob.com>
26941 * string/strcpy.c: Removed unused variable.
26943 * Makeconfig (+sysdep-includes): Define with := rather than =.
26944 Use an existing include/ subdir of each sysdeps dir before it.
26946 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26948 * nscd/connection.c (register_traced_file): Comment function.
26949 [HAVE_INOTIFY] (union __inev): Define.
26950 [HAVE_INOTIFY] (inotify_check_files): New function.
26951 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26952 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26954 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26956 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26958 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26959 loaded if not already and that a failure is permanent.
26961 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26964 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26965 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26967 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26970 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26971 (CHECK_1_NULL_OK): Likewise.
26972 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26973 (__fxstat): Do not use CHECK_1.
26974 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26976 (___fxstat64): Do not use CHECK_1.
26977 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26979 (__fxstatat): Do not use CHECK_1.
26980 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26982 (__fxstatat64): Do not use CHECK_1.
26983 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26985 (__fxstat): Do not use CHECK_1.
26986 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26988 (__fxstatat): Do not use CHECK_1.
26989 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26991 (__getresgid): Do not use CHECK_1.
26992 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26994 (__getresuid): Do not use CHECK_1.
26995 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26997 (__lxstat): Do not use CHECK_1.
26998 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27000 (__old_msgctl): Do not use CHECK_1.
27001 (__new_msgctl): Likewise.
27002 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27004 (__new_setrlimit): Do not use CHECK_1.
27005 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27007 (__old_shmctl): Do not use CHECK_1.
27008 (__new_shmctl): Likewise.
27009 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27011 (__xstat): Do not use CHECK_1.
27012 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27013 (__lxstat): Do not use CHECK_1.
27014 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27016 (___lxstat64): Do not use CHECK_1.
27017 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27018 (__old_msgctl): Do not use CHECK_1.
27019 (__new_msgctl): Likewise.
27020 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27022 (__gettimeofday): Do not use CHECK_1.
27023 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27024 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27025 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27027 (__gettimeofday): Do not use CHECK_1.
27028 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27029 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27030 (__new_shmctl): Do not use CHECK_1.
27031 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27033 (do_sigtimedwait): Do not use CHECK_1.
27034 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27036 (do_sigwaitinfo): Do not use CHECK_1.
27037 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27039 (msgctl): Do not use CHECK_1.
27040 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27042 (shmctl): Do not use CHECK_1.
27043 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27044 (ustat): Do not use CHECK_1.
27045 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27047 (__fxstat): Do not use CHECK_1.
27048 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27050 (__fxstatat): Do not use CHECK_1.
27051 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27053 (__lxstat): Do not use CHECK_1.
27054 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27056 (__xstat): Do not use CHECK_1.
27057 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27058 (__xstat): Do not use CHECK_1.
27059 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27060 (___xstat64): Do not use CHECK_1.
27063 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27065 (CHECK_BOUNDS_HIGH): Likewise.
27066 * string/strcpy.c: Do not include <bp-checks.h>.
27067 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27069 2013-02-07 Roland McGrath <roland@hack.frob.com>
27071 * nscd/nscd-client.h (__nscd_drop_map_ref):
27072 Add __attribute__ ((unused)).
27073 * nis/nss-nisplus.h (niserr2nss): Likewise.
27075 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27076 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27078 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27079 Remove inline keyword.
27080 * include/rounding-mode.h (round_away): Likewise.
27081 * libio/wfileops.c (adjust_wide_data): Likewise.
27082 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27083 (__m128i_strloadu_tolower): Likewise.
27084 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27085 (__m128i_strloadu_tolower): Likewise.
27086 * time/mktime.c (ydhms_diff): Likewise.
27087 * locale/elem-hash.h (elem_hash): Likewise.
27088 * locale/setlocale.c (setdata): Likewise.
27089 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27090 (re_string_wchar_at): Likewise.
27091 (bitset_not, bitset_merge, bitset_mask): Likewise.
27092 [!(__GNUC__ > 3)] (inline): Remove macro.
27093 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27094 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27095 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27096 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27097 * string/memcmp.c (memcmp_bytes): Likewise.
27098 * locale/programs/locarchive.c (compute_hashval): Likewise.
27099 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27100 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27101 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27102 * nss/getent.c (print_rpc, print_protocols): Likewise.
27103 (print_passwd, print_group, print_aliases): Likewise.
27104 * nis/nss-nisplus.h (niserr2nss): Likewise.
27105 * nscd/connections.c (restart_p): Likewise.
27106 Change return type to bool.
27108 2013-02-05 Roland McGrath <roland@hack.frob.com>
27110 * Makeconfig (all-Depend-files): Add existing
27111 $(sorted-subdirs:=/Depend) files.
27112 (all-subdirs): Remove nss.
27113 * sysdeps/unix/inet/Subdirs: Add it here instead.
27114 * hesiod/Depend: New file.
27116 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27117 instead of calling alloca.
27119 * io/lseek.c (__lseek): Rename to __libc_lseek.
27120 Define __lseek as an alias.
27122 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27124 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27126 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27127 else clause and remove check for non-standard endianness.
27129 2013-02-04 David S. Miller <davem@davemloft.net>
27131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27133 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27136 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27137 (__ubp_memchr): Remove prototype.
27138 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27139 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27140 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27141 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27142 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27144 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27145 (__ubp_memchr): Likewise.
27146 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27147 (__ubp_memchr): Likewise.
27148 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27149 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27150 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27151 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27153 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27154 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27155 (__getcwd): Do not use CHECK_STRING.
27156 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27158 (__real_chown): Do not use CHECK_STRING.
27159 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27161 (fchownat): Do not use CHECK_STRING.
27162 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27164 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27166 (__lchown): Do not use CHECK_STRING.
27167 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27168 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27169 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27170 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27172 include <bp-checks.h>.
27173 (truncate64): Do not use CHECK_STRING.
27174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27176 (__real_chown): Do not use CHECK_STRING.
27177 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27179 (__lchown): Do not use CHECK_STRING.
27180 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27182 (__chown): Do not use CHECK_STRING.
27183 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27185 (truncate64): Do not use CHECK_STRING.
27186 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27188 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27189 (__xmknod): Do not use CHECK_STRING.
27190 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27192 (__xmknodat): Do not use CHECK_STRING.
27193 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27194 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27196 2013-02-04 Andreas Schwab <schwab@suse.de>
27199 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27200 * include/netdb.h: Likewise for h_errno.
27201 * elf/tst-stackguard1.c: Include <tls.h>.
27203 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27205 * elf/link.h (struct link_map): Extend the l_addr comment.
27206 * include/link.h (struct link_map): Likewise.
27208 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27211 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27212 (BOUNDED_1): Remove macro.
27213 * debug/backtrace.c: Don't include <bp-checks.h>.
27214 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27215 (__backtrace): Likewise.
27216 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27218 (__backtrace): Don't use BOUNDED_1.
27219 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27221 (__backtrace): Don't use BOUNDED_1.
27222 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27223 (__backtrace): Don't use BOUNDED_1.
27224 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27225 (shmat): Don't use BOUNDED_N.
27227 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27230 * sysdeps/generic/bp-start.h: Remove file.
27231 * csu/libc-start.c: Don't include <bp-start.h>.
27232 (LIBC_START_MAIN): Set up __environ directly instead of using
27233 INIT_ARGV_and_ENVIRON.
27234 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27238 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27240 (CHECK_FCNTL): Likewise.
27241 (CHECK_N_PAGES): Likewise.
27244 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27246 (CHECK_SIGSET_NULL_OK): Likewise.
27247 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27249 (sigpending): Don't use CHECK_SIGSET.
27250 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27252 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27253 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27255 (do_sigsuspend): Don't use CHECK_SIGSET.
27256 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27258 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27259 (do_sigwait): Don't use CHECK_SIGSET.
27260 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27263 include <bp-checks.h>.
27264 (sigpending): Don't use CHECK_SIGSET.
27265 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27266 include <bp-checks.h>.
27267 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27268 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27270 (sigpending): Don't use CHECK_SIGSET.
27271 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27273 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27276 * sysdeps/generic/bp-semctl.h: Remove file.
27277 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27278 <bp-checks.h> and <bp-semctl.h>.
27279 (__old_semctl): Don't use CHECK_SEMCTL.
27280 (__new_semctl): Likewise.
27281 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27283 (__old_semctl): Don't use CHECK_SEMCTL.
27284 (__new_semctl): Likewise.
27285 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27286 <bp-checks.h> and <bp-semctl.h>.
27287 (__old_semctl): Don't use CHECK_SEMCTL.
27288 (__new_semctl): Likewise.
27289 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27290 <bp-checks.h> and <bp-semctl.h>.
27291 (semctl): Don't use CHECK_SEMCTL.
27294 * Makerules (elide-bp-thunks): Remove variable.
27295 (elide-routines.oS): Don't use $(elide-bp-thunks).
27296 (elide-routines.os): Likewise.
27297 (elide-routines.o): Likewise.
27298 (elide-routines.op): Likewise.
27299 (elide-routines.og): Likewise.
27300 (objects): Don't use $(bp-thunks).
27301 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27303 (common-generated): Do not add s-proto-bp.d.
27304 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27307 Do not generate makefile rules for bounded-pointer thunks.
27308 * sysdeps/generic/bp-thunks.h: Remove file.
27309 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27310 * sysdeps/unix/s-proto-bp.S: Likewise.
27313 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27314 parts of result separately when argument is not close to line from
27315 -i to i and one part of argument is small.
27316 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27317 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27318 * math/libm-test.inc (cacos_test): Add more tests.
27319 (casin_test): Likewise.
27320 (casinh_test): Likewise.
27321 * sysdeps/i386/fpu/libm-test-ulps: Update.
27322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27324 2013-01-31 David S. Miller <davem@davemloft.net>
27326 * po/de.po: Update from translation team.
27328 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27330 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27332 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27334 * configure.in (_AC_PROG_CC_C89): New definition.
27335 * configure: Regenerate.
27337 * configure.in (AC_PROG_CPP): New definition.
27338 * configure: Regenerate.
27340 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27342 * debug/tst-backtrace.h: New file.
27343 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27344 (ret): Remove variable.
27346 (FAIL): Remove macro.
27347 (NO_INLINE): Likewise.
27348 (fn1): Use match function instead of strstr.
27349 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27350 (ret): Remove variable.
27352 (FAIL): Remove macro.
27353 (NO_INLINE): Likewise.
27354 (fn): Use match function instead of strstr.
27355 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27356 (ret): Remove variable.
27358 (FAIL): Remove macro.
27359 (NO_INLINE): Likewise.
27360 (handle_signal): Use match function instead of strstr.
27361 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27362 (ret): Remove variable.
27364 (FAIL): Remove macro.
27365 (NO_INLINE): Likewise.
27366 (handle_signal): Use match function instead of strstr.
27368 2013-01-23 Roland McGrath <roland@hack.frob.com>
27370 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27372 2013-01-23 David S. Miller <davem@davemloft.net>
27374 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27375 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27376 argument of CAS if possible.
27377 * sysdeps/sparc/sparc64/bits/atomic.h
27378 (__arch_compare_and_exchange_val_32_acq): Likewise.
27379 (__arch_compare_and_exchange_val_64_acq): Likewise.
27381 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27383 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27384 * sysdeps/posix/ulimit.c: ... this.
27385 Include <limits.h>.
27386 * sysdeps/unix/bsd/ulimit.c: Remove file.
27388 2013-01-23 Adam Conrad <adconrad@0c3.net>
27390 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27391 (LDFLAGS-tst-array5): Likewise.
27393 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27396 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27397 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27398 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27399 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27401 2013-01-21 David S. Miller <davem@davemloft.net>
27403 * sysdeps/sparc/backtrace.c: New file.
27404 * sysdeps/sparc/sparc32/backtrace.h: New file.
27405 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27406 * sysdeps/sparc/sparc64/backtrace.h: New file.
27407 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27408 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27411 2013-01-21 Andreas Schwab <schwab@suse.de>
27414 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27417 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27423 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27424 Mark Mitchell <mark@codesourcery.com>
27425 Tom de Vries <tom@codesourcery.com>
27426 Paul Pluzhnikov <ppluzhnikov@google.com>
27428 * debug/tst-backtrace2.c: New file.
27429 * debug/tst-backtrace3.c: Likewise.
27430 * debug/tst-backtrace4.c: Likewise.
27431 * debug/tst-backtrace5.c: Likewise.
27432 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27433 (CFLAGS-tst-backtrace3.c): Likewise.
27434 (CFLAGS-tst-backtrace4.c): Likewise.
27435 (CFLAGS-tst-backtrace5.c): Likewise.
27436 (LDFLAGS-tst-backtrace2): Likewise.
27437 (LDFLAGS-tst-backtrace3): Likewise.
27438 (LDFLAGS-tst-backtrace4): Likewise.
27439 (LDFLAGS-tst-backtrace5): Likewise.
27440 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27441 tst-backtrace4 and tst-backtrace5.
27443 2013-01-18 Anton Blanchard <anton@samba.org>
27444 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27446 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27447 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27448 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27449 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27451 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27452 "+r" and remove output regs list as redundant. Add explicit inline
27453 asm to specify register of return val to work around compiler codegen
27454 bug. Remove (int) cast on return value. Add return type parameter to
27455 use in macro so that this macro does not truncate return value for
27457 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27458 pass to INTERNAL_VSYSCALL_NCS.
27459 (INLINE_VSYSCALL): Add 'long int' as return type to
27460 INTERNAL_VSYSCALL_NCS macro invocation.
27461 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27462 INTERNAL_VSYSCALL_NCS macro invocation.
27463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27465 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27468 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27469 Fix application of SIMD FP exception mask.
27471 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27472 mp_no from a power of two.
27473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27474 __mpexp_twomm1. Use __pow_mp.
27476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27479 2013-01-17 David S. Miller <davem@davemloft.net>
27481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27483 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27486 * include/complex.h: Condition contents on [!_COMPLEX_H].
27487 (__kernel_casinhf): New prototype.
27488 (__kernel_casinh): Likewise.
27489 (__kernel_casinhl): Likewise.
27490 * math/Makefile (libm_calls): Add k_casinh.
27491 * math/k_casinh.c: New file.
27492 * math/k_casinhf.c: Likewise.
27493 * math/k_casinhl.c: Likewise.
27494 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27495 finite nonzero arguments.
27496 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27497 finite nonzero arguments.
27498 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27499 finite nonzero arguments.
27500 * math/s_casinh.c: Do not include <float.h>.
27501 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27502 * math/s_casinhf.c: Do not include <float.h>.
27503 (__casinhf): Move code for finite nonzero arguments to
27505 * math/s_casinhl.c: Do not include <float.h>.
27506 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27508 (__casinhl): Move code for finite nonzero arguments to
27510 * math/libm-test.inc (cacos_test): Add more tests.
27511 * sysdeps/i386/fpu/libm-test-ulps: Update.
27512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27514 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27516 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27517 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27518 [!HAVE_MREMAP]: Remove [defined linux] case.
27519 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27521 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27523 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27525 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27527 * elf/elf.h (R_386_SIZE32): New relocation.
27528 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27530 (elf_machine_rela): Likewise.
27531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27532 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27534 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27536 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27537 (FP_FAST_FMA): Do not define.
27538 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27539 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27540 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27541 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27542 !_SOFT_FLOAT]: Likewise.
27543 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27544 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27546 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27547 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27548 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27549 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27550 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27551 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27554 2013-01-16 Andreas Schwab <schwab@suse.de>
27557 * include/stdlib.h (__mktemp): Add declaration.
27558 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27559 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27561 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27563 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27565 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27566 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27567 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27569 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27570 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27572 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27574 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27575 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27576 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27578 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27579 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27581 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27583 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27585 2013-01-15 David S. Miller <davem@davemloft.net>
27587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27588 trunc{,f} to libm-sysdep_routes.
27589 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27599 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27600 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27601 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27602 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27603 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27604 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27607 nearbyint{,f} to libm-sysdep_routes.
27608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27619 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27621 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27622 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27624 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27625 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27626 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27628 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27629 libc_feholdexcept and libc_fesetenv.
27631 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27633 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27635 2013-01-14 David S. Miller <davem@davemloft.net>
27637 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27638 (SPARC_ASM_VIS2_IFUNC): Likewise.
27639 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27641 use of 'siam' instruction.
27642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27648 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27649 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27670 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27671 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27672 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27673 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27675 routines to libm-sysdep_routines.
27676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27679 fdim/fdimf to libm-sysdep_routines.
27680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27688 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27689 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27690 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27691 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27693 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27696 to optimize copies.
27698 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27703 local variable MPTWO.
27704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27707 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27709 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27712 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27714 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27716 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27718 * manual/pattern.texi (glob_t): Document gl_flags.
27719 (glob64_t): Likewise.
27721 2013-01-11 David S. Miller <davem@davemloft.net>
27723 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27724 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27725 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27726 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27727 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27728 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27729 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27730 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27731 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27732 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27733 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27734 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27735 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27737 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27738 sparc V9 rather than using V8 code.
27739 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27740 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27742 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27744 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27747 2013-01-11 Roland McGrath <roland@hack.frob.com>
27749 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27750 not in the main loop.
27751 * configure: Regenerated.
27753 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27755 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27756 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27758 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27759 [!__GLIBC_HAVE_LONG_LONG] case.
27760 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27761 condition to just #else.
27762 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27763 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27764 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27765 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27767 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27768 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27769 #elif condition to just #else.
27770 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27771 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27772 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27773 #elif condition to just #else.
27775 2013-01-11 Steve Ellcey <sellcey@mips.com>
27777 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27778 (EF_MIPS_ARCH_64): Fix value.
27779 (EF_MIPS_ARCH_32R2): New.
27780 (EF_MIPS_ARCH_64R2): New.
27782 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27784 * Makeconfig (+link-pie-before-libc): New.
27785 (+link-pie-after-libc): Likewise.
27786 (+link-pie-tests): Likewise.
27787 (+link-pie): Rewritten.
27788 (link-before-libc): Remove $(config-LDFLAGS).
27789 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27790 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27791 (config-LDFLAGS): Renamed to ...
27792 (rtld-LDFLAGS): This.
27793 (rtld-tests-LDFLAGS): New macro.
27794 (link-libc-rpath-link): Likewise.
27795 (link-libc-tests-rpath-link): Likewise.
27796 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27797 (link-libc): Prepand $(link-libc-rpath-link).
27798 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27799 (test-program-prefix): New macro.
27800 (test-via-rtld-prefix): Likewise.
27801 (test-program-cmd): Likewise.
27802 (host-test-program-cmd): Likewise.
27803 * Makefile ($(common-objpfx)testrun.sh): Replace
27804 $(run-program-prefix) with $(test-program-prefix).
27805 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27807 ($(common-objpfx)shlib.lds): Likewise.
27808 (build-module-helper): Likewise.
27809 ($(common-objpfx)format.lds): Likewise.
27810 * Rules (binaries-pie-tests): New.
27811 (binaries-pie-notests): Likewise.
27812 (binaries-pie): Rewritten.
27813 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27814 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27815 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27816 (make-test-out): Replace $(host-built-program-cmd) with
27817 $(host-test-program-cmd).
27818 * config.make.in (build-hardcoded-path-in-tests): New variable.
27819 * configure.in (--enable-hardcoded-path-in-tests): New configure
27821 (hardcoded_path_in_tests): New AC_SUBST.
27822 * configure: Regenerated.
27823 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27824 $(built-program-cmd) with $(test-program-cmd).
27825 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27826 (test_program_cmd): This.
27827 * elf/Makefile ($(objpfx)order.out): Run test with
27828 $(test-program-prefix).
27829 ($(objpfx)order2.out): Likewise.
27830 ($(objpfx)tst-initorder.out): Likewise.
27831 ($(objpfx)tst-initorder2.out): Likewise.
27832 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27833 $(test-program-cmd).
27834 ($(objpfx)tst-array1-static.out): Likewise.
27835 ($(objpfx)tst-array2.out): Likewise.
27836 ($(objpfx)tst-array3.out): Likewise.
27837 ($(objpfx)tst-array4.out): Likewise.
27838 ($(objpfx)tst-array5.out): Likewise.
27839 ($(objpfx)tst-array5-static.out): Likewise.
27840 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27841 $(test-program-cmd).
27842 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27843 $(run-program-prefix) with $(test-program-prefix).
27844 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27845 (test_program_prefix): This.
27846 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27847 $(run-program-prefix) with $(test-program-prefix).
27848 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27849 (test_program_prefix): This.
27850 * iconvdata/tst-tables.sh: Likewise.
27851 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27852 $(run-program-prefix) with $(test-program-prefix).
27853 ($(objpfx)tst-translit.out): Likewise.
27854 ($(objpfx)tst-gettext2.out): Likewise.
27855 ($(objpfx)tst-gettext4.out): Likewise.
27856 ($(objpfx)tst-gettext6.out): Likewise.
27857 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27858 (test_program_prefix): This.
27859 * intl/tst-gettext2.sh: Likewise.
27860 * intl/tst-gettext4.sh Likewise.
27861 * intl/tst-gettext6.sh: Likewise.
27862 * intl/tst-translit.sh: Likewise.
27863 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27864 with $(test-program-cmd).
27865 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27866 $(run-program-prefix) with $(test-program-prefix).
27867 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27868 (test_program_prefix): This.
27869 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27870 $(run-program-prefix) with $(test-program-prefix).
27871 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27872 (test_program_prefix): This.
27873 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27874 * posix/Makefile ($(objpfx)globtest.out): Replace
27875 $(run-via-rtld-prefix) and $(test-wrapper) with
27876 $(test-program-prefix) and $(test-via-rtld-prefix).
27877 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27878 $(test-program-prefix).
27879 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27880 $(host-test-program-cmd).
27881 (tst-spawn-ARGS): Likewise.
27882 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27883 $(test-program-prefix).
27884 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27885 (test_via_rtld_prefix): This.
27886 (test_wrapper): Renamed to ...
27887 (test_program_prefix): This.
27888 (run_program_prefix): Replaced by test_program_prefix.
27889 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27890 (test_program_prefix): This.
27891 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27892 with $(host-test-program-cmd).
27893 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27894 $(run-program-prefix) with $(test-program-prefix).
27895 ($(objpfx)tst-printf.out): Likewise.
27896 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27897 $(test-program-cmd).
27898 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27899 (test_program_prefix): This.
27900 * stdio-common/tst-unbputc.sh: Likewise.
27901 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27902 $(run-program-prefix) with $(test-program-prefix).
27903 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27904 (test_program_prefix): This.
27905 * string/Makefile ($(objpfx)tst-svc.out): Replace
27906 $(built-program-cmd) with $(test-program-cmd).
27908 2013-01-11 Andreas Jaeger <aj@suse.de>
27911 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27912 value. Sync with Linux 3.7.
27914 2013-01-10 David S. Miller <davem@davemloft.net>
27916 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27917 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27918 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27920 2013-01-10 Roland McGrath <roland@hack.frob.com>
27922 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27924 * configure: Regenerated.
27926 2013-01-10 David S. Miller <davem@davemloft.net>
27928 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27929 sparc V9 rather than using V8 code.
27930 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27931 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27933 2013-01-10 Roland McGrath <roland@hack.frob.com>
27935 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27936 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27937 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27938 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27939 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27940 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27941 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27942 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27943 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27944 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27945 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27946 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27947 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27948 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27949 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27950 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27951 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27952 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27953 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27954 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27955 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27956 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27957 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27958 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27959 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27960 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27961 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27963 2013-01-10 David S. Miller <davem@davemloft.net>
27965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27967 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27969 * posix/Makefile (tests-static): New variable.
27970 (tests): Add $(tests-static).
27971 (tst-exec-static-ARGS): New variable.
27972 (tst-spawn-static-ARGS): Likewise.
27973 * posix/tst-exec-static.c: New file.
27974 * posix/tst-spawn-static.c: Likewise.
27975 * posix/tst-exec.c: Support run directly.
27976 * posix/tst-spawn.c: Likewise.
27978 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27980 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27982 * math/bits/mathcalls.h (llrint): Likewise.
27983 (llround): Likewise.
27984 * stdlib/stdlib.h (struct drand48_data): Likewise.
27985 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27986 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27987 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27989 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27991 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27992 (elf_greg_t): Likewise.
27993 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27994 (__jmp_buf): Likewise.
27995 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27997 (llrint): Likewise, for all definitions.
27998 (llrintl): Likewise.
28000 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28001 Remove [__GNUC__] condition.
28002 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28003 condition to just [__USE_ISOC99].
28004 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28006 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28009 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28010 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28012 (_POSIX_V6_ILP32_OFF32): Likewise.
28013 (_XBS5_ILP32_OFF32): Likewise.
28014 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28015 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28017 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28019 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28022 doubles __mpexp_twomm1. Adjust usage.
28023 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28026 2013-01-10 Andreas Schwab <schwab@suse.de>
28029 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28030 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28032 2013-01-09 David S. Miller <davem@davemloft.net>
28035 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28036 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28037 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28038 (TCP_FASTOPEN): Define.
28039 (tcp_repair_opt): New structure.
28040 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28042 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28043 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28044 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28045 (tcp_cookie_transactions): New structure.
28047 2013-01-09 Anton Blanchard <anton@samba.org>
28049 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28050 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28051 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28052 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28054 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28056 * include/features.h (__USE_ANSI): Remove.
28058 2013-01-09 Roland McGrath <roland@hack.frob.com>
28060 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28062 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28064 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28066 * sysdeps/s390/fpu/libm-test-ulps: Update.
28068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28070 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28074 (denorm): Likewise.
28075 (__mp_dbl): Likewise.
28076 (__dbl_mp): Likewise.
28077 (add_magnitudes): Likewise.
28078 (sub_magnitudes): Likewise.
28084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28088 (denorm): Likewise.
28089 (__mp_dbl): Likewise.
28090 (__dbl_mp): Likewise.
28091 (add_magnitudes): Likewise.
28092 (sub_magnitudes): Likewise.
28098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28102 (denorm): Likewise.
28103 (__mp_dbl): Likewise.
28104 (__dbl_mp): Likewise.
28105 (add_magnitudes): Likewise.
28106 (sub_magnitudes): Likewise.
28113 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28115 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28116 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28117 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28118 2 && __USE_EXTERN_INLINES]: Likewise.
28120 2013-01-08 Andreas Jaeger <aj@suse.de>
28123 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28125 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28126 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28128 2013-01-07 Anton Blanchard <anton@samba.org>
28130 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28131 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28132 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28133 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28134 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28135 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28136 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28137 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28138 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28139 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28140 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28141 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28142 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28143 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28144 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28145 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28146 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28148 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28149 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28150 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28151 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28152 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28153 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28154 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28155 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28156 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28157 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28158 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28159 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28160 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28162 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28163 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28164 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28165 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28166 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28167 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28168 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28169 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28170 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28171 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28172 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28174 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28176 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28177 (__MALLOC_PMT): Likewise.
28178 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28179 [__GNUC__], only on [_LIBC].
28180 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28181 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28182 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28183 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28184 forward declaration.
28185 (realloc_hook_ini): Likewise.
28186 (memalign_hook_ini): Likewise.
28187 (__libc_memalign): Do not use __MALLOC_PMT in variable
28189 (__libc_valloc): Likewise.
28190 (__libc_pvalloc): Likewise.
28191 (__libc_calloc): Likewise.
28192 (__posix_memalign): Likewise.
28195 * math/s_casinh.c: Include <float.h>.
28196 (__casinh): Do not do computation with squaring and square root
28197 for large arguments.
28198 * math/s_casinhf.c: Include <float.h>.
28199 (__casinhf): Do not do computation with squaring and square root
28200 for large arguments.
28201 * math/s_casinhl.c: Include <float.h>.
28202 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28203 (__casinhl): Do not do computation with squaring and square root
28204 for large arguments.
28205 * math/libm-test.inc (casin_test): Add more tests.
28206 (casinh_test): Likewise.
28207 * sysdeps/i386/fpu/libm-test-ulps: Update.
28208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28210 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28212 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28213 (__x86_64_raw_data_cache_size): Likewise.
28214 (__x86_64_data_cache_size_half): Likewise.
28215 (__x86_64_raw_data_cache_size_half): Likewise.
28216 (__x86_64_shared_cache_size): Likewise.
28217 (__x86_64_raw_shared_cache_size): Likewise.
28218 (__x86_64_shared_cache_size_half): Likewise.
28219 (__x86_64_raw_shared_cache_size_half): Likewise.
28220 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28222 (__x86_data_cache_size): This.
28223 (__x86_64_raw_data_cache_size): Renamed to ...
28224 (__x86_raw_data_cache_size): This.
28225 (__x86_64_data_cache_size_half): Renamed to ...
28226 (__x86_data_cache_size_half): This.
28227 (__x86_64_raw_data_cache_size_half): Renamed to ...
28228 (__x86_raw_data_cache_size_half): This.
28229 (__x86_64_shared_cache_size): Renamed to ...
28230 (__x86_shared_cache_size): This.
28231 (__x86_64_raw_shared_cache_size): Renamed to ...
28232 (__x86_raw_shared_cache_size): This.
28233 (__x86_64_shared_cache_size_half): Renamed to ...
28234 (__x86_shared_cache_size_half): This.
28235 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28236 (__x86_raw_shared_cache_size_half): This.
28237 * sysdeps/x86_64/memcpy.S: Updated.
28238 * sysdeps/x86_64/memset.S: Likewise.
28239 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28240 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28241 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28243 2013-01-04 David S. Miller <davem@davemloft.net>
28245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28247 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28249 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28250 1 to avoid redefinition warning.
28251 (__USE_GNU): Don't define.
28252 (init_signaling_nan): Protoize.
28254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28256 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28258 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28259 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28260 (__cpymn): Likewise.
28261 (norm): Remove commented code.
28262 (denorm): Likewise.
28263 (__mp_dbl): Likewise.
28265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28266 (__cpymn): Likewise.
28267 (norm): Remove commented code.
28268 (denorm): Likewise.
28269 (__mp_dbl): Likewise.
28272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28273 mp_no value for 1.0 and 2.0.
28274 (norm): Use RADIXI instead of radixi.d.
28275 (denorm): Likewise.
28276 (__mul): Use 0.0 instead of zero.d.
28277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28278 mp_no value for 1.0 and 2.0.
28279 (norm): Use RADIXI instead of radixi.d.
28280 (denorm): Likewise.
28281 (__mul): Use 0.0 instead of zero.d.
28283 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28286 * math/s_casinh.c (__casinh): Reduce finite argument to first
28287 quadrant then set signs of results at the end.
28288 * math/s_casinhf.c (__casinhf): Likewise.
28289 * math/s_casinhl.c (__casinhl): Likewise.
28290 * math/libm-test.inc (casin_test): Add more tests.
28291 (casinh_test): Likewise.
28292 * sysdeps/i386/fpu/libm-test-ulps: Update.
28293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28295 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28297 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28299 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28301 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28303 (denorm): Likewise.
28304 (__mp_dbl): Likewise.
28307 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28308 and adjust the header comment.
28310 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28311 variable name from declaration.
28313 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28316 Initialize COMMON_CPUID_INDEX_7 element.
28317 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28318 (CPUID_RTM): Likewise.
28319 (HAS_RTM): Likewise.
28320 (COMMON_CPUID_INDEX_7): New enum.
28322 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28325 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28326 size is zero, record memory as freed.
28328 2013-01-03 Andreas Jaeger <aj@suse.de>
28330 * po/ia.po: Add new Interlingua translation.
28332 2012-01-03 Allan McRae <allan@archlinux.org>
28334 * locale/programs/localedef.c: Fix description of '--posix' flag.
28336 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28338 * NEWS: Update dates in second copyright notice.
28339 * README: Update copyright dates in example.
28340 * manual/libc.texinfo: Update copyright dates.
28341 * scripts/test-installation.pl: Update copyright date in --version
28344 * hurd/ctty-input.c: Fix copyright notice formatting.
28345 * hurd/ctty-output.c: Likewise.
28346 * hurd/dtable.c: Likewise.
28347 * hurd/hurd-raise.c: Likewise.
28348 * hurd/hurdprio.c: Likewise.
28349 * hurd/msgportdemux.c: Likewise.
28350 * misc/sys/file.h: Likewise.
28351 * misc/sys/ioctl.h: Likewise.
28352 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28353 * sysdeps/mach/hurd/chdir.c: Likewise.
28354 * sysdeps/mach/hurd/fchdir.c: Likewise.
28355 * sysdeps/mach/hurd/rename.c: Likewise.
28356 * sysdeps/mach/hurd/rmdir.c: Likewise.
28357 * sysdeps/mach/hurd/seekdir.c: Likewise.
28358 * sysdeps/mach/hurd/setsid.c: Likewise.
28359 * sysdeps/posix/wait3.c: Likewise.
28361 * All files with FSF copyright notices: Update copyright dates
28362 using scripts/update-copyrights.
28363 * intl/plural.c: Regenerated.
28364 * locale/programs/charmap-kw.h: Likewise.
28365 * locale/programs/locfile-kw.h: Likewise.
28367 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28369 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28372 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28373 calculation loop and add branch prediction.
28375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28376 check access beyond bounds of m1np.
28378 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28380 (__inv): Remove local variable MPTWO to use the global
28382 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28385 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28386 MP3HALFS static const.
28388 2013-01-01 David S. Miller <davem@davemloft.net>
28390 * po/ca.po: Update from translation team.
28392 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28394 * scripts/update-copyrights: New file.
28395 * Makeconfig: Reformat copyright notice.
28396 * ctype/ctype.h: Likewise.
28397 * debug/swprintf_chk.c: Likewise.
28398 * elf/dl-cache.c: Likewise.
28399 * elf/dl-debug.c: Likewise.
28400 * elf/dl-object.c: Likewise.
28401 * grp/initgroups.c: Likewise.
28402 * hurd/Makefile: Likewise.
28403 * hurd/hurd/signal.h: Likewise.
28404 * hurd/hurdfault.c: Likewise.
28405 * hurd/hurdioctl.c: Likewise.
28406 * hurd/hurdlookup.c: Likewise.
28407 * hurd/intr-msg.c: Likewise.
28408 * iconv/gconv_open.c: Likewise.
28409 * libio/swprintf.c: Likewise.
28410 * locale/lc-ctype.c: Likewise.
28411 * locale/nl_langinfo.c: Likewise.
28412 * mach/Machrules: Likewise.
28413 * mach/Makefile: Likewise.
28414 * malloc/obstack.h: Likewise.
28415 * manual/Makefile: Likewise.
28416 * manual/tsort.awk: Likewise.
28417 * misc/bits/stab.def: Likewise.
28418 * nis/nis_print_group_entry.c: Likewise.
28419 * nis/nis_table.c: Likewise.
28420 * nis/nss_compat/compat-pwd.c: Likewise.
28421 * nis/nss_compat/compat-spwd.c: Likewise.
28422 * po/Makefile: Likewise.
28423 * posix/fnmatch.c: Likewise.
28424 * posix/regex.h: Likewise.
28425 * resolv/Makefile: Likewise.
28426 * resolv/nss_dns/dns-network.c: Likewise.
28427 * resolv/res_hconf.c: Likewise.
28428 * scripts/gen-sorted.awk: Likewise.
28429 * soft-fp/soft-fp.h: Likewise.
28430 * stdio-common/printf.h: Likewise.
28431 * stdlib/monetary.h: Likewise.
28432 * stdlib/random.c: Likewise.
28433 * stdlib/random_r.c: Likewise.
28434 * sysdeps/generic/Makefile: Likewise.
28435 * sysdeps/gnu/Makefile: Likewise.
28436 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28459 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28460 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28461 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28462 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28463 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28464 * sysdeps/mach/hurd/errnos.awk: Likewise.
28465 * sysdeps/mach/hurd/fork.c: Likewise.
28466 * sysdeps/mach/hurd/getcwd.c: Likewise.
28467 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28468 * sysdeps/mach/hurd/mmap.c: Likewise.
28469 * sysdeps/mach/hurd/utimes.c: Likewise.
28470 * sysdeps/mach/hurd/xmknod.c: Likewise.
28471 * sysdeps/posix/profil.c: Likewise.
28472 * sysdeps/posix/readdir_r.c: Likewise.
28473 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28474 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28475 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28476 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28477 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28478 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28479 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28480 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28482 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28483 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28484 * sysdeps/pthread/lio_listio.c: Likewise.
28485 * sysdeps/sparc/dl-procinfo.h: Likewise.
28486 * sysdeps/unix/i386/sysdep.S: Likewise.
28487 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28488 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28489 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28490 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28492 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28493 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28494 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28495 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28496 * sysdeps/wordsize-32/divdi3.c: Likewise.
28497 * time/sys/time.h: Likewise.
28498 * wcsmbs/Makefile: Likewise.
28500 2013-01-01 David S. Miller <davem@davemloft.net>
28502 * po/fr.po: Update from translation team.
28504 * catgets/gencat.c: Update copyright year.
28505 * csu/version.c: Likewise.
28506 * debug/catchsegv.sh: Likewise.
28507 * debug/pcprofiledump.c: Likewise.
28508 * debug/xtrace.sh: Likewise.
28509 * elf/ldconfig.c: Likewise.
28510 * elf/ldd.bash.in: Likewise.
28511 * elf/pldd.c: Likewise.
28512 * elf/sotruss.ksh: Likewise.
28513 * elf/sprof.c: Likewise.
28514 * iconv/iconv_prog.c: Likewise.
28515 * iconv/iconvconfig.c: Likewise.
28516 * locale/programs/locale.c: Likewise.
28517 * locale/programs/localedef.c: Likewise.
28518 * login/programs/pt_chown.c: Likewise.
28519 * malloc/memusage.sh: Likewise.
28520 * malloc/memusagestat.c: Likewise.
28521 * malloc/mtrace.pl: Likewise.
28522 * nscd/nscd.c: Likewise.
28523 * nss/getent.c: Likewise.
28524 * nss/makedb.c: Likewise.
28525 * posix/getconf.c: Likewise.
28527 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28529 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28532 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28534 * math/bits/mathcalls.h (modf): Use __nonnull.
28536 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28538 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28539 (split): Use macro CN instead of the bare value.
28540 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28542 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28543 instead of the bare value.
28544 (power1): Likewise.
28546 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28548 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28550 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28552 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28554 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28555 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28556 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28557 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28559 2012-12-28 Andreas Jaeger <aj@suse.de>
28561 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28562 values are from Linux 3.7.
28564 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28565 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28567 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28569 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28572 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28574 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28575 variables with preprocessor constants.
28576 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28577 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28578 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28580 2012-12-27 Bruno Haible <bruno@clisp.org>
28583 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28586 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28588 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28589 and use variable directly.
28590 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28592 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28594 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28595 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28597 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28599 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28600 include directive. Remove local variable MPONE.
28601 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28602 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28603 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28605 2012-12-25 David S. Miller <davem@davemloft.net>
28607 * version.h (RELEASE): Set to "development".
28608 (VERSION): Set to "2.17.90".
28609 * NEWS: Add 2.18 section.
28611 2012-12-21 David S. Miller <davem@davemloft.net>
28613 * po/hr.po: Update from translation team.
28615 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28617 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28619 2012-12-19 Steve Ellcey <sellcey@mips.com>
28621 * NEWS: Mention new memcpy for MIPS.
28623 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28625 * manual/contrib.texi (Contributors): Spelling correction.
28627 2012-12-15 David S. Miller <davem@davemloft.net>
28629 * po/ru.po: Update from translation team.
28631 2012-12-13 David S. Miller <davem@davemloft.net>
28633 * NEWS: Mention IFUNC testsuite enhancements.
28635 * po/pl.po: Update from translation team.
28636 * po/bg.po: Likewise.
28638 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28639 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28641 2012-12-11 David S. Miller <davem@davemloft.net>
28643 * po/sv.po: Update from translation team.
28645 * po/vi.po: Update from translation team.
28647 * po/cs.po: Update from translation team.
28649 * po/de.po: Update from translation team.
28650 * po/eo.po: Likewise.
28651 * po/nl.po: Likewise.
28653 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28656 * manual/argp.texi (Argp Helper Functions): Move node to follow
28657 Argp Parsing State.
28660 * manual/conf.texi (Limits on File System Capacity): Mention if
28661 terminating null is included in the max size.
28663 2012-12-10 Andreas Jaeger <aj@suse.de>
28665 * po/cs.po: Update from translation team.
28667 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28669 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28670 void pointer and cast to uintptr_t.
28671 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28673 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28674 * sysdeps/s390/s390-64/memset.S: Likewise.
28676 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28679 * menual/message.texi (Message Translation): Fix typos.
28680 (Helper programs for gettext): Likewise.
28682 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28685 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28688 2012-12-07 David S. Miller <davem@davemloft.net>
28690 * po/libc.pot: Update.
28692 2012-12-07 Richard Henderson <rth@redhat.com>
28695 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28696 normal/normal case to before the switch.
28697 (_FP_DIV): Likewise.
28699 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28700 Mike Frysinger <vapier@gentoo.org>
28702 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28703 check for __NR_fadvise64_64.
28705 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28707 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28708 0, not just to plain "0" as a statement.
28709 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28712 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28714 * NEWS: Use sourceware.org in Bugzilla URL.
28716 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28719 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28721 * stdio-common/tst-put-error.c (do_test): Add newline to the
28722 padded test to ensure flush.
28724 2012-12-05 Jeff Law <law@redhat.com>
28726 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28728 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28730 * README: Don't refer to ports add-on as distributed separately.
28731 Mention AArch64 in list of systems supported in the ports add-on.
28733 * LICENSES: Add more non-FSF copyright and license notices.
28735 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28738 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28740 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28741 10000 as width of padded output.
28743 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28745 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28747 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28748 variable LX with __attribute__ ((unused)).
28749 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28751 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28754 with __attribute__ ((unused)).
28756 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28758 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28760 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28762 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28763 (CFLAGS-nldbl-acos.c): New variable.
28764 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28765 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28766 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28767 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28768 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28769 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28770 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28771 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28772 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28773 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28774 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28775 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28776 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28777 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28778 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28779 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28780 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28781 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28782 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28783 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28784 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28785 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28786 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28787 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28788 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28789 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28790 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28791 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28792 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28793 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28794 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28795 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28796 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28797 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28798 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28799 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28800 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28801 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28802 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28803 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28804 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28805 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28806 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28807 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28808 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28809 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28810 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28811 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28812 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28813 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28814 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28815 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28816 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28817 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28818 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28819 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28820 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28821 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28822 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28823 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28824 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28825 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28826 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28827 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28828 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28829 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28830 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28831 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28832 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28833 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28834 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28835 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28836 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28837 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28838 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28839 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28840 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28841 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28842 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28843 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28844 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28845 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28846 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28847 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28848 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28849 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28850 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28851 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28852 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28853 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28854 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28855 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28856 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28857 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28858 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28859 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28860 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28863 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28867 whole low double instead of just low 47 bits when splitting values
28870 2012-12-03 Allan McRae <allan@archlinux.org>
28872 * manual/stdio.texi (Predefined Printf Handlers): Remove
28873 @hsep and @vsep usage.
28875 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28877 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28878 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28880 2012-12-03 Jeff Law <law@redhat.com>
28882 * time/sys/time.h (settimeofday): Do not mark TV argument
28885 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28887 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28888 when currently writing and seek to current position when not.
28889 * libio/Makefile (tests): Remove bug-fclose1.
28890 * libio/bug-fclose1.c: Delete.
28892 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28894 * manual/arith.texi (feenableexcept): Fix typo.
28895 (fedisableexcept): Likewise.
28897 2012-11-30 Roland McGrath <roland@hack.frob.com>
28899 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28900 second, differently-typed declaration, rather than a cast.
28902 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28904 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28905 * include/rpc/svc.h: ... here.
28907 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28910 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28911 depending n and resplen2 to catch cases where answer
28914 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28916 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28917 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28919 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28921 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28923 2012-11-29 Roland McGrath <roland@hack.frob.com>
28925 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28927 2012-11-28 Jeff Law <law@redhat.com>
28930 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28931 dataset_temporary. Track alloca usage into alloca_used.
28932 If dataset is large allocate and release it via malloc/free.
28934 2012-06-04 Florian Weimer <fweimer@redhat.com>
28937 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28939 2012-11-28 David S. Miller <davem@davemloft.net>
28941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28943 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28946 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28947 of pi/2 rounded to nearest to 64 bits.
28948 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28949 nearest to 64 bits.
28950 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28953 2012-11-28 Jeff Law <law@redhat.com>
28954 Martin Osvald <mosvald@redhat.com>
28957 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28958 * sunrpc/svc.c: Include time.h.
28959 (__svc_accept_failed): New function.
28960 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28961 any reason other than EINTR, call __svc_accept_failed.
28962 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28963 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28965 2012-11-28 Andreas Schwab <schwab@suse.de>
28967 * scripts/abilist.awk: Also handle indirect functions in .opd
28970 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28973 * sysdeps/x86/fpu/powl_helper.c: New file.
28974 * sysdeps/x86/fpu/Makefile: Likewise.
28975 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28977 (__ieee754_powl): Use __powl_helper for finite arguments except
28978 integer exponents below 8.
28979 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28981 (__ieee754_powl): Use __powl_helper for finite arguments except
28982 integer exponents below 8.
28983 * math/libm-test.inc (pow_test): Add more tests and enable some
28984 previously disabled tests.
28985 * sysdeps/i386/fpu/libm-test-ulps: Update.
28986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28988 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28989 Carlos O'Donell <carlos_odonell@mentor.com>
28991 * nss/makedb.c (is_prime): Assert that input is odd and greater
28992 than 4. Note that fact in a comment too.
28993 (next_prime): Add 4 to input.
28995 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28998 * libio/Makefile (tests): Add test case tst-fwrite-error.
28999 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29000 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29001 * libio/tst-fwrite-error.c: New test case.
29003 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29005 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29006 before casting to void *.
29007 * include/libc-internal.h (__pointer_type): New macro.
29008 (__integer_if_pointer_type_sub): Likewise.
29009 (__integer_if_pointer_type): Likewise.
29010 (cast_to_integer): Likewise.
29011 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29012 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29013 before casting to atomic64_t.
29014 (atomic_exchange_acq): Likewise.
29015 (__arch_exchange_and_add_body): Likewise.
29016 (__arch_add_body): Likewise.
29017 (atomic_add_negative): Likewise.
29018 (atomic_add_zero): Likewise.
29020 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29022 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29023 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29024 (add_fdes): Likewise.
29025 (linear_search_fdes): Likewise.
29026 (binary_search_unencoded_fdes): Likewise.
29028 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29030 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29032 2012-11-24 Adam Conrad <adconrad@0c3.net>
29034 * configure.in: Autodetect C++ header directories.
29035 * configure: Regenerated.
29037 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29039 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29041 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29045 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29047 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29048 LDBL_MANT_DIG == 106]: Disable some tests.
29049 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29051 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29055 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29056 input for small inputs. Return +/- pi/2 for large inputs.
29057 * math/libm-test.inc (atan_test): Add more tests.
29059 * sysdeps/generic/unwind-dw2-fde-glibc.c
29060 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29061 __attribute__ ((unused)).
29064 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29065 x * y if x and y are nonzero and z is zero.
29068 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29069 nonzero exponents with absolute value below 0x1p-117 to +/-
29073 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29074 up arguments below 2**-450, not just those below 2**-500.
29075 * math/libm-test.inc (hypot_test): Add another test.
29078 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29079 Return a+b for ratio over 2**120, not 2**60.
29080 * math/libm-test.inc (hypot_test): Add another test.
29082 * math/libm-test.inc (clog_test): Use
29083 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29084 (clog10_test): Likewise.
29087 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29089 2012-11-22 Andreas Schwab <schwab@suse.de>
29091 * sysdeps/i386/fpu/libm-test-ulps: Update.
29093 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29095 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29096 printf output with newline.
29098 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29101 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29102 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29103 -z nodlopen, -z initfirst and -z execstack support.
29104 * configure: Regenerated.
29106 * elf/elf.h (DF_1_NODIRECT): New macro.
29107 (DF_1_IGNMULDEF): Likewise.
29108 (DF_1_NOKSYMS): Likewise.
29109 (DF_1_NOHDR): Likewise.
29110 (DF_1_EDITED): Likewise.
29111 (DF_1_NORELOC): Likewise.
29112 (DF_1_SYMINTPOSE): Likewise.
29113 (DF_1_GLOBAUDIT): Likewise.
29114 (DF_1_SINGLETON): Likewise.
29115 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29116 DT_1_SUPPORTED_MASK bits.
29117 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29119 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29121 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29123 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29125 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29128 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29129 (sendmmsg): Move declarations...
29130 * socket/sys/socket.h: ... here.
29131 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29132 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29134 * socket/recvmmsg.c: ... this new file.
29135 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29136 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29137 definition of __sendmmsg hidden.
29138 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29139 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29140 Move ENOSYS stub into and include it from...
29141 * socket/sendmmsg.c: ... this new file.
29142 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29143 (sysdep_routines): Move recvmmsg and sendmmsg...
29144 * socket/Makefile (routines): ... here.
29145 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29146 (GLIBC_PRIVATE): Add __sendmmsg.
29147 * include/sys/socket.h (__sendmmsg): Add declarations.
29148 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29151 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29154 variable I1 with __attribute__ ((unused)).
29155 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29157 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29159 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29160 DUMMY variables with __attribute__ ((unused)).
29162 * bits/byteswap.h: Include <bits/types.h>.
29163 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29165 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29167 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29168 string_t. Do not manually set errno.
29169 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29170 length with __strnlen. Make sure to both set errno and return it on
29173 2012-11-19 David S. Miller <davem@davemloft.net>
29175 With help from Joseph Myers.
29176 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29177 very large arguments properly.
29178 * math/libm-test.inc (atan_test): New tests.
29179 (atan2_test): New tests.
29180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29183 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29186 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29189 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29190 [POSIX] (EADDRNOTAVAIL): Likewise.
29191 [POSIX] (EAFNOSUPPORT): Likewise.
29192 [POSIX] (EALREADY): Likewise.
29193 [POSIX] (ECONNABORTED): Likewise.
29194 [POSIX] (ECONNREFUSED): Likewise.
29195 [POSIX] (ECONNRESET): Likewise.
29196 [POSIX] (EDESTADDRREQ): Likewise.
29197 [POSIX] (EDQUOT): Likewise.
29198 [POSIX] (EHOSTUNREACH): Likewise.
29199 [POSIX] (EIDRM): Likewise.
29200 [POSIX] (EISCONN): Likewise.
29201 [POSIX] (ELOOP): Likewise.
29202 [POSIX] (EMULTIHOP): Likewise.
29203 [POSIX] (ENETDOWN): Likewise.
29204 [POSIX] (ENETUNREACH): Likewise.
29205 [POSIX] (ENOBUFS): Likewise.
29206 [POSIX] (ENODATA): Likewise.
29207 [POSIX] (ENOLINK): Likewise.
29208 [POSIX] (ENOMSG): Likewise.
29209 [POSIX] (ENOPROTOOPT): Likewise.
29210 [POSIX] (ENOSR): Likewise.
29211 [POSIX] (ENOSTR): Likewise.
29212 [POSIX] (ENOTCONN): Likewise.
29213 [POSIX] (ENOTSOCK): Likewise.
29214 [POSIX] (EOPNOTSUPP): Likewise.
29215 [POSIX] (EOVERFLOW): Likewise.
29216 [POSIX] (EPROTO): Likewise.
29217 [POSIX] (EPROTONOSUPPORT): Likewise.
29218 [POSIX] (EPROTOTYPE): Likewise.
29219 [POSIX] (ESTALE): Likewise.
29220 [POSIX] (ETIME): Likewise.
29221 [POSIX] (ETXTBSY): Likewise.
29222 [POSIX] (EWOULDBLOCK): Likewise.
29223 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29224 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29225 [POSIX] (SEEK_CUR): Likewise.
29226 [POSIX] (SEEK_END): Likewise.
29227 [POSIX || UNIX98] (mode_t): Do not require.
29228 [POSIX] (off_t): Likewise.
29229 [POSIX] (pid_t): Likewise.
29230 [POSIX] (sys/stat.h): Do not allow header.
29231 [POSIX] (unistd.h): Likewise.
29232 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29233 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29234 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29235 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29237 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29238 sigevent): Specify elements.
29239 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29241 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29242 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29244 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29245 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29246 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29247 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29248 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29249 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29250 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29251 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29252 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29253 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29254 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29255 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29256 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29257 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29259 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29261 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29263 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29265 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29266 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29267 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29268 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29269 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29270 Specify lower bound on value.
29271 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29272 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29273 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29274 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29275 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29276 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29277 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29278 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29280 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29282 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29283 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29284 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29285 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29286 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29287 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29288 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29289 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29290 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29291 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29292 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29294 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29295 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29296 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29297 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29299 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29301 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29302 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29303 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29304 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29305 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29306 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29308 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29309 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29310 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29311 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29312 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29313 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29314 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29316 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29317 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29318 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29319 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29320 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29321 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29322 specify as optional.
29323 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29324 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29325 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29326 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29327 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29328 [XPG3] (NL_LANGMAX): Likewise.
29329 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29330 [POSIX || XPG3] (NL_NMAX): Likewise.
29331 [POSIX || XPG3] (NL_SETMAX): Likewise.
29332 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29333 [XPG3] (NZERO): Likewise.
29334 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29335 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29336 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29337 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29338 (REG_ERANGE): Expect.
29339 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29341 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29342 Use (void) in prototype.
29343 [POSIX] (*_t): Allow.
29344 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29345 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29346 (WRDE_BADVAL): Expect.
29348 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29350 [XPG3 || XPG4] (O_RSYNC): Likewise.
29351 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29353 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29354 [XPG3 || XPG4] (sigqueue): Likewise.
29355 [XPG3 || XPG4] (sigtimedwait): Likewise.
29356 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29357 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29358 [XPG3 || XPG4] (vsnprintf): Likewise.
29359 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29361 [XPG3 || XPG4] (blksize_t): Likewise.
29362 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29364 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29365 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29366 [XPG3 || XPG4] (struct itimerspec): Likewise.
29367 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29368 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29369 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29370 [XPG3 || XPG4] (clockid_t): Likewise.
29371 [XPG3 || XPG4] (timer_t): Likewise.
29372 [XPG3 || XPG4] (clock_getres): Likewise.
29373 [XPG3 || XPG4] (clock_gettime): Likewise.
29374 [XPG3 || XPG4] (clock_settime): Likewise.
29375 [XPG3 || XPG4] (nanosleep): Likewise.
29376 [XPG3 || XPG4] (timer_create): Likewise.
29377 [XPG3 || XPG4] (timer_delete): Likewise.
29378 [XPG3 || XPG4] (timer_gettime): Likewise.
29379 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29380 [XPG3 || XPG4] (timer_settime): Likewise.
29381 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29382 [XPG3 || XPG4] (getlogin_r): Likewise.
29383 [XPG3 || XPG4] (pread): Likewise.
29384 [XPG3 || XPG4] (pthread_atfork): Likewise.
29385 [XPG3 || XPG4] (pwrite): Likewise.
29388 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29391 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29393 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29394 finalizing MALLSTREAM.
29396 * sysdeps/mach/hurd/syncfs.c: New file.
29398 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29401 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29402 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29403 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29404 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29405 (_nss_dns_gethostbyname4_r): Likewise.
29406 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29407 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29409 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29412 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29414 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29416 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29417 * elf/cache.c (print_entry): Print ",AArch64" for
29420 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29421 * elf/cache.c (print_entry): Print ",hard-float" for
29424 2012-11-18 David S. Miller <davem@davemloft.net>
29426 With help from Joseph Myers.
29427 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29429 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29431 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29432 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29434 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29435 * math/libm-test.inc (y0_test): New tests.
29436 (y1_test): New tests.
29437 * sysdeps/i386/fpu/libm-test-ulps: Update.
29438 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29441 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29443 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29445 * configure: Regenerated.
29447 2012-11-17 David S. Miller <davem@davemloft.net>
29450 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29451 nonzero exponents with absolute value below 0x1p-128 to +/-
29454 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29456 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29458 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29460 * posix/getconf-speclist.c: New file.
29461 * posix/posix-envs.def: Likewise.
29462 * posix/confstr.c (START_ENV_GROUP): New macro.
29463 (END_ENV_GROUP): Likewise.
29464 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29465 (KNOWN_PRESENT_ENV_STRING): Likewise.
29466 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29467 (UNKNOWN_ENVIRONMENT): Likewise.
29468 (confstr): Include posix-envs.def instead of handling
29469 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29470 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29471 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29472 (END_ENV_GROUP): Likewise.
29473 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29474 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29475 (UNKNOWN_ENVIRONMENT): Likewise.
29476 (__sysconf): Include posix-envs.def instead of handling associated
29477 cases directly here.
29478 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29479 preprocessing getconf-speclist.c rather than running getconf or
29480 generating empty file.
29482 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29484 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29486 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29489 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29491 2012-11-16 David S. Miller <davem@davemloft.net>
29493 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29494 smaller than LDBL_EPSILON/2.0L, just return xm1.
29496 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29498 * elf/tst-array1.c (init): Set constructor priority to 1000.
29499 (fini): Set destructor priority to 1000.
29500 * elf/tst-array2dep.c: Likewise.
29502 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29505 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29506 (_IO_new_file_xsputn): Also return EOF if none of the input
29507 data was written when overflow failed.
29508 * libio/iopadn.c (_IO_padn): Likewise.
29509 * libio/iowpadn.c (_IO_wpadn): Likewise.
29510 * stdio-common/tst-put-error.c: Add copyright notice.
29511 (do_test): Add case for printing padded string.
29512 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29513 _IO_padn returned error.
29514 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29515 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29518 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29520 * libio/libioP.h: Add comment note that the references to C++
29521 bits are now obsolete.
29523 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29525 * math/libm-test.inc (check_complex): Use asprintf.
29527 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29529 * debug/pcprofiledump.c (print_version): Update copyright year.
29530 * malloc/memusagestat.c (print_version): Likewise.
29532 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29535 * elf/Makefile (tests): Add tst-audit8.
29536 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29537 ($(objpfx)tst-audit8.out): New target.
29538 (tst-audit8-ENV): New variable.
29539 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29540 audit if l_reloc_result is NULL.
29541 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29542 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29543 * elf/tst-audit8.c: New file.
29545 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29547 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29548 * misc/Makefile (CFLAGS-select.c): Define.
29549 * posix/Makefile (CFLAGS-pause.c): Define.
29551 2012-11-13 David S. Miller <davem@davemloft.net>
29553 * crypt/Makefile: Move test targets after toplevel Rules
29554 inclusion. Grab any necessary sysdep routines when linking.
29555 * crypt/md5.c (md5_process_block): Remove define, we will always
29556 name it __md5_process_block.
29557 (md5_finish_ctx): Update md5_process_block call.
29558 (md5_stream): Likewise.
29559 (md5_process_bytes): Likewise.
29560 (md5_process_block): Rename to __md5_process_block and move to ...
29561 * crypt/md5-block.c: ... here.
29562 * crypt/sha256.c (sha256_process_block): Move to ...
29563 * crypt/sha256-block.c: ... here.
29564 * crypt/sha512.c (sha512_process_block): Move to ...
29565 * crypt/sha512-block.c: ... here.
29566 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29568 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29569 * sysdeps/sparc/sparc64/multiarch/Makefile
29570 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29572 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29573 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29575 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29576 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29577 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29578 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29579 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29580 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29581 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29582 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29583 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29585 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29586 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29588 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29590 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29592 * timezone/tzselect.ksh: Update from tzcode git revision
29593 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29594 * timezone/zdump.c: Likewise.
29595 * timezone/zic.c: Likewise.
29596 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29597 in TZVERSION setting, not $(PKGVERSION).
29598 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29599 REPORT_BUGS_TO settings.
29602 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29605 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29607 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29608 detection to immediately after _FP_ROUND().
29609 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29612 2012-11-11 David S. Miller <davem@davemloft.net>
29614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29616 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29617 __close rather than their public counterparts.
29619 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29621 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29623 [UNIX98] (sem_timedwait): Do not expect.
29624 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29625 [XPG4 || UNIX98] (sockatmark): Do not expect.
29626 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29627 (clock_getcpuclockid): Do not expect.
29628 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29629 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29631 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29632 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29633 [UNIX98] (vwscanf): Likewise.
29634 [UNIX98] (vswscanf): Likewise.
29636 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29638 * timezone/version.h: Remove file.
29639 * timezone/README: Do not refer to version.h.
29640 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29641 $(objpfx)version.h.
29642 ($(objpfx)zdump.o): Likewise.
29643 ($(objpfx)version.h): New target.
29645 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29647 * timezone/README: Don't mention modification to tzselect.ksh.
29648 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29649 work on unmodified tzselect.ksh. Substitute version numbers in
29652 * Makefile (format-me): Remove.
29653 (INSTALL): Adjust indentation. Use commands directly instead of
29654 using $(format-me).
29656 * aclocal.m4 (ACX_PKGVERSION): New macro.
29657 (ACX_BUGURL): Likewise.
29658 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29659 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29660 (REPORT_BUGS_TO): Likewise.
29661 * configure: Regenerated.
29662 * config.h.in (PKGVERSION): New macro.
29663 (REPORT_BUGS_TO): Likewise.
29664 * config.make.in (PKGVERSION): New variable.
29665 (PKGVERSION_TEXI): Likewise.
29666 (REPORT_BUGS_TO): Likewise.
29667 (REPORT_BUGS_TEXI): Likewise.
29668 * Makefile (format-me): Use -I$(common-objpfx)manual.
29669 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29670 ($(common-objpfx)manual/%): New target.
29671 (manual/%): Remove target.
29672 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29673 (print_version): Use PKGVERSION.
29674 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29675 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29676 and REPORT_BUGS_TO.
29677 ($(objpfx)xtrace): Likewise.
29678 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29679 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29680 (print_version): Use PKGVERSION.
29681 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29682 (do_version): Use PKGVERSION.
29683 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29685 (common-ldd-rewrite): Likewise.
29686 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29687 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29688 (print_version): Use PKGVERSION.
29689 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29690 * elf/pldd.c (argp_program_bug_address): Remove variable.
29691 (more_help): New function.
29692 (argp): Use more_help.
29693 (print_version): Use PKGVERSION.
29694 * elf/sln.c (main): Use PKGVERSION.
29695 (usage): Use REPORT_BUGS_TO.
29696 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29697 (top level): Use PKGVERSION.
29698 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29699 (print_version): Use PKGVERSION.
29700 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29701 (print_version): Use PKGVERSION.
29702 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29703 (print_version): Use PKGVERSION.
29704 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29705 (print_version): Use PKGVERSION.
29706 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29707 (print_version): Use PKGVERSION.
29708 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29709 (print_version): Use PKGVERSION.
29710 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29712 ($(objpfx)memusage): Likewise.
29713 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29714 (do_version): Use PKGVERSION.
29715 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29716 (print_version): Use PKGVERSION.
29717 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29718 ($PKGVERSION): New variable.
29719 ($REPORT_BUGS_TO): Likewise.
29720 (usage): Use $REPORT_BUGS_TO.
29721 (top level): Use $PKGVERSION.
29722 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29723 ($(objpfx)pkgvers.texi): New rule.
29724 ($(objpfx)stamp-pkgvers): Likewise.
29725 * manual/install.texi: Include pkgvers.texi.
29726 (--with-pkgversion): Document new configure option.
29727 (--with-bugurl): Likewise.
29728 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29729 than necessarily for this particular distribution. Use
29730 REPORT_BUGS_TO for where to report bugs.
29731 * INSTALL: Regenerated.
29732 * manual/libc.texinfo: Include pkgvers.texi.
29733 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29734 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29735 (print_version): Use PKGVERSION.
29736 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29737 (print_version): Use PKGVERSION.
29738 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29739 (print_version): Use PKGVERSION.
29740 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29741 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29743 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29744 (print_version): Use PKGVERSION.
29745 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29746 (print_version): Use PKGVERSION.
29747 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29750 * timezone/checktab.awk: Update from tzcode 2012i.
29751 * timezone/ialloc.c: Likewise.
29752 * timezone/private.h: Likewise.
29753 * timezone/scheck.c: Likewise.
29754 * timezone/tzfile.h: Likewise.
29755 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29756 (TZVERSION): Hardcode tzcode version number.
29757 * timezone/zdump.c: Update from tzcode 2012i.
29758 * timezone/zic.c: Likewise.
29759 * timezone/version.h: New file.
29760 * timezone/README: Describe version.h. Update upstream location.
29763 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29764 (mktemp): Enable declaration.
29765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29766 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29772 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29774 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29776 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29778 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29782 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29783 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29784 for copies of such integer values.
29785 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29786 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29788 2012-11-09 Andreas Jaeger <aj@suse.de>
29790 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29791 definitions and declarations that are provided by
29792 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29794 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29796 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29797 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29798 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29801 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29803 * elf/elf.h: Update comment before AArch64 relocations.
29805 2012-11-07 David S. Miller <davem@davemloft.net>
29807 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29808 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29809 (__start_context): Declare.
29810 (__makecontext_ret): Delete.
29811 (__makecontext): Hook up __start_context instead of
29813 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29814 (sysdep_routines): Add __start_context when in stdlib.
29816 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29818 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29819 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29820 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29822 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29823 (READELF): New variable. Use it instead of hardcoded "readelf".
29825 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29827 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29828 * sysdeps/x86/Makefile: Here.
29829 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29830 * sysdeps/x86/tst-xmmymm.sh: This.
29832 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29834 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29836 [UNIX98] (pthread_barrier_t): Do not expect.
29837 [UNIX98] (pthread_barrierattr_t): Likewise.
29838 [UNIX98] (pthread_spinlock_t): Likewise.
29839 [UNIX98] (pthread_barrier_destroy): Likewise.
29840 [UNIX98] (pthread_barrier_init): Likewise.
29841 [UNIX98] (pthread_barrier_wait): Likewise.
29842 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29843 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29844 [UNIX98] (pthread_barrierattr_init): Likewise.
29845 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29846 [UNIX98] (pthread_getcpuclockid): Likewise.
29847 [UNIX98] (pthread_mutex_timedlock): Likewise.
29848 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29849 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29850 [UNIX98] (pthread_sigmask): Likewise.
29851 [UNIX98] (pthread_spin_destroy): Likewise.
29852 [UNIX98] (pthread_spin_init): Likewise.
29853 [UNIX98] (pthread_spin_lock): Likewise.
29854 [UNIX98] (pthread_spin_trylock): Likewise.
29855 [UNIX98] (pthread_spin_unlock): Likewise.
29856 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29858 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29859 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29860 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29861 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29862 [XPG3 || XPG4] (pthread_key_t): Likewise.
29863 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29864 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29865 [XPG3 || XPG4] (pthread_once_t): Likewise.
29866 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29867 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29868 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29869 [XPG3 || XPG4] (pthread_t): Likewise.
29871 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29873 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29875 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29876 Change function return type to int.
29878 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29879 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29880 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29881 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29882 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29883 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29884 [!POSIX] (posix_madvise): Likewise.
29885 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29887 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29888 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29889 (mode_t): Likewise.
29890 (posix_mem_offset): Likewise.
29891 (posix_typed_mem_get_info): Likewise.
29892 (posix_typed_mem_open): Likewise.
29894 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29895 Change condition to [XOPEN2K8].
29897 * conform/conformtest.pl: Preprocess allow-header data with -x c
29898 instead of from stdin.
29899 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29900 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29901 [C99-based standards] (cerfc): Likewise.
29902 [C99-based standards] (cexp2): Likewise.
29903 [C99-based standards] (cexpm1): Likewise.
29904 [C99-based standards] (clog10): Likewise.
29905 [C99-based standards] (clog1p): Likewise.
29906 [C99-based standards] (clog2): Likewise.
29907 [C99-based standards] (clgamma): Likewise.
29908 [C99-based standards] (ctgamma): Likewise.
29909 [C99-based standards] (cerff): Likewise.
29910 [C99-based standards] (cerfcf): Likewise.
29911 [C99-based standards] (cexp2f): Likewise.
29912 [C99-based standards] (cexpm1f): Likewise.
29913 [C99-based standards] (clog10f): Likewise.
29914 [C99-based standards] (clog1pf): Likewise.
29915 [C99-based standards] (clog2f): Likewise.
29916 [C99-based standards] (clgammaf): Likewise.
29917 [C99-based standards] (ctgammaf): Likewise.
29918 [C99-based standards] (cerfl): Likewise.
29919 [C99-based standards] (cerfcl): Likewise.
29920 [C99-based standards] (cexp2l): Likewise.
29921 [C99-based standards] (cexpm1l): Likewise.
29922 [C99-based standards] (clog10l): Likewise.
29923 [C99-based standards] (clog1pl): Likewise.
29924 [C99-based standards] (clog2l): Likewise.
29925 [C99-based standards] (clgammal): Likewise.
29926 [C99-based standards] (ctgammal): Likewise.
29927 * conform/data/inttypes.h-data [C99-based standards]: Include
29928 stdint.h-data. Remove all expectations for stdint.h contents.
29929 [C99-based standards] (PRI*): Do not allow.
29930 [C99-based standards] (SCN*): Likewise.
29931 [C99-based standards] (*_t): Likewise.
29932 [C99-based-standards] (PRId8): Expect macro.
29933 [C99-based-standards] (PRIi8): Likewise.
29934 [C99-based-standards] (PRIo8): Likewise.
29935 [C99-based-standards] (PRIu8): Likewise.
29936 [C99-based-standards] (PRIx8): Likewise.
29937 [C99-based-standards] (PRIX8): Likewise.
29938 [C99-based-standards] (SCNd8): Likewise.
29939 [C99-based-standards] (SCNi8): Likewise.
29940 [C99-based-standards] (SCNo8): Likewise.
29941 [C99-based-standards] (SCNu8): Likewise.
29942 [C99-based-standards] (SCNx8): Likewise.
29943 [C99-based-standards] (PRIdLEAST8): Likewise.
29944 [C99-based-standards] (PRIiLEAST8): Likewise.
29945 [C99-based-standards] (PRIoLEAST8): Likewise.
29946 [C99-based-standards] (PRIuLEAST8): Likewise.
29947 [C99-based-standards] (PRIxLEAST8): Likewise.
29948 [C99-based-standards] (PRIXLEAST8): Likewise.
29949 [C99-based-standards] (SCNdLEAST8): Likewise.
29950 [C99-based-standards] (SCNiLEAST8): Likewise.
29951 [C99-based-standards] (SCNoLEAST8): Likewise.
29952 [C99-based-standards] (SCNuLEAST8): Likewise.
29953 [C99-based-standards] (SCNxLEAST8): Likewise.
29954 [C99-based-standards] (PRIdFAST8): Likewise.
29955 [C99-based-standards] (PRIiFAST8): Likewise.
29956 [C99-based-standards] (PRIoFAST8): Likewise.
29957 [C99-based-standards] (PRIuFAST8): Likewise.
29958 [C99-based-standards] (PRIxFAST8): Likewise.
29959 [C99-based-standards] (PRIXFAST8): Likewise.
29960 [C99-based-standards] (SCNdFAST8): Likewise.
29961 [C99-based-standards] (SCNiFAST8): Likewise.
29962 [C99-based-standards] (SCNoFAST8): Likewise.
29963 [C99-based-standards] (SCNuFAST8): Likewise.
29964 [C99-based-standards] (SCNxFAST8): Likewise.
29965 [C99-based-standards] (PRId16): Likewise.
29966 [C99-based-standards] (PRIi16): Likewise.
29967 [C99-based-standards] (PRIo16): Likewise.
29968 [C99-based-standards] (PRIu16): Likewise.
29969 [C99-based-standards] (PRIx16): Likewise.
29970 [C99-based-standards] (PRIX16): Likewise.
29971 [C99-based-standards] (SCNd16): Likewise.
29972 [C99-based-standards] (SCNi16): Likewise.
29973 [C99-based-standards] (SCNo16): Likewise.
29974 [C99-based-standards] (SCNu16): Likewise.
29975 [C99-based-standards] (SCNx16): Likewise.
29976 [C99-based-standards] (PRIdLEAST16): Likewise.
29977 [C99-based-standards] (PRIiLEAST16): Likewise.
29978 [C99-based-standards] (PRIoLEAST16): Likewise.
29979 [C99-based-standards] (PRIuLEAST16): Likewise.
29980 [C99-based-standards] (PRIxLEAST16): Likewise.
29981 [C99-based-standards] (PRIXLEAST16): Likewise.
29982 [C99-based-standards] (SCNdLEAST16): Likewise.
29983 [C99-based-standards] (SCNiLEAST16): Likewise.
29984 [C99-based-standards] (SCNoLEAST16): Likewise.
29985 [C99-based-standards] (SCNuLEAST16): Likewise.
29986 [C99-based-standards] (SCNxLEAST16): Likewise.
29987 [C99-based-standards] (PRIdFAST16): Likewise.
29988 [C99-based-standards] (PRIiFAST16): Likewise.
29989 [C99-based-standards] (PRIoFAST16): Likewise.
29990 [C99-based-standards] (PRIuFAST16): Likewise.
29991 [C99-based-standards] (PRIxFAST16): Likewise.
29992 [C99-based-standards] (PRIXFAST16): Likewise.
29993 [C99-based-standards] (SCNdFAST16): Likewise.
29994 [C99-based-standards] (SCNiFAST16): Likewise.
29995 [C99-based-standards] (SCNoFAST16): Likewise.
29996 [C99-based-standards] (SCNuFAST16): Likewise.
29997 [C99-based-standards] (SCNxFAST16): Likewise.
29998 [C99-based-standards] (PRId32): Likewise.
29999 [C99-based-standards] (PRIi32): Likewise.
30000 [C99-based-standards] (PRIo32): Likewise.
30001 [C99-based-standards] (PRIu32): Likewise.
30002 [C99-based-standards] (PRIx32): Likewise.
30003 [C99-based-standards] (PRIX32): Likewise.
30004 [C99-based-standards] (SCNd32): Likewise.
30005 [C99-based-standards] (SCNi32): Likewise.
30006 [C99-based-standards] (SCNo32): Likewise.
30007 [C99-based-standards] (SCNu32): Likewise.
30008 [C99-based-standards] (SCNx32): Likewise.
30009 [C99-based-standards] (PRIdLEAST32): Likewise.
30010 [C99-based-standards] (PRIiLEAST32): Likewise.
30011 [C99-based-standards] (PRIoLEAST32): Likewise.
30012 [C99-based-standards] (PRIuLEAST32): Likewise.
30013 [C99-based-standards] (PRIxLEAST32): Likewise.
30014 [C99-based-standards] (PRIXLEAST32): Likewise.
30015 [C99-based-standards] (SCNdLEAST32): Likewise.
30016 [C99-based-standards] (SCNiLEAST32): Likewise.
30017 [C99-based-standards] (SCNoLEAST32): Likewise.
30018 [C99-based-standards] (SCNuLEAST32): Likewise.
30019 [C99-based-standards] (SCNxLEAST32): Likewise.
30020 [C99-based-standards] (PRIdFAST32): Likewise.
30021 [C99-based-standards] (PRIiFAST32): Likewise.
30022 [C99-based-standards] (PRIoFAST32): Likewise.
30023 [C99-based-standards] (PRIuFAST32): Likewise.
30024 [C99-based-standards] (PRIxFAST32): Likewise.
30025 [C99-based-standards] (PRIXFAST32): Likewise.
30026 [C99-based-standards] (SCNdFAST32): Likewise.
30027 [C99-based-standards] (SCNiFAST32): Likewise.
30028 [C99-based-standards] (SCNoFAST32): Likewise.
30029 [C99-based-standards] (SCNuFAST32): Likewise.
30030 [C99-based-standards] (SCNxFAST32): Likewise.
30031 [C99-based-standards] (PRId64): Likewise.
30032 [C99-based-standards] (PRIi64): Likewise.
30033 [C99-based-standards] (PRIo64): Likewise.
30034 [C99-based-standards] (PRIu64): Likewise.
30035 [C99-based-standards] (PRIx64): Likewise.
30036 [C99-based-standards] (PRIX64): Likewise.
30037 [C99-based-standards] (SCNd64): Likewise.
30038 [C99-based-standards] (SCNi64): Likewise.
30039 [C99-based-standards] (SCNo64): Likewise.
30040 [C99-based-standards] (SCNu64): Likewise.
30041 [C99-based-standards] (SCNx64): Likewise.
30042 [C99-based-standards] (PRIdLEAST64): Likewise.
30043 [C99-based-standards] (PRIiLEAST64): Likewise.
30044 [C99-based-standards] (PRIoLEAST64): Likewise.
30045 [C99-based-standards] (PRIuLEAST64): Likewise.
30046 [C99-based-standards] (PRIxLEAST64): Likewise.
30047 [C99-based-standards] (PRIXLEAST64): Likewise.
30048 [C99-based-standards] (SCNdLEAST64): Likewise.
30049 [C99-based-standards] (SCNiLEAST64): Likewise.
30050 [C99-based-standards] (SCNoLEAST64): Likewise.
30051 [C99-based-standards] (SCNuLEAST64): Likewise.
30052 [C99-based-standards] (SCNxLEAST64): Likewise.
30053 [C99-based-standards] (PRIdFAST64): Likewise.
30054 [C99-based-standards] (PRIiFAST64): Likewise.
30055 [C99-based-standards] (PRIoFAST64): Likewise.
30056 [C99-based-standards] (PRIuFAST64): Likewise.
30057 [C99-based-standards] (PRIxFAST64): Likewise.
30058 [C99-based-standards] (PRIXFAST64): Likewise.
30059 [C99-based-standards] (SCNdFAST64): Likewise.
30060 [C99-based-standards] (SCNiFAST64): Likewise.
30061 [C99-based-standards] (SCNoFAST64): Likewise.
30062 [C99-based-standards] (SCNuFAST64): Likewise.
30063 [C99-based-standards] (SCNxFAST64): Likewise.
30064 [C99-based-standards] (PRIdMAX): Likewise.
30065 [C99-based-standards] (PRIiMAX): Likewise.
30066 [C99-based-standards] (PRIoMAX): Likewise.
30067 [C99-based-standards] (PRIuMAX): Likewise.
30068 [C99-based-standards] (PRIxMAX): Likewise.
30069 [C99-based-standards] (PRIXMAX): Likewise.
30070 [C99-based-standards] (SCNdMAX): Likewise.
30071 [C99-based-standards] (SCNiMAX): Likewise.
30072 [C99-based-standards] (SCNoMAX): Likewise.
30073 [C99-based-standards] (SCNuMAX): Likewise.
30074 [C99-based-standards] (SCNxMAX): Likewise.
30075 [C99-based-standards] (PRIdPTR): Likewise.
30076 [C99-based-standards] (PRIiPTR): Likewise.
30077 [C99-based-standards] (PRIoPTR): Likewise.
30078 [C99-based-standards] (PRIuPTR): Likewise.
30079 [C99-based-standards] (PRIxPTR): Likewise.
30080 [C99-based-standards] (PRIXPTR): Likewise.
30081 [C99-based-standards] (SCNdPTR): Likewise.
30082 [C99-based-standards] (SCNiPTR): Likewise.
30083 [C99-based-standards] (SCNoPTR): Likewise.
30084 [C99-based-standards] (SCNuPTR): Likewise.
30085 [C99-based-standards] (SCNxPTR): Likewise.
30086 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30088 * conform/data/stdint.h-data: Update comments to clarify
30090 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30092 [C99-based standards] (INT8_MAX): Likewise.
30093 [C99-based standards] (INT16_MIN): Likewise.
30094 [C99-based standards] (INT16_MAX): Likewise.
30095 [C99-based standards] (INT32_MIN): Likewise.
30096 [C99-based standards] (INT32_MAX): Likewise.
30097 [C99-based standards] (INT64_MIN): Likewise.
30098 [C99-based standards] (INT64_MAX): Likewise.
30099 [C99-based standards] (UINT8_MAX): Likewise.
30100 [C99-based standards] (UINT16_MAX): Likewise.
30101 [C99-based standards] (UINT32_MAX): Likewise.
30102 [C99-based standards] (UINT64_MAX): Likewise.
30103 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30104 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30105 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30106 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30107 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30108 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30109 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30110 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30111 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30112 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30113 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30114 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30115 [C99-based standards] (INT_FAST8_MIN): Likewise.
30116 [C99-based standards] (INT_FAST8_MAX): Likewise.
30117 [C99-based standards] (INT_FAST16_MIN): Likewise.
30118 [C99-based standards] (INT_FAST16_MAX): Likewise.
30119 [C99-based standards] (INT_FAST32_MIN): Likewise.
30120 [C99-based standards] (INT_FAST32_MAX): Likewise.
30121 [C99-based standards] (INT_FAST64_MIN): Likewise.
30122 [C99-based standards] (INT_FAST64_MAX): Likewise.
30123 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30124 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30125 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30126 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30127 [C99-based standards] (INTPTR_MIN): Likewise.
30128 [C99-based standards] (INTPTR_MAX): Likewise.
30129 [C99-based standards] (UINTPTR_MAX): Likewise.
30130 [C99-based standards] (INTMAX_MIN): Likewise.
30131 [C99-based standards] (INTMAX_MAX): Likewise.
30132 [C99-based standards] (UINTMAX_MAX): Likewise.
30133 [C99-based standards] (PTRDIFF_MIN): Likewise.
30134 [C99-based standards] (PTRDIFF_MAX): Likewise.
30135 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30136 [C99-based standards] (SIZE_MAX): Likewise.
30137 [C99-based standards] (WCHAR_MAX): Likewise.
30138 [C99-based standards] (WINT_MAX): Likewise.
30139 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30140 constraint on value.
30141 [C99-based standards] (WCHAR_MIN): Likewise.
30142 [C99-based standards] (WINT_MIN): Likewise.
30143 [C99-based standards] (*_t): Allow.
30144 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30145 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30146 Include math.h-data and complex.h-data. Remove all expectations
30147 of math.h and complex.h contents.
30148 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30150 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30151 (struct tm): Expect tag.
30152 [C99-based-standards] (wcstof): Expect function.
30153 [C99-based-standards] (wcstold): Likewise.
30154 [C99-based-standards] (wcstoll): Likewise.
30155 [C99-based-standards] (wcstoull): Likewise.
30156 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30157 macro-int-constant. Specify type.
30158 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30159 constraint on value.
30160 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30162 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30164 [ISO C standards]: Do not allow headers.
30165 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30166 wcs[abcdefghijklmnopqrstuvwxyz]*.
30167 [ISO C standards] (*_t): Do not allow.
30168 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30170 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30171 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30173 [ISO C standards]: Do not allow headers.
30174 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30175 is[abcdefghijklmnopqrstuvwxyz]*.
30176 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30177 to[abcdefghijklmnopqrstuvwxyz]*.
30178 [ISO C standards] (*_t): Do not allow.
30179 * conform/data/stdalign.h-data: New file.
30180 * conform/data/stdbool.h-data: Likewise.
30181 * conform/data/stdnoreturn.h-data: Likewise.
30183 2012-11-07 Roland McGrath <roland@hack.frob.com>
30186 * manual/filesys.texi (Directory Entries): Typo fix.
30187 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30189 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30191 * elf/elf.h (EM_AARCH64): New macro.
30192 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30193 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30194 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30195 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30196 (R_AARCH64_TLSDESC): Likewise.
30197 (NT_ARM_TLS): Likewise.
30198 (NT_ARM_HW_BREAK): Likewise.
30199 (NT_ARM_HW_WATCH): Likewise.
30201 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30204 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30205 (__ieee754_powl): Saturate nonzero exponents with absolute value
30206 below 0x1p-79 to +/- 0x1p-79.
30207 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30208 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30209 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30210 nonzero exponents with absolute value below 0x1p-32 to +/-
30212 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30213 (__ieee754_powl): Saturate nonzero exponents with absolute value
30214 below 0x1p-79 to +/- 0x1p-79.
30215 * math/libm-test.inc (pow_test): Add more tests.
30217 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30219 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30220 _dl_s390_cap_flags with kernel. Increase string length.
30221 (_dl_s390_platforms): Add z196 and zEC12.
30223 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30225 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30226 Change XOPEN21K to XOPEN2K.
30228 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30230 * string/memmove.c: Use memcpy when possible.
30232 2012-11-06 Andreas Jaeger <aj@suse.de>
30234 * po/eo.po: Update from translation team.
30236 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30239 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30240 exponent and small x and y exponents, scale x or y up. Increase
30241 by 2 the exponent used in scaling up.
30242 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30243 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30244 * math/libm-test.inc (fma_test): Add more tests.
30245 (fma_test_towardzero): Likewise.
30246 (fma_test_downward): Likewise.
30247 (fma_test_upward): Likewise.
30249 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30252 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30256 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30257 namespace for names of struct fields.
30258 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30260 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30261 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30263 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30266 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30268 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30270 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30274 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30277 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30280 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30281 definitely overflow as x * y not x * y + z.
30282 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30283 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30284 * math/libm-test.inc (fma_test): Add more tests.
30285 (fma_test_towardzero): Likewise.
30286 (fma_test_downward): Likewise.
30287 (fma_test_upward): Likewise.
30289 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30293 * include/stub-tag.h: Remove file.
30294 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30296 * manual/maint.texi (Porting): Don't reference it.
30297 * Makerules ($(objpfx)stubs): Likewise.
30298 * dirent/closedir.c: Don't include <stub-tag.h>.
30299 * dirent/dirfd.c: Likewise.
30300 * dirent/fdopendir.c: Likewise.
30301 * dirent/getdents.c: Likewise.
30302 * dirent/getdents64.c: Likewise.
30303 * dirent/opendir.c: Likewise.
30304 * dirent/readdir.c: Likewise.
30305 * dirent/readdir64.c: Likewise.
30306 * dirent/readdir64_r.c: Likewise.
30307 * dirent/readdir_r.c: Likewise.
30308 * dirent/rewinddir.c: Likewise.
30309 * dirent/seekdir.c: Likewise.
30310 * dirent/telldir.c: Likewise.
30311 * gmon/profil.c: Likewise.
30312 * grp/setgroups.c: Likewise.
30313 * inet/if_index.c: Likewise.
30314 * io/access.c: Likewise.
30315 * io/chdir.c: Likewise.
30316 * io/chmod.c: Likewise.
30317 * io/chown.c: Likewise.
30318 * io/close.c: Likewise.
30319 * io/dup.c: Likewise.
30320 * io/dup2.c: Likewise.
30321 * io/dup3.c: Likewise.
30322 * io/euidaccess.c: Likewise.
30323 * io/faccessat.c: Likewise.
30324 * io/fchdir.c: Likewise.
30325 * io/fchmod.c: Likewise.
30326 * io/fchmodat.c: Likewise.
30327 * io/fchown.c: Likewise.
30328 * io/fchownat.c: Likewise.
30329 * io/fcntl.c: Likewise.
30330 * io/flock.c: Likewise.
30331 * io/fstatfs.c: Likewise.
30332 * io/fstatfs64.c: Likewise.
30333 * io/fstatvfs.c: Likewise.
30334 * io/fstatvfs64.c: Likewise.
30335 * io/futimens.c: Likewise.
30336 * io/fxstat.c: Likewise.
30337 * io/fxstat64.c: Likewise.
30338 * io/fxstatat.c: Likewise.
30339 * io/fxstatat64.c: Likewise.
30340 * io/getcwd.c: Likewise.
30341 * io/isatty.c: Likewise.
30342 * io/lchmod.c: Likewise.
30343 * io/lchown.c: Likewise.
30344 * io/link.c: Likewise.
30345 * io/linkat.c: Likewise.
30346 * io/lseek.c: Likewise.
30347 * io/lseek64.c: Likewise.
30348 * io/lxstat64.c: Likewise.
30349 * io/mkdir.c: Likewise.
30350 * io/mkdirat.c: Likewise.
30351 * io/mkfifo.c: Likewise.
30352 * io/mkfifoat.c: Likewise.
30353 * io/open.c: Likewise.
30354 * io/open64.c: Likewise.
30355 * io/openat.c: Likewise.
30356 * io/openat64.c: Likewise.
30357 * io/pipe.c: Likewise.
30358 * io/pipe2.c: Likewise.
30359 * io/poll.c: Likewise.
30360 * io/posix_fadvise.c: Likewise.
30361 * io/posix_fadvise64.c: Likewise.
30362 * io/posix_fallocate.c: Likewise.
30363 * io/posix_fallocate64.c: Likewise.
30364 * io/read.c: Likewise.
30365 * io/readlink.c: Likewise.
30366 * io/readlinkat.c: Likewise.
30367 * io/rmdir.c: Likewise.
30368 * io/sendfile.c: Likewise.
30369 * io/sendfile64.c: Likewise.
30370 * io/statfs.c: Likewise.
30371 * io/statfs64.c: Likewise.
30372 * io/statvfs.c: Likewise.
30373 * io/statvfs64.c: Likewise.
30374 * io/symlink.c: Likewise.
30375 * io/symlinkat.c: Likewise.
30376 * io/ttyname.c: Likewise.
30377 * io/ttyname_r.c: Likewise.
30378 * io/umask.c: Likewise.
30379 * io/unlink.c: Likewise.
30380 * io/unlinkat.c: Likewise.
30381 * io/utime.c: Likewise.
30382 * io/utimensat.c: Likewise.
30383 * io/write.c: Likewise.
30384 * io/xmknod.c: Likewise.
30385 * io/xmknodat.c: Likewise.
30386 * io/xstat.c: Likewise.
30387 * io/xstat64.c: Likewise.
30388 * login/getpt.c: Likewise.
30389 * login/grantpt.c: Likewise.
30390 * login/unlockpt.c: Likewise.
30391 * math/e_acoshl.c: Likewise.
30392 * math/e_acosl.c: Likewise.
30393 * math/e_asinl.c: Likewise.
30394 * math/e_atan2l.c: Likewise.
30395 * math/e_atanhl.c: Likewise.
30396 * math/e_coshl.c: Likewise.
30397 * math/e_expl.c: Likewise.
30398 * math/e_fmodl.c: Likewise.
30399 * math/e_gammal_r.c: Likewise.
30400 * math/e_hypotl.c: Likewise.
30401 * math/e_j0l.c: Likewise.
30402 * math/e_j1l.c: Likewise.
30403 * math/e_jnl.c: Likewise.
30404 * math/e_lgammal_r.c: Likewise.
30405 * math/e_log10l.c: Likewise.
30406 * math/e_log2l.c: Likewise.
30407 * math/e_logl.c: Likewise.
30408 * math/e_powl.c: Likewise.
30409 * math/e_rem_pio2l.c: Likewise.
30410 * math/e_sinhl.c: Likewise.
30411 * math/e_sqrtl.c: Likewise.
30412 * math/fclrexcpt.c: Likewise.
30413 * math/fedisblxcpt.c: Likewise.
30414 * math/feenablxcpt.c: Likewise.
30415 * math/fegetenv.c: Likewise.
30416 * math/fegetexcept.c: Likewise.
30417 * math/fegetround.c: Likewise.
30418 * math/feholdexcpt.c: Likewise.
30419 * math/fesetenv.c: Likewise.
30420 * math/fesetround.c: Likewise.
30421 * math/feupdateenv.c: Likewise.
30422 * math/fgetexcptflg.c: Likewise.
30423 * math/fraiseexcpt.c: Likewise.
30424 * math/fsetexcptflg.c: Likewise.
30425 * math/ftestexcept.c: Likewise.
30426 * math/k_cosl.c: Likewise.
30427 * math/k_rem_pio2l.c: Likewise.
30428 * math/k_sinl.c: Likewise.
30429 * math/k_tanl.c: Likewise.
30430 * math/s_asinhl.c: Likewise.
30431 * math/s_atanl.c: Likewise.
30432 * math/s_cbrtl.c: Likewise.
30433 * math/s_erfl.c: Likewise.
30434 * math/s_expm1l.c: Likewise.
30435 * math/s_log1pl.c: Likewise.
30436 * math/s_tanhl.c: Likewise.
30437 * misc/acct.c: Likewise.
30438 * misc/brk.c: Likewise.
30439 * misc/chflags.c: Likewise.
30440 * misc/chroot.c: Likewise.
30441 * misc/fchflags.c: Likewise.
30442 * misc/fgetxattr.c: Likewise.
30443 * misc/flistxattr.c: Likewise.
30444 * misc/fremovexattr.c: Likewise.
30445 * misc/fsetxattr.c: Likewise.
30446 * misc/fsync.c: Likewise.
30447 * misc/ftruncate.c: Likewise.
30448 * misc/futimes.c: Likewise.
30449 * misc/futimesat.c: Likewise.
30450 * misc/getdomain.c: Likewise.
30451 * misc/getdtsz.c: Likewise.
30452 * misc/gethostid.c: Likewise.
30453 * misc/gethostname.c: Likewise.
30454 * misc/getloadavg.c: Likewise.
30455 * misc/getpagesize.c: Likewise.
30456 * misc/getsysstats.c: Likewise.
30457 * misc/getxattr.c: Likewise.
30458 * misc/gtty.c: Likewise.
30459 * misc/ioctl.c: Likewise.
30460 * misc/lgetxattr.c: Likewise.
30461 * misc/listxattr.c: Likewise.
30462 * misc/llistxattr.c: Likewise.
30463 * misc/lremovexattr.c: Likewise.
30464 * misc/lsetxattr.c: Likewise.
30465 * misc/lutimes.c: Likewise.
30466 * misc/madvise.c: Likewise.
30467 * misc/mincore.c: Likewise.
30468 * misc/mlock.c: Likewise.
30469 * misc/mlockall.c: Likewise.
30470 * misc/mmap.c: Likewise.
30471 * misc/mprotect.c: Likewise.
30472 * misc/msync.c: Likewise.
30473 * misc/munlock.c: Likewise.
30474 * misc/munlockall.c: Likewise.
30475 * misc/munmap.c: Likewise.
30476 * misc/preadv.c: Likewise.
30477 * misc/preadv64.c: Likewise.
30478 * misc/ptrace.c: Likewise.
30479 * misc/pwritev.c: Likewise.
30480 * misc/pwritev64.c: Likewise.
30481 * misc/readv.c: Likewise.
30482 * misc/reboot.c: Likewise.
30483 * misc/remap_file_pages.c: Likewise.
30484 * misc/removexattr.c: Likewise.
30485 * misc/revoke.c: Likewise.
30486 * misc/select.c: Likewise.
30487 * misc/setdomain.c: Likewise.
30488 * misc/setegid.c: Likewise.
30489 * misc/seteuid.c: Likewise.
30490 * misc/sethostid.c: Likewise.
30491 * misc/sethostname.c: Likewise.
30492 * misc/setregid.c: Likewise.
30493 * misc/setreuid.c: Likewise.
30494 * misc/setxattr.c: Likewise.
30495 * misc/sstk.c: Likewise.
30496 * misc/stty.c: Likewise.
30497 * misc/swapoff.c: Likewise.
30498 * misc/swapon.c: Likewise.
30499 * misc/sync.c: Likewise.
30500 * misc/syncfs.c: Likewise.
30501 * misc/syscall.c: Likewise.
30502 * misc/truncate.c: Likewise.
30503 * misc/ualarm.c: Likewise.
30504 * misc/usleep.c: Likewise.
30505 * misc/ustat.c: Likewise.
30506 * misc/utimes.c: Likewise.
30507 * misc/vhangup.c: Likewise.
30508 * misc/writev.c: Likewise.
30509 * posix/_exit.c: Likewise.
30510 * posix/alarm.c: Likewise.
30511 * posix/execve.c: Likewise.
30512 * posix/fexecve.c: Likewise.
30513 * posix/fork.c: Likewise.
30514 * posix/fpathconf.c: Likewise.
30515 * posix/getaddrinfo.c: Likewise.
30516 * posix/getegid.c: Likewise.
30517 * posix/geteuid.c: Likewise.
30518 * posix/getgid.c: Likewise.
30519 * posix/getgroups.c: Likewise.
30520 * posix/getlogin.c: Likewise.
30521 * posix/getlogin_r.c: Likewise.
30522 * posix/getpgid.c: Likewise.
30523 * posix/getpid.c: Likewise.
30524 * posix/getppid.c: Likewise.
30525 * posix/getresgid.c: Likewise.
30526 * posix/getresuid.c: Likewise.
30527 * posix/getsid.c: Likewise.
30528 * posix/getuid.c: Likewise.
30529 * posix/glob64.c: Likewise.
30530 * posix/nanosleep.c: Likewise.
30531 * posix/pathconf.c: Likewise.
30532 * posix/pause.c: Likewise.
30533 * posix/posix_madvise.c: Likewise.
30534 * posix/pread.c: Likewise.
30535 * posix/pread64.c: Likewise.
30536 * posix/pwrite.c: Likewise.
30537 * posix/pwrite64.c: Likewise.
30538 * posix/sched_getaffinity.c: Likewise.
30539 * posix/sched_getp.c: Likewise.
30540 * posix/sched_gets.c: Likewise.
30541 * posix/sched_primax.c: Likewise.
30542 * posix/sched_primin.c: Likewise.
30543 * posix/sched_rr_gi.c: Likewise.
30544 * posix/sched_setaffinity.c: Likewise.
30545 * posix/sched_setp.c: Likewise.
30546 * posix/sched_sets.c: Likewise.
30547 * posix/sched_yield.c: Likewise.
30548 * posix/setgid.c: Likewise.
30549 * posix/setlogin.c: Likewise.
30550 * posix/setpgid.c: Likewise.
30551 * posix/setresgid.c: Likewise.
30552 * posix/setresuid.c: Likewise.
30553 * posix/setsid.c: Likewise.
30554 * posix/setuid.c: Likewise.
30555 * posix/sleep.c: Likewise.
30556 * posix/spawni.c: Likewise.
30557 * posix/sysconf.c: Likewise.
30558 * posix/times.c: Likewise.
30559 * posix/wait.c: Likewise.
30560 * posix/wait3.c: Likewise.
30561 * posix/wait4.c: Likewise.
30562 * posix/waitpid.c: Likewise.
30563 * resolv/gai_sigqueue.c: Likewise.
30564 * resource/getpriority.c: Likewise.
30565 * resource/getrlimit.c: Likewise.
30566 * resource/getrusage.c: Likewise.
30567 * resource/nice.c: Likewise.
30568 * resource/setpriority.c: Likewise.
30569 * resource/setrlimit.c: Likewise.
30570 * resource/ulimit.c: Likewise.
30571 * rt/aio_cancel.c: Likewise.
30572 * rt/aio_fsync.c: Likewise.
30573 * rt/aio_read.c: Likewise.
30574 * rt/aio_sigqueue.c: Likewise.
30575 * rt/aio_suspend.c: Likewise.
30576 * rt/aio_write.c: Likewise.
30577 * rt/clock_getres.c: Likewise.
30578 * rt/clock_gettime.c: Likewise.
30579 * rt/clock_nanosleep.c: Likewise.
30580 * rt/clock_settime.c: Likewise.
30581 * rt/lio_listio.c: Likewise.
30582 * rt/mq_close.c: Likewise.
30583 * rt/mq_getattr.c: Likewise.
30584 * rt/mq_notify.c: Likewise.
30585 * rt/mq_open.c: Likewise.
30586 * rt/mq_receive.c: Likewise.
30587 * rt/mq_send.c: Likewise.
30588 * rt/mq_setattr.c: Likewise.
30589 * rt/mq_timedreceive.c: Likewise.
30590 * rt/mq_timedsend.c: Likewise.
30591 * rt/mq_unlink.c: Likewise.
30592 * rt/shm_open.c: Likewise.
30593 * rt/shm_unlink.c: Likewise.
30594 * rt/timer_create.c: Likewise.
30595 * rt/timer_delete.c: Likewise.
30596 * rt/timer_getoverr.c: Likewise.
30597 * rt/timer_gettime.c: Likewise.
30598 * rt/timer_settime.c: Likewise.
30599 * setjmp/__longjmp.c: Likewise.
30600 * setjmp/setjmp.c: Likewise.
30601 * signal/kill.c: Likewise.
30602 * signal/killpg.c: Likewise.
30603 * signal/raise.c: Likewise.
30604 * signal/sigaction.c: Likewise.
30605 * signal/sigaltstack.c: Likewise.
30606 * signal/sigblock.c: Likewise.
30607 * signal/sigignore.c: Likewise.
30608 * signal/sigintr.c: Likewise.
30609 * signal/signal.c: Likewise.
30610 * signal/sigpause.c: Likewise.
30611 * signal/sigpending.c: Likewise.
30612 * signal/sigqueue.c: Likewise.
30613 * signal/sigreturn.c: Likewise.
30614 * signal/sigset.c: Likewise.
30615 * signal/sigsetmask.c: Likewise.
30616 * signal/sigstack.c: Likewise.
30617 * signal/sigsuspend.c: Likewise.
30618 * signal/sigtimedwait.c: Likewise.
30619 * signal/sigvec.c: Likewise.
30620 * signal/sigwait.c: Likewise.
30621 * signal/sigwaitinfo.c: Likewise.
30622 * signal/sysv_signal.c: Likewise.
30623 * socket/accept.c: Likewise.
30624 * socket/accept4.c: Likewise.
30625 * socket/bind.c: Likewise.
30626 * socket/connect.c: Likewise.
30627 * socket/getpeername.c: Likewise.
30628 * socket/getsockname.c: Likewise.
30629 * socket/getsockopt.c: Likewise.
30630 * socket/isfdtype.c: Likewise.
30631 * socket/listen.c: Likewise.
30632 * socket/recv.c: Likewise.
30633 * socket/recvfrom.c: Likewise.
30634 * socket/recvmsg.c: Likewise.
30635 * socket/send.c: Likewise.
30636 * socket/sendmsg.c: Likewise.
30637 * socket/sendto.c: Likewise.
30638 * socket/setsockopt.c: Likewise.
30639 * socket/shutdown.c: Likewise.
30640 * socket/sockatmark.c: Likewise.
30641 * socket/socket.c: Likewise.
30642 * socket/socketpair.c: Likewise.
30643 * stdio-common/ctermid.c: Likewise.
30644 * stdio-common/cuserid.c: Likewise.
30645 * stdio-common/remove.c: Likewise.
30646 * stdio-common/rename.c: Likewise.
30647 * stdio-common/renameat.c: Likewise.
30648 * stdio-common/tempname.c: Likewise.
30649 * stdlib/getcontext.c: Likewise.
30650 * stdlib/makecontext.c: Likewise.
30651 * stdlib/setcontext.c: Likewise.
30652 * stdlib/swapcontext.c: Likewise.
30653 * stdlib/system.c: Likewise.
30654 * streams/fattach.c: Likewise.
30655 * streams/fdetach.c: Likewise.
30656 * streams/getmsg.c: Likewise.
30657 * streams/getpmsg.c: Likewise.
30658 * streams/putmsg.c: Likewise.
30659 * streams/putpmsg.c: Likewise.
30660 * sysdeps/unix/bsd/getpt.c: Likewise.
30661 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30662 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30663 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30666 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30667 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30668 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30669 * sysvipc/msgctl.c: Likewise.
30670 * sysvipc/msgget.c: Likewise.
30671 * sysvipc/msgrcv.c: Likewise.
30672 * sysvipc/msgsnd.c: Likewise.
30673 * sysvipc/semctl.c: Likewise.
30674 * sysvipc/semget.c: Likewise.
30675 * sysvipc/semop.c: Likewise.
30676 * sysvipc/semtimedop.c: Likewise.
30677 * sysvipc/shmat.c: Likewise.
30678 * sysvipc/shmctl.c: Likewise.
30679 * sysvipc/shmdt.c: Likewise.
30680 * sysvipc/shmget.c: Likewise.
30681 * termios/tcdrain.c: Likewise.
30682 * termios/tcflow.c: Likewise.
30683 * termios/tcflush.c: Likewise.
30684 * termios/tcgetattr.c: Likewise.
30685 * termios/tcgetpgrp.c: Likewise.
30686 * termios/tcsendbrk.c: Likewise.
30687 * termios/tcsetattr.c: Likewise.
30688 * termios/tcsetpgrp.c: Likewise.
30689 * time/adjtime.c: Likewise.
30690 * time/clock.c: Likewise.
30691 * time/getitimer.c: Likewise.
30692 * time/gettimeofday.c: Likewise.
30693 * time/setitimer.c: Likewise.
30694 * time/settimeofday.c: Likewise.
30695 * time/stime.c: Likewise.
30696 * time/time.c: Likewise.
30698 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30700 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30703 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30705 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30707 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30711 FE_TONEAREST before applying Dekker multiplication and Knuth
30712 addition. Clear inexact exceptions and check for exact zero
30713 results afterwards.
30714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30715 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30716 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30717 * math/libm-test.inc (fma_test): Add more tests.
30718 (fma_test_towardzero): Likewise.
30719 (fma_test_downward): Likewise.
30720 (fma_test_upward): Likewise.
30721 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30723 (libc_fesetround): New macro.
30724 (libc_fesetroundf): Likewise.
30725 (libc_fesetroundl): Likewise.
30726 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30728 (libc_fesetround_387): Likewise.
30729 (libc_fesetroundf): New macro.
30730 (libc_fesetround): Likewise.
30731 (libc_fesetroundl): Likewise.
30732 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30734 (libc_fesetroundf): New macro.
30735 (libc_fesetround): Likewise.
30736 (libc_fesetroundl): Likewise.
30737 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30738 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30739 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30741 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30742 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30744 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30745 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30747 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30751 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30752 integer constant usable in #if and use that to give value to enum
30754 (FE_DIVBYZERO): Likewise.
30755 (FE_UNDERFLOW): Likewise.
30756 (FE_OVERFLOW): Likewise.
30757 (FE_INVALID): Likewise.
30758 (FE_INVALID_SNAN): Likewise.
30759 (FE_INVALID_ISI): Likewise.
30760 (FE_INVALID_IDI): Likewise.
30761 (FE_INVALID_ZDZ): Likewise.
30762 (FE_INVALID_IMZ): Likewise.
30763 (FE_INVALID_COMPARE): Likewise.
30764 (FE_INVALID_SOFTWARE): Likewise.
30765 (FE_INVALID_SQRT): Likewise.
30766 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30767 (FE_TONEAREST): Likewise.
30768 (FE_TOWARDZERO): Likewise.
30769 (FE_UPWARD): Likewise.
30770 (FE_DOWNWARD): Likewise.
30771 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30772 (FE_DIVBYZERO): Likewise.
30773 (FE_OVERFLOW): Likewise.
30774 (FE_UNDERFLOW): Likewise.
30775 (FE_INEXACT): Likewise.
30776 (FE_TONEAREST): Likewise.
30777 (FE_DOWNWARD): Likewise.
30778 (FE_UPWARD): Likewise.
30779 (FE_TOWARDZERO): Likewise.
30780 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30781 (FE_UNDERFLOW): Likewise.
30782 (FE_OVERFLOW): Likewise.
30783 (FE_DIVBYZERO): Likewise.
30784 (FE_INVALID): Likewise.
30785 (FE_TONEAREST): Likewise.
30786 (FE_TOWARDZERO): Likewise.
30787 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30788 (FE_OVERFLOW): Likewise.
30789 (FE_UNDERFLOW): Likewise.
30790 (FE_DIVBYZERO): Likewise.
30791 (FE_INEXACT): Likewise.
30792 (FE_TONEAREST): Likewise.
30793 (FE_TOWARDZERO): Likewise.
30794 (FE_UPWARD): Likewise.
30795 (FE_DOWNWARD): Likewise.
30796 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30797 (FE_DIVBYZERO): Likewise.
30798 (FE_OVERFLOW): Likewise.
30799 (FE_UNDERFLOW): Likewise.
30800 (FE_INEXACT): Likewise.
30801 (FE_TONEAREST): Likewise.
30802 (FE_DOWNWARD): Likewise.
30803 (FE_UPWARD): Likewise.
30804 (FE_TOWARDZERO): Likewise.
30806 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30808 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30810 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30812 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30813 commands. Quote $PWD.
30814 (blacklist_exports): Don't use remove_newlines. Replace "declare
30816 (remove_newlines): Remove.
30818 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30820 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30821 * stdlib/stdlib.h (atof): Moved to ...
30822 * include/bits/stdlib-float.h: Here. New file.
30823 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30824 * stdlib/bits/stdlib-float.h: New file.
30825 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30827 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30830 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30832 * conform/conformtest.pl (@headers): Add fenv.h.
30833 * conform/data/fenv.h-data: New file.
30834 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30835 include of <math/fenv.h>.
30837 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30838 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30839 && !UNIX98]. Enables tests for XOPEN2K8.
30840 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30841 POSIX2008]: Likewise.
30843 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30844 (struct rusage): Do not expect type or its members.
30847 * math/math.h (FP_NAN): Define macro to integer constant usable in
30848 #if and use that to give value to enum constant.
30849 (FP_INFINITE): Likewise.
30850 (FP_ZERO): Likewise.
30851 (FP_SUBNORMAL): Likewise.
30852 (FP_NORMAL): Likewise.
30854 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30856 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30857 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30860 2012-11-02 Roland McGrath <roland@hack.frob.com>
30862 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30863 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30864 autoconf-time if not.
30865 * configure.in: Remove AC_PREREQ.
30867 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30869 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30870 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30871 of the internal implementation.
30873 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30875 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30876 except include of <misc/sys/syslog.h>.
30878 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30881 function returns with a NULL context exit with zero.
30883 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30885 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30887 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30889 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30890 (run_program_cmd): This.
30891 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30892 (tst_langinfo): New variable. Use it.
30894 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30896 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30897 floating point opcodes.
30899 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30901 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30904 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30906 * sysdeps/mach/hurd/powerpc: Remove directory.
30907 * sysdeps/mach/powerpc: Likewise.
30909 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30911 * scripts/check-local-headers.sh: Ignore c++ headers.
30913 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30915 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30916 __libc_cleanup_region_start argument.
30918 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30923 x * y using scaling, not as x * y + z.
30924 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30925 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30926 * math/libm-test.inc (fma_test): Add more tests.
30927 (fma_test_towardzero): Likewise.
30928 (fma_test_downward): Likewise.
30929 (fma_test_upward): Likewise.
30931 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30933 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30935 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30937 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30940 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30942 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30944 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30951 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30954 Fix the order of the list for glibc 2.17.
30955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30958 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30962 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30965 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30966 for low part of x being zero before using __atanl (y).
30967 * math/libm-test.inc (atan2_test): Add another test.
30969 * manual/install.texi (Configuring and compiling): Document
30970 general use of test-wrapper and test-wrapper-env.
30971 * INSTALL: Regenerated.
30973 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30974 (__fma): Do not extract and scale down low bits on after-rounding
30975 systems when result rounded to normal precision would have normal
30977 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30978 (__fmal): Do not extract and scale down low bits on after-rounding
30979 systems when result rounded to normal precision would have normal
30981 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30982 (__fmal): Do not extract and scale down low bits on after-rounding
30983 systems when result rounded to normal precision would have normal
30985 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30987 (fma_test): Add more tests.
30988 (fma_test_towardzero): Likewise.
30989 (fma_test_downward): Likewise.
30990 (fma_test_upward): Likewise.
30992 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30994 * sysdeps/i386/tininess.h: Renamed to ...
30995 * sysdeps/x86/tininess.h: This.
30996 * sysdeps/x86_64/tininess.h: Removed.
30998 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31000 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31001 input. Use $(build-program-cmd).
31002 ($(objpfx)tst-array1-static.out): Likewise.
31003 ($(objpfx)tst-array2.out): Likewise.
31004 ($(objpfx)tst-array3.out): Likewise.
31005 ($(objpfx)tst-array4.out): Likewise.
31006 ($(objpfx)tst-array5.out): Likewise.
31007 ($(objpfx)tst-array5-static.out): Likewise.
31009 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31011 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31014 * nss/nsswitch.h (nss_interface_function): Provide new
31015 macro for use with NSS functions.
31016 * grp/initgroups.c: Use new macro.
31017 * nss/getXXbyYY.c: Likewise.
31018 * nss/getXXbyYY_r.c: Likewise.
31019 * nss/getXXent.c: Likewise.
31020 * nss/getXXent_r.c: Likewise.
31021 * sysdeps/posix/getaddrinfo.c: Likewise.
31023 2012-10-30 Andreas Jaeger <aj@suse.de>
31025 * po/ru.po: Update Russion translation from translation project.
31027 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31032 result and shift together with sticky bit instead of replicating
31033 round-to-nearest rounding.
31034 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31035 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31036 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31037 missing underflow exceptions.
31038 (fma_test_towardzero): Add more tests.
31039 (fma_test_downward): Likewise.
31040 (fma_test_upward): Likewise.
31043 * sysdeps/generic/tininess.h: New file.
31044 * sysdeps/i386/tininess.h: Likewise.
31045 * sysdeps/sh/tininess.h: Likewise.
31046 * sysdeps/x86_64/tininess.h: Likewise.
31047 * stdlib/tst-strtod-underflow.c: Likewise.
31048 * stdlib/tst-tininess.c: Likewise.
31049 * stdlib/strtod_l.c: Include <tininess.h>.
31050 (round_and_return): Do not set errno for exact underflow cases.
31051 Force an underflow exception when setting errno for underflow.
31052 Determine underflow based on rounding to normal precision if
31053 TININESS_AFTER_ROUNDING.
31054 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31055 ERANGE for exact underflow cases.
31056 * stdlib/Makefile (tests): Add tst-tininess and
31057 tst-strtod-underflow.
31058 ($(objpfx)tst-tininess): Use $(link-libm).
31059 ($(objpfx)tst-strtod-underflow): Likewise.
31061 2012-10-30 Andreas Jaeger <aj@suse.de>
31064 * elf/Makefile (tests): Remove conditional for have-initfini-array
31065 since this is now always required and the variable does not exist
31067 (tests-static): Likewise.
31068 (modules-names): Likewise.
31070 * po/eo.po: Add Esperanto translation from translation project.
31072 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31073 merged with constructor/destructor.
31074 (init_array): Likewise.
31075 * elf/tst-array2dep.c (fini_array): Likewise.
31076 (init_array): Likewise.
31078 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31080 * manual/message.texi: Delete @cartouche tags.
31082 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31084 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31086 * sysdeps/mach/hurd/fsync.c: Likewise.
31088 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31089 [_POSIX_REALTIME_SIGNALS]: Change condition to
31090 [_POSIX_REALTIME_SIGNALS > 0].
31092 2012-10-27 Andreas Jaeger <aj@suse.de>
31094 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31095 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31097 [__WORDSIZE != 64]: Likewise.
31099 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31101 * iconvdata/tst-table.sh: Remove ${SHELL}.
31102 * iconvdata/tst-tables.sh: Likewise.
31104 2012-10-25 David S. Miller <davem@davemloft.net>
31106 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31107 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31112 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31113 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31114 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31117 2012-10-25 Roland McGrath <roland@hack.frob.com>
31119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31120 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31123 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31124 Jim Blandy <jimb@codesourcery.com>
31126 * scripts/cross-test-ssh.sh: New file.
31127 * manual/install.texi (Configuring and compiling): Document use of
31129 * INSTALL: Regenerated.
31131 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31133 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31136 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31138 * Makeconfig (run-program-prefix): Fix comment.
31140 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31141 Jim Blandy <jimb@codesourcery.com>
31143 * Makeconfig (test-wrapper): New variable,
31144 (test-wrapper-env): Likewise.
31145 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31146 (run-built-tests): Define to yes.
31147 (run-program-prefix): Use $(test-wrapper).
31148 (built-program-cmd): Likewise.
31149 * Rules (make-test-out): Use $(test-wrapper-env) and
31150 $(host-built-program-cmd).
31151 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31152 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31154 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31155 $(test-wrapper-env) to tst-rtld-load-self.sh.
31156 ($(objpfx)order2.out): Use $(test-wrapper).
31157 ($(objpfx)tst-initorder.out): Likewise.
31158 ($(objpfx)tst-initorder2.out): Likewise.
31159 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31160 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31161 (test_wrapper_env): New variable. Use it to run ld.so.
31162 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31163 Use it to run ld.so.
31164 (test_wrapper_env): Likewise.
31165 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31166 $(test-wrapper) to run-iconv-test.sh.
31167 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31168 (ICONV): Use $test_wrapper.
31169 * posix/Makefile ($(objpfx)globtest.out): Pass
31170 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31171 globtest.sh, not $(run-program-prefix).
31172 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31173 (test_wrapper): Likewise.
31174 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31175 set together with run_via_rtld_prefix.
31176 (run_program_prefix): Define in terms of test_wrapper and
31177 run_via_rtld_prefix.
31179 2012-10-24 Roland McGrath <roland@hack.frob.com>
31181 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31182 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31186 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31187 Declare __clock_getres, __clock_gettime, __clock_settime,
31188 __clock_nanosleep, and __clock_getcpuclockid.
31189 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31190 Remove librt_hidden_def (clock_gettime).
31191 * sysdeps/unix/clock_gettime.c: Likewise.
31192 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31193 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31194 * rt/clock_getres.c: Define __clock_getres as an alias.
31195 * sysdeps/posix/clock_getres.c: Likewise.
31196 * rt/clock_settime.c: Define __clock_settime as an alias.
31197 * sysdeps/unix/clock_settime.c: Likewise.
31198 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31199 * sysdeps/unix/clock_nanosleep.c: Likewise.
31200 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31201 * rt/clock-compat.c: New file.
31202 * rt/Makefile (librt-routines): Add clock-compat and move
31203 $(clock-routines) to ...
31204 (routines): ... here, new variable.
31205 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31206 Don't add get_clockfreq here.
31207 * rt/Versions (libc: GLIBC_2.17): New version set.
31208 Add clock_* symbols here.
31209 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31210 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31211 (GLIBC_2.17): Add clock_* symbols.
31212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31214 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31222 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31223 * NEWS: Mention the move.
31225 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31226 Use __open, __read, __close rather than their public counterparts.
31227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31228 (__get_clockfreq_via_cpuinfo): Likewise.
31229 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31230 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31232 * config.h.in (HAVE_IFUNC): New #undef.
31233 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31235 * configure: Regenerated.
31237 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31239 * configure.in: Move READELF check to start of file.
31240 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31241 libc_cv_asm_gnu_indirect_function in the process.
31242 * configure: Regenerated.
31244 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31246 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31247 send the output to /dev/null.
31248 (libc_cv_cc_with_libunwind): Likewise.
31249 (libc_cv_as_noexecstack): Likewise.
31250 * configure: Regenerate.
31252 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31254 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31256 * posix/globtest.sh (TMPDIR): Do not set.
31257 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31258 (testout): Likewise.
31260 2012-10-24 Andreas Jaeger <aj@suse.de>
31262 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31263 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31264 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31265 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31266 posix_fadvise64, posix_fallocate64.
31268 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31269 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31270 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31272 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31274 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31277 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31278 <bits/fcntl-linux.h>.
31279 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31282 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31283 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31284 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31285 [__WORDSIZE != 64]: Likewise.
31287 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31289 * Makeconfig (run-built-tests): New variable.
31290 * Rules [$(cross-compiling) = yes]: Change condition to
31291 [$(run-built-tests) = no].
31292 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31293 to [$(run-built-tests) = yes].
31294 * elf/Makefile [$(cross-compiling) = no]: Likewise
31295 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31296 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31297 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31298 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31299 * io/Makefile [$(cross-compiling) = no]: Likewise.
31300 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31301 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31302 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31303 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31304 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31305 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31306 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31307 * string/Makefile [$(cross-compiling) = no]: Likewise.
31309 * posix/Makefile ($(objpfx)globtest.out): Pass
31310 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31311 $(rtld-installed-name).
31312 * posix/globtest.sh (elf_objpfx): Remove variable.
31313 (rtld_installed_name): Likewise.
31314 (library_path): Likewise.
31315 (run_program_prefix): New variable. Use for running globtest
31318 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31319 Joseph Myers <joseph@codesourcery.com>
31321 * Makeconfig (host-built-program-cmd): New variable.
31322 * elf/Makefile (tst-stackguard1-ARGS): Use
31323 $(host-built-program-cmd).
31324 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31325 (tst-spawn-ARGS): Likewise.
31326 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31328 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31329 Jim Blandy <jimb@codesourcery.com>
31331 * Makeconfig (run-via-rtld-prefix): New variable.
31332 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31333 (built-program-cmd): Likewise.
31335 2012-10-22 Andreas Jaeger <aj@suse.de>
31337 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31338 __O_RSYNC if it exists, otherwise to O_SYNC.
31340 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31341 Joseph Myers <joseph@codesourcery.com>
31343 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31345 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31347 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31350 2012-10-22 Andreas Jaeger <aj@suse.de>
31352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31356 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31357 bits/fcntl-linux.h.
31359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31360 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31367 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31368 Joseph Myers <joseph@codesourcery.com>
31370 * config.make.in (NM): New variable.
31372 2012-10-21 Andreas Jaeger <aj@suse.de>
31374 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31375 definitions and declarations that are provided by
31376 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31378 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31381 * elf/Makefile (tests-static): Add tst-leaks1-static.
31382 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31383 ($(objpfx)tst-leaks1-static): New rule.
31384 ($(objpfx)tst-leaks1-static-mem): Likewise.
31385 (tst-leaks1-static-ENV): New macro.
31386 * elf/dl-open.c (dl_open_worker): Check the main application
31387 only if SHARED is defined.
31388 * elf/tst-leaks1-static.c: New file.
31390 2012-10-20 Andreas Jaeger <aj@suse.de>
31392 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31393 generic values for Linux.
31394 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31395 and declarations that are provided by <bits/fcntl-linux.h> and
31396 include <bits/fcntl-linux.h>.
31397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31400 2012-10-20 Roland McGrath <roland@hack.frob.com>
31402 * io/fcntl.h: Move include of <bits/types.h> to the top and
31403 include it unconditionally.
31405 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31407 * wcsmbs/Makefile (tests-ifunc): New variable.
31408 (tests): Add $(tests-ifunc).
31409 * wcsmbs/test-wcschr-ifunc.c: New file.
31410 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31411 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31412 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31413 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31414 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31416 * string/Makefile (tests-ifunc): New variable.
31417 (tests): Add $(tests-ifunc).
31418 * string/test-memccpy.c (TEST_NAME): New macro.
31419 * string/test-memchr.c (TEST_NAME): Likewise.
31420 * string/test-memcmp.c (TEST_NAME): Likewise.
31421 * string/test-memcpy.c (TEST_NAME): Likewise.
31422 * string/test-memmem.c (TEST_NAME): Likewise.
31423 * string/test-memmove.c (TEST_NAME): Likewise.
31424 * string/test-memset.c (TEST_NAME): Likewise.
31425 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31426 * string/test-stpcpy.c (TEST_NAME): Likewise.
31427 * string/test-stpncpy.c (TEST_NAME): Likewise.
31428 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31429 * string/test-strcasestr.c (TEST_NAME): Likewise.
31430 * string/test-strcat.c (TEST_NAME): Likewise.
31431 * string/test-strchr.c (TEST_NAME): Likewise.
31432 * string/test-strcmp.c(TEST_NAME): Likewise.
31433 * string/test-strcpy.c (TEST_NAME): Likewise.
31434 * string/test-strcspn.c (TEST_NAME): Likewise.
31435 * string/test-strlen.c (TEST_NAME): Likewise.
31436 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31437 * string/test-strncmp.c (TEST_NAME): Likewise.
31438 * string/test-strncpy.c (TEST_NAME): Likewise.
31439 * string/test-strnlen.c (TEST_NAME): Likewise.
31440 * string/test-strpbrk.c (TEST_NAME): Likewise.
31441 * string/test-strrchr.c (TEST_NAME): Likewise.
31442 * string/test-strspn.c (TEST_NAME): Likewise.
31443 * string/test-strstr.c (TEST_NAME): Likewise.
31444 * string/test-bcopy-ifunc.c: New file.
31445 * string/test-bzero-ifunc.c: Likewise.
31446 * string/test-memccpy-ifunc.c: Likewise.
31447 * string/test-memchr-ifunc.c: Likewise.
31448 * string/test-memcmp-ifunc.c: Likewise.
31449 * string/test-memcpy-ifunc.c: Likewise.
31450 * string/test-memmem-ifunc.c: Likewise.
31451 * string/test-memmove-ifunc.c: Likewise.
31452 * string/test-mempcpy-ifunc.c: Likewise.
31453 * string/test-memset-ifunc.c: Likewise.
31454 * string/test-rawmemchr-ifunc.c: Likewise.
31455 * string/test-stpcpy-ifunc.c: Likewise.
31456 * string/test-stpncpy-ifunc.c: Likewise.
31457 * string/test-strcasecmp-ifunc.c: Likewise.
31458 * string/test-strcasestr-ifunc.c: Likewise.
31459 * string/test-strcat-ifunc.c: Likewise.
31460 * string/test-strchr-ifunc.c: Likewise.
31461 * string/test-strchrnul-ifunc.c: Likewise.
31462 * string/test-strcmp-ifunc.c: Likewise.
31463 * string/test-strcpy-ifunc.c: Likewise.
31464 * string/test-strcspn-ifunc.c: Likewise.
31465 * string/test-strlen-ifunc.c: Likewise.
31466 * string/test-strncasecmp-ifunc.c: Likewise.
31467 * string/test-strncat-ifunc.c: Likewise.
31468 * string/test-strncmp-ifunc.c: Likewise.
31469 * string/test-strncpy-ifunc.c: Likewise.
31470 * string/test-strnlen-ifunc.c: Likewise.
31471 * string/test-strpbrk-ifunc.c: Likewise.
31472 * string/test-strrchr-ifunc.c: Likewise.
31473 * string/test-strspn-ifunc.c: Likewise.
31474 * string/test-strstr-ifunc.c: Likewise.
31476 * debug/Makefile (tests-ifunc): New variable.
31477 (tests): Add $(tests-ifunc).
31478 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31479 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31480 * debug/test-stpcpy_chk-ifunc.c: New file.
31481 * debug/test-strcpy_chk-ifunc.c: Likewise.
31483 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31486 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31487 header is not read in.
31489 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31491 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31492 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31493 directly. Pass built executable to script as
31494 $(built-program-cmd).
31495 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31496 $testprogram without using LD_LIBRARY_PATH and $ldso.
31498 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31499 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31500 $(rtld-installed-name).
31501 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31502 (rtld_installed_name): Likewise.
31503 (library_path): Likewise.
31504 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31505 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31506 $(run-program-prefix) to tst-tables.sh.
31507 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31508 it to run tst-table-from and tst-table-to.
31509 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31510 Pass it to tst-table.sh.
31511 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31512 $(run-program-prefix) to tst-gettext.sh.
31513 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31515 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31517 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31518 to run tst-gettext.
31519 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31520 to run tst-gettext2.
31521 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31522 to run tst-translit.
31523 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31524 $(run-program-prefix) to tst-mtrace.sh.
31525 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31527 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31528 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31529 $(rtld-installed-name).
31530 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31531 (rtld_installed_name): Likewise.
31532 (run_program_prefix): New variable. Use it to run wordexp-test.
31534 * Makeconfig (ARCH): Remove all definitions.
31535 (machine): Likewise.
31536 [ARCH]: Remove conditional code.
31537 [!objdir]: Give error.
31538 [!objdir] (objpfx): Remove.
31539 [!objdir] (common-objpfx): Likewise.
31540 [!objdir] (common-objdir): Likewise.
31541 * configure.in (config_makefile): Remove. Hardcode Makefile in
31542 AC_CONFIG_FILES call.
31543 * configure: Regenerated.
31546 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31548 (testout): Likewise.
31550 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31551 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31552 $(rtld-installed-name).
31553 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31554 (rtld_installed_name): Likwise.
31555 (runit): Remove function.
31556 (run_getconf): New variable, Use it for running getconf binary.
31558 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31561 * string/test-memmem.c (check_result): New function.
31562 (do_one_test): Use it.
31563 (check1): New function.
31564 (test_main): Use it.
31566 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31568 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31570 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31572 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31573 (_G_LSEEK64): Likewise.
31574 (_G_MMAP64): Likewise.
31575 (_G_FSTAT64): Likewise.
31576 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31577 (_G_LSEEK64): Likewise.
31578 (_G_MMAP64): Likewise.
31579 (_G_FSTAT64): Likewise.
31580 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31581 unconditional. Call __mmap64 directly.
31582 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31583 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31584 __lseek64 directly.
31585 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31586 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31588 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31589 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31590 __lseek64 directly.
31591 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31592 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31593 __lseek64 directly.
31594 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31595 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31596 __lseek64 directly.
31597 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31598 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31599 __fxstat64 directly.
31600 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31601 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31603 (freopen64) [!_G_OPEN64]: Remove conditional code.
31604 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31606 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31607 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31609 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31610 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31612 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31613 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31615 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31616 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31618 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31619 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31621 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31622 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31624 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31626 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31629 * manual/memory.texi (Malloc Tunable Parameters): Add note
31630 about free list pointers overwriting some perturb bytes.
31631 Wording suggested by Roland McGrath.
31633 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31635 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31636 (lgamma_test): Likewise.
31637 (tgamma_test): Likewise.
31639 2012-10-16 Florian Weimer <fweimer@redhat.com>
31642 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31643 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31645 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31647 * NEWS: Mention BZ #14716.
31648 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31649 when removing AVAILABLE1_USES_J macro.
31651 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31653 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31654 (__bswap_64): __uint64_t for unsigned 64-bit int.
31656 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31658 * include/string.h (memmem): Declare libc hidden alias.
31659 * string/memmem.c (memmem): Define libc hidden alias.
31660 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31661 __read, __close instead of open, read, close.
31663 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31665 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31666 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31668 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31669 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31670 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31672 (__rawmemchr_sse2): Likewise.
31673 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31674 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31675 (__strchr_sse2): Likewise.
31676 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31677 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31678 (__strcasecmp_sse2): Likewise.
31679 (__strncasecmp_sse2): Likewise.
31680 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31681 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31682 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31683 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31684 (__strrchr_sse2): Likewise.
31685 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31687 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31688 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31689 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31690 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31691 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31692 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31693 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31694 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31695 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31696 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31697 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31698 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31699 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31700 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31701 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31702 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31703 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31704 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31705 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31706 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31707 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31708 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31709 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31710 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31711 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31712 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31713 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31714 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31715 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31716 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31718 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31720 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31721 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31722 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31723 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31725 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31727 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31728 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31729 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31730 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31732 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31736 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31737 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31738 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31739 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31740 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31741 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31742 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31743 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31744 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31745 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31746 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31748 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31749 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31750 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31751 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31752 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31753 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31754 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31755 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31756 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31757 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31758 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31759 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31760 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31761 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31762 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31763 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31764 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31765 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31766 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31767 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31768 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31769 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31770 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31771 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31772 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31774 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31775 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31776 * include/ifunc-impl-list.h: New file.
31777 * misc/ifunc-impl-list.c: Likewise.
31778 * misc/Makefile (routines): Add ifunc-impl-list.
31779 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31780 * string/test-string.h: Include <ifunc-impl-list.h>.
31781 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31782 TEST_NAME]: New variables.
31783 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31785 (test_init): Call __libc_ifunc_impl_list to initialize
31786 func_list if TEST_IFUNC and TEST_NAME are defined.
31788 * string/Makefile (strop-tests): Add bcopy and bzero.
31789 * string/test-bcopy.c: New file.
31790 * string/test-bzero.c: Likewise.
31791 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31793 * string/test-memset.c: Support bzero test if TEST_BZERO is
31795 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31797 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31799 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31802 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31804 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31805 * configure: Regenerated.
31807 * Makeconfig (+link-static-before-libc): Don't include
31808 $(link-static-libc).
31810 * libio/libio.h (_IO_pos_t): Remove.
31812 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31814 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31817 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31819 * crypt/crypt-entry.c: Include fips-private.h.
31820 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31821 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31822 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31823 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31825 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31827 * crypt/crypt-private.h: Include stdbool.h.
31828 (_ufc_setup_salt_r): Return bool.
31829 * crypt/crypt-entry.c: Include errno.h.
31830 (__crypt_r): Return NULL with EINVAL for bad salt.
31831 * crypt/crypt_util.c (bad_for_salt): New.
31832 (_ufc_setup_salt_r): Check that salt is long enough and within
31833 the specified alphabet.
31834 * crypt/badsalttest.c: New file.
31835 * crypt/Makefile (tests): Add it.
31836 ($(objpfx)badsalttest): New.
31838 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31840 * NEWS: Add entry for BZ #14602.
31842 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31844 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31846 * math/libm-test.inc: Update comment listing what functions and
31848 (isgreater_test): New function.
31849 (isgreaterequal_test): Likewise.
31850 (isless_test): Likewise.
31851 (islessequal_test): Likewise.
31852 (islessgreater_test): Likewise.
31853 (isunordered_test): Likewise.
31854 (main): Call the new functions.
31856 2012-10-09 Roland McGrath <roland@hack.frob.com>
31858 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31859 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31860 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31861 * sysdeps/i386/configure: Regenerated.
31862 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31863 * sysdeps/mach/configure: Regenerated.
31864 * sysdeps/mach/hurd/configure: Regenerated.
31865 * sysdeps/powerpc/configure: Regenerated.
31866 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31867 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31868 * sysdeps/s390/s390-32/configure: Regenerated.
31869 * sysdeps/s390/s390-64/configure: Regenerated.
31870 * sysdeps/sh/configure: Regenerated.
31871 * sysdeps/sparc/configure: Regenerated.
31872 * sysdeps/unix/sysv/linux/configure: Regenerated.
31873 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31874 * sysdeps/x86_64/configure: Regenerated.
31876 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31877 defined. Don't check if MAP is NULL.
31879 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31881 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31882 (_G_stat64): Likewise.
31883 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31884 (_G_stat64): Likewise.
31885 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31886 instead of struct _G_stat64.
31887 * libio/fileops.c (mmap_remap_check): Likewise.
31888 (decide_maybe_mmap): Likewise.
31889 (_IO_new_file_seekoff): Likewise.
31890 (_IO_file_stat): Likewise.
31891 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31893 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31894 instead of struct _G_stat64.
31895 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31897 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31900 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31902 (CHECK_EOL): New macro.
31903 (two_way_short_needle): Check beginning of haystack for EOL. Use
31905 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31906 Replace with CHECK_EOL.
31907 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31908 Replace with CHECK_EOL.
31910 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31912 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31914 * math/libm-test.inc: Update comment listing what functions and
31916 (finite_test): New function.
31917 (isinf_test): Likewise.
31918 (isnan_test): Likewise.
31919 (fpclassify_test): Test subnormal input.
31920 (isfinite_test): Likewise.
31921 (isnormal_test): Likewise.
31922 (main): Call the new functions.
31924 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31927 * Makerules (%.dynsym): Force C locale when running
31928 $(OBJDUMP) --dynamic-syms.
31930 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31932 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31935 2012-10-06 David S. Miller <davem@davemloft.net>
31937 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31938 upper 32-bits of the length value in %o2 since we use branch-on-register
31939 tests which consider the entire 64-bit register.
31941 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31943 * string/test-strstr.c (check2): Add a test for page boundary.
31945 2012-10-05 David S. Miller <davem@davemloft.net>
31947 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31948 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31950 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31952 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31953 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31954 and bzero when HWCAP_SPARC_CRYPTO is present.
31956 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31959 * string/test-strstr.c (check2): New function.
31960 (test_main): Call check2.
31962 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31964 * string/bug-strcasestr1.c (do_test): Moved to ...
31965 * string/test-strcasestr.c (check1): Here. New function.
31966 (do_one_test): Break out result checking code into ...
31967 (check_result): This. New function.
31968 (do_one_test): Call check_result.
31969 (test_main): Call check1.
31970 * string/bug-strchr1.c (do_test): Moved to ...
31971 * string/test-strchr.c (check1): Here. New function.
31972 (do_one_test): Break out result checking code into ...
31973 (check_result): This. New function.
31974 (do_one_test): Call check_result.
31975 (test_main): Call check1.
31976 * string/bug-strstr1.c (main): Moved to ...
31977 * string/test-strstr.c (check1): Here. New function.
31978 (do_one_test): Break out result checking code into ...
31979 (check_result): This. New function.
31980 (do_one_test): Call check_result.
31981 (test_main): Call check1.
31982 * string/bug-strcasestr1.c: Removed.
31983 * string/bug-strchr1.c: Likewise.
31984 * string/bug-strstr1.c: Likewise.
31986 * elf/Makefile (dl-routines): Add hwcaps.
31987 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31988 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31989 (_dl_important_hwcaps): Moved to ...
31990 * elf/dl-hwcaps.c: Here. New file.
31991 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31994 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31995 if IS_IN_rtld isn't defined.
31997 * elf/dl-support.c (_dl_sysinfo_map): New.
31998 Include "get-dynamic-info.h" and "setup-vdso.h".
31999 (_dl_non_dynamic_init): Call setup_vdso.
32000 * elf/dynamic-link.h: Don't include <assert.h>.
32001 (elf_get_dynamic_info): Moved to ...
32002 * elf/get-dynamic-info.h: Here. New file.
32003 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32004 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32005 * elf/setup-vdso.h: Here. New file.
32006 * elf/rtld.c: Include "setup-vdso.h".
32007 (dl_main): Call setup_vdso.
32009 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32011 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32012 creal in comment listing functions tested. List finite, isinf,
32013 isnan, isless, islessequal, isgreater, isgreaterequal,
32014 islessgreater, isunordered, lgamma_r and pow10 as functions and
32015 macros not tested. Mention which functions not tested are aliases
32016 for other functions. Fix typo. Note that signs of NaNs are not
32019 * scripts/config.guess: Update from config.git.
32020 * scripts/config.sub: Likewise.
32022 2012-10-04 Roland McGrath <roland@hack.frob.com>
32024 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32025 * misc/madvise.c (madvise): Renamed to __madvise.
32026 Make madvise a weak alias.
32027 * include/sys/mman.h: Declare __madvise.
32028 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32029 * sysdeps/unix/syscalls.list
32030 (madvise): Make __madvise the strong name, and madvise a weak alias.
32031 * sysdeps/unix/sysv/linux/syscalls.list
32032 (madvise, mmap): Remove redundant entries.
32033 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32034 * malloc/malloc.c (mtrim): Likewise.
32035 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32037 2012-10-03 Roland McGrath <roland@hack.frob.com>
32039 * sysdeps/mach/hurd/dl-cache.c: File removed.
32040 * config.h.in (USE_LDCONFIG): New #undef.
32041 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32042 * configure: Regenerated.
32043 * elf/Makefile (dl-routines): Add dl-cache only under
32044 [$(use-ldconfig) = yes].
32045 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32046 cache on [USE_LDCONFIG].
32047 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32049 * elf/rtld.c (dl_main): Likewise.
32051 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32053 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32054 _SC_LEVEL4_CACHE_LINESIZE.
32056 2012-10-03 Roland McGrath <roland@hack.frob.com>
32058 * sysdeps/unix/bsd/confstr.h: File removed.
32060 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32062 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32065 2012-10-02 Roland McGrath <roland@hack.frob.com>
32067 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32068 Make 'mapoff' field ElfW(Off) rather than off_t.
32070 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32072 * nscd/Makefile: Remove nscd-cflags and all its users.
32073 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32074 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32077 * malloc.c (malloc_printerr): Clarify error message.
32079 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32083 Set bit_FMA_Usable if FMA is supported.
32084 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32086 (bit_FMA4_Usable): Updated.
32087 (index_FMA_Usable): New macro.
32088 (CPUID_FMA): Likewise
32089 (HAS_FMA): Defined with bit_FMA_Usable.
32091 2012-10-01 Roland McGrath <roland@hack.frob.com>
32093 * bits/types.h (__swblk_t): Type removed.
32094 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32095 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32096 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32097 (__SWBLK_T_TYPE): Likewise.
32098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32099 (__SWBLK_T_TYPE): Likewise.
32100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32101 (__SWBLK_T_TYPE): Likewise.
32102 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32103 (__SWBLK_T_TYPE): Likewise.
32105 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32106 Honza Horak <hhorak@redhat.com>
32108 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32109 (xdr_mapname): Use YPMAXMAP as maxsize.
32110 (xdr_peername): Use YPMAXPEER as maxsize.
32111 (xdr_keydat): Use YPAXRECORD as maxsize.
32112 (xdr_valdat): Use YPMAXRECORD as maxsize.
32114 2012-10-01 Roland McGrath <roland@hack.frob.com>
32116 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32118 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32119 * csu/init-first.c: ... here.
32120 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32121 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32122 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32123 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32124 * sysdeps/i386/init-first.c: File removed.
32125 * sysdeps/sh/init-first.c: File removed.
32127 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32130 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32131 if x * y might underflow to zero and z is zero.
32132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32134 * math/libm-test.inc (min_subnorm_value): New variable.
32135 (fma_test): Add more tests.
32136 (fma_test_towardzero): Likewise.
32137 (fma_test_downward): Likewise
32138 (fma_test_upward): Likewise.
32139 (initialize): Set min_subnorm_value.
32141 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32144 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32146 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32147 mode for addition resulting in exact zero.
32148 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32151 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32153 * math/libm-test.inc (fma_test): Add more tests.
32154 (fma_test_towardzero): New function.
32155 (fma_test_downward): Likewise.
32156 (fma_test_upward): Likewise.
32157 (main): Call the new functions.
32159 2012-09-28 David S. Miller <davem@davemloft.net>
32161 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32163 2012-09-28 Roland McGrath <roland@hack.frob.com>
32165 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32166 instead of SIGALRM.
32168 * sysdeps/gnu/_G_config.h: Moved to ...
32169 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32170 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32171 * sysdeps/generic/_G_config.h: ... here.
32173 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32175 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32177 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32178 Conditionalize target on [libnss_test1.so-version].
32180 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32182 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32183 (elfobjdir): Move out of conditionals.
32185 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32186 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32187 (__nss_lookup_function): Conditionalize label remove_from_tree on
32188 [!DO_STATIC_NSS || SHARED], matching its only use.
32190 2012-09-28 David S. Miller <davem@davemloft.net>
32192 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32193 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32195 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32197 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32199 when HWCAP_SPARC_CRYPTO is present.
32201 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32203 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32205 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32208 * stdio-common/vfprintf.c (process_string_arg): Revert
32211 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32213 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32215 * stdio-common/tst-sprintf.c: Include <locale.h>
32216 (main): Test sprintf's handling of incomplete multibyte
32219 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32221 * elf/dl-runtime.c (VERSYMIDX): Removed.
32222 * elf/dl-version.c (VERSYMIDX): Likewise.
32223 * elf/do-rel.h (VERSYMIDX): Likewise.
32224 (VALIDX): Likewise.
32225 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32226 * elf/rtld.c (VALIDX): Likewise.
32227 (ADDRIDX): Likewise.
32228 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32229 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32230 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32231 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32232 (VALIDX): Likewise.
32233 (ADDRIDX): Likewise.
32235 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32237 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32239 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32242 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32244 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32245 addresses are in the same scope as 192.0.2/24.
32246 * posix/gai.conf: Document new scope table defaults.
32248 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32251 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32252 for ftell. Compute offsets from write pointers instead.
32253 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32255 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32258 * libio/Makefile (tests): New test case tst-fseek.
32259 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32260 combination works in wide mode.
32261 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32262 state when the external buffer state changes.
32264 2012-09-27 David S. Miller <davem@davemloft.net>
32267 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32268 pass reloc->r_addend in as the 'high' argument to
32269 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32273 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32275 * rt/tst-aio2.c: Include <pthread.h>.
32276 * rt/tst-aio3.c: Likewise.
32278 2012-09-27 Steve Ellcey <sellcey@mips.com>
32280 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32282 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32284 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32285 contents on [SHARED].
32287 2012-09-26 Marek Polacek <polacek@redhat.com>
32291 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32292 for C++ and GCC <4.3 as well as for non GCC compilers.
32294 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32296 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32298 2012-09-25 Roland McGrath <roland@hack.frob.com>
32300 * Makefile.in (all, install): Declare with .PHONY.
32301 Reported by Michael Hope <michael.hope@linaro.org>.
32303 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32305 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32306 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32308 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32310 (sydep_routines): Add the new and the internal functions.
32311 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32312 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32314 (GLIBC_2.17): Add the new function.
32315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32316 (GLIBC_2.17): Likewise.
32317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32318 (GLIBC_2.17): Likewise.
32319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32320 (GLIBC_2.17): Likewise.
32321 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32323 2012-09-25 Alan Modra <amodra@gmail.com>
32325 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32326 Add release barrier before setting once_control to say
32327 initialisation is done. Add hints on lwarx. Use macro in
32329 (clear_once_control): Add release barrier.
32331 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32334 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32336 * math/s_clog10.c (__clog10): Likewise.
32337 * math/s_clog10f.c (__clog10f): Likewise.
32338 * math/s_clog10l.c (__clog10l): Likewise.
32339 * math/s_clogf.c (__clogf): Likewise.
32340 * math/s_clogl.c (__clogl): Likewise.
32341 * math/Makefile (libm-calls): Add x2y2m1.
32342 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32343 (__x2y2m1): Likewise.
32344 (__x2y2m1l): Likewise.
32345 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32346 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32347 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32348 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32349 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32350 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32351 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32352 * sysdeps/i386/fpu/libm-test-ulps: Update.
32353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32356 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32357 int as type of variable DEPTH.
32358 (glob): Use size_t instead of int as type of variables NEWCOUNT
32361 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32363 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32364 Add s_sincosf-sse2.
32365 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32366 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32367 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32368 macros for using routine as __sincosf_ia32.
32369 Use macro for function declaration and weak_alias.
32370 * sysdeps/i386/fpu/libm-test-ulps: Update.
32372 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32373 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32375 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32376 subnormal argument.
32377 * math/s_cexpf.c (__cexpf): Likewise.
32378 * math/s_csinf.c (__csinf): Likewise.
32379 * math/s_csinhf.c (__csinhf): Likewise.
32380 * math/s_ctanf.c (__ctanf): Likewise.
32381 * math/s_ctanhf.c (__ctanhf): Likewise.
32382 * math/s_ccosh.c (__ccoshf): Likewise.
32383 * math/s_cexp.c (__cexpl): Likewise.
32384 * math/s_csin.c (__csin): Likewise.
32385 * math/s_csinh.c (__csinh): Likewise.
32386 * math/s_ctan.c (__ctan): Likewise.
32387 * math/s_ctanh.c (ctanh): Likewise.
32388 * math/s_ccoshl.c (__ccoshl): Likewise.
32389 * math/s_cexpl.c (__cexpl): Likewise.
32390 * math/s_csinl.c (__csinl): Likewise.
32391 * math/s_csinhl.c (__csinhl): Likewise.
32392 * math/s_ctanl.c (__ctanl): Likewise.
32393 * math/s_ctanhl.c (__ctanhl): Likewise.
32395 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32397 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32398 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32399 (_IO_off_t): Define to __off_t, not _G_off_t.
32400 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32401 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32402 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32403 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32404 type of __dummy and __dummy2 fields.
32405 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32406 (_G_ssize_t): Likewise.
32407 (_G_off_t): Likewise.
32408 (_G_pid_t): Likewise.
32409 (_G_uid_t): Likewise.
32410 (_G_wchar_t): Likewise.
32411 (_G_wint_t): Likewise.
32412 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32413 (_G_ssize_t): Likewise.
32414 (_G_off_t): Likewise.
32415 (_G_pid_t): Likewise.
32416 (_G_uid_t): Likewise.
32417 (_G_wchar_t): Likewise.
32418 (_G_wint_t): Likewise.
32419 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32420 (_G_ssize_t): Likewise.
32421 (_G_off_t): Likewise.
32422 (_G_pid_t): Likewise.
32423 (_G_uid_t): Likewise.
32424 (_G_wchar_t): Likewise.
32425 (_G_wint_t): Likewise.
32427 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32429 * malloc/arena.c: Include malloc-sysdep.h.
32430 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32431 is sufficient to shrink the heap or an unmap is needed.
32432 * sysdeps/generic/malloc-sysdep.h: New file. Define
32433 new function check_may_shrink_heap.
32434 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32435 new function check_may_shrink_heap.
32437 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32439 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32442 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32444 * catgets/test-gencat.sh: Add "set -e".
32445 * elf/tst-pathopt.sh: Likewise.
32446 * grp/tst_fgetgrent.sh: Likewise.
32447 * iconvdata/run-iconv-test.sh: Likewise.
32448 * intl/tst-gettext.sh: Likewise.
32449 * intl/tst-gettext2.sh: Likewise.
32450 * intl/tst-gettext4.sh: Likewise.
32451 * intl/tst-gettext6.sh: Likewise.
32452 * intl/tst-translit.sh: Likewise.
32453 * io/ftwtest-sh: Likewise.
32454 * libio/test-freopen.sh: Likewise.
32455 * malloc/tst-mtrace.sh: Likewise.
32456 * posix/globtest.sh: Likewise.
32457 * posix/tst-getconf.sh: Likewise.
32458 * posix/wordexp-tst.sh: Likewise.
32459 * stdio-common/tst-printf.sh: Likewise.
32460 * stdio-common/tst-unbputc.sh: Likewise.
32461 * stdlib/tst-fmtmsg.sh: Likewise.
32462 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32463 * catgets/Makefile: Do not specify -e option when running
32464 testsuite shell scripts.
32465 * elf/Makefile: Likewise.
32466 * grp/Makefile: Likewise.
32467 * iconvdata/Makefile: Likewise.
32468 * intl/Makefile: Likewise.
32469 * io/Makefile: Likewise.
32470 * libio/Makefile: Likewise.
32471 * malloc/Makefile: Likewise.
32472 * posix/Makefile: Likewise.
32473 * stdio-common/Makefile: Likewise.
32474 * stdlib/Makefile: Likewise.
32475 * sysdeps/x86_64/Makefile: Likewise.
32477 * io/ftwtest-sh: Add copyright header.
32478 * posix/globtest.sh: Likewise.
32479 * posix/tst-getconf.sh: Likewise.
32480 * posix/wordexp-tst.sh: Likewise.
32481 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32483 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32486 * Makeconfig (+link): Defined as $(+link-static) if
32487 $(build-shared) isn't yes.
32488 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32490 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32492 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32495 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32496 new chunk size with MALLOC_ALIGN_MASK.
32498 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32501 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32503 (__printf_fphex): Determine rounding using get_rounding_mode and
32505 * stdio-common/tst-printf-round.c (struct hex_test): New
32507 (hex_tests): New variable.
32508 (test_hex_in_one_mode): New function.
32509 (do_test): Also run tests for hex float output.
32511 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32513 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32514 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32515 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32516 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32517 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32518 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32519 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32520 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32522 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32524 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32525 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32526 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32527 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32529 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32532 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32534 * elf/tst-rtld-load-self.sh: New test.
32535 * elf/Makefile: Run it.
32537 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32539 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32540 (tst-writev-ENV): Remove.
32541 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32543 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32545 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32547 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32549 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32551 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32553 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32554 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32555 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32558 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32561 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32562 * config.make.in (have-cpp-asm-debuginfo): Removed.
32563 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32564 * configure: Regenerated.
32566 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32569 * stdio-common/printf_fp.c: Include <stdbool.h> and
32571 (___printf_fp): Determine rounding using get_rounding_mode and
32573 * stdio-common/tst-printf-round.c: New file.
32574 * stdio-common/Makefile (tests): Add tst-printf-round.
32575 (link-libm): New variable.
32576 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32578 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32581 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32582 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32584 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32587 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32589 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32590 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32591 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32592 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32594 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32597 * include/rounding-mode.h: New file.
32598 * sysdeps/generic/get-rounding-mode.h: Likewise.
32599 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32600 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32601 (MAX_VALUE): New macro.
32602 (MIN_VALUE): Likewise.
32603 (overflow_value): New function.
32604 (underflow_value): Likewise.
32605 (round_and_return): Use overflow_value and underflow_value to
32606 determine return values in overflow and underflow cases. Use
32607 round_away to determine rounding depending on rounding mode.
32608 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32609 determine return values in overflow and underflow cases.
32610 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32611 (struct test_results): New structure.
32612 (struct test): Use struct test_results to store expected results
32613 for all rounding modes.
32614 (TEST): Include expected results for all rounding modes.
32615 (test_in_one_mode): New function.
32616 (do_test): Use test_in_one_mode to compute and check results.
32617 Check results for all rounding modes.
32618 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32621 2012-12-09 Allan McRae <allan@archlinux.org>
32623 * sysdeps/i386/fpu/libm-test-ulps: Update
32625 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32627 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32628 (_G_int32_t): Likewise.
32629 (_G_uint16_t): Likewise.
32630 (_G_uint32_t): Likewise.
32631 (_G_HAVE_BOOL): Likewise.
32632 (_G_HAVE_ATEXIT): Likewise.
32633 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32634 (_G_HAVE_IO_FILE_OPEN): Likewise.
32635 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32636 (_G_int32_t): Likewise.
32637 (_G_uint16_t): Likewise.
32638 (_G_uint32_t): Likewise.
32639 (_G_HAVE_BOOL): Likewise.
32640 (_G_HAVE_ATEXIT): Likewise.
32641 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32642 (_G_HAVE_IO_FILE_OPEN): Likewise.
32643 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32644 (_G_int32_t): Likewise.
32645 (_G_uint16_t): Likewise.
32646 (_G_uint32_t): Likewise.
32647 (_G_HAVE_BOOL): Likewise.
32648 (_G_HAVE_ATEXIT): Likewise.
32649 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32650 (_G_HAVE_IO_FILE_OPEN): Likewise.
32652 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32654 * csu/libc-tls.c: Update copyright years.
32656 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32658 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32659 [!_G_USING_THUNKS]: Remove conditional code.
32660 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32661 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32663 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32664 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32665 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32666 (_G_VTABLE_LABEL_PREFIX): Likewise.
32667 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32668 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32669 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32670 (_G_VTABLE_LABEL_PREFIX): Likewise.
32671 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32672 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32673 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32674 (_G_VTABLE_LABEL_PREFIX): Likewise.
32675 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32677 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32679 * libio/Makefile: Include ../Makeconfig before tests.
32680 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32681 only if $(build-shared) is yes.
32683 * iconv/gconv_db.c: Update copyright years.
32685 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32687 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32688 unwind info if defined PIC. Fix special cases description.
32689 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32691 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32693 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32695 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32697 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32699 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32702 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32703 (LDLIBS-tst-chk4): This.
32704 (LDFLAGS-tst-chk5): Renamed to ...
32705 (LDLIBS-tst-chk5): This.
32706 (LDFLAGS-tst-chk6): Renamed to ...
32707 (LDLIBS-tst-chk6): This.
32708 (LDFLAGS-tst-lfschk4): Renamed to ...
32709 (LDLIBS-tst-lfschk4): This.
32710 (LDFLAGS-tst-lfschk5): Renamed to ...
32711 (LDLIBS-tst-lfschk5): This.
32712 (LDFLAGS-tst-lfschk6): Renamed to ...
32713 (LDLIBS-tst-lfschk6): This.
32715 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32716 on $(common-objpfx)soversions.mk.
32718 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32721 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32724 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32726 * malloc/arena.c (arena_get_retry): New function that gets
32727 another arena for the caller to try its request on.
32728 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32729 current arena cannot fulfill the request.
32730 (__libc_memalign): Likewise.
32731 (__libc_memalign): Likewise.
32732 (__libc_pvalloc): Likewise.
32733 (__libc_calloc): Likewise.
32735 2012-09-05 John Tobey <john.tobey@gmail.com>
32738 * manual/arith.texi (Operations on Complex): Fix description
32739 of carg branch cut.
32741 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32744 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32748 * manual/memory.texi (Memory): Make order of menu items match
32751 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32753 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32754 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32755 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32757 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32759 * csu/libc-tls.c (static_dtv): Renamed to ...
32760 (_dl_static_dtv): This. Make it global.
32761 (_dl_initial_dtv): Removed.
32762 (__libc_setup_tls): Updated.
32763 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32764 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32767 2012-09-06 Petr Machata <pmachata@redhat.com>
32769 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32770 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32771 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32772 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32774 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32777 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32778 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32781 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32784 * Makeconfig (link-static-before-libc): Replace $(+prector)
32786 (link-static-after-libc): Replace $(+postctor) with
32788 (link-bounded): Replace $(+prector)/$(+postctor) with
32789 $(+prectorT)/$(+postctorT).
32790 (+prectorT): New macro.
32791 (+postctorT): Likewise.
32793 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32795 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32796 (round_str): Handle values above the maximum for IBM long double
32798 * stdlib/tst-strtod-round.c (tests): Regenerated.
32800 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32802 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32804 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32805 zarch_nohighgprs around the zarch optimized routines.
32806 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32807 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32808 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32811 2012-09-05 David S. Miller <davem@davemloft.net>
32813 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32815 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32816 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32817 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32818 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32821 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32823 * malloc/arena.c: Fold copyright years.
32824 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32826 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32828 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32830 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32832 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32834 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32836 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32837 change internal state upon failure.
32839 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32841 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32842 * malloc/memusage.c (mmap): Likewise.
32843 (mmap64, mremap): Likewise. Adjust name in comment.
32845 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32847 * libio/fileops.c: Fix typos in comments.
32848 * libio/oldfileops.c: Likewise.
32849 * libio/wfileops.c: Likewise.
32851 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32854 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32855 (tst-malloc-usable-ENV): Set environment for test case.
32856 * malloc/hooks.c (malloc_check_get_size): New function to get
32858 * malloc/malloc.c (musable): Use malloc_check_get_size.
32859 * malloc/tst-malloc-usable.c: New test case.
32861 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32863 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32865 2012-09-05 Allan McRae <allan@archlinux.org>
32868 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32869 determine header location.
32870 * configure: Regenerated.
32872 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32874 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32876 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32877 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32879 (test): Regenerate.
32881 2012-09-04 David S. Miller <davem@davemloft.net>
32883 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32884 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32885 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32887 2012-09-04 Florian Weimer <fweimer@redhat.com>
32889 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32892 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32894 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32897 * libio/iogetdelim.c: Include <limits.h>.
32898 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32899 + len + 1 would overflow.
32901 2012-09-03 Andreas Jaeger <aj@suse.de>
32903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32904 * sysdeps/i386/fpu/libm-test-ulps: Update.
32906 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32908 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32909 Add s_sinf-sse2, s_conf-sse2.
32911 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32912 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32913 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32914 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32916 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32917 for using routine as __sinf_ia32.
32918 Use macro for function declaration and weak_alias.
32919 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32920 for using routine as __cosf_ia32.
32921 Use macro for function declaration and weak_alias.
32923 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32924 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32926 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32927 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32930 * math/libm-test.inc (cos_test): Add more test cases.
32931 (sin_test): Likewise.
32932 (sincos_test): Likewise.
32934 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32936 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32937 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32939 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32941 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32944 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32945 first element of the GOT.
32946 (elf_machine_load_address): Return the difference between
32947 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32949 2012-09-01 Allan McRae <allan@archlinux.org>
32952 * configure.in (AWK): Require gawk version 3.0 or later.
32953 * configure: Regenerated.
32955 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32957 * sysdeps/unix/sysv/linux/kernel-features.h
32958 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32959 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32960 [__NR_clock_getres]: Make code unconditional.
32961 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32962 (clock_getcpuclockid): Remove code left unreachable by removal of
32964 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32965 code unconditional.
32966 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32967 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32968 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32969 Make code unconditional.
32970 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32971 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32972 * sysdeps/unix/sysv/linux/clock_settime.c
32973 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32975 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32976 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32978 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32981 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32982 scripts/test-installation.pl.
32984 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32985 and $ld_so_version if it is set.
32987 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32990 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32991 failure if reading from procfs failed.
32992 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32994 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32996 * sysdeps/unix/sysv/linux/kernel-features.h
32997 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32998 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32999 Remove conditional code.
33000 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33001 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33002 Remove conditional code.
33003 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33004 * sysdeps/unix/sysv/linux/i386/fxstat.c
33005 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33007 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33008 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33010 * sysdeps/unix/sysv/linux/i386/lxstat.c
33011 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33012 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33013 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33014 Remove conditional code.
33015 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33016 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33017 Remove conditional code.
33018 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33019 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33020 <kernel-features.h>.
33021 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33023 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33024 Remove conditional code.
33025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33026 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33027 Remove conditional.
33029 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33032 * NEWS: Add fixed bug number.
33034 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33037 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33038 underflowing exponent in case of negative sign.
33039 * stdlib/tst-strtod-round-data: Add more tests.
33040 * stdlib/tst-strtod-round.c (tests): Regenerated.
33043 * stdlib/strtod_l.c (NDIG): Remove.
33044 (HEXNDIG): Likewise.
33045 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33046 smallest representable value.
33047 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33048 lie within an exact representation of 1/2 ulp of the result.
33049 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33051 (TENS_P9_IDX): Define unconditionally.
33052 (TENS_P9_SIZE): Likewise.
33053 (TENS_P10_IDX): Likewise.
33054 (TENS_P10_SIZE): Likewise.
33055 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33056 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33057 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33058 entries for 10^2^13 and 10^2^14.
33059 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33060 (TENS_P13_IDX): Define.
33061 (TENS_P13_SIZE): Likewise.
33062 (TENS_P14_IDX): Likewise.
33063 (TENS_P14_SIZE): Likewise.
33064 (_fpioconst_pow10): Change array size to
33065 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33067 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33068 1024]: Add entries for 10^2^13 and 10^2^14.
33069 [LAST_POW10 > _LAST_POW10]: Remove #error.
33070 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33071 (_fpioconst_pow10): Change array size to
33072 FPIOCONST_POW10_ARRAY_SIZE.
33073 * stdlib/gen-fpioconst.c: New file.
33074 * stdlib/gen-tst-strtod-round.c: Likewise.
33075 * stdlib/tst-strtod-round-data: Likewise.
33076 * stdlib/tst-strtod-round.c: Likewise.
33077 * stdlib/Makefile (tests): Add tst-strtod-round.
33080 * stdlib/strtod_l.c: Include <stdint.h>.
33081 (NDEBUG): Do not define.
33082 (round_and_return): Change EXPONENT parameter to type intmax_t.
33083 Rearrange calculations to avoid internal overflow possibilities.
33084 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33085 Rearrange calculations to avoid internal overflow possibilities.
33086 Assert that number fits inside MPNSIZE limbs.
33087 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33088 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33089 calculations and add assertions to avoid internal overflow
33090 possibilities. Add casts to avoid signed/unsigned operations.
33091 * stdlib/tst-strtod-overflow.c: New file.
33092 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33094 2012-08-25 Marek Polacek <polacek@redhat.com>
33096 * time/time.h: Fix some typos in comments.
33098 2012-08-23 Roland McGrath <roland@hack.frob.com>
33100 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33101 * posix/tst-rfc3484-2.c: Likewise.
33102 * posix/tst-rfc3484-3.c: Likewise.
33104 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33106 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33107 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33109 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33111 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33112 #include of fxstatat64.c.
33114 2012-08-22 Roland McGrath <roland@hack.frob.com>
33116 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33117 * shadow/getspent_r.c: Likewise.
33118 * shadow/getspnam.c: Likewise.
33119 * shadow/getspnam_r.c: Likewise.
33120 * gshadow/getsgent.c: Likewise.
33121 * gshadow/getsgent_r.c: Likewise.
33122 * gshadow/getsgnam.c: Likewise.
33123 * gshadow/getsgnam_r.c: Likewise.
33124 * inet/getnetbyad.c: Likewise.
33125 * inet/getnetbyad_r.c: Likewise.
33126 * inet/getnetbynm.c: Likewise.
33127 * inet/getnetbynm_r.c: Likewise.
33128 * inet/getnetent.c: Likewise.
33129 * inet/getnetent_r.c: Likewise.
33130 * inet/getproto.c: Likewise.
33131 * inet/getproto_r.c: Likewise.
33132 * inet/getprtent.c: Likewise.
33133 * inet/getprtent_r.c: Likewise.
33134 * inet/getprtname.c: Likewise.
33135 * inet/getprtname_r.c: Likewise.
33136 * inet/getrpcbyname.c: Likewise.
33137 * inet/getrpcbyname_r.c: Likewise.
33138 * inet/getrpcbynumber.c: Likewise.
33139 * inet/getrpcbynumber_r.c: Likewise.
33140 * inet/getrpcent.c: Likewise.
33141 * inet/getrpcent_r.c: Likewise.
33142 * inet/getaliasent.c: Likewise.
33143 * inet/getaliasent_r.c: Likewise.
33144 * inet/getaliasname.c: Likewise.
33145 * inet/getaliasname_r.c: Likewise.
33146 * nscd/getgrgid_r.c: Likewise.
33147 * nscd/getgrnam_r.c: Likewise.
33148 * nscd/gethstbyad_r.c: Likewise.
33149 * nscd/gethstbynm3_r.c: Likewise.
33150 * nscd/getpwnam_r.c: Likewise.
33151 * nscd/getpwuid_r.c: Likewise.
33152 * nscd/getsrvbynm_r.c: Likewise.
33153 * nscd/getsrvbypt_r.c: Likewise.
33154 * nscd/gai.c: Likewise.
33156 * configure.in (build_nscd): New substituted variable, set
33157 by --disable-build-nscd and defaults to $use_nscd.
33158 * configure: Regenerated.
33159 * config.make.in (build-nscd): New substituted variable.
33160 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33161 Change conditional to require [$(build-nscd) = yes] as well.
33162 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33165 * configure.in (use_nscd): New substituted variable, set by
33166 --disable-nscd. If enabled, define USE_NSCD.
33167 * configure: Regenerated.
33168 * config.h.in: Add USE_NSCD.
33169 * config.make.in (use-nscd): New substituted variable.
33170 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33171 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33172 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33173 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33174 (CFLAGS-getgrnam_r.c): Likewise.
33175 (CFLAGS-initgroups.c): Likewise.
33176 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33177 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33179 * inet/getnetgrent_r.c
33180 (nscd_setnetgrent): New function, broken out of ...
33181 (setnetgrent): ... here. Call it.
33182 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33183 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33184 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33185 * nscd/Makefile (routines, aux): Move definitions after include of
33186 Makeconfig. Conditionalize on [$(use-nscd) != no].
33187 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33188 Conditionalize on [USE_NSCD].
33189 (is_nscd, nscd_init_cb): Likewise.
33190 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33191 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33192 * nss/nss_db/db-init.c: Likewise.
33193 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33195 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33196 (make_request): Use it.
33197 (cache_valid_p): New function.
33198 (__check_pf): Use it.
33199 * NEWS: Add item for --disable-nscd.
33201 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33203 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33204 to support sed >= 4.2.1-20-ga9bf076.
33205 * configure: Regenerated.
33207 2012-08-22 Roland McGrath <roland@hack.frob.com>
33209 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33210 Conditionalize whole body on [IREL].
33212 2012-08-22 Jeff Law <law@redhat.com>
33215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33216 if the family is PF_UNSPEC.
33218 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33220 * Makerules (lib-version): Rename from V.
33221 (install-lib-nosubdir): Change V to lib-version.
33223 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33226 * powerpc32/power6/wcschr.c: New file.
33227 * powerpc32/power6/wcscpy.c: New file.
33228 * powerpc32/power6/wcsrchr.c: New file.
33229 * powerpc64/power6/wcschr.c: New file.
33230 * powerpc64/power6/wcscpy.c: New file.
33231 * powerpc64/power6/wcsrchr.c: New file.
33233 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33235 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33236 (two_way_short_needle): Use it.
33237 * string/strstr.c (AVAILABLE1_USES_J): Define.
33238 * string/strcasestr.c: Likewise.
33240 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33242 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33245 * NEWS: Add an entry.
33246 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33247 define their defaults.
33248 (two_way_short_needle): Detect end-of-string on-the-fly.
33249 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33250 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33251 * string/bug-strcasestr1.c: New test.
33252 * string/Makefile: Run it.
33254 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33257 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33258 the first character.
33260 2012-08-21 Roland McGrath <roland@hack.frob.com>
33262 * csu/elf-init.c (__libc_csu_irel): Function removed.
33263 * csu/libc-start.c (apply_irel): New function.
33264 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33266 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33268 * sysdeps/unix/sysv/linux/kernel-features.h
33269 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33270 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33271 <kernel-features.h>.
33272 [__NR_fadvise64_64]: Make code unconditional.
33273 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33274 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33275 !__NR_fadvise64_64)]: Likewise.
33276 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33277 !__NR_fadvise64_64))]: Likewise.
33278 [__NR_fadvise64]: Make code unconditional.
33279 [!__NR_fadvise64]: Remove conditional code.
33280 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33281 <kernel-features.h>.
33282 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33284 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33287 not include <kernel-features.h>.
33288 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33290 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33292 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33293 include <kernel-features.h>.
33294 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33296 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33299 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33301 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33302 slight instruction rearrangements per scrollpipe analysis.
33303 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33305 2012-08-20 Roland McGrath <roland@hack.frob.com>
33307 * manual/syslog.texi (syslog; vsyslog, closelog):
33308 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33309 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33311 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33312 DSOCAPS to match condition on defining it.
33314 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33316 * sysdeps/unix/sysv/linux/kernel-features.h
33317 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33319 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33320 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33322 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33323 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33325 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33326 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33328 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33329 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33331 * sysdeps/unix/sysv/linux/kernel-features.h
33332 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33333 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33335 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33336 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33337 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33338 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33339 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33340 Make code unconditional.
33341 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33342 (__mmap64) [!__NR_mmap2]: Likewise.
33343 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33344 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33345 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33346 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33347 [__NR_mmap2]: Make code unconditional.
33348 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33349 (__mmap64) [!__NR_mmap2]: Likewise.
33351 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33353 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33355 2012-08-18 Andreas Jaeger <aj@suse.de>
33357 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33359 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33361 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33362 * include/unistd.h (__have_sock_cloexec): Likewise.
33363 (__have_pipe2): Likewise.
33364 (__have_dup3): Likewise.
33366 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33369 * include/unistd.h (__have_pipe2): Change define into an extern int.
33370 (__have_dup3): Likewise.
33371 * socket/have_sock_cloexec.c: Include fcntl.h.
33372 (__have_pipe2): New variable.
33373 (__have_dup3): Likewise.
33375 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33377 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33379 2012-08-17 Marek Polacek <polacek@redhat.com>
33381 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33382 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33384 2012-08-17 Roland McGrath <roland@hack.frob.com>
33386 * configure.in: Add AC_SUBST for sysheaders.
33387 * configure: Regenerated.
33388 * config.make.in (sysheaders): New substituted variable.
33390 * sysdeps/unix/mkfifo.c: Moved ...
33391 * sysdeps/posix/mkfifo.c: ... here.
33392 * sysdeps/unix/mkfifoat.c: Moved ...
33393 * sysdeps/posix/mkfifoat.c: ... here.
33395 * sysdeps/unix/utime.c: Moved ...
33396 * sysdeps/posix/utime.c: ... here.
33398 * sysdeps/unix/time.c: Moved ...
33399 * sysdeps/posix/time.c: ... here.
33400 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33401 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33403 * sysdeps/unix/nice.c: Moved ...
33404 * sysdeps/posix/nice.c: ... here.
33406 * sysdeps/unix/alarm.c: Moved ...
33407 * sysdeps/posix/alarm.c: ... here.
33409 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33411 2012-08-17 Jeff Law <law@redhat.com>
33413 * intl/Makefile (codeset_mo): New variable.
33414 ($(codeset_mo)): New target.
33415 (tst-codeset.out): Depend on that. Remove explicit rule.
33416 (tst-gettext3.out, tst-gettext5.out): Likewise.
33417 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33418 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33419 * intl/tst-codeset.sh: Remove.
33420 * intl/tst-gettext3.sh: Likewise.
33421 * intl/tst-gettext5.sh: Likewise.
33423 2012-08-17 Roland McGrath <roland@hack.frob.com>
33425 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33426 * sysdeps/unix/syscalls.list: ... here.
33428 * sysdeps/posix/getaddrinfo.c
33429 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33430 (gaiconf_init, gaiconf_reload): Use them.
33431 [!_STATBUF_ST_NSEC]
33432 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33433 Define using time_t rather than struct timespec.
33435 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33436 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33438 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33440 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33441 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33444 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33445 __libc_cleanup_push argument.
33447 * bits/param.h: New file.
33448 * misc/sys/param.h: New file.
33449 * include/sys/param.h: New file.
33450 * misc/Makefile (headers): Add bits/param.h.
33451 * sysdeps/generic/sys/param.h: File removed.
33452 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33453 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33454 * sysdeps/mach/hurd/bits/param.h: New file.
33455 * sysdeps/mach/hurd/sys/param.h: File removed.
33457 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33460 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33462 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33463 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33466 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33467 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33468 rather than -D_IO_MTSAFE_IO conditionally.
33469 * stdio-common/Makefile (CPPFLAGS): Likewise.
33470 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33471 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33472 Use $(libio-mtsafe).
33473 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33474 of -D_IO_MTSAFE_IO.
33475 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33476 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33477 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33478 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33479 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33480 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33481 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33482 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33483 (CFLAGS-fread_u_chk.c): Likewise.
33484 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33485 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33486 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33487 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33488 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33489 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33490 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33491 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33492 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33494 * libio/Makefile: Test [$(libc-reentrant) = yes]
33495 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33498 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33499 * sysdeps/pthread/configure: File removed.
33500 * sysdeps/pthread/Makeconfig: New file.
33501 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33502 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33504 2012-08-16 Gary Benson <gbenson@redhat.com>
33506 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33507 unmapping the first object in a namespace.
33509 2012-08-16 Roland McGrath <roland@hack.frob.com>
33511 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33512 (__internal_setnetgrent): ... this. Add internal_function to
33513 definition. Add libc_hidden_def.
33514 (setnetgrent): Update caller.
33515 (internal_endnetgrent): Renamed to ...
33516 (__internal_endnetgrent): ... this. Add internal_function to
33517 definition. Add libc_hidden_def.
33518 (endnetgrent): Update caller.
33519 (internal_getnetgrent_r): Renamed to ...
33520 (__internal_getnetgrent_r): ... this. Add internal_function to
33521 definition. Add libc_hidden_def.
33522 (__getnetgrent_r): Update caller.
33523 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33525 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33527 * stdlib/longlong.h: Update from GCC.
33529 2012-08-16 Roland McGrath <roland@hack.frob.com>
33531 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33532 on _QL, which is set by umul_ppmm but never used.
33533 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33534 variables, which are set by GMP macros but never used.
33535 * stdio-common/_itowa.c (_itowa): Likewise.
33536 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33537 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33539 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33541 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33542 struct La_sh_regs is not constant.
33543 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33544 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33545 and struct La_sparc64_regs are not constant.
33547 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33549 * sysdeps/unix/sysv/linux/kernel-features.h
33550 (__ASSUME_POSIX_TIMERS): Remove.
33551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33552 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33553 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33554 Make code unconditional.
33555 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33556 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33557 Make code unconditional.
33558 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33559 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33560 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33561 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33562 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33563 Make code unconditional.
33564 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33565 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33566 (__libc_missing_posix_timers): Remove.
33568 2012-08-15 Roland McGrath <roland@hack.frob.com>
33570 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33571 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33573 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33575 * elf/dl-sym.c: Include <stdlib.h>.
33577 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33578 constants, which avoids warnings in 32-bit builds.
33580 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33581 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33583 * misc/lseek.c: File moved to ...
33584 * io/lseek.c: ... here.
33586 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33588 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33589 shifting LEN more than 31 bits at once.
33591 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33594 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33595 segmentation fault for a case of two empty input strings.
33596 * string/test-strncasecmp.c (check1): Renamed to...
33597 (bz12205): ...this.
33598 (bz14195): Add new testcase for two empty input strings and N > 0.
33599 (test_main): Call new testcase, adapt for renamed function.
33601 2012-08-15 Andreas Jaeger <aj@suse.de>
33604 * crypt/md5test2.c: New test, based on test supplied by Serge
33605 Belyshev <belyshev@depni.sinp.msu.ru>.
33606 * crypt/Makefile (xtests): Add md5test-giant..
33607 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33609 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33612 * crypt/md5.c (md5_process_block): Don't assume the buffer
33613 length is less than 2**32.
33614 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33615 length is less than 2**64.
33617 2012-08-15 Roland McGrath <roland@hack.frob.com>
33619 * string/str-two-way.h: Include <sys/param.h>.
33620 (MAX): Macro removed.
33622 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33623 Move #define and #undef of memmove to just before and after
33624 including <string.h>.
33626 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33627 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33628 and after including <string.h>. Move declarations of
33629 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33630 to before #include "string/memmove.c".
33632 * include/dirent.h: Declare __getdirentries.
33634 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33635 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33637 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33639 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33640 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33641 * sysdeps/i386/configure: Regenerated.
33642 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33643 STABS_CURRENT_FILE, and STABS_FUN.
33644 (END): Remove call to STABS_FUN_END.
33645 (STABS_CURRENT_FILE1): Delete.
33646 (STABS_CURRENT_FILE): Likewise.
33647 (STABS_FUN): Likewise.
33648 (STABS_FUN_END): Likewise.
33649 (STABS_FUN2): Likewise.
33650 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33651 * sysdeps/x86_64/configure: Regenerated.
33653 2012-08-14 Roland McGrath <roland@hack.frob.com>
33655 * elf/dl-open.c: Include <atomic.h>.
33656 * elf/dl-lookup.c: Likewise.
33658 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33660 * sysdeps/unix/sysv/linux/kernel-features.h
33661 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33662 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33664 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33666 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33667 condition on __ASSUME_CLONE_THREAD_FLAGS.
33669 2012-08-14 Andreas Jaeger <aj@suse.de>
33671 * sysdeps/i386/fpu/libm-test-ulps: Update.
33673 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33675 * include/atomic.h (atomic_exchange_and_add): Split into ...
33676 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33679 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33683 2012-08-13 Jeff Law <law@redhat.com>
33685 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33686 null byte in the output string.
33688 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33690 * sysdeps/unix/sysv/linux/kernel-features.h
33691 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33692 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33693 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33694 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33695 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33696 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33697 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33699 2012-08-09 Jeff Law <law@redhat.com>
33702 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33703 When avoid_arena is set, don't retry in the that arena. Pick the
33704 next one, whatever it might be.
33705 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33706 (arena_lock): Pass in new parameter to arena_get2.
33707 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33709 (__libc_malloc): Unify retrying after main arena failure with
33710 __libc_memalign version.
33711 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33713 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33716 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33717 to __redirect_strstr.
33718 (__strstr_sse42): Use typeof __redirect_strstr.
33719 (__strstr_ia32): Likewise.
33720 (__libc_strstr): New prototype.
33721 (strstr): Renamed to ...
33722 (__libc_strstr): This.
33723 (strstr): New strong alias of __libc_strstr.
33724 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33725 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33728 (__libc_time): New prototype.
33729 (time_ifunc): Replace time with __libc_time.
33730 (time): New strong alias and hidden definition of __libc_time.
33731 (__GI_time): Remove strong alias.
33732 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33733 Include <stddef.h>.
33734 (memmove): Redefined to __redirect_memmove.
33735 (__memmove_sse2): Use typeof __redirect_memmove.
33736 (__memmove_ssse3): Likewise.
33737 (__memmove_ssse3_back): Likewise.
33738 (__libc_memmove): New prototype.
33739 (memmove): Renamed to ...
33740 (__libc_memmove): This.
33741 (memmove): New strong alias of __libc_memmove.
33743 2012-08-08 Mark Salter <msalter@redhat.com>
33746 (R_MN10300_TLS_GD): Define.
33747 (R_MN10300_TLS_LD): Likewise.
33748 (R_MN10300_TLS_LDO): Likewise.
33749 (R_MN10300_TLS_GOTIE): Likewise.
33750 (R_MN10300_TLS_IE): Likewise.
33751 (R_MN10300_TLS_LE): Likewise.
33752 (R_MN10300_TLS_DTPMOD): Likewise.
33753 (R_MN10300_TLS_DTPOFF): Likewise.
33754 (R_MN10300_TLS_TPOFF): Likewise.
33755 (R_MN10300_SYM_DIFF): Likewise.
33756 (R_MN10300_ALIGN): Likewise.
33757 (R_MN10300_NUM): Update.
33759 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33764 2012-08-08 Roland McGrath <roland@hack.frob.com>
33766 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33768 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33769 sysdeps/unix -> sysdeps/posix move.
33770 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33772 2012-08-07 Allan McRae <allan@archlinux.org>
33775 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33776 (SUNOS_CPP): Likewise.
33777 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33779 (open_input): Call CPP using execvp.
33781 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33783 * sysdeps/unix/sysv/linux/kernel-features.h
33784 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33785 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33786 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33787 (__ASSUME_WAITID_SYSCALL): Likewise.
33788 * sysdeps/unix/sysv/linux/dl-execstack.c
33789 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33790 code unconditional.
33791 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33793 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33794 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33795 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33797 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33799 [__ASSUME_WAITID_SYSCALL]: Likewise.
33800 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33802 2012-08-07 Roland McGrath <roland@hack.frob.com>
33804 * sysdeps/unix/closedir.c: Renamed to ...
33805 * sysdeps/posix/closedir.c: ... here.
33806 * sysdeps/unix/dirfd.c: Renamed to ...
33807 * sysdeps/posix/dirfd.c: ... here.
33808 * sysdeps/unix/dirstream.h: Renamed to ...
33809 * sysdeps/posix/dirstream.h: ... here.
33810 * sysdeps/unix/fdopendir.c: Renamed to ...
33811 * sysdeps/posix/fdopendir.c: ... here.
33812 * sysdeps/unix/opendir.c: Renamed to ...
33813 * sysdeps/posix/opendir.c: ... here.
33814 * sysdeps/unix/readdir.c: Renamed to ...
33815 * sysdeps/posix/readdir.c: ... here.
33816 * sysdeps/unix/readdir_r.c: Renamed to ...
33817 * sysdeps/posix/readdir_r.c: ... here.
33818 * sysdeps/unix/rewinddir.c: Renamed to ...
33819 * sysdeps/posix/rewinddir.c: ... here.
33820 * sysdeps/unix/seekdir.c: Renamed to ...
33821 * sysdeps/posix/seekdir.c: ... here.
33822 * sysdeps/unix/telldir.c: Renamed to ...
33823 * sysdeps/posix/telldir.c: ... here.
33824 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33825 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33826 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33827 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33829 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33830 * bits/fcntl.h: ... here.
33832 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33834 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33835 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33836 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33837 (struct flock): Move l_start, l_len to the beginning.
33838 Use __pid_t for l_pid.
33839 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33840 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33841 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33842 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33843 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33844 [__USE_LARGEFILE64] (struct flock64): New type.
33845 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33847 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33848 * bits/dirent.h: ... here.
33850 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33851 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33853 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33855 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33856 Change from 2.6.0 to 2.6.16.
33857 * sysdeps/unix/sysv/linux/configure: Regenerated.
33858 * sysdeps/unix/sysv/linux/kernel-features.h
33859 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33860 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33862 (__ASSUME_UTIMES): Likewise.
33863 (__ASSUME_CLONE_STOPPED): Remove.
33864 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33865 architectures, not kernel version.
33866 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33867 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33868 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33869 (__ASSUME_WAITID_SYSCALL): Likewise.
33870 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33871 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33872 * README: State 2.6.16 as minimum Linux kernel version. Do not
33873 refer to older versions.
33875 2012-08-06 Roland McGrath <roland@hack.frob.com>
33877 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33878 Define alphasort64 as an alias.
33879 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33880 Define versionsort64 as an alias.
33881 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33882 Define scandir64 as an alias.
33883 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33884 Define scandirat64 as an alias.
33885 * dirent/alphasort64.c (alphasort64):
33886 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33887 * dirent/versionsort64.c: Likewise.
33888 * dirent/scandir64.c: Likewise.
33889 * dirent/scandirat64.c: Likewise.
33890 * sysdeps/wordsize-64/alphasort.c: File removed.
33891 * sysdeps/wordsize-64/alphasort64.c: File removed.
33892 * sysdeps/wordsize-64/scandir.c: File removed.
33893 * sysdeps/wordsize-64/scandir64.c: File removed.
33894 * sysdeps/wordsize-64/scandirat.c: File removed.
33895 * sysdeps/wordsize-64/scandirat64.c: File removed.
33896 * sysdeps/wordsize-64/versionsort.c: File removed.
33897 * sysdeps/wordsize-64/versionsort64.c: File removed.
33898 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33899 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33900 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33901 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33902 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33903 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33904 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33905 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33907 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33909 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33911 [defined __arch64__ || defined __sparcv9]
33912 (__INO_T_MATCHES_INO64_T): New macro.
33913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33914 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33915 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33916 * sysdeps/unix/sysv/linux/bits/dirent.h
33917 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33918 (_DIRENT_MATCHES_DIRENT64): New macro.
33920 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33921 Define lockf64 as an alias.
33922 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33923 Define fseeko64 as an alias.
33924 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33925 Define ftello64 as an alias.
33926 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33927 Define _IO_fgetpos64 and fgetpos64 as aliases.
33928 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33929 Define _IO_fsetpos64 and fsetpos64 as aliases.
33930 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33931 Conditionalize body on this.
33932 * libio/fseeko64.c: Likewise.
33933 * libio/ftello64.c: Likewise.
33934 * libio/iofgetpos64.c: Likewise.
33935 * libio/iofsetpos64.c: Likewise.
33936 * sysdeps/wordsize-64/lockf.c: File removed.
33937 * sysdeps/wordsize-64/lockf64.c: File removed.
33938 * sysdeps/wordsize-64/fseeko.c: File removed.
33939 * sysdeps/wordsize-64/fseeko64.c: File removed.
33940 * sysdeps/wordsize-64/ftello.c: File removed.
33941 * sysdeps/wordsize-64/ftello64.c: File removed.
33942 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33943 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33944 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33945 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33946 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33947 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33948 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33949 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33950 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33951 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33952 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33953 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33954 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33955 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33957 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33959 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33961 [defined __arch64__ || defined __sparcv9]
33962 (__OFF_T_MATCHES_OFF64_T): New macro.
33963 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33964 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33965 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33966 (__OFF_T_MATCHES_OFF64_T): New macro.
33968 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33970 * stdlib/secure-getenv.c (__secure_getenv): Replace
33971 GLIBC_2_16 with GLIBC_2_17.
33973 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33975 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33976 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33978 2012-08-03 David S. Miller <davem@davemloft.net>
33980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33982 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33984 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33986 (__ASSUME_CORRECT_SI_PID): Likewise.
33987 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33988 (__ASSUME_TMPFS_NAME): Likewise.
33989 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33990 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33991 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33992 (HAVE_AUX_SECURE): Make definition unconditional.
33993 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33994 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33996 2012-08-03 Roland McGrath <roland@hack.frob.com>
33998 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33999 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34000 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34002 __eloop_threshold instead of SYMLOOP_MAX.
34004 * sysdeps/generic/eloop-threshold.h: New file.
34005 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34007 * elf/chroot_canon.c (chroot_canon): Likewise.
34009 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34012 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34013 Change to 2.6.0 everywhere.
34014 * sysdeps/unix/sysv/linux/configure: Regenerated.
34015 * sysdeps/unix/sysv/linux/kernel-features.h
34016 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34017 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34019 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34020 (__ASSUME_FUTEX_REQUEUE): Remove.
34021 (__ASSUME_STATFS64): Define unconditionally.
34022 (__ASSUME_AT_SECURE): Likewise.
34023 (__ASSUME_CORRECT_SI_PID): Likewise.
34024 (__ASSUME_TGKILL): Define without depending on kernel version for
34026 (__ASSUME_UTIMES): Likewise.
34027 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34029 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34030 (__ASSUME_TMPFS_NAME): Likewise.
34031 * README: Update reference to Linux kernel versions.
34033 2012-08-02 Marek Polacek <polacek@redhat.com>
34036 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34037 libc_cv_asm_type_prefix with %.
34038 * configure: Regenerated.
34039 * include/libc-symbols.h: Remove comment about
34040 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34041 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34042 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34043 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34044 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34045 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34046 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34047 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34048 * elf/tst-unique2mod1.c: Likewise.
34049 * elf/tst-unique1mod2.c: Likewise.
34050 * elf/tst-unique1mod1.c: Likewise.
34051 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34052 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34053 Replace ASM_TYPE_DIRECTIVE with .type.
34054 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34055 * sysdeps/i386/sysdep.h: Likewise.
34056 * sysdeps/x86_64/sysdep.h: Likewise.
34057 * sysdeps/sh/sysdep.h: Likewise.
34058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34059 Do not define ASM_TYPE_DIRECTIVE.
34060 * sysdeps/powerpc/sysdep.h: Likewise.
34061 * sysdeps/powerpc/powerpc32/sysdep.h:
34062 Replace ASM_TYPE_DIRECTIVE with .type.
34063 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34064 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34065 * sysdeps/i386/fpu/e_powf.S: Likewise.
34066 * sysdeps/i386/fpu/e_expl.S: Likewise.
34067 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34068 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34069 * sysdeps/i386/fpu/e_pow.S: Likewise.
34070 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34071 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34072 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34073 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34074 * sysdeps/i386/fpu/e_log2.S: Likewise.
34075 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34076 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34077 * sysdeps/i386/fpu/e_powl.S: Likewise.
34078 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34079 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34080 * sysdeps/i386/fpu/e_logl.S: Likewise.
34081 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34082 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34083 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34084 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34085 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34086 * sysdeps/i386/fpu/e_log.S: Likewise.
34087 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34088 * sysdeps/i386/fpu/e_logf.S: Likewise.
34089 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34090 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34091 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34092 * sysdeps/i386/fpu/e_log10.S: Likewise.
34093 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34094 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34095 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34096 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34097 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34098 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34099 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34100 * sysdeps/i386/i686/strtok.S: Likewise.
34101 * sysdeps/i386/i386-mcount.S: Likewise.
34102 * sysdeps/i386/strtok.S: Likewise.
34103 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34104 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34105 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34106 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34107 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34108 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34109 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34110 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34111 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34112 * sysdeps/x86_64/_mcount.S: Likewise.
34113 * sysdeps/x86_64/strtok.S: Likewise.
34114 * sysdeps/sh/_mcount.S: Likewise.
34116 2012-08-01 Roland McGrath <roland@hack.frob.com>
34118 * libio/iofopen.c: Include <fcntl.h>.
34119 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34120 (_IO_fopen64, fopen64): Define as aliases.
34121 * libio/iofopen64.c: Include <fcntl.h>.
34122 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34123 Conditionalize body on this.
34124 * sysdeps/wordsize-64/iofopen.c: File removed.
34125 * sysdeps/wordsize-64/iofopen64.c: File removed.
34127 2012-08-01 Marek Polacek <polacek@redhat.com>
34129 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34130 Use dlfcn directly instead of a variable.
34131 (binfmt-subdir): Do not define.
34134 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34137 Remove all definitions.
34138 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34139 <kernel-features.h>.
34140 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34141 (miss_F_GETOWN_EX): Remove all definitions.
34142 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34144 [!__ASSUME_FCNTL64]: Remove conditional code.
34145 [__ASSUME_FCNTL64]: Make code unconditional.
34146 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34147 <kernel-features.h>.
34148 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34149 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34150 (lockf64) [__NR_fcntl64]: Make code unconditional.
34151 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34153 * sysdeps/unix/sysv/linux/kernel-features.h
34154 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34155 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34156 Make code unconditional.
34157 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34158 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34160 [__NR_vfork]: Make code unconditional.
34161 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34162 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34164 [__NR_vfork]: Make code unconditional.
34165 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34166 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34168 2012-08-01 Roland McGrath <roland@hack.frob.com>
34170 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34171 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34173 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34174 Define mkstemp64 as an alias.
34175 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34176 Define mkstemps64 as an alias.
34177 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34178 Define mkostemp64 as an alias.
34179 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34180 Define mkostemps64 as an alias.
34181 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34182 Conditionalize body on this.
34183 * misc/mkostemp64.c: Likewise.
34184 * misc/mkostemps64.c: Likewise.
34185 * misc/mkstemps64.c: Likewise.
34186 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34187 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34188 * sysdeps/wordsize-64/mkostemp.c: File removed.
34189 * sysdeps/wordsize-64/mkstemp.c: File removed.
34190 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34191 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34192 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34193 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34196 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34197 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34198 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34199 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34201 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34202 compat_symbol macros from <shlib-compat.h> rather than the underlying
34203 default_symbol_version and symbol_version macros, so that DEFAULT
34204 lines in shlib-versions are respected.
34205 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34207 2012-08-01 Florian Weimer <fweimer@redhat.com>
34209 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34210 Declare with warn_unused_result.
34211 (setgid, setregid, setegid, setresgid): Likewise.
34212 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34214 * WUR-REPORT: Remove set*id functions.
34216 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34218 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34220 2012-07-31 Roland McGrath <roland@hack.frob.com>
34223 * include/sys/socket.h (__libc_accept, __libc_accept4):
34224 Add attribute_hidden.
34225 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34227 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34229 * inet/getnetgrent_r.c (setup): Likewise.
34231 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34233 2012-07-31 David S. Miller <davem@davemloft.net>
34235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34237 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34240 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34241 value between 1.0 and 2.0 and smaller part has absolute value less
34243 * math/s_clog10.c (__clog10): Likewise.
34244 * math/s_clog10f.c (__clog10f): Likewise.
34245 * math/s_clog10l.c (__clog10l): Likewise.
34246 * math/s_clogf.c (__clogf): Likewise.
34247 * math/s_clogl.c (__clogl): Likewise.
34248 * math/libm-test.inc (clog_test): Add more tests.
34249 (clog10_test): Likewise.
34250 * sysdeps/i386/fpu/libm-test-ulps: Update.
34251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34253 2012-07-31 Florian Weimer <fweimer@redhat.com>
34255 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34256 Exit with zero in case no suitable GID is found, and write a
34257 message to standard error.
34259 2012-07-30 Roland McGrath <roland@hack.frob.com>
34261 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34263 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34264 (MAXPATHLEN): Removed.
34265 (NOGROUP, NODEV): New macros.
34266 (setbit, clrbit, isset, isclr): New macros.
34267 (howmany, roundup, powerof2): New macros.
34268 (DEV_BSIZE): New macro.
34270 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34271 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34273 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34274 definition on [!__NO_LONG_DOUBLE_MATH].
34276 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34277 PTR_MANGLE and PTR_DEMANGLE.
34279 * socket/accept4.c (accept4): Rename to __libc_accept4.
34280 Define accept4 as a weak alias.
34282 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34283 on [_DIRENT_HAVE_D_TYPE].
34284 * io/ftw.c (ftw_dir): Likewise.
34286 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34288 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34290 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34291 Use the BSD numbers rather than the arbitrary ones we had.
34292 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34293 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34294 (SIGXCPU, SIGXFSZ): New macros.
34297 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34298 initializer on [_LIBC_REENTRANT].
34300 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34301 definitions inside [_POSIX_MAPPED_FILES].
34303 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34305 * dirent/opendir.c: Include <fcntl.h>.
34307 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34308 (__libc_getspecific): Likewise.
34309 (__libc_key_create): Likewise.
34311 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34312 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34313 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34314 (tmpfile64): Define as alias.
34315 * sysdeps/wordsize-64/tmpfile.c: File removed.
34316 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34318 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34320 * stdio-common/vfscanf.c: Include <stdbool.h>.
34321 * nss/makedb.c: Likewise.
34322 * stdio-common/_i18n_number.h: Likewise.
34323 * argp/argp-help.c: Likewise.
34324 * posix/wordexp.c: Likewise.
34325 * sysdeps/posix/spawni.c: Likewise.
34326 * nss/nss_files/files-initgroups.c: Likewise.
34327 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34328 * nss/nss_files/files-initgroups.c: Likewise.
34329 * nss/nss_db/db-netgrp.c: Likewise.
34330 * nss/nss_db/db-initgroups.c: Likewise.
34331 * io/fchmodat.c: Include <sys/stat.h>.
34333 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34334 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34336 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34339 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34340 Add multiple inclusion protection.
34342 2012-07-27 David S. Miller <davem@davemloft.net>
34344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34346 2012-07-27 Gary Benson <gbenson@redhat.com>
34349 * elf/rtld.c: Include <stap-probe.h>.
34350 (dl_main): Added static probes "init_start" and "init_complete".
34351 * elf/dl-load.c: Include <stap-probe.h>.
34352 (lose): Take new parameter "nsid".
34353 Added static probe "map_failed".
34354 (_dl_map_object_from_fd): Pass namespace id to lose.
34355 Added static probe "map_start".
34356 (open_verify): Pass namespace id to lose.
34357 * elf/dl-open.c: Include <stap-probe.h>.
34358 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34359 and "reloc_complete".
34360 * elf/dl-close.c: Include <stap-probe.h>.
34361 (_dl_close_worker): Added static probes "unmap_start" and
34363 * elf/rtld-debugger-interface.txt: New file documenting the above.
34365 2012-07-26 Roland McGrath <roland@hack.frob.com>
34367 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34368 rather than a string variable.
34369 * sunrpc/rpc_main.c (h_output): Likewise.
34370 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34372 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34374 * inet/check_native.c: New file.
34376 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34379 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34380 if larger part has absolute value 1.0.
34381 * math/s_clog10.c (__clog10): Likewise.
34382 * math/s_clog10f.c (__clog10f): Likewise.
34383 * math/s_clog10l.c (__clog10l): Likewise.
34384 * math/s_clogf.c (__clogf): Likewise.
34385 * math/s_clogl.c (__clogl): Likewise.
34386 * math/libm-test.inc (clog_test): Add more tests.
34387 (clog10_test): Likewise.
34388 * sysdeps/i386/fpu/libm-test-ulps: Update.
34389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34391 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34392 (pltexit): Likewise.
34393 (La_regs): Likewise.
34394 (La_retval): Likewise.
34395 (int_retval): Likewise.
34396 Update #error for removed macros to refer only to definitions in
34398 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34400 (pltexit): Likewise.
34401 (La_regs): Likewise.
34402 (La_retval): Likewise.
34403 (int_retval): Likewise.
34404 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34406 (pltexit): Likewise.
34407 (La_regs): Likewise.
34408 (La_retval): Likewise.
34409 (int_retval): Likewise.
34410 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34412 (pltexit): Likewise.
34413 (La_regs): Likewise.
34414 (La_retval): Likewise.
34415 (int_retval): Likewise.
34416 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34418 (pltexit): Likewise.
34419 (La_regs): Likewise.
34420 (La_retval): Likewise.
34421 (int_retval): Likewise.
34422 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34424 (pltexit): Likewise.
34425 (La_regs): Likewise.
34426 (La_retval): Likewise.
34427 (int_retval): Likewise.
34428 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34430 (pltexit): Likewise.
34431 (La_regs): Likewise.
34432 (La_retval): Likewise.
34433 (int_retval): Likewise.
34434 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34435 macro definitions in tst-audit.h.
34436 * sysdeps/i386/tst-audit.h: New file.
34437 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34438 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34439 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34440 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34441 * sysdeps/sh/tst-audit.h: Likewise.
34442 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34443 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34444 * sysdeps/x86_64/tst-audit.h: Likewise.
34446 2012-07-26 Andreas Jaeger <aj@suse.de>
34448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34451 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34452 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34453 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34455 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34456 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34457 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34459 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34462 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34464 (si_call_addr, si_syscall, si_arch): Define new macro.
34465 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34467 (si_call_addr, si_syscall, si_arch): Define new marcro.
34468 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34470 (si_call_addr, si_syscall, si_arch): Define new macro.
34471 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34473 (si_call_addr, si_syscall, si_arch): Define new macro.
34475 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34478 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34479 Change to 2.4.21 where previously 2.4.1.
34480 * sysdeps/unix/sysv/linux/configure: Regenerated.
34481 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34482 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34483 Linux kernel version.
34484 (__ASSUME_STD_AUXV): Remove.
34485 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34487 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34488 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34489 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34490 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34491 (__ASSUME_NETLINK_SUPPORT): Likewise.
34492 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34493 (__no_netlink_support): Remove conditional definition.
34494 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34496 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34497 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34498 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34499 (if_nameindex_ioctl): Remove.
34500 (if_nameindex_netlink): Do not handle __no_netlink_support.
34501 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34503 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34504 Remove conditional code.
34505 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34507 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34509 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34510 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34511 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34513 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34514 [!__ASSUME_STD_AUXV]: Remove conditional code.
34515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34516 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34517 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34519 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34520 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34522 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34524 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34525 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34527 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34529 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34532 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34535 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34536 code unconditional.
34537 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34539 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34541 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34544 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34546 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34549 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34550 code unconditional.
34551 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34553 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34555 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34558 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34559 code unconditional.
34560 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34562 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34564 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34567 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34569 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34570 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34571 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34572 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34573 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34574 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34575 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34576 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34577 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34578 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34579 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34580 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34581 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34582 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34583 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34584 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34585 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34587 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34588 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34589 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34590 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34591 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34593 2012-07-25 Florian Weimer <fweimer@redhat.com>
34595 * Versions.def: Add GLIBC_2.17.
34596 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34597 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34598 Introduce __libc_secure_getenv.
34599 * stdlib/Versions (2.17): Add secure_getenv
34600 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34601 * stdlib/secure-getenv.c: Rename __secure_getenv to
34602 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34603 symbol __secure_getenv for GLIBC_2.0.
34604 * stdlib/tst-secure-getenv.c: New.
34605 * stdlib/Makefile (tests): Add testcase.
34606 * manual/startup.texi (Environment Access): Document
34608 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34609 __libc_secure_getenv.
34610 * inet/ruserpass.c (ruserpass): Likewise.
34611 * malloc/mtrace.c (mtrace): Likewise.
34612 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34613 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34614 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34615 * sysdeps/posix/tempname.c: Likewise. Evaluate
34616 HAVE_SECURE_GETENV.
34617 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34618 __secure_getenv to __libc_secure_getenv.
34619 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34626 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34632 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34634 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34635 (struct La_i86_retval): Likewise.
34636 (struct La_x86_64_regs): Likewise.
34637 (struct La_x86_64_retval): Likewise.
34638 (struct La_x32_regs): Likewise.
34639 (struct La_x32_retval): Likewise.
34640 (struct La_ppc32_regs): Likewise.
34641 (struct La_ppc32_retval): Likewise.
34642 (struct La_ppc64_regs): Likewise.
34643 (struct La_ppc64_retval): Likewise.
34644 (struct La_sh_regs): Likewise.
34645 (struct La_sh_retval): Likewise.
34646 (struct La_s390_32_regs): Likewise.
34647 (struct La_s390_32_retval): Likewise.
34648 (struct La_s390_64_regs): Likewise.
34649 (struct La_s390_64_retval): Likewise.
34650 (struct La_sparc32_regs): Likewise.
34651 (struct La_sparc32_retval): Likewise.
34652 (struct La_sparc64_regs): Likewise.
34653 (struct La_sparc64_retval): Likewise.
34654 (struct audit_ifaces): Remove architecture-specific pltenter and
34656 * sysdeps/i386/ldsodefs.h: New file.
34657 * sysdeps/powerpc/ldsodefs.h: Likewise.
34658 * sysdeps/s390/ldsodefs.h: Likewise.
34659 * sysdeps/sh/ldsodefs.h: Likewise.
34660 * sysdeps/sparc/ldsodefs.h: Likewise.
34661 * sysdeps/x86_64/ldsodefs.h: Likewise.
34663 2012-07-25 Marek Polacek <polacek@redhat.com>
34666 * math/libm-test.inc (yn_test): Add another test.
34667 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34668 to ERANGE when the result is +-Inf.
34669 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34670 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34671 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34672 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34674 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34676 * conform/data/time.h-data (NULL): Use macro-constant. Require
34678 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34680 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34682 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34684 * configure.in <sysdeps resolving>: Correct printing
34686 * configure: Regenerate.
34688 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34690 * math/w_ilogb.c: Include <limits.h>.
34691 * math/w_ilogbl.c: Likewise.
34693 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34695 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34696 va_copy. Document allowing for unavailable va_copy only as
34697 pre-C99 compatibility.
34698 * manual/string.texi (Copying and Concatenation): Use va_copy
34699 instead of __va_copy in concat example.
34701 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34703 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34704 (__sendto): Use create_address_port. Initialize APORT and deallocate
34707 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34708 with O_NOLINK passed to __file_name_lookup.
34710 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34711 with O_NOLINK passed to __file_name_lookup.
34713 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34714 negative N or less than NGIDS.
34716 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34717 type to string_t. Set ERANGE as errno and return it if NAME is not big
34718 enough. Use memcpy instead of strncpy.
34720 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34722 * elf/Makefile (check-data): Remove.
34723 (localplt.data): New vpath directive.
34724 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34725 instead of $(check-data).
34726 * scripts/data/localplt-generic.data: Move to ...
34727 * sysdeps/generic/localplt.data: ... here.
34728 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34729 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34730 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34733 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34736 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34739 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34742 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34745 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34749 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34751 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34752 PPC32 and PPC64 files.
34753 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34754 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34756 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34758 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34759 __makecontext_ret to ...
34760 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34761 ... here and call exit if uc_link is NULL. New file.
34762 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34763 __makecontext_ret.S.
34764 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34765 __makecontext_ret to ...
34766 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34767 ... here and call exit if uc_link is NULL. New file.
34768 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34769 __makecontext_ret.S.
34771 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34773 * elf/elf.h (R_390_IRELATIVE): New definition.
34774 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34775 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34776 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34777 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34778 (elf_machine_lazy_rel): Likewise.
34779 * sysdeps/s390/dl-irel.h: New file.
34780 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34781 * sysdeps/s390/s390-64/memset.S: New asm code.
34782 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34783 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34784 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34785 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34786 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34787 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34788 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34789 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34790 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34791 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34792 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34793 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34794 * sysdeps/s390/s390-32/memset.S: New asm code.
34795 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34797 2012-07-17 Marek Polacek <polacek@redhat.com>
34800 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34801 * sysdeps/s390/s390-64/configure.in: Likewise.
34802 * sysdeps/sparc/configure.in: Likewise.
34803 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34804 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34805 * sysdeps/i386/configure.in: Likewise.
34806 * sysdeps/x86_64/configure.in: Likewise.
34807 * sysdeps/sh/configure.in: Likewise.
34808 * sysdeps/s390/s390-32/configure: Regenerated.
34809 * sysdeps/s390/s390-64/configure: Likewise.
34810 * sysdeps/x86_64/configure: Likewise.
34811 * sysdeps/sh/configure: Likewise.
34812 * sysdeps/powerpc/powerpc64/configure: Likewise.
34813 * sysdeps/powerpc/powerpc32/configure: Likewise.
34814 * sysdeps/sparc/configure: Likwise.
34815 * sysdeps/i386/configure: Likewise.
34817 * elf/dl-open.c: Comment fixes.
34819 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34821 * Makefile [CXX] (check-data): Remove.
34822 [CXX] (c++-types.data): New vpath directive.
34823 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34824 vpath. Do not allow for C++ type data being missing.
34825 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34826 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34827 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34828 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34829 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34830 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34831 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34834 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34837 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34840 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34843 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34846 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34849 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34852 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34855 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34856 definitions to architecture-specific files.
34857 (TLS_IE): Likewise.
34858 (TLS_LD): Likewise.
34859 (TLS_GD): Likewise.
34860 * sysdeps/i386/tls-macros.h: New file.
34861 * sysdeps/powerpc/tls-macros.h: Likewise.
34862 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34863 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34864 * sysdeps/sh/tls-macros.h: Likewise.
34865 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34866 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34867 * sysdeps/x86_64/tls-macros.h: Likewise.
34869 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34871 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34872 zero value for regular exit case.
34874 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34875 (__start_context): Preserve zero value for regular exit case.
34877 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34878 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34880 * manual/setjmp.texi (setcontext): Clarify normal process
34881 termination when uc_link is the null pointer.
34882 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34885 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34887 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34888 preprocessor. Test for each exception mask separately.
34890 2012-07-16 Andreas Jaeger <aj@suse.de>
34892 * po/ru.po: Update from translation team.
34894 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34896 * conform/data/string.h-data (NULL): Use macro-constant. Require
34898 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34899 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34900 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34901 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34904 2012-07-13 Andreas Jaeger <aj@suse.de>
34906 * po/fr.po: Update from translation team.
34908 2012-07-12 Marek Polacek <polacek@redhat.com>
34911 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34912 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34915 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34919 Change to 2.4.1 where previously 2.4.0.
34920 * sysdeps/unix/sysv/linux/configure: Regenerated.
34921 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34922 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34924 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34925 (__ASSUME_AT_CLKTCK): Remove.
34926 (__ASSUME_AT_PAGESIZE): Likewise.
34927 (__ASSUME_AT_XID): Likewise.
34928 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34929 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34930 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34932 (HAVE_AUX_PAGESIZE): Likewise.
34933 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34934 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34935 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34937 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34941 the temporary buffer used to invoke __gethostbyname2_r,
34942 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34943 host_data / struct gaih_addrtuple.
34944 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34945 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34946 header file nss/nsswitch.h.
34947 * nss/nsswitch.h (global scope): Add definition of implementation
34948 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34949 resolv/nss_dns/dns-host.c).
34951 2012-07-11 Andreas Jaeger <aj@suse.de>
34953 * po/fr.po: Update from translation team.
34955 * po/sv.po: Update from translation team
34956 * po/fr.po: Another update from translation team.
34958 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34960 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34961 for subnormals or multiply small sinh result by itself.
34962 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34965 2012-07-11 David S. Miller <davem@davemloft.net>
34967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34969 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34972 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34973 (INTERNAL_MARK): Shift it here.
34975 2012-07-10 Marek Polacek <polacek@redhat.com>
34978 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34979 libc_cv_asm_global_directive with .globl.
34980 * configure: Regenerated.
34981 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34983 * sysdeps/i386/configure: Regenerated.
34984 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34986 * sysdeps/x86_64/configure: Regenerated.
34987 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34988 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34989 * elf/tst-unique2mod2.c: Likewise.
34990 * elf/tst-unique2mod1.c: Likewise.
34991 * elf/tst-unique1mod2.c: Likewise.
34992 * elf/tst-unique1mod1.c: Likewise.
34993 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34994 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34996 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34997 * sysdeps/mach/sysdep.h: Likewise.
34998 * sysdeps/i386/sysdep.h: Likewise.
34999 * sysdeps/i386/i386-mcount.S: Likewise.
35000 * sysdeps/x86_64/_mcount.S: Likewise.
35001 * sysdeps/x86_64/sysdep.h: Likewise.
35002 * sysdeps/sh/_mcount.S: Likewise.
35003 * sysdeps/sh/sysdep.h: Likewise.
35004 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35005 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35006 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35007 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35008 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35009 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35010 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35011 * locale/localeinfo.h: Likewise.
35012 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35013 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35015 2012-07-09 Roland McGrath <roland@hack.frob.com>
35018 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35020 * manual/message.texi (The Uniforum approach): Likewise.
35021 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35022 (glibc iconv Implementation): Likewise.
35024 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35027 * math/s_clog.c (__clog): Avoid scaling a value down where that
35028 could result in underflow.
35029 * math/s_clog10.c (__clog10): Likewise.
35030 * math/s_clog10f.c (__clog10f): Likewise.
35031 * math/s_clog10l.c (__clog10l): Likewise.
35032 * math/s_clogf.c (__clogf): Likewise.
35033 * math/s_clogl.c (__clogl): Likewise.
35034 * math/libm-test.inc (clog_test): Add more tests.
35035 (clog10_test): Likewise.
35036 * sysdeps/i386/fpu/libm-test-ulps: Update.
35037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35039 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35042 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35043 by 7 not 8 to examine high bit of fractional part.
35046 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35047 for call to __mcount_internal.
35048 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35049 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35050 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35052 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35055 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35056 approximation for values within 0x1p-13f of an odd multiple of
35058 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35059 exception. Add more tests.
35060 * sysdeps/i386/fpu/libm-test-ulps: Update.
35063 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35064 inputs and return -1 for them. Do not check for +Inf in case not
35065 reachable for +Inf.
35066 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35067 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35068 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35069 and return -1 for them. Do not check for +Inf in case not
35070 reachable for +Inf.
35071 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35073 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35074 and return -1 for them. Do not check for +Inf in case not
35075 reachable for +Inf.
35076 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35077 spurious underflow.
35078 * sysdeps/i386/fpu/libm-test-ulps: Update.
35079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35081 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35083 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35085 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35089 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35090 could result in spurious underflow. Scale down values above
35091 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35092 * math/s_csqrtf.c (__csqrtf): Likewise.
35093 * math/s_csqrtl.c (__csqrtl): Likewise.
35094 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35095 spurious underflow.
35096 * sysdeps/i386/fpu/libm-test-ulps: Update.
35097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35099 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35101 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35103 * catgets/xopen-msg.awk: New file.
35104 * catgets/xopen-msg.sed: Removed.
35106 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35108 * intl/po2test.awk: New file.
35109 * intl/po2test.sed: Removed.
35111 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35114 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35115 or multiply small sinh result by itself.
35116 * math/s_ctanf.c (__ctanf): Likewise.
35117 * math/s_ctanh.c (__ctanh): Likewise.
35118 * math/s_ctanhf.c (__ctanhf): Likewise.
35119 * math/s_ctanhl.c (__ctanhl): Likewise.
35120 * math/s_ctanl.c (__ctanl): Likewise.
35121 * math/libm-test.inc (ctan_test_tonearest): New function.
35122 (ctan_test_towardzero): Likewise.
35123 (ctan_test_downward): Likewise.
35124 (ctan_test_upward): Likewise.
35125 (ctanh_test_tonearest): Likewise.
35126 (ctanh_test_towardzero): Likewise.
35127 (ctanh_test_downward): Likewise.
35128 (ctanh_test_upward): Likewise.
35129 (main): Call these new functions.
35130 * sysdeps/i386/fpu/libm-test-ulps: Update.
35131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35133 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35135 * .gitignore: Delete /ports entry.
35137 2012-07-03 Andreas Jaeger <aj@suse.de>
35139 * po/bg.po: Update from translation team.
35140 * po/cs.po: Likewise.
35141 * po/de.po: Likewise.
35142 * po/hr.po: Likewise.
35143 * po/nl.pl: Likewise.
35144 * po/pl.po: Likewise.
35145 * po/vi.po: Likewise.
35147 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35149 * Makeconfig [!+link] (+link-before-libc): New variable.
35150 [!+link] (+link-after-libc): Likewise.
35151 [!+link] (+link-tests): Likewise.
35152 [!+link] (+link): Define in terms of $(+link-before-libc) and
35153 $(+link-after-libc).
35154 [!+link-static] (+link-static-before-libc): New variable.
35155 [!+link-static] (+link-static-after-libc): Likewise.
35156 [!+link-static] (+link-static-tests): Likewise.
35157 [!+link-static] (+link-static): Define in terms of
35158 $(+link-static-before-libc) and $(+link-static-after-libc).
35159 [build-shared] (link-libc-before-gnulib): New variable.
35160 [build-shared] (link-libc-tests): Likewise.
35161 [build-shared] (link-libc): Define in terms of
35162 $(link-libc-before-gnulib).
35163 [!build-shared] (link-libc-tests): New variable.
35164 (link-libc-static-tests): New variable.
35165 [!gnulib] (gnulib-arch): New variable.
35166 [!gnulib] (gnulib-tests): Likewise.
35167 [!gnulib] (static-gnulib-arch): Likewise.
35168 [!gnulib] (static-gnulib-tests): Likewise.
35169 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35170 Define with "=" instead of ":=".
35171 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35172 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35173 * Rules (binaries-all-notests): New variable.
35174 (binaries-all-tests): Likewise.
35175 (binaries-static-notests): Likewise.
35176 (binaries-static-tests): Likewise.
35177 (binaries-all): Define using $(binaries-all-notests) and
35178 $(binaries-all-tests).
35179 (binaries-static): Define using $(binaries-static-notests) and
35180 $(binaries-static-tests).
35181 (binaries-shared-tests): New variable.
35182 (binaries-shared-notests): Likewise.
35183 (binaries-shared): Remove variable.
35184 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35185 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35186 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35187 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35188 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35189 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35190 * elf/Makefile (sln-modules): New variable.
35191 (extra-objs): Add $(sln-modules:=.o).
35192 (ldconfig-modules): Add static-stubs.
35193 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35194 * elf/static-stubs.c: New file.
35197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35198 by 7 not 8 to examine high bit of fractional part. Use volatile
35199 variables when splitting into final array of floats if
35200 __FLT_EVAL_METHOD__ != 0.
35201 * math/libm-test.inc (cos_test): Add another test.
35202 (sin_test): Likewise.
35203 * sysdeps/i386/fpu/libm-test-ulps: Update.
35206 * math/libm-test.inc (cosh_test): Add more tests.
35208 * version.h (RELEASE): Set to "development".
35209 (VERSION): Set to "2.16.90".
35211 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35213 * NEWS: Update copyright. Remove last-updated date.
35214 Mention math library bug fixes and timezone data changes.
35215 * README: Mention GNU/Hurd, x32, and HPPA support status.
35217 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35219 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35221 2012-06-27 Andreas Jaeger <aj@suse.de>
35223 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35225 2012-06-25 Andreas Jaeger <aj@suse.de>
35227 * sysdeps/s390/fpu/libm-test-ulps: Update.
35229 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35230 Thomas Schwinge <thomas@codesourcery.com>
35232 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35233 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35234 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35237 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35239 * sysdeps/mach/start.c: Remove file.
35240 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35241 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35242 * sysdeps/sh/init-first.c: Likewise.
35244 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35245 registers for frame unwinding purposes, add CFI directives.
35246 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35247 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35248 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35251 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35252 __fortify_fail returning.
35253 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35255 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35256 sysdeps/sh/____longjmp_chk.S.
35257 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35258 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35259 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35260 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35262 * sysdeps/sh/abort-instr.h: New file.
35263 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35264 process in case exit returns.
35266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35267 initialize the GOT register before use.
35269 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35270 calculation of ARGC > 4.
35272 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35273 meaningful names to some local labels.
35275 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35276 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35278 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35279 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35280 (__arch_compare_and_exchange_val_16_acq): Likewise.
35281 (__arch_compare_and_exchange_val_32_acq): Likewise.
35282 (atomic_exchange_and_add): Fix gUSA sequence.
35283 (atomic_add): Likewise.
35284 (atomic_add_negative): Likewise.
35285 (atomic_add_zero): Likewise.
35286 (atomic_bit_test_set): Likewise.
35288 2012-06-22 Andreas Schwab <schwab@redhat.com>
35291 * include/link.h (struct link_map): Add l_free_initfini.
35292 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35294 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35295 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35296 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35299 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35301 * configure.in: Use AC_LANG_SOURCE.
35302 * configure: Regenerate.
35304 2012-06-22 Roland McGrath <roland@hack.frob.com>
35306 * configure.in (libc_cv_localstatedir): New substituted variable.
35307 * configure: Regenerated.
35308 * config.make.in (localstatedir): New variable, substituted from
35309 libc_cv_localstatedir.
35310 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35311 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35312 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35313 * sysdeps/gnu/configure: Regenerated.
35315 2012-06-21 Jeff Law <law@redhat.com>
35318 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35319 free. Simplify list management for _LIBC case.
35321 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35324 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35325 Clear sign bit of 64-bit integer value before comparing against
35328 * sysdeps/mach/configure: Regenerated.
35330 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35333 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35335 2012-06-21 Jeff Law <law@redhat.com>
35338 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35339 uint16_t for elements in the "seen" array to avoid char overflows.
35340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35341 * elf/dl-open.c (dl_open_worker): Likewise.
35343 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35345 * scripts/list-sources.sh: Scan PORTS for translations.
35346 * po/libc.pot: Regenerated.
35348 2012-06-21 Andreas Jaeger <aj@suse.de>
35351 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35353 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35354 * bits/byteswap-16.h (__bswap_16): Likewise.
35355 * bits/byteswap.h (__bswap_constant_16): Likewise.
35357 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35360 * sysdeps/i386/fpu_control.h: Removed.
35361 * sysdeps/x86_64/fpu_control.h: Moved to ...
35362 * sysdeps/x86/fpu_control.h: Here.
35364 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35365 (_FPU_SETCW): Likewise.
35367 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35370 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35371 * sysdeps/x86/fpu/bits/mathinline.h: This.
35372 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35376 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35377 functions if __x86_64__ is defined.
35379 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35381 * string/endian.h: Add !__ASSEMBLER__ condition for including
35382 conversion interfaces.
35384 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35387 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35388 of ABS(x) in calculating zero to negative powers other than odd
35390 * math/libm-test.inc (pow_test): Add more tests.
35392 2012-06-15 Andreas Jaeger <aj@suse.de>
35394 * manual/contrib.texi (Contributors): Update entry of Liubov
35395 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35398 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35400 * string/string.h: Add __wur to GNU version of strerror_r.
35402 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35405 * string/Makefile (tests): Add tst-strtok_r.
35406 * string/tst-strtok_r.c: New file.
35407 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35408 RAX_LP/RDX_LP on SAVE_PTR.
35410 2012-06-14 Roland McGrath <roland@hack.frob.com>
35412 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35414 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35416 * libm_test.inc (csqrt_test): Allow more spurious underflow
35418 (j0_test): Likewise.
35419 (j1_test): Likewise.
35420 (y0_test): Likewise.
35421 (y1_test): Likewise.
35423 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35425 * po/Makefile (libc.pot): Use UTF-8 charset.
35427 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35430 Suppress sign-conversion warning from FD_SET.
35431 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35432 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35433 not unsigned long int.
35434 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35436 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35440 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35441 __extern_always_inline instead of __extern_inline.
35442 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35443 (__signbit): Likewise.
35444 (__signbitl): Support C++ namespace.
35445 (lrintf): New inline function.
35447 (llrintf): Likewise.
35448 (llrint): Likewise.
35458 (floorf): Likewise.
35459 (nearbyint): Likewise.
35460 (nearbyintf): Likewise.
35462 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35464 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35465 non-default versions.
35467 2012-06-11 Roland McGrath <roland@hack.frob.com>
35470 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35472 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35474 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35475 (FE_UPWARD, FE_DOWNWARD): Don't define.
35476 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35477 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35479 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35481 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35482 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35484 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35486 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35488 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35489 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35491 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35494 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35495 * sysdeps/i386/fpu/Implies: New file.
35496 * sysdeps/x86_64/fpu/Implies: Likewise.
35497 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35498 * sysdeps/x86/fpu/bits/fenv.h: This.
35500 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35503 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35506 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35507 character 0xffff that matches the last element of the
35510 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35512 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35515 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35518 values higher than 25.6283.
35520 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35522 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35523 subnormal exponent extraction and add some __builtin_expect.
35524 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35525 Fix for subnormal mantissa calculation.
35527 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35529 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35530 cpu2 is -1 and errno is not ENOSYS.
35532 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35535 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35536 * sysdeps/x86/bits/string.h: This.
35537 * sysdeps/x86_64/bits/string.h: Removed.
35539 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35540 if not compiling for x86-64, but compiling for >= i486.
35542 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35543 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35545 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35546 New macro from Linux kernel 3.4.0.
35547 (FP_XSTATE_MAGIC2): Likewise.
35548 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35549 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35550 (struct _fpx_sw_bytes): New struct.
35551 (struct _xsave_hdr): Likewise.
35552 (struct _ymmh_state): Likewise.
35553 (struct _xstate): Likewise.
35555 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35556 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35557 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35558 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35559 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35560 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35562 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35563 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35564 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35565 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35566 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35567 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35569 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35572 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35573 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35574 (sysdep_headers): Include sys/platform/ppc.h.
35575 * sysdeps/powerpc/test-gettimebase.c: Test for
35576 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35577 * manual/Makefile (appendices): Include platform.texi.
35578 * manual/contrib.texi (Contributors): Update @node pointers.
35579 * manual/maint.texi (Maintenance): Likewise.
35580 (Platform): New node.
35581 * manual/platform.texi: New file. Document the new features.
35583 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35584 Jakub Jelinek <jakub@redhat.com>
35587 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35588 where __builtin_expect is unavailable.
35590 2012-06-03 David S. Miller <davem@davemloft.net>
35592 * stdlib/longlong.h: Updated from GCC.
35594 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35597 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35598 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35601 (GLIBC_2.16): Likewise.
35603 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35605 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35607 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35610 (default-abi): New variable.
35611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35612 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35614 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35616 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35618 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35621 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35622 definition. Document in comment.
35624 2012-06-01 David S. Miller <davem@davemloft.net>
35626 * stdlib/longlong.h: Updated from GCC.
35628 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35631 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35632 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35633 sys/debugreg.h sys/io.h here.
35634 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35635 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35637 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35638 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35639 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35640 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35641 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35642 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35645 Define only if __x86_64__ is defined.
35647 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35651 Use int64_t for variable i.
35652 * math/libm-test.inc (fmod_test): Add more tests.
35654 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35655 z computation is not scheduled after fetestexcept.
35656 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35657 Use math_force_eval instead of asm to ensure calculation scheduled
35658 before exception test.
35659 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35660 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35662 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35664 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35665 computation is not scheduled after fetestexcept.
35667 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35670 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35671 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35673 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35675 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35676 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35678 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35681 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35683 (__WCHAR_MIN): Support __WORDSIZE == 64.
35684 (__WCHAR_MAX): Likewise.
35686 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35687 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35690 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35691 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35694 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35697 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35698 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35700 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35701 Defined to 1 if __x86_64__ isn't defined.
35702 (_STAT_VER_LINUX_OLD): New.
35703 (st_atime): Remove duplicate.
35704 (st_mtime): Likewise.
35705 (st_ctime): Likewise.
35707 2012-05-31 David S. Miller <davem@davemloft.net>
35709 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35712 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35714 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35718 * elf/dl-reloc.c: Include <_itoa.h>.
35719 (_dl_reloc_bad_type): Remove use of INTUSE.
35720 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35721 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35722 * stdio-common/psiginfo.c (psiginfo): Likewise.
35723 * stdio-common/psignal.c (psignal): Likewise.
35724 * string/strsignal.c (strsignal): Likewise.
35725 * include/signal.h (_sys_siglist): Declare hidden proto.
35726 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35727 INTVARDEF with libc_hidden_data_def.
35728 * stdio-common/itoa-udigits.c: Likewise.
35729 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35730 (_itoa_lower_digits_internal): Remove declaration.
35731 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35732 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35733 (_sys_sigabbrev_internal): Remove aliases.
35734 (_sys_siglist): Define hidden alias.
35736 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35741 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35744 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35745 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35747 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35748 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35749 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35750 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35751 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35752 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35754 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35755 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35756 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35758 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35766 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35767 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35768 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35770 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35771 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35772 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35773 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35774 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35775 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35777 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35778 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35780 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35781 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35784 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35785 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35787 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35788 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35790 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35792 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35793 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35794 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35796 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35798 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35800 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35802 * math/math.h (M_El): Use two more decimal places.
35803 (M_LOG2El): Likewise.
35804 (M_LOG10El): Likewise.
35805 (M_LN2l): Likewise.
35806 (M_LN10l): Likewise.
35808 (M_PI_2l): Likewise.
35809 (M_PI_4l): Likewise.
35810 (M_1_PIl): Likewise.
35811 (M_2_PIl): Likewise.
35812 (M_2_SQRTPIl): Likewise.
35813 (M_SQRT2l): Likewise.
35814 (M_SQRT1_2l): Likewise.
35816 2012-05-31 David S. Miller <davem@davemloft.net>
35818 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35819 values between float registers.
35820 * sysdeps/sparc/sparc64/memset.S: Likewise.
35821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35823 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35825 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35826 -D_FORTIFY_SOURCE=1.
35827 (CPPFLAGS-tst-longjmp_chk.c): Define.
35828 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35829 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35830 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35831 CFLAGS-tst-wchar-h.c.
35833 2012-05-31 Marek Polacek <polacek@redhat.com>
35836 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35837 __endmntent_internal): Remove declaration.
35838 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35839 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35840 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35842 2012-05-30 David S. Miller <davem@davemloft.net>
35844 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35845 (___Q_simulate_exceptions): Use real FP ops rather than writing
35847 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35850 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35853 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35854 * sysdeps/x86/bits/xtitypes.h: This.
35856 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35857 * sysdeps/x86/bits/wordsize.h: This.
35859 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35860 * sysdeps/x86/bits/huge_vall.h: This.
35862 * sysdeps/i386/bits/select.h: Removed.
35863 * sysdeps/x86_64/bits/select.h: Renamed to ...
35864 * sysdeps/x86/bits/select.h: This.
35866 * sysdeps/i386/bits/setjmp.h: Removed.
35867 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35868 * sysdeps/x86/bits/setjmp.h: This.
35870 * sysdeps/i386/bits/mathdef.h: Removed.
35871 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35872 * sysdeps/x86/bits/mathdef.h: This.
35874 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35877 * include/sys/socket.h (__connect_internal)
35878 (__libc_sa_len_internal): Remove declaration.
35879 (__connect, __libc_sa_len): Declare hidden_proto.
35880 (SA_LEN): Remove use of INTUSE.
35881 * socket/connect.c: Add libc_hidden_def.
35882 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35883 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35884 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35886 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35887 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35888 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35889 of adding _internal alias.
35891 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35894 * sysdeps/i386/bits/link.h: Removed.
35895 * sysdeps/i386/bits/linkmap.h: Likewise.
35896 * sysdeps/x86_64/bits/link.h: Renamed to ...
35897 * sysdeps/x86/bits/link.h: This.
35898 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35899 * sysdeps/x86/bits/linkmap.h: This.
35901 * sysdeps/i386/bits/endian.h: Removed.
35902 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35903 * sysdeps/x86/bits/endian.h: This.
35905 * sysdeps/i386/bits/byteswap.h: Removed.
35906 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35907 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35908 * sysdeps/x86/bits/byteswap.h: This.
35909 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35910 * sysdeps/x86/bits/byteswap-16.h: This.
35911 * sysdeps/i386/Implies: Add x86.
35912 * sysdeps/x86_64/Implies: Likewise.
35914 2012-05-30 David S. Miller <davem@davemloft.net>
35916 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35917 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35918 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35919 (FP_TRAPPING_EXCEPTIONS): Define.
35920 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35921 (FP_TRAPPING_EXCEPTIONS): Define.
35922 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35923 subnormals only when inexact has been signalled or underflow
35924 exceptions are enabled.
35925 (_FP_PACK_CANONICAL): Likewise.
35927 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35931 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35933 2012-05-30 Richard Henderson <rth@twiddle.net>
35935 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35936 with #ifndef NOT_IN_libc.
35938 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35939 marked to avoid plt entry.
35941 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35944 * Makeconfig (default-abi): New macro.
35945 (abi-includes): Likewise.
35946 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35947 $(abi-$(default-abi)-lib-soname) for soname if defined.
35948 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35950 * Makefile (installed-stubs): Likewise.
35951 * include/stubs-biarch.h: Removed.
35952 * scripts/lib-names.awk: Only handle one library at a time.
35953 * scripts/soversions.awk: Remove WORDSIZE support.
35954 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35956 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35958 (syscall-list-default-condition): Likewise.
35959 (syscall-list-default-condition): Likewise.
35960 (syscall-list-includes): Likewise.
35961 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35962 syscall-list-* with abi-*. Handle undefined abi-variants.
35963 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35964 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35965 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35966 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35967 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35968 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35970 (syscall-list-32-options): Likewise.
35971 (syscall-list-32-condition): Likewise.
35972 (syscall-list-64-options): Likewise.
35973 (syscall-list-64-condition): Likewise.
35974 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35976 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35979 (abi-64-ld-soname): New macro.
35980 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35981 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35984 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35985 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35987 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35989 * sysdeps/unix/sysv/linux/kernel-features.h
35990 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35991 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35992 include <kernel-features.h>.
35993 [!__NR_ftruncate64]: Remove conditional code.
35994 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35995 [__NR_ftruncate64]: Make code unconditional.
35996 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35997 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35998 include <kernel-features.h>.
35999 [!__NR_ftruncate64]: Remove conditional code.
36000 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36001 [__NR_ftruncate64]: Make code unconditional.
36002 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36004 include <kernel-features.h>.
36005 [!__NR_ftruncate64]: Remove conditional code.
36006 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36007 [__NR_ftruncate64]: Make code unconditional.
36008 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36010 include <kernel-features.h>.
36011 [!__NR_ftruncate64]: Remove conditional code.
36012 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36013 [__NR_ftruncate64]: Make code unconditional.
36014 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36016 * configure.in (libc_cv_fpie): Weaken to a compile test using
36017 LIBC_TRY_CC_OPTION.
36018 * configure: Regenerated.
36020 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36035 2012-05-27 David S. Miller <davem@davemloft.net>
36037 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36039 (__Q_simulate_exceptions): Return void. Change to simulate
36040 exceptions by writing into the %fsr.
36041 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36042 (__Qp_handle_exceptions): Likewise.
36044 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36045 __Qp_handle_exceptions.
36046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36047 __Qp_handle_exceptions.
36048 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36049 as unused and give dummy FP_RND_NEAREST initializer.
36050 (FP_INHIBIT_RESULTS): Define.
36051 (___Q_simulate_exceptions): Update declaration.
36052 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36054 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36055 as unused and give dummy FP_RND_NEAREST initializer.
36056 (__Qp_handle_exceptions): Update declaration.
36057 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36060 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36062 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36063 the temporary FPU control word.
36064 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36065 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36066 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36067 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36068 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36069 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36070 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36071 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36072 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36073 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36074 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36076 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36078 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36081 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36083 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36084 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36085 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36086 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36088 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36089 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36092 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36094 * po/h.po: Update from translation team.
36096 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36098 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36100 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36101 handling of denormals.
36102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36103 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36104 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36105 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36106 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36108 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36111 2012-05-26 Marek Polacek <polacek@redhat.com>
36114 * math/libm-test.inc (fma_test): Don't always expect underflow
36117 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36120 * elf/tst-execstack.c: Include stackinfo.h.
36121 (do_test): Adjust test case to ensure that pthread_getattr_np
36122 behaviour remains the same after marking stack executable.
36124 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36126 * sysdeps/unix/sysv/linux/kernel-features.h
36127 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36128 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36130 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36131 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36132 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36134 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36135 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36137 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36139 * configure.in: Define the default includes to being none.
36140 * configure: Regenerated.
36142 2012-05-25 Roland McGrath <roland@hack.frob.com>
36144 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36145 * sysdeps/x86_64/setjmp.S: Likewise.
36146 * sysdeps/i386/bsd-setjmp.S: Likewise.
36147 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36148 * sysdeps/i386/setjmp.S: Likewise.
36149 * sysdeps/i386/__longjmp.S: Likewise.
36150 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36151 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36153 * include/stap-probe.h: New file.
36154 * configure.in: Handle --enable-systemtap.
36155 * configure: Regenerated.
36156 * config.h.in (USE_STAP_PROBE): New #undef.
36157 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36158 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36159 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36161 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36164 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36165 to 2.4.0 where earlier.
36166 * sysdeps/unix/sysv/linux/configure: Regenerated.
36167 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36168 <kernel-features.h>.
36169 [__ASSUME_32BITUIDS]: Make code unconditional.
36170 [!__ASSUME_32BITUIDS]: Remove conditional code.
36171 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36172 <kernel-features.h>.
36173 [__ASSUME_32BITUIDS]: Make code unconditional.
36174 [!__ASSUME_32BITUIDS]: Remove conditional code.
36175 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36176 [__ASSUME_32BITUIDS]: Make code unconditional.
36177 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36178 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36179 <kernel-features.h>.
36180 [__ASSUME_32BITUIDS]: Make code unconditional.
36181 [!__ASSUME_32BITUIDS]: Remove conditional code.
36182 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36183 <kernel-features.h>.
36184 [__ASSUME_32BITUIDS]: Make code unconditional.
36185 [!__ASSUME_32BITUIDS]: Remove conditional code.
36186 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36187 <kernel-features.h>.
36188 [__ASSUME_32BITUIDS]: Make code unconditional.
36189 [!__ASSUME_32BITUIDS]: Remove conditional code.
36190 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36191 <kernel-features.h>.
36192 [__ASSUME_32BITUIDS]: Make code unconditional.
36193 [!__ASSUME_32BITUIDS]: Remove conditional code.
36194 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36195 <kernel-features.h>.
36196 [__ASSUME_32BITUIDS]: Make code unconditional.
36197 [!__ASSUME_32BITUIDS]: Remove conditional code.
36198 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36199 <kernel-features.h>.
36200 [__ASSUME_32BITUIDS]: Make code unconditional.
36201 [!__ASSUME_32BITUIDS]: Remove conditional code.
36202 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36203 <kernel-features.h>.
36204 [__ASSUME_32BITUIDS]: Make code unconditional.
36205 [!__ASSUME_32BITUIDS]: Remove conditional code.
36206 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36207 <kernel-features.h>.
36208 [__ASSUME_32BITUIDS]: Make code unconditional.
36209 [!__ASSUME_32BITUIDS]: Remove conditional code.
36210 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36211 <kernel-features.h>.
36212 [__ASSUME_32BITUIDS]: Make code unconditional.
36213 [!__ASSUME_32BITUIDS]: Remove conditional code.
36214 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36215 <kernel-features.h>.
36216 [__ASSUME_32BITUIDS]: Make code unconditional.
36217 [!__ASSUME_32BITUIDS]: Remove conditional code.
36218 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36219 <kernel-features.h>.
36220 [__NR_setresgid] (__setresgid): Do not declare.
36221 [__ASSUME_32BITUIDS]: Make code unconditional.
36222 [!__ASSUME_32BITUIDS]: Remove conditional code.
36223 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36224 <kernel-features.h>.
36225 [__NR_setresuid] (__setresuid): Do not declare.
36226 [__ASSUME_32BITUIDS]: Make code unconditional.
36227 [!__ASSUME_32BITUIDS]: Remove conditional code.
36228 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36229 <kernel-features.h>.
36230 [__ASSUME_32BITUIDS]: Make code unconditional.
36231 [!__ASSUME_32BITUIDS]: Remove conditional code.
36232 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36233 <kernel-features.h>.
36234 [__ASSUME_32BITUIDS]: Make code unconditional.
36235 [!__ASSUME_32BITUIDS]: Remove conditional code.
36236 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36237 <kernel-features.h>.
36238 [__ASSUME_32BITUIDS]: Make code unconditional.
36239 [!__ASSUME_32BITUIDS]: Remove conditional code.
36240 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36241 <kernel-features.h>.
36242 [__ASSUME_32BITUIDS]: Make code unconditional.
36243 [!__ASSUME_32BITUIDS]: Remove conditional code.
36244 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36245 <kernel-features.h>.
36246 [__ASSUME_32BITUIDS]: Make code unconditional.
36247 [!__ASSUME_32BITUIDS]: Remove conditional code.
36248 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36249 <kernel-features.h>.
36250 [__ASSUME_32BITUIDS]: Make code unconditional.
36251 [!__ASSUME_32BITUIDS]: Remove conditional code.
36252 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36253 <kernel-features.h>.
36254 [__ASSUME_32BITUIDS]: Make code unconditional.
36255 [!__ASSUME_32BITUIDS]: Remove conditional code.
36256 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36257 <kernel-features.h>.
36258 [__ASSUME_32BITUIDS]: Make code unconditional.
36259 [!__ASSUME_32BITUIDS]: Remove conditional code.
36260 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36261 <kernel-features.h>.
36262 [__ASSUME_32BITUIDS]: Make code unconditional.
36263 [!__ASSUME_32BITUIDS]: Remove conditional code.
36264 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36265 <kernel-features.h>.
36266 [__ASSUME_32BITUIDS]: Make code unconditional.
36267 [!__ASSUME_32BITUIDS]: Remove conditional code.
36268 * sysdeps/unix/sysv/linux/kernel-features.h
36269 (__ASSUME_SETRESUID_SYSCALL): Remove.
36270 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36271 (__ASSUME_32BITUIDS): Likewise.
36272 (__ASSUME_LDT_WORKS): Likewise.
36273 (__ASSUME_O_DIRECTORY): Likewise.
36274 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36275 architecture but not kernel version.
36276 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36277 (__ASSUME_MMAP2_SYSCALL): Likewise.
36278 (__ASSUME_STAT64_SYSCALL): Likewise.
36279 (__ASSUME_IPC64): Likewise.
36280 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36281 <kernel-features.h>.
36282 [__ASSUME_32BITUIDS]: Make code unconditional.
36283 [!__ASSUME_32BITUIDS]: Remove conditional code.
36284 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36285 <kernel-features.h>.
36286 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36287 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36288 132096]: Remove conditional code.
36289 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36290 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36291 <kernel-features.h>.
36292 [__ASSUME_32BITUIDS]: Make code unconditional.
36293 [!__ASSUME_32BITUIDS]: Remove conditional code.
36294 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36295 <kernel-features.h>.
36296 [__ASSUME_32BITUIDS]: Make code unconditional.
36297 [!__ASSUME_32BITUIDS]: Remove conditional code.
36298 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36299 <kernel-features.h>.
36300 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36302 (__setresgid): Do not declare.
36303 [__ASSUME_32BITUIDS]: Make code unconditional.
36304 [!__ASSUME_32BITUIDS]: Remove conditional code.
36305 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36306 <kernel-features.h>.
36307 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36309 (__setresuid): Do not declare.
36310 [__ASSUME_32BITUIDS]: Make code unconditional.
36311 [!__ASSUME_32BITUIDS]: Remove conditional code.
36312 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36313 <kernel-features.h>.
36314 [__ASSUME_32BITUIDS]: Make code unconditional.
36315 [!__ASSUME_32BITUIDS]: Remove conditional code.
36316 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36317 <kernel-features.h>.
36318 [__ASSUME_32BITUIDS]: Make code unconditional.
36319 [!__ASSUME_32BITUIDS]: Remove conditional code.
36321 2012-05-25 Richard Henderson <rth@twiddle.net>
36323 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36324 dl_hwcap to ifunc resolver.
36325 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36327 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36328 dl_hwcap to ifunc resolver.
36329 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36331 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36334 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36335 for |x| <= 2**-26, not 2**-57.
36336 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36339 2012-05-24 Jeff Law <law@redhat.com>
36341 * stdio-common/Makefile (tests): Add bug25.
36342 * stdio-common/bug25.c: New test.
36344 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36347 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36348 multiple of MALLOC_ALIGNMENT in size.
36349 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36351 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36353 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36355 (FILENAME_MAX): Use macro-int-constant.
36356 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36357 (_IOFBF): Use macro-int-constant.
36358 (_IOLBF): Likewise.
36359 (_IONBF): Likewise.
36360 (SEEK_CUR): Likewise.
36361 (SEEK_END): Likewise.
36362 (SEEK_SET): Likewise.
36363 (TMP_MAX): Likewise.
36364 (EOF): Use macro-int-constant. Require < 0.
36365 (NULL): Use macro-constant. Require == 0.
36366 (stdin): Require type to be FILE *.
36367 (stdout): Likewise.
36368 (stderr): Likewise.
36369 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36370 macro-int-constant.
36371 (EXIT_SUCCESS): Likewise.
36372 (NULL): Use macro-constant. Require == 0.
36373 (RAND_MAX): Use macro-int-constant.
36374 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36375 [C99-based standards] (strtof): Require function.
36376 [C99-based standards] (strtold): Likewise.
36377 [C99-based standards] (strtoll): Likewise.
36378 [C99-based standards] (strtoull): Likewise.
36379 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36380 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36381 [ISO || ISO99 || ISO11] (math.h): Likewise.
36382 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36383 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36384 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36386 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36389 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36390 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36391 * intl/dgettext.c (DCGETTEXT): Likewise.
36392 * intl/gettext.c (DCGETTEXT): Likewise.
36393 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36394 * posix/regex_internal.h (gettext): Likewise.
36395 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36396 Remove declaration.
36397 * include/argz.h (__argz_count_internal)
36398 (__argz_stringify_internal): Remove declaration.
36399 (__argz_count, __argz_stringify): Declare hidden proto.
36400 * intl/dcgettext.c: Remove use of INTDEF.
36401 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36402 * string/argz-stringify.c: Likewise.
36403 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36404 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36405 Declare hidden proto.
36406 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36407 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36408 Declare hidden proto.
36409 * include/stdio.h (__asprintf_internal): Don't declare.
36410 (__asprintf): Don't define as macro. Declare hidden proto.
36411 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36412 (__fsetlocking): Declare hidden proto.
36413 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36414 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36416 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36417 (_IO_setlinebuf): Remove use of INTUSE.
36418 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36419 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36420 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36421 Remove declaration.
36422 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36423 (_IO_do_flush): Remove use of INTUSE.
36424 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36425 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36426 (_IO_adjust_column, _IO_least_wmarker)
36427 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36428 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36429 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36430 (_IO_default_doallocate, _IO_wdefault_doallocate)
36431 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36432 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36433 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36434 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36435 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36436 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36437 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36438 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36439 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36440 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36441 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36442 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36443 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36445 (_IO_flush_all_internal, _IO_adjust_column_internal)
36446 (_IO_default_uflow_internal, _IO_default_finish_internal)
36447 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36448 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36449 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36450 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36451 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36452 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36453 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36454 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36455 (_IO_file_close_internal, _IO_file_close_it_internal)
36456 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36457 (_IO_file_init_internal, _IO_file_attach_internal)
36458 (_IO_file_fopen_internal, _IO_file_read_internal)
36459 (_IO_file_sync_internal, _IO_file_seek_internal)
36460 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36461 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36462 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36463 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36464 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36465 (_IO_list_all_internal, _IO_link_in_internal)
36466 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36467 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36468 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36469 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36470 (_IO_do_write_internal, _IO_padn_internal)
36471 (_IO_getline_info_internal, _IO_getline_internal)
36472 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36473 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36474 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36475 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36476 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36477 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36478 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36479 with libc_hidden_ver, remove use of INTUSE.
36480 * libio/genops.c: Likewise.
36481 * libio/freopen.c: Likewise.
36482 * libio/freopen64.c: Likewise.
36483 * libio/iofclose.c: Likewise.
36484 * libio/iofdopen.c: Likewise.
36485 * libio/iofflush.c: Likewise.
36486 * libio/iofflush_u.c: Likewise.
36487 * libio/iofgets.c: Likewise.
36488 * libio/iofgets_u.c: Likewise.
36489 * libio/iofopen.c: Likewise.
36490 * libio/iofopncook.c: Likewise.
36491 * libio/iofread.c: Likewise.
36492 * libio/iofread_u.c: Likewise.
36493 * libio/ioftell.c: Likewise.
36494 * libio/iofwrite.c: Likewise.
36495 * libio/iogetline.c: Likewise.
36496 * libio/iogets.c: Likewise.
36497 * libio/iogetwline.c: Likewise.
36498 * libio/iopadn.c: Likewise.
36499 * libio/iopopen.c: Likewise.
36500 * libio/ioseekoff.c: Likewise.
36501 * libio/ioseekpos.c: Likewise.
36502 * libio/iosetbuffer.c: Likewise.
36503 * libio/iosetvbuf.c: Likewise.
36504 * libio/ioungetc.c: Likewise.
36505 * libio/ioungetwc.c: Likewise.
36506 * libio/iovdprintf.c: Likewise.
36507 * libio/iovsprintf.c: Likewise.
36508 * libio/iovsscanf.c: Likewise.
36509 * libio/memstream.c: Likewise.
36510 * libio/obprintf.c: Likewise.
36511 * libio/oldfileops.c: Likewise.
36512 * libio/oldiofclose.c: Likewise.
36513 * libio/oldiofdopen.c: Likewise.
36514 * libio/oldiofopen.c: Likewise.
36515 * libio/oldiopopen.c: Likewise.
36516 * libio/oldstdfiles.c: Likewise.
36517 * libio/putc.c: Likewise.
36518 * libio/setbuf.c: Likewise.
36519 * libio/setlinebuf.c: Likewise.
36520 * libio/stdfiles.c: Likewise.
36521 * libio/strops.c: Likewise.
36522 * libio/vasprintf.c: Likewise.
36523 * libio/vscanf.c: Likewise.
36524 * libio/vsnprintf.c: Likewise.
36525 * libio/vswprintf.c: Likewise.
36526 * libio/wfiledoalloc.c: Likewise.
36527 * libio/wfileops.c: Likewise.
36528 * libio/wgenops.c: Likewise.
36529 * libio/wmemstream.c: Likewise.
36530 * libio/wstrops.c: Likewise.
36531 * libio/__fpurge.c: Likewise.
36532 * libio/__fsetlocking.c: Likewise.
36533 * assert/assert.c: Likewise.
36534 * debug/fgets_chk.c: Likewise.
36535 * debug/fgets_u_chk.c: Likewise.
36536 * debug/fread_chk.c: Likewise.
36537 * debug/fread_u_chk.c: Likewise.
36538 * debug/gets_chk.c: Likewise.
36539 * debug/obprintf_chk.c: Likewise.
36540 * debug/vasprintf_chk.c: Likewise.
36541 * debug/vdprintf_chk.c: Likewise.
36542 * debug/vsnprintf_chk.c: Likewise.
36543 * debug/vsprintf_chk.c: Likewise.
36544 * malloc/mtrace.c: Likewise.
36545 * misc/error.c: Likewise.
36546 * misc/syslog.c: Likewise.
36547 * stdio-common/asprintf.c: Likewise.
36548 * stdio-common/fxprintf.c: Likewise.
36549 * stdio-common/getw.c: Likewise.
36550 * stdio-common/isoc99_fscanf.c: Likewise.
36551 * stdio-common/isoc99_scanf.c: Likewise.
36552 * stdio-common/isoc99_vfscanf.c: Likewise.
36553 * stdio-common/isoc99_vscanf.c: Likewise.
36554 * stdio-common/isoc99_vsscanf.c: Likewise.
36555 * stdio-common/printf-prs.c: Likewise.
36556 * stdio-common/printf_fp.c: Likewise.
36557 * stdio-common/printf_fphex.c: Likewise.
36558 * stdio-common/printf_size.c: Likewise.
36559 * stdio-common/putw.c: Likewise.
36560 * stdio-common/scanf.c: Likewise.
36561 * stdio-common/sprintf.c: Likewise.
36562 * stdio-common/tmpfile.c: Likewise.
36563 * stdio-common/vfprintf.c: Likewise.
36564 * stdio-common/vfscanf.c: Likewise.
36565 * stdlib/strfmon_l.c: Likewise.
36566 * sunrpc/openchild.c: Likewise.
36567 * sunrpc/xdr_stdio.c: Likewise.
36568 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36569 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36571 2012-05-24 Roland McGrath <roland@hack.frob.com>
36573 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36575 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36576 in the third column, to generate for the shared library an IFUNC
36577 that uses _dl_vdso_vsym.
36578 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36579 * Makeconfig (object-suffixes-noshared): New variable.
36581 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36582 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36583 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36584 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36587 * include/sys/time.h (__gettimeofday): Remove macro.
36588 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36589 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36591 (__gettimeofday): Add libc_hidden_def.
36592 (gettimeofday): Add libc_hidden_weak.
36593 * sysdeps/mach/gettimeofday.c: Likewise.
36594 * sysdeps/posix/gettimeofday.c: Likewise.
36595 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36596 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36597 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36598 (__gettimeofday_internal): Remove strong_alias.
36599 (__gettimeofday): Add libc_hidden_def.
36600 (gettimeofday): Add libc_hidden_weak.
36601 * sysdeps/unix/syscalls.list (gettimeofday):
36602 Remove __gettimeofday_internal alias.
36604 2012-05-24 Daniel Jacobowitz <drow@false.org>
36605 H.J. Lu <hongjiu.lu@intel.com>
36608 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36609 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36610 (largebin_index_32_big): New.
36611 (largebin_index): Use it for 16-byte alignment.
36612 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36613 correction with front_misalign.
36615 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36632 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36634 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36643 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36644 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36646 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36650 * math/libm-test.inc (exp_test): Add test from bug 14036.
36651 (pow_test): Add test from bug 10846.
36653 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36655 (special_function): Do not include flags in test name.
36656 (parse_args): Likewise.
36657 * sysdeps/i386/fpu/libm-test-ulps: Update.
36658 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36659 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36663 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36665 * math/libm-test.inc ("Philosophy"): Update comment about
36667 (UNDERFLOW_EXCEPTION): New macro.
36668 (UNDERFLOW_EXCEPTION_OK): Likewise.
36669 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36670 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36671 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36672 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36673 (INVALID_EXCEPTION_OK): Update value.
36674 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36675 (OVERFLOW_EXCEPTION_OK): Likewise.
36676 (IGNORE_ZERO_INF_SIGN): Likewise.
36677 (test_exceptions): Handle underflow exceptions.
36678 (acos_test): Update for underflow exception expectations.
36679 (cexp_test): Likewise.
36680 (clog_test): Likewise.
36681 (clog10_test): Likewise.
36682 (csqrt_test): Likewise.
36683 (ctan_test): Likewise.
36684 (ctanh_test): Likewise.
36685 (exp_test): Likewise.
36686 (exp10_test): Likewise.
36687 (exp2_test): Likewise.
36688 (expm1_test): Likewise.
36689 (fma_test): Likewise.
36690 (j0_test): Likewise.
36691 (jn_test): Likewise.
36692 (nexttoward_test): Likewise.
36693 (pow_test): Likewise.
36694 (scalbn_test): Likewise.
36695 (scalbln_test): Likewise.
36696 (tan_test): Likewise.
36697 (y1_test): Likewise.
36698 * sysdeps/i386/fpu/libm-test-ulps: Update.
36699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36701 2012-05-23 David S. Miller <davem@davemloft.net>
36703 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36704 (__libc_sigaction): Remove unused local variables.
36706 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36708 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36710 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36712 mktime: avoid signed integer overflow
36713 * time/mktime.c (__mktime_internal): Do not mishandle the case
36714 where diff == INT_MIN.
36716 mktime: simplify computation of average
36717 * time/mktime.c (ranged_convert): Use new time_t_avg function
36718 instead of rolling our own (probably-slower) code.
36720 mktime: do not assume signed right shift propagates sign bit
36721 * time/mktime.c (isdst_differ): New static function.
36722 (__mktime_internal): No need to normalize tm_isdst now.
36723 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36726 mktime: merge another wrapv change from gnulib
36727 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36728 from some compilers.
36730 mktime: remove incorrect attempt at unusual arithmetics
36731 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36732 The code didn't really work on such machines anyway.
36733 (TYPE_MINIMUM): Assume two's complement.
36734 (twos_complement_arithmetic): Verify that long_int and time_t
36735 are two's complement (or unsigned, in the latter case).
36737 mktime: check signed shifts on long_int and time_t, too
36738 * time/mktime.c (SHR): Check that shifts work as desired
36739 on the types long_int and time_t too, as SHR is used on
36742 mktime: do not assume 'long' is wide enough
36743 * time/mktime.c (verify): Move decl up.
36744 (long_int): New type.
36745 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36746 to remove assumption in the code that 'long' is wide enough to
36747 store year values. This assumption is not true on x32 and on
36748 some non-glibc platforms.
36750 mktime: merge wrapv change from gnulib
36751 * time/mktime.c (WRAPV): New macro.
36752 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36753 (guess_time_tm, __mktime_internal): Do not assume that signed
36754 integer overflow wraps around; modern compilers generate code
36755 where this assumption is no longer valid.
36757 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36759 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36760 Replace "jmp L(pseudo_end)" with "ret".
36761 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36764 2012-05-23 Andreas Jaeger <aj@suse.de>
36766 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36767 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36769 2012-05-23 Andreas Jaeger <aj@suse.de>
36770 Maximilian Attems <max@stro.at>
36772 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36775 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36777 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36778 code so that pseudo_end is just ret and the stack pointer is
36779 correct also for static library in error case.
36781 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36783 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36784 move to syscalls.list.
36785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36790 * manual/install.texi (Running make install): Do not mention Linux
36791 kernel version for which pt_chown is not needed.
36792 (Linux): Do not mention problems with nscd with 2.0 kernels.
36793 * INSTALL: Regenerated.
36795 2012-05-23 Andreas Jaeger <aj@suse.de>
36797 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36798 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36800 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36801 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36802 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36803 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36804 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36805 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36806 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36807 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36808 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36809 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36810 * sysdeps/unix/sysv/linux/bits/in.h
36811 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36813 2012-05-22 Roland McGrath <roland@hack.frob.com>
36815 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36816 (PREPARE_VERSION): Just use assert instead, it will be elided
36817 under [NDEBUG] anyway.
36819 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36821 * sysdeps/unix/sysv/linux/Makefile: Include
36822 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36823 (sysdep_routines): Remove sysctl.
36824 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36825 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36826 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36827 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36828 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36830 2012-05-22 Andreas Jaeger <aj@suse.de>
36832 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36833 that pseudo_end is just ret and the stack pointer is correct also
36834 for static library in error case.
36836 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36839 * nss/nsswitch.c (defconfig_entries): New variable.
36840 (__nss_database_lookup): Don't leak defconfig entries.
36841 (nss_parse_service_list): Don't leak on error paths.
36842 (free_database_entries): New function.
36843 (free_defconfig): New function.
36844 (free_mem): Move common code to free_database_entries.
36846 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36848 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36850 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36852 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36853 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36856 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36857 (INTERNAL_SYSCALL_TYPES): Likewise.
36858 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36859 (LOAD_REGS_TYPES_[1-6]): Likewise.
36860 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36861 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36863 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36865 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36866 copysignl for GLIBC_2_0.
36867 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36868 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36869 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36870 logbl for GLIBC_2_0.
36871 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36872 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36874 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36876 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36877 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36879 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36882 * time/mktime.c: Update copyright years.
36884 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36886 mktime: merge comment-quoting-style change from gnulib
36887 * time/mktime.c: Quote 'like this' in comments.
36888 The GNU coding standards suggest that we no longer quote `like this',
36889 as "`" and "'" are typically rendered asymmetrically nowadays.
36890 The typical gnulib style is to quote 'like this' when quoting
36891 code, and "like this" when quoting English.
36893 * time/mktime.c (compile-command): Add "-I.".
36895 mktime: merge mktime-internal.h change from gnulib
36896 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36898 mktime: merge time_r change from gnulib
36899 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36901 mktime: merge DEBUG change from gnulib
36902 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36903 case system <time.h> has a #define.
36905 mktime: merge <sys/types.h> change from gnulib
36906 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36907 since <time.t> is now guaranteed to define time_t.
36909 mktime: merge HAVE_CONFIG_H change from gnulib
36910 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36912 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36917 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36919 (struct rusage): Use anonymous union to pad each field to
36922 2012-05-21 David S. Miller <davem@davemloft.net>
36924 * Makefules (o-iterator): Remove .s cases.
36925 (compile-command.s): Delete.
36926 (COMPILE.s): Delete.
36927 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36929 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36931 * configure.in (libc_cv_predef_stack_protector): Only consider
36932 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36933 * configure: Regenerated.
36935 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36937 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36938 New macro. Use R*LP on int and pointer.
36939 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36940 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36941 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36942 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36944 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36945 [__WORDSIZE_TIME64_COMPAT32] instead of
36946 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36947 (struct utmp): Likewise.
36948 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36949 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36951 (__WORDSIZE_TIME64_COMPAT32): This.
36952 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36953 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36954 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36955 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36956 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36957 (__WORDSIZE_TIME64_COMPAT32): New macro.
36959 2012-05-21 Andreas Jaeger <aj@suse.de>
36961 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36962 only if [SHARED]. Add prototype for __wcschr_ia32.
36964 2012-05-21 Roland McGrath <roland@hack.frob.com>
36966 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36967 of %rbp unmolested in the jmp_buf while mangling the low bits.
36968 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36969 unmolested high bits of %rbp while demangling the low bits.
36970 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36972 2012-05-21 Andreas Jaeger <aj@suse.de>
36974 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36975 * sunrpc/svc_simple.c: Use it for registerrpc.
36976 * sunrpc/xcrypt.c: Use it for passwd2des.
36978 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36980 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36982 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36983 Don't define if [__SYSCALL_WORDSIZE != 32].
36984 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36987 2012-05-21 Bruno Haible <bruno@clisp.org>
36988 Andreas Jaeger <aj@suse.de>
36990 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36991 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36992 inptr and inend for must_buffer_ch.
36993 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36994 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36995 * stdio-common/Makefile (tests): Remove bug15.
36996 (bug15-ENV): Remove macro.
36997 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37000 2012-05-19 Andreas Jaeger <aj@suse.de>
37001 Roland McGrath <roland@hack.frob.com>
37003 * manual/contrib.texi: Completely rewritten. It contains now an
37004 alphabetical list of contributors and their contributions.
37006 2012-05-21 Richard Henderson <rth@twiddle.net>
37008 * misc/getauxval.c (__getauxval): Use unsigned long int.
37009 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37010 (getauxval): Use unsigned long int.
37012 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37014 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37016 2012-05-21 Roland McGrath <roland@hack.frob.com>
37018 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37019 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37020 __alignof__ (long double).
37022 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37026 2012-05-20 Richard Henderson <rth@twiddle.net>
37028 * misc/getauxval.c: New file.
37029 * misc/sys/auxv.h: New file.
37030 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37031 (routines): Add getauxval.
37032 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37033 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37034 * elf/dl-sysdep.c (_dl_auxv): Remove.
37035 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37036 * elf/dl-support.c (_dl_auxv): New variable.
37037 (_dl_aux_init): Initialize it.
37038 * manual/startup.texi (Auxiliary Vector): New node.
37039 * sysdeps/generic/bits/hwcap.h: New file.
37040 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37041 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37042 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37043 * sysdeps/sparc/sysdep.h: ... here. Include it.
37044 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37045 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37055 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37057 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37061 2012-05-19 David S. Miller <davem@davemloft.net>
37063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37065 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37068 * math/s_ccosh.c: Include <float.h>
37069 (__ccosh): Avoid internal overflow calculating sinh and cosh
37070 values before multiplying by sin and cos values.
37071 * math/s_ccoshf.c: Likewise.
37072 * math/s_ccoshl.c: Likewise.
37073 * math/s_csin.c: Likewise.
37074 * math/s_csinf.c: Likewise.
37075 * math/s_csinl.c: Likewise.
37076 * math/s_csinh.c: Likewise.
37077 * math/s_csinhf.c: Likewise.
37078 * math/s_csinhl.c: Likewise.
37079 * math/libm-test.inc (ccos_test): Add more tests.
37080 (ccosh_test): Likewise.
37081 (csin_test): Likewise.
37082 (csinh_test): Likewise.
37083 * sysdeps/i386/fpu/libm-test-ulps: Update.
37084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37086 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37088 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37089 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37091 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37093 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37095 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37096 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37097 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37098 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37099 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37100 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37101 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37102 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37103 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37104 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37105 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37106 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37107 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37108 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37109 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37110 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37111 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37112 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37113 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37114 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37115 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37116 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37117 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37118 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37119 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37120 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37121 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37122 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37123 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37124 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37125 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37127 2012-05-18 Andreas Jaeger <aj@suse.de>
37129 * csu/.gitignore: Delete.
37131 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37133 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37134 (timex): Use __syscall_slong_t.
37136 2012-05-18 Andreas Jaeger <aj@suse.de>
37137 Carlos O'Donell <carlos_odonell@mentor.com>
37139 * manual/install.texi (Configuring and compiling): Update
37140 description about files modified in the source directory.
37141 * INSTALL: Regenerated.
37143 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37145 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37146 value. Use "or" to set return value to -1.
37147 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37148 negate return value.
37150 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37152 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37153 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37154 failure if the compiler has Graphite support disabled.
37155 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37157 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37158 (CFLAGS-memmove.c): Likewise.
37159 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37162 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37164 * sysdeps/x86_64/x32/_itoa.h: New file.
37166 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37167 getdents system call only if kernel and user dirents have the
37168 same d_ino and d_off.
37170 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37171 LLONG_MAX != LONG_MAX.
37172 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37173 (_fitoa_word): Likewise.
37175 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37177 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37178 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37179 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37181 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37182 include <bits/wordsize.h>. Check __x86_64__ instead of
37184 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37185 if __x86_64__ is defined. Use anonymous union on fpstate.
37187 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37190 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37192 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37193 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37194 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37195 Refer to _rtld_local_ro instead of _rtld_global_ro.
37196 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37198 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37200 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37202 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37203 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37204 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37206 * sysdeps/powerpc/powerpc32/dl-machine.c
37207 (__elf_machine_runtime_setup) [PROF]: Don't reference
37210 2012-05-18 Andreas Jaeger <aj@suse.de>
37212 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37213 function only available for GCCs before 3.4 since GCC 3.4
37214 introduced a builtin.
37216 (llrintf): Likewise.
37217 (llrint): Likewise.
37224 (nearbyint): Likewise.
37225 (nearbyintf): Likewise.
37229 (floorf): Likewise.
37231 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37233 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37234 on both fields and cast pointer to __syscall_ulong_t.
37236 * bits/types.h (__fsword_t): New type.
37237 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37238 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37240 (__FSWORD_T_TYPE): Likewise.
37241 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37242 (__FSWORD_T_TYPE): Likewise.
37243 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37244 (__FSWORD_T_TYPE): Likewise.
37245 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37246 (__FSWORD_T_TYPE): Likewise.
37247 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37248 __SWORD_TYPE with __fsword_t.
37249 (statfs64): Likewise.
37251 2012-05-17 David S. Miller <davem@davemloft.net>
37253 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37255 2012-05-17 Andreas Jaeger <aj@suse.de>
37257 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37260 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37262 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37264 2012-05-17 Andreas Jaeger <aj@suse.de>
37266 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37269 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37271 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37273 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37275 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37276 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37278 2012-05-17 Andreas Jaeger <aj@suse.de>
37279 Carlos O'Donell <carlos_odonell@mentor.com>
37282 * sysdeps/x86_64/multiarch/init-arch.h
37283 (bit_YMM_Usable): Rename to...
37284 (bit_AVX_Usable): ... this.
37285 (bit_FMA4_Usable): New macro.
37286 (bit_XMM_state): New macro.
37287 (bit_YMM_state): New macro.
37288 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37289 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37290 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37291 (CPUID_OSXSAVE): New macro.
37292 (CPUID_AVX): New macro.
37293 (CPUID_FMA4): New macro.
37294 (index_YMM_Usable): Rename to...
37295 (index_AVX_Usable): ... this.
37296 (HAS_AVX): Use HAS_ARCH_FEATURE.
37297 (HAS_FMA4): Likewise.
37298 (HAS_YMM_USABLE): Remove.
37299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37300 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37302 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37303 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37304 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37305 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37306 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37308 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37310 * math/libm-test.c: Support platforms without multiple rounding modes.
37311 * math/bug-nextafter.c: Support platforms without FP exceptions.
37312 * math/bug-nexttoward.c: Likewise.
37313 * math/test-fenv.c: Likewise.
37314 * math/test-misc.c: Likewise.
37315 * stdlib/bug-getcontext.c: Likewise.
37317 2012-05-17 Andreas Jaeger <aj@suse.de>
37319 * manual/examples/search.c (critter_cmp): Change signature to
37321 * manual/string.texi (Collation Functions): Likewise.
37323 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37325 * bits/types.h: Fold copyright years.
37326 * bits/typesizes.h: Likewise.
37327 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37328 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37331 * time/time.h: Likewise.
37333 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37336 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37337 in instead of returning them. Return void.
37338 (__libc_mallinfo): Accumulate over all arenas.
37339 (__malloc_stats): Adjust for change in int_mallinfo interface.
37341 2012-05-16 Roland McGrath <roland@hack.frob.com>
37344 * configure.in (NM): Add AC_CHECK_TOOL for it.
37345 (libc_extra_cflags): New substituted variable.
37346 Check for -fstack-protector being used implicitly.
37347 * configure: Regenerated.
37348 * config.make.in (config-extra-cflags): New variable,
37349 gets @libc_extra_cflags@.
37350 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37353 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37354 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37355 * configure: Regenerated.
37356 * config.make.in (CPPUNDEFS): New substituted variable.
37357 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37358 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37359 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37361 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37363 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37364 (mq_attr): Use __syscall_slong_t.
37366 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37368 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37369 Check __x86_64__ instead of __WORDSIZE.
37370 (_STAT_VER_LINUX): Likewise.
37371 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37372 __syscall_ulong_t and __syscall_slong_t.
37373 (stat64): Likewise.
37375 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37379 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37381 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37383 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37385 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37388 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37389 include <bits/wordsize.h>. Check __x86_64__ instead of
37391 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37393 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37395 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37396 include <bits/wordsize.h>. Check __x86_64__ instead of
37398 (user_regs_struct): Use "__extension__ unsigned long long"
37399 instead of "unsigned long" if __x86_64__ is defined.
37400 (user): Likewise. Pad after pointer field if __ILP32__ is
37403 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37405 * configure.in (makeinfo): Require version 4.5 or later. Allow
37407 * configure: Regenerated.
37408 * manual/install.texi (texinfo): Increase version requirement to
37410 * INSTALL: Regenerated.
37412 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37414 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37416 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37418 * sysdeps/x86_64/x32/ffs.c: New file.
37420 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37422 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37423 defined. Use __syscall_ulong_t.
37424 (shminfo): Use __syscall_ulong_t.
37425 (shm_info): Likewise.
37427 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37430 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37432 (msgqnum_t): Use __syscall_ulong_t.
37433 (msglen_t): Likewise.
37434 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37437 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37440 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37442 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37443 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37445 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37448 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37449 include <bits/wordsize.h>. Check __x86_64__ instead of
37452 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37453 "unsigned long long int" if __x86_64__ is defined.
37454 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37456 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37457 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37458 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37460 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37462 (GET_PC): Cast to uintptr_t first.
37463 (GET_FRAME): Likewise.
37464 (GET_STACK): Likewise.
37466 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37467 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37468 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37469 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37470 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37471 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37472 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37473 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37474 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37475 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37476 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37477 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37478 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37479 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37480 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37481 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37482 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37483 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37484 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37485 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37486 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37487 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37488 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37489 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37490 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37491 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37492 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37493 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37494 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37496 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37498 * Makerules (+depfiles): Also collect depfiles from .oS in
37500 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37501 .oS, $(libnldbl-routines)).
37503 * Makerules (native-compile-mkdep-flags): Define.
37504 * sunrpc/Makefile (extra-objs): Add $(addprefix
37505 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37506 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37507 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37508 calling $(make-target-directory).
37510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37512 * bits/types.h (__snseconds_t): Removed.
37513 * time/time.h (struct timespec): Replace __snseconds_t with
37515 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37516 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37519 (__SNSECONDS_T_TYPE): Likewise.
37520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37521 (__SNSECONDS_T_TYPE): Likewise.
37522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37523 (__SNSECONDS_T_TYPE): Likewise.
37525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37527 * sysdeps/mach/hurd/bits/typesizes.h
37528 (__SYSCALL_SLONG_TYPE): New macro.
37529 (__SYSCALL_ULONG_TYPE): Likewise.
37531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37533 * bits/types.h (__syscall_slong_t): New type.
37534 (__syscall_ulong_t): Likewise.
37536 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37537 (__SYSCALL_ULONG_TYPE): Likewise.
37538 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37539 (__SYSCALL_SLONG_TYPE): Likewise.
37540 (__SYSCALL_ULONG_TYPE): Likewise.
37541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37542 (__SYSCALL_SLONG_TYPE): Likewise.
37543 (__SYSCALL_ULONG_TYPE): Likewise.
37544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37545 (__SYSCALL_SLONG_TYPE): Likewise.
37546 (__SYSCALL_ULONG_TYPE): Likewise.
37548 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37550 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37551 Add sigaltstack-offsets.sym.
37552 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37553 <sigaltstack-offsets.h>.
37554 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37555 longjmp_msg pointer.
37556 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37557 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37559 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37561 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37563 * elf/stackguard-macros.h: Remove file.
37564 * sysdeps/generic/stackguard-macros.h: New file.
37565 * sysdeps/i386/stackguard-macros.h: Likewise.
37566 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37567 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37568 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37569 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37570 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37571 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37572 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37573 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37574 <elf/stackguard-macros.h>.
37577 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37578 __aligned__ in attribute.
37579 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37580 (gregset_t): Likewise.
37582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37584 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37585 * sysdeps/x86_64/64/Implies-after: Here. New file.
37586 * sysdeps/x86_64/x32/Implies-after: New file.
37588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37590 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37591 and access return value for _dl_profile_fixup. Use R10_LP to
37594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37596 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37600 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37601 * sysdeps/x86_64/x32/sysdep.h: New file.
37603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37605 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37606 * sysdeps/x86_64/setjmp.S: Likewise.
37608 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37610 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37611 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37612 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37614 remove unused global constant.
37616 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37618 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37619 include of <not-cancel.h>.
37621 2012-05-15 Roland McGrath <roland@hack.frob.com>
37623 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37625 2012-05-15 Jeff Law <law@redhat.com>
37626 Andreas Jaeger <aj@suse.de>
37629 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37631 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37632 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37633 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37634 code changing __hst_map_handle.map.
37636 2012-05-15 Roland McGrath <roland@hack.frob.com>
37638 * configure.in (sysnames): Look for Implies-before and Implies-after
37640 * configure: Regenerated.
37642 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37644 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37645 8-byte data alignment with LP_SIZE alignment.
37647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37649 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37654 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37656 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37658 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37659 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37660 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37662 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37664 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37666 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37667 (stackinfo_sub_sp): Likewise.
37669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37674 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37676 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37681 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37684 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37686 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37690 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37691 into R11_LP and load __x86_64_shared_cache_size_half into
37694 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37696 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37699 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37701 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37705 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37707 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37708 powerpc32/power7/fpu/s_logb.c via #include.
37709 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37710 powerpc32/power7/fpu/s_logbf.c via #include.
37711 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37712 powerpc32/power7/fpu/s_logbl.c via #include.
37714 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37716 * README.libm: Remove file.
37718 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37720 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37721 count for x32. Use R*_LP and omit operand-size suffix.
37723 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37725 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37726 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37727 * sysdeps/x86_64/x32/shlib-versions: New file.
37729 2012-05-14 Roland McGrath <roland@hack.frob.com>
37731 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37732 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37733 Use _dl_fatal_printf instead.
37735 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37737 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37738 set if not set by the user. Do not allow for being unset.
37739 * sysdeps/unix/sysv/linux/configure: Regenerated.
37741 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37743 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37744 the `q' suffix from lea and replace .quad with ASM_ADDR.
37746 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37748 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37749 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37751 (PTR_DEMANGLE): Likewise.
37753 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37755 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37757 (ASM_ADDR): Likewise.
37758 (RAX_LP): Likewise.
37759 (RBP_LP): Likewise.
37760 (RBX_LP): Likewise.
37761 (RCX_LP): Likewise.
37762 (RDI_LP): Likewise.
37763 (RSI_LP): Likewise.
37764 (RSP_LP): Likewise.
37767 (R10_LP): Likewise.
37768 (R10_LP): Likewise.
37769 (R11_LP): Likewise.
37770 (R12_LP): Likewise.
37771 (R13_LP): Likewise.
37772 (R14_LP): Likewise.
37773 (R15_LP): Likewise.
37775 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37777 * sysdeps/x86_64/x32/dl-machine.h: New file.
37779 2012-05-14 Andreas Jaeger <aj@suse.de>
37781 * manual/Makefile (subdir): Remove export of subdir.
37782 (all): Remove target.
37783 (.PHONY): Remove all from list.
37784 (mkinstalldirs): Remove.
37785 (.PHONY): Remove installdirs from list.
37786 ($(inst_infodir)/libc.info): Use make-target-directory.
37787 (installdirs): Remove.
37788 (subdir_%): Remove.
37789 (glibc-targets): Remove.
37792 ($(objpfx)stubs ../po/manual.pot): Remove.
37793 ($(objpfx)stamp%): Remove.
37794 (make-target-directory): Remove.
37795 (subdir_install): Remove.
37796 (routines): Remove.
37803 * manual/.gitignore: Remove, it's not needed anymore.
37804 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37806 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37808 (texis): Renamed to $(objpfx)texis.
37809 (texis-path): New, contains path to generated files.
37810 (chapters.%): Use texis-path for complete path, add extra argument
37812 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37813 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37814 (summary,texi, stamp-summary): Use complete path of
37815 files. Generate files in build dir.
37816 (dir-add.texi): Build in build dir.
37817 (libm-err.texi,stamp-libm-err): Likewise.
37818 (version.texi, stamp-version): Likewise.
37819 (.%c.texi): Likewise.
37820 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37821 (mostlyclean): Remove target.
37822 (realclean): Remove target.
37823 (generated): Add new variable with contents from mostlyclean and
37824 realclean, remove entries duplicated in common-mostlyclean, add
37825 stamp-libm-err and stamp-version.
37826 (generated-dirs): Add libc directory.
37827 ($(inst_infodir)/libc.info): Install files from build dir.
37829 * manual/install.texi (Configuring and compiling): Adjust since
37830 the info files are not part of the tar ball anymore.
37832 2012-05-14 Andreas Jaeger <aj@suse.de>
37834 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37837 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37841 to 2.2.0 where earlier.
37842 * sysdeps/unix/sysv/linux/configure: Regenerated.
37843 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37844 Remove conditional code.
37845 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37846 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37847 Remove conditional code.
37848 [!__NR_lchown]: Likewise.
37849 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37850 [__NR_lchown]: Likewise.
37851 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37852 comment referencing __ASSUME_LCHOWN_SYSCALL.
37853 * sysdeps/unix/sysv/linux/i386/sigaction.c
37854 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37855 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37856 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37857 Remove conditional code.
37858 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37859 (__protocol_available): Remove #if 0 code.
37860 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37862 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37863 * sysdeps/unix/sysv/linux/kernel-features.h
37864 (__ASSUME_GETCWD_SYSCALL): Don't define.
37865 (__ASSUME_REALTIME_SIGNALS): Likewise.
37866 (__ASSUME_PREAD_SYSCALL): Likewise.
37867 (__ASSUME_PWRITE_SYSCALL): Likewise.
37868 (__ASSUME_POLL_SYSCALL): Likewise.
37869 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37870 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37872 (__ASSUME_SIOCGIFNAME): Don't define.
37873 (__ASSUME_MSG_NOSIGNAL): Likewise.
37874 (__ASSUME_SENDFILE): Define unconditionally.
37875 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37876 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37878 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37879 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37880 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37881 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37882 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37883 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37884 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37886 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37887 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37892 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37893 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37898 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37899 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37901 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37904 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37905 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37907 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37909 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37910 Remove conditional code.
37911 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37912 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37913 Remove conditional code.
37914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37915 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37916 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37917 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37918 Remove conditional code.
37919 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37920 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37921 Remove conditional code.
37922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37923 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37924 Remove conditional code.
37925 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37926 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37927 Remove conditional code.
37928 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37929 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37930 Remove conditional code.
37931 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37932 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37933 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37934 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37935 * sysdeps/unix/sysv/linux/sigaction.c
37936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37938 * sysdeps/unix/sysv/linux/sigpending.c
37939 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37940 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37941 * sysdeps/unix/sysv/linux/sigprocmask.c
37942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37944 * sysdeps/unix/sysv/linux/sigsuspend.c
37945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37947 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37948 (__libc_missing_rt_sigs): Remove.
37949 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37950 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37951 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37952 Remove conditional code.
37953 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37954 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37956 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37957 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37958 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37959 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37961 2012-05-14 Andreas Jaeger <aj@suse.de>
37963 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37964 it's not used in glibc.
37965 (__coshm1): Likewise.
37966 (__acosh1p): Likewise.
37969 * manual/string.texi (Copying and Concatenation): Add missing
37970 variable in concat example.
37971 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37973 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37977 __builtin_clzl with __builtin_clzll.
37979 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37982 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37985 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37987 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37988 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37989 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37990 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37992 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37994 * NEWS: Update ia64 info.
37996 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37998 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38001 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38003 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38004 * sysdeps/unix/syscalls.list (dup3): Likewise.
38005 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38006 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38008 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38010 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38011 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38013 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38015 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38017 (TLS_IE): Use mov/add instead of movq/addq to load thread
38019 (TLS_GD_PREFIX): New.
38022 2012-05-11 David S. Miller <davem@davemloft.net>
38024 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38025 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38026 (_FPU_SETCW): Likewise.
38028 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38030 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38031 is 32-byte aligned.
38033 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38036 * iconvdata/gb18030.c: Update tables.
38037 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38038 characters specially.
38039 (BODY for TO_LOOP): Add encoding of missing ranges.
38041 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38044 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38045 * sysdeps/mach/hurd/dup3.c: Likewise.
38046 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38047 * sysdeps/powerpc/memmove.c:: Likewise.
38049 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38052 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38054 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38056 * elf/elf.h (R_X86_64_RELATIVE64): New.
38057 (R_X86_64_NUM): Updated.
38058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38059 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38060 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38061 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38062 tst-quad1pie tst-quad2pie
38063 (modules-names): Add tst-quadmod1 tst-quadmod2.
38064 ($(objpfx)tst-quad1): New dependency.
38065 ($(objpfx)tst-quad2): Likewise.
38066 ($(objpfx)tst-quad1pie): Likewise.
38067 ($(objpfx)tst-quad2pie): Likewise.
38068 * sysdeps/x86_64/tst-quad1.c: New file.
38069 * sysdeps/x86_64/tst-quad1pie.c: New file.
38070 * sysdeps/x86_64/tst-quad2.c: Likewise.
38071 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38072 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38073 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38074 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38075 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38079 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38080 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38081 * streams/stropts.h (t_scalar_t): Define type.
38083 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38084 (_PATH_PRESERVE): Set to "/var/lib".
38085 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38087 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38090 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38091 if __dir_mkfile succeeded.
38093 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38094 checking for _hurd_dtablesize. Unlock it right after having
38095 finished _hurd_dtable allocation.
38097 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38099 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38100 * sysdeps/mach/hurd/configure: Regenerated.
38101 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38102 special-casing to...
38103 * sysdeps/gnu/configure.in: ... this new file.
38104 * sysdeps/unix/sysv/linux/configure: Regenerated.
38105 * sysdeps/gnu/configure: New generated file.
38107 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38108 for Linux: use nsec instead of usec, as well as:
38109 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38110 members of type struct timespec.
38111 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38113 (struct stat64): Likewise.
38114 (_STATBUF_ST_NSEC): New macro.
38115 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38117 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38118 __strtoul_internal rather than strtoul.
38120 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38122 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38125 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38127 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38128 which preserves existing values.
38129 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38131 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38133 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38134 TIMEOUT values. Return EINVAL for NFDS values either negative or
38135 greater than FD_SETSIZE.
38137 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38139 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38140 allocated, call __vm_protect to finish enabling the existing space, and
38141 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38142 allocate the remainder.
38144 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38146 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38147 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38149 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38151 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38152 sysdeps/mach/hurd/readlink.c.
38154 * posix/tst-sysconf.c (posix_options): Only use
38155 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38156 _POSIX_SYNCHRONIZED_IO when they are defined
38157 * sysdeps/mach/hurd/bits/posix_opt.h:
38158 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38159 (_XOPEN_REALTIME): Undefine macro.
38160 (_XOPEN_REALTIME_THREADS): Undefine macro.
38161 (_XOPEN_SHM): Undefine macro.
38162 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38164 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38166 (_POSIX_ASYNC_IO): Undefine macro.
38167 (_POSIX_PRIORITIZED_IO): Undefine macro.
38168 (_POSIX_SPIN_LOCKS): Define macro to -1.
38170 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38171 SA_NODEFER, SA_RESETHAND.
38172 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38173 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38176 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38178 * elf/Makefile (pldd-modules): Define unconditionally.
38180 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38182 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38184 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38186 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38187 Return ENOENT when name is empty.
38188 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38192 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38194 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38196 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38198 Fix mlock in all cases except non-readable pages.
38199 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38200 instead of VM_PROT_ALL as parameter to __vm_wire function.
38202 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38203 (__mkdir): When path is `/', just fail with EEXIST.
38204 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38206 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38208 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38209 <sys/uio.h> (for writev).
38210 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38211 and <sys/param.h> (for MIN).
38213 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38215 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38216 REQUESTED_TIME. Properly set the remaining time and return EINTR
38219 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38221 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38222 Depend on against $(link-rpcuserlibs).
38224 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38226 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38227 (__libc_stack_end): Do not use attribute_relro.
38228 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38229 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38230 to libthread-provided value.
38231 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38234 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38237 * bits/libc-lock.h (__libc_once_get): New macro.
38238 * sysdeps/mach/bits/libc-lock.h: Likewise.
38239 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38241 instead of using implementation details.
38243 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38244 * libio/freopen.c: Likewise.
38245 * libio/freopen64.c: Likewise.
38246 * misc/syslog.c: Likewise.
38247 * nscd/connections.c: Likewise.
38248 * nscd/netgroupcache.c: Likewise.
38249 * sysdeps/posix/getcwd.c: Likewise.
38251 2012-05-10 Roland McGrath <roland@hack.frob.com>
38253 * math/w_ilogbf.c: Add #include <limits.h>.
38255 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38257 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38258 path instead of returning without unlocking.
38260 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38261 immediate-write ioctls.
38262 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38264 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38266 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38267 __builtin_frame_address instead of making assumptions about the
38268 location of the return address relative to DATA. Force early load of
38269 the return address.
38270 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38271 __builtin_frame_address.
38274 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38275 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38276 implement dup3 and do some further code clean-ups.
38277 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38278 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38280 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38282 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38284 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38285 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38286 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38287 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38288 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38291 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38292 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38293 when handler == SIG_ERR, not when handler != SIG_ERR.
38295 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38297 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38298 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38301 accept4 for GNU Hurd.
38302 * include/sys/socket.h (__libc_accept4): New prototype.
38303 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38304 to implement __libc_accept4.
38305 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38307 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38309 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38310 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38311 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38312 signal-defines.sym.
38314 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38316 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38320 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38321 assertion on O_CLOEXEC flag.
38322 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38323 * hurd/intern-fd.c: Likewise.
38324 * hurd/port2fd.c: Likewise.
38326 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38329 * bits/in.h (IPV6_PKTINFO): Define new macro.
38330 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38332 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38337 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38338 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38339 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38340 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38341 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38342 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38343 * math/libm-test.inc (logb_test) : Additional logb tests.
38345 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38346 Andreas Jaeger <aj@suse.de>
38348 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38349 * configure: Regenerated.
38350 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38351 * config.make.in (link-obsolete-rpc): New substituted variable.
38352 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38353 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38354 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38355 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38356 so that libc.a contains the symbols.
38357 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38358 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38359 * sunrpc/auth_none.c: Likewise.
38360 * sunrpc/auth_unix.c: Likewise.
38361 * sunrpc/authdes_prot.c: Likewise.
38362 * sunrpc/authuxprot.c: Likewise.
38363 * sunrpc/clnt_gen.c: Likewise.
38364 * sunrpc/clnt_perr.c: Likewise.
38365 * sunrpc/clnt_raw.c: Likewise.
38366 * sunrpc/clnt_simp.c: Likewise.
38367 * sunrpc/clnt_tcp.c: Likewise.
38368 * sunrpc/clnt_udp.c: Likewise.
38369 * sunrpc/clnt_unix.c: Likewise.
38370 * sunrpc/des_crypt.c: Likewise.
38371 * sunrpc/des_soft.c: Likewise.
38372 * sunrpc/get_myaddr.c: Likewise.
38373 * sunrpc/key_call.c: Likewise.
38374 * sunrpc/key_prot.c: Likewise.
38375 * sunrpc/netname.c: Likewise.
38376 * sunrpc/pm_getmaps.c: Likewise.
38377 * sunrpc/pm_getport.c: Likewise.
38378 * sunrpc/pmap_clnt.c: Likewise.
38379 * sunrpc/pmap_prot.c: Likewise.
38380 * sunrpc/pmap_prot2.c: Likewise.
38381 * sunrpc/pmap_rmt.c: Likewise.
38382 * sunrpc/publickey.c: Likewise.
38383 * sunrpc/rpc_cmsg.c: Likewise.
38384 * sunrpc/rpc_common.c: Likewise.
38385 * sunrpc/rpc_dtable.c: Likewise.
38386 * sunrpc/rpc_prot.c: Likewise.
38387 * sunrpc/rpc_thread.c: Likewise.
38388 * sunrpc/rtime.c: Likewise.
38389 * sunrpc/svc.c: Likewise.
38390 * sunrpc/svc_auth.c: Likewise.
38391 * sunrpc/svc_raw.c: Likewise.
38392 * sunrpc/svc_run.c: Likewise.
38393 * sunrpc/svc_tcp.c: Likewise.
38394 * sunrpc/svc_udp.c: Likewise.
38395 * sunrpc/svc_unix.c: Likewise.
38396 * sunrpc/svcauth_des.c: Likewise.
38397 * sunrpc/xcrypt.c: Likewise.
38398 * sunrpc/xdr.c: Likewise.
38399 * sunrpc/xdr_array.c: Likewise.
38400 * sunrpc/xdr_float.c: Likewise.
38401 * sunrpc/xdr_intXX_t.c: Likewise.
38402 * sunrpc/xdr_mem.c: Likewise.
38403 * sunrpc/xdr_rec.c: Likewise.
38404 * sunrpc/xdr_ref.c: Likewise.
38405 * sunrpc/xdr_sizeof.c: Likewise.
38406 * sunrpc/xdr_stdio.c: Likewise.
38408 2012-05-10 Roland McGrath <roland@hack.frob.com>
38410 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38411 change. Update copyright years.
38413 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38415 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38417 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38418 Joseph Myers <joseph@codesourcery.com>
38419 Paul Pluzhnikov <ppluzhnikov@google.com>
38422 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38424 [cross-compiling] (extra-libs): Likewise.
38425 [cross-compiling] (extra-libs-others): Likewise.
38426 [cross-compiling] (librpcsvc-routines): Likewise.
38427 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38428 [cross-compiling] (omit-deps): Likewise.
38429 (sunrpc-CPPFLAGS): New variable.
38430 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38431 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38432 (cross-rpcgen-objs): New variable.
38433 (extra-objs): Append $(cross-rpcgen-objs).
38434 ($(cross-rpcgen-objs)): New rule.
38435 ($(objpfx)cross-rpcgen): Likewise.
38436 (rpcgen-cmd): Define to use $(built-program-file). Expand
38438 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38439 ($(objpfx)x%.stmp): Likewise.
38440 * sunrpc/proto.h [IS_IN_build] (_): Define.
38441 [IS_IN_build] (_libc_intl_domainname): Likewise.
38443 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38445 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38446 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38447 and R_X86_64_TPOFF64.
38449 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38451 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38452 sysdeps/unix/sysv/syscalls.list.
38455 * sysdeps/unix/sysv/syscalls.list: Remove file.
38457 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38460 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38461 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38462 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38463 (__LC_IDENTIFICATION): Make these macros useful in #if
38464 expressions, as required by C99.
38466 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38468 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38469 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38472 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38474 * stdlib/longlong.h: Updated from GCC.
38476 2012-05-09 Andreas Jaeger <aj@suse.de>
38478 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38479 default is first entry.
38480 (run_mode): Set type.
38481 (main): Remove informal message about syslog.
38482 (options): Fix typo.
38485 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38488 (llrintf): Likewise.
38489 (llrint): Likewise.
38492 (nearbyint): Likewise.
38493 (nearbyintf): Likewise.
38495 2012-05-09 Andreas Jaeger <aj@suse.de>
38496 Pedro Alves <palves@redhat.com>
38498 * nscd/nscd.c (run_mode): Use enum.
38499 (main): Cleanup coding style issue.
38501 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38502 Andreas Jaeger <aj@suse.de>
38504 * nscd/nscd.c (go_background): Replaced with...
38505 (run_mode): ... this.
38506 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38507 (options): Add -F --foreground.
38508 (main): Implement it.
38509 (parse_opt): Parse it.
38511 2012-05-09 Andreas Jaeger <aj@suse.de>
38514 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38515 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38516 -Wconversion warning.
38517 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38520 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38522 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38524 (LC_ALL): Use macro-int-constant.
38525 (LC_COLLATE): Likewise.
38526 (LC_CTYPE): Likewise.
38527 (LC_MESSAGES): Likewise.
38528 (LC_MONETARY): Likewise.
38529 (LC_NUMERIC): Likewise.
38530 (LC_TIME): Likewise.
38531 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38532 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38533 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38534 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38536 [C99-based standards] (float_t): Expect type.
38537 [C99-based standards] (double_t): Expect type.
38538 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38540 [C99-based standards] (HUGE_VALL): Likewise.
38541 [C99-based standards] (INFINITY): Likewise.
38542 [C99-based standards] (NAN): Likewise.
38543 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38544 [C99-based standards] (FP_NAN): Likewise.
38545 [C99-based standards] (FP_NORMAL): Likewise.
38546 [C99-based standards] (FP_SUBNORMAL): Likewise.
38547 [C99-based standards] (FP_ZERO): Likewise.
38548 [C99-based standards] (FP_FAST_FMA): Use
38549 optional-macro-int-constant. Specify type. Require == 1.
38550 [C99-based standards] (FP_FAST_FMAF): Likewise.
38551 [C99-based standards] (FP_FAST_FMAL): Likewise.
38552 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38553 [C99-based standards] (FP_ILOGBNAN): Likewise.
38554 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38556 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38557 [C99-based standards] (math_errhandling): Specify type.
38558 [ISO99 || ISO11] (signgam): Do not allow.
38559 [non-C99-based standards] (copysignf): Do not allow.
38560 [non-C99-based standards] (exp2f): Likewise.
38561 [non-C99-based standards] (log2f): Likewise.
38562 [non-C99-based standards] (modff): Allow.
38563 [non-C99-based standards] (erff): Do not allow.
38564 [non-C99-based standards] (erfcf): Likewise.
38565 [non-C99-based standards] (gammaf): Likewise.
38566 [non-C99-based standards] (hypotf): Likewise.
38567 [non-C99-based standards] (j0f): Likewise.
38568 [non-C99-based standards] (j1f): Likewise.
38569 [non-C99-based standards] (jnf): Likewise.
38570 [non-C99-based standards] (lgammaf): Likewise.
38571 [non-C99-based standards] (tgammaf): Likewise.
38572 [non-C99-based standards] (y0f): Likewise.
38573 [non-C99-based standards] (y1f): Likewise.
38574 [non-C99-based standards] (ynf): Likewise.
38575 [non-C99-based standards] (isnanf): Likewise.
38576 [non-C99-based standards] (acoshf): Likewise.
38577 [non-C99-based standards] (asinhf): Likewise.
38578 [non-C99-based standards] (atanhf): Likewise.
38579 [non-C99-based standards] (cbrtf): Likewise.
38580 [non-C99-based standards] (expm1f): Likewise.
38581 [non-C99-based standards] (ilogbf): Likewise.
38582 [non-C99-based standards] (log1pf): Likewise.
38583 [non-C99-based standards] (logbf): Likewise.
38584 [non-C99-based standards] (nextafterf): Likewise.
38585 [non-C99-based standards] (remainderf): Likewise.
38586 [non-C99-based standards] (rintf): Likewise.
38587 [non-C99-based standards] (scalbf): Likewise.
38588 [non-C99-based standards] (copysignl): Likewise.
38589 [non-C99-based standards] (exp2l): Likewise.
38590 [non-C99-based standards] (log2l): Likewise.
38591 [non-C99-based standards] (modfl): Allow.
38592 [non-C99-based standards] (erfl): Do not allow.
38593 [non-C99-based standards] (erfcl): Likewise.
38594 [non-C99-based standards] (gammal): Likewise.
38595 [non-C99-based standards] (hypotl): Likewise.
38596 [non-C99-based standards] (j0l): Likewise.
38597 [non-C99-based standards] (j1l): Likewise.
38598 [non-C99-based standards] (jnl): Likewise.
38599 [non-C99-based standards] (lgammal): Likewise.
38600 [non-C99-based standards] (tgammal): Likewise.
38601 [non-C99-based standards] (y0l): Likewise.
38602 [non-C99-based standards] (y1l): Likewise.
38603 [non-C99-based standards] (ynl): Likewise.
38604 [non-C99-based standards] (isnanl): Likewise.
38605 [non-C99-based standards] (acoshl): Likewise.
38606 [non-C99-based standards] (asinhl): Likewise.
38607 [non-C99-based standards] (atanhl): Likewise.
38608 [non-C99-based standards] (cbrtl): Likewise.
38609 [non-C99-based standards] (expm1l): Likewise.
38610 [non-C99-based standards] (ilogbl): Likewise.
38611 [non-C99-based standards] (log1pl): Likewise.
38612 [non-C99-based standards] (logbl): Likewise.
38613 [non-C99-based standards] (nextafterl): Likewise.
38614 [non-C99-based standards] (remainderl): Likewise.
38615 [non-C99-based standards] (rintl): Likewise.
38616 [non-C99-based standards] (scalbl): Likewise.
38617 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38618 [non-C99-based standards] (FP_*): Do not allow.
38619 [C99-based standards] (FP_*): Change to
38620 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38621 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38623 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38624 (SIG_ERR): Likewise.
38625 [X/Open-based standards] (SIG_HOLD): Likewise.
38626 (SIG_IGN): Likewise.
38627 (SIGABRT): Use macro-int-constant. Specify type. Require
38629 (SIGFPE): Likewise.
38630 (SIGILL): Likewise.
38631 (SIGINT): Likewise.
38632 (SIGSEGV): Likewise.
38633 (SIGTER): Likewise.
38634 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38635 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38636 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38637 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38638 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38639 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38640 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38641 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38642 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38643 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38644 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38645 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38646 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38647 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38648 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38649 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38650 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38651 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38652 [X/Open-based standards] (SIGTRAP): Likewise.
38653 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38654 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38655 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38656 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38657 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38660 2012-05-08 Ian Wienand <ianw@vmware.com>
38663 * time/tzset.c (__tzset_parse_tz): Update default rules for
38664 daylight time changes in the Energy Policy Act of 2005.
38666 2012-05-09 Andreas Jaeger <aj@suse.de>
38669 * elf/ldconfig.c (parse_conf): Change string to make clear that
38670 ldconfig only issued a warning if ld.so.conf does not exist.
38672 2012-05-08 David S. Miller <davem@davemloft.net>
38674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38675 movxtod instead of popping the value on the stack.
38677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38679 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38681 * config.h.in: Add HAVE_ARM_PCS_VFP.
38683 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38686 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38687 checking but the checks are disabled for any reason.
38689 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38691 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38692 and ELF64_R_TYPE with ELFW(R_TYPE).
38694 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38696 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38697 (ulimit): Likewise.
38699 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38700 (settimeofday): Likewise.
38702 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38704 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38705 a struct th_u2 inside the union, and move tu_block/tu_code into
38706 a new th_u3 union of tu_block/tu_code inside of that. Move
38707 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38708 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38709 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38710 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38711 (th_stuff): Change to th_u1.tu_stuff.
38713 (th_msg): Change to th_u1.th_u2.tu_data.
38715 2012-05-07 David S. Miller <davem@davemloft.net>
38717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38720 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38721 (SETUP_PIC_REG): Use it.
38722 (SETUP_PIC_REG_LEAF): Use it.
38724 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38728 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38730 (EXPL_FINITE): Likewise.
38731 (FLDLOG): Likewise.
38732 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38733 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38735 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38737 (EXPL_FINITE): Likewise.
38738 (FLDLOG): Likewise.
38739 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38740 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38742 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38743 test of -max_value argument for long double.
38744 * sysdeps/i386/fpu/libm-test-ulps: Update.
38745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38747 2012-05-06 David S. Miller <davem@davemloft.net>
38749 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38750 quad soft-float symbols whose references which are compiler
38752 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38754 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38758 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38760 (EXPL_FINITE): Likewise.
38761 (FLDLOG): Likewise.
38764 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38765 Adjust comments for base varying.
38766 (__expl_finite): Change alias to EXPL_FINITE.
38767 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38769 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38770 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38772 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38773 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38775 (EXPL_FINITE): Likewise.
38776 (FLDLOG): Likewise.
38779 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38780 Adjust comments for base varying.
38781 (__expl_finite): Change alias to EXPL_FINITE.
38782 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38787 * math/libm-test.inc (check_float_internal): Correct ulp
38788 calculation for subnormal expected results.
38790 2012-05-06 Andreas Jaeger <aj@suse.de>
38792 * Makeconfig (+math-flags): New, set to -frounding-math.
38793 (+cflags): Add +math-flags so that all of glibc gets compiled with
38796 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38798 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38800 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38806 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38807 (__ieee754_expl): Allow for and saturate large arguments.
38808 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38809 (u_threshold): Likewise.
38810 (__exp): Call __ieee754_exp before checking for overflow and
38812 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38813 (u_threshold): Likewise.
38814 (__expf): Call __ieee754_expf before checking for overflow and
38816 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38817 (u_threshold): Likewise.
38818 (__expl): Call __ieee754_expl before checking for overflow and
38820 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38821 (__ieee754_expl): Allow for and saturate large arguments.
38822 * math/libm-test.inc (exp_test): Add another test. Do not allow
38823 missing overflow exception on overflow.
38824 (expm1_test): Do not allow missing overflow exception on overflow.
38826 * sysdeps/i386/fpu/e_expl.c: Move to ...
38827 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38828 rather than using inline asm.
38829 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38830 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38831 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38833 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38836 (signal): Likewise.
38840 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38842 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38843 sysdeps/unix/common/syscalls.list.
38844 (fchmod): Likewise.
38845 (fchown): Likewise.
38846 (ftruncate): Likewise.
38847 (getrusage): Likewise.
38848 (gettimeofday): Likewise.
38849 (setpgid): Likewise.
38850 (setregid): Likewise.
38851 (setreuid): Likewise.
38852 (sigaction): Likewise.
38853 (truncate): Likewise.
38854 (vhangup): Likewise.
38855 * sysdeps/unix/common/syscalls.list: Remove file.
38856 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38857 * sysdeps/unix/sysv/linux/Implies: Likewise.
38859 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38861 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38863 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38867 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38870 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38876 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38879 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38882 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38885 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38889 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38893 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38895 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38896 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38900 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38904 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38906 * sysdeps/unix/common/bits/dirent.h: Remove file.
38907 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38909 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38910 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38911 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38912 * sysdeps/unix/bsd/isatty.c: Likewise.
38913 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38914 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38915 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38917 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38920 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38921 long double comparison inaccuracies.
38922 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38925 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38927 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38930 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38933 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38934 nonzero digits before rounding a hex value.
38935 * stdlib/tst-strtod.c (tests): Add another test.
38937 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38939 * sysdeps/s390/fpu/libm-test-ulps: Update.
38941 2012-05-03 Andreas Jaeger <aj@suse.de>
38943 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38944 does not get optimized out.
38945 (malloc_opt_barrier): New.
38947 2012-05-03 Andreas Jaeger <aj@suse.de>
38948 Roland McGrath <roland@hack.frob.com>
38950 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38951 intermediate file deletion.
38952 (generated): Add .symlist files.
38954 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38957 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38958 Redirect under this condition.
38959 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38960 [__USE_GNU] (__dprintf_chk): Not under this condition.
38961 [__USE_GNU] (__vdprintf_chk): Likewise.
38962 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38963 under this condition.
38964 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38965 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38966 [__USE_XOPEN2K8] (vdprintf): Likewise.
38967 [__USE_GNU] (__dprintf_chk): Not under this condition.
38968 [__USE_GNU] (__vdprintf_chk): Likewise.
38969 [__USE_GNU] (dprintf): Likewise.
38970 [__USE_GNU] (vdprintf): Likewise.
38972 2012-05-03 Roland McGrath <roland@hack.frob.com>
38974 * elf/Makefile (common-generated): Set this instead of generated for
38975 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38976 $(all-built-dso)-derived lists.
38978 2012-05-03 Andreas Jaeger <aj@suse.de>
38980 * sysdeps/i386/fpu/libm-test-ulps: Update.
38983 * FAQ.in: Likewise.
38984 * scripts/gen-FAQ.pl: Likewise.
38985 * manual/install.texi (Installation): Point to online location of
38987 * Makefile (files-for-dist): Remove FAQ.
38990 2012-05-02 Allan McRae <allan@archlinux.org>
38992 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38993 (LDFLAGS-reldepmod5.so): Likewise.
38994 (LDFLAGS-reldep6mod1.so): Likewise.
38995 (LDFLAGS-reldep6mod4.so): Likewise.
38996 (LDFLAGS-reldep8mod3.so): Likewise.
38997 (LDFLAGS-unload4mod1.so): Likewise.
38998 (LDFLAGS-unload4mod2.so): Likewise.
38999 (LDFLAGS-tst-initorder): Likewise.
39000 (LDFLAGS-tst-initordera2.so): Likewise.
39001 (LDFLAGS-tst-initordera3.so): Likewise.
39002 (LDFLAGS-tst-initordera4.so): Likewise.
39003 (LDFLAGS-tst-initorderb2.so): Likewise.
39004 (LDFLAGS-noload): Likewise.
39005 (LDFLAGS-next): Likewise.
39006 (LDFLAGS-order2mod1.so): Likewise.
39007 (LDFLAGS-order2mod2.so): Likewise.
39008 (LDFLAGS-tst-initorder2): Likewise.
39009 (LDFLAGS-tst-initorder2a.so): Likewise.
39010 (LDFLAGS-tst-initorder2b.so): Likewise.
39011 (LDFLAGS-tst-initorder2c.so): Likewise.
39012 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39014 2012-05-02 David S. Miller <davem@davemloft.net>
39016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39018 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39021 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39023 2012-05-02 Andreas Jaeger <aj@suse.de>
39025 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39026 since we manipulate rounding mode.
39027 (CPPFLAGS-test-idouble.c): Likewise.
39028 (CPPFLAGS-test-ifloat.c): Likewise.
39029 (CFLAGS-test-ldouble.c): Likewise.
39030 (CFLAGS-test-double.c): Likewise.
39031 (CFLAGS-test-float.c): Likewise.
39032 (CFLAGS-test-misc.c): Likewise.
39033 (CFLAGS-test-test-fenv.c): Likewise.
39035 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39039 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39040 comparisons to determine direction to adjust input.
39042 2012-05-01 Roland McGrath <roland@hack.frob.com>
39044 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39045 output to the target.
39047 * scripts/localplt.awk: New file.
39048 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39049 (check-localplt-CFLAGS): Variable removed.
39050 ($(all-built-dso:=.jmprel)): New static pattern rule.
39051 (generated): Add those targets.
39052 (localplt-built-dso): New variable.
39053 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39055 * elf/check-localplt.c: File removed.
39057 * scripts/check-execstack.awk: New file.
39058 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39059 (check-execstack-CFLAGS): Variable removed.
39060 ($(objpfx)check-execstack.h): Target removed.
39061 ($(objpfx)execstack-default): New target.
39062 (generated): Add that instead of check-execstack.h.
39063 ($(all-built-dso:=.phdr)): New static pattern rule.
39064 (generated): Add those targets.
39065 * elf/check-execstack.c: File removed.
39067 * scripts/check-textrel.awk: New file.
39068 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39069 (check-textrel-CFLAGS): Variable removed.
39070 (all-built-dso): Use := to define.o
39071 ($(all-built-dso:=.dyn)): New static pattern rule.
39072 (generated): Add those targets.
39073 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39074 * config.make.in (READELF): New substituted variable.
39075 * elf/check-textrel.c: File removed.
39077 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39079 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39081 * conform/data/ctype.h-data [C99-based standards] (isblank):
39083 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39084 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39086 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39087 Specify type. Require positive value.
39088 (EILSEQ): Likewise.
39089 (ERANGE): Likewise.
39090 [ISO || POSIX] (EILSEQ): Do not expect.
39091 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39092 Specify type. Require positive value.
39093 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39094 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39095 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39096 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39097 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39098 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39099 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39100 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39101 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39102 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39103 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39104 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39105 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39106 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39107 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39108 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39109 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39110 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39111 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39112 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39113 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39114 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39115 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39116 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39117 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39118 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39119 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39120 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39121 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39122 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39123 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39124 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39125 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39126 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39127 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39128 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39129 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39130 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39131 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39132 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39133 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39134 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39135 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39136 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39137 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39138 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39139 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39140 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39141 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39142 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39143 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39144 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39145 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39146 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39147 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39148 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39149 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39150 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39151 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39152 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39153 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39154 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39155 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39156 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39157 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39158 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39159 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39160 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39161 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39162 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39163 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39164 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39165 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39166 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39167 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39168 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39169 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39171 (FLT_ROUNDS): Expect as macro, not constant.
39172 (FLT_MANT_DIG): Use macro-int-constant.
39173 (DBL_MANT_DIG): Likewise.
39174 (LDBL_MANT_DIG): Likewise.
39175 (FLT_DIG): Likewise.
39176 (DBL_DIG): Likewise.
39177 (LDBL_DIG): Likewise.
39178 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39179 (DBL_MIN_EXP): Likewise.
39180 (LDBL_MIN_EXP): Likewise.
39181 (FLT_MAX_EXP): Use macro-int-constant.
39182 (DBL_MAX_EXP): Likewise.
39183 (LDBL_MAX_EXP): Likewise.
39184 (FLT_MAX_10_EXP): Likewise.
39185 (DBL_MAX_10_EXP): Likewise.
39186 (LDBL_MAX_10_EXP): Likewise.
39187 (FLT_MAX): Use macro-constant.
39188 (DBL_MAX): Likewise.
39189 (LDBL_MAX): Likewise.
39190 (FLT_EPSILON): Use macro-constant. Give upper bound.
39191 (DBL_EPSILON): Likewise.
39192 (LDBL_EPSILON): Likewise.
39193 (FLT_MIN): Likewise.
39194 (DBL_MIN): Likewise.
39195 (LDBL_MIN): Likewise.
39196 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39197 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39198 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39199 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39200 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39201 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39202 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39203 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39204 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39205 [ISO11] (FLT_TRUE_MIN): Likewise.
39206 [ISO11] (LDBL_TRUE_MIN): Likewise.
39207 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39208 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39209 (SCHAR_MIN): Use macro-int-constant. Specify type.
39210 (SCHAR_MAX): Likewise.
39211 (UCHAR_MAX): Likewise.
39212 (CHAR_MIN): Likewise.
39213 (CHAR_MAX): Likewise.
39214 (MB_LEN_MAX): Use macro-int-constant.
39215 (SHRT_MIN): Use macro-int-constant. Specify type.
39216 (SHRT_MAX): Likewise.
39217 (USHRT_MAX): Likewise.
39218 (INT_MAX): Likewise.
39219 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39221 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39223 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39225 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39226 bound negative. Suffix upper bound with "L".
39227 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39229 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39231 [C99-based standards] (LLONG_MAX): Likewise.
39232 [C99-based standards] (ULLONG_MAX): Likewise.
39233 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39235 [ISO11] (max_align_t): Require type.
39236 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39238 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39239 from $CFLAGS, without defining away __attribute__ calls.
39240 (checknamespace): Use $CFLAGS_namespace.
39242 * conform/conformtest.pl (@keywords): Only include C99 keywords
39243 for standards based on C99 or C11.
39245 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39247 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39250 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39251 usability of symbols in #if.
39253 * conform/conformtest.pl: If macro or constant types start
39254 "promoted:", expect the symbol to be of the following type
39255 promoted by the integer promotions.
39257 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39258 in one place. Also handle "macro-constant".
39260 * conform/conformtest.pl: Only accept expected macro values with
39261 "==". Parse all "macro" lines in one place.
39262 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39264 * conform/conformtest.pl: Handle braced types on "constant" lines
39265 instead of handling "typed-constant".
39266 * conform/data/signal.h-data: Use "constant" instead of
39269 * conform/conformtest.pl: Handle "optional-" at start of lines in
39270 one place rather than duplicating several cases. Handle each
39271 format of "macro" line with initial "optional-".
39273 * conform/conformtest.pl: Only accept expected constant or
39274 optional-constant values with "==". Parse all "constant" lines in
39275 one place. Parse all "optional-constant" lines in one place.
39276 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39277 * conform/data/fmtmsg.h-data: Likewise.
39278 * conform/data/netinet/in.h-data: Likewise.
39279 * conform/data/tar.h-data: Likewise.
39280 * conform/data/limits.h-data: Use "==" form on "constant" and
39281 "optional-constant" lines.
39283 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39284 Use -std=c99 for XOPEN2K.
39285 (@knownproblems): Remove.
39286 (newtoken): Don't check %isknown.
39288 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39289 Do not expect macro.
39290 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39291 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39292 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39293 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39294 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39295 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39296 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39297 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39298 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39299 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39300 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39301 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39302 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39303 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39304 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39305 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39306 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39307 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39308 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39309 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39310 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39311 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39312 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39313 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39314 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39315 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39316 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39317 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39318 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39319 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39320 [XPG3] (acosh): Likewise.
39321 [XPG3] (asinh): Likewise.
39322 [XPG3] (atanh): Likewise.
39323 [XPG3] (cbrt): Likewise.
39324 [XPG3] (expm1): Likewise.
39325 [XPG3] (ilogb): Likewise.
39326 [XPG3] (log1p): Likewise.
39327 [XPG3] (logb): Likewise.
39328 [XPG3] (nextafter): Likewise.
39329 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39330 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39331 [XPG3] (remainder): Likewise.
39332 [XPG3] (rint): Likewise.
39333 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39334 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39335 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39336 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39337 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39338 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39339 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39340 [UNIX98 || XOPEN2K] (scalb): Expect.
39341 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39342 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39343 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39344 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39345 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39346 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39347 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39348 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39349 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39350 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39351 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39352 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39353 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39354 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39355 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39356 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39357 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39358 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39359 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39360 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39362 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39363 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39372 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39373 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39380 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39381 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39382 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39383 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39384 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39385 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39386 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39387 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39388 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39390 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39391 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39392 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39393 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39397 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39400 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39401 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39402 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39405 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39406 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39409 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39410 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39411 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39412 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39423 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39424 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39425 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39426 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39427 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39428 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39429 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39430 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39431 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39432 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39433 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39434 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39435 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39438 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39439 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39443 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39444 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39445 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39446 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39447 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39448 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39449 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39450 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39451 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39452 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39453 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39454 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39455 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39456 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39457 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39458 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39459 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39460 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39461 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39462 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39463 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39464 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39465 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39466 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39467 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39468 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39469 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39470 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39471 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39472 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39473 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39474 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39475 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39476 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39477 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39479 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39480 _XOPEN_SOURCE_EXTENDED for XPG4.
39482 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39484 * Makeconfig (localtime): Remove variable.
39485 (inst_localtime-file): Likewise.
39487 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39508 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39512 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39513 comparisons to determine direction to adjust input.
39514 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39515 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39516 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39518 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39520 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39522 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39523 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39525 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39527 * math/libm-test.inc (nexttoward_test): Add more tests.
39529 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39532 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39533 in version GLIBC_2.1, not GLIBC_2.0.
39534 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39537 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39540 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39542 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39543 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39544 * math/libm-test.inc (acos_test): Add more tests.
39545 (asin_test): Likewise.
39546 * sysdeps/i386/fpu/libm-test-ulps: Update.
39547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39550 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39552 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39553 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39554 * math/libm-test.inc (acos_test_tonearest): New function.
39555 (acos_test_towardzero): Likewise.
39556 (acos_test_downward): Likewise.
39557 (acos_test_upward): Likewise.
39558 (asin_test_tonearest): Likewise.
39559 (asin_test_towardzero): Likewise.
39560 (asin_test_downward): Likewise.
39561 (asin_test_upward): Likewise.
39562 (main): Call the new functions.
39563 * sysdeps/i386/fpu/libm-test-ulps: Update.
39564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39568 * math/e_exp10.c: Include <float.h>.
39569 (__ieee754_exp10): Handle underflow here rather than multiplying
39570 large negative argument by M_LN10.
39571 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39573 * math/e_exp10l.c: Include <float.h>.
39574 (__ieee754_exp10l): Handle underflow here rather than multiplying
39575 large negative argument by M_LN10l.
39576 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39577 spurious overflow exception on underflow.
39579 2012-04-29 Marek Polacek <polacek@redhat.com>
39581 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39582 (__fortify_function): New macro.
39583 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39584 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39585 __extern_always_inline.
39586 * libio/bits/stdio2.h: Likewise.
39587 * libio/bits/stdio.h: Likewise.
39588 * string/string.h: Likewise.
39589 * string/bits/string3.h: Likewise.
39590 * include/stdio.h: Likewise.
39591 * stdlib/bits/stdlib.h: Likewise.
39592 * stdlib/stdlib.h: Likewise.
39593 * rt/bits/mqueue2.h: Likewise.
39594 * rt/mqueue.h: Likewise.
39595 * posix/bits/unistd.h: Likewise.
39596 * posix/unistd.h: Likewise.
39597 * io/bits/poll2.h: Likewise.
39598 * io/bits/fcntl2.h: Likewise.
39599 * io/fcntl.h: Likewise.
39600 * io/sys/poll.h: Likewise.
39601 * misc/bits/syslog.h: Likewise.
39602 * misc/bits/syslog-ldbl.h: Likewise.
39603 * misc/sys/syslog.h: Likewise.
39604 * socket/bits/socket2.h: Likewise.
39605 * socket/sys/socket.h: Likewise.
39606 * debug/tst-chk1.c: Likewise.
39607 * wcsmbs/bits/wchar2.h: Likewise.
39608 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39609 * wcsmbs/wchar.h: Likewise.
39611 2012-04-29 Andreas Jaeger <aj@suse.de>
39613 * Makerules (tests): Remove enable-check-abi protection.
39614 (check-abi-warn): Remove.
39615 (check-abi-%): Remove check-abi-warn usage.
39617 * configure.in: Remove check-abi configure option.
39618 * configure: Regenerated.
39619 * config.make.in (enable-check-abi): Remove.
39621 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39624 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39625 double functions to double *_finite functions.
39628 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39629 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39631 * stdio-common/Makefile (tests): Add tst-sprintf3.
39632 * stdio-common/tst-sprintf3.c: New file.
39634 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39635 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39637 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39639 * conform/conformtest.pl: Remove duplicate typed-constant
39642 2012-04-28 David S. Miller <davem@davemloft.net>
39644 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39645 (check-abi-%): Remove AWK script prerequisite and explicit
39647 (check-abi): Rewrite to just diff the symlist with the abilist.
39648 (config-tls, config-abi-config): Delete, no longer used.
39649 (update-abi-%): Remove AWK script and explicit abilist directory.
39650 (update-abi): Rewrite to simply compare and conditionally copy the
39651 symlist and the sysdep abilist file. Remove update-abi-config
39653 * abilist/ld.abilist: Remove.
39654 * abilist/libBrokenLocale.abilist: Remove.
39655 * abilist/libanl.abilist: Remove.
39656 * abilist/libcrypt.abilist: Remove.
39657 * abilist/libdl.abilist: Remove.
39658 * abilist/librt.abilist: Remove.
39659 * abilist/libthread_db.abilist: Remove.
39660 * abilist/libutil.abilist: Remove.
39661 * scripts/extract-abilist.awk: Remove.
39662 * scripts/merge-abilist.awk: Remove.
39663 * sysdeps/generic/libcidn.abilist: New file.
39664 * sysdeps/generic/libnss_compat.abilist: New file.
39665 * sysdeps/generic/libnss_db.abilist: New file.
39666 * sysdeps/generic/libnss_dns.abilist: New file.
39667 * sysdeps/generic/libnss_files.abilist: New file.
39668 * sysdeps/generic/libnss_hesiod.abilist: New file.
39669 * sysdeps/generic/libnss_nis.abilist: New file.
39670 * sysdeps/generic/libnss_nisplus.abilist: New file.
39671 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39672 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39673 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39676 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39677 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39678 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39679 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39680 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39681 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39682 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39683 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39685 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39686 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39687 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39688 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39690 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39691 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39692 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39693 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39694 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39695 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39697 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39698 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39699 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39701 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39702 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39704 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39706 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39708 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39710 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39712 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39714 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39716 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39718 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39720 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39722 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39724 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39726 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39761 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39786 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39804 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39805 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39806 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39809 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39810 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39812 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39813 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39814 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39815 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39816 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39817 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39819 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39831 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39839 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39860 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39864 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39869 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39871 * conform/conformtest.pl: Fix typo in handling typed-constant from
39874 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39876 * README: Cut down references to pre-2.6 Linux kernels and
39877 Linuxthreads. Update lists of configurations in libc and ports
39878 and sort alphabetically. Say "or newer" with Linux kernel version
39881 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39883 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39886 * math/libm-test.inc (logb_test_downward): New test to expose
39887 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39890 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39893 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39895 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39896 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39898 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39900 * sysdeps/unix/i386/brk.S: Remove file.
39901 * sysdeps/unix/i386/dl-brk.S: Likewise.
39902 * sysdeps/unix/i386/pipe.S: Likewise.
39903 * sysdeps/unix/i386/sigreturn.S: Likewise.
39904 * sysdeps/unix/i386/syscall.S: Likewise.
39905 * sysdeps/unix/i386/vfork.S: Likewise.
39906 * sysdeps/unix/i386/wait.S: Likewise.
39908 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39909 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39911 * configure.in (arm*-none*): Do not allow without
39912 --enable-hacker-mode.
39913 (netbsd*): Remove case setting base_os.
39914 (386bsd*): Likewise.
39915 (freebsd*): Likewise.
39918 (sunos*): Likewise.
39919 (ultrix*): Likewise.
39920 (newsos*): Likewise.
39921 (dynix*): Likewise.
39927 (minix*): Likewise.
39928 (irix4*): Likewise.
39929 (irix6*): Likewise.
39930 (solaris[2-9]*): Likewise.
39932 * configure: Regenerated.
39934 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39937 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39938 overflow or cancellation in calculating denominator.
39939 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39940 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39941 down expression to avoid unexpected rounding in newer GCCs.
39942 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39944 2012-04-26 David S. Miller <davem@davemloft.net>
39946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39947 long-double compat symbols.
39948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39962 2012-04-25 David S. Miller <davem@davemloft.net>
39964 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39965 HWCAP_* values only after the memory barriers have been defined.
39966 (atomic_full_barrier): Define.
39967 (atomic_read_barrier): Define.
39968 (atomic_write_barrier): Define.
39970 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39972 * shlib-versions: Add libgcc_s version information.
39973 * sysdeps/generic/libgcc_s.h: Remove.
39974 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39976 * sysdeps/gnu/unwind-resume.c: Likewise.
39977 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39979 2012-04-25 David S. Miller <davem@davemloft.net>
39981 * sysdeps/unix/sparc/brk.S: Delete.
39982 * sysdeps/unix/sparc/dl-brk.S: Delete.
39983 * sysdeps/unix/sparc/pipe.S: Delete.
39984 * sysdeps/unix/sparc/sysdep.S: Delete.
39985 * sysdeps/unix/sparc/sysdep.h: Delete.
39986 * sysdeps/unix/sparc/vfork.S: Delete.
39987 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39988 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39989 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39990 (ret_ERRVAL, r0, r1, MOVE): Define.
39991 (JUMPTARGET): Remove.
39992 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39993 sysdeps/unix/sparc/sysdep.h
39994 (ENTRY, END): Remove.
39995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39997 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39999 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40000 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40003 * timezone/README: Update upstream location and email address for
40005 * timezone/zdump.c: Update from tzcode 2012b.
40006 * timezone/zic.c: Likewise.
40008 * configure.in (libc_cv_as_needed): Remove test.
40009 * configure: Regenerated.
40010 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40011 conditional definition.
40012 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40013 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40014 * config.make.in (have-as-needed): Remove variable.
40016 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40017 Paul Pluzhnikov <ppluzhnikov@google.com>
40019 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40022 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40024 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40025 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40026 * sysdeps/sh/strlen.S: Likewise.
40028 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40030 * sysdeps/unix/fork.S: Remove file.
40031 * sysdeps/unix/i386/fork.S: Likewise.
40032 * sysdeps/unix/sparc/fork.S: Likewise.
40034 * sysdeps/unix/system.c: Remove file.
40035 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40037 * sysdeps/unix/getegid.S: Remove file.
40038 * sysdeps/unix/geteuid.S: Likewise.
40040 2012-04-24 Roland McGrath <roland@hack.frob.com>
40042 * scripts/check-localplt.awk: New file.
40043 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40045 * scripts/data/localplt-generic.data: Add a comment.
40047 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40048 NODE when __dir_mkfile failed.
40049 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40050 Reported by Ludovic Courtès <ludo@gnu.org>.
40052 2012-04-24 Andreas Jaeger <aj@suse.de>
40054 * Makerules (common-clean): Also remove gen-as-const-headers
40057 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40059 * Makerules (native-compile): Do not change working directory for
40060 build. Use $(OUTPUT_OPTION) in command.
40061 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40063 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40066 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40067 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40068 * math/libm-test.inc (floor_test): Add more tests.
40069 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40071 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40073 * sysdeps/unix/getdents.c: Remove file.
40074 * sysdeps/unix/sysv/getdents.c: Likewise.
40075 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40077 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40078 sysdeps/unix/mman/syscalls.list.
40080 (mprotect): Likewise.
40082 (munmap): Likewise.
40083 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40084 * sysdeps/unix/mman/syscalls.list: Remove.
40085 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40087 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40088 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40089 * configure: Regenerated.
40090 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40091 $(libgcc_s_suffix).
40092 * config.make.in (libgcc_s_suffix): Remove variable.
40094 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40096 * sysdeps/unix/sysv/gethostname.c: Move to ...
40097 * sysdeps/posix/gethostname.c: ... here.
40099 * sysdeps/unix/execve.S: Remove file.
40101 * sysdeps/unix/_exit.S: Remove file.
40103 2012-04-23 Andreas Jaeger <aj@suse.de>
40106 * manual/Makefile: Remove make dist support, there's no
40107 need for a stand-alone documentation tar ball.
40108 (TEXI2DVI): Define always, it's not in Makeconfig.
40111 (edition): Removed.
40112 (glibc-doc-$(edition).tar): Removed
40116 (ETAGS): Remove, it's in Makeconfig.
40117 (move-if-change): Remove, it's in Makeconfig.
40119 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40122 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40123 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40124 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40125 (strtod_l, strtof_l, strtold_l): Remove __wur.
40126 It is not necessarily an error to ignore strtol's return value.
40127 One can reliably look at the stored endptr to decide whether
40128 the number had valid syntax.
40130 2012-04-21 Andreas Jaeger <aj@suse.de>
40133 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40135 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40137 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40138 * sysdeps/unix/sysv/Versions: Remove file.
40140 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40145 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40149 version from __vm86.
40151 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40153 * sysdeps/unix/common/lxstat.c: Remove file.
40154 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40156 * sysdeps/unix/sysv/Makefile: Remove file.
40158 * sysdeps/unix/sysv/direct.h: Remove file.
40160 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40161 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40162 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40163 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40164 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40165 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40166 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40168 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40170 * sysdeps/unix/xmknod.c: Remove file.
40171 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40173 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40175 * sysdeps/unix/sysv/i386/time.S: Remove file.
40177 * sysdeps/unix/fxstat.c: Remove file.
40178 * sysdeps/unix/xstat.c: Likewise.
40179 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40181 * sysdeps/unix/sysv/sigaction.c: Remove file.
40183 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40184 (sysdep_headers): Remove variable.
40185 [termio.h not in sysdep_headers] (generated): Likewise.
40186 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40187 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40188 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40189 * sysdeps/unix/sysv/tcflow.c: Likewise.
40190 * sysdeps/unix/sysv/tcflush.c: Likewise.
40191 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40192 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40193 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40194 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40195 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40197 * sysdeps/unix/siglist.c: Remove file.
40199 * sysdeps/unix/getppid.S: Remove file.
40201 * sysdeps/unix/mkdir.c: Remove file.
40202 * sysdeps/unix/rmdir.c: Likewise.
40204 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40206 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40208 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40209 errlist-compat value.
40211 2012-04-18 David S. Miller <davem@davemloft.net>
40213 * sysdeps/generic/memcopy.h (reg_char): Delete.
40214 * debug/strcat_chk.c: Use char, not reg_char.
40215 * debug/strcpy_chk.c: Likewise.
40216 * debug/strncat_chk.c: Likewise.
40217 * debug/strncpy_chk.c: Likewise.
40218 * string/memchr.c: Likewise.
40219 * string/memrchr.c: Likewise.
40220 * string/rawmemchr.c: Likewise.
40221 * string/strcat.c: Likewise.
40222 * string/strchr.c: Likewise.
40223 * string/strchrnul.c: Likewise.
40224 * string/strcmp.c: Likewise.
40225 * string/strcpy.c: Likewise.
40226 * string/strncat.c: Likewise.
40227 * string/strncmp.c: Likewise.
40228 * string/strncpy.c: Likewise.
40230 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40232 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40233 __builtin_memcopy is called when src and dest ranges are known to not
40236 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40239 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40240 fwd_align_merge macro call.
40241 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40242 bwd_align_merge macro call.
40243 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40245 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40247 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40248 bwd_align_merge macros.
40249 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40250 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40251 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40253 2012-04-18 David S. Miller <davem@davemloft.net>
40255 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40257 2012-04-18 Andreas Jaeger <aj@suse.de>
40260 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40261 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40262 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40264 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40265 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40266 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40268 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40269 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40270 Adjust for changed ldbl-128 files.
40272 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40273 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40274 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40276 2012-04-17 David S. Miller <davem@davemloft.net>
40278 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40280 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40282 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40283 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40284 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40285 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40286 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40287 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40289 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40292 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40293 * math/libm-test.inc: Add ilogb errno and exception tests.
40294 * math/w_ilogb.c: New file: ilogb wrapper.
40295 * math/w_ilogbf.c: New file: ilogbf wrapper.
40296 * math/w_ilogbl.c: New file: ilogbl wrapper.
40297 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40298 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40299 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40300 exception being thrown with 0.0 as argument.
40301 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40302 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40303 exception being thrown with 0.0 as argument.
40304 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40305 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40306 exception being thrown with 0.0 as argument.
40307 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40308 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40309 exception being thrown with 0.0 as argument.
40310 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40311 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40312 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40313 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40314 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40315 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40316 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40317 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40318 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40320 2012-04-17 Petr Baudis <pasky@ucw.cz>
40322 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40325 2012-04-16 Marek Polacek <polacek@redhat.com>
40327 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40329 2012-04-16 Marek Polacek <polacek@redhat.com>
40331 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40332 operands of fdivp instruction.
40334 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40336 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40337 * elf/tst-auditmod3b.c: Likewise.
40338 * elf/tst-auditmod4b.c: Likewise.
40339 * elf/tst-auditmod5b.c: Likewise.
40340 * elf/tst-auditmod6b.c: Likewise.
40341 * elf/tst-auditmod6c.c: Likewise.
40342 * elf/tst-auditmod7b.c: Likewise.
40343 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40344 * sysdeps/x86_64/preconfigure.in: Likewise.
40345 * sysdeps/x86_64/preconfigure: Regenerated.
40347 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40349 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40352 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40354 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40355 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40357 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40360 * locale/iso-639.def: Fix gl language name. Spotted by
40363 2012-04-12 Roland McGrath <roland@hack.frob.com>
40366 * libio/libio.h (__io_write_fn): Update comment.
40368 2012-04-12 Petr Baudis <pasky@ucw.cz>
40371 * stdio.texi (Hook Functions): The user provided writer function
40372 is not allowed to return -1.
40374 2012-04-11 David S. Miller <davem@davemloft.net>
40376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40378 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40380 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40381 Add a leading slash to rtkaio.
40383 2012-04-11 Jim Meyering <meyering@redhat.com>
40386 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40387 It is not necessarily an error to ignore fwrite's return
40388 value. One can reliably use ferror to test for errors after
40391 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40393 * bits/types.h (__snseconds_t): New type.
40394 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40396 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40398 (__SNSECONDS_T_TYPE): Likewise.
40399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40400 (__SNSECONDS_T_TYPE): Likewise.
40401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40402 (__SNSECONDS_T_TYPE): Likewise.
40404 2012-04-10 Andreas Jaeger <aj@suse.de>
40407 * manual/time.texi (Processor Time): Return type of times is
40408 elapsed real time since an arbitrary point in the past.
40409 (CPU Time): Move CLK_TCK from here...
40410 (Processor Time): ...to here. Correct description.
40411 * manual/conf.texi (Constants for Sysconf): Correct description of
40414 2012-04-10 David S. Miller <davem@davemloft.net>
40417 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40418 where the is a gap between DT_REL(A) and DT_JMPREL.
40420 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40422 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40423 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40424 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40426 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40428 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40429 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40430 (dl_main): Handle --inhibit-cache.
40431 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40433 * elf/dl-load.c (_dl_map_object): Use it.
40434 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40436 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40439 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40440 (__ieee754_powl): Saturate large exponents rather than testing for
40441 overflow of y*log2(x).
40442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40443 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40447 * math/s_ctan.c: Include <float.h>.
40448 (__ctan): Avoid internal overflow or cancellation in calculating
40450 * math/s_ctanf.c: Likewise.
40451 * math/s_ctanl.c: Likewise.
40452 * math/s_ctanh.c: Likewise.
40453 * math/s_ctanhf.c: Likewise.
40454 * math/s_ctanhl.c: Likewise.
40455 * math/libm-test.inc (ctan_test): Add more tests.
40456 (ctanh_test): Likewise.
40457 * sysdeps/i386/fpu/libm-test-ulps: Update.
40458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40460 2012-04-09 Andreas Jaeger <aj@suse.de>
40463 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40464 is an optional BSD extension.
40467 * manual/stdio.texi (Opening Streams): Document additional fopen
40470 2012-04-09 Roland McGrath <roland@hack.frob.com>
40472 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40473 %eax without telling the compiler.
40475 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40478 * manual/install.texi: Use sourceware.org.
40480 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40483 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40484 (__ieee754_pow): Generate overflow and underflow using huge*huge
40485 and tiny*tiny rather than just returning constant infinity or zero
40486 for large exponents.
40487 * math/libm-test.inc (pow_test): Require overflow exceptions for
40488 applicable cases of large exponents.
40491 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40492 (__ieee754_pow): Use iterative multiplication algorithm only for
40493 integer exponents with absolute value below 1024. Check for odd
40494 integer exponents when using algorithm for real exponents.
40495 * math/libm-test.inc (pow_test): Add more tests.
40496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40498 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40501 * math/libm-test.inc (exp_test): Do not allow overflow exception
40504 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40507 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40508 instead of __kernel_standard_f.
40510 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40512 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40513 * sysdeps/x86_64/memset_chk.S: Likewise.
40515 2012-04-08 Andreas Jaeger <aj@suse.de>
40518 * manual/startup.texi (Environment Access): Describe return value
40519 for putenv and setenv.
40522 * manual/filesys.texi (Directory Entries): Add description for
40526 * manual/filesys.texi (Directory Entries): Clarify that it's file
40527 system not operating system in the description of DT_UNKNOWN.
40530 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40532 2012-04-08 Stephen Compall <s11@member.fsf.org>
40535 * manual/llio.texi (Opening and Closing Files): Add cross
40536 reference to explain mode argument.
40538 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40540 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40541 * sysdeps/x86_64/memset_chk.S: Likewise.
40543 2012-04-07 David S. Miller <davem@davemloft.net>
40545 * elf/elf.h (R_SPARC_WDISP10): Define.
40546 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40548 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40549 R_SPARC_SIZE64 and R_SPARC_H34.
40551 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40553 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40554 conditions and remove no longer applicable assertion.
40556 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40558 * bits/byteswap.h: Include <features.h>.
40559 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40560 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40562 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40564 * bits/byteswap.h (__bswap_16): Removed.
40565 Include <bits/byteswap-16.h> to get __bswap_16.
40566 * sysdeps/i386/bits/byteswap.h: Likewise.
40567 * sysdeps/s390/bits/byteswap.h: Likewise.
40568 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40569 * bits/byteswap-16.h: New file.
40570 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40571 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40572 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40573 * string/Makefile (headers): Add bits/byteswap-16.h.
40575 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40578 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40580 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40581 * nss/tst-nss-static.c: New.
40583 2012-04-06 Robert Millan <rmh@gnu.org>
40586 * manual/llio.texi (File Position Primitive): lseek
40587 refers to WHENCE when it really means OFFSET.
40589 2012-04-06 Andreas Jaeger <aj@suse.de>
40591 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40592 strncmp declarations.
40594 * abilist/libc.abilist: Add __poll and __ppoll.
40596 2012-04-05 David S. Miller <davem@davemloft.net>
40598 * scripts/check-local-headers.sh: Accept a host triplet in the
40599 path matched by the exclude regexp.
40601 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40603 * sysdeps/powerpc/powerpc32/dl-machine.h
40604 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40605 * sysdeps/s390/s390-32/dl-machine.h
40606 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40607 * sysdeps/sparc/sparc32/dl-machine.h
40608 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40609 * sysdeps/sparc/sparc64/dl-machine.h
40610 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40612 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40614 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40615 undefined symbol errors.
40617 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40620 2012-04-05 Michael Matz <matz@suse.de>
40623 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40625 2012-04-05 Andreas Jaeger <aj@suse.de>
40628 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40631 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40633 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40634 which ROUND is no valid rounding mode.
40636 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40638 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40640 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40642 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40644 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40645 an exception using FPU order intentionally.
40647 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40649 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40650 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40651 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40652 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40654 2012-04-05 Simon Josefsson <simon@josefsson.org>
40657 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40658 EINVAL when BUFLEN is too smal.
40660 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40663 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40664 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40666 2012-04-03 Andreas Jaeger <aj@suse.de>
40669 * manual/setjmp.texi (System V contexts): Fix sentence.
40672 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40673 New macro for this case.
40674 [!__GNUC__] (__bswap_64): New inline function for this case.
40675 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40676 * bits/byteswap.h: Likewise.
40677 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40678 ull, guard with __GLIBC_HAVE_LONG_LONG.
40680 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40681 __GLIBC_HAVE_LONG_LONG.
40683 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40684 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40686 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40689 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40690 inptr and inend, rather than using last_ch.
40692 2012-04-02 David S. Miller <davem@davemloft.net>
40694 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40695 * stdio-common/printf-parse.h (read_int): Change return type to
40696 'int', return -1 on INT_MAX overflow.
40697 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40698 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40699 overflows INT_MAX. Check for overflow of in-format-string precision
40700 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40701 SIZE_MAX not INT_MAX for integer overflow test.
40702 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40703 skip the construct in the format string but do not record anything.
40704 * stdio-common/bug22.c: Adjust to test both width/prevision
40705 INT_MAX overflow as well as total length INT_MAX overflow. Check
40706 explicitly for proper errno values.
40708 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40710 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40712 * string/test-strcmp.c [! WIDE]: Likewise.
40713 * time/tst-mktime2.c: Likewise for INT_MAX.
40714 * string/test-string.h: #include <sys/param.h> for MIN.
40716 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40717 * sysdeps/i386/init-first.c (init): Likewise.
40718 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40719 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40720 * sysdeps/sh/init-first.c (init): Likewise.
40722 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40724 * po/ru.po: Update from translation team.
40725 * po/vi.po: Likewise.
40727 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40729 * resolv/nss_dns/dns-host.c: Merge copyright years.
40731 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40733 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40734 Optimize memcpy with prefetch if
40735 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40736 src, dst pointers have unequal 16 byte alignments.
40738 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40741 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40742 from a CNAME entry and return the minimum ttl for the query.
40743 (gaih_getanswer_slice): Likewise.
40745 2012-03-30 Jeff Law <law@redhat.com>
40747 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40749 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40750 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40752 * resolv/nss_dns/dns-host.c: Update copyright year.
40754 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40756 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40757 requests to save a system call. Fix check that all bytes are sent.
40759 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40760 comments for sendmmsg.
40762 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40765 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40766 with only 1 character between 0x0041 and 0x01b0.
40767 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40768 * wcsmbs/tst-mbsnrtowcs.c: New file.
40770 2012-03-29 David S. Miller <davem@davemloft.net>
40772 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40773 small copies by hand.
40775 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40778 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40779 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40782 2012-03-28 David S. Miller <davem@davemloft.net>
40784 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40785 that branches into memcpy.
40786 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40789 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40792 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40793 implementation too.
40794 * sysdeps/sparc/mempcpy.S: New file.
40796 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40797 the IFUNC routine in the libc case.
40798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40800 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40801 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40802 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40803 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40804 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40805 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40806 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40807 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40809 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40810 loop to 256 bytes instead of 64 bytes and fix test signedness.
40812 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40813 * sysdeps/sparc/sparc32/Makefile: rather than here...
40814 * sysdeps/sparc/sparc64/Makefile: and here.
40816 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40818 * malloc/mallocbug.c: Avoid warnings about unused variables.
40820 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40823 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40824 in the right place. Discard and retry query if response is
40825 larger than input buffer size.
40827 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40832 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40833 x for large integer exponent.
40834 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40835 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40836 sign of result as needed afterwards.
40837 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40838 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40839 result for underflowing pow the same as for overflow.
40840 (__kernel_standard_l): Handle powl overflow and underflow here
40841 rather than calling __kernel_standard.
40842 * math/libm-test.inc (pow_test): Add more tests.
40857 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40858 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40859 (__kernel_standard_l): New function.
40860 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40862 * math/w_acosl.c (__acosl): Likewise.
40863 * math/w_asinl.c (__asinl): Likewise.
40864 * math/w_atan2l.c (__atan2l): Likewise.
40865 * math/w_atanhl.c (__atanhl): Likewise.
40866 * math/w_coshl.c (__coshl): Likewise.
40867 * math/w_exp10l.c (__exp10l): Likewise.
40868 * math/w_exp2l.c (__exp2l): Likewise.
40869 * math/w_fmodl.c (__fmodl): Likewise.
40870 * math/w_hypotl.c (__hypotl): Likewise.
40871 * math/w_j0l.c (__j0l, __y0l): Likewise.
40872 * math/w_j1l.c (__j1l, __y1l): Likewise.
40873 * math/w_jnl.c (__jnl, __ynl): Likewise.
40874 * math/w_lgammal.c (__lgammal): Likewise.
40875 * math/w_log10l.c (__log10l): Likewise.
40876 * math/w_log2l.c (__log2l): Likewise.
40877 * math/w_logl.c (__logl): Likewise.
40878 * math/w_powl.c (__powl): Likewise.
40879 * math/w_remainderl.c (__remainderl): Likewise.
40880 * math/w_scalbl.c (sysv_scalbl): Likewise.
40881 * math/w_sinhl.c (__sinhl): Likewise.
40882 * math/w_sqrtl.c (__sqrtl): Likewise.
40883 * math/w_tgammal.c (__tgammal): Likewise.
40884 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40885 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40886 * math/libm-test.inc (acos_test): Add more tests.
40887 (acosh_test): Likewise.
40888 (asin_test): Likewise.
40889 (atanh_test): Likewise.
40890 (exp_test): Likewise.
40891 (exp10_test): Likewise.
40892 (exp2_test): Likewise.
40893 (expm1_test): Likewise.
40894 (lgamma_test): Likewise.
40895 (log_test): Likewise.
40896 (log10_test): Likewise.
40897 (log1p_test): Likewise.
40898 (log2_test): Likewise.
40899 (pow_test): Do not allow some spurious overflow exceptions.
40900 (sqrt_test): Add more tests.
40901 (tgamma_test): Likewise.
40902 (y0_test): Likewise.
40903 (y1_test): Likewise.
40904 (yn_test): Likewise.
40906 2012-03-27 Anton Blanchard <anton@samba.org>
40908 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40910 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40911 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40914 2012-03-27 David S. Miller <davem@davemloft.net>
40916 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40918 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40919 have-as-vis3 check.
40921 2012-03-27 Andreas Jaeger <aj@suse.de>
40923 * sysdeps/x86_64/elf/configure.in: Moved to ...
40924 * sysdeps/x86_64/configure.in: ... here.
40925 * sysdeps/x86_64/elf/start.S: Moved to ...
40926 * sysdeps/x86_64/start.S: ... here.
40927 * sysdeps/x86_64/elf/configure: Delete.
40929 * sysdeps/x86_64/configure.in: Merge contents from
40930 sysdeps/i386/configure.in (without i686 check).
40932 * sysdeps/i386/elf/Versions: Merge into ...
40933 * sysdeps/i386/Versions: ... this.
40934 * sysdeps/i386/elf/Versions: Delete file.
40935 * sysdeps/i386/elf/start.S: Moved to ...
40936 * sysdeps/i386/start.S: ...here.
40937 * sysdeps/i386/elf/configure.in: Merge into...
40938 * sysdeps/i386/configure.in: ...here.
40939 * sysdeps/i386/elf/configure.in: Delete file.
40940 * sysdeps/i386/elf/configure: Delete file.
40942 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40943 * debug/backtracesyms.c: ... here.
40944 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40945 * debug/backtracesymsfd.c: ... here.
40946 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40947 * sysdeps/generic/ifunc-sel.h: ... here.
40949 * sysdeps/unix/i386/start.c: Delete file.
40950 * sysdeps/unix/sparc/start.c: Delete file.
40951 * sysdeps/unix/start.c: Delete file.
40953 * sysdeps/sh/elf/configure.in: Moved to ...
40954 * sysdeps/sh/configure.in: ... here.
40955 * sysdeps/sh/elf/start.S: Moved to ...
40956 * sysdeps/sh/start.S: ... here.
40957 * sysdeps/sh/elf/configure: Delete file.
40959 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40960 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40961 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40962 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40963 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40964 * sysdeps/powerpc/powerpc64/start.S: here.
40965 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40966 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40967 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40968 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40969 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40971 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40972 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40973 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40974 * sysdeps/powerpc/powerpc32/start.S: ... here.
40975 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40976 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40977 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40979 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40980 * sysdeps/powerpc/ifunc-sel.h: ... here.
40981 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40982 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40984 * sysdeps/sparc/elf/configure.in: Moved to ...
40985 * sysdeps/sparc/configure.in: ... here.
40986 * sysdeps/sparc/elf/configure: Delete file.
40987 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40988 * sysdeps/sparc/sparc32/start.S: ... here.
40989 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40990 * sysdeps/sparc/sparc64/start.S: ... here.
40991 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40992 * sysdeps/sparc/sparc32/Makefile: ... this.
40993 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40994 * sysdeps/sparc/sparc64/Makefile: ... this.
40996 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40997 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40998 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40999 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41000 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41001 * sysdeps/s390/s390-32/setjmp.S: ... here.
41002 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41003 * sysdeps/s390/s390-32/configure.in: ... here.
41004 * sysdeps/s390/s390-32/elf/configure: Delete file.
41005 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41006 * sysdeps/s390/s390-32/start.S: ... here.
41008 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41009 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41010 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41011 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41012 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41013 * sysdeps/s390/s390-64/setjmp.S: ... here.
41014 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41015 * sysdeps/s390/s390-64/configure.in: ... here
41016 * sysdeps/s390/s390-64/elf/configure: Delete file.
41017 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41018 * sysdeps/s390/s390-64/start.S: ... here.
41019 * sysdeps/s390/s390-64/elf/configure: Delete.
41021 * configure.in: Remove support for elf directories in sysdeps.
41023 * configure: Regenerated.
41024 * sysdeps/i386/configure: Regenerated.
41025 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41026 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41027 * sysdeps/s390/s390-32/configure: Regenerated.
41028 * sysdeps/s390/s390-64/configure: Regenerated.
41029 * sysdeps/sh/configure: Regenerated.
41030 * sysdeps/sparc/configure: Regenerated.
41031 * sysdeps/x86_64/configure: Regenerated.
41033 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41037 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41038 denormal result into account.
41040 2012-03-25 Roland McGrath <roland@hack.frob.com>
41042 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41043 Reported by Allan McRae <allan@archlinux.org>.
41045 2012-03-23 Jeff Law <law@redhat.com>
41047 * nss/getnssent.c (__nss_getent): Fix typo.
41049 2012-03-23 David S. Miller <davem@davemloft.net>
41051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41053 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41055 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41056 to pad to uint64_t for each field.
41057 (dl_tls_index): Replace unsigned long with uint64_t.
41059 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41060 Paul Pluzhnikov <ppluzhnikov@google.com>
41063 * grp/Makefile (otherlibs): Don't set it.
41064 * inet/Makefile (otherlibs): Likewise.
41065 * login/Makefile (otherlibs): Likewise.
41066 * nscd/Makefile (otherlibs): Likewise.
41067 * posix/Makefile (otherlibs): Likewise.
41068 * pwd/Makefile (otherlibs): Likewise.
41069 * rt/Makefile (otherlibs): Likewise.
41070 * sunrpc/Makefile (otherlibs): Likewise.
41071 * nss/Makefile (otherlibs): Likewise.
41072 Add libnss_files to routines and static-only-routines.
41073 ($(objpfx)getent): Remove rule.
41074 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41075 static-only-routines.
41077 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41080 * math/s_cexp.c: Include <float.h>.
41081 (__cexp): Handle exp result overflowing not necessarily
41082 overflowing both real and imaginary parts of result.
41083 * math/s_cexpf.c: Likewise.
41084 * math/s_cexpl.c: Likewise.
41085 * math/libm-test.inc (cexp_test): Add more tests.
41086 * sysdeps/i386/fpu/libm-test-ulps: Update.
41087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41089 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41091 * include/link.h (ELFW): New macro.
41092 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41093 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41095 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41097 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41100 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41102 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41104 (struct La_x32_retval): Likewise.
41106 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41108 * sysdeps/x86_64/preconfigure.in: New file.
41109 * sysdeps/x86_64/preconfigure: New generated file.
41111 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41114 * math/e_exp2l.c: Include <float.h>.
41115 (__ieee754_exp2l): Handle overflow and underflow cases
41116 separately. Only pass fractional part of argument to
41118 * math/libm-test.inc (exp2_test): Add more tests.
41120 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41121 negating x to take absolute value.
41122 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41124 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41125 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41127 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41128 computing low part if x was negated.
41129 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41131 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41133 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41134 la_x32_gnu_pltexit.
41135 (pltexit): Cast int_retval to ptrdiff_t.
41136 * elf/tst-auditmod3b.c: Likewise.
41137 * elf/tst-auditmod4b.c: Likewise.
41138 * elf/tst-auditmod5b.c: Likewise.
41139 * elf/tst-auditmod6b.c: Likewise.
41140 * elf/tst-auditmod6c.c: Likewise.
41141 * elf/tst-auditmod7b.c: Likewise.
41143 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41144 and x32_gnu_pltexit.
41146 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41147 __ELF_NATIVE_CLASS.
41148 (La_x32_regs): New macro.
41149 (La_x32_retval): Likewise.
41150 (la_x32_gnu_pltenter): New function prototype.
41151 (la_x32_gnu_pltexit): Likewise.
41153 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41160 * configure.in (libc_cv_cc_nofma): Check for option to disable
41161 generation of FMA instructions.
41162 * configure: Regenerate.
41163 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41164 * sysdeps/ieee754/dbl-64/Makefile: New file.
41165 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41166 Remove brandred-fma4.
41167 (CFLAGS-brandred-fma4.c): Remove.
41168 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41169 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41171 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41174 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41176 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41177 LLONG_MAX != LONG_MAX.
41178 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41179 (_fitoa_word): Likewise.
41180 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41181 LLONG_MAX != LONG_MAX.
41182 * stdio-common/_itowa.h: Include <_itoa.h>.
41183 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41184 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41185 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41186 only if not defined.
41187 (_ITOA_WORD_TYPE): Likewise.
41188 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41189 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41191 2012-03-21 David S. Miller <davem@davemloft.net>
41193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41195 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41197 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41198 of x86_64 when setting libc_cv_slibdir, libdir and
41200 * sysdeps/unix/sysv/linux/configure: Regenerated.
41202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41204 * manual/lang.texi (Old Varargs): Remove section.
41205 (How Variadic): Update menu.
41206 (va_start): Do not mention varargs.h.
41208 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41209 Joseph Myers <joseph@codesourcery.com>
41211 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41213 * configure: Regenerated.
41215 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41217 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41218 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41221 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41224 * Makefile (files-for-dist): Remove NOTES.
41225 (NOTES): Remove rule.
41226 * README: Don't refer to NOTES.
41227 * manual/creature.texi: Don't include macros.texi.
41228 * manual/intro.texi (creature.texi): Remove comment referring to
41231 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41232 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41233 * configure: Regenerated.
41234 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41235 LIBC_TRY_CC_OPTION.
41236 (libc_cv_as_i686): Likewise.
41237 (libc_cv_cc_avx): Likewise.
41238 (libc_cv_cc_sse2avx): Likewise.
41239 (libc_cv_cc_fma4): Likewise.
41240 (libc_cv_cc_novzeroupper): Likewise.
41241 * sysdeps/i386/configure: Regenerated.
41244 * sysdeps/i386/fpu/s_cexp.S: Remove.
41245 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41246 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41247 * math/libm-test.inc (cexp_test): Add more tests.
41248 * sysdeps/i386/fpu/libm-test-ulps: Update.
41249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41251 2012-03-21 Allan McRae <allan@archlinux.org>
41253 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41255 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41258 * math/w_exp2.c: Do not include <float.h>.
41259 (o_threshold, u_threshold): Remove.
41260 (__exp2): Calculate result before checking finiteness and calling
41262 * math/w_exp2f.c: Likewise.
41263 * math/w_exp2l.c: Likewise.
41264 * math/libm-test.inc (exp2_test): Require overflow exception for
41268 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41269 range of signed 64-bit integers before using fistpll. Remove
41270 checks for whether integers fit in mantissa bits.
41271 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41272 the range of signed 32-bit integers before using fistpl. Remove
41273 checks for whether integers fit in mantissa bits.
41274 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41275 (__ieee754_powl): Test for y outside the range of signed 64-bit
41276 integers before using fistpll. Reduce 64-bit values to 63-bit
41278 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41279 divide-by-zero is raised for zero to large negative powers.
41280 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41281 (__ieee754_powl): Test for y outside the range of signed 64-bit
41282 integers before using fistpll. Reduce 64-bit values to 63-bit
41284 * math/libm-test.inc (pow_test): Add more tests.
41286 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41288 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41289 <stdio-common/_itoa.h>.
41290 * debug/segfault.c: Likewise.
41291 * elf/dl-cache.c: Likewise.
41292 * elf/dl-minimal.c: Likewise.
41293 * elf/dl-misc.c: Likewise.
41294 * elf/dl-sysdep.c: Likewise.
41295 * elf/dl-version.c: Likewise.
41296 * elf/rtld.c: Likewise.
41297 * hurd/hurdsock.c: Likewise.
41298 * hurd/lookup-retry.c: Likewise.
41299 * malloc/malloc.c: Likewise.
41300 * malloc/mtrace.c: Likewise.
41301 * nscd/nscd_getgr_r.c: Likewise.
41302 * nscd/nscd_getpw_r.c: Likewise.
41303 * nscd/nscd_getserv_r.c: Likewise.
41304 * posix/getopt_init.c: Likewise.
41305 * posix/wordexp.c: Likewise.
41306 * stdio-common/_itoa.c: Likewise.
41307 * stdio-common/printf_fphex.c: Likewise.
41308 * stdio-common/vfprintf.c: Likewise.
41309 * string/_strerror.c: Likewise.
41310 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41311 * sysdeps/i386/i686/hp-timing.h: Likewise.
41312 * sysdeps/mach/_strerror.c: Likewise.
41313 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41314 * sysdeps/mach/hurd/sethostid.c: Likewise.
41315 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41316 * sysdeps/mach/xpg-strerror.c: Likewise.
41317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41318 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41319 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41320 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41321 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41322 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41323 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41324 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41325 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41326 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41327 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41328 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41329 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41330 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41331 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41332 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41333 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41334 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41335 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41336 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41337 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41339 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41341 * stdio-common/_itoa.h: Moved to ...
41342 * sysdeps/generic/_itoa.h: Here.
41344 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41346 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41347 instead of "_itoa.h" and "_itowa.h".
41348 * stdio-common/vfprintf.: Likewise.
41350 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41352 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41354 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41355 (__signbit): Likwise.
41356 (llrintf): Likwise.
41359 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41361 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41364 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41366 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41367 OVERFLOW_EXCEPTION_OK.
41368 * math/libm-test.inc ("Philosophy"): Update comment about
41370 (OVERFLOW_EXCEPTION): Define.
41371 (OVERFLOW_EXCEPTION_OK): Likewise.
41372 (INVALID_EXCEPTION_OK): Renumber.
41373 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41374 (IGNORE_ZERO_INF_SIGN): Likewise.
41375 (test_exceptions): Handle FE_OVERFLOW.
41376 (exp10_test): Expect overflow exceptions.
41377 (exp2_test): Likewise.
41378 (expm1_test): Likewise.
41379 (nextafter_test): Likewise.
41380 (pow_test): Likewise.
41381 (scalbn_test): Likewise.
41382 (scalbln_test): Likewise.
41384 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41386 * sysdeps/x86_64/bits/atomic.h
41387 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41389 (atomic_exchange_acq): Likewise.
41390 (__arch_exchange_and_add_body): Likewise.
41391 (__arch_add_body): Likewise.
41392 (atomic_add_negative): Likewise.
41393 (atomic_add_zero): Likewise.
41395 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41397 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41398 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41400 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41402 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41403 Check __x86_64__ instead of __WORDSIZE.
41405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41407 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41409 2012-03-19 David S. Miller <davem@davemloft.net>
41411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41413 * sysdeps/sparc/fpu/fenv_private.h: New file.
41414 * sysdeps/sparc/fpu/math_private.h: Use it.
41415 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41417 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41418 (libc_feholdexcept_setroundl): Remove.
41419 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41421 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41422 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41424 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41426 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41427 int64_t instead of long int.
41428 (INSERT_WORDS64): Likwise.
41430 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41432 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41433 _Unwind_GetCFA return to _Unwind_Ptr first.
41435 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41438 * math/s_clog.c: Include <float.h>.
41439 (__clog): Scale large or subnormal inputs.
41440 * math/s_clogf.c: Likewise.
41441 * math/s_clogl.c: Likewise.
41442 * math/s_clog10.c: Include <float.h>.
41443 (M_LOG10_2): Define.
41444 (__clog10): Scale large or subnormal inputs.
41445 * math/s_clog10f.c: Likewise.
41446 * math/s_clog10l.c: Likewise.
41447 * math/libm-test.inc (clog_test): Add more tests.
41448 (clog10_test): Likewise.
41449 * sysdeps/i386/fpu/libm-test-ulps: Update.
41450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41453 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41455 * math/libm-test.inc (atan2_test): Add another test.
41457 * Makerules (common-objdir-compile): Remove.
41458 * sysdeps/unix/Makefile (config-generated): Do not add
41459 $(unix-generated) to variable.
41460 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41461 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41463 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41465 [generic bits/local_lim.h] (before-compile): Do not append to
41467 [generic bits/local_lim.h] (common-generated): Likewise.
41468 [generic sys/param.h] (before-compile): Do not append to variable.
41469 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41470 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41471 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41472 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41474 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41475 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41476 [generic sys/param.h] ($(addprefix
41477 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41478 [generic sys/param.h] (common-generated): Do not append to
41480 [generic sys/param.h] (sysdep_headers): Likewise.
41481 [generic bits/errno.h] (before-compile): Do not append to
41483 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41485 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41486 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41487 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41488 [generic bits/errno.h] (common-generated): Do not append to
41490 [generic bits/ioctls.h] (before-compile): Do not append to
41492 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41494 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41495 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41496 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41498 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41499 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41500 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41501 [generic bits/ioctls.h] (common-generated): Do not append to
41503 [generic sys/syscall.h] (syscall.h): Remove variable.
41504 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41506 [generic sys/syscall.h] (before-compile): Do not append to
41508 [generic sys/syscall.h] (common-generated): Likewise.
41509 * sysdeps/unix/errnos-tmpl.c: Remove file.
41510 * sysdeps/unix/errnos.awk: Likewise.
41511 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41512 * sysdeps/unix/ioctls.awk: Likewise.
41513 * sysdeps/unix/mk-local_lim.c: Likewise.
41514 * sysdeps/unix/snarf-ioctls: Likewise.
41516 2012-03-19 Richard Henderson <rth@twiddle.net>
41518 * sysdeps/i386/fpu/fenv_private.h: New file.
41519 * sysdeps/i386/fpu/math_private.h: Use it.
41520 (math_opt_barrier, math_force_eval): Remove.
41521 (libc_feholdexcept_setround_53bit): Remove.
41522 (libc_feupdateenv_53bit): Remove.
41523 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41524 (math_opt_barrier, math_force_eval): Remove.
41525 (libc_feholdexcept): Remove.
41526 (libc_feholdexcept_setround): Remove.
41527 (libc_fetestexcept, libc_fesetenv): Remove.
41528 (libc_feupdateenv_test): Remove.
41529 (libc_feupdateenv, libc_feholdsetround): Remove.
41530 (libc_feresetround): Remove.
41532 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41533 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41535 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41536 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41537 (libc_feupdateenv_testl): New.
41538 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41539 (libc_feupdateenv_testf): New.
41540 (libc_feupdateenv): Use libc_feupdateenv_test.
41541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41544 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41545 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41546 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41547 (libc_feresetround_noex): New.
41548 (libc_feresetround_noexf): New.
41549 (libc_feresetround_noexl): New.
41550 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41551 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41552 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41553 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41555 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41556 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41558 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41559 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41560 SET_RESTORE_ROUND_NOEX.
41561 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41562 SET_RESTORE_ROUND_NOEXF.
41563 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41564 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41565 (libc_feholdsetroundf): New.
41566 (libc_feresetround, libc_feresetroundf): New.
41568 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41569 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41570 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41572 * sysdeps/generic/math_private.h: Include <fenv.h>.
41573 (default_libc_feholdexcept): New.
41574 (default_libc_feholdexcept_setround): New.
41575 (default_libc_fesetenv, default_libc_feupdateenv): New.
41576 (libc_feholdexcept): Only define if undefined.
41577 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41578 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41579 (libc_feholdexcept_setroundl): Likewise.
41580 (libc_feholdexcept_setround_53bit): Likewise.
41581 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41582 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41583 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41584 (libc_feupdateenv_53bit): Likewise.
41585 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41586 (libc_feholdexcept): Convert from macro to inline function.
41587 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41588 (libc_fesetenv, libc_feupdateenv): Likewise.
41590 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41591 not previously defined.
41592 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41593 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41594 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41595 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41596 * sysdeps/ieee754/flt-32/math_private.h: New file.
41597 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41598 math_private.h below SET_FLOAT_WORD.
41599 (__isnan, __isinf_ns, __finite): Remove.
41600 (__isnanf, __isinf_nsf, __finitef): Remove.
41602 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41606 2012-03-17 David S. Miller <davem@davemloft.net>
41609 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41612 2012-03-16 David S. Miller <davem@davemloft.net>
41614 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41618 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41620 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41621 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41622 sysdep_routines when subdir is sysvipc.
41623 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41624 __getshmlba helper.
41626 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41628 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41630 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41633 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41635 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41636 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41637 (__lround): Renamed to ...
41638 (__llround): This. Replace long int with long long int.
41639 Define lround functions as aliases of llround functions.
41640 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41642 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41644 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41645 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41646 adresses to uintptr_t. Replace "long int" and "unsigned long
41647 int" with "greg_t" on va_arg.
41649 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41651 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41652 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41654 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41655 Move e_machine check before EI_CLASS check. Handle x32
41656 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41657 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41658 SKIP_EM_IA_64 and include
41659 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41661 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41662 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41663 (add_system_dir): New macro.
41665 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41666 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41668 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41679 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41681 * math/w_j0f.c (j0f): Likewise.
41683 * math/w_j0l.c (__j0l): Likewise.
41685 * math/w_j1.c (j1): Likewise.
41687 * math/w_j1f.c (j1f): Likewise.
41689 * math/w_j1l.c (__j1l): Likewise.
41691 * math/w_jn.c (jn): Likewise.
41693 * math/w_jnf.c (jnf): Likewise.
41695 * math/w_jnl.c (__jnl): Likewise.
41697 * math/libm-test.inc (j0_test): Add more tests.
41698 (j1_test): Likewise.
41699 (jn_test): Likewise. Add trailing semicolon to existing test.
41700 (y0_test): Likewise.
41701 (y1_test): Likewise.
41702 * sysdeps/i386/fpu/libm-test-ulps: Update.
41703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41707 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41708 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41709 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41710 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41711 (__tanl): Set errno for infinite argument.
41712 * sysdeps/i386/fpu/mptan.c: Remove.
41713 * sysdeps/i386/fpu/s_tan.S: Likewise.
41714 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41715 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41716 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41717 * math/libm-test.inc (tan_test): Add more tests and enable more
41718 tests for double and long double.
41719 * sysdeps/i386/fpu/libm-test-ulps: Update.
41720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41722 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41724 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41725 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41727 2012-03-16 Roland McGrath <roland@hack.frob.com>
41729 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41730 * configure.in: Use it for both main tree and add-ons.
41731 * configure: Regenerated.
41733 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41735 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41737 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41739 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41743 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41744 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41745 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41746 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41747 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41749 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41751 != 0 for prec == 2.
41752 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41753 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41754 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41755 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41756 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41757 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41758 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41759 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41760 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41761 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41762 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41763 * math/libm-test.inc (cos_test): Add more tests and enable more
41764 tests for long double.
41765 (sin_test): Likewise.
41766 (sincos_test): Likewise.
41767 * sysdeps/i386/fpu/libm-test-ulps: Update.
41768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41770 2012-03-16 David S. Miller <davem@davemloft.net>
41772 * sysdeps/sparc/fpu/math_private.h: New file.
41774 2012-03-15 David S. Miller <davem@davemloft.net>
41776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41786 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41790 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41791 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41793 * sysdeps/sparc/sparc-ifunc.h: New file.
41794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41820 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41821 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41826 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41830 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41839 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41841 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41845 2012-03-15 Andreas Jaeger <aj@suse.de>
41848 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41849 ieee754/flt-32 implementation for sin, cos and sincos.
41850 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41851 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41852 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41853 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41854 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41855 ieee754/flt-32 implementation for tan.
41857 * math/libm-test.inc (cos_test): Enable some large input tests for
41859 (sin_test): Likewise.
41860 (sincos_test): Likewise.
41861 (tan_test): Add tests for large input.
41863 * sysdeps/i386/fpu/libm-test-ulps: Update.
41865 2012-03-15 Andreas Jaeger <aj@suse.de>
41868 * math/libm-test.inc (cos_test): Add more test cases.
41869 (sin_test): Likewise.
41870 (sincos_test): Likewise.
41872 2012-03-15 Andreas Jaeger <aj@suse.de>
41875 * math/libm-test.inc (cos_test): Add a test case for large input
41877 (sin_test): Likewise.
41878 (sincos_test): Likewise.
41880 2012-03-15 Andreas Jaeger <aj@suse.de>
41881 Joseph Myers <joseph@codesourcery.com>
41884 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41885 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41886 * sysdeps/i386/fpu/branred.c: Likewise.
41887 * sysdeps/i386/fpu/dosincos.c: Likewise.
41888 * sysdeps/i386/fpu/mpa.c: Likewise.
41889 * sysdeps/i386/fpu/s_cos.S: Likewise.
41890 * sysdeps/i386/fpu/s_sin.S: Likewise.
41891 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41892 * sysdeps/i386/fpu/sincos32.c: Likewise.
41894 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41896 (libc_feupdateenv_53bit): Define.
41897 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41899 (libc_feupdateenv_53bit): Define.
41901 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41902 53 bit (without extend i386 double precision).
41904 * math/libm-test.inc (sincos_test): Add tests for large input.
41908 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41910 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41914 2012-03-15 David S. Miller <davem@davemloft.net>
41916 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41917 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41918 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41919 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41943 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41944 fmin/fmax sysdep routines.
41945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41947 2012-03-14 David S. Miller <davem@davemloft.net>
41949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41954 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41955 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41969 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41977 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42021 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42026 * sysdeps/sparc/configure.in: New file.
42027 * sysdeps/sparc/configure: Generate.
42028 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42029 * configure: Regenerate.
42030 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42031 * config.make.in (have-as-vis3): New.
42032 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42033 available use -Av9d instead of -Av9a.
42034 * sysdeps/sparc/sparc64/Makefile: Likewise.
42035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42045 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42046 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42047 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42050 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42051 fzeros/fnegs to load 0x80000000 into a float register instead of
42053 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42055 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42059 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42060 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42061 ($(inst_includedir)/bits/syscall.h): Remove rule.
42062 ($(objpfx)bits/syscall.d): Include instead of
42063 $(objpfx)syscall-list.d.
42064 (generated): Change syscall-list.h and syscall-list.d to
42065 bits/syscall.h and bits/syscall.d.
42067 2012-03-14 Roland McGrath <roland@hack.frob.com>
42070 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42072 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42075 * math/s_csqrt.c: Include <float.h>.
42076 (__csqrt): Scale large or subnormal inputs.
42077 * math/s_csqrtf.c: Likewise.
42078 * math/s_csqrtl.c: Likewise.
42079 * math/libm-test.inc (csqrt_test): Add more tests.
42080 * sysdeps/i386/fpu/libm-test-ulps: Update.
42081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42084 * math/libm-test.inc (hypot_test): Add more tests.
42086 2012-03-13 David S. Miller <davem@davemloft.net>
42089 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42090 double-precision for the calculation instead of scaling.
42092 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42094 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42095 manipulate bits before adding and subtracting TWO52[sx].
42096 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42099 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42101 2012-03-13 David S. Miller <davem@davemloft.net>
42103 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42104 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42106 rtld-global-offsets.h
42107 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42109 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42112 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42114 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42115 'err' in the ifdef scope in which it is actually used.
42117 * nss/nss_db/db-init.c: Include string.h
42119 2012-03-12 David S. Miller <davem@davemloft.net>
42121 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42122 masking out of the most significant byte of random value used.
42123 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42124 Fix coding style in previous change.
42126 * sysdeps/unix/sysv/linux/kernel-features.h
42127 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42128 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42130 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42133 2012-03-11 David S. Miller <davem@davemloft.net>
42135 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42136 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42137 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42138 for 'resultvar' otherwise things get truncated on 64-bit.
42140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42141 Fix masking out of the most significant byte of random value used.
42143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42145 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42149 2012-03-09 David S. Miller <davem@davemloft.net>
42151 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42152 variables with appropriate CPP guards.
42153 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42154 from the frame pointer, not the stack pointer. Correct layout
42155 comments. Fix test on resulting framesize and the management of
42156 the outregs buffer for pltexit. Preserve floating point return
42157 values across _dl_call_pltexit call.
42158 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42159 framesize and the management of the outregs buffer for pltexit.
42160 Preserve floating point return values across _dl_call_pltexit
42162 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42163 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42164 (la_sparc64_gnu_pltexit): New functions.
42165 (print_exit): Fix format string for return register value.
42167 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42169 * sunrpc/Makefile (others): Add rpcgen.
42170 ($(objpfx)rpcgen): Remove special build rule and dependency on
42172 * sunrpc/rpcgen.c: New file.
42174 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42177 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42178 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42179 * sysdeps/i386/crti.S: Likewise.
42180 * sysdeps/i386/crtn.S: Likewise.
42181 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42182 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42183 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42184 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42185 * sysdeps/sh/crti.S: Likewise.
42186 * sysdeps/sh/crtn.S: Likewise.
42187 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42190 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42192 * locale/programs/locfile-kw.gperf: Likewise.
42193 * locale/programs/charmap-kw.h: Regenerated.
42194 * locale/programs/locfile-kw.h: Likewise.
42197 * intl/plural.y: Replace FSF snail mail address with URL.
42198 * intl/plural.c: Regenerated.
42200 2012-03-09 Richard Henderson <rth@twiddle.net>
42202 * include/math_private.h: Remove file.
42203 * math/math_private.h: Move file ...
42204 * sysdeps/generic/math_private.h: ... here.
42206 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42207 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42208 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42210 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42211 and <math_private.h>.
42212 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42213 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42214 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42215 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42216 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42220 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42223 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42224 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42225 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42228 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42229 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42230 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42231 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42233 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42234 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42237 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42238 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42242 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42244 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42245 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42246 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42248 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42249 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42250 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42251 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42252 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42253 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42254 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42255 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42256 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42257 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42258 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42259 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42261 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42262 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42263 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42264 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42265 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42266 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42267 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42268 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42269 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42270 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42271 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42272 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42273 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42275 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42276 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42279 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42291 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42292 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42293 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42294 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42295 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42297 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42299 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42300 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42301 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42302 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42303 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42305 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42306 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42308 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42309 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42310 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42311 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42312 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42313 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42314 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42316 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42317 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42318 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42319 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42320 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42322 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42323 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42325 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42326 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42327 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42328 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42329 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42330 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42331 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42332 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42333 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42334 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42335 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42336 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42337 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42338 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42339 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42340 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42341 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42342 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42343 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42344 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42345 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42346 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42347 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42348 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42349 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42350 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42351 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42352 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42353 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42354 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42355 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42356 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42357 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42358 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42359 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42360 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42361 * sysdeps/ieee754/k_standard.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42403 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42404 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42412 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42420 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42421 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42446 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42466 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42467 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42477 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42479 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42481 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42482 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42484 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42489 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42492 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42494 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42496 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42498 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42499 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42501 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42502 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42503 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42504 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42505 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42506 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42510 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42511 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42512 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42513 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42514 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42515 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42516 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42517 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42518 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42519 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42520 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42521 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42522 * sysdeps/ieee754/s_lib_version.c: Likewise.
42523 * sysdeps/ieee754/s_matherr.c: Likewise.
42524 * sysdeps/ieee754/s_signgam.c: Likewise.
42525 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42526 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42528 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42529 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42530 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42531 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42532 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42533 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42534 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42535 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42536 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42537 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42538 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42539 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42540 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42541 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42542 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42543 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42544 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42545 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42547 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42549 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42550 * sunrpc/rpc_main.c: Likewise.
42551 * sunrpc/rpc_svcout.c: Likewise.
42553 2012-03-09 David S. Miller <davem@davemloft.net>
42555 * include/math_private.h: New file.
42557 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42559 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42560 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42561 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42562 from <bits/socket_type.h>.
42563 (enum __socket_type): Don't define here.
42564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42566 bits/socket_type.h.
42569 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42570 checking __USE_GNU.
42572 * Makerules ($(inst_includedir)/%.h): New rule.
42573 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42574 (install-others): Remove variable setting.
42575 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42577 2012-03-08 Richard Henderson <rth@twiddle.net>
42579 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42580 from macro to inline function; merge with the
42581 !__LIBC_INTERNAL_MATH_INLINES version.
42582 (__ieee754_sqrtf): Likewise.
42584 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42585 to inline function.
42586 (__rintf, __floor, __floorf): Likewise.
42588 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42589 macro to inline function.
42590 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42593 not <math/math_private.h>.
42595 2012-03-08 David S. Miller <davem@davemloft.net>
42597 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42599 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42601 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42603 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42605 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42606 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42608 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42610 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42611 be defined individually, they must be defined as a block. Define
42612 S for printing a string instead of hidint the different by using a
42613 macro for adding the 'l'.
42614 * stdio-common/tst-fphex-wide.c: Adjust.
42616 2012-03-07 Marek Polacek <polacek@redhat.com>
42618 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42620 2012-03-08 Marek Polacek <polacek@redhat.com>
42623 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42624 * stdio-common/tst-fphex.c: Define a few macros to make the
42625 test reusable. Use them.
42626 * stdio-common/tst-fphex-wide.c: New file.
42628 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42631 * manual/macros.texi (gnusystems): New macro.
42632 (nongnusystems): Likewise.
42633 (gnulinuxhurdsystems): Likewise.
42634 (gnuhurdsystems): Likewise..
42635 (gnulinuxsystems): Likewise.
42636 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42637 variants of the GNU system, not "GNU system".
42638 * manual/conf.texi: Likewise.
42639 * manual/errno.texi: Likewise. Update example of errno macro
42641 * manual/filesys.texi: Likewise.
42642 (getumask): Document as specific to GNU/Hurd.
42643 * manual/install.texi: Likewise. Reword some references to
42645 * manual/intro.texi: Likewise.
42646 * manual/io.texi: Likewise.
42647 (File Name Portability): Detail which constraints are inapplicable
42648 to all GNU systems and which are only inapplicable to GNU/Hurd.
42649 * manual/job.texi: Likewise.
42650 * manual/llio.texi: Likewise.
42651 (O_NOCTTY): Document as present on GNU/Linux.
42652 * manual/maint.texi: Likewise.
42653 * manual/memory.texi: Likewise.
42654 * manual/pattern.texi: Likewise.
42655 * manual/pipe.texi: Likewise.
42656 * manual/process.texi: Likewise.
42657 * manual/resource.texi: Likewise.
42658 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42660 * manual/setjmp.texi: Likewise.
42661 * manual/signal.texi: Likewise.
42662 * manual/startup.texi: Likewise.
42663 * manual/stdio.texi: Likewise.
42664 * manual/terminal.texi: Likewise.
42665 (ONLCR): Document as POSIX.
42666 (OXTABS): Document availability on GNU/Linux as XTABS.
42667 (ONOEOT): Document availability separately from other bits.
42668 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42669 * manual/time.texi: Likewise.
42670 * manual/users.texi: Likewise.
42671 * INSTALL: Regenerated.
42672 * sysdeps/gnu/errlist.c: Regenerated.
42674 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42675 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42676 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42678 * configure: Regenerated.
42680 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42682 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42683 default includes instead of AC_HEADER_CHECK.
42684 * sysdeps/i386/configure: Regenerated.
42687 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42688 * math/s_cacoshf.c (__cacoshf): Likewise.
42689 * math/s_cacoshl.c (__cacoshl): Likewise.
42690 * math/s_casinh.c (__casinh): Set signs of result from argument.
42691 * math/s_casinhf.c (__casinhf): Likewise.
42692 * math/s_casinhl.c (__casinhl): Likewise.
42693 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42694 (casinh_test): Add more tests.
42695 * sysdeps/i386/fpu/libm-test-ulps: Update.
42696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42698 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42700 * po/zh_TW.po: Update from translation team.
42702 * login/Makefile (distribute): Remove variable.
42703 * catgets/Makefile: Likewise.
42704 * mach/Makefile: Likewise.
42705 * malloc/Makefile: Likewise.
42706 * misc/Makefile: Likewise.
42707 * iconv/Makefile: Likewise.
42708 * nscd/Makefile: Likewise.
42709 * hurd/Makefile: Likewise.
42710 * manual/Makefile: Likewise.
42711 * locale/Makefile: Likewise.
42712 * intl/Makefile: Likewise.
42713 * conform/Makefile: Likewise.
42714 * nss/Makefile: Likewise.
42715 * time/Makefile: Likewise.
42716 * soft-fp/Makefile: Likewise.
42717 * dirent/Makefile: Likewise.
42718 * gmon/Makefile: Likewise.
42719 * po/Makefile: Likewise.
42720 * rt/Makefile: Likewise.
42721 * socket/Makefile: Likewise.
42722 * math/Makefile: Likewise.
42723 * signal/Makefile: Likewise.
42724 * debug/Makefile: Likewise.
42725 * elf/Makefile: Likewise.
42726 * timezone/Makefile: Likewise.
42727 * stdlib/Makefile: Likewise.
42728 * iconvdata/Makefile: Likewise.
42729 * sunrpc/Makefile: Likewise.
42730 * io/Makefile: Likewise.
42731 * argp/Makefile: Likewise.
42732 * inet/Makefile: Likewise.
42733 * hesiod/Makefile: Likewise.
42734 * grp/Makefile: Likewise.
42735 * csu/Makefile: Likewise.
42736 * wctype/Makefile: Likewise.
42737 * crypt/Makefile: Likewise.
42738 * libio/Makefile: Likewise.
42739 * string/Makefile: Likewise.
42740 * nis/Makefile: Likewise.
42741 * resolv/Makefile: Likewise.
42742 * stdio-common/Makefile: Likewise.
42743 * wcsmbs/Makefile: Likewise.
42744 * dlfcn/Makefile: Likewise.
42745 * posix/Makefile: Likewise.
42748 * timezone/Makefile: Don't install timezone files, just the programs
42751 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42753 * nss/databases.def: Add missing gshadow entry.
42755 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42757 2012-03-06 Marek Polacek <polacek@redhat.com>
42760 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42761 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42762 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42763 * stdio-common/tst-long-dbl-fphex.c: New file.
42765 2012-03-06 David S. Miller <davem@davemloft.net>
42767 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42768 (set_obp_int): New function.
42769 (get_obp_int): New function.
42770 (__get_clockfreq_via_dev_openprom): Likewise.
42771 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42772 Avoid unused variable warnings on 'val' and use builtin_expect.
42773 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42775 (INLINE_CLONE_SYSCALL): Likewise.
42777 2012-03-05 David S. Miller <davem@davemloft.net>
42779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42781 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42785 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42786 only for |x| >= 40.
42787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42789 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42792 Replace gettimeofday with __vdso_gettimeofday.
42794 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42795 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42796 __vdso_clock_gettime and __vdso_getcpu.
42798 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42799 time with __vdso_time.
42801 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42803 * manual/lang.texi (size_t): Note types to which size_t may be
42804 equivalent with the GNU C Library, but do not describe when
42805 differences between them are significant.
42807 2012-03-05 Andreas Jaeger <aj@suse.de>
42809 * sysdeps/i386/fpu/libm-test-ulps: Update.
42811 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42814 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42815 (__ieee754_pow): Save and restore rounding mode and use
42816 round-to-nearest for main computations.
42817 * math/libm-test.inc (pow_test_tonearest): New function.
42818 (pow_test_towardzero): Likewise.
42819 (pow_test_downward): Likewise.
42820 (pow_test_upward): Likewise.
42821 (main): Call the new functions.
42822 * sysdeps/i386/fpu/libm-test-ulps: Update.
42823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42826 * math/libm-test.inc (cosh_test_tonearest): New function.
42827 (cosh_test_towardzero): Likewise.
42828 (cosh_test_downward): Likewise.
42829 (cosh_test_upward): Likewise.
42830 (sinh_test_tonearest): Likewise.
42831 (sinh_test_towardzero): Likewise.
42832 (sinh_test_downward): Likewise.
42833 (sinh_test_upward): Likewise.
42834 (main): Call the new functions.
42835 * sysdeps/i386/fpu/libm-test-ulps: Update.
42836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42838 2012-03-05 Tom de Vries <tom@codesourcery.com>
42840 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42841 default stack guard is set in last bytes.
42842 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42844 2012-03-05 Kees Cook <keescook@chromium.org>
42846 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42849 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42850 possibly allocate from heap instead of stack.
42851 * stdio-common/bug-vfprintf-nargs.c: New file.
42852 * stdio-common/Makefile (tests): Add nargs overflow test.
42854 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42858 2012-03-03 Marek Polacek <polacek@redhat.com>
42860 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42861 * math/math_private.h: Likewise.
42862 * stdlib/tst-strtod.c: Likewise.
42863 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42864 * sysdeps/x86_64/bits/atomic.h: Likewise.
42866 2012-03-02 David S. Miller <davem@davemloft.net>
42868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42872 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42873 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42874 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42875 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42877 2012-03-02 Roland McGrath <roland@hack.frob.com>
42880 * manual/examples/README: New file, says the example source files
42881 can be used under GPL>=2.
42882 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42883 line containing just "*/".
42884 * manual/examples/add.c: Add copyright header (GPL>=2).
42885 * manual/examples/argp-ex1.c: Likewise.
42886 * manual/examples/argp-ex2.c: Likewise.
42887 * manual/examples/argp-ex3.c: Likewise.
42888 * manual/examples/argp-ex4.c: Likewise.
42889 * manual/examples/atexit.c: Likewise.
42890 * manual/examples/db.c: Likewise.
42891 * manual/examples/dir.c: Likewise.
42892 * manual/examples/dir2.c: Likewise.
42893 * manual/examples/execinfo.c: Likewise.
42894 * manual/examples/filecli.c: Likewise.
42895 * manual/examples/filesrv.c: Likewise.
42896 * manual/examples/fmtmsgexpl.c: Likewise.
42897 * manual/examples/genpass.c: Likewise.
42898 * manual/examples/inetcli.c: Likewise.
42899 * manual/examples/inetsrv.c: Likewise.
42900 * manual/examples/isockad.c: Likewise.
42901 * manual/examples/longopt.c: Likewise.
42902 * manual/examples/memopen.c: Likewise.
42903 * manual/examples/memstrm.c: Likewise.
42904 * manual/examples/mkfsock.c: Likewise.
42905 * manual/examples/mkisock.c: Likewise.
42906 * manual/examples/mygetpass.c: Likewise.
42907 * manual/examples/pipe.c: Likewise.
42908 * manual/examples/popen.c: Likewise.
42909 * manual/examples/rprintf.c: Likewise.
42910 * manual/examples/search.c: Likewise.
42911 * manual/examples/select.c: Likewise.
42912 * manual/examples/setjmp.c: Likewise.
42913 * manual/examples/sigh1.c: Likewise.
42914 * manual/examples/sigusr.c: Likewise.
42915 * manual/examples/stpcpy.c: Likewise.
42916 * manual/examples/strdupa.c: Likewise.
42917 * manual/examples/strftim.c: Likewise.
42918 * manual/examples/strncat.c: Likewise.
42919 * manual/examples/subopt.c: Likewise.
42920 * manual/examples/swapcontext.c: Likewise.
42921 * manual/examples/termios.c: Likewise.
42922 * manual/examples/testopt.c: Likewise.
42923 * manual/examples/testpass.c: Likewise.
42924 * manual/examples/timeval_subtract.c: Likewise.
42927 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42929 * manual/timeval_subtract.c.texi: ... here, new file.
42931 2012-03-02 David S. Miller <davem@davemloft.net>
42933 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42935 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42938 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42939 (__sin): Save and restore rounding mode and use round-to-nearest
42940 for all computations.
42941 (__cos): Save and restore rounding mode and use round-to-nearest
42942 for all computations.
42943 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42945 (tan): Save and restore rounding mode and use round-to-nearest for
42947 * math/libm-test.inc (cos_test_tonearest): New function.
42948 (cos_test_towardzero): Likewise.
42949 (cos_test_downward): Likewise.
42950 (cos_test_upward): Likewise.
42951 (sin_test_tonearest): Likewise.
42952 (sin_test_towardzero): Likewise.
42953 (sin_test_downward): Likewise.
42954 (sin_test_upward): Likewise.
42955 (tan_test_tonearest): Likewise.
42956 (tan_test_towardzero): Likewise.
42957 (tan_test_downward): Likewise.
42958 (tan_test_upward): Likewise.
42959 (main): Call the new functions.
42960 * sysdeps/i386/fpu/libm-test-ulps: Update.
42961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42964 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42965 small n, then large n, before computing and testing k+n.
42966 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42971 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42972 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42973 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42974 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42975 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42976 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42977 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42978 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42979 * math/libm-test.inc (scalbn_test): Add more tests.
42980 (scalbln_test): Likewise.
42982 * manual/filesys.texi (mode_t): Describe constraints on size and
42983 signedness, not exact equivalence to a particular type.
42985 (ino64_t): Likewise.
42987 (nlink_t): Likewise.
42988 (blkcnt_t): Likewise.
42989 (blkcnt64_t): Likewise.
42990 * manual/llio.texi (off_t): Likewise.
42993 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42994 (__ieee754_exp): Save and restore rounding mode and use
42995 round-to-nearest for all computations.
42996 * math/libm-test.inc (exp_test_tonearest): New function.
42997 (exp_test_towardzero): Likewise.
42998 (exp_test_downward): Likewise.
42999 (exp_test_upward): Likewise.
43000 (main): Call the new functions.
43001 * sysdeps/i386/fpu/libm-test-ulps: Update.
43002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43004 2012-03-01 Chris Demetriou <cgd@google.com>
43006 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43007 have predictable order.
43009 2012-03-01 David S. Miller <davem@davemloft.net>
43011 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43013 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43014 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43015 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43016 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43018 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43019 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43020 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43022 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43023 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43024 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43025 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43026 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43030 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43031 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43032 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43034 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43035 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43036 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43037 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43038 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43039 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43040 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43041 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43042 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43043 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43044 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43047 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43048 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43049 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43050 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43051 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43052 * sysdeps/sparc/elf/configure: Regenerated.
43054 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43056 * configure.in (AS, LD): Require binutils 2.20 or later.
43057 * configure: Regenerated.
43058 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43059 as required minimum version.
43060 * INSTALL: Regenerated.
43064 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43065 before squaring exponent.
43066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43067 bottom long double and 27 bits of top long double before squaring
43069 * math/libm-test.inc (erfc_test): Add more tests.
43070 * sysdeps/i386/fpu/libm-test-ulps: Update.
43071 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43074 2012-03-01 Kai Tietz <ktietz@redhat.com>
43076 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43077 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43078 containing bit-fields.
43079 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43080 * soft-fp/single.h (_FP_UNION_S): Likewise.
43081 * soft-fp/double.h (_FP_UNION_D): Likewise.
43083 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43086 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43087 not include ../strcmp.S.
43088 [USE_AS_STRNCASECMP_L]: Likewise.
43089 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43090 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43091 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43092 (__strncasecmp_l_ia32): Define as alias to
43093 __strncasecmp_l_nonascii.
43096 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43097 * sysdeps/i386/fpu/libm-test-ulps: Update.
43098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43100 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43103 2012-02-29 Jeff Law <law@redhat.com>
43105 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43106 out of bounds read.
43108 2012-02-29 Marek Polacek <polacek@redhat.com>
43111 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43112 * elf/Makefile: Add rules to run tst-unused-dep.out.
43114 2012-02-28 David S. Miller <davem@davemloft.net>
43116 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43117 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43118 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43119 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43120 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43121 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43123 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43125 * math/libm-test.inc (llround_test): Move one test from
43126 lround_test. Use TEST_f_L in moved test.
43127 (lround_test): Move misplaced test to llround_test. Add testcase
43130 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43132 * sysdeps/x86_64/fpu/e_expf.S: New file.
43133 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43135 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43138 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43139 of remain_len that may cause incomplete multi-byte character and
43141 * posix/bug-regex33.c: New file.
43142 * posix/Makefile (tests): Add bug-regex33.
43144 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43146 * manual/macros.texi: New file.
43147 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43148 * manual/libc.texinfo: Include macros.texi.
43149 * manual/creatute.texi: Likewise.
43150 * manual/install.texi: Likewise.
43151 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43152 @glibcadj{} in references to the GNU C Library.
43153 * manual/charset.texi: Likewise.
43154 * manual/conf.texi: Likewise.
43155 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43156 when not using those macros.
43157 * manual/creature.texi: Likewise.
43158 * manual/crypt.texi: Likewise.
43159 * manual/errno.texi: Likewise.
43160 * manual/filesys.texi: Likewise.
43161 * manual/header.texi: Likewise.
43162 * manual/install.texi: Likewise.
43163 * manual/intro.texi: Likewise.
43164 * manual/io.texi: Likewise.
43165 * manual/job.texi: Likewise.
43166 * manual/lang.texi: Likewise.
43167 * manual/libc.texiinfo: Likewise.
43168 * manual/llio.texi: Likewise.
43169 * manual/locale.texi: Likewise.
43170 * manual/maint.texi: Likewise.
43171 * manual/math.texi: Likewise.
43172 * manual/memory.texi: Likewise.
43173 * manual/message.texi: Likewise.
43174 * manual/nss.texi: Likewise.
43175 * manual/pattern.texi: Likewise.
43176 * manual/process.texi: Likewise.
43177 * manual/resource.texi: Likewise.
43178 * manual/search.texi: Likewise.
43179 * manual/setjmp.texi: Likewise.
43180 * manual/signal.texi: Likewise.
43181 * manual/socket.texi: Likewise.
43182 * manual/startup.texi: Likewise.
43183 * manual/stdio.texi: Likewise.
43184 * manual/string.texi: Likewise.
43185 * manual/sysinfo.texi: Likewise.
43186 * manual/syslog.texi: Likewise.
43187 * manual/terminal.texi: Likewise.
43188 * manual/time.texi: Likewise.
43189 * manual/users.texi: Likewise.
43190 * INSTALL: Regenerated.
43191 * NOTES: Regenerated.
43192 * sysdeps/gnu/errlist.c: Regenerated.
43194 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43196 * include/dirent.h: Include <dirstream.h> before
43199 2012-02-28 David S. Miller <davem@davemloft.net>
43201 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43202 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43203 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43204 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43206 2012-02-27 David S. Miller <davem@davemloft.net>
43208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43210 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43211 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43214 frame pointer instead of stack pointer relative arg slot.
43215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43216 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43217 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43219 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43222 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43224 2012-02-27 David S. Miller <davem@davemloft.net>
43226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43230 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43231 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43232 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43233 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43235 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43237 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43238 later. Allow versions 5-9.
43239 * configure: Regenerated.
43240 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43241 required minimum version and 4.6 as recommended version. Do not
43242 mention bugs in GCC 2.7 and 2.8.
43243 * INSTALL: Regenerated.
43245 2012-02-27 David S. Miller <davem@davemloft.net>
43247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43251 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43252 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43253 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43254 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43257 manipulate bits before adding and subtracting TWO112[sx].
43258 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43260 2012-02-27 Roland McGrath <roland@hack.frob.com>
43263 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43264 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43265 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43266 being in POSIX, because they are in 1003.1-2008.
43268 * rt/tst-aio.c: Include <fcntl.h>.
43269 * rt/tst-aio7.c: Likewise.
43270 * rt/tst-aio64.c: Likewise.
43272 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43274 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43276 * manual/install.texi (--with-headers): Describe headers as
43277 interface headers, not private headers.
43278 (Specific advice for GNU/Linux systems): Describe use of headers
43279 from "make headers_install", not private headers from older
43281 * INSTALL: Regenerated.
43282 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43284 * sysdeps/unix/sysv/linux/configure: Regenerated.
43286 * manual/llio.texi (fclean): Remove documentation.
43288 * manual/Makefile (libc-texi-generated): New variable. Include
43290 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43291 $(libc-texi-generated), not duplicated list of files.
43292 (version.texi, stamp-version): New rules.
43293 (realclean): Remove $(libc-texi-generated), not individual files
43294 from that list. Do not remove dir-add.texinfo.
43295 * manual/libc.texinfo: Comment out uses of edition numbers and
43296 references to printed manual. Remove last-updated dates.
43297 (EDITION): Comment out.
43299 (VERSION, UPDATED): Remove.
43300 (version.texi): Include.
43302 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43304 * sysdeps/posix/spawni.c: Include <signal.h>.
43305 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43306 * sysdeps/pthread/aio_fsync.c: Likewise.
43308 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43310 * conform/Makefile (tests): Run only when not cross-compiling and
43311 when fast-check is not defined.
43313 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43314 * conform/data/limits.h-data: Fixes for POSIX2008.
43315 * conform/run-conformtest.sh: Run all tests.
43316 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43318 * include/bits/dlfcn.h: Likewise.
43319 * include/langinfo.h: Likewise.
43320 * include/monetary.h: Likewise.
43321 * include/sys/poll.h: Likewise.
43323 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43325 * posix/spawn.h: Define __need_sigset_t.
43326 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43327 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43328 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43329 to get sigevent_t only.
43330 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43331 only for __USE_GNU.
43332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43333 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43334 process_vm_writev only for __USE_GNU.
43335 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43337 * conform/Makefile: For now ignore errors from run-conformtest.
43338 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43339 POSIX to avoid namespace pollution. Don't prepend headers.
43340 * conform/data/aio.h-data: Fixes for POSIX testing.
43341 * conform/data/fcntl.h-data: Likewise.
43342 * conform/data/glob.h-data: Likewise.
43343 * conform/data/grp.h-data: Likewise.
43344 * conform/data/pthread.h-data: Likewise.
43345 * conform/data/pwd.h-data: Likewise.
43346 * conform/data/signal.h-data: Likewise.
43347 * conform/data/spawn.h-data: Likewise.
43348 * conform/data/stdio.h-data: Likewise.
43349 * conform/data/stdlib.h-data: Likewise.
43350 * conform/data/stropts.h-data: Likewise.
43351 * conform/data/sys/mman.h-data: Likewise.
43352 * conform/data/sys/stat.h-data: Likewise.
43353 * conform/data/sys/types.h-data: Likewise.
43354 * conform/data/sys/wait.h-data: Likewise.
43355 * conform/data/time.h-data: Likewise.
43356 * conform/data/unistd.h-data: Likewise.
43357 * conform/data/utime.h-data: Likewise.
43359 * io/sys/stat.h: fchmod was always in POSIX.
43360 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43361 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43362 * rt/aio.h: Define __need_timespec before including <time.h>.
43363 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43364 struct. Add forward declaration of pthread_attr_t and use it in
43366 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43367 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43368 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43369 always remove CLK_TCK definition.
43371 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43373 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43375 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43377 * conform/run-conformtest.sh: New file.
43378 * conform/Makefile: Run run-conformtest for tests.
43379 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43382 * conform/data/uchar.h-data: New file.
43383 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43384 * conform/data/arpa/inet.h-data: Likewise.
43385 * conform/data/assert.h-data: Likewise.
43386 * conform/data/complex.h-data: Likewise.
43387 * conform/data/cpio.h-data: Likewise.
43388 * conform/data/ctype.h-data: Likewise.
43389 * conform/data/dirent.h-data: Likewise.
43390 * conform/data/dlfcn.h-data: Likewise.
43391 * conform/data/errno.h-data: Likewise.
43392 * conform/data/fcntl.h-data: Likewise.
43393 * conform/data/float.h-data: Likewise.
43394 * conform/data/fmtmsg.h-data: Likewise.
43395 * conform/data/fnmatch.h-data: Likewise.
43396 * conform/data/ftw.h-data: Likewise.
43397 * conform/data/glob.h-data: Likewise.
43398 * conform/data/grp.h-data: Likewise.
43399 * conform/data/iconv.h-data: Likewise.
43400 * conform/data/inttypes.h-data: Likewise.
43401 * conform/data/langinfo.h-data: Likewise.
43402 * conform/data/libgen.h-data: Likewise.
43403 * conform/data/limits.h-data: Likewise.
43404 * conform/data/locale.h-data: Likewise.
43405 * conform/data/math.h-data: Likewise.
43406 * conform/data/monetary.h-data: Likewise.
43407 * conform/data/mqueue.h-data: Likewise.
43408 * conform/data/ndbm.h-data: Likewise.
43409 * conform/data/net/if.h-data: Likewise.
43410 * conform/data/netdb.h-data: Likewise.
43411 * conform/data/netinet/in.h-data: Likewise.
43412 * conform/data/nl_types.h-data: Likewise.
43413 * conform/data/poll.h-data: Likewise.
43414 * conform/data/pthread.h-data: Likewise.
43415 * conform/data/pwd.h-data: Likewise.
43416 * conform/data/regex.h-data: Likewise.
43417 * conform/data/sched.h-data: Likewise.
43418 * conform/data/search.h-data: Likewise.
43419 * conform/data/semaphore.h-data: Likewise.
43420 * conform/data/setjmp.h-data: Likewise.
43421 * conform/data/signal.h-data: Likewise.
43422 * conform/data/spawn.h-data: Likewise.
43423 * conform/data/stdarg.h-data: Likewise.
43424 * conform/data/stdio.h-data: Likewise.
43425 * conform/data/stdlib.h-data: Likewise.
43426 * conform/data/string.h-data: Likewise.
43427 * conform/data/strings.h-data: Likewise.
43428 * conform/data/stropts.h-data: Likewise.
43429 * conform/data/sys/ipc.h-data: Likewise.
43430 * conform/data/sys/mman.h-data: Likewise.
43431 * conform/data/sys/msg.h-data: Likewise.
43432 * conform/data/sys/resource.h-data: Likewise.
43433 * conform/data/sys/select.h-data: Likewise.
43434 * conform/data/sys/sem.h-data: Likewise.
43435 * conform/data/sys/shm.h-data: Likewise.
43436 * conform/data/sys/socket.h-data: Likewise.
43437 * conform/data/sys/stat.h-data: Likewise.
43438 * conform/data/sys/statvfs.h-data: Likewise.
43439 * conform/data/sys/time.h-data: Likewise.
43440 * conform/data/sys/timeb.h-data: Likewise.
43441 * conform/data/sys/times.h-data: Likewise.
43442 * conform/data/sys/types.h-data: Likewise.
43443 * conform/data/sys/uio.h-data: Likewise.
43444 * conform/data/sys/un.h-data: Likewise.
43445 * conform/data/sys/utsname.h-data: Likewise.
43446 * conform/data/sys/wait.h-data: Likewise.
43447 * conform/data/syslog.h-data: Likewise.
43448 * conform/data/tar.h-data: Likewise.
43449 * conform/data/termios.h-data: Likewise.
43450 * conform/data/utime.h-data: Likewise.
43451 * conform/data/utmpx.h-data: Likewise.
43452 * conform/data/varargs.h-data: Likewise.
43453 * conform/data/wchar.h-data: Likewise.
43454 * conform/data/wctype.h-data: Likewise.
43455 * conform/data/wordexp.h-data: Likewise.
43457 * include/stropts.h: New file.
43458 * include/uchar.h: New file.
43459 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43460 * include/assert.h: Likewise.
43461 * include/ctype.h: Likewise.
43462 * include/dirent.h: Likewise.
43463 * include/dlfcn.h: Likewise.
43464 * include/fcntl.h: Likewise.
43465 * include/fnmatch.h: Likewise.
43466 * include/glob.h: Likewise.
43467 * include/grp.h: Likewise.
43468 * include/libio.h: Likewise.
43469 * include/locale.h: Likewise.
43470 * include/math.h: Likewise.
43471 * include/net/if.h: Likewise.
43472 * include/netdb.h: Likewise.
43473 * include/netinet/in.h: Likewise.
43474 * include/pthread.h: Likewise.
43475 * include/pwd.h: Likewise.
43476 * include/regex.h: Likewise.
43477 * include/sched.h: Likewise.
43478 * include/search.h: Likewise.
43479 * include/setjmp.h: Likewise.
43480 * include/signal.h: Likewise.
43481 * include/stdio.h: Likewise.
43482 * include/stdlib.h: Likewise.
43483 * include/string.h: Likewise.
43484 * include/sys/cdefs.h: Likewise.
43485 * include/sys/mman.h: Likewise.
43486 * include/sys/msg.h: Likewise.
43487 * include/sys/resource.h: Likewise.
43488 * include/sys/select.h: Likewise.
43489 * include/sys/socket.h: Likewise.
43490 * include/sys/stat.h: Likewise.
43491 * include/sys/statvfs.h: Likewise.
43492 * include/sys/time.h: Likewise.
43493 * include/sys/times.h: Likewise.
43494 * include/sys/uio.h: Likewise.
43495 * include/sys/utsname.h: Likewise.
43496 * include/sys/wait.h: Likewise.
43497 * include/termios.h: Likewise.
43498 * include/time.h: Likewise.
43499 * include/ulimit.h: Likewise.
43500 * include/unistd.h: Likewise.
43501 * include/utime.h: Likewise.
43502 * include/wchar.h: Likewise.
43503 * include/wctype.h: Likewise.
43504 * include/wordexp.h: Likewise.
43506 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43508 * time/time.h: TIME_UTC must be a macro.
43509 Make timespec_get available for ISO C11 only as well.
43511 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43513 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43514 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43516 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43518 * configure.in: Use -o not -a in test for unsupported multi-arch.
43520 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43522 * manual/texinfo.tex: Update to version 2012-01-19.16.
43524 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43526 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43528 2012-02-24 Roland McGrath <roland@hack.frob.com>
43531 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43532 * manual/fdl-1.3.texi: New file.
43533 * manual/fdl-1.1.texi: File removed.
43536 * manual/libc.texinfo (FDL_VERSION): New @set.
43537 Use it for mention of FDL in cover text.
43538 (Documentation License): Use it in @include file name.
43540 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43541 Roland McGrath <roland@hack.frob.com>
43544 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43545 (not LONG_LONG_MAX and LONG_LONG_MIN.
43546 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43547 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43549 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43551 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43555 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43556 manipulate bits before adding and subtracting TWO23[sx].
43557 * math/libm-test.inc (nearbyint_test): Add more tests.
43559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43562 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43563 bits before adding and subtracting TWO23[sx].
43564 * math/libm-test.inc (rint_test): Add more tests.
43565 (rint_test_tonearest): Likewise.
43566 (rint_test_towardzero): Likewise.
43567 (rint_test_downward): Likewise.
43568 (rint_test_upward: Likewise.
43570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43573 * include/stdc-predef.h: New file. Extracted from features.h.
43574 * include/features.h: Include stdc-predef.h.
43575 * Makefile (headers): Add stdc-predef.h.
43576 * CONFORMANCE (Compiler limitations): Update.
43578 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43580 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43582 2012-02-21 David S. Miller <davem@davemloft.net>
43584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43585 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43587 2012-02-20 David S. Miller <davem@davemloft.net>
43589 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43590 using a normal save/restore sequence, rather than allocating a
43591 dummy stack frame just to store a frame pointer and restore.
43592 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43594 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43596 * manual/install.texi: Fix stray word in line-wrapped comment.
43598 2012-02-20 David S. Miller <davem@davemloft.net>
43600 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43601 both binutils and gcc support GOTDATA.
43603 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43604 "rd %pc" in the PIC register setup sequences.
43606 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43607 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43609 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43610 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43612 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43613 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43615 (SYSCALL_ERROR_HANDLER): Likewise.
43616 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43617 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43619 (SYSCALL_ERROR_HANDLER): Likewise.
43621 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43622 (HAVE_GCC_GOTDATA): New.
43623 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43624 relocation support in both binutils and gcc.
43625 * sysdeps/sparc/elf/configure: Regenerate.
43627 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43628 * sysdeps/sparc/sparc32/elf/configure: Delete.
43629 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43630 * sysdeps/sparc/sparc64/elf/configure: Delete.
43631 * sysdeps/sparc/elf/configure.in: New file.
43632 * sysdeps/sparc/elf/configure: Generate.
43634 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43635 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43636 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43637 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43638 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43640 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43642 * manual/install.texi: Do not mention specific glibc version
43644 * manual/libc.texinfo (VERSION, UPDATED): Update.
43645 (@copying): Use @copyright{} and range of years.
43647 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43650 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43651 [crti.S not in sysdirs] (generated): Do not append.
43652 [crti.S not in sysdirs] (omit-deps): Likewise.
43653 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43654 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43655 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43656 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43657 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43659 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43660 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43661 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43662 * csu/defs.awk: Remove file.
43663 * sysdeps/generic/initfini.c: Likewise.
43664 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43666 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43669 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43671 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43672 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43673 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43674 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43675 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43676 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43678 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43679 (__EPOLL_PACKED): Define to empty if not defined by
43681 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43682 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43685 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43687 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43688 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43689 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43690 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43692 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43693 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43696 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43698 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43700 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43701 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43702 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43705 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43707 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43708 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43710 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43712 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43713 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43715 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43717 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43720 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43722 * math/w_acos.c: Use non-signaling floating-point comparisons.
43723 * math/w_acosf.c: Likewise.
43724 * math/w_acosh.c: Likewise.
43725 * math/w_acoshf.c: Likewise.
43726 * math/w_acoshl.c: Likewise.
43727 * math/w_acosl.c: Likewise.
43728 * math/w_asin.c: Likewise.
43729 * math/w_asinf.c: Likewise.
43730 * math/w_asinl.c: Likewise.
43731 * math/w_atanh.c: Likewise.
43732 * math/w_atanhf.c: Likewise.
43733 * math/w_atanhl.c: Likewise.
43734 * math/w_exp2.c: Likewise.
43735 * math/w_exp2f.c: Likewise.
43736 * math/w_exp2l.c: Likewise.
43737 * math/w_j0.c: Likewise.
43738 * math/w_j0f.c: Likewise.
43739 * math/w_j0l.c: Likewise.
43740 * math/w_j1.c: Likewise.
43741 * math/w_j1f.c: Likewise.
43742 * math/w_j1l.c: Likewise.
43743 * math/w_jn.c: Likewise.
43744 * math/w_jnf.c: Likewise.
43745 * math/w_log.c: Likewise.
43746 * math/w_log10.c: Likewise.
43747 * math/w_log10f.c: Likewise.
43748 * math/w_log10l.c: Likewise.
43749 * math/w_log2.c: Likewise.
43750 * math/w_log2f.c: Likewise.
43751 * math/w_log2l.c: Likewise.
43752 * math/w_logf.c: Likewise.
43753 * math/w_logl.c: Likewise.
43754 * math/w_sqrt.c: Likewise.
43755 * math/w_sqrtf.c: Likewise.
43756 * math/w_sqrtl.c: Likewise.
43757 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43758 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43760 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43761 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43763 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43766 * manual/string.texi (strnlen): Use correct parameter name in
43767 equivalent expression.
43769 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43772 * manual/users.texi (seteuid): Consistently use neweuid for
43775 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43778 * manual/nss.texi (Services in the NSS configuration): Correct
43779 list of services in example configuration file.
43781 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43784 * manual/arith.texi: Remove statements about negative zero
43785 behaving identically to zero.
43787 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43790 * manual/install.texi: Do not document upgrading from libc5.
43792 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43795 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43797 2012-02-18 David S. Miller <davem@davemloft.net>
43799 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43800 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43801 %o7 across the call.
43802 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43805 SETUP_PIC_REG_LEAF.
43806 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43807 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43808 * sysdeps/sparc/crtn.S: Likewise.
43810 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43812 * aout/Makefile: Remove.
43814 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43817 * manual/examples/argp-ex1.c (main): Format definition in GNU
43819 * manual/examples/argp-ex2.c (main): Likewise.
43820 * manual/examples/argp-ex3.c (main): Likewise.
43821 * manual/examples/argp-ex4.c (main): Likewise.
43822 * manual/examples/longopt.c (main): Use new-style prototype
43824 * manual/examples/strncat.c (main): Specify return type and use
43825 (void) for arguments.
43826 * manual/examples/subopt.c (main): Use char **argv argument.
43828 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43831 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43834 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43837 * manual/string.texi (strchr): Change when strchrnul is
43840 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43843 * manual/locale.texi (setlocale): Document LOCPATH.
43845 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43848 * manual/process.texi (execle): Move @dots{} before last argument.
43850 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43853 * manual/charset.texi (Generic Charset Conversion): Fix typo
43854 (LC_TYPE -> LC_CTYPE).
43856 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43859 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43860 (scalbnf): Likewise.
43861 (scalbnl): Likewise.
43862 (scalbln): Likewise.
43863 (scalblnf): Likewise.
43864 (scalblnl): Likewise.
43865 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43866 (vwarnx): Likewise.
43869 * manual/filesys.texi (telldir): Use braces around return type.
43870 * manual/llio.texi (mmap): Add space after comma.
43871 (mmap64): Likewise.
43872 * manual/math.texi (jn): Use @var{} on parameter names.
43878 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43880 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43882 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43883 (sched_get_priority_max): Likewise.
43884 * manual/signal.texi (sigvec): Add space after comma.
43885 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43887 (if_indextoname): Likewise.
43888 (if_freenameindex): Likewise.
43889 (sendto): Use ',' instead of '.' in prototype.
43890 * manual/startup.texi (syscall): Use @dots{} instead of literal
43892 * manual/stdio.texi (__fpending): Separate initial words of
43893 paragraph from @deftypefun line.
43894 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43896 (vsyslog): Use @var{} on parameter names.
43897 * manual/terminal.texi (stty): Use @var{} on parameter names.
43898 * manual/users.texi (getutmp): Use @var{} on parameter names.
43899 (getutmpx): Likewise.
43901 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43904 * manual/stdio.texi (fopen): Fix typos in description of
43907 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43910 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43911 get clock_id definition.
43913 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43916 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43917 (madvise): Cast every argument to void on its own.
43919 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43922 * manual/startup.texi (Exit Status): Fix typo.
43924 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43927 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43928 * manual/examples/argp-ex2.c: Likewise.
43929 * manual/examples/argp-ex3.c: Likewise.
43931 2012-02-16 Richard Henderson <rth@redhat.com>
43933 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43934 * sysdeps/s390/s390-32/initfini.c: Remove.
43935 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43936 * sysdeps/s390/s390-64/initfini.c: Remove.
43938 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43940 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43941 compiler output for sysdeps/generic/initfini.c.
43942 * sysdeps/sh/elf/initfini.c: Remove file.
43944 2012-02-16 David S. Miller <davem@davemloft.net>
43947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43949 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43950 * sysdeps/sparc/crti.S: New file.
43951 * sysdeps/sparc/crtn.S: New file.
43952 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43953 * sysdeps/sparc/sparc64/Makefile: Likewise.
43955 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43958 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43960 2012-02-15 Roland McGrath <roland@hack.frob.com>
43963 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43965 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43966 (write, read, close): Likewise.
43967 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43969 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43971 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43972 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43973 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43974 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43976 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43980 2012-02-14 Marek Polacek <polacek@redhat.com>
43982 * sysdeps/x86_64/crti.S: New file.
43983 * sysdeps/x86_64/crtn.S: New file.
43984 * sysdeps/x86_64/elf/initfini.c: Remove file.
43986 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43988 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43989 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43990 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43991 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43993 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43994 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43997 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43999 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44000 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44001 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44002 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44004 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44008 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44010 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44011 __feraiseexcept instead of feraiseexcept.
44013 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44014 nanosleep invocations.
44015 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44016 strings, and add error checking for a nanosleep invocations.
44018 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44020 Replace FSF snail mail address with URLs, as per GNU coding standards.
44021 Most of the snail mail addresses were wrong anyway, and omitting
44022 them makes the source code easier to maintain. Almost all of the
44023 changes are to license notices and to locale LC_IDENTIFICATION
44024 addresses, except for this one:
44025 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44026 not its snail mail address.
44028 2012-02-09 Richard Henderson <rth@twiddle.net>
44030 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44031 of kernel-features.h.
44033 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44035 2012-02-08 Marek Polacek <polacek@redhat.com>
44037 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44038 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44039 * sysdeps/gnu/_G_config.h: Likewise.
44040 * sysdeps/generic/_G_config.h: Likewise.
44042 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44044 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44048 * sysdeps/powerpc/powerpc32/crti.S: New file.
44049 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44050 * sysdeps/powerpc/powerpc64/crti.S: New file.
44051 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44053 * Makeconfig (have-initfini): Don't set.
44054 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44055 * configure.in (nopic_initfini): Don't substitute.
44056 * config.h.in (HAVE_INITFINI): Don't #undef.
44057 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44058 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44060 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44062 Support crti.S and crtn.S provided directly by architectures.
44063 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44064 [crti.S in sysdirs] (omit-deps): Likewise.
44065 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44066 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44067 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44068 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44069 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44070 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44071 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44072 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44073 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44074 compiler output for sysdeps/generic/initfini.c.
44075 * sysdeps/i386/elf/Makefile: Remove file.
44076 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44078 2012-02-07 Marek Polacek <polacek@redhat.com>
44080 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44081 * sysdeps/gnu/_G_config.h: Likewise.
44082 * sysdeps/mach/hurd/_G_config.h: Likewise.
44084 2012-02-07 Marek Polacek <polacek@redhat.com>
44086 * math/Makefile (tests): Add tst-CMPLX2.
44087 * math/tst-CMPLX2.c: New file.
44089 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44091 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44093 * math/libm-test.inc (jn_test): Add missing L suffix.
44095 2012-02-06 Marek Polacek <polacek@redhat.com>
44097 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44098 * sysdeps/i386/fpu/e_powf.S: Likewise.
44099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44100 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44102 * sysdeps/i386/fpu/e_pow.S: Likewise.
44103 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44104 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44105 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44106 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44107 * sysdeps/i386/fpu/e_log2.S: Likewise.
44108 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44109 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44110 * sysdeps/i386/fpu/e_powl.S: Likewise.
44111 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44112 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44113 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44114 * sysdeps/i386/fpu/e_logl.S: Likewise.
44115 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44116 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44117 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44118 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44120 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44121 * sysdeps/i386/fpu/e_log.S: Likewise.
44122 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44123 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44124 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44125 * sysdeps/i386/fpu/e_logf.S: Likewise.
44126 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44127 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44128 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44129 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44130 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44131 * sysdeps/i386/fpu/e_log10.S: Likewise.
44132 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44133 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44134 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44135 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44136 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44137 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44138 * sysdeps/i386/asm-syntax.h: Likewise.
44139 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44140 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44141 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44142 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44143 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44144 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44145 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44146 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44147 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44148 * sysdeps/powerpc/sysdep.h: Likewise.
44149 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44150 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44152 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44155 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44157 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44159 * sysdeps/i386/sysdep.h: Include <features.h>.
44160 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44163 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44165 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44167 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44170 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44172 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44173 (SETUP_PIC_REG): Use GET_PC_THUNK.
44174 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44177 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44179 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44180 for non-PIC compilation.
44181 (SETUP_PIC_REG): Add .p2align directive.
44182 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44183 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44184 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44185 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44186 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44187 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44188 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44189 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44190 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44191 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44192 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44193 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44194 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44195 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44196 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44197 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44198 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44199 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44200 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44201 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44202 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44203 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44204 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44205 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44206 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44207 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44208 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44209 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44210 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44211 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44212 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44213 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44214 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44215 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44216 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44217 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44218 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44219 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44220 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44221 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44222 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44224 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44226 * math/tst-CMPLX.c: Include <stdio.h>.
44228 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44230 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44232 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44233 * sysdeps/sparc/bits/mathdef.h: Likewise.
44235 2012-01-31 Marek Polacek <polacek@redhat.com>
44237 * libio/libio.h: Don't define _PARAMS.
44238 * locale/programs/config.h: Don't define PARAMS.
44239 * stdlib/strtol_l.c: Likewise.
44240 (__strtol_l): Remove PARAMS from the prototype.
44242 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44244 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44245 names. Just use the correct names. Remove unnecessary wrapper
44247 * malloc/arena.c: Likewise.
44248 * malloc/hooks.c: Likewise.
44250 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44251 ARENA_TEST says not to. Simplify test for creation of a new arena.
44252 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44254 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44256 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44258 (update_get_addr): New function.
44259 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44260 GET_ADDR_MODULE parameter.
44262 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44264 * crypt/cert.c: Remove __STDC__ conditionals.
44265 * crypt/crypt-entry.c: Likewise.
44266 * crypt/crypt_util.c: Likewise.
44267 * libio/filedoalloc.c: Likewise.
44268 * libio/fileops.c: Likewise.
44269 * libio/genops.c: Likewise.
44270 * libio/iofclose.c: Likewise.
44271 * libio/iofdopen.c: Likewise.
44272 * libio/iofopen.c: Likewise.
44273 * libio/iofopen64.c: Likewise.
44274 * libio/iogetdelim.c: Likewise.
44275 * libio/iopopen.c: Likewise.
44276 * libio/obprintf.c: Likewise.
44277 * libio/oldfileops.c: Likewise.
44278 * libio/oldiofclose.c: Likewise.
44279 * libio/oldiofdopen.c: Likewise.
44280 * libio/oldiofopen.c: Likewise.
44281 * libio/oldiopopen.c: Likewise.
44282 * libio/wfiledoalloc.c: Likewise.
44283 * libio/wgenops.c: Likewise.
44284 * locale/programs/xmalloc.c: Likewise.
44285 * misc/syslog.c: Likewise.
44286 * stdio-common/xbug.c: Likewise.
44287 * string/memchr.c: Likewise.
44288 * string/memcmp.c: Likewise.
44289 * string/memrchr.c: Likewise.
44290 * string/rawmemchr.c: Likewise.
44291 * sysdeps/posix/getcwd.c: Likewise.
44292 * time/strftime_l.c: Likewise.
44294 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44296 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44297 * config.make.in (config-cflags-sse2avx): Define.
44298 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44301 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44303 * scripts/config.guess: Update from upstream config git repository.
44304 * scripts/config.sub: Likewise.
44306 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44308 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44310 (R_TILEPRO_*, R_TILEGX_*): New macros.
44312 * scripts/firstversions.awk: Fix bug in version range handling.
44314 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44316 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44318 * include/sys/epoll.h: New file.
44319 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44322 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44324 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44325 Avoid unnecessary __WORDSIZE == 64 test.
44326 (fmaxf): Use VEX format if possible.
44331 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44332 * math/math_private.h: Remove libc_fegetround* and
44334 * sysdeps/i386/configure.in: Check for -msse2avx.
44335 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44336 also if SSE2AVX is defined.
44337 Remove libc_fegetround* and libc_fesetround*.
44338 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44339 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44348 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44350 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44352 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44354 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44356 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44359 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44361 * Makeconfig (libm): Define.
44362 * elf/Makefile: Add rules to build and run tst-relsort1.
44363 * elf/tst-relsort1.c: New file.
44364 * elf/tst-relsort1mod1.c: New file.
44365 * elf/tst-relsort1mod2.c: New file.
44367 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44369 * math/s_ldexp.c: Remove __STDC__ conditionals.
44370 * math/s_ldexpf.c: Likewise.
44371 * math/s_ldexpl.c: Likewise.
44372 * math/s_nextafter.c: Likewise.
44373 * math/s_nexttowardf.c: Likewise.
44374 * math/s_significand.c: Likewise.
44375 * math/s_significandf.c: Likewise.
44376 * math/s_significandl.c: Likewise.
44377 * math/w_jnl.c: Likewise.
44378 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44379 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44380 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44381 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44382 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44388 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44389 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44390 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44391 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44392 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44393 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44394 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44395 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44397 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44398 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44399 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44400 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44401 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44402 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44403 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44404 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44405 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44406 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44407 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44408 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44409 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44410 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44411 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44412 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44413 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44414 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44415 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44416 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44417 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44418 * sysdeps/ieee754/k_standard.c: Likewise.
44419 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44420 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44421 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44422 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44423 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44424 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44425 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44426 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44427 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44428 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44431 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44432 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44433 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44434 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44435 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44438 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44441 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44442 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44443 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44444 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44447 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44448 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44449 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44451 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44453 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44454 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44455 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44456 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44457 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44458 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44459 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44461 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44462 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44463 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44464 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44465 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44466 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44467 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44468 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44469 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44472 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44473 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44474 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44476 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44477 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44479 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44480 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44481 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44484 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44485 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44489 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44490 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44491 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44492 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44493 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44494 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44495 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44496 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44497 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44498 * sysdeps/ieee754/s_matherr.c: Likewise.
44499 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44500 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44501 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44502 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44504 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44506 * crypt/md5.h: Remove __STDC__ conditionals.
44507 * libio/libioP.h: Likewise.
44508 * locale/programs/config.h: Likewise.
44509 * sysdeps/generic/sysdep.h: Likewise.
44510 * sysdeps/i386/asm-syntax.h: Likewise.
44511 * sysdeps/s390/asm-syntax.h: Likewise.
44512 * sysdeps/unix/sysdep.h: Likewise.
44513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44516 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44518 * libio/libio.h: Remove __STDC__ conditionals.
44519 * malloc/obstack.h: Likewise.
44520 * math/complex.h: Likewise.
44521 * math/math.h: Likewise.
44522 * sysdeps/generic/_G_config.h: Likewise.
44523 * sysdeps/gnu/_G_config.h: Likewise.
44524 * sysdeps/mach/hurd/_G_config.h: Likewise.
44525 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44526 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44527 * sysdeps/sparc/bits/mathdef.h: Likewise.
44529 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44532 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44533 Clean up HAS_* macros.
44534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44535 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44537 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44539 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44540 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44541 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44542 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44543 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44545 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44547 * elf/tst-unique3.cc (gets): Remove declaration.
44548 * elf/tst-unique3lib.cc (gets): Likewise.
44549 * elf/tst-unique3lib2.cc (gets): Likewise.
44550 * elf/tst-unique4.cc (gets): Likewise.
44552 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44554 * include/stdio.h: Add C++ protection. Add gets declarations and
44556 * debug/tst-chk1.c: Don't declare gets here.
44557 * stdio-common/tst-gets.c: Likewise.
44559 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44561 * posix/glob: Remove directory.
44563 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44565 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44567 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44569 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44570 of the non-standard EPFNOSUPPORT.
44572 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44574 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44575 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44576 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44578 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44580 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44582 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44584 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44586 * nscd/grpcache.c (cache_addgr): Likewise.
44587 * nscd/hstcache.c (cache_addhst): Likewise.
44588 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44589 * nscd/pwdcache.c (cache_addpw): Likewise.
44590 * nscd/servicescache.c (cache_addserv): Likewise.
44592 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44594 * malloc/malloc.c: Various cleanups.
44595 * malloc/hooks.c: Likewise.
44597 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44598 * stdlib/bug-fmtmsg1.c: New file.
44600 * stdlib/fmtmsg.c (init): Add missing unlock.
44601 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44603 2012-01-12 Marek Polacek <polacek@redhat.com>
44605 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44608 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44610 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44611 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44612 macro to ensure uniqueness of label name.
44613 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44614 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44616 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44618 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44620 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44621 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44622 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44625 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44627 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44629 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44630 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44631 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44633 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44635 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44637 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44640 * math/bits/math-finite.h: Add ldexp support.
44642 2012-01-10 Marek Polacek <polacek@redhat.com>
44644 * locale/programs/localedef.h (show_archive_content): Add noreturn
44647 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44649 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44651 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44653 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44655 * io/Makefile (headers): Add bits/poll2.h.
44657 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44660 typo #include statement.
44662 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44664 * include/sys/cdefs.h: Define __attribute_alloc_size.
44665 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44666 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44667 * elf/pldd.c: Likewise.
44668 * iconv/iconv_charmap.c: Likewise.
44669 * iconv/iconvconfig.c: Likewise.
44670 * iconv/strtab.c: Likewise.
44671 * locale/programs/locale.c: Likewise.
44672 * locale/programs/localedef.h: Likewise.
44673 * locale/programs/simple-hash.c: Likewise.
44674 * nscd/nscd.h: Likewise.
44675 * nss/makedb.c: Likewise.
44676 * sysdeps/generic/ldconfig.h: Likewise.
44677 * locale/programs/localedef.c: Remove xmalloc prototype.
44678 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44680 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44682 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44685 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44687 * math/Makefile (tests): Add tst-CMPLX.
44688 * math/tst-CMPLX.c: New file.
44690 * math/complex.h (CMPLXL): Fix typo.
44692 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44693 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44695 * debug/tst-chk1.c: Add poll and ppoll tests.
44696 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44697 * include/sys/poll.h: Add hidden proto for ppoll.
44698 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44699 * sysdeps/mach/hurd/ppoll.c: Likewise.
44700 * io/ppoll.c: Likewise.
44701 * debug/poll_chk.c: New file.
44702 * debug/ppoll_chk.c: New file.
44703 * include/bits/poll2.h: New file.
44704 * io/bits/poll2.h: New file.
44707 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44709 * configure.in: static is always set to yes. Remove.
44710 * config.make.in: Don't set build-static.
44711 * Makeconfig: Remove use of build-static.
44712 * dlfcn/Makefile: Likewise.
44713 * elf/Makefile: Likewise.
44714 * math/Makefile: Likewise.
44715 * misc/Makefile: Likewise.
44716 * nptl/Makefile: Likewise.
44717 * sysdeps/mach/hurd/Makefile: Likewise.
44719 * configure.in: PWD_P is not used anymore.
44720 * config.make.in: Remove PWD_P entry.
44722 * configure.in: Remove last remnants of RANLIB.
44723 No need to check for signed size_t anymore.
44724 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44726 Remove __builtin_expect test because we require at least gcc 3.4.
44727 * aclocal.m4: Likewise.
44729 * wcsmbs/mbrtoc16.c: Implement using towc function.
44730 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44731 * wcsmbs/wcsmbsload.c: Likewise.
44732 * iconv/gconv_simple.c: Likewise.
44733 * iconv/gconv_int.h: Likewise.
44734 * iconv/gconv_builtin.h: Likewise.
44735 * iconv/iconv_prog.c: Remove CHAR16 handling.
44737 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44739 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44741 * configure.in: Remove --with-elf and --enable-bounded options.
44742 Dont set base_machine for ia64. More non-ELF conditions removed.
44743 Remove testing and setting of leading underscore information.
44744 * config.make.in (build-bounded): Set to no.
44745 * config.h.in: Remove NO_UNDERSCORES entry.
44746 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44748 * csu/start.c: Remove !NO_UNDERSCORE code.
44749 * locale/localeinfo.h: Likewise.
44750 * sysdeps/generic/machine-gmon.h: Likewise.
44751 * sysdeps/generic/sysdep.h: Likewise.
44752 * sysdeps/i386/sysdep.h: Likewise.
44753 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44754 * sysdeps/mach/sysdep.h: Likewise.
44755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44757 * sysdeps/sh/sysdep.h: Likewise.
44758 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44759 * sysdeps/unix/i386/sysdep.S: Likewise.
44760 * sysdeps/unix/sparc/start.c: Likewise.
44761 * sysdeps/unix/sparc/sysdep.S: Likewise.
44762 * sysdeps/unix/sparc/sysdep.h: Likewise.
44763 * sysdeps/unix/start.c: Likewise.
44764 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44765 * sysdeps/x86_64/sysdep.h: Likewise.
44767 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44770 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44772 * argp/argp-fmtstream.h: Use const instead __const.
44773 * argp/argp.h: Likewise.
44774 * assert/assert.h: Likewise.
44775 * bits/fenv.h: Likewise.
44776 * bits/sched.h: Likewise.
44777 * bits/sigset.h: Likewise.
44778 * bits/sigthread.h: Likewise.
44779 * catgets/nl_types.h: Likewise.
44780 * conform/data/pthread.h-data: Likewise.
44781 * crypt/crypt-private.h: Likewise.
44782 * crypt/crypt.h: Likewise.
44783 * crypt/crypt_util.c: Likewise.
44784 * ctype/ctype.h: Likewise.
44785 * debug/execinfo.h: Likewise.
44786 * debug/mbsnrtowcs_chk.c: Likewise.
44787 * debug/mbsrtowcs_chk.c: Likewise.
44788 * debug/wcsnrtombs_chk.c: Likewise.
44789 * debug/wcsrtombs_chk.c: Likewise.
44790 * debug/wcstombs_chk.c: Likewise.
44791 * dirent/dirent.h: Likewise.
44792 * dlfcn/dlfcn.h: Likewise.
44793 * elf/neededtest4.c: Likewise.
44794 * grp/grp.h: Likewise.
44795 * gshadow/gshadow.h: Likewise.
44796 * iconv/gconv.h: Likewise.
44797 * iconv/gconv_int.h: Likewise.
44798 * iconv/gconv_simple.c: Likewise.
44799 * iconv/iconv.h: Likewise.
44800 * iconv/loop.c: Likewise.
44801 * iconv/skeleton.c: Likewise.
44802 * include/aio.h: Likewise.
44803 * include/aliases.h: Likewise.
44804 * include/argz.h: Likewise.
44805 * include/arpa/inet.h: Likewise.
44806 * include/assert.h: Likewise.
44807 * include/dirent.h: Likewise.
44808 * include/dlfcn.h: Likewise.
44809 * include/execinfo.h: Likewise.
44810 * include/fcntl.h: Likewise.
44811 * include/fenv.h: Likewise.
44812 * include/glob.h: Likewise.
44813 * include/grp.h: Likewise.
44814 * include/libintl.h: Likewise.
44815 * include/mntent.h: Likewise.
44816 * include/netdb.h: Likewise.
44817 * include/pwd.h: Likewise.
44818 * include/rpc/netdb.h: Likewise.
44819 * include/sched.h: Likewise.
44820 * include/search.h: Likewise.
44821 * include/shadow.h: Likewise.
44822 * include/signal.h: Likewise.
44823 * include/stdio.h: Likewise.
44824 * include/stdlib.h: Likewise.
44825 * include/string.h: Likewise.
44826 * include/sys/socket.h: Likewise.
44827 * include/sys/stat.h: Likewise.
44828 * include/sys/statfs.h: Likewise.
44829 * include/sys/statvfs.h: Likewise.
44830 * include/sys/syslog.h: Likewise.
44831 * include/sys/time.h: Likewise.
44832 * include/sys/uio.h: Likewise.
44833 * include/time.h: Likewise.
44834 * include/unistd.h: Likewise.
44835 * include/utmp.h: Likewise.
44836 * include/wchar.h: Likewise.
44837 * include/wctype.h: Likewise.
44838 * inet/aliases.h: Likewise.
44839 * inet/arpa/inet.h: Likewise.
44840 * inet/netinet/ether.h: Likewise.
44841 * inet/netinet/in.h: Likewise.
44842 * intl/libintl.h: Likewise.
44843 * io/bits/fcntl2.h: Likewise.
44844 * io/fcntl.h: Likewise.
44845 * io/ftw.h: Likewise.
44846 * io/sys/poll.h: Likewise.
44847 * io/sys/stat.h: Likewise.
44848 * io/sys/statfs.h: Likewise.
44849 * io/sys/statvfs.h: Likewise.
44850 * io/utime.h: Likewise.
44851 * libio/bits/stdio.h: Likewise.
44852 * libio/bits/stdio2.h: Likewise.
44853 * libio/libio.h: Likewise.
44854 * libio/libioP.h: Likewise.
44855 * libio/stdio.h: Likewise.
44856 * locale/lc-ctype.c: Likewise.
44857 * locale/locale.h: Likewise.
44858 * login/utmp.h: Likewise.
44859 * malloc/arena.c: Likewise.
44860 * malloc/malloc.c: Likewise.
44861 * malloc/malloc.h: Likewise.
44862 * malloc/mcheck.c: Likewise.
44863 * malloc/mtrace.c: Likewise.
44864 * math/bits/mathcalls.h: Likewise.
44865 * math/fenv.h: Likewise.
44866 * math/math_private.h: Likewise.
44867 * misc/bits/error.h: Likewise.
44868 * misc/bits/syslog.h: Likewise.
44869 * misc/err.h: Likewise.
44870 * misc/error.h: Likewise.
44871 * misc/fstab.h: Likewise.
44872 * misc/mntent.h: Likewise.
44873 * misc/regexp.h: Likewise.
44874 * misc/search.h: Likewise.
44875 * misc/sgtty.h: Likewise.
44876 * misc/sys/mman.h: Likewise.
44877 * misc/sys/syslog.h: Likewise.
44878 * misc/sys/uio.h: Likewise.
44879 * misc/sys/xattr.h: Likewise.
44880 * misc/ttyent.h: Likewise.
44881 * nis/rpcsvc/ypclnt.h: Likewise.
44882 * nss/nss.h: Likewise.
44883 * posix/bits/unistd.h: Likewise.
44884 * posix/fnmatch.h: Likewise.
44885 * posix/glob.h: Likewise.
44886 * posix/sched.h: Likewise.
44887 * posix/spawn.h: Likewise.
44888 * posix/sys/wait.h: Likewise.
44889 * posix/unistd.h: Likewise.
44890 * posix/wordexp.h: Likewise.
44891 * pwd/pwd.h: Likewise.
44892 * resolv/netdb.h: Likewise.
44893 * resource/sys/resource.h: Likewise.
44894 * rt/aio.h: Likewise.
44895 * rt/bits/mqueue2.h: Likewise.
44896 * rt/mqueue.h: Likewise.
44897 * shadow/shadow.h: Likewise.
44898 * signal/signal.h: Likewise.
44899 * socket/send.c: Likewise.
44900 * socket/sendto.c: Likewise.
44901 * socket/sys/socket.h: Likewise.
44902 * stdio-common/printf.h: Likewise.
44903 * stdlib/bits/stdlib.h: Likewise.
44904 * stdlib/fmtmsg.h: Likewise.
44905 * stdlib/monetary.h: Likewise.
44906 * stdlib/stdlib.h: Likewise.
44907 * stdlib/ucontext.h: Likewise.
44908 * streams/stropts.h: Likewise.
44909 * string/argz.h: Likewise.
44910 * string/bits/string2.h: Likewise.
44911 * string/string.h: Likewise.
44912 * string/strings.h: Likewise.
44913 * sunrpc/rpc/auth.h: Likewise.
44914 * sunrpc/rpc/auth_des.h: Likewise.
44915 * sunrpc/rpc/clnt.h: Likewise.
44916 * sunrpc/rpc/netdb.h: Likewise.
44917 * sunrpc/rpc/pmap_clnt.h: Likewise.
44918 * sunrpc/rpc/xdr.h: Likewise.
44919 * sysdeps/generic/inttypes.h: Likewise.
44920 * sysdeps/generic/net/if.h: Likewise.
44921 * sysdeps/generic/sys/swap.h: Likewise.
44922 * sysdeps/gnu/net/if.h: Likewise.
44923 * sysdeps/gnu/utmpx.h: Likewise.
44924 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44925 * sysdeps/i386/i486/bits/string.h: Likewise.
44926 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44927 * sysdeps/s390/bits/string.h: Likewise.
44928 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44929 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44930 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44931 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44932 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44933 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44934 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44935 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44936 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44937 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44938 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44939 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44940 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44941 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44942 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44943 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44944 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44946 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44947 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44949 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44950 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44951 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44952 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44953 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44954 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44956 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44957 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44958 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44959 * sysvipc/sys/ipc.h: Likewise.
44960 * sysvipc/sys/msg.h: Likewise.
44961 * sysvipc/sys/sem.h: Likewise.
44962 * sysvipc/sys/shm.h: Likewise.
44963 * termios/termios.h: Likewise.
44964 * time/sys/time.h: Likewise.
44965 * time/time.h: Likewise.
44966 * wcsmbs/bits/wchar2.h: Likewise.
44967 * wcsmbs/uchar.h: Likewise.
44968 * wcsmbs/wchar.h: Likewise.
44969 * wctype/wctype.h: Likewise.
44972 * Makeconfig: Remove all but ELF support including AIX support.
44973 * Makerules: Likewise.
44974 * config.h.in: Likewise.
44975 * config.make.in: Likewise.
44976 * configure: Likewise.
44977 * configure.in: Likewise.
44978 * csu/Makefile: Likewise.
44979 * csu/version.c: Likewise.
44980 * debug/Makefile: Likewise.
44981 * dlfcn/Makefile: Likewise.
44982 * elf/Makefile: Likewise.
44983 * extra-lib.mk: Likewise.
44984 * iconv/Makefile: Likewise.
44985 * include/libc-symbols.h: Likewise.
44986 * include/shlib-compat.h: Likewise.
44987 * resolv/Makefile: Likewise.
44988 * resolv/res_libc.c: Likewise.
44989 * rt/Makefile: Likewise.
44990 * sysdeps/i386/asm-syntax.h: Likewise.
44991 * sysdeps/i386/sysdep.h: Likewise.
44992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44993 * sysdeps/mach/sysdep.h: Likewise.
44994 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44995 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44996 * sysdeps/s390/asm-syntax.h: Likewise.
44997 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44999 * sysdeps/sh/sysdep.h: Likewise.
45000 * sysdeps/unix/sparc/sysdep.h: Likewise.
45001 * sysdeps/wordsize-32/divdi3.c: Likewise.
45002 * sysdeps/x86_64/sysdep.h: Likewise.
45004 * argp/Versions: Remove _argp_unlock_xxx.
45007 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45008 * abilist/libBrokenLocale.abilist: Likewise.
45009 * abilist/libanl.abilist: Likewise.
45010 * abilist/libc.abilist: Likewise.
45011 * abilist/libcrypt.abilist: Likewise.
45012 * abilist/libdl.abilist: Likewise.
45013 * abilist/libm.abilist: Likewise.
45014 * abilist/libnsl.abilist: Likewise.
45015 * abilist/libpthread.abilist: Likewise.
45016 * abilist/libresolv.abilist: Likewise.
45017 * abilist/librt.abilist: Likewise.
45018 * abilist/libthread_db.abilist: Likewise.
45019 * abilist/libutil.abilist: Likewise.
45020 * abilist/libnss_db.abilist: New file.
45022 * scripts/abilist.awk: Add support for indirect functions.
45024 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45026 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45028 * shlib-versions: Remove entries for ports architectures.
45030 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45032 * elf/stackguard-macros.h: Remove support for IA-64.
45033 * elf/tst-auditmod1.c: Likewise.
45034 * sysdeps/generic/ldsodefs.h: Likewise.
45036 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45037 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45041 * configure.in: Remove --enable-omitfp support.
45043 * config.make.in: Likewise.
45044 * Makeconfig: Likewise.
45045 * manual/install.texi: Likewise.
45047 In case anyone cares, the IA-64 architecture could move to ports.
45048 * sysdeps/ia64/*: Removed.
45049 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45050 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45053 * configure.in: Remove entries for unsupported architectures.
45056 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45057 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45059 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45060 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45061 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45062 fall back to using wcrtomb.
45063 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45064 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45066 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45067 * wcsmbs/tst-c16c32-1.c: New file.
45069 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45072 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45074 * elf/tst-unique3.cc: Add explicit declaration of gets.
45075 * elf/tst-unique3lib.cc: Likewise.
45076 * elf/tst-unique3lib2.cc: Likewise.
45077 * elf/tst-unique4.cc: Likewise.
45079 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45081 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45084 * assert/assert.h (static_assert): Don't define for C++.
45085 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45086 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45088 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45090 * iconv/loop.c (single loop): Fix assertion in storing of
45093 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45095 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45097 * posix/getconf.c: Update copyright year.
45098 * nss/getent.c: Likewise.
45099 * nss/makedb.c: Likewise.
45100 * iconv/iconvconfig.c: Likewise.
45101 * iconv/iconv_prog.c: Likewise.
45102 * elf/ldconfig.c: Likewise.
45103 * elf/pldd.c: Likewise.
45104 * elf/sotruss.ksh: Likewise.
45105 * catgets/gencat.c: Likewise.
45106 * csu/version.c: Likewise.
45107 * elf/ldd.bash.in: Likewise.
45108 * elf/sprof.c (print_version): Likewise.
45109 * locale/programs/locale.c: Likewise.
45110 * locale/programs/localedef.c: Likewise.
45111 * login/programs/pt_chown.c: Likewise.
45112 * nscd/nscd.c (print_version): Likewise.
45113 * debug/xtrace.sh: Likewise.
45114 * malloc/memusage.sh: Likewise.
45115 * malloc/mtrace.pl: Likewise.
45116 * debug/catchsegv.sh: Likewise.
45118 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45120 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45123 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45126 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45127 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45129 * iconv/gconv_int.h: Likewise.
45130 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45131 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45132 from libc for GLIBC_2.16.
45133 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45134 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45135 * wcsmbs/uchar.h: Really define mbstate_t.
45136 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45137 * wcsmbs/c16rtomb.c: New file.
45138 * wcsmbs/mbrtoc16.c: New file.
45139 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45140 for C/POSIX locale.
45141 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45142 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45144 * wcsmbs/wchar.h: Add missing __restrict.
45146 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45149 * time/Makefile (routines): Add timespec_get.
45150 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45151 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45152 timespec for ISO C11.
45153 * time/timespec_get.c: New file.
45154 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45155 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45158 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45159 * stdlib/stdlib.h: Declare aligned_alloc.
45160 * Versions.def: Add GLIBC_2.16 for libc.
45161 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45164 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45167 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45171 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45174 * assert/assert.h (static_assert): Define.
45176 * version.h: Update for 2.16 development version.
45179 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45182 * version.h (RELEASE): Bump for 2.15 release.
45183 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45185 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45186 Patch by Marek Polacek <mpolacek@redhat.com>.
45188 * bits/byteswap.h: Protect long long constants with __extension__.
45189 * sysdeps/i386/bits/byteswap.h: Likewise.
45190 * sysdeps/ia64/bits/byteswap.h: Likewise.
45191 * sysdeps/s390/bits/byteswap.h: Likewise.
45192 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45194 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45197 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45198 destination buffer.
45199 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45201 2011-12-23 Marek Polacek <polacek@redhat.com>
45203 * elf/dl-addr.c (determine_info): Add inline keyword.
45204 * elf/tst-auditmod4b.c (check_avx): Likewise.
45205 * elf/tst-auditmod6b.c (check_avx): Likewise.
45206 * elf/tst-auditmod6c.c (check_avx): Likewise.
45207 * elf/tst-auditmod7b.c (check_avx): Likewise.
45209 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45211 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45214 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45217 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45218 processing for last bytes.
45220 2011-08-06 Bruno Haible <bruno@clisp.org>
45223 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45224 U+0385, not to U+1FEE.
45227 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45228 entry for U+00A5 U+0301.
45230 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45233 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45234 buffer for the output is too small.
45236 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45240 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45241 SSE flags if possible.
45243 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45246 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45247 processing for last bytes.
45249 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45251 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45252 (syscall-list-default-options, syscall-list-default-condition)
45253 (syscall-list-includes): Define.
45254 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45255 list of ABIs and options and #if conditions for each ABI. Do not
45256 handle common syscalls between ABIs specially.
45257 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45259 (syscall-list-variants, syscall-list-32bit-options)
45260 (syscall-list-32bit-condition, syscall-list-64bit-options)
45261 (syscall-list-64bit-condition): Define.
45262 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45263 (syscall-list-variants, syscall-list-32bit-options)
45264 (syscall-list-32bit-condition, syscall-list-64bit-options)
45265 (syscall-list-64bit-condition): Define.
45266 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45268 (syscall-list-variants, syscall-list-32bit-options)
45269 (syscall-list-32bit-condition, syscall-list-64bit-options)
45270 (syscall-list-64bit-condition): Define.
45271 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45273 (syscall-list-variants, syscall-list-32bit-options)
45274 (syscall-list-32bit-condition, syscall-list-64bit-options)
45275 (syscall-list-64bit-condition): Define.
45277 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45279 * locale/iso-639.def: Add brx entry.
45282 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45283 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45285 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45286 __feraiseexcept_renamed.
45288 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45291 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45292 EPOLLET with unsigned values.
45293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45294 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45296 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45297 to large cancellation.
45298 * math/s_cacoshf.c: Likewise.
45299 * math/s_cacoshl.c: Likewise.
45301 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45305 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45306 * math/s_cacoshf.c: Likewise.
45307 * math/s_cacoshl.c: Likewise.
45309 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45312 * iconv/gconv.h: Define __GCONV_SWAP.
45313 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45314 * iconvdata/utf-16.c: Likewise.
45315 * iconvdata/utf-32.c: Likewise.
45317 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45320 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45321 numerator after shifting it by one limb.
45323 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45325 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45326 under [__USE_EXTERN_INLINES].
45328 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45331 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45333 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45335 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45336 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45338 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45339 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45340 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45341 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45342 for strncasecmp/strncasecmp_l compilation.
45343 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45344 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45346 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45349 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45352 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45355 * time/tzfile.c (__tzfile_read): Check values from file header.
45357 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45359 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45360 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45361 * powerpc/powerpc32/dl-start.S: Likewise.
45362 * powerpc/powerpc32/elf/start.S: Likewise.
45363 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45364 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45365 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45366 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45367 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45368 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45369 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45370 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45371 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45372 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45373 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45374 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45375 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45376 * powerpc/powerpc32/memset.S: Likewise.
45377 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45378 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45379 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45380 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45381 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45382 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45383 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45384 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45385 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45386 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45387 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45388 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45389 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45391 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45393 * math/libm-test.inc: Added more nearbyint tests.
45394 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45395 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45397 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45399 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45401 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45404 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45406 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45407 Add wcscpy-ssse3 wcscpy-c.
45408 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45409 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45410 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45411 * sysdeps/x86_64/wcschr.S: New file.
45412 * sysdeps/x86_64/wcsrchr.S: New file.
45413 * string/test-strcmp.c: Remove checking of wcscmp function for
45415 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45416 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45417 wcsrchr-sse2 wcsrchr-c.
45418 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45419 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45420 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45421 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45422 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45423 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45424 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45425 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45426 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45427 * wcsmbc/wcschr.c (WCSCHR): New macro.
45429 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45431 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45432 * wcsmbs/test-wcsrchr.c: New file.
45433 * string/test-strrchr.c: Add wcsrchr support.
45435 * wcsmbs/test-wcscpy.c: New file.
45436 * string/test-strcpy.c: Add wcscpy support.
45439 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45441 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45444 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45447 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45449 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45451 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45452 Minor optimizations.
45454 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45455 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45456 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45458 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45460 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45461 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45462 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45463 for gcc to avoid warnings.
45464 * inet/Makefile (tests): Add tst-checks.
45465 * inet/tst-checks.c: New file.
45467 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45470 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45473 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45474 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45476 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45478 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45480 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45483 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45485 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45487 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45488 conditional on GCC version.
45489 (__arch_compare_and_exchange_val_8_acq)
45490 (__arch_compare_and_exchange_val_16_acq)
45491 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45492 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45493 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45495 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45497 * sysdeps/sh/backtrace.c: New file.
45499 2011-12-02 Andreas Schwab <schwab@redhat.com>
45501 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45504 2011-12-01 Andreas Schwab <schwab@redhat.com>
45506 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45507 falling back to utime.
45509 2011-11-30 Andreas Schwab <schwab@redhat.com>
45511 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45512 expectations for float.
45514 2011-11-29 Andreas Schwab <schwab@redhat.com>
45516 * locale/weight.h (findidx): Add parameter len.
45517 * locale/weightwc.h (findidx): Likewise.
45518 * posix/fnmatch_loop.c (FCT): Adjust caller.
45519 * posix/regcomp.c (build_equiv_class): Likewise.
45520 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45521 * posix/regexec.c (check_node_accept_bytes): Likewise.
45522 * string/strcoll_l.c (STRCOLL): Likewise.
45523 * string/strxfrm_l.c (STRXFRM): Likewise.
45525 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45527 * Makefile.in: Remove CVSOPT handling.
45528 * configure.in: Remove use of AC_REVISION.
45529 * iconvdata/Makefile (distribute): No need to filter out CVS.
45530 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45533 2011-11-16 Andreas Schwab <schwab@redhat.com>
45535 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45536 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45537 [USE_AS_STRNCASECMP_L]: Likewise.
45538 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45539 NO_TLS_DIRECT_SEG_REFS.
45540 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45541 Fix argument offsets for non-PIC.
45542 [USE_AS_STRNCASECMP_L]: Likewise.
45543 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45544 NO_TLS_DIRECT_SEG_REFS.
45546 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45548 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45550 * locale/loadlocale.c (_nl_load_locale): Likewise.
45552 2011-11-15 Andreas Schwab <schwab@redhat.com>
45554 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45555 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45556 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45557 (SYSCALL_GETTIME): Set errno on error.
45559 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45560 count references to noai6ai_cached.
45562 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45564 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45566 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45567 FD_CLOEXEC for /proc/self/maps.
45569 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45570 FD_CLOEXEC for /proc/meminfo.
45572 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45575 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45576 FD_CLOEXEC for given file.
45578 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45580 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45581 FD_CLOEXEC for /etc/hosts.
45582 (_gethtent): Likewise.
45584 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45586 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45587 cancellation and set FD_CLOEXEC for /etc/netgroup.
45589 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45590 reading /etc/publickey.
45592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45593 allow cancellation when reading /etc/group.
45595 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45597 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45599 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45600 when using data file.
45602 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45604 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45605 (write_nis_obj): Use "c" and "e" in fopen.
45607 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45609 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45611 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45613 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45615 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45618 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45620 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45622 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45624 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45625 file parsing and set FD_CLOEXEC.
45627 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45629 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45631 2011-11-14 Andreas Schwab <schwab@redhat.com>
45633 * malloc/arena.c (arena_get2): Don't call reused_arena when
45634 _int_new_arena failed.
45636 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45638 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45639 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45640 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45641 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45642 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45644 to compile strcasecmp and strncasecmp.
45645 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45646 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45648 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45650 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45652 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45653 locale-defines.sym to gen-as-const-headers.
45654 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45655 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45657 to compile strcasecmp and strncasecmp.
45658 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45659 strcasecmp_l and strncasecmp_l.
45660 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45661 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45662 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45663 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45664 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45665 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45666 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45667 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45668 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45669 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45670 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45672 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45674 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45675 result of SYSDEP_GETTIME_CPU to retval.
45676 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45677 parameter list to macro. Remove trailing semicolon. Adjust users.
45679 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45682 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45684 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45686 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45687 from unused variable.
45689 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45691 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45694 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45697 * sunrpc/rpc_prot.c (rejected): Fix case value.
45699 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45700 unsigned long long int to avoid warnings in shift.
45702 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45704 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45707 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45708 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45709 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45711 * nis/nis_table.c (nis_list): Use variable of correct type for
45712 result of __follow_path call.
45714 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45716 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45717 of math functions ceil, trunc, floor, round, and sqrt, when
45718 avaliable on the platform.
45719 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45721 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45722 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45723 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45725 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45727 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45730 2011-11-11 Roland McGrath <roland@hack.frob.com>
45732 * include/unistd.h: Fix __readlink return type.
45733 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45735 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45737 * stdlib/ucontext.h: Undo last change for makecontext.
45739 2011-11-11 Andreas Schwab <schwab@redhat.com>
45741 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45743 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45744 * setjmp/setjmp.h: Mark functions as non-leaf.
45745 * setjmp/bits/setjmp2.h: Likewise.
45746 * stdlib/ucontext.h: Likewise.
45748 2011-11-10 Andreas Schwab <schwab@redhat.com>
45750 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45751 (reused_arena): Don't check arena limit.
45752 (arena_get2): Atomically check arena limit.
45754 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45756 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45757 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45762 2011-11-07 Andreas Schwab <schwab@redhat.com>
45764 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45765 handler when locking.
45767 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45768 Fix size of allocated buffer.
45770 2011-11-04 Andreas Schwab <schwab@redhat.com>
45773 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45774 declarations for long double functions.
45775 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45777 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45779 2011-11-03 Andreas Schwab <schwab@redhat.com>
45781 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45784 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45787 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45789 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45791 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45793 * include/alloca.h (stackinfo_alloca_round): Define.
45794 (extend_alloca): Use it.
45795 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45796 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45799 * scripts/check-local-headers.sh: Ignore libaudit.h.
45801 * nscd/Makefile (extra-objs): Make recursively expanded.
45803 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45805 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45806 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45808 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45809 * posix/tst-rfc3484-2.c: Likewise.
45810 * posix/tst-rfc3484-3.c: Likewise.
45812 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45814 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45816 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45817 process_vm_writev from libc using GLIBC_2.15 version.
45819 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45821 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45823 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45826 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45829 * nss/getent.c (initgroups_keys): Show error message in case no group
45832 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45833 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45834 __bump_nl_timestamp.
45835 * nscd/connections (nscd_init): When host database is served open
45836 netlink socket and request notification about configuration changes.
45837 (main_loop_poll): Track netlink file descriptor and bump timestamp
45838 in case data becomes available.
45839 (main_loop_epoll): Likewise.
45840 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45841 (database_pers_head): Add extra_data fileds.
45842 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45843 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45844 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45847 in6ai data, call __free_in6ai.
45848 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45849 Add -DHAVE_NETLINK.
45850 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45851 interface information. Reuse previous data if netlink timestamp
45853 (__bump_nl_timestamp): New function.
45854 (__free_in6ai): New function.
45856 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45858 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45859 close_not_cancel_no_status here.
45860 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45862 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45865 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45868 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45869 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45870 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45872 2011-07-03 Andreas Jaeger <aj@suse.de>
45875 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45876 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45877 * math/libm-test.inc (sin_test): Add test case.
45879 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45882 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45883 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45885 * elf/chroot_canon.c (chroot_canon): Cleanups.
45887 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45890 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45891 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45893 * string/test-strchr.c: Make usable for strchrnul testing.
45894 * string/test-strchrnul.c: New file.
45895 * string/Makefile (strop-tests): Add strchrnul.
45897 * po/it.po: Update from translation team.
45898 * po/es.po: Likewise.
45900 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45902 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45903 the three constants needed as parameters. Drop the others.
45904 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45905 __m128i_strloadu_tolower.
45906 Create and initialize variable zero and use it in all the places
45907 where _mm_setzero_si128 was used.
45909 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45910 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45911 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45914 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45915 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45916 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45917 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45918 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45919 __mpranred, __mptan.
45920 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45921 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45922 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45923 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45926 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45927 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45928 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45930 2011-10-28 Andreas Schwab <schwab@redhat.com>
45932 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45933 redefine if SHARED.
45934 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45937 wide char related routines to wcsmbs subdir.
45939 2011-10-27 Andreas Schwab <schwab@redhat.com>
45942 * misc/sys/cdefs.h (__THROWNL): Define.
45943 * posix/unistd.h: Use __THREADNL instead of __THREAD
45944 for memory synchronization functions.
45946 2011-10-26 Roland McGrath <roland@hack.frob.com>
45949 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45951 * manual/stdio.texi (Obstack Streams): Node removed.
45953 2011-10-26 Andreas Schwab <schwab@redhat.com>
45955 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45956 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45957 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45959 * math/math_private.h (math_force_eval): Allow non-addressable
45961 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45963 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45965 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45966 file is not needed.
45968 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45970 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45971 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45972 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45973 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45974 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45975 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45977 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45978 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45979 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45980 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45981 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45982 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45983 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45984 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45985 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45986 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45987 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45988 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45989 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45990 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45991 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45992 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45993 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45994 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45995 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45997 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45998 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46001 place. Use VEX encoding when compiling for AVX.
46003 2011-10-25 Andreas Schwab <schwab@redhat.com>
46005 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46006 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46008 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46010 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46012 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46013 useless if() expression.
46014 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46015 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46016 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46017 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46019 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46020 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46021 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46022 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46023 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46024 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46025 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46026 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46028 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46029 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46032 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46034 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46036 2011-10-25 Andreas Schwab <schwab@redhat.com>
46038 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46040 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46042 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46044 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46045 .text section. Avoid duplicate constants.
46046 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46047 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46048 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46049 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46054 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46055 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46056 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46057 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46058 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46059 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46060 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46061 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46062 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46063 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46064 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46065 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46066 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46067 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46068 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46073 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46074 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46075 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46076 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46086 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46087 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46088 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46089 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46090 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46092 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46094 * sysdeps/x86_64/dla.h: Move to ...
46095 * sysdeps/x86_64/fpu/dla.h: ...here.
46096 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46097 situations. Use __builtin_fma only for gcc 4.6 and up.
46099 * config.make.in: Add have-mfma4 entry.
46100 * configure.in: Substitute libc_cv_cc_fma4.
46101 * math/Makefile (dbl-only-routines): Add sincostab.
46102 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46103 Use __sincostab not sincos.
46104 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46107 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46109 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46111 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46112 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46113 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46114 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46116 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46117 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46119 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46120 define aliases when function name is a macro.
46121 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46122 sysdeps/ieee754/dbl-64/sincos.tbl.
46123 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46124 fma4-enabled routines.
46125 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46126 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46127 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46128 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46129 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46130 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46131 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46132 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46133 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46134 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46135 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46136 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46137 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46138 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46139 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46140 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46141 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46142 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46143 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46144 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46145 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46146 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46148 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46149 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46150 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46151 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46152 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46153 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46154 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46156 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46164 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46165 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46167 2011-10-24 Andreas Schwab <schwab@redhat.com>
46169 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46171 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46173 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46175 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46179 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46180 Remove unused variable magic_bits.
46181 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46183 * string/strnlen.c: Define and use STRNLEN macro.
46184 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46185 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46187 * wcsmbs/wcslen.c: Define and use WCSLEN.
46188 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46189 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46190 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46191 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46192 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46193 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46194 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46196 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46199 strnlen-sse2-no-bsf.
46200 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46202 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46203 Add strnlen support.
46204 (USE_AS_STRNLEN): New macro.
46205 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46206 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46207 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46208 * sysdeps/x86_64/wcslen.S: New file.
46210 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46212 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46213 XMM-moves are used for copying on small sizes.
46215 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46217 * wcsmbs/Makefile (strop-tests): Add wcschr.
46218 * wcsmbs/test-wcschr.c: New file.
46219 * string/test-strchr.c: Update.
46220 Add wcschr support.
46223 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46225 * wcsmbs/Makefile (strop-tests): Add wcslen.
46226 * wcsmbs/test-wcslen.c: New file.
46227 * string/test-strlen.c: Update.
46228 Add wcslen support.
46231 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46233 * po/it.po: Update from translation team.
46235 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46237 * sysdeps/x86_64/wcscmp.S: Update.
46238 Fix wrong comparison semantics.
46239 wcscmp shall use signed comparison not unsigned.
46240 Don't use substraction to avoid overflow bug.
46241 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46242 * wcsmbc/wcscmp.c: Likewise.
46243 * string/test-strcmp.c: Likewise.
46244 Add new tests to check cases with negative values.
46246 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46248 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46249 * sysdeps/x86_64/dla.h: ...here. New file.
46250 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46252 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46253 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46255 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46257 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46260 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46262 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46263 __ynl_finite aliases.
46265 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46269 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46271 [DLA_FMA] (EMULV): Use DLA_FMA.
46272 [DLA_FMA] (MUL12): Use EMULV.
46273 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46274 that are not needed.
46275 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46276 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46277 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46278 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46279 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46281 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46283 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46285 * math/s_nan.c: Undef __nan.
46286 * math/s_nanf.c: Undef __nanf.
46287 * math/s_nanl.c: Undef __nanl.
46288 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46291 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46293 * math/s_catan.c: Add branch predictions.
46294 * math/s_catanf.c: Likewise.
46295 * math/s_catanh.c: Likewise.
46296 * math/s_catanhf.c: Likewise.
46297 * math/s_catanhl.c: Likewise.
46298 * math/s_catanl.c: Likewise.
46299 * math/s_cexp.c: Likewise.
46300 * math/s_cexpf.c: Likewise.
46301 * math/s_cexpl.c: Likewise.
46302 * math/s_clog.c: Likewise.
46303 * math/s_clog10.c: Likewise.
46304 * math/s_clog10f.c: Likewise.
46305 * math/s_clog10l.c: Likewise.
46306 * math/s_clogf.c: Likewise.
46307 * math/s_clogl.c: Likewise.
46308 * math/s_csqrt.c: Likewise.
46309 * math/s_csqrtf.c: Likewise.
46310 * math/s_csqrtl.c: Likewise.
46311 * math/s_ctanf.c: Likewise.
46312 * math/s_ctanh.c: Likewise.
46313 * math/s_ctanhf.c: Likewise.
46314 * math/s_ctanhl.c: Likewise.
46315 * math/s_ctanl.c: Likewise.
46317 * math/math_private.h: Define __nan, __nanf, __nanl.
46318 * math/s_cacosh.c: Include <math_private.h>.
46319 * math/s_cacoshl.c: Likewise.
46320 * math/s_casinh.c: Likewise.
46321 * math/s_casinhf.c: Likewise.
46322 * math/s_casinhl.c: Likewise.
46323 * math/s_ccos.c: Rely entire on ccosh.
46324 * math/s_ccosf.c: Rely entire on ccoshf.
46325 * math/s_ccosl.c: Rely entirely on ccoshl.
46326 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46327 Remove tests for FE_INVALID.
46328 * math/s_ccoshf.c: Likewise.
46329 * math/s_ccoshl.c: Likewise.
46330 * math/s_csin.c: Likewise.
46331 * math/s_csinf.c: Likewise.
46332 * math/s_csinh.c Likewise.
46333 * math/s_csinhf.c: Likewise.
46334 * math/s_csinhl.c: Likewise.
46335 * math/s_csinl.c: Likewise.
46336 * math/s_ctan.c: Likewise.
46337 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46338 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46339 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46341 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46344 compilation problems.
46346 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46349 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46351 * sysdeps/i386/configure.in: Test for -mfma4 option.
46352 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46353 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46354 COMMON_CPUID_INDEX_80000001.
46355 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46356 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46357 use it if FMA3 is not supported.
46358 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46360 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46361 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46363 2011-10-20 Andreas Schwab <schwab@redhat.com>
46366 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46367 it would create a cycle with a link time dependency.
46369 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46371 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46373 * string/Makefile (strop-tests): Add rawmemchr.
46374 * string/test-rawmemchr.c: New file.
46376 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46377 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46378 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46379 when compiling str{,n}casecmp and when AVX is available. Hook up
46380 new optimized code in initializers.
46382 2011-10-19 Andreas Schwab <schwab@redhat.com>
46384 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46385 __feraiseexcept instead of feraiseexcept.
46387 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46389 * math/math_private.h: Define defaults for libc_fetestexcept and
46391 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46392 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46393 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46394 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46395 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46396 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46397 libc_fetestexcept and libc_feupdateenv.
46399 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46400 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46401 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46402 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46403 libc_feholdexcept_setround.
46405 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46406 Add s_nearbyint-c and s_nearbyintf-c.
46407 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46408 nearbyintf inlines.
46409 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46410 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46411 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46412 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46414 * math/math_private.h: Define defaults for libc_fegetround,
46415 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46416 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46417 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46418 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46419 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46420 standard functions.
46421 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46422 Remove comments and hacks for old compiler versions.
46423 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46424 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46425 libc_feholdexceptl.
46427 2011-10-18 Andreas Schwab <schwab@redhat.com>
46429 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46430 (__feraiseexcept_renamed): Add __NTH.
46431 (feraiseexcept): Add __NTH. Rename local variables to fix
46432 namespace violations.
46434 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46436 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46438 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46440 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46441 recently added interfaces.
46442 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46444 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46445 about macro parameter expansion.
46447 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46448 __NO_MATH_INLINES is defined. Cleanups.
46450 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46451 and __floorf is target has SSE4.1.
46452 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46453 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46454 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46455 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46457 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46459 (floorf): Likewise.
46461 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46463 2011-10-17 Andreas Schwab <schwab@redhat.com>
46465 * misc/sys/cdefs.h: Fix last change.
46467 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46470 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46472 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46474 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46475 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46476 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46477 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46478 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46479 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46480 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46481 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46482 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46483 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46484 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46485 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46486 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46487 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46488 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46489 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46490 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46491 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46492 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46493 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46494 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46495 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46497 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46498 ceil, ceilf, floor, floorf.
46500 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46501 Perform IRELATIVE relocations last.
46503 * elf/do-rel.h: Add another parameter nrelative, replacing the
46504 local variable with the same name. Change name of the function
46505 to end in Rel or Rela (uppercase).
46506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46507 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46508 elf_dynamic_do_##reloc function.
46510 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46512 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46513 is sufficient, at least on modern CPUs.
46515 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46517 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46518 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46520 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46522 * math/bits/math-finite.h: Add entries for exp.
46523 * math/e_expl.c: Add __*_finite alias.
46524 * sysdeps/i386/fpu/e_exp.S: Likewise.
46525 * sysdeps/i386/fpu/e_expf.S: Likewise.
46526 * sysdeps/i386/fpu/e_expl.c: Likewise.
46527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46528 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46529 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46531 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46532 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46533 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46535 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46536 is sufficient, at least on modern CPUs.
46538 * ctype/ctype-info.c (__ctype_init): Define.
46539 * include/ctype.h (__ctype_init): Declare.
46540 (__ctype_b_loc): The variable is always initialized.
46541 (__ctype_toupper_loc): Likewise.
46542 (__ctype_tolower_loc): Likewise.
46543 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46544 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46546 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46548 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46550 * configure.in: Also look in $cxxmachine/include for C++ system
46553 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46555 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46556 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46557 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46558 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46559 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46560 (USE_AS_WMEMCMP): New macro.
46562 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46563 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46564 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46565 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46567 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46568 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46569 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46570 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46571 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46572 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46573 (USE_AS_WMEMCMP): New macro.
46574 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46575 * sysdeps/string/test-memcmp.c: Update.
46576 Fix simple_wmemcmp.
46578 * wcsmbs/wmemcmp.c: Update.
46579 (WMEMCMP): New macro.
46582 2011-10-12 Andreas Jaeger <aj@suse.de>
46585 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46587 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46589 * libio/iofwide.c (do_length): Avoid warning.
46591 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46593 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46595 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46597 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46598 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46599 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46600 * sysdeps/i386/i686/fpu/e_log.S: New file.
46601 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46602 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46604 * ctype/ctype.h: Add support for inlined isXXX functions when
46605 compiling C++ code.
46607 2011-10-14 Andreas Schwab <schwab@redhat.com>
46609 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46611 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46613 2011-10-13 Roland McGrath <roland@hack.frob.com>
46616 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46618 2011-10-13 Andreas Schwab <schwab@redhat.com>
46620 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46621 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46624 * sysdeps/x86_64/memrchr.S: Check for zero size.
46626 * string/stratcliff.c: Add memrchr tests.
46628 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46631 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46632 rawmemchr-sse2 rawmemchr-sse2-bsf.
46633 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46634 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46635 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46636 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46637 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46638 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46639 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46640 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46641 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46642 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46643 * string/memrchr.c (MEMRCHR): New macro.
46645 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46647 Add integration with gcc's -ffinite-math-only and optimize wrapper
46649 * Versions.def: Define GLIBC_2.15 version for libm.
46650 * math/Makefile (headers): Add bits/math-finite.h.
46651 * math/bits/math-finite.h: New file.
46652 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46653 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46654 * math/e_acoshl.c: Add __*_finite alias.
46655 * math/e_acosl.c: Likewise.
46656 * math/e_asinl.c: Likewise.
46657 * math/e_atan2l.c: Likewise.
46658 * math/e_atanhl.c: Likewise.
46659 * math/e_coshl.c: Likewise.
46660 * math/e_exp10.c: Likewise.
46661 * math/e_exp10f.c: Likewise.
46662 * math/e_exp10l.c: Likewise.
46663 * math/e_exp2l.c: Likewise.
46664 * math/e_fmodl.c: Likewise.
46665 * math/e_gammal_r.c: Likewise.
46666 * math/e_hypotl.c: Likewise.
46667 * math/e_j0l.c: Likewise.
46668 * math/e_j1l.c: Likewise.
46669 * math/e_jnl.c: Likewise.
46670 * math/e_lgammal_r.c: Likewise.
46671 * math/e_log10l.c: Likewise.
46672 * math/e_log2l.c: Likewise.
46673 * math/e_logl.c: Likewise.
46674 * math/e_powl.c: Likewise.
46675 * math/e_sinhl.c: Likewise.
46676 * math/e_sqrtl.c: Likewise.
46677 * math/e_scalb.c: Completely rewritten and optimized.
46678 * math/e_scalbf.c: Likewise.
46679 * math/e_scalbl.c: Likewise.
46680 * math/w_acos.c: Likewise.
46681 * math/w_acosf.c: Likewise.
46682 * math/w_acosl.c: Likewise.
46683 * math/w_acosh.c: Likewise.
46684 * math/w_acoshf.c: Likewise.
46685 * math/w_acoshl.c: Likewise.
46686 * math/w_asin.c: Likewise.
46687 * math/w_asinf.c: Likewise.
46688 * math/w_asinl.c: Likewise.
46689 * math/w_atan2.c: Likewise.
46690 * math/w_atan2f.c: Likewise.
46691 * math/w_atan2l.c: Likewise.
46692 * math/w_atanh.c: Likewise.
46693 * math/w_atanhf.c: Likewise.
46694 * math/w_atanhl.c: Likewise.
46695 * math/w_exp10.c: Likewise.
46696 * math/w_exp10f.c: Likewise.
46697 * math/w_exp10l.c: Likewise.
46698 * math/w_fmod.c: Likewise.
46699 * math/w_fmodf.c: Likewise.
46700 * math/w_fmodl.c: Likewise.
46701 * math/w_j0.c: Likewise.
46702 * math/w_j0f.c: Likewise.
46703 * math/w_j0l.c: Likewise.
46704 * math/w_j1.c: Likewise.
46705 * math/w_j1f.c: Likewise.
46706 * math/w_j1l.c: Likewise.
46707 * math/w_jn.c: Likewise.
46708 * math/w_jnf.c: Likewise.
46709 * math/w_log.c: Likewise.
46710 * math/w_logf.c: Likewise.
46711 * math/w_logl.c: Likewise.
46712 * math/w_log10.c: Likewise.
46713 * math/w_log10f.c: Likewise.
46714 * math/w_log10l.c: Likewise.
46715 * math/w_log2.c: Likewise.
46716 * math/w_log2f.c: Likewise.
46717 * math/w_log2l.c: Likewise.
46718 * math/w_pow.c: Likewise.
46719 * math/w_powf.c: Likewise.
46720 * math/w_powl.c: Likewise.
46721 * math/w_remainder.c: Likewise.
46722 * math/w_remainderf.c: Likewise.
46723 * math/w_remainderl.c: Likewise.
46724 * math/w_scalb.c: Likewise.
46725 * math/w_scalbf.c: Likewise.
46726 * math/w_scalbl.c: Likewise.
46727 * math/w_sqrt.c: Likewise.
46728 * math/w_sqrtf.c: Likewise.
46729 * math/w_sqrtl.c: Likewise.
46730 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46731 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46733 * math/math_private.h: Declare __kernel_standard_f.
46734 * math/w_cosh.c: Remove cruft and optimize a bit.
46735 * math/w_coshf.c: Likewise.
46736 * math/w_coshl.c: Likewise.
46737 * math/w_exp2.c: Likewise.
46738 * math/w_exp2f.c: Likewise.
46739 * math/w_exp2l.c: Likewise.
46740 * math/w_hypot.c: Likewise.
46741 * math/w_hypotf.c: Likewise.
46742 * math/w_hypotl.c: Likewise.
46743 * math/w_lgamma.c: Likewise.
46744 * math/w_lgamma_r.c: Likewise.
46745 * math/w_lgammaf.c: Likewise.
46746 * math/w_lgammaf_r.c: Likewise.
46747 * math/w_lgammal.c: Likewise.
46748 * math/w_lgammal_r.c: Likewise.
46749 * math/w_sinh.c: Likewise.
46750 * math/w_sinhf.c: Likewise.
46751 * math/w_sinhl.c: Likewise.
46752 * math/w_tgamma.c: Likewise.
46753 * math/w_tgammaf.c: Likewise.
46754 * math/w_tgammal.c: Likewise.
46755 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46756 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46757 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46758 Minor optimizations. Pretty printing. Remove cruft.
46759 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46760 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46761 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46762 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46763 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46764 * sysdeps/i386/fpu/e_asin.S: Likewise.
46765 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46766 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46767 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46768 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46769 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46770 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46771 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46772 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46773 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46774 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46775 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46776 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46777 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46778 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46779 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46780 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46781 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46782 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46783 * sysdeps/i386/fpu/e_log.S: Likewise.
46784 * sysdeps/i386/fpu/e_log10.S: Likewise.
46785 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46786 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46787 * sysdeps/i386/fpu/e_log2.S: Likewise.
46788 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46789 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46790 * sysdeps/i386/fpu/e_logf.S: Likewise.
46791 * sysdeps/i386/fpu/e_logl.S: Likewise.
46792 * sysdeps/i386/fpu/e_pow.S: Likewise.
46793 * sysdeps/i386/fpu/e_powf.S: Likewise.
46794 * sysdeps/i386/fpu/e_powl.S: Likewise.
46795 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46796 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46797 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46798 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46799 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46801 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46802 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46803 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46804 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46805 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46807 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46808 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46822 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46823 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46824 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46825 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46826 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46827 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46828 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46829 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46830 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46831 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46832 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46833 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46834 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46835 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46836 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46837 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46838 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46839 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46840 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46841 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46842 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46843 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46844 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46845 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46856 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46859 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46860 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46861 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46862 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46863 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46864 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46865 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46867 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46869 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46872 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46873 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46875 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46876 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46877 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46878 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46879 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46880 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46881 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46882 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46883 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46884 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46885 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46886 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46887 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46888 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46889 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46890 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46891 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46892 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46893 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46894 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46897 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46899 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46900 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46901 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46902 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46903 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46904 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46905 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46906 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46907 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46909 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46910 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46911 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46912 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46913 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46914 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46915 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46916 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46917 (__isnanf): Likewise.
46918 (__isinf_ns): Likewise.
46919 (__isinf_nsf): Likewise.
46920 (__finite): Likewise.
46921 (__finitef): Likewise.
46922 (__ieee754_sqrt): Define as macro.
46923 (__ieee754_sqrtf): Define as macro.
46924 (__ieee754_sqrtl): Define as macro.
46925 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46927 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46928 __FINITE_MATH_ONLY__ consistent.
46929 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46931 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46933 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46936 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46938 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46940 * po/ja.po: Update from translation team.
46942 2011-10-08 Roland McGrath <roland@hack.frob.com>
46944 * locale/programs/locarchive.c (prepare_address_space): New function.
46945 (create_archive, enlarge_archive, open_archive): Use it.
46947 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46948 inside [SHARED], where it is used.
46950 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46952 * nss/getent.c (netgroup_keys): Remove unused variable.
46953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46955 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46957 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46958 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46959 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46960 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46961 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46962 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46963 * math/Makefile (libm-calls): Add s_isinf_ns.
46964 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46965 * math/multc3.c: Likewise.
46966 * math/s_casin.c: Likewise.
46967 * math/s_casinf.c: Likewise.
46968 * math/s_casinl.c: Likewise.
46969 * math/s_ccos.c: Likewise.
46970 * math/s_ccosf.c: Likewise.
46971 * math/s_ccosl.c: Likewise.
46972 * math/s_ctan.c: Likewise.
46973 * math/s_ctanf.c: Likewise.
46974 * math/s_ctanh.c: Likewise.
46975 * math/s_ctanhf.c: Likewise.
46976 * math/s_ctanhl.c: Likewise.
46977 * math/s_ctanl.c: Likewise.
46978 * math/w_fmod.c: Likewise.
46979 * math/w_fmodf.c: Likewise.
46980 * math/w_fmodl.c: Likewise.
46981 * math/w_remainder.c: Likewise.
46982 * math/w_remainderf.c: Likewise.
46983 * math/w_remainderl.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46985 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46987 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46988 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46989 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46990 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46991 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46993 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46995 * stdio-common/printf_fphex.c: Likewise.
46996 * stdio-common/printf_size.c: Likewise.
46998 * math/e_exp10.c: Include math_private.h using <...> not "...".
46999 * math/e_exp10f.c: Likewise.
47000 * math/e_exp10l.c: Likewise.
47001 * math/e_exp2l.c: Likewise.
47002 * math/e_j0l.c: Likewise.
47003 * math/e_j1l.c: Likewise.
47004 * math/e_jnl.c: Likewise.
47005 * math/e_lgammal_r.c: Likewise.
47006 * math/e_rem_pio2l.c: Likewise.
47007 * math/e_scalb.c: Likewise.
47008 * math/e_scalbf.c: Likewise.
47009 * math/e_scalbl.c: Likewise.
47010 * math/k_cosl.c: Likewise.
47011 * math/k_sinl.c: Likewise.
47012 * math/k_tanl.c: Likewise.
47013 * math/s_cacoshf.c: Likewise.
47014 * math/s_catan.c: Likewise.
47015 * math/s_catanf.c: Likewise.
47016 * math/s_catanh.c: Likewise.
47017 * math/s_catanhf.c: Likewise.
47018 * math/s_catanhl.c: Likewise.
47019 * math/s_catanl.c: Likewise.
47020 * math/s_ccosh.c: Likewise.
47021 * math/s_ccoshf.c: Likewise.
47022 * math/s_ccoshl.c: Likewise.
47023 * math/s_cexp.c: Likewise.
47024 * math/s_cexpf.c: Likewise.
47025 * math/s_cexpl.c: Likewise.
47026 * math/s_clog.c: Likewise.
47027 * math/s_clog10.c: Likewise.
47028 * math/s_clog10f.c: Likewise.
47029 * math/s_clog10l.c: Likewise.
47030 * math/s_clogf.c: Likewise.
47031 * math/s_clogl.c: Likewise.
47032 * math/s_csin.c: Likewise.
47033 * math/s_csinf.c: Likewise.
47034 * math/s_csinh.c: Likewise.
47035 * math/s_csinhf.c: Likewise.
47036 * math/s_csinhl.c: Likewise.
47037 * math/s_csinl.c: Likewise.
47038 * math/s_csqrt.c: Likewise.
47039 * math/s_csqrtf.c: Likewise.
47040 * math/s_csqrtl.c: Likewise.
47041 * math/s_ctan.c: Likewise.
47042 * math/s_ctanf.c: Likewise.
47043 * math/s_ctanh.c: Likewise.
47044 * math/s_ctanhf.c: Likewise.
47045 * math/s_ctanhl.c: Likewise.
47046 * math/s_ctanl.c: Likewise.
47047 * math/s_ldexp.c: Likewise.
47048 * math/s_ldexpf.c: Likewise.
47049 * math/s_ldexpl.c: Likewise.
47050 * math/s_significand.c: Likewise.
47051 * math/s_significandf.c: Likewise.
47052 * math/s_significandl.c: Likewise.
47053 * math/w_acos.c: Likewise.
47054 * math/w_acosf.c: Likewise.
47055 * math/w_acosh.c: Likewise.
47056 * math/w_acoshf.c: Likewise.
47057 * math/w_acoshl.c: Likewise.
47058 * math/w_acosl.c: Likewise.
47059 * math/w_asin.c: Likewise.
47060 * math/w_asinf.c: Likewise.
47061 * math/w_asinl.c: Likewise.
47062 * math/w_atan2.c: Likewise.
47063 * math/w_atan2f.c: Likewise.
47064 * math/w_atan2l.c: Likewise.
47065 * math/w_atanh.c: Likewise.
47066 * math/w_atanhf.c: Likewise.
47067 * math/w_atanhl.c: Likewise.
47068 * math/w_cosh.c: Likewise.
47069 * math/w_coshf.c: Likewise.
47070 * math/w_coshl.c: Likewise.
47071 * math/w_dremf.c: Likewise.
47072 * math/w_exp10.c: Likewise.
47073 * math/w_exp10f.c: Likewise.
47074 * math/w_exp10l.c: Likewise.
47075 * math/w_exp2.c: Likewise.
47076 * math/w_exp2f.c: Likewise.
47077 * math/w_fmod.c: Likewise.
47078 * math/w_fmodf.c: Likewise.
47079 * math/w_fmodl.c: Likewise.
47080 * math/w_hypot.c: Likewise.
47081 * math/w_hypotf.c: Likewise.
47082 * math/w_hypotl.c: Likewise.
47083 * math/w_j0.c: Likewise.
47084 * math/w_j0f.c: Likewise.
47085 * math/w_j0l.c: Likewise.
47086 * math/w_j1.c: Likewise.
47087 * math/w_j1f.c: Likewise.
47088 * math/w_j1l.c: Likewise.
47089 * math/w_jn.c: Likewise.
47090 * math/w_jnf.c: Likewise.
47091 * math/w_jnl.c: Likewise.
47092 * math/w_lgamma.c: Likewise.
47093 * math/w_lgamma_r.c: Likewise.
47094 * math/w_lgammaf.c: Likewise.
47095 * math/w_lgammaf_r.c: Likewise.
47096 * math/w_lgammal.c: Likewise.
47097 * math/w_lgammal_r.c: Likewise.
47098 * math/w_log.c: Likewise.
47099 * math/w_log10.c: Likewise.
47100 * math/w_log10f.c: Likewise.
47101 * math/w_log10l.c: Likewise.
47102 * math/w_log2.c: Likewise.
47103 * math/w_log2f.c: Likewise.
47104 * math/w_log2l.c: Likewise.
47105 * math/w_logf.c: Likewise.
47106 * math/w_logl.c: Likewise.
47107 * math/w_pow.c: Likewise.
47108 * math/w_powf.c: Likewise.
47109 * math/w_powl.c: Likewise.
47110 * math/w_remainder.c: Likewise.
47111 * math/w_remainderf.c: Likewise.
47112 * math/w_remainderl.c: Likewise.
47113 * math/w_scalb.c: Likewise.
47114 * math/w_scalbf.c: Likewise.
47115 * math/w_scalbl.c: Likewise.
47116 * math/w_sinh.c: Likewise.
47117 * math/w_sinhf.c: Likewise.
47118 * math/w_sinhl.c: Likewise.
47119 * math/w_sqrt.c: Likewise.
47120 * math/w_sqrtf.c: Likewise.
47121 * math/w_sqrtl.c: Likewise.
47122 * math/w_tgamma.c: Likewise.
47123 * math/w_tgammaf.c: Likewise.
47124 * math/w_tgammal.c: Likewise.
47126 * po/ja.po: Update from translation team.
47128 2011-09-29 Andreas Jaeger <aj@suse.de>
47131 * sunrpc/netname.c (netname2host): Fix logic.
47135 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47137 * math/w_remainder.c (__remainder): Likewise.
47138 * math/w_remainderf.c (__remainderf): Likewise.
47139 * math/libm-test.inc (remainder_test): Add test cases.
47141 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47143 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47146 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47148 * string/test-memcmp.c: Avoid unncessary #defines.
47149 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47151 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47153 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47154 Use new sse2 version for core i3 - i7 as it's faster
47155 than sse42 version.
47156 (bit_Prefer_PMINUB_for_stringop): New.
47157 * sysdeps/x86_64/rawmemchr.S: Update.
47158 Replace with faster SSE2 version.
47159 * sysdeps/x86_64/memrchr.S: New file.
47160 * sysdeps/x86_64/memchr.S: Update.
47161 Replace with faster SSE2 version.
47163 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47165 * elf/dl-load.c (lose): Add cast to avoid warning.
47167 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47169 * po/ca.po: Update from translation team.
47171 * inet/getnetgrent_r.c: Hook up nscd.
47172 * nscd/Makefile (routines): Add nscd_netgroup.
47173 (nscd-modules): Add netgroupcache.
47174 (CFLAGS-netgroupcache.c): Define.
47175 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47176 (cache_search): Add const to second parameter.
47177 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47179 (dbs): Add netgrdb entry.
47180 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47181 (verify_persistent_db): Handle netgrdb.
47182 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47183 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47185 (netgroup_response_header): Define.
47186 (innetgroup_response_header): Define.
47187 (datahead): Add netgroup_response_header and innetgroup_response_header
47189 * nscd/nscd.conf: Add entries for netgroup cache.
47190 * nscd/nscd.h (dbtype): Add netgrdb.
47191 (_PATH_NSCD_NETGROUP_DB): Define.
47192 (netgroup_iov_disabled): Declare.
47193 (xmalloc, xcalloc, xrealloc): Move declarations here.
47194 (cache_search): Adjust prototype.
47195 Add netgroup-related prototypes.
47196 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47197 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47198 (__nscd_innetgr): Declare.
47199 * nscd/selinux.c (perms): Use access_vector_t as element type and
47200 add netgroup-related initializers.
47201 * nscd/netgroupcache.c: New file.
47202 * nscd/nscd_netgroup.c: New file.
47203 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47204 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47205 For four parameters use innetgr.
47206 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47207 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47208 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47209 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47211 * nscd/connections.c (register_traced_file): Don't register file
47212 for disabled databases.
47214 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47216 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47218 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47219 from tree and freeing node.
47221 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47223 * nss/nsswitch.c (__nss_database_lookup): Handle
47224 nss_parse_service_list out of memory case.
47226 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47228 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47229 out of memory case.
47231 2011-10-04 Andreas Schwab <schwab@redhat.com>
47233 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47234 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47236 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47237 elf_machine_rela, elf_machine_lazy_rel.
47238 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47239 (ELF_DYNAMIC_DO_REL): Likewise.
47240 (ELF_DYNAMIC_DO_RELA): Likewise.
47241 (ELF_DYNAMIC_RELOCATE): Likewise.
47242 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47243 to ELF_DYNAMIC_DO_REL.
47244 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47245 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47246 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47249 skip_ifunc, don't call ifunc function if non-zero.
47250 (elf_machine_rela): Likewise.
47251 (elf_machine_lazy_rel): Likewise.
47252 (elf_machine_lazy_rela): Likewise.
47253 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47254 (elf_machine_lazy_rel): Likewise.
47255 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47257 (elf_machine_lazy_rel): Likewise.
47258 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47260 (elf_machine_lazy_rel): Likewise.
47261 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47262 (elf_machine_lazy_rel): Likewise.
47263 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47264 (elf_machine_lazy_rel): Likewise.
47265 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47266 (elf_machine_lazy_rel): Likewise.
47267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47268 (elf_machine_lazy_rel): Likewise.
47269 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47270 (elf_machine_lazy_rel): Likewise.
47271 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47272 (elf_machine_lazy_rel): Likewise.
47274 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47276 * nss/nss_files/files-init.c (_nss_files_init): Use static
47277 initialization for all the *_traced_file variables.
47279 2011-09-28 Andreas Schwab <schwab@redhat.com>
47281 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47283 2011-09-27 Roland McGrath <roland@hack.frob.com>
47286 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47288 2011-09-27 Andreas Schwab <schwab@redhat.com>
47290 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47291 Reread the line before reparsing it.
47293 2011-09-26 Andreas Schwab <schwab@redhat.com>
47295 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47297 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47298 Maxim Kuvyrkov <maxim@codesourcery.com>
47299 Joseph Myers <joseph@codesourcery.com>
47301 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47302 if needed for __stack_chk_guard.
47304 2011-09-19 Roland McGrath <roland@hack.frob.com>
47306 * sysdeps/posix/spawni.c (script_execute): Always define it.
47307 It will be optimized away if unused.
47308 (maybe_script_execute): New function.
47309 (__spawni): Call it.
47311 * Makerules: Don't include tls.make.
47312 (config-tls): Always set to thread.
47313 * tls.make.c: File removed.
47315 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47317 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47318 * config.make.in (CPPFLAGS-config): New substituted variable.
47320 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47322 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47325 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47326 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47328 2011-09-15 Roland McGrath <roland@hack.frob.com>
47330 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47331 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47333 (CALL_FAIL): Likewise.
47334 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47335 (CALL_FAIL): Macro removed.
47336 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47338 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47340 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47341 for __FINITE_MATH_ONLY__ == 1.
47343 2011-09-15 Andreas Schwab <schwab@redhat.com>
47345 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47346 __ieee754_sqrt instead of sqrt.
47347 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47348 __ieee754_sqrtf instead of sqrtf.
47349 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47350 __floorf instead of floorf.
47351 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47352 __floorf, __truncf instead of floorf, truncf.
47354 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47356 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47358 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47359 __extern_always_inline.
47360 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47363 2011-09-14 Andreas Schwab <schwab@redhat.com>
47365 * elf/rtld.c (dl_main): Also relocate in dependency order when
47366 doing symbol dependency testing.
47368 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47370 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47371 Always define `refsym'.
47373 2011-09-13 Andreas Schwab <schwab@redhat.com>
47375 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47376 (__FD_ELT): Renamed from __FDELT.
47377 * misc/bits/select2.h (__FD_ELT): Likewise.
47378 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47379 __FD_MASK instead of __FDELT, __FDMASK.
47380 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47382 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47385 * elf/Makefile (gen-ldd): Fix pattern.
47387 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47388 (init_tls): Likewise.
47390 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47392 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47394 2011-09-12 Andreas Schwab <schwab@redhat.com>
47396 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47397 `struct cmsghdr *' instead of `void *'.
47398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47401 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47403 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47405 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47406 ldd_rewrite_script.
47408 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47410 * configure.in: Remove --with-tls option.
47411 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47412 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47413 out in case it is missing.
47414 * sysdeps/ia64/elf/configure.in: Likewise.
47415 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47416 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47417 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47418 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47419 * sysdeps/sh/elf/configure.in: Likewise.
47420 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47421 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47422 * sysdeps/x86_64/elf/configure.in: Likewise.
47423 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47424 * sysdeps/mach/hurd/tls.h: Likewise.
47427 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47430 * configure.in: Fix use of AC_INIT.
47432 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47434 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47436 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47438 * malloc/hooks.c: Likewise.
47441 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47442 variables statically.
47443 (narenas): Initialize.
47444 (list_lock): Initialize.
47445 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47446 initializtion of main_arena and list_lock. Small cleanups.
47447 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47448 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47449 Add initializers to main_arena and mp_.
47450 (malloc_state): Remove pagesize member. Change all users to use
47453 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47454 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47455 is always initialized.
47457 * malloc/malloc.c: Removed unused configurations and dead code.
47458 * malloc/arena.c: Likewise.
47459 * malloc/hooks.c: Likewise.
47460 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47462 * include/tls.h: Removed. USE___THREAD must always be defined.
47463 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47464 * elf/dl-libc.c: Likewise.
47465 * elf/dl-tsd.c: Likewise.
47466 * include/errno.h: Likewise.
47467 * include/netdb.h: Likewise.
47468 * include/resolv.h: Likewise.
47469 * inet/herrno-loc.c: Likewise.
47470 * inet/herrno.c: Likewise.
47471 * malloc/arena.c: Likewise.
47472 * malloc/hooks.c: Likewise.
47473 * malloc/malloc.c: Likewise.
47474 * resolv/res-state.c: Likewise.
47475 * resolv/res_libc.c: Likewise.
47476 * sysdeps/i386/dl-machine.h: Likewise.
47477 * sysdeps/ia64/dl-machine.h: Likewise.
47478 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47479 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47480 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47481 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47482 * sysdeps/sh/dl-machine.h: Likewise.
47483 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47484 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47485 * sysdeps/unix/i386/sysdep.S: Likewise.
47486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47487 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47489 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47490 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47492 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47494 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47495 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47496 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47497 * sysdeps/x86_64/dl-machine.h: Likewise.
47498 * tls.make.c: Likewise.
47500 * configure.in: Remove --with-__thread option. Make tests for
47501 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47502 tls_model attribute fail if no support is available. Remove
47504 * Makeconfig: Adjust for dropped configure option. All features are
47506 * Makerules: Likewise.
47507 * Versions.def: Likewise.
47508 * argp/argp-fmtstream.c: Likewise.
47509 * argp/argp-fmtstream.h: Likewise.
47510 * argp/argp-help.c: Likewise.
47511 * assert/assert.c: Likewise.
47512 * config.h.in: Likewise.
47513 * config.make.in: Likewise.
47514 * configure: Likewise.
47515 * configure.in: Likewise.
47516 * csu/Versions: Likewise.
47517 * csu/init.c: Likewise.
47518 * elf/tst-audit2.c: Likewise.
47519 * elf/tst-tls10.c: Likewise.
47520 * elf/tst-tls10.h: Likewise.
47521 * elf/tst-tls11.c: Likewise.
47522 * elf/tst-tls12.c: Likewise.
47523 * elf/tst-tls14.c: Likewise.
47524 * elf/tst-tlsmod11.c: Likewise.
47525 * elf/tst-tlsmod12.c: Likewise.
47526 * elf/tst-tlsmod13.c: Likewise.
47527 * elf/tst-tlsmod13a.c: Likewise.
47528 * elf/tst-tlsmod14a.c: Likewise.
47529 * elf/tst-tlsmod15b.c: Likewise.
47530 * elf/tst-tlsmod16a.c: Likewise.
47531 * elf/tst-tlsmod16b.c: Likewise.
47532 * elf/tst-tlsmod7.c: Likewise.
47533 * elf/tst-tlsmod8.c: Likewise.
47534 * elf/tst-tlsmod9.c: Likewise.
47535 * gmon/gmon.c: Likewise.
47536 * grp/fgetgrent_r.c: Likewise.
47537 * grp/putgrent.c: Likewise.
47538 * hurd/fopenport.c: Likewise.
47539 * include/libc-symbols.h: Likewise.
47540 * include/tls.h: Likewise.
47541 * intl/gettextP.h: Likewise.
47542 * intl/loadinfo.h: Likewise.
47543 * locale/global-locale.c: Likewise.
47544 * locale/localeinfo.h: Likewise.
47545 * mach/devstream.c: Likewise.
47546 * malloc/arena.c: Likewise.
47547 * malloc/set-freeres.c: Likewise.
47548 * misc/err.c: Likewise.
47549 * misc/getttyent.c: Likewise.
47550 * misc/mntent_r.c: Likewise.
47551 * posix/getopt.c: Likewise.
47552 * posix/wordexp.c: Likewise.
47553 * pwd/fgetpwent_r.c: Likewise.
47554 * resolv/Versions: Likewise.
47555 * resolv/res_hconf.c: Likewise.
47556 * shadow/fgetspent_r.c: Likewise.
47557 * shadow/putspent.c: Likewise.
47558 * stdio-common/printf_fphex.c: Likewise.
47559 * stdio-common/tmpfile.c: Likewise.
47560 * stdlib/abort.c: Likewise.
47561 * stdlib/fmtmsg.c: Likewise.
47562 * sunrpc/auth_unix.c: Likewise.
47563 * sunrpc/clnt_perr.c: Likewise.
47564 * sunrpc/clnt_tcp.c: Likewise.
47565 * sunrpc/clnt_udp.c: Likewise.
47566 * sunrpc/clnt_unix.c: Likewise.
47567 * sunrpc/openchild.c: Likewise.
47568 * sunrpc/svc_simple.c: Likewise.
47569 * sunrpc/svc_tcp.c: Likewise.
47570 * sunrpc/svc_udp.c: Likewise.
47571 * sunrpc/svc_unix.c: Likewise.
47572 * sunrpc/xdr.c: Likewise.
47573 * sunrpc/xdr_array.c: Likewise.
47574 * sunrpc/xdr_rec.c: Likewise.
47575 * sunrpc/xdr_ref.c: Likewise.
47576 * sunrpc/xdr_stdio.c: Likewise.
47578 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47580 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47582 2011-07-03 Andreas Jaeger <aj@suse.de>
47584 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47585 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47586 regenerate with gen-libm-tests.pl.
47588 2010-05-12 Petr Baudis <pasky@suse.cz>
47591 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47592 around j0() zero points by switching to j1().
47593 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47596 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47598 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47600 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47602 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47604 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47605 Patch in part by Pavel Roskin <proski@gnu.org>.
47608 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47610 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47611 Free memory block if necessary.
47614 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47615 be NULL. Don't lock in this case.
47617 2011-09-09 Roland McGrath <roland@hack.frob.com>
47619 * elf/elf.h (ELFOSABI_GNU): New macro.
47620 (ELFOSABI_LINUX): Define to that.
47622 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47624 * string/strncat.c (strncat): Undef the symbol in case it has been
47625 defined in bits/string.h.
47627 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47629 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47631 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47634 2011-08-17 Andreas Jaeger <aj@suse.de>
47636 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47638 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47639 Ian Lance Taylor <iant@google.com>
47641 * math/libm-test.inc (lround_test): New testcase.
47642 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47644 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47646 * Makefile: Remove support for automatic cvs check-ins.
47647 * Makerules: Likewise.
47648 * config.make.in: Likewise.
47649 * configure.in: Likewise.
47650 * intl/Makefile: Likewise.
47651 * locale/Makefile: Likewise.
47652 * po/Makefile: Likewise.
47653 * posix/Makefile: Likewise.
47654 * sysdeps/gnu/Makefile: Likewise.
47655 * sysdeps/mach/hurd/Makefile: Likewise.
47656 * sysdeps/sparc/sparc32/Makefile: Likewise.
47659 * posix/Makefile (bug-regex32-ENV): Define.
47660 Patch by John Stanley <jpsinthemix@verizon.net>.
47662 * misc/Makefile (headers): Add bits/select2.h.
47663 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47664 * misc/bits/select2.h: New file.
47665 * include/bits/select2.h: New file.
47666 * debug/Makefile (routines): Add fdelt_chk.
47667 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47668 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47670 * debug/fdelt_chk.c: New file.
47672 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47673 * wcsmbs/test-wmemcmp.c: Likewise.
47674 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47675 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47677 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47679 * string/Makefile (strop-tests): Add memcmp.
47680 * string/test-wmemcmp.c: New file.
47681 * string/test-memcmp.c: Add wmemcmp support.
47683 2011-09-08 Roland McGrath <roland@hack.frob.com>
47686 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47689 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47690 garbage value in a __mach_port_mod_refs call in the cases of the
47691 task-self and thread-self ports.
47693 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47695 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47697 2011-09-08 Andreas Schwab <schwab@redhat.com>
47699 * elf/dl-load.c (lose): Check for non-null L.
47701 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47703 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47705 * elf/dl-libc.c (dlerror_run): Pass back error code from
47709 * elf/dl-load.c (lose): Free l_origin if it is valid.
47711 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47713 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47714 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47715 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47716 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47717 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47718 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47720 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47722 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47723 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47724 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47725 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47726 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47727 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47728 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47729 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47730 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47731 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47733 2011-08-15 Alan Modra <amodra@gmail.com>
47736 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47737 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47738 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47739 ppc_mcount to static-only-routines.
47740 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47742 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47743 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47745 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47747 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47748 for finite and infinity parameters.
47750 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47752 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47753 and add nop instructions for throughput optimization.
47754 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47756 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47758 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47759 aligned copy for power7 with vector-scalar instructions.
47760 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47762 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47767 2011-09-07 Andreas Schwab <schwab@redhat.com>
47770 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47773 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47775 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47776 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47777 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47778 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47781 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47783 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47784 Forgot to demangle the pointer.
47786 * sysdeps/i386/sysdep.h: Define atom_text_section.
47787 * sysdeps/x86_64/sysdep.h: Likewise.
47788 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47789 section with atom_text_section.
47790 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47791 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47792 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47794 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47796 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47797 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47798 already be defined. Change to take two parameters and don't assign
47799 result to variable. Adjust all users.
47800 Define INTERNAL_GETTIME if not already defined.
47801 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47804 HAVE_CLOCK_GETTIME_VSYSCALL.
47805 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47807 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47808 gettimeofday vsyscall, just use time.
47810 2011-09-06 Andreas Schwab <schwab@redhat.com>
47812 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47815 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47817 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47819 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47821 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47822 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47823 syscall if possible.
47825 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47827 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47828 e_ident. Don't pass to find_mapsXX.
47829 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47831 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47834 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47835 * sysdeps/x86_64/multiarch/strchr.S: Update.
47836 Check bit_slow_BSF bit.
47837 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47838 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47839 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47841 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47844 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47846 (tryshell): Define.
47847 (__spawni): Change last parameter to be flag. Test
47848 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47849 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47850 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47851 * posix/spawni.c: Likewise.
47852 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47853 * posix/spawnp.c: Likewise. Change normal version to use
47854 SPAWN_XFLAGS_USE_PATH.
47855 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47856 SPAWN_XFLAGS_TRY_SHELL.
47859 * posix/glob.h: Remove gcc 1.x support.
47862 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47864 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47867 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47869 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47870 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47871 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47872 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47873 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47874 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47876 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47878 * sysdeps/x86_64/wcscmp.S: New file.
47880 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47881 wcscmp-c wcscmp-sse2
47882 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47883 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47884 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47885 * wcsmbs/wcscmp.c: Allow renaming.
47887 2011-09-05 David S. Miller <davem@davemloft.net>
47889 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47890 stack slot, rather than the struct return pointer slot.
47891 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47892 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47894 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47896 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47898 * po/ja.po: Update from translation team.
47901 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47902 kernel in 64-bit binaries.
47904 2011-09-01 David S. Miller <davem@davemloft.net>
47906 * elf/elf.h (HWCAP_SPARC_*): Move to..
47907 * sysdeps/sparc/sysdep.h: this new file and add new values.
47908 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47909 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47910 _DL_HWCAP_COUNT to 24.
47911 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47913 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47914 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47915 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47916 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47917 instead of magic constants.
47918 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47920 2011-08-31 David S. Miller <davem@davemloft.net>
47922 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47924 Reimplement to do errno handling inline.
47925 (SYSCALL_ERROR_HANDLER): New macro.
47926 (__SYSCALL_STRING): Do not do errno handling in asm.
47927 (__CLONE_SYSCALL_STRING): Delete.
47928 (__INTERNAL_SYSCALL_STRING): Delete.
47929 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47930 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47931 (PSEUDO): Reimplement to do errno handling inline.
47932 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47933 (SYSCALL_ERROR_HANDLER): New macro.
47934 (__SYSCALL_STRING): Do not do errno handling in asm.
47935 (__CLONE_SYSCALL_STRING): Delete.
47936 (__INTERNAL_SYSCALL_STRING): Delete.
47937 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47938 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47940 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47941 (inline_syscall*): Add 'err' argument.
47942 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47943 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47944 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47945 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47947 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47948 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47950 2011-08-30 Andreas Schwab <schwab@redhat.com>
47952 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47954 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47956 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47959 2011-08-24 David S. Miller <davem@davemloft.net>
47961 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47963 2011-08-24 Andreas Schwab <schwab@redhat.com>
47965 * elf/Makefile: Add rules to build and run unload8 test.
47966 * elf/unload8.c: New file.
47967 * elf/unload8mod1.c: New file.
47968 * elf/unload8mod1x.c: New file.
47969 * elf/unload8mod2.c: New file.
47970 * elf/unload8mod3.c: New file.
47972 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47975 2011-08-23 David S. Miller <davem@davemloft.net>
47977 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47978 subtract stack bias.
47979 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47980 %sp not %fp in calculations.
47981 (_JMPBUF_UNWINDS_ADJ): Likewise.
47983 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47984 (aio_suspend): Call it to force an exception region around the
47985 AIO_MISC_WAIT() invocation.
47987 2011-08-23 Andreas Schwab <schwab@redhat.com>
47989 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47992 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47994 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47996 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47997 and <dl-machine.h>.
47998 (Elf64_FuncDesc): Remove.
48000 2011-08-22 David S. Miller <davem@davemloft.net>
48002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48003 sigaltstack check, add missing cfi directives.
48004 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48005 missing cfi directives, and sigaltstack handling.
48007 2011-08-16 Andreas Schwab <schwab@redhat.com>
48010 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48011 object is seen twice.
48012 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48014 * elf/Makefile (distribute): Add tst-initorder2.c.
48015 (tests): Add tst-initorder2.
48016 (modules-names): Add tst-initorder2a tst-initorder2b
48017 tst-initorder2c tst-initorder2d. Add rules to build them.
48018 ($(objpfx)tst-initorder2.out): New rule.
48019 * elf/tst-initorder2.c: New file.
48020 * elf/tst-initorder2.exp: New file.
48022 2011-08-22 Andreas Schwab <schwab@redhat.com>
48024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48026 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48027 dependencies back to end of function.
48029 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48030 $(elfobjdir)/ld.so.
48032 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48035 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48037 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48038 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48039 of __vdso_gettimeofday.
48040 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48041 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48043 (_libc_vdso_platform_setup): Remove initialization of
48044 __vdso_gettimeofday and __vdso_time.
48046 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48048 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48049 and fgetc_unlocked.
48050 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48053 * elf/dl-open.c (add_to_global): Report additions to the global scope
48054 for LD_DEBUG=scopes.
48055 (dl_open_worker): Also print scope of newly loaded dependencies.
48056 (_dl_show_scope): Indicate if there is no scope.
48059 * stdio-common/Makefile (tests): Add bug24.
48060 * stdio-common/bug24.c: New file.
48062 2011-08-19 Andreas Jaeger <aj@suse.de>
48065 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48066 non-existant file when using close-on-exec mode.
48068 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48071 the very first instruction.
48073 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48074 the CFI state in the end.
48075 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48076 inclusion of dl-trampoline.h.
48077 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48079 2011-08-19 Andreas Schwab <schwab@redhat.com>
48081 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48082 expectations for long double.
48084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48085 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48087 2011-08-14 David S. Miller <davem@davemloft.net>
48089 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48090 artificual limit depends upon the system page size.
48092 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48094 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48095 * resolv/Makefile: Define CFLAGS-libresolv.
48097 2011-08-17 Andreas Schwab <schwab@redhat.com>
48099 * nss/makedb.c (compute_tables): Make variables used in nested
48102 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48104 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48105 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48106 if buffer was too small.
48108 * elf/pldd.c (main): Attach to all threads in the process.
48109 Rewrite /proc handling to use *at functions.
48111 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48113 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48114 specifies first scope to show.
48115 (dl_open_worker): Update callers. Move printing scope of new
48116 object to before the relocation.
48117 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48118 * sysdeps/generic/ldsodefs.h: Update declaration.
48120 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48121 string for the scope number.
48123 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48125 * nscd/servicescache.c (cache_addserv): Make sure written is always
48128 2011-08-14 Roland McGrath <roland@hack.frob.com>
48130 * sysdeps/i386/i486/bits/atomic.h
48131 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48132 statement expression, so as to suppress "set but not used" warning.
48133 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48135 * string/strncat.c (STRNCAT): Use prototype definition.
48137 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48138 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48140 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48141 (localedef-modules): Add localedef.
48142 (locale-modules): Add locale.
48144 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48145 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48146 to avoid a warning.
48148 2011-08-14 David S. Miller <davem@davemloft.net>
48150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48151 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48153 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48155 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48156 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48157 * elf/rtld.c (dl_main): Set l_name of vDSO.
48158 Call _dl_show_scope when DL_DEBUG_SCOPES.
48159 (process_dl_debug): Recognize scopes flag and also set it for all.
48160 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48161 Declare _dl_show_scope.
48163 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48164 (do_dlopen): Pass caller_dlopen to dl_open.
48165 (__libc_dlopen_mode): Initialize caller_dlopen.
48167 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48168 of libc. Make tolower call locale-independent. Optimize a bit by
48169 using isdigit instead of isalnum.
48170 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48172 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48174 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48175 was a dependency or dynamically loaded.
48177 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48179 * intl/l10nflist.c: Allow architecture-specific pop function.
48180 * sysdeps/x86_64/l10nflist.c: New file.
48182 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48185 2011-08-10 Andreas Schwab <schwab@redhat.com>
48187 * include/dirent.h: Add libc_hidden_proto for scandirat and
48188 scandirat64. Don't declare __scandirat64.
48189 * dirent/scandirat.c: Add libc_hidden_def.
48190 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48191 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48193 2011-08-10 David S. Miller <davem@davemloft.net>
48195 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48197 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48198 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48199 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48201 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48203 * Versions.def [libc]: Add GLIBC_2.15.
48204 * dirent/Makefile (routines): Add scandirat and scandirat64.
48205 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48207 * dirent/dirent.h: Declare scandirat and scandirat64.
48208 * dirent/scandirat.c: New file.
48209 * dirent/scandirat64.c: New file.
48210 * sysdeps/wordsize-64/scandirat.c: New file.
48211 * sysdeps/wordsize-64/scandirat64.c: New file.
48212 * dirent/opendir.c: Define opendirat.
48213 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48215 * dirent/scandir64.c: Adjust for scandir.c change.
48216 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48217 __scandirat64, and __scandir_cancel_handler.
48218 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48219 additional parameter and use openat instead of open (outside of ld.so).
48220 Add new __opendir as wrapper around __opendirat.
48221 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48222 here without requiring old scandirat implementation.
48224 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48226 * dirent/scandir.c (cancel_handler): Renamed to
48227 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48228 defined. Adjust users.
48229 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48230 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48232 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48234 * string/test-string.h (IMPL): Use __STRING to expand name and then
48237 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48240 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48242 * string/Makefile: Update.
48243 (strop-tests): Append strncat.
48244 * string/test-wcscmp.c: New file.
48245 New comprehensive test for wcscmp.
48246 * string/test-strcmp.c: Update.
48247 (WIDE): New define.
48249 2011-07-22 Andreas Schwab <schwab@redhat.com>
48251 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48254 2011-07-26 Andreas Schwab <schwab@redhat.com>
48256 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48257 encoding to ACE if AI_IDN.
48259 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48261 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48262 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48264 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48266 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48267 Fix overflow bug in strncat.
48268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48270 * string/test-strncat.c: Update.
48271 Add new tests for checking overflow bugs.
48273 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48276 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48277 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48278 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48279 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48280 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48281 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48282 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48283 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48285 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48286 (USE_AS_STRCAT): Define.
48287 Add strcat and strncat support.
48288 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48290 2011-07-25 Andreas Schwab <schwab@redhat.com>
48292 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48293 __n bigger than INT_MAX+1.
48294 (__strncmp_g): Likewise.
48296 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48298 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48299 * libio/stido.h: Likewise.
48301 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48303 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48306 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48307 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48308 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48309 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48310 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48313 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48318 (_dl_x86_64_save_sse): Likewise.
48320 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48324 (_dl_x86_64_save_sse): Likewise.
48326 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48328 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48330 2011-07-21 Andreas Schwab <schwab@redhat.com>
48332 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48334 (_dl_x86_64_save_sse): Use correct AVX check.
48336 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48338 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48339 bug in strncpy/strncat.
48340 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48342 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48344 * string/tester.c (test_strcat): Add tests for different alignments
48345 of source and destination.
48346 (test_strncat): Likewise.
48348 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48351 * posix/glob.c (glob): Check passed in values before using them in
48352 expressions to avoid some overflows.
48353 (glob_in_dir): Likewise.
48356 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48357 check for AVX enablement so that we don't crash with old kernels and
48359 * elf/tst-audit4.c: Add same checks here.
48360 * elf/tst-audit6.c: Likewise.
48362 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48364 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48366 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48368 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48370 * po/cs.po: Update from translation team.
48371 * po/bg.po: Likewise.
48373 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48375 * misc/sys/cdefs.h: Add support for const attribute.
48376 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48377 to gnu_dev_{major,minor,makedev} functions.
48379 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48381 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48383 2011-07-20 Andreas Schwab <schwab@redhat.com>
48385 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48388 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48391 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48392 register in order to avoid conflicts with the soft frame pointer
48393 being held in r11 when necessary.
48394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48395 (INTERNAL_VSYSCALL_NCS): Likewise.
48397 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48399 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48400 * elf/dl-fini.c (_dl_fini): Adjust caller.
48401 * elf/dl-close.c (_dl_close_worker): Likewise.
48402 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48404 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48406 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48407 "aux_cache->nlibs < 0".
48409 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48410 in the reload-count case.
48412 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48414 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48415 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48416 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48417 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48418 * sysdeps/x86_64/multiarch/strcat.S: New file.
48419 * sysdeps/x86_64/multiarch/strncat.S: New file.
48420 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48421 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48422 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48423 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48425 (USE_AS_STRCAT): Define.
48426 Add strcat and strncat support.
48427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48428 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48429 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48430 * string/strncat.c: Update.
48431 (USE_AS_STRNCAT): Define.
48432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48433 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48435 * sysdeps/x86_64/multiarch/init-arch.h
48436 (bit_Prefer_PMINUB_for_stringop): New.
48437 (index_Prefer_PMINUB_for_stringop): Likewise.
48438 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48439 bit_Prefer_PMINUB_for_stringop.
48441 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48443 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48445 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48446 of casting of buffer.
48447 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48448 buffer32 and buffer64.
48449 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48450 writes instead of casting of buffer.
48451 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48453 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48456 2011-07-19 Andreas Schwab <schwab@redhat.com>
48458 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48460 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48462 * nscd/nscd.c (termination_handler): Don't do anything for a database
48463 if it has not yet been initialized.
48465 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48467 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48469 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48471 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48473 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48475 * po/nl.po: Update from translation team.
48476 * po/sv.po: Likewise.
48478 2011-07-16 Roland McGrath <roland@hack.frob.com>
48480 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48481 now disallowed by GCC.
48483 * configure.in (use-default-link): Default to yes if a test -shared
48484 link meets our qualifications.
48485 * configure: Regenerated.
48487 * config.make.in (output-format): New variable.
48488 * configure.in: Check for ld --print-output-format support.
48489 * configure: Regenerated.
48490 * Makerules ($(common-objpfx)format.lds)
48491 [$(output-format) != unknown]: Just use $(output-format),
48492 instead of the linker-script munging.
48494 2011-07-14 Roland McGrath <roland@hack.frob.com>
48496 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48497 of $(common-objpfx)shlib.lds.
48498 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48500 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48501 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48503 * configure.in (-z relro check): Adjust test code to add a large
48504 writable data section after it.
48505 * configure: Regenerated.
48507 2011-07-11 Roland McGrath <roland@hack.frob.com>
48509 * configure.in (-z relro check): Fix test code to make the variable
48511 * configure: Regenerated.
48513 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48515 * nscd/nscd.h (struct traced_file): Define.
48516 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48517 elements. Add traced_files.
48518 (inotify_fd): Declare.
48519 (register_traced_file): Declare.
48520 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48521 (inotify_fd): Export.
48522 (resolv_conf_descr): Remove.
48523 (nscd_init): Move inotify descriptor creation to main.
48524 Don't register files for notification here.
48525 (register_traced_file): New function.
48526 (invalidate_cache): Don't use reset_res to determine whether to call
48527 res_init, go through the list of registered files.
48528 (main_loop_poll): The inotify descriptors are now stored in the
48529 structures for the traced files.
48530 (main_loop_epoll): Likewise
48531 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48532 to __nss_disable_nscd.
48533 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48534 for a database anymore. Check the records for all the registered
48536 * nss/Makefile (libnss_files-routines): Add files-init.
48537 (libnss_db-routines): Add db-init.
48538 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48539 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48540 * nss/nss_db/db-init.c: New file.
48541 * nss/nss_files/files-init.c: New file.
48542 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48543 __nss_lookup_function.
48544 (__nss_lookup_function): Call nss_load_library.
48545 (nss_load_all_libraries): New function.
48546 (__nss_disable_nscd): Take parameter with callback function for files
48547 to register. Set is_nscd. Load all the DSOs for the NSS modules
48548 used for the cached services.
48549 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48550 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48551 options for features to all the files in nscd.
48553 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48555 2011-07-10 Roland McGrath <roland@hack.frob.com>
48557 * csu/elf-init.c (__libc_csu_init): Comment typo.
48559 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48561 * po/pl.po: Update from translation team.
48562 * po/ja.po: Likewise.
48563 * po/ru.po: Likewise.
48564 * po/ko.po: Likewise.
48565 * po/fr.po: Likewise.
48567 2011-07-09 Roland McGrath <roland@hack.frob.com>
48569 * configure.in (.ctors/.dtors header and trailer check):
48570 Use an empirical test on a built program.
48571 * configure: Regenerated.
48573 * configure.in (-z relro check): Use an empirical test on a built DSO.
48574 Detect, but do not require, on ia64.
48575 * configure: Regenerated.
48577 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48578 Update tests that use readelf to use $READELF instead.
48579 * configure: Regenerated.
48581 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48583 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48584 if the result is not used.
48586 2011-07-05 Andreas Jaeger <aj@suse.de>
48589 * stdlib/tst-strtod.c: Add testcase.
48591 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48593 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48594 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48595 The latter has a higher limit. Take additional parameter to pass to
48597 (__pathconf): Pass file to __statfs_link_max.
48598 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48600 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48604 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48607 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48608 (__statfs_filesize_max): Likewise.
48609 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48611 2011-07-05 Andreas Jaeger <aj@suse.de>
48613 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48615 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48617 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48619 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48622 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48624 * Makefile (strop-tests): Add strncat.
48625 * string/test-strncat.c: New file.
48627 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48629 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48631 2011-06-21 Andreas Jaeger <aj@suse.de>
48633 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48634 Copy rule from iconvdata/Makefile.
48636 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48639 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48640 but no long options are defined, just return 'W'.
48642 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48645 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48647 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48649 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48651 (innetgr): Likewise.
48653 2011-07-05 Roland McGrath <roland@hack.frob.com>
48655 * config.make.in (install_root): Default to $(DESTDIR).
48657 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48659 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48661 2011-07-02 Roland McGrath <roland@hack.frob.com>
48663 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48665 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48666 containing directory rather than embedding absolute directory names.
48668 * scripts/check-local-headers.sh: Rewritten using awk.
48669 Match by word, not by line. Print error messages for matches.
48670 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48672 * Makerules [shlib-lds-flags empty]:
48673 ($(common-objpfx)libc_pic.opts): New target.
48674 ($(common-objpfx)libc_pic.os.clean): New target.
48675 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48677 * config.make.in (OBJCOPY): New variable.
48678 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48679 * configure: Regenerated.
48681 * config.make.in (use-default-link): New variable.
48682 * configure.in (use_default_link): Grok --with-default-link to set it.
48683 * configure: Regenerated.
48684 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48685 (shlib-lds, shlib-lds-flags): Define to empty.
48687 * Makerules (shlib-lds): New variable.
48688 (shlib-lds-flags): New variable.
48689 (build-shlib, build-moduile, build-module-asneeded): Use it.
48690 ($(common-objpfx)libc.so): Use $(shlib-lds).
48691 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48692 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48694 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48695 DT_FLAGS/DT_FLAGS_1 with zero flags.
48697 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48698 linker script munging.
48700 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48702 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48704 * crypt/sha512.c (sha512_process_block): Perform total addition using
48705 128-bit if possible.
48706 (__sha512_finish_ctx): Likewise.
48707 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48709 * crypt/sha256.c (SWAP64): Define.
48710 (sha256_process_block): Perform total addition using 64-bit if
48712 (__sha256_finish_ctx): Likewise.
48714 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48716 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48718 * nscd/hstcache.c (cache_addhst): Likewise.
48719 * nscd/grpcache.c (cache_addgr): Likewise.
48720 * nscd/aicache.c (addhstaiX): Likewise
48721 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48723 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48725 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48726 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48727 * nscd/hstcache.c (cache_addhst): Likewise.
48728 * nscd/grpcache.c (cache_addgr): Likewise.
48729 * nscd/aicache.c (addhstaiX): Likewise
48731 2011-07-01 Andreas Schwab <schwab@redhat.com>
48733 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48734 domain only when needed.
48736 2011-06-30 Andreas Schwab <schwab@redhat.com>
48738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48739 is always restored.
48741 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48743 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48744 are re-adding the entry.
48745 * nscd/servicescache.c (cache_addserv): Likewise.
48747 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48749 * sysdeps/generic/dl-irel.h: fix protection against multiple
48751 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48753 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48756 * malloc/memusage.sh: Fix quoting in message.
48757 * debug/xtrace.sh: Likewise.
48759 * configure.in: Remove support for --experimental-malloc option, make
48761 * config.make.in: Likewise.
48762 * malloc/Makefile: Likewise.
48764 2011-06-27 Andreas Schwab <schwab@redhat.com>
48766 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48767 two-byte characters.
48769 2011-06-27 Roland McGrath <roland@hack.frob.com>
48771 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48772 AC_CACHE_CHECK invocation.
48773 * configure: Regenerated.
48775 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48777 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48780 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48781 bit from old_res_options.
48783 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48785 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48786 value type for setfct.
48788 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48791 __gettimeofday instead of gettimeofday.
48793 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48795 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48797 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48799 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48801 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48804 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48806 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48807 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48808 strcpy-sse2-unaligned strncpy-sse2-unaligned
48809 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48810 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48811 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48812 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48813 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48814 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48815 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48816 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48817 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48818 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48819 (STRCPY): Support SSE2 and SSSE3 versions.
48821 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48824 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48825 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48826 kernels which artificially limit size of requests.
48828 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48830 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48831 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48832 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48833 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48834 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48835 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48836 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48837 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48838 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48840 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48841 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48842 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48843 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48844 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48845 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48846 Enable unaligned load optimization for Intel Core i3, i5 and i7
48848 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48850 (index_Fast_Unaligned_Load): Define.
48851 (HAS_FAST_UNALIGNED_LOAD): Define.
48853 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48855 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48857 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48860 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48861 until it is clear that the information is realy needed.
48862 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48864 2011-06-22 Andreas Schwab <schwab@redhat.com>
48866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48868 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48870 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48871 /sys/devices/system/cpu/online if it is usable.
48873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48874 reading the information from the /proc filesystem to once a second.
48876 2011-06-21 Andreas Jaeger <aj@suse.de>
48878 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48879 NULL after inclusion of kernel headers.
48881 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48883 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48884 calls to internal_setent.
48887 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48888 addresses using gethostbyname4_r ignore IPv4 addresses.
48890 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48891 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48893 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48895 2011-06-20 David S. Miller <davem@davemloft.net>
48897 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48899 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48901 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48902 (elf_irel): Use it.
48903 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48904 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48905 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48906 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48907 * sysdeps/x86_64/dl-irel.h: Likewise.
48909 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48910 * elf/dl-sym.c: Likewise.
48912 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48914 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48915 need to dereference resplen2.
48917 2011-06-14 Andreas Schwab <schwab@redhat.com>
48919 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48921 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48923 * Makeconfig: Define vardbdir and inst_vardbdir.
48924 * nss/Makefile: Add rules to install db-Makefile.
48926 * nss/nss_db/db-XXX.c: Cleanup.
48928 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48929 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48931 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48932 * nss/makedb.c: Implement -g option to specify that value strings
48933 are generated and should not be added to table iterated over for
48935 * nss/nss_db/db-initgroups.c: New file.
48937 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48940 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48941 (internal_getgrouplist): Adjust to name change.
48942 Update use_initgroups_entry if this is not the first call.
48943 * nss/databases.def: Add initgroups entry.
48945 * nss/makedb.c (compute_tables): Check result of multiple hash table
48946 sizes to minimize maximum chain length.
48948 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48950 * Versions.def: Add entry for libnss_db.
48951 * shlib-versions: Likewise.
48952 * nss/Makefile: Add rules to build libnss_db.
48953 * nss/Versions: Add libnss_db information. Organize libnss_files
48955 * nss/db-Makefile: Add gshadow support. Change rules for the new
48956 makedb progra. Some minor improvements to generate smaller files.
48957 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48959 * nss/makedb.c: ...here.
48960 Improve database format to be smaller and require less memory at
48962 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48964 * nss/nss_db/db-netgrp.c: Likewise.
48965 * nss/nss_db/db-open.c: Likewise.
48966 * nss/nss_files/flies-XXX.x: Adjust comments.
48967 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48968 * nss/nss_files/files-grp.c: Likewise.
48969 * nss/nss_files/files-hosts.c: Likewise.
48970 * nss/nss_files/files-network.c: Likewise.
48971 * nss/nss_files/files-proto.c: Likewise.
48972 * nss/nss_files/files-pwd.c: Likewise.
48973 * nss/nss_files/files-rpc.c: Likewise.
48974 * nss/nss_files/files-service.c: Likewise.
48975 * nss/nss_files/files-sgrp.c: Likewise.
48976 * nss/nss_files/files-spwd.c: Likewise.
48977 * nss/nss_db/db-alias.c: Removed.
48978 * nss/nss_db/dummy-db.h: Removed.
48980 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48982 * nss/makedb.c: Rewritten to not use database library.
48983 * nss/Makefile: Update to build new makedb program.
48985 2011-06-14 Andreas Jaeger <aj@suse.de>
48987 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48988 memset declaration.
48990 2011-06-10 Andreas Schwab <schwab@redhat.com>
48992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48995 2011-06-10 Roland McGrath <roland@hack.frob.com>
48997 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48998 * elf/Makefile ($(objpfx)ld.so): Likewise.
49000 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49001 Don't list ld.so twice in dependencies.
49003 * posix/bug-regex31.c: Include <stdlib.h>.
49005 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49007 * nis/nss_compat/compat-spwd.c
49008 (getspent_next_nss_netgr): Remove unused variable.
49009 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49011 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49012 nonmembers" output to use the right array.
49014 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49016 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49018 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49019 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49020 * catgets/gencat.c (read_input_file): Likewise.
49021 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49023 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49024 variable definition inside #if's controlling its use.
49026 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49028 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49030 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49032 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49035 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49037 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49038 * configure: Regenerated.
49040 * Makerules: Revert last change.
49041 * elf/Makefile: Likewise.
49043 2011-06-09 Roland McGrath <roland@hack.frob.com>
49045 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49046 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49047 (reloc-link): Likewise.
49049 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49051 * elf/Makefile: Add rules to build pldd.
49052 * elf/pldd.c: New file.
49053 * elf/pldd-xx.c: New file.
49055 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49057 * version.h: Update for 2.15 development version.
49059 2011-06-07 David S. Miller <davem@davemloft.net>
49061 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49063 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49064 elf_machine_lazy_rel): Likewise.
49065 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49066 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49067 elf_machine_lazy_rel): Likewise.
49068 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49069 dl_hwcap via passed in argument.
49070 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49073 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49075 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49077 2011-06-06 Roland McGrath <roland@hack.frob.com>
49080 * manual/fdl-1.1.texi: New file, verbatim from:
49081 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49082 * manual/lgpl-2.1.texi: New file, verbatim from:
49083 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49084 * manual/Makefile (licenses): New variable, list those new file names.
49086 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49088 * manual/fdl.texi: File removed.
49089 * manual/lesser.texi: File removed.
49090 * manual/libc.texinfo (Copying, Documentation License):
49091 Use new @include file names, put @appendix directive before @include.
49093 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49096 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49097 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49098 (mq_open): Add __NTH.
49100 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49103 Assume Intel Core i3/i5/i7 processor if AVX is available.
49105 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49107 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49110 2011-05-31 Andreas Schwab <schwab@redhat.com>
49112 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49113 memory. Use alloca_account. Fix memory leak when retrying.
49115 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49117 * version.h (RELEASE): Bump for 2.14 release.
49118 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49120 * config.make.in (RANLIB): Remove entry.
49122 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49124 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49125 (libc.pot): Work around missing support for .ksh extension in xgettext.
49128 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49129 if both request failed.
49130 (send_dg): In case of server errors clear resplen or *resplen2.
49133 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49134 when there are multiple maps.
49135 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49136 (_dl_fini): Remove test here.
49138 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49140 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49143 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49144 bit from old_res_options.
49145 (gaih_inet): Likewise.
49148 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49151 * resolv/res_init.c (res_setoptions): Make the code more compact.
49154 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49158 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49160 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49163 * malloc/malloc.h: Declare malloc hook variables as volatile.
49165 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49169 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49170 raise in the comment.
49171 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49173 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49175 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49178 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49179 grow the buffers more if it already has to be sufficient.
49180 (build_wcs_upper_buffer): Likewise.
49181 * posix/regexec.c (check_matching): Likewise.
49182 (clean_state_log_if_needed): Likewise.
49183 (extend_buffers): Don't enlarge buffers beyond size of the input
49185 Patches mostly by Emil Wojak <emil@wojak.eu>.
49186 * posix/bug-regex32.c: New file.
49187 * posix/Makefile (tests): Add bug-regex32.
49189 * locale/findlocale.c (_nl_find_locale): Return right away if
49190 _nl_explode_name failed.
49191 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49193 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49195 * debug/xtrace.sh: Unify messages.
49196 * malloc/memusage.sh: Likewise.
49199 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49200 time symbol from vDSO. Substitute with vsyscall if not available.
49201 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49204 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49205 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49206 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49207 Add sendmmsg and internal_sendmmsg.
49208 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49209 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49212 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49213 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49214 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49216 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49219 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49220 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49222 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49226 * iconvdata/Makefile (tests): Add bug-iconv9.
49227 * iconvdata/bug-iconv9.c: New file.
49229 2011-05-27 Andreas Schwab <schwab@redhat.com>
49232 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49234 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49236 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49237 (struct user_regs_struct): Change intcs field back to cs.
49239 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49241 * po/ja.po: Update from translation team.
49243 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49246 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49247 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49249 2011-05-20 Andreas Schwab <schwab@redhat.com>
49251 * stdlib/longlong.h: Update from GCC.
49253 2011-05-23 Andreas Schwab <schwab@redhat.com>
49255 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49257 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49258 Add parameter name.
49259 (__sysconf): Pass it down.
49261 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49264 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49266 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49267 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49268 add in in __libc_use_alloca calls. Adjust callers.
49269 (glob): Use malloc in some situations.
49271 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49272 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49275 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49277 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49278 and CLOCK_BOOTTIME_ALARM.
49281 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49284 * string/_strerror.c (__strerror_r): Print negative errors as signed
49288 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49289 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49290 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49292 * configure.in: Fix typo in redirection and correct removal of test
49293 files in two cases.
49296 * locale/setlocale.c (new_composite_name): Fix test to check for
49297 identical name of all categories.
49300 * libio/filedoalloc.c (local_isatty): New function.
49301 (_IO_file_doallocate): Use local_isatty.
49302 * stdio-common/perror.c (perror): In case a new stream is used
49303 forward the stream error.
49304 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49307 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49312 * include/alloca.h (extend_alloca_account): Define.
49315 * posix/regex.h: Fix comments with documentation of user-accessible
49316 fields after compilation and describe correct free'ing of pattern
49317 after re_compile_pattern.
49318 Patch by Reuben Thomas <rrt@sc3d.org>.
49320 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49322 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49323 and -mno-altivec to prevent the compiler from using Altivec and/or
49324 VSX instructions when the corresponding registers are not available.
49326 2011-05-19 Andreas Schwab <schwab@redhat.com>
49328 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49330 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49332 * libio/freopen.c (freopen): Use __dup2, not dup2.
49333 * libio/freopen64.c (freopen64): Likewise.
49335 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49338 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49339 * math/Makefile (tests): Add test-powl.
49340 (CFLAGS-test-powl.c): Define.
49341 * math/test-powl.c: New file.
49343 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49345 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49347 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49350 * iconvdata/gb18030.c: Update to GB18020-2005.
49352 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49354 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49355 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49356 Patch by Aharon Robbins <arnold@skeeve.com>.
49359 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49363 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49364 through underflows.
49367 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49368 point to strings before performing equality test for error_one_per_line
49372 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49375 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49376 (struct user_fpregs_struct): Avoid __uint*_t types.
49379 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49380 symbol info. Use it instead of calling _dl_addr locally.
49381 (lock_and_info): New function.
49382 (tr_freehook): Call lock_and_info and pass symbol info as additional
49383 parameter to tr_where.
49384 (tr_mallochook): Likewise.
49385 (tr_reallochook): Likewise.
49386 (tr_memalignhook): Likewise.
49388 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49389 used and couldn't be at all thread-safe.
49391 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49393 * libio/freopen.c (freopen): Don't close old file descriptor
49394 before the new one is opened. Instead dup the new file descriptor
49395 to the old one after the new stream is created.
49396 * libio/freopen64.c (freopen64): Likewise.
49397 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49398 * libio/fileops.c (_IO_new_file_close_it): Handle new
49399 _IO_FLAGS2_NOCLOSE flag.
49400 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49401 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49402 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49403 _IO_FLAGS2_NOCLOSE flag.
49404 * include/unistd.h: Add hidden_proto for dup3.
49405 Define __have_dup3.
49406 * io/dup3.c: Define hidden symbol.
49407 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49410 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49411 when an incomplete long option is used.
49412 * posix/tst-getopt_long1.c: New file.
49413 * posix/Makefile (tests): Add tst-getopt_long1.
49416 * scripts/config.guess: Update from autoconf-2.68.
49417 * scripts/config.sub: Likewise.
49420 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49422 (has_cpuclock): ...this. New function.
49423 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49424 macro here based on has_cpuclock code.
49427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49428 First byte (not low byte) is now always NUL.
49429 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49432 Use non-cancelable interfaces.
49435 * locale/iso-639.def: Add entry for Sorani.
49438 * include/stdlib.h: Move include protection to the right place.
49439 Define abort_msg_s. Declare __abort_msg with it.
49440 * stdlib/abort.c (__abort_msg): Adjust type.
49441 * assert/assert.c (__assert_fail_base): New function. Majority
49442 of code from __assert_fail. Allocate memory for __abort_msg with
49444 (__assert_fail): Now call __assert_fail_base.
49445 * assert/assert-perr.c: Remove bulk of implementation. Use
49446 __assert_fail_base.
49447 * include/assert.hL Declare __assert_fail_base.
49448 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49450 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49452 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49456 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49457 until all modules are registered in the DTV.
49458 * elf/Makefile: Add rules to build and run tst-tls19.
49459 * elf/tst-tls19.c: New file.
49460 * elf/tst-tls19mod1.c: New file.
49461 * elf/tst-tls19mod2.c: New file.
49462 * elf/tst-tls19mod3.c: New file.
49463 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49466 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49470 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49471 two-byte sequence errors.
49472 * iconvdata/Makefile (tests): Add bug-iconv8.
49473 * iconvdata/bug-iconv8.c: New file.
49476 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49479 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49482 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49483 (dummy_getcfa): New function.
49484 (init): Get _Unwind_GetCFA address, use dummy if not found.
49485 (backtrace_helper): In recursion check, also check whether CFA changes.
49486 (__backtrace): Completely initialize arg.
49488 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49489 storing incomplete byte sequence in state object. Avoid testing for
49490 guaranteed too small input if we know there is enough data available.
49492 2011-05-11 Andreas Schwab <schwab@redhat.com>
49494 * Makeconfig (+link-pie): Indent.
49495 * Rules (binaries-pie): Define if $(have-fpie) and
49497 (binaries-shared): Also filter out $(binaries-pie).
49498 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49499 * nscd/Makefile (others-pie): Add nscd.
49500 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49501 ($(objpfx)nscd): Remove command override.
49502 * login/Makefile (others-pie): Add pt_chown.
49503 ($(objpfx)pt_chown): Remove command override.
49504 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49505 remove command overrides.
49507 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49509 * libio/tst_putwc.c: Fix error messages.
49512 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49513 currently writing and seek to current position when not.
49514 * libio/Makefile (tests): Add bug-fclose1.
49515 * libio/bug-fclose1.c: New file.
49517 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49520 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49521 don't set DF_1_NODELETE here.
49522 (do_lookup_x): When entering new entry test for copy relocation
49523 and if necessary set DF_1_NODELETE flag.
49524 * elf/tst-unique4.cc: New file.
49525 * elf/tst-unique4.h: New file.
49526 * elf/tst-unique4lib.cc: New file.
49527 * elf/Makefile: Add rules to build and run tst-unique4.
49528 Patch by Piotr Bury <pbury@goahead.com>.
49530 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49533 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49536 * misc/mntent_r.c (addmntent): Flush the stream after the output
49539 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49540 (is_trusted_path_normalize): Skip initial colon. Append slash
49541 to empty buffer. Duplicate is_trusted_path code but allow
49542 constructed patch to be prefix.
49543 (is_dst): Allow $ORIGIN followed by /.
49544 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49545 Correct testing of result of is_trusted_path_normalize
49546 (decompose_rpath): Fix warning.
49548 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49551 * grp/initgroups.c (internal_getgrouplist): When we found the service
49552 list through the initgroups entry in nsswitch.conf do not always
49553 continue on a successful lookup. Don't always use the
49554 __nss_group_database value if it is set.
49555 * nss/nsswitch.conf (initgroups): Change action for successful db
49556 lookup to continue for compatibility.
49558 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49561 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49563 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49565 * iconvdata/tst-tables.sh: Likewise.
49566 * iconvdata/cp770.c: New file.
49567 * iconvdata/cp771.c: New file.
49568 * iconvdata/cp772.c: New file.
49569 * iconvdata/cp773.c: New file.
49570 * iconvdata/cp774.c: New file.
49571 * iconvdata/testdata/CP770: New file.
49572 * iconvdata/testdata/CP770..UTF8: New file.
49573 * iconvdata/testdata/CP771: New file.
49574 * iconvdata/testdata/CP771..UTF8: New file.
49575 * iconvdata/testdata/CP772: New file.
49576 * iconvdata/testdata/CP772..UTF8: New file.
49577 * iconvdata/testdata/CP773: New file.
49578 * iconvdata/testdata/CP773..UTF8: New file.
49579 * iconvdata/testdata/CP774: New file.
49580 * iconvdata/testdata/CP774..UTF8: New file.
49582 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49584 * iconvdata/gen-8bit-gap.sh: Likewise.
49585 * iconvdata/gen-8bit.sh: Likewise.
49587 * locale/iso-639.def: Add ary entry.
49590 * locale/C-translit.h.in: Add U20A1 transliteration.
49593 * locale/iso-639.def: Add wae entry.
49594 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49597 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49601 * locale/C-translit.h.in: Add entry for U20B9.
49602 Patch by pravin.d.s@gmail.com.
49604 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49607 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49608 ENAMETOOLONG use generic getcwd.
49609 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49610 in rtld. Use *stat64.
49611 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49612 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49613 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49614 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49615 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49616 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49617 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49618 __fstatat64 macros.
49619 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49620 * dirent/rewinddir.c: Add libc_hidden_def.
49621 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49622 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49624 * include/dirent.h (__alloc_dir): Add flags parameter.
49625 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49626 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49628 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49629 from fdopendir if O_CLOEXEC is already set.
49631 2011-03-15 Alan Modra <amodra@gmail.com>
49633 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49634 l_tls_firstbyte_offset non-zero. Save padding offset in
49635 l_tls_firstbyte_offset for later use.
49636 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49637 freeing static tls block.
49639 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49641 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49642 where #ifdef was intended. The intent is to prevent ARG_MAX from
49643 being defined by the kernel headers.
49645 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49648 * resolv/resolv.h: Define RES_NOTLDQUERY.
49649 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49650 no-tld-query and set RES_NOTLDQUERY.
49651 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49652 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49653 modern BIND to search name as TLD unless forbidden.
49655 2011-05-07 Petr Baudis <pasky@suse.cz>
49656 Ulrich Drepper <drepper@gmail.com>
49659 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49660 (is_trusted_path): ...to here.
49661 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49662 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49663 using is_trusted_path_normalize() in setuid scripts.
49665 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49667 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49668 __BEGIN/__END_DECLS.
49670 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49672 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49673 NSS_STATUS_NOTFOUND if no record was found.
49675 2011-05-05 Andreas Schwab <schwab@redhat.com>
49677 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49678 (headers-not-in-tirpc): Remove rpc/netdb.h
49679 * resolv/netdb.h: Revert last change.
49681 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49683 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49684 circular dependency between libgcc.a and libc.a.
49686 2011-05-05 Andreas Schwab <schwab@redhat.com>
49688 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49689 * nis/Makefile: Don't install rpcsvc/*.
49690 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49691 instead of <rpc/types.h>.
49692 (MAXHOSTNAMELEN): Define.
49694 2011-05-03 Andreas Schwab <schwab@redhat.com>
49696 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49698 2011-04-28 Maciej Babinski <mbabinski@google.com>
49701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49702 gethostbyname4_r when IPv6 results are possible.
49704 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49707 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49708 _PC_PIPE_BUF handling.
49710 2011-04-30 Bruno Haible <bruno@clisp.org>
49713 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49714 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49716 * inet/getnameinfo.c (getnameinfo): Likewise.
49718 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49720 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49721 to groups setting in database lookup.
49722 * nss/nsswitch.conf: Add initgroups entry.
49724 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49727 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49729 Patch by Eric Blake <eblake@redhat.com>.
49731 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49733 * sunrpc/Makefile (need-export-routines): Add svc_run.
49734 (routines): Remove svc_run.
49735 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49736 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49737 * sunrpc/svc_run.c (svc_run): Likewise.
49738 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49740 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49742 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49743 problem in reallocation in last patch.
49745 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49747 * sunrpc/Makefile: Move inclusion of Rules.
49749 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49751 * nss/nss_files/files-initgroups.c: New file.
49752 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49753 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49754 _nss_files_initgroups_dyn.
49756 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49758 * elf/elf.h (R_ARM_IRELATIVE): Define.
49760 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49762 * po/ru.po: Update from translation team.
49764 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49766 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49769 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49772 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49773 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49774 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49775 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49778 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49780 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49782 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49783 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49784 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49786 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49789 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49791 * stdlib/bug-getcontext.c: New file.
49792 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49794 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49796 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49797 instructions into .machine "z9-109".
49798 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49799 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49801 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49803 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49804 between environment variables and auxiliary vector.
49806 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49808 * Makefile: Add rules to build linkobj/libc.so.
49809 * include/libc-symbols.h: Define libc_hidden_nolink.
49810 * include/rpc/auth.h: Mark functions which are to be hidden.
49811 * include/rpc/auth_des.h: Likewise.
49812 * include/rpc/auth_unix.h: Likewise.
49813 * include/rpc/clnt.h: Likewise.
49814 * include/rpc/des_crypt.h: Likewise.
49815 * include/rpc/key_prot.h: Likewise.
49816 * include/rpc/pmap_clnt.h: Likewise.
49817 * include/rpc/pmap_prot.h: Likewise.
49818 * include/rpc/pmap_rmt.h: Likewise.
49819 * include/rpc/rpc_msg.h: Likewise.
49820 * include/rpc/svc.h: Likewise.
49821 * include/rpc/svc_auth.h: Likewise.
49822 * include/rpc/xdr.h: Likewise.
49823 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49824 * nss/Makefile: Likewise.
49825 * sunrpc/Makefile: Don't install headers. Build library with normal
49826 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49827 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49828 for the compat linking library. Remove use of INTDEF/INTUSE.
49829 * sunrpc/auth_none.c: Likewise.
49830 * sunrpc/auth_unix.c: Likewise.
49831 * sunrpc/authdes_prot.c: Likewise.
49832 * sunrpc/authuxprot.c: Likewise.
49833 * sunrpc/clnt_gen.c: Likewise.
49834 * sunrpc/clnt_perr.c: Likewise.
49835 * sunrpc/clnt_raw.c: Likewise.
49836 * sunrpc/clnt_simp.c: Likewise.
49837 * sunrpc/clnt_tcp.c: Likewise.
49838 * sunrpc/clnt_udp.c: Likewise.
49839 * sunrpc/clnt_unix.c: Likewise.
49840 * sunrpc/des_crypt.c: Likewise.
49841 * sunrpc/des_soft.c: Likewise.
49842 * sunrpc/get_myaddr.c: Likewise.
49843 * sunrpc/key_call.c: Likewise.
49844 * sunrpc/key_prot.c: Likewise.
49845 * sunrpc/netname.c: Likewise.
49846 * sunrpc/pm_getmaps.c: Likewise.
49847 * sunrpc/pm_getport.c: Likewise.
49848 * sunrpc/pmap_clnt.c: Likewise.
49849 * sunrpc/pmap_prot.c: Likewise.
49850 * sunrpc/pmap_prot2.c: Likewise.
49851 * sunrpc/pmap_rmt.c: Likewise.
49852 * sunrpc/publickey.c: Likewise.
49853 * sunrpc/rpc_cmsg.c: Likewise.
49854 * sunrpc/rpc_common.c: Likewise.
49855 * sunrpc/rpc_dtable.c: Likewise.
49856 * sunrpc/rpc_prot.c: Likewise.
49857 * sunrpc/rpc_thread.c: Likewise.
49858 * sunrpc/rtime.c: Likewise.
49859 * sunrpc/svc.c: Likewise.
49860 * sunrpc/svc_auth.c: Likewise.
49861 * sunrpc/svc_authux.c: Likewise.
49862 * sunrpc/svc_raw.c: Likewise.
49863 * sunrpc/svc_run.c: Likewise.
49864 * sunrpc/svc_simple.c: Likewise.
49865 * sunrpc/svc_tcp.c: Likewise.
49866 * sunrpc/svc_udp.c: Likewise.
49867 * sunrpc/svc_unix.c: Likewise.
49868 * sunrpc/svcauth_des.c: Likewise.
49869 * sunrpc/xcrypt.c: Likewise.
49870 * sunrpc/xdr.c: Likewise.
49871 * sunrpc/xdr_array.c: Likewise.
49872 * sunrpc/xdr_float.c: Likewise.
49873 * sunrpc/xdr_intXX_t.c: Likewise.
49874 * sunrpc/xdr_mem.c: Likewise.
49875 * sunrpc/xdr_rec.c: Likewise.
49876 * sunrpc/xdr_ref.c: Likewise.
49877 * sunrpc/xdr_sizeof.c: Likewise.
49878 * sunrpc/xdr_stdio.c: Likewise.
49880 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49883 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49884 * sysdeps/ia64/dl-tls.h: Likewise.
49885 * sysdeps/powerpc/dl-tls.h: Likewise.
49886 * sysdeps/s390/dl-tls.h: Likewise.
49887 * sysdeps/sh/dl-tls.h: Likewise.
49888 * sysdeps/sparc/dl-tls.h: Likewise.
49889 * sysdeps/x86_64/dl-tls.h: Likewise.
49890 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49892 2011-03-14 Andreas Schwab <schwab@redhat.com>
49894 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49895 rpath element also skip the following colon.
49896 (expand_dynamic_string_token): Add is_path parameter and pass
49897 down to DL_DST_REQUIRED and _dl_dst_substitute.
49898 (decompose_rpath): Call expand_dynamic_string_token with
49899 non-zero is_path. Ignore empty rpaths.
49900 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49903 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49908 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49911 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49912 Patch by Filipe David Manana <fdmanana@apache.org>.
49914 2011-04-07 Andreas Schwab <schwab@redhat.com>
49916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49917 Maintain aligned stack.
49918 (CHECK_RSP): Remove unused macro.
49920 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49922 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49923 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49925 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49927 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49929 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49931 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49934 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49935 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49936 * sysdeps/x86_64/memmove.c: New file.
49937 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49938 (memcpy): Renamed to ...
49939 (__new_memcpy): This.
49940 (memcpy): Provide GLIBC_2_14 memcpy.
49941 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49942 (memcpy): Provide GLIBC_2_2_5 memcpy.
49944 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49947 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49949 2011-03-30 Andreas Schwab <schwab@redhat.com>
49951 * misc/syncfs.c: New file.
49952 * misc/Makefile (routines): Add syncfs.
49953 * posix/unistd.h: Declare syncfs.
49954 * sysdeps/unix/syscalls.list: Add syncfs.
49956 2011-04-01 Andreas Schwab <schwab@redhat.com>
49958 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49960 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49965 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49968 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49970 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49971 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49974 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49976 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49978 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49979 sync_file_range.c with -fexceptions.
49980 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49981 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49982 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49983 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49984 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49985 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49987 sync_file_range as cancellation point
49988 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49989 now a wrapper around __call_sync_file_range with cancellation handling.
49990 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49991 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49992 function name to __call_sync_file_range.
49993 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49994 Add call_sync_file_range.
49996 2011-04-01 Andreas Schwab <schwab@redhat.com>
49998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50001 2011-04-01 Ulrich Drepper <drepper@gmail.com>
50003 * iconv/iconv.h: Fix typo in comment.
50004 * io/fcntl.h: Likewise.
50005 * libio/stdio.h: Likewise.
50006 * posix/spawn.h: Likewise.
50007 * posix/unistd.h: Likewise.
50008 * stdlib/stdlib.h: Likewise.
50009 * time/time.h: Likewise.
50010 * wcsmbs/wchar.h: Likewise.
50012 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50013 open_by_handle): Add.
50014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50015 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50016 Augment a few comments.
50017 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50019 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50020 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50021 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50022 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50025 * io/fcntl.h (AT_EMPTY_PATH): Define.
50027 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50029 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50030 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50031 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50033 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50034 * Versions.def: Add GLIBC_2.14.
50035 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50038 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50040 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50042 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50044 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50047 * string/test-strncmp.c (do_page_test): New function.
50048 (check2): Likewise.
50049 (test_main): Call check2.
50050 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50052 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50055 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50056 Handle cache information in CPU leaf 4.
50057 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50059 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50062 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50063 character representation.
50064 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50066 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50068 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50069 END(__isnan) to END(__isnanf) to match function entry point/label
50070 EALIGN(__isnanf,...).
50072 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50074 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50076 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50079 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50080 copy from the symbol referenced in the relocation to initialize the
50082 Patch by Piotr Bury <pbury@goahead.com>.
50083 * elf/Makefile: Add rules to build and tst-unique3.
50084 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50085 * elf/tst-unique3.cc: New file.
50086 * elf/tst-unique3.h: New file.
50087 * elf/tst-unique3lib.cc: New file.
50088 * elf/tst-unique3lib2.cc: New file.
50090 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50092 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50094 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50095 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50098 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50100 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50101 to-be-loaded object along a path to loader is ld.so.
50103 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50104 Ulrich Drepper <drepper@gmail.com>
50106 * sysdeps/x86_64/memset.S: After aligning destination, code
50107 branches to different locations depending on the value of
50108 misalignment, when multiarch is enabled. Fix this.
50110 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50112 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50113 Set _x86_64_preferred_memory_instruction for AMD processsors.
50114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50115 Set bit_Prefer_SSE_for_memop for AMD processors.
50117 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50119 * libio/fmemopen.c (fmemopen): Optimize a bit.
50121 2011-03-03 Andreas Schwab <schwab@redhat.com>
50123 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50125 2011-03-03 Roland McGrath <roland@redhat.com>
50127 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50129 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50131 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50132 __bzero_ultra1 instead of __memset_ultra1.
50134 2011-02-23 Andreas Schwab <schwab@redhat.com>
50135 Ulrich Drepper <drepper@gmail.com>
50138 * include/link.h (struct link_map): Add l_orig_initfini.
50139 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50140 returning unsuccessfully.
50141 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50142 close of a file loaded at startup, restore the original l_initfini
50144 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50145 list, store the pointer.
50146 * elf/Makefile ($(objpfx)noload-mem): New rule.
50147 (noload-ENV): Define.
50148 (tests): Add $(objpfx)noload-mem.
50149 * elf/noload.c: Include <memcheck.h>.
50150 (main): Call mtrace. Close all opened handles.
50152 2011-02-17 Andreas Schwab <schwab@redhat.com>
50155 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50156 dependencies are missing.
50158 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50160 Fix __if_freereq crash: Unlike the generic version which uses free,
50162 * sysdeps/mach/hurd/ifreq.h: New file.
50164 2011-01-27 Petr Baudis <pasky@suse.cz>
50165 Ulrich Drepper <drepper@gmail.com>
50168 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50169 to extend_alloca().
50170 * stdio-common/bug23.c: New file.
50171 * stdio-common/Makefile (tests): Add bug23.
50173 2010-09-28 Andreas Schwab <schwab@redhat.com>
50174 Ulrich Drepper <drepper@gmail.com>
50177 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50178 before performing relro protection. At old place add assertion
50179 to make sure nothing changed.
50181 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50182 Glauber de Oliveira Costa <glommer@gmail.com>
50184 * elf/elf.h: Add new ARM TLS relocs.
50186 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50189 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50191 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50193 * sysdeps/wordsize-64/tst-writev.c: New file.
50195 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50197 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50198 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50199 insns in _dl_start to prevent a TOC reference before relocs are
50202 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50205 * Makeconfig: Remove RANLIB definition.
50206 * Makerules: Don't use RANLIB.
50207 * aclocal.m4: Remove ranlib test.
50208 * configure.in: No need to check for ranlib.
50209 * elf/rtld-Rules: Don't use RANLIB.
50211 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50213 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50215 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50216 inclusion protection macro.
50218 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50219 SIGRTMIN and SIGRTMAX and print information in that case only when
50220 SIGRTMIN is defined.
50222 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50224 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50225 arginfo fn returning -1.
50227 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50228 and thousands string is zero terminated.
50230 2011-02-03 Andreas Schwab <schwab@redhat.com>
50232 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50233 sysdeps/unix/sysv/linux/bits/socket.h.
50235 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50237 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50238 (__CPU_COUNT): Remove old macros.
50239 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50240 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50241 (__CPU_ALLOC, __CPU_FREE): Add macros.
50242 (__sched_cpualloc, __sched_cpufree): Add declarations.
50244 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50246 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50247 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50248 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50249 (readdhstai): Return value of addhstaiX call.
50250 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50251 (addgrbyX): Return value returned by cache_addgr.
50252 (readdgrbyname): Return value returned by addgrbyX.
50253 (readdgrbygid): Likewise.
50254 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50255 (addpwbyX): Return value returned by cache_addpw.
50256 (readdpwbyname): Return value returned by addhstbyX.
50257 (readdpwbyuid): Likewise.
50258 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50259 (addservbyX): Return value returned by cache_addserv.
50260 (readdservbyname): Return value returned by addservbyX:
50261 (readdservbyport): Likewise.
50262 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50263 (addhstbyX): Return value returned by cache_addhst.
50264 (readdhstbyname): Return value returned by addhstbyX.
50265 (readdhstbyaddr): Likewise.
50266 (readdhstbynamev6): Likewise.
50267 (readdhstbyaddrv6): Likewise.
50268 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50269 (readdinitgroups): Return value returned by addinitgroupsX.
50270 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50271 (prune_cache): Keep track of timeout value of re-added entries.
50272 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50273 * nscd/nscd.h: Adjust prototypes of readd* functions.
50275 2011-02-04 Roland McGrath <roland@redhat.com>
50277 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50278 (nis_stats): Likewise.
50279 * nis/nis_modify.c (nis_modify): Likewise.
50280 * nis/nis_remove.c (nis_remove): Likewise.
50281 * nis/nis_add.c (nis_add): Likewise.
50283 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50285 * posix/fnmatch_loop.c: Add some consts.
50287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50289 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50292 * config.make.in (config-cflags-novzeroupper): Define.
50293 * configure.in: Substitute libc_cv_cc_novzeroupper.
50294 * elf/Makefile (AVX-CFLAGS): Define.
50295 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50296 (CFLAGS-tst-auditmod4a.c): Likewise.
50297 (CFLAGS-tst-auditmod4b.c): Likewise.
50298 (CFLAGS-tst-auditmod6b.c): Likewise.
50299 (CFLAGS-tst-auditmod6c.c): Likewise.
50300 (CFLAGS-tst-auditmod7b.c): Likewise.
50301 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50303 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50305 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50306 function to the callback.
50307 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50309 2011-02-02 Andreas Schwab <schwab@redhat.com>
50311 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50314 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50317 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50319 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50321 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50324 * elf/Makefile: Add rules to build and run new test.
50325 * elf/tst-initorder.c: New file.
50326 * elf/tst-initorder.exp: New file.
50327 * elf/tst-initordera1.c: New file.
50328 * elf/tst-initordera2.c: New file.
50329 * elf/tst-initordera3.c: New file.
50330 * elf/tst-initordera4.c: New file.
50331 * elf/tst-initorderb1.c: New file.
50332 * elf/tst-initorderb2.c: New file.
50333 * elf/tst-order-a1.c: New file.
50334 * elf/tst-order-a2.c: New file.
50335 * elf/tst-order-a3.c: New file.
50336 * elf/tst-order-a4.c: New file.
50337 * elf/tst-order-b1.c: New file.
50338 * elf/tst-order-b2.c: New file.
50339 * elf/tst-order-main.c: New file.
50340 New test case by George Gensure <werkt0@gmail.com>.
50342 2010-10-01 Andreas Schwab <schwab@redhat.com>
50344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50345 decoding ACE if AI_CANONIDN.
50347 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50349 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50351 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50353 * version.h (RELEASE): Bump for 2.13 release.
50354 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50356 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50358 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50360 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50361 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50362 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50364 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50365 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50367 * posix/getconf.c: Update copyright year.
50368 * catgets/gencat.c: Likewise.
50369 * csu/version.c: Likewise.
50370 * debug/catchsegv.sh: Likewise.
50371 * debug/xtrace.sh: Likewise.
50372 * elf/ldconfig.c: Likewise.
50373 * elf/ldd.bash.in: Likewise.
50374 * elf/sprof.c (print_version): Likewise.
50375 * iconv/iconv_prog.c: Likewise.
50376 * iconv/iconvconfig.c: Likewise.
50377 * locale/programs/locale.c: Likewise.
50378 * locale/programs/localedef.c: Likewise.
50379 * malloc/memusage.sh: Likewise.
50380 * malloc/mtrace.pl: Likewise.
50381 * nscd/nscd.c (print_version): Likewise.
50382 * nss/getent.c: Likewise.
50384 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50385 PF_CAIF, and PF_ALG.
50386 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50388 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50390 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50391 (modules-names): Use them.
50392 (ifunc-test-modules, ifunc-pie-tests): Define.
50393 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50394 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50395 (test-extras): Likewise.
50396 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50397 $(compile-command.c).
50398 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50399 (all-built-dso): Define.
50400 (check-textrel.out, check-execstack.out): Depend on it.
50402 * configure.in: Don't override --enable-multi-arch.
50404 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50407 * nscd/hstcache.c (tryagain): Define.
50408 (cache_addhst): Return tryagain not notfound for temporary errors.
50409 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50412 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50415 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50416 to make the syscall.
50417 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50420 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50421 and fall back to matching as normal character if the string ends before
50422 the matching ']' is found. This is what POSIX requires.
50423 * posix/testfnm.c: Adjust test result.
50424 * posix/globtest.sh: Adjust test result. Add new test.
50425 * posix/tst-fnmatch.input: Likewise.
50426 * posix/tst-fnmatch2.c: Add new test.
50428 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50430 * elf/Makefile (check-execstack): Revert last change. Depend on
50432 (check-execstack.h): New target.
50433 (generated): Add check-execstack.h.
50434 * elf/check-execstack.c: Include "check-execstack.h".
50435 (main): Revert last change.
50436 (handle_file): Return zero if GNU_STACK is absent and
50437 DEFAULT_STACK_PERMS doesn't include PF_X.
50439 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50441 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50442 in child fails because the descriptor is already closed.
50443 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50444 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50445 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50448 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50452 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50453 temporary buffer used to handle multi lookups locally.
50454 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50456 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50458 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50461 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50463 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50464 alignment for SSE2.
50466 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50469 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50470 characters. When rounding increased number of integer digits recompute
50472 * stdio-common/tst-grouping.c: New file.
50473 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50475 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50477 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50478 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50480 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50482 * bits/select.h: Likewise.
50484 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50486 * po/ja.po: Update from translation team.
50488 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50491 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50492 implementation just like for lxstat, fxstatat, et al.
50494 2010-12-27 Jim Meyering <meyering@redhat.com>
50497 * posix/regexec.c (build_trtable): Return failure indication upon
50498 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50500 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50503 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50504 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50505 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50506 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50509 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50512 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50513 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50515 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50517 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50518 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50519 script has SORT_BY_INIT_PRIORITY.
50520 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50521 NO_CTORS_DTORS_SECTIONS is defined.
50522 * elf/soinit.c: Likewise.
50523 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50524 NO_CTORS_DTORS_SECTIONS is defined.
50525 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50526 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50527 * sysdeps/sh/init-first.c: Likewise.
50528 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50530 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50532 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50533 always use the slow path.
50535 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50537 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50538 similar rule which adds the sysdep directories to the header search in
50539 order to pick up the correct platform stackinfo.h.
50540 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50541 perform test if it is, otherwise return successfully without testing.
50542 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50543 DEFAULT_STACK_PERMS define in stackinfo.h.
50544 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50545 defined in stackinfo.h.
50546 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50547 DEFAULT_STACK_PERMS defined in stackinfo.h.
50548 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50549 * sysdeps/ia64/stackinfo.h: Likewise.
50550 * sysdeps/s390/stackinfo.h: Likewise.
50551 * sysdeps/sh/stackinfo.h: Likewise.
50552 * sysdeps/sparc/stackinfo.h: Likewise.
50553 * sysdeps/x86_64/stackinfo.h: Likewise.
50554 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50555 PF_X for powerpc64. Retain PF_X for powerpc32.
50557 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50559 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50561 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50562 GETDENTS_64BIT_ALIGNED.
50564 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50566 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50568 2010-12-10 Andreas Schwab <schwab@redhat.com>
50570 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50573 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50574 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50576 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50577 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50579 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50582 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50585 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50587 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50589 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50591 * po/it.po: Update from translation team.
50593 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50598 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50600 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50602 2010-11-24 Andreas Schwab <schwab@redhat.com>
50604 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50606 (gaih_getanswer_slice): Likewise.
50608 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50610 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50612 2010-05-31 Petr Baudis <pasky@suse.cz>
50615 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50616 silently even in the chroot mode.
50618 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50620 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50621 last patch a bit. Pretty printing
50623 2010-05-31 Petr Baudis <pasky@suse.cz>
50626 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50627 initialization of skip_initgroups_dyn.
50629 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50631 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50632 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50634 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50636 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50638 2010-11-11 Andreas Schwab <schwab@redhat.com>
50640 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50641 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50642 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50643 ($(objpfx)tst-fnmatch-mem): New rule.
50644 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50645 * posix/tst-fnmatch.c (main): Call mtrace.
50647 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50650 Support Intel processor model 6 and model 0x2c.
50652 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50654 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50657 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50660 * string/test-strncasecmp.c (check_result): New function.
50661 (do_one_test): Use it.
50662 (check1): New function.
50663 (test_main): Use it.
50664 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50665 Support strcasecmp and strncasecmp.
50667 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50670 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50673 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50675 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50679 * sysdeps/x86_64/multiarch/bzero.S: New file.
50680 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50681 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50682 * sysdeps/x86_64/multiarch/memset.S: New file.
50683 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50685 Set bit_Prefer_SSE_for_memop for Intel processors.
50686 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50688 (index_Prefer_SSE_for_memop): Define.
50689 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50691 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50693 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50694 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50696 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50699 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50700 (__x86_64_raw_data_cache_size_half): Likewise.
50701 (__x86_64_raw_shared_cache_size): Likewise.
50702 (__x86_64_raw_shared_cache_size_half): Likewise.
50704 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50705 (__x86_64_raw_data_cache_size_half): Likewise.
50706 (__x86_64_raw_shared_cache_size): Likewise.
50707 (__x86_64_raw_shared_cache_size_half): Likewise.
50708 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50709 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50710 and __x86_64_raw_shared_cache_size_half. Round
50711 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50712 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50713 to multiple of 256 bytes.
50715 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50718 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50719 of inacessible symlinks. Verify result of symlink before returning it.
50720 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50721 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50723 2010-10-28 Erich Ritz <erichritz@gmail.com>
50725 * math/math.h (isinf): Fix typo in comment.
50727 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50729 * po/da.po: Update from translation team.
50731 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50733 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50734 is added to the list.
50736 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50737 Ulrich Drepper <drepper@gmail.com>
50739 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50740 the global list here. Move code to...
50741 (_dl_add_to_namespace_list): ...here. New function.
50742 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50743 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50744 * elf/dl-load.c (lose): Don't remove the element from the list.
50745 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50746 (_dl_map_object): Likewise.
50748 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50751 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50752 into all bytes of SSE register.
50753 Patch by Richard Li <richardpku@gmail.com>.
50755 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50758 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50761 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50763 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50764 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50765 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50766 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50771 2010-10-22 Andreas Schwab <schwab@redhat.com>
50773 * include/dlfcn.h (__RTLD_SECURE): Define.
50774 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50775 mode & __RTLD_SECURE instead.
50776 (open_path): Rename preloaded parameter to secure.
50777 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50778 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50779 * elf/dl-deps.c (openaux): Likewise.
50780 * elf/rtld.c (struct map_args): Remove is_preloaded.
50781 (map_doit): Don't use it.
50782 (dl_main): Likewise.
50783 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50784 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50786 2010-09-09 Andreas Schwab <schwab@redhat.com>
50788 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50789 (sysd-rules-targets): Remove duplicates.
50790 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50791 rtld-%.$o dependency.
50793 2010-10-18 Andreas Schwab <schwab@redhat.com>
50795 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50796 _dl_map_object do it.
50798 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50800 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50801 fast fma builtins, define the macros in the C99 standard.
50802 (FP_FAST_FMAF): Likewise.
50803 (FP_FAST_FMAL): Likewise.
50804 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50806 * bits/mathdef.h: Update copyright year.
50807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50809 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50811 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50812 builtins, define the macros in the C99 standard.
50813 (FP_FAST_FMAF): Likewise.
50814 (FP_FAST_FMAL): Likewise.
50815 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50817 (FP_FAST_FMAF): Likewise.
50819 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50822 * math/libm-test.inc (fma_test): Some new testcases.
50823 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50824 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50825 y and infinite z. Do multiplication by C already in long double.
50826 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50827 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50828 y and infinite z. Do bitwise or of inexact bit into u.d.
50829 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50830 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50831 * sysdeps/i386/fpu/s_fma.S: Removed.
50832 * sysdeps/i386/fpu/s_fmal.S: Removed.
50834 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50837 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50839 computation is not scheduled after fetestexcept. Fix value
50840 of minimum denormal long double.
50842 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50845 * math/libm-test.inc (fma_test): Add some more tests.
50846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50849 2010-10-15 Andreas Schwab <schwab@redhat.com>
50851 * scripts/data/localplt-s390-linux-gnu.data: New file.
50852 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50854 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50857 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50858 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50860 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50862 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50864 if one of x and y is very large and the other is subnormal.
50865 * sysdeps/s390/fpu/s_fmaf.c: New file.
50866 * sysdeps/s390/fpu/s_fma.c: New file.
50867 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50868 * sysdeps/powerpc/fpu/s_fma.S: New file.
50869 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50870 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50871 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50873 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50876 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50879 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50880 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50881 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50882 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50883 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50884 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50886 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50889 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50890 * posix/bug-regex31.input: Add test case.
50892 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50894 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50895 * posix/bug-regex31.input: New file.
50898 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50899 (parse_sub_exp): Fix last change, use postorder.
50901 * posix/bug-regex31.c: New file.
50902 * posix/Makefile: Add rules to build and run bug-regex31.
50904 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50907 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50910 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50911 to have entries in sys_siglist.
50914 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50917 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50920 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50921 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50922 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50923 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50924 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50925 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50926 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50927 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50928 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50929 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50930 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50931 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50932 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50933 * math/ftestexcept.c (fetestexcept): Likewise.
50934 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50935 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50936 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50937 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50938 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50939 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50940 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50942 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50945 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50948 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50950 * string/bug-strstr1.c: New file.
50951 * string/Makefile: Add rules to build and run bug-strstr1.
50953 2010-10-05 Eric Blake <eblake@redhat.com>
50956 * string/str-two-way.h (two_way_long_needle): Always clear memory
50957 when skipping input due to the shift table.
50959 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50962 * malloc/mcheck.c: Handle large requests.
50965 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50966 for strncmp and strncasecmp.
50967 * string/stratcliff.c: Add tests for strcmp and strncmp.
50968 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50970 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50972 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50975 2010-09-30 Andreas Jaeger <aj@suse.de>
50977 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50978 (CGROUP_SUPER_MAGIC): Define.
50979 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50980 Handle btrfs and cgroup file systems.
50981 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50984 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50986 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50987 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50989 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50992 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50993 trying to locate the ELF header.
50995 2010-09-27 Andreas Schwab <schwab@redhat.com>
50998 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50999 Mask out sign-bit copies when constructing f_fsid.
51001 2010-09-24 Petr Baudis <pasky@suse.cz>
51003 * debug/stack_chk_fail_local.c: Add missing licence exception.
51004 * debug/warning-nop.c: Likewise.
51006 2010-09-15 Joseph Myers <joseph@codesourcery.com>
51008 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51009 implementing getdents64 using getdents syscall, set d_type if
51010 __ASSUME_GETDENTS32_D_TYPE.
51012 2010-09-16 Andreas Schwab <schwab@redhat.com>
51014 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51015 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51017 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51020 * posix/unistd.h: Undo change of feature selection for ftruncate from
51023 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51025 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51028 2010-09-20 Andreas Schwab <schwab@redhat.com>
51030 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51032 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51034 2010-09-14 Andreas Schwab <schwab@redhat.com>
51036 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51037 variables after CHECK_SP call.
51038 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51040 2010-09-13 Andreas Schwab <schwab@redhat.com>
51041 Ulrich Drepper <drepper@redhat.com>
51043 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51044 re-relocationg ld.so.
51045 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51046 _dl_init_paths call.
51047 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51050 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51052 * resolv/res_init.c (__res_vinit): Count the default server we added.
51054 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51055 Ulrich Drepper <drepper@redhat.com>
51058 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51059 (____longjmp_chk): Use %ebx for saving value across system call.
51062 2010-09-06 Andreas Schwab <schwab@redhat.com>
51064 * manual/Makefile: Don't mix pattern rules with normal rules.
51066 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51068 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51070 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51071 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51072 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51073 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51077 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51080 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51081 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51083 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51085 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51086 * sysdeps/x86_64/addmul_1.S: Likewise.
51087 * sysdeps/x86_64/lshift.S: Likewise.
51088 * sysdeps/x86_64/mul_1.S: Likewise.
51089 * sysdeps/x86_64/rshift.S: Likewise.
51090 * sysdeps/x86_64/sub_n.S: Likewise.
51091 * sysdeps/x86_64/submul_1.S: Likewise.
51093 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51095 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51096 Define __sched_param instead of SCHED_* and sched_param when
51097 <bits/sched.h> is included with __need_schedparam defined.
51098 * bits/sched.h [__need_schedparam]
51099 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51100 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51101 (__defined_schedparam): Define to 1.
51102 (__sched_param): New structure, identical to sched_param.
51103 (__need_schedparam): Undefine.
51105 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51108 (epoll_create1): Declare.
51110 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51112 2010-08-31 Andreas Schwab <schwab@redhat.com>
51115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51116 shifting retval into place.
51118 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51120 * nis/rpcsvc/nis.h: Update copyright notice.
51121 * nis/rpcsvc/nis.x: Likewise.
51122 * nis/rpcsvc/nis_callback.h: Likewise.
51123 * nis/rpcsvc/nis_callback.x: Likewise.
51124 * nis/rpcsvc/nis_object.x: Likewise.
51125 * nis/rpcsvc/nis_tags.h: Likewise.
51126 * nis/rpcsvc/yp.h: Likewise.
51127 * nis/rpcsvc/yp.x: Likewise.
51128 * nis/rpcsvc/ypupd.h: Likewise.
51129 * nis/yp_xdr.c: Likewise.
51130 * nis/ypupdate_xdr.c: Likewise.
51132 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51133 mainly the body of pmap_getport. Add parameters to specify timeouts.
51134 (pmap_getport): Use __libc_rpc_getport.
51135 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51136 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51137 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51139 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51144 2010-08-27 Roland McGrath <roland@redhat.com>
51146 * sysdeps/i386/i686/multiarch/Makefile
51147 (CFLAGS-varshift.c): New variable.
51149 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51151 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51152 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51156 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51158 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51160 * sysdeps/x86_64/strlen.S: Unroll the loop.
51161 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51162 strlen-sse2 strlen-sse2-bsf.
51163 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51164 __strlen_no_bsf if bit_Slow_BSF is set.
51165 (__strlen_sse42): Removed.
51166 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51167 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51169 2010-08-25 Roland McGrath <roland@redhat.com>
51171 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51172 * sysdeps/x86_64/multiarch/varshift.c: New file.
51173 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51174 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51175 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51176 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51178 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51180 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51181 strlen-sse2 strlen-sse2-bsf.
51182 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51183 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51184 (__strlen_sse2): Removed.
51185 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51186 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51188 bit_Slow_BSF for Atom.
51189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51190 (index_Slow_BSF): Define.
51191 (HAS_SLOW_BSF): Define.
51193 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51196 * resolv/res_init.c (__res_vinit): When no server address at all
51197 is given default to loopback.
51199 2010-08-24 Roland McGrath <roland@redhat.com>
51201 * configure.in: Remove config-name.h generation.
51202 * configure: Regenerated.
51203 * config-name.in: File removed.
51204 * scripts/config-uname.sh: New file.
51205 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51206 ($(objdir)config-name.h): New target.
51208 * sunrpc/rpc_parse.h: Avoid nested comment.
51210 2010-08-24 Richard Henderson <rth@redhat.com>
51211 Ulrich Drepper <drepper@redhat.com>
51212 H.J. Lu <hongjiu.lu@intel.com>
51214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51216 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51217 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51218 _mm_alignr_epi8 with _mm_loadu_si128.
51219 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51220 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51221 (__m128i_shift_right): Removed.
51222 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51223 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51224 * sysdeps/x86_64/multiarch/varshift.h: New file.
51225 * sysdeps/x86_64/multiarch/varshift.S: New file.
51227 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51229 * configure.in: Move assembler checks to before sysdep dir checking.
51231 2010-08-20 Petr Baudis <pasky@suse.cz>
51233 * LICENSES: Sync the sunrpc license.
51235 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51237 * sunrpc/auth_des.c: Update copyright notice once again.
51238 * sunrpc/auth_none.c: Likewise.
51239 * sunrpc/auth_unix.c: Likewise.
51240 * sunrpc/authdes_prot.c: Likewise.
51241 * sunrpc/authuxprot.c: Likewise.
51242 * sunrpc/bindrsvprt.c: Likewise.
51243 * sunrpc/clnt_gen.c: Likewise.
51244 * sunrpc/clnt_perr.c: Likewise.
51245 * sunrpc/clnt_raw.c: Likewise.
51246 * sunrpc/clnt_simp.c: Likewise.
51247 * sunrpc/clnt_tcp.c: Likewise.
51248 * sunrpc/clnt_udp.c: Likewise.
51249 * sunrpc/clnt_unix.c: Likewise.
51250 * sunrpc/des_crypt.c: Likewise.
51251 * sunrpc/des_soft.c: Likewise.
51252 * sunrpc/get_myaddr.c: Likewise.
51253 * sunrpc/getrpcport.c: Likewise.
51254 * sunrpc/key_call.c: Likewise.
51255 * sunrpc/key_prot.c: Likewise.
51256 * sunrpc/openchild.c: Likewise.
51257 * sunrpc/pm_getmaps.c: Likewise.
51258 * sunrpc/pm_getport.c: Likewise.
51259 * sunrpc/pmap_clnt.c: Likewise.
51260 * sunrpc/pmap_prot.c: Likewise.
51261 * sunrpc/pmap_prot2.c: Likewise.
51262 * sunrpc/pmap_rmt.c: Likewise.
51263 * sunrpc/rpc/auth.h: Likewise.
51264 * sunrpc/rpc/auth_unix.h: Likewise.
51265 * sunrpc/rpc/clnt.h: Likewise.
51266 * sunrpc/rpc/des_crypt.h: Likewise.
51267 * sunrpc/rpc/key_prot.h: Likewise.
51268 * sunrpc/rpc/netdb.h: Likewise.
51269 * sunrpc/rpc/pmap_clnt.h: Likewise.
51270 * sunrpc/rpc/pmap_prot.h: Likewise.
51271 * sunrpc/rpc/pmap_rmt.h: Likewise.
51272 * sunrpc/rpc/rpc.h: Likewise.
51273 * sunrpc/rpc/rpc_des.h: Likewise.
51274 * sunrpc/rpc/rpc_msg.h: Likewise.
51275 * sunrpc/rpc/svc.h: Likewise.
51276 * sunrpc/rpc/svc_auth.h: Likewise.
51277 * sunrpc/rpc/types.h: Likewise.
51278 * sunrpc/rpc/xdr.h: Likewise.
51279 * sunrpc/rpc_clntout.c: Likewise.
51280 * sunrpc/rpc_cmsg.c: Likewise.
51281 * sunrpc/rpc_common.c: Likewise.
51282 * sunrpc/rpc_cout.c: Likewise.
51283 * sunrpc/rpc_dtable.c: Likewise.
51284 * sunrpc/rpc_hout.c: Likewise.
51285 * sunrpc/rpc_main.c: Likewise.
51286 * sunrpc/rpc_parse.c: Likewise.
51287 * sunrpc/rpc_parse.h: Likewise.
51288 * sunrpc/rpc_prot.c: Likewise.
51289 * sunrpc/rpc_sample.c: Likewise.
51290 * sunrpc/rpc_scan.c: Likewise.
51291 * sunrpc/rpc_scan.h: Likewise.
51292 * sunrpc/rpc_svcout.c: Likewise.
51293 * sunrpc/rpc_tblout.c: Likewise.
51294 * sunrpc/rpc_util.c: Likewise.
51295 * sunrpc/rpc_util.h: Likewise.
51296 * sunrpc/rpcinfo.c: Likewise.
51297 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51298 * sunrpc/rpcsvc/key_prot.x: Likewise.
51299 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51300 * sunrpc/rpcsvc/mount.x: Likewise.
51301 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51302 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51303 * sunrpc/rpcsvc/rex.x: Likewise.
51304 * sunrpc/rpcsvc/rstat.x: Likewise.
51305 * sunrpc/rpcsvc/rusers.x: Likewise.
51306 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51307 * sunrpc/rpcsvc/spray.x: Likewise.
51308 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51309 * sunrpc/rtime.c: Likewise.
51310 * sunrpc/svc.c: Likewise.
51311 * sunrpc/svc_auth.c: Likewise.
51312 * sunrpc/svc_authux.c: Likewise.
51313 * sunrpc/svc_raw.c: Likewise.
51314 * sunrpc/svc_run.c: Likewise.
51315 * sunrpc/svc_simple.c: Likewise.
51316 * sunrpc/svc_tcp.c: Likewise.
51317 * sunrpc/svc_udp.c: Likewise.
51318 * sunrpc/svc_unix.c: Likewise.
51319 * sunrpc/svcauth_des.c: Likewise.
51320 * sunrpc/xcrypt.c: Likewise.
51321 * sunrpc/xdr.c: Likewise.
51322 * sunrpc/xdr_array.c: Likewise.
51323 * sunrpc/xdr_float.c: Likewise.
51324 * sunrpc/xdr_mem.c: Likewise.
51325 * sunrpc/xdr_rec.c: Likewise.
51326 * sunrpc/xdr_ref.c: Likewise.
51327 * sunrpc/xdr_sizeof.c: Likewise.
51328 * sunrpc/xdr_stdio.c: Likewise.
51330 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51333 2010-08-19 Andreas Schwab <schwab@redhat.com>
51335 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51337 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51339 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51340 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51341 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51342 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51343 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51344 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51345 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51346 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51347 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51348 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51349 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51350 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51351 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51352 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51354 2010-07-26 Anton Blanchard <anton@samba.org>
51356 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51357 * malloc/arena.c (heap_trim): Likewise.
51359 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51361 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51364 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51366 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51368 * sysdeps/i386/elf/Makefile: New file.
51370 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51372 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51373 from fanotify_init.
51374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51377 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51379 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51381 * sysdeps/multiarch/strcmp.S: Likewise.
51383 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51385 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51386 strncase_l-nonascii.
51387 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51388 Add strncase_l-ssse3.
51389 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51390 * sysdeps/x86_64/strcmp.S: Likewise.
51391 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51392 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51393 * sysdeps/x86_64/strncase.S: New file.
51394 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51395 * sysdeps/x86_64/strncase_l.S: New file.
51396 * string/Makefile (strop-tests): Add strncasecmp.
51397 * string/test-strncasecmp.c: New file.
51399 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51402 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51403 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51405 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51407 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51409 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51411 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51412 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51413 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51415 2010-05-01 Alan Modra <amodra@gmail.com>
51417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51418 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51419 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51420 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51421 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51422 tidying. Don't tail-call __sigjmp_save for static lib.
51423 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51425 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51426 (CALL_MCOUNT): Add eh info, and nop after bl.
51427 (TAIL_CALL_SYSCALL_ERROR): New macro.
51428 (PSEUDO_RET): Use it.
51429 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51430 Correct save location of integer regs and cr.
51431 (_dl_profile_resolve): Correct cr save location. Delete nops
51432 after bl when SHARED. Reduce cfi size a little by better
51433 placement of cfi directives.
51434 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51435 make a stack frame. Instead use parm save area as a temp.
51436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51437 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51439 Don't make a stack frame for parent, use parm save area.
51440 Increase child stack frame to 112 bytes. Don't save unused reg,
51441 and adjust reg usage. Set up cfi on error recovery and
51442 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51444 (__makecontext): Add dummy nop after jump to exit.
51445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51446 Use correct parm save area and cr save, reduce stack frame.
51447 Correct cfi for possible PSEUDO_RET frame setup.
51448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51449 Branch to local label emitted by PSEUDO_RET rather than
51452 2010-08-12 Andreas Schwab <schwab@redhat.com>
51455 * locale/programs/locale.c (print_assignment): New function.
51456 (show_locale_vars): Use it.
51458 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51460 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51462 (struct statfs64): Likewise.
51463 (_STATFS_F_FLAGS): Define.
51464 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51465 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51466 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51467 (ST_VALID): Define locally.
51468 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51469 __statvfs_getflags, use the provided value.
51470 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51471 __ASSUME_STATFS_F_FLAGS.
51473 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51475 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51476 Add sys/fanotify.h.
51477 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51478 fanotify_mask for GLIBC_2.13.
51479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51480 fanotify_init and fanotify_mark.
51481 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51482 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51484 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51486 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51487 prlimit64 for GLIBC_2.13.
51488 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51490 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51493 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51494 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51495 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51498 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51501 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51502 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51504 * nss/Makefile: Add rules to build and run tst-nss-test1.
51505 * shlib-versions: Add entry for libnss_test1.
51506 * nss/nss_test1.c: New file.
51507 * nss/tst-nss-test1.c: New file.
51509 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51510 (__nss_configure_lookup): Set appropriate entry in
51511 __nss_configure_lookup to true.
51512 * nss/nsswitch.h: Define enum with indeces of databases in
51513 databases and __nss_database_custom arrays. Declare
51514 __nss_database_custom.
51515 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51516 to avoid using nscd when custom rules are installed.
51517 * nss/getXXbyYY_r.c: Likewise.
51518 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51520 * nss/nss_files/files-parse.c: Whitespace fixes.
51522 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51525 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51526 * posix/fnmatch_loop.c: Likewise.
51528 2010-07-17 Andi Kleen <ak@linux.intel.com>
51530 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51531 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51532 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51533 * Versions.def [GLIBC_2.13]: Add.
51535 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51537 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51538 Also fail if tpwd after pwuid call is NULL.
51540 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51542 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51543 when converting to ms.
51545 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51547 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51548 EOPNOTSUPP errors with ENOTTY.
51549 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51550 EOPNOTSUPP errors with ENOTTY.
51552 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51554 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51555 Add strcasecmp_l-ssse3.
51556 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51558 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51559 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51560 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51562 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51564 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51566 * string/Makefile (strop-tests): Add strcasecmp.
51567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51568 strcasecmp_l-nonascii.
51569 (gen-as-const-headers): Add locale-defines.sym.
51570 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51571 * sysdeps/x86_64/strcasecmp.S: New file.
51572 * sysdeps/x86_64/strcasecmp_l.S: New file.
51573 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51574 * sysdeps/x86_64/locale-defines.sym: New file.
51575 * string/test-strcasecmp.c: New file.
51577 * string/test-strcasestr.c: Test both ends of the range of characters.
51578 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51580 2010-07-29 Roland McGrath <roland@redhat.com>
51583 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51585 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51587 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51590 2010-07-27 Andreas Schwab <schwab@redhat.com>
51592 * manual/memory.texi (Malloc Tunable Parameters): Document
51595 2010-07-26 Roland McGrath <roland@redhat.com>
51598 * configure.in (-fgnu89-inline check): Set and substitute
51599 gnu89_inline, not libc_cv_gnu89_inline.
51600 * configure: Regenerated.
51601 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51603 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51605 * string/test-strnlen.c: New file.
51606 * string/Makefile (strop-tests): Add strnlen.
51607 * string/tester.c (test_strnlen): Add a few more test cases.
51608 * string/tst-strlen.c: Better error reporting.
51610 * sysdeps/x86_64/strnlen.S: New file.
51612 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51614 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51615 lower-latency instructions.
51617 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51619 * string/test-strcasestr.c: New file.
51620 * string/test-strstr.c: New file.
51621 * string/Makefile (strop-tests): Add strstr and strcasestr.
51622 * string/str-two-way.h: Don't undefine MAX.
51623 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51625 2010-07-21 Andreas Schwab <schwab@redhat.com>
51627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51628 strcasestr-nonascii.
51629 (CFLAGS-strcasestr-nonascii.c): Define.
51630 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51631 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51632 Remove unused attribute.
51634 2010-07-20 Roland McGrath <roland@redhat.com>
51636 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51637 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51638 ld.so.cache was broken. With it, there is no way to disable dsocaps
51639 like LD_HWCAP_MASK can disable hwcaps.
51641 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51643 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51645 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51647 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51648 call in strcasestr.
51649 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51650 __strcasestr_sse42_nonascii.
51651 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51652 strcasestr-nonascii.c.
51653 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51655 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51657 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51658 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51660 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51662 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51664 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51667 2010-07-06 Andreas Schwab <schwab@redhat.com>
51670 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51673 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51675 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51676 _PC_PIPE_BUF using F_GETPIPE_SZ.
51678 2010-07-05 Roland McGrath <roland@redhat.com>
51680 * manual/arith.texi (Rounding Functions): Fix rint description
51681 implicit in round description.
51683 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51685 * elf/Makefile: Fix linking for a few tests to make recent linker
51688 2010-06-30 Andreas Schwab <schwab@redhat.com>
51690 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51691 $(common-objpfx)libc_nonshared.a.
51693 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51695 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51696 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51697 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51698 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51699 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51700 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51701 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51702 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51717 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51718 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51719 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51720 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51721 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51722 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51723 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51724 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51725 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51726 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51727 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51728 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51744 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51746 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51747 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51748 * string/memmove.c (memmove): Renamed to ...
51749 (MEMMOVE): ...this. Default to memmove.
51750 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51751 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51753 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51754 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51755 mempcpy-ssse3-back memmove-ssse3-back.
51756 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51759 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51760 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51761 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51762 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51763 * sysdeps/x86_64/multiarch/memmove.c: New file.
51764 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51765 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51766 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51767 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51768 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51769 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51771 (index_Fast_Copy_Backward): Define.
51772 (HAS_ARCH_FEATURE): Define.
51773 (HAS_FAST_REP_STRING): Define.
51774 (HAS_FAST_COPY_BACKWARD): Define.
51776 2010-06-21 Andreas Schwab <schwab@redhat.com>
51778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51779 Restore proper fallback handling.
51781 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51784 * posix/group_member.c (__group_member): Correct checking loop.
51786 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51787 OOM in getpwuid_r correctly. Return error number when the caller
51788 should return, otherwise -1.
51789 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51790 call returning > 0 value.
51791 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51793 2010-06-07 Andreas Schwab <schwab@redhat.com>
51795 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51796 libc_nonshared.a from targets in modules-names.
51798 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51800 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51803 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51805 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51806 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51807 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51808 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51810 2010-06-02 Andreas Schwab <schwab@redhat.com>
51812 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51814 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51816 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51821 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51823 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51825 2010-06-14 Roland McGrath <roland@redhat.com>
51827 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51829 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51831 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51832 __REDIRECT followed by __THROW.
51833 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51834 * posix/getopt.h (getopt): Likewise.
51836 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51838 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51839 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51840 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51842 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51843 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51845 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51847 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51849 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51853 Properly check family and model.
51855 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51857 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51859 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51861 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51863 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51865 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51868 2010-05-19 Andreas Schwab <schwab@redhat.com>
51870 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51873 2010-05-21 Andreas Schwab <schwab@redhat.com>
51875 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51876 and internal_recvmmsg.
51877 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51878 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51879 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51880 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51882 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51883 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51884 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51886 2010-05-20 Andreas Schwab <schwab@redhat.com>
51888 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51890 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51892 POWER7 optimizations.
51893 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51894 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51896 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51898 * version.h: Update for 2.13 development version.
51900 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51902 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51903 exceptions. Return 0.
51905 2010-05-07 Roland McGrath <roland@redhat.com>
51907 * elf/ldconfig.c (main): Add a const.
51909 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51911 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51912 (args_options): Add no-idn option.
51913 (ahosts_keys_int): Add idn_flags to ai_flags.
51914 (parse_option): Handle 'i' option to clear idn_flags.
51916 * malloc/malloc.c (_int_free): Possible race in the most recently
51917 added check. Only act on the data if no current modification
51920 See ChangeLog.17 for earlier changes.