1 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5 Move argv and envp down instead of moving argc up.
6 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
11 * test-skeleton.c (main): Return successful if one of
12 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13 * string/tst-strcoll-overflow.c: Define expected status.
15 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
18 * locale/iso-639.def: Define Bhili and Tulu language codes.
20 2014-11-11 Alan Hayward <alan.hayward@arm.com>
22 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
24 2014-11-10 Renlin Li <Renlin.Li@arm.com>
27 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
31 * configure.ac: Updated check of minimal required version to
33 * manual/install.texi (Tools for Compilation): Updated version
35 * configure: Regenerated.
38 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
40 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
43 2014-11-07 Joseph Myers <joseph@codesourcery.com>
45 * include/sys/wait.h (__libc_waitpid): Remove declaration.
46 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
47 (__waitpid): Don't define as alias. Use libc_hidden_def not
49 (waitpid): Define as alias of __waitpid.
50 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
52 (__waitpid): Don't define as alias. Use libc_hidden_def not
54 (waitpid): Define as alias of __waitpid.
55 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
57 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
58 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
60 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
61 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
62 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
64 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
66 (__waitpid): Don't define as alias. Use libc_hidden_def not
68 (waitpid): Define as alias of __waitpid.
70 2014-11-06 Carlos O'Donell <carlos@redhat.com>
72 * manual/llio.texi: Add comment that write safety has been
75 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
76 (localplt-build-dso): Add elf/ld.so.
77 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
78 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
80 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
81 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
82 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
86 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
87 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
88 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
89 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
90 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
91 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
92 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
93 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
94 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
95 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
96 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
98 2014-11-05 Joseph Myers <joseph@codesourcery.com>
101 * include/libc-symbols.h (INTUSE): Remove macro.
103 (INTVARDEF): Likewise.
104 (_INTVARDEF): Likewise.
106 (INTVARDEF2): Likewise.
107 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
108 rtld_hidden_def instead of INTVARDEF.
109 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
110 (_dl_starting_up_internal): Remove declaration.
111 (_dl_starting_up): Use rtld_hidden_proto.
112 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
114 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
115 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
117 * elf/dl-writev.h (_dl_writev): Likewise.
118 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
119 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
120 _dl_starting_up_internal.
122 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
127 2014-11-05 Will Newton <will.newton@linaro.org>
129 * benchtests/Makefile: (bench-malloc): Add malloc thread
130 scalability benchmark.
131 * benchtests/bench-malloc-threads.c: New file.
133 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
135 * sysdeps/aarch64/strchrnul.S: New file.
137 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
139 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
141 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
143 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
145 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
147 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
149 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
152 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
154 * catgets/test-gencat.c: Use test-skeleton.c.
155 * catgets/tst-catgets.c: Likewise.
156 * csu/tst-empty.c: Likewise.
157 * elf/tst-audit2.c: Likewise.
158 * elf/tst-global1.c: Likewise.
159 * elf/tst-pathopt.c: Likewise.
160 * elf/tst-piemod1.c: Likewise.
161 * elf/tst-tls10.c: Likewise.
162 * elf/tst-tls11.c: Likewise.
163 * elf/tst-tls12.c: Likewise.
164 * gnulib/tst-gcc.c: Likewise.
165 * iconvdata/tst-e2big.c: Likewise.
166 * iconvdata/tst-loading.c: Likewise.
167 * iconv/tst-iconv1.c: Likewise.
168 * iconv/tst-iconv2.c: Likewise.
169 * inet/test-inet6_opt.c: Likewise.
170 * inet/tst-gethnm.c: Likewise.
171 * inet/tst-network.c: Likewise.
172 * inet/tst-ntoa.c: Likewise.
173 * intl/tst-codeset.c: Likewise.
174 * intl/tst-gettext2.c: Likewise.
175 * intl/tst-gettext3.c: Likewise.
176 * intl/tst-ngettext.c: Likewise.
177 * intl/tst-translit.c: Likewise.
178 * io/test-stat.c: Likewise.
179 * libio/test-fmemopen.c: Likewise.
180 * libio/tst-freopen.c: Likewise.
181 * libio/tst-sscanf.c: Likewise.
182 * libio/tst-ungetwc1.c: Likewise.
183 * libio/tst-ungetwc2.c: Likewise.
184 * libio/tst-widetext.c: Likewise.
185 * localedata/tst-ctype.c: Likewise.
186 * localedata/tst-digits.c: Likewise.
187 * localedata/tst-leaks.c: Likewise.
188 * localedata/tst-mbswcs1.c: Likewise.
189 * localedata/tst-mbswcs2.c: Likewise.
190 * localedata/tst-mbswcs3.c: Likewise.
191 * localedata/tst-mbswcs4.c: Likewise.
192 * localedata/tst-mbswcs5.c: Likewise.
193 * localedata/tst-setlocale.c: Likewise.
194 * localedata/tst-trans.c: Likewise.
195 * localedata/tst-wctype.c: Likewise.
196 * localedata/tst-xlocale1.c: Likewise.
197 * login/tst-grantpt.c: Likewise.
198 * malloc/tst-calloc.c: Likewise.
199 * malloc/tst-malloc.c: Likewise.
200 * malloc/tst-mallocstate.c: Likewise.
201 * malloc/tst-mcheck.c: Likewise.
202 * malloc/tst-mtrace.c: Likewise.
203 * malloc/tst-obstack.c: Likewise.
204 * math/atest-exp2.c: Likewise.
205 * math/atest-exp.c: Likewise.
206 * math/atest-sincos.c: Likewise.
207 * math/test-matherr.c: Likewise.
208 * math/test-misc.c: Likewise.
209 * math/test-powl.c: Likewise.
210 * math/tst-definitions.c: Likewise.
211 * misc/tst-dirname.c: Likewise.
212 * misc/tst-efgcvt.c: Likewise.
213 * misc/tst-fdset.c: Likewise.
214 * misc/tst-hsearch.c: Likewise.
215 * misc/tst-mntent2.c: Likewise.
216 * nptl/tst-sem7.c: Likewise.
217 * nptl/tst-sem8.c: Likewise.
218 * nptl/tst-sem9.c: Likewise.
219 * nss/test-netdb.c: Likewise.
220 * posix/tst-fnmatch.c: Likewise.
221 * posix/tst-getlogin.c: Likewise.
222 * posix/tst-gnuglob.c: Likewise.
223 * posix/tst-mmap.c: Likewise.
224 * pwd/tst-getpw.c: Likewise.
225 * resolv/tst-inet_ntop.c: Likewise.
226 * rt/tst-timer.c: Likewise.
227 * stdio-common/test-fseek.c: Likewise.
228 * stdio-common/test-popen.c: Likewise.
229 * stdio-common/test-vfprintf.c: Likewise.
230 * stdio-common/tst-cookie.c: Likewise.
231 * stdio-common/tst-fileno.c: Likewise.
232 * stdio-common/tst-gets.c: Likewise.
233 * stdio-common/tst-obprintf.c: Likewise.
234 * stdio-common/tst-perror.c: Likewise.
235 * stdio-common/tst-sprintf2.c: Likewise.
236 * stdio-common/tst-sprintf3.c: Likewise.
237 * stdio-common/tst-sprintf.c: Likewise.
238 * stdio-common/tst-swprintf.c: Likewise.
239 * stdio-common/tst-tmpnam.c: Likewise.
240 * stdio-common/tst-unbputc.c: Likewise.
241 * stdio-common/tst-wc-printf.c: Likewise.
242 * stdlib/tst-environ.c: Likewise.
243 * stdlib/tst-fmtmsg.c: Likewise.
244 * stdlib/tst-limits.c: Likewise.
245 * stdlib/tst-rand48-2.c: Likewise.
246 * stdlib/tst-rand48.c: Likewise.
247 * stdlib/tst-random2.c: Likewise.
248 * stdlib/tst-random.c: Likewise.
249 * stdlib/tst-strtol.c: Likewise.
250 * stdlib/tst-strtoll.c: Likewise.
251 * stdlib/tst-tls-atexit.c: Likewise.
252 * stdlib/tst-xpg-basename.c: Likewise.
253 * string/test-ffs.c: Likewise.
254 * string/tst-bswap.c: Likewise.
255 * string/tst-inlcall.c: Likewise.
256 * string/tst-strtok.c: Likewise.
257 * string/tst-strxfrm.c: Likewise.
258 * sysdeps/x86_64/tst-audit10.c: Likewise.
259 * sysdeps/x86_64/tst-audit3.c: Likewise.
260 * sysdeps/x86_64/tst-audit4.c: Likewise.
261 * sysdeps/x86_64/tst-audit5.c: Likewise.
262 * time/tst-ftime_l.c: Likewise.
263 * time/tst-getdate.c: Likewise.
264 * time/tst-mktime3.c: Likewise.
265 * time/tst-mktime.c: Likewise.
266 * time/tst-posixtz.c: Likewise.
267 * time/tst-strptime2.c: Likewise.
268 * time/tst-strptime3.c: Likewise.
269 * wcsmbs/tst-btowc.c: Likewise.
270 * wcsmbs/tst-mbrtowc.c: Likewise.
271 * wcsmbs/tst-mbsrtowcs.c: Likewise.
272 * wcsmbs/tst-wchar-h.c: Likewise.
273 * wcsmbs/tst-wcpncpy.c: Likewise.
274 * wcsmbs/tst-wcrtomb.c: Likewise.
275 * wcsmbs/tst-wcsnlen.c: Likewise.
276 * wcsmbs/tst-wcstof.c: Likewise.
278 2014-11-04 Joseph Myers <joseph@codesourcery.com>
281 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
283 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
285 (_dl_mcount): Use rtld_hidden_proto.
286 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
288 * elf/rtld.c (_rtld_global_ro): Likewise.
291 * elf/dl-init.c (_dl_init): Don't use INTDEF.
292 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
293 of _dl_init_internal.
294 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
295 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
296 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
297 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
298 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
299 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
300 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
301 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
302 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
303 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
304 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
305 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
306 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
307 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
308 * sysdeps/tile/dl-start.S (_start): Likewise.
309 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
310 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
313 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
314 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
315 (rtld_progname): Make macro definition unconditional.
316 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
318 (dlmopen_doit): Do not use INTUSE with _dl_argv.
320 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
321 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
322 instead of _dl_argv_internal.
323 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
324 __GI__dl_argv instead of INTUSE(_dl_argv).
325 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
326 __GI__dl_argv instead of _dl_argv_internal.
328 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
329 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
331 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
332 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
334 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
335 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
337 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
338 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
340 2014-11-04 Andreas Schwab <schwab@suse.de>
342 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
344 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
347 mtvsrd instruction in binary form.
349 2014-11-03 Andreas Schwab <schwab@suse.de>
352 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
353 for less than MB_LEN_MAX use a local buffer of that size.
354 * libio/tst-fputws.c: New file.
355 * libio/Makefile (tests): Add tst-fputws.
357 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
359 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
360 the size of the fpu_fr.fpu_dregs[] array.
362 2014-11-01 Joseph Myers <joseph@codesourcery.com>
364 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
365 (__nanosleep): Do not define as alias.
366 (nanosleep): Define as alias of __nanosleep.
367 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
368 __libc_nanosleep name.
370 2014-10-31 Joseph Myers <joseph@codesourcery.com>
372 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
373 install.texi in comment.
375 2014-10-31 Torvald Riegel <triegel@redhat.com>
377 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
378 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
379 ... add here and use lwsync or sync ...
380 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
381 ... and add here using lwsync.
383 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
385 * elf/dl-machine-reject-phdr.h: New file.
386 * elf/dl-load.c: #include that.
387 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
388 if that returned true.
390 2014-10-31 Roland McGrath <roland@hack.frob.com>
393 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
394 gen-as-const-headers chunk. Add a big scare comment after the last
395 safe place to touch before-compile.
397 2014-10-31 Joseph Myers <joseph@codesourcery.com>
399 * manual/install.texi (Tools for Compilation): Update autoconf
400 version requirements.
401 * INSTALL: Regenerated.
403 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
404 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
405 (__libc_pselect): Likewise.
408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
413 2014-10-31 Torvald Riegel <triegel@redhat.com>
415 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
416 correct barrier instruction.
417 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
419 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
422 2014-10-30 Roland McGrath <roland@hack.frob.com>
424 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
425 after defining inlines. Instead, just use parens to defeat macro
426 expansion of __isctype in its declaration.
428 2014-10-30 Joseph Myers <joseph@codesourcery.com>
430 * include/sys/uio.h (__libc_readv): Remove declaration.
431 (__libc_writev): Likewise.
432 * misc/readv.c (__libc_readv): Rename to __readv.
433 (__readv): Do not define as alias.
434 (readv): Define as alias of __readv.
435 * misc/writev.c (__libc_writev): Rename to __writev.
436 (__writev): Do not define as alias.
437 (writev): Define as alias of __writev.
438 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
439 (__readv): Do not define as alias.
440 (readv): Define unconditionally as alias of __readv.
441 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
442 (__writev): Do not define as alias.
443 (writev): Define unconditionally as alias of __writev.
444 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
446 (writev): Do not define __libc_writev name.
448 2014-10-30 Roland McGrath <roland@hack.frob.com>
450 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
451 (convert_charseq): New function, broken out of ...
452 (use_from_charmap): ... here. Call it.
453 (use_to_charmap): Use convert_charseq and free instead of duplicating
454 its code with a variable-length stack struct.
456 2014-10-30 Joseph Myers <joseph@codesourcery.com>
458 * include/fcntl.h (__libc_creat): Remove declaration.
459 * io/creat.c (__libc_creat): Rename to creat.
460 (creat): Do not define as alias.
461 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
462 of creat instead of __libc_creat.
463 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
465 (creat): Do not define as alias.
466 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
468 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
470 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
473 2014-10-29 Carlos O'Donell <carlos@redhat.com>
475 * manual/llio.texi: Add comments discussing why write() may be
476 considered MT-unsafe on Linux.
478 2014-10-28 Carlos O'Donell <carlos@redhat.com>
480 * dl-load.c (local_strdup): Remove.
481 (expand_dynamic_string_token): Use __strdup.
482 (decompose_rpath): Likewise.
483 (_dl_map_object): Likewise.
485 2014-10-28 Joseph Myers <joseph@codesourcery.com>
488 * sysdeps/generic/unwind-dw2-fde.c
489 (__register_frame_info_bases_internal): Do not declare.
490 (__register_frame_info_table_bases_internal): Likewise.
491 (__deregister_frame_info_bases_internal): Likewise.
492 (__register_frame_info_bases): Declare and use hidden_proto before
493 definition. Use hidden_def instead of INTDEF.
494 (__register_frame_info_table_bases): Likewise.
495 (__deregister_frame_info_bases): Likewise.
496 (__register_frame_info): Do not use INTUSE.
497 (__register_frame): Likewise.
498 (__register_frame_info_table): Likewise.
499 (__register_frame_table): Likewise.
500 (__deregister_frame_info): Likewise.
501 (__deregister_frame): Likewise.
503 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
506 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
508 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
510 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
513 2014-10-27 Joseph Myers <joseph@codesourcery.com>
516 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
517 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
518 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
519 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
520 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
521 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
522 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
523 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
524 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
525 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
526 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
527 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
528 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
530 (setfsuid): Likewise.
531 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
532 (setfsuid): Likewise.
533 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
534 (setfsuid): Likewise.
535 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
537 (setfsuid): Likewise.
538 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
539 (setfsuid): Likewise.
540 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
542 (setfsuid): Likewise.
544 2014-10-27 Andreas Schwab <schwab@suse.de>
547 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
548 check for Slow_SSE4_2 feature bit.
549 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
550 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
551 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
552 Likewise. Fix check for Fast_Unaligned_Load feature bit.
554 2014-10-24 Roland McGrath <roland@hack.frob.com>
556 * configure.ac: Validate compiler version with a empirical test of
557 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
559 * configure: Regenerated.
561 * inet/htons.c (htons): Prototypify.
562 * inet/htonl.c (htonl): Likewise.
564 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
566 * string/strncat.c (strncat): Improve performance by using strlen.
568 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
570 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
572 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
574 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
575 Call libc_fetestexcept_aarch64.
577 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
579 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
580 Call libc_feholdexcept_aarch64.
582 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
584 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
585 Call get_rounding_mode.
587 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
589 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
592 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
594 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
597 2014-10-24 Joseph Myers <joseph@codesourcery.com>
600 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
601 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
602 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
603 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
604 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
605 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
606 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
607 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
608 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
609 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
610 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
611 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
612 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
613 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
614 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
615 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
616 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
617 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
618 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
619 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
620 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
621 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
622 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
623 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
624 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
625 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
626 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
627 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
628 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
629 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
630 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
631 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
632 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
633 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
634 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
635 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
636 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
637 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
638 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
639 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
640 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
645 (getresgid): Likewise.
646 (getresuid): Likewise.
647 (getgroups): Likewise.
648 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
652 (getresgid): Likewise.
653 (getresuid): Likewise.
654 (getgroups): Likewise.
655 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
659 (getresgid): Likewise.
660 (getresuid): Likewise.
661 (getgroups): Likewise.
662 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
667 (getresgid): Likewise.
668 (getresuid): Likewise.
669 (getgroups): Likewise.
670 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
674 (getresgid): Likewise.
675 (getresuid): Likewise.
676 (getgroups): Likewise.
677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
682 (getgroups): Likewise.
685 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
686 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
687 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
688 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
689 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
690 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
691 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
692 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
693 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
694 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
695 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
696 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
697 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
699 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
702 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
706 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
709 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
714 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
716 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
719 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
721 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
724 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
726 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
727 Remove unused include.
729 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
731 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
732 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
733 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
734 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
736 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
737 Helge Deller <deller@gmx.de>
740 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
741 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
742 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
744 2014-10-23 Joseph Myers <joseph@codesourcery.com>
747 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
748 Remove macro definition.
749 (__ashrdi3_v_glibc20): Likewise.
750 (__lshrdi3_v_glibc20): Likewise.
751 (__cmpdi2_v_glibc20): Likewise.
752 (__ucmpdi2_v_glibc20): Likewise.
753 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
754 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
755 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
756 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
757 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
758 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
760 2014-10-22 Roland McGrath <roland@hack.frob.com>
762 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
763 old GNU extension [0] syntax.
764 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
765 alloca rather than an array member with variable length.
766 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
767 * nscd/nscd.c (invalidate_db): New function, broken out of ...
768 (parse_opt): ... here. Likewise use alloca there.
769 Validate the -i argument before checking for rootness.
770 (send_shutdown): New function, broken out of ...
771 (parse_opt): ... here.
773 2014-10-22 Roland McGrath <roland@hack.frob.com>
775 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
776 macro to get at the _rt_local_ro field.
777 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
778 ([PIC] case) or _dl_hwcap ([!PIC] case).
779 * sysdeps/arm/setjmp.S: Likewise.
781 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
782 * sysdeps/arm/configure.ac: New check to define it.
783 * sysdeps/arm/configure: Regenerated.
784 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
785 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
786 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
787 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
788 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
789 Use move/movt pair instead of a load.
790 (LDST_GLOBAL): Macro removed.
791 (LDR_GLOBAL): New macro replaces it.
792 (LDR_HIDDEN): New macro.
793 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
794 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
796 * setjmp/tst-setjmp-static.c: New file.
797 * setjmp/Makefile (tests): Add it.
798 (tests-static): New variable.
800 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
803 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
805 2014-10-21 Joseph Myers <joseph@codesourcery.com>
808 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
810 2014-10-21 Roland McGrath <roland@hack.frob.com>
812 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
814 2014-10-20 Roland McGrath <roland@hack.frob.com>
816 * io/fts.c (dirent_not_directory): New function.
817 (fts_build): Call it.
819 2014-10-20 Roland McGrath <roland@hack.frob.com>
821 * nptl/version.c (__nptl_main): Use normal __write rather than
823 (banner): Update copyright years.
825 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
827 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
828 * nptl/pthread_cond_timedwait.c: Likewise.
829 * nptl/pthread_mutex_timedlock.c: Likewise.
830 * nptl/sem_timedwait.c: Likewise.
832 * sysdeps/nptl/bits/libc-lock.h
833 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
834 (__libc_lock_init_recursive): Return void, not 0.
835 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
836 (__libc_rwlock_init): Likewise.
837 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
839 2014-10-20 Torvald Riegel <triegel@redhat.com>
842 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
843 (__pthread_once_slow): ... here.
844 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
845 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
847 2014-10-20 Torvald Riegel <triegel@redhat.com>
850 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
851 __PTHREAD_ONCE_FORK_GEN_INCR): New.
852 * sysdeps/nptl/fork.c (__libc_fork): Use them.
853 * nptl/pthread_once.c (__pthread_once): Likewise.
856 2014-10-20 Joseph Myers <joseph@codesourcery.com>
859 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
861 (writev): Use __libc_writev as strong name.
862 * sysdeps/unix/sysv/linux/readv.c: Remove file.
863 * sysdeps/unix/sysv/linux/writev.c: Likewise.
865 2014-10-17 Roland McGrath <roland@hack.frob.com>
867 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
869 * sysdeps/i386/nptl/tls.h
870 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
871 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
873 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
874 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
875 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
876 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
877 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
878 Call CHECK_THREAD_SYSINFO instead of doing an assert.
880 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
881 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
883 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
885 (__pthread_mutex_init): ... here. Call it.
886 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
887 Conditionalize PI cases on [__NR_futex].
888 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
889 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
890 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
892 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
893 conditional on [SIGSETXID].
894 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
895 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
896 is defined. Likewise for SIGSETXID.
897 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
898 Conditionalize definitions on [SIGSETXID].
899 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
900 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
901 unblocking on [SIGCANCEL].
903 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
904 [__NR_set_robust_list].
906 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
908 * string/strcoll_l.c (get_next_seq): Fix up formatting.
909 (do_compare): Likewise.
911 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
914 * string/strcoll_l.c: Don't include stdio.h.
915 (coll_seq): Remove members idxarr and rulearr.
916 (get_next_seq_cached): Remove function.
917 (get_next_seq): Likewise.
918 (get_next_seq_nocache): Rename to get_next_seq.
919 (do_compare): Remove function.
920 (do_compare_nocache): Rename to do_compare.
921 (STRCOLL): Remove weight and rules cache.
923 2014-10-16 Roland McGrath <roland@hack.frob.com>
925 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
926 * sysdeps/arm/sfp-machine.h: ... to here.
927 * sysdeps/arm/Implies: Remove arm/soft-fp.
929 2014-10-14 Joseph Myers <joseph@codesourcery.com>
931 * conform/data/sys/utsname.h-data (*_t): Allow.
932 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
933 [POSIX] (WEXITED): Do not expect constant.
934 [POSIX] (WSTOPPED): Likewise.
935 [POSIX] (WNOHANG): Likewise.
936 [POSIX] (WNOWAIT): Likewise.
937 [POSIX] (siginfo_t): Do not expect type or elements.
938 [POSIX] (pid_t): Do not expect type.
939 [POSIX] (signal.h): Do not allow header.
940 [POSIX] (sys/resource.h): Likewise.
941 [POSIX] (si_*): Do not allow pattern.
942 [POSIX] (W*): Likewise.
943 [POSIX] (P_*): Likewise.
944 [POSIX] (BUS_*): Likewise.
945 [POSIX] (CLD_*): Likewise.
946 [POSIX] (FPE_*): Likewise.
947 [POSIX] (ILL_*): Likewise.
948 [POSIX] (POLL_*): Likewise.
949 [POSIX] (SEGV_*): Likewise.
950 [POSIX] (SI_*): Likewise.
951 [POSIX] (TRAP_*): Likewise.
952 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
955 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
958 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
959 infinite loop when __recvmsg returns 0.
961 2014-10-10 Joseph Myers <joseph@codesourcery.com>
963 * CANCEL-FCT-WAIVE: Remove file.
964 * CANCEL-FILE-WAIVE: Likewise.
967 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
968 instead of INTVARDEF.
969 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
970 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
971 rtld_hidden_data_def instead of INTVARDEF.
972 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
973 * elf/dl-deps.c (expand_dst): Likewise.
974 * elf/dl-load.c (_dl_dst_count): Likewise.
975 (_dl_dst_substitute): Likewise.
976 (decompose_rpath): Likewise.
977 (_dl_init_paths): Likewise.
978 (open_path): Likewise.
979 (_dl_map_object): Likewise.
980 * elf/rtld.c (dl_main): Likewise.
981 (process_dl_audit): Likewise.
982 (process_envvars): Likewise.
983 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
985 (__libc_enable_secure): Use rtld_hidden_proto.
987 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
990 (add_path): New function broken out of _dl_rtld_di_serinfo.
991 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
993 2014-10-09 Joseph Myers <joseph@codesourcery.com>
995 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
996 parentheses around macro arguments.
997 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
998 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
999 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1000 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1001 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1002 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1003 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1004 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1005 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1006 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1007 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1008 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1009 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1010 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1011 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1012 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1013 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1014 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1015 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1016 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1017 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1018 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1019 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1020 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1021 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1022 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1023 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1024 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1026 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1027 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1028 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1029 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1030 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1031 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1032 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1034 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1035 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1036 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1037 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1038 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1039 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1040 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1041 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1042 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1043 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1044 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1045 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1046 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1054 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1055 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1056 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1057 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1058 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1059 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1060 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1061 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1062 (_FP_FRAC_SRS_1): Likewise.
1063 (_FP_FRAC_CLZ_1): Likewise.
1064 (_FP_MUL_MEAT_1_imm): Likewise.
1065 (_FP_MUL_MEAT_1_wide): Likewise.
1066 (_FP_MUL_MEAT_1_hard): Likewise.
1067 (_FP_SQRT_MEAT_1): Likewise.
1068 (_FP_FRAC_ASSEMBLE_1): Likewise.
1069 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1070 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1071 (__FP_CLZ_2): Likewise.
1072 (_FP_MUL_MEAT_2_wide): Likewise.
1073 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1074 (_FP_MUL_MEAT_2_gmp): Likewise.
1075 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1076 (_FP_SQRT_MEAT_2): Likewise.
1077 (_FP_FRAC_ASSEMBLE_2): Likewise.
1078 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1079 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1080 (_FP_FRAC_CLZ_4): Likewise.
1081 (_FP_MUL_MEAT_4_wide): Likewise.
1082 (_FP_MUL_MEAT_4_gmp): Likewise.
1083 (_FP_SQRT_MEAT_4): Likewise.
1084 (_FP_FRAC_ASSEMBLE_4): Likewise.
1085 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1086 * soft-fp/op-common.h (_FP_CMP): Likewise.
1087 (_FP_CMP_EQ): Likewise.
1088 (_FP_CMP_UNORD): Likewise.
1089 (_FP_TO_INT): Likewise.
1090 (_FP_FROM_INT): Likewise.
1091 [!__FP_CLZ] (__FP_CLZ): Likewise.
1092 (_FP_DIV_HELP_imm): Likewise.
1093 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1095 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1096 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1097 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1098 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1099 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1100 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1101 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1102 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1103 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1104 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1105 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1106 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1107 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1108 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1109 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1110 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1111 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1112 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1113 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1114 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1115 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1116 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1117 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1118 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1119 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1120 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1121 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1122 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1123 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1124 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1125 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1126 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1127 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1128 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1129 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1130 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1131 (FP_UNPACK_RAW_SP): Likewise.
1132 (FP_PACK_RAW_S): Likewise.
1133 (FP_PACK_RAW_SP): Likewise.
1134 (FP_UNPACK_S): Likewise.
1135 (FP_UNPACK_SP): Likewise.
1136 (FP_UNPACK_SEMIRAW_S): Likewise.
1137 (FP_UNPACK_SEMIRAW_SP): Likewise.
1138 (FP_PACK_S): Likewise.
1139 (FP_PACK_SP): Likewise.
1140 (FP_PACK_SEMIRAW_S): Likewise.
1141 (FP_PACK_SEMIRAW_SP): Likewise.
1142 (_FP_SQRT_MEAT_S): Likewise.
1143 (FP_CMP_S): Likewise.
1144 (FP_CMP_EQ_S): Likewise.
1145 (FP_CMP_UNORD_S): Likewise.
1146 (FP_TO_INT_S): Likewise.
1147 (FP_FROM_INT_S): Likewise.
1149 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1151 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1152 (FP_EX_INVALID_IMZ): Likewise.
1153 (FP_EX_INVALID_IMZ_FMA): Likewise.
1154 (FP_EX_INVALID_ISI): Likewise.
1155 (FP_EX_INVALID_ZDZ): Likewise.
1156 (FP_EX_INVALID_IDI): Likewise.
1157 (FP_EX_INVALID_SQRT): Likewise.
1158 (FP_EX_INVALID_CVI): Likewise.
1159 (FP_EX_INVALID_VC): Likewise.
1160 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1161 "invalid" exceptions.
1162 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1163 (_FP_ADD_INTERNAL): Likewise.
1164 (_FP_MUL): Likewise.
1165 (_FP_FMA): Likewise.
1166 (_FP_DIV): Likewise.
1167 (_FP_CMP_CHECK_NAN): Likewise.
1168 (_FP_SQRT): Likewise.
1169 (_FP_TO_INT): Likewise.
1170 (FP_EXTEND): Likewise.
1172 2014-10-09 Allan McRae <allan@archlinux.org>
1174 * po/fr.po: Update French translation from translation project.
1176 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1179 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1181 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1182 (__cxa_atexit): Use libc_hidden_proto.
1183 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1186 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1188 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1189 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1190 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1191 [!_ISOMAC] (__iswctype_internal): Likewise.
1192 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1193 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1195 (fcntl): Remove __fcntl_internal alias.
1196 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1197 __connect_internal alias.
1198 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1201 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1202 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1204 (_FP_CHECK_FLUSH_ZERO): New macro.
1205 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1206 (_FP_CMP): Likewise.
1207 (_FP_CMP_EQ): Likewise.
1208 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1210 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1211 (FP_TRUNC): Likewise.
1213 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1214 treated as invalid conversion, not as normal exponent.
1216 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1217 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1218 (_FP_CMP_EQ): Likewise.
1219 (_FP_CMP_UNORD): Likewise.
1220 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1221 (FP_CMP_EQ_D): Likewise.
1222 (FP_CMP_UNORD_D): Likewise.
1223 * soft-fp/extended.h (FP_CMP_E): Likewise.
1224 (FP_CMP_EQ_E): Likewise.
1225 (FP_CMP_UNORD_E): Likewise.
1226 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1227 (FP_CMP_EQ_Q): Likewise.
1228 (FP_CMP_UNORD_Q): Likewise.
1229 * soft-fp/single.h (FP_CMP_S): Likewise.
1230 (FP_CMP_EQ_S): Likewise.
1231 (FP_CMP_UNORD_S): Likewise.
1232 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1233 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1234 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1235 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1236 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1237 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1238 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1239 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1240 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1241 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1242 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1243 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1244 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1246 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1248 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1249 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1251 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1253 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1254 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1255 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1256 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1258 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1260 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1261 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1263 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1265 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1266 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1267 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1268 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1271 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1272 a subnormal result, set the underflow exception if trapping on
1273 underflow is enabled.
1274 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1275 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1276 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1278 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1279 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1280 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1281 * soft-fp/extendxftf2.c (__extendxftf2): Use
1282 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1284 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1285 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1286 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1287 FP_HANDLE_EXCEPTIONS.
1288 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1289 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1290 FP_HANDLE_EXCEPTIONS.
1291 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1292 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1293 FP_HANDLE_EXCEPTIONS.
1294 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1295 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1296 FP_HANDLE_EXCEPTIONS.
1298 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1301 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1302 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1304 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1305 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1307 (__adjtimex): Define using libc_hidden_ver.
1308 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1310 (ntp_gettime): Call __adjtimex directly.
1311 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1313 (ntp_gettimex): Call __adjtimex directly.
1314 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1315 __adjtimex_internal alias.
1317 2014-10-08 Roland McGrath <roland@hack.frob.com>
1320 * nscd/nscd.c (more_help): Rewrite list of tables collection
1321 using xstrdup and asprintf.
1323 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1325 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1326 Roland McGrath <roland@hack.frob.com>
1328 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1329 (do_lookup_unique): ... local function 'enter' here; update callers.
1331 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1334 compat_symbol calls on [SHARED].
1335 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1336 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1338 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1339 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1340 (oldsetrlimit): Remove.
1341 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1343 (lchown): New syscall entry.
1344 (oldsetrlimit): Remove.
1345 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1346 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1347 (oldsetrlimit): Remove.
1348 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1351 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1352 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1353 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1354 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1355 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1356 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1358 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1363 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1365 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1366 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1367 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1368 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1369 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1371 (__old_sem_post): Likewise.
1373 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1375 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1376 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1377 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1378 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1379 Use INLINE_VSYSCALL macro.
1380 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1381 __vdso_clock_gettime.
1382 * sysdeps/unix/sysv/linux/tile/init-first.c
1383 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1384 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1385 __vdso_clock_gettime.
1387 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1388 to set up frame more cleanly.
1390 * sysdeps/tile/memcmp.c: New file.
1392 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1394 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1395 * sysdeps/tile/tilegx/strcasestr.c: New file.
1396 * sysdeps/tile/tilegx/strnlen.c: New file.
1397 * sysdeps/tile/tilegx/strstr.c: New file.
1399 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1401 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1403 * nptl/tst-setuid3.c: Write errors to stdout.
1405 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1408 (preload): New functions broken out of _dl_map_object_deps.
1409 (_dl_map_object_deps): Remove a nested function. Update call sites.
1411 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1414 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1415 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1417 2014-10-01 Steve Ellcey <sellcey@mips.com>
1419 * sysdeps/mips/strcmp.S: New.
1421 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1424 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1426 (mkdirat): Likewise.
1427 (readlinkat): Likewise.
1428 (renameat): Likewise.
1429 (symlinkat): Likewise.
1430 (unlinkat): Likewise.
1431 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1432 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1433 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1434 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1435 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1436 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1437 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1439 2014-09-30 Will Newton <will.newton@linaro.org>
1441 * math/math.h: Define long double math functions if
1442 _LIBC_TEST is defined.
1443 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1445 * localedata/Makefile: Move assignment to tests-special
1446 into an ifdef testing run-built-tests.
1447 * timezone/Makefile: Likewise.
1449 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1451 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1452 with $(BASH) not $(SHELL).
1454 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1455 Matthew LeGendre <legendre1@llnl.gov>
1458 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1461 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1463 * stdio-common/printf_fp.c
1464 (hack_digit): New function, broken out of ...
1465 (__printf_fp): ... local function here. Update call sites.
1466 hack_digit now takes an additional parameter that is a pointer
1467 to a struct of the referenced locals. Those locals moved inside
1468 the struct and references updated.
1470 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1472 * aclocal.m4: Require autoconf 2.69.
1473 * configure: Regenerated.
1474 * sysdeps/aarch64/configure: Likewise.
1475 * sysdeps/alpha/configure: Likewise.
1476 * sysdeps/arm/armv7/configure: Likewise.
1477 * sysdeps/arm/configure: Likewise.
1478 * sysdeps/ia64/configure: Likewise.
1479 * sysdeps/mach/configure: Likewise.
1480 * sysdeps/mips/configure: Likewise.
1481 * sysdeps/s390/configure: Likewise.
1482 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1485 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1487 * sysdeps/ia64/configure.ac: Likewise.
1489 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1492 specify symbol version for ld.so. Do not include entry for
1494 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1495 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1499 * Makeconfig [$(build-shared) = yes]
1500 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1502 [$(build-shared) = yes && $(soversions.mk-done) = t]
1503 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1504 [$(build-shared) = yes && $(soversions.mk-done) = t]
1505 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1507 [$(build-shared) = yes && $(soversions.mk-done) = t]
1508 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1510 [$(build-shared) = yes && $(soversions.mk-done) = t]
1511 (common-generated): Don't append gnu/lib-names.h and
1512 gnu/lib-names.stmp here.
1513 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1514 (lib-names-h-abi): New variable.
1515 [$(build-shared) = yes && $(soversions.mk-done) = t]
1516 (lib-names-stmp-abi): Likewise.
1517 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1518 abi-variants] (before-compile): Append
1519 $(common-objpfx)$(lib-names-h-abi).
1520 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1521 abi-variants] (common-generated): Append gnu/lib-names.h.
1522 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1523 abi-variants] (install-others-nosubdir): Depend on
1524 $(inst_includedir)/$(lib-names-h-abi).
1525 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1526 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1527 [$(build-shared) = yes && $(soversions.mk-done) = t]
1528 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1529 [$(build-shared) = yes && $(soversions.mk-done) = t]
1530 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1531 [$(build-shared) = yes && $(soversions.mk-done) = t]
1532 (common-generated): Append $(lib-names-h-abi) and
1533 $(lib-names-stmp-abi).
1534 * scripts/lib-names.awk: Do not handle multi being set.
1535 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1537 (abi-lp64_be-ld-soname): Likewise.
1538 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1540 (abi-hard-ld-soname): Likewise.
1541 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1542 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1544 (abi-o32_hard-ld-soname): Likewise.
1545 (abi-o32_soft_2008-ld-soname): Likewise.
1546 (abi-o32_hard_2008-ld-soname): Likewise.
1547 (abi-n32_soft-ld-soname): Likewise.
1548 (abi-n32_hard-ld-soname): Likewise.
1549 (abi-n32_soft_2008-ld-soname): Likewise.
1550 (abi-n32_hard_2008-ld-soname): Likewise.
1551 (abi-n64_soft-ld-soname): Likewise.
1552 (abi-n64_hard-ld-soname): Likewise.
1553 (abi-n64_soft_2008-ld-soname): Likewise.
1554 (abi-n64_hard_2008-ld-soname): Likewise.
1555 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1557 (abi-64-v2-ld-soname): Likewise.
1558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1560 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1562 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1564 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1566 (abi-64-ld-soname): Likewise.
1567 (abi-x32-ld-soname): Likewise.
1568 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1570 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1572 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1575 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1576 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1577 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1578 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1579 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1580 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1581 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1582 syscall entry for GLIBC_2.2 symbol version.
1583 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1586 (setrlimit): Likewise.
1587 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1590 2014-09-23 Will Newton <will.newton@linaro.org>
1592 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1593 _LINUX_ARM_SYSDEP_H include guard too.
1594 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1597 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1599 * sysdeps/unix/sysv/linux/eventfd.c:
1600 Make first argument unsigned.
1601 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1602 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1604 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1606 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1607 * socket/sys/socket.h: Likewise
1608 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1610 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1612 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1614 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1616 * time/tst-ftime.c: New test.
1617 * time/Makefile (tests): Add tst-ftime.
1619 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1621 * soft-fp/extended.h: Fix comment formatting.
1622 * soft-fp/op-1.h: Likewise.
1623 * soft-fp/op-2.h: Likewise.
1624 * soft-fp/op-4.h: Likewise.
1625 * soft-fp/op-8.h: Likewise.
1626 * soft-fp/op-common.h: Likewise.
1627 * soft-fp/soft-fp.h: Likewise.
1629 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1631 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1634 * Makeconfig (soversions-default-setname): Remove variable.
1635 ($(common-objpfx)soversions.i): Don't pass default_setname to
1637 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1638 oldest_abi to abi-versions.awk.
1639 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1640 * config.make.in (oldest-abi): Remove variable.
1641 * configure.ac (--enable-oldest-abi): Remove configure option.
1642 * configure: Regenerated.
1643 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1645 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1646 * scripts/soversions.awk: Do not handle default_setname variable.
1647 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1649 * sysdeps/mach/hurd/configure: Regenerated.
1650 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1652 * sysdeps/unix/sysv/linux/configure: Regenerated.
1654 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1656 * elf/Makefile (CFLAGS-interp.c): Remove.
1657 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1659 * elf/interp.c: Include generated runtime-linker.h
1661 * Makerules (lib%.so): Don't include $(+interp) in
1663 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1664 * dlfcn/eval.c: Remove file.
1666 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1670 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1674 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1676 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1677 Jakub Jelinek <jakub@redhat.com>
1680 * libio/stdio.h: Check definition of __fortify_function
1681 instead of __extern_always_inline to include bits/stdio2.h.
1682 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1683 check if __extern_always_inline is defined.
1684 [__USE_MISC || __USE_XOPEN]: Likewise.
1685 [__USE_ISOC99] Likewise.
1686 * misc/sys/cdefs.h (__fortify_function): Define only if
1687 __extern_always_inline is defined.
1688 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1689 __extern_always_inline and __extern_inline only for g++-4.3
1690 and newer or a compatible gcc.
1692 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1695 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1696 last change to handle zero prefix length.
1698 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1700 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1703 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1706 2014-09-13 Allan McRae <allan@archlinux.org>
1708 * po/ru.po: Update Russian translation from translation project.
1710 2014-09-12 Roland McGrath <roland@hack.frob.com>
1712 * locale/programs/locale.c (show_locale_vars): Inline local function
1713 into its sole call site. Clean up some style nits.
1714 (print_item): New function, broken out of ...
1715 (show_info): ... local function here. Clean up style nits.
1717 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1719 (set_class_defaults): ... local function set_default here.
1720 Define set_default as a macro locally to pass constant parameters.
1721 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1722 rather than a shared local.
1724 * stdlib/rpmatch.c (try): New function, broken out of ...
1725 (rpmatch): ... local function here. Also, prototypify definition.
1727 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1729 * scripts/soversions.awk: Do not handle configuration names.
1730 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1731 vendor and os variables to soversions.awk.
1732 * configure.ac: Do not modify gnu-* host_os.
1733 * configure: Regenerated
1734 * shlib-versions: Remove first column with configuration names.
1735 * nptl/shlib-versions: Likewise.
1736 * nptl_db/shlib-versions: Likewise.
1737 * sysdeps/hppa/shlib-versions: Likewise.
1738 * sysdeps/m68k/shlib-versions: Likewise.
1739 * sysdeps/mach/hurd/shlib-versions: Likewise.
1740 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1741 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1742 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1743 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1744 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1745 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1746 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1747 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1750 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1751 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1752 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1753 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1755 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1756 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1757 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1760 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1763 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1765 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1767 * shlib-versions: Remove OS-specific entries. Moved to files in
1769 * sysdeps/mach/hurd/shlib-versions: New file.
1770 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1772 * nptl/shlib-versions: Remove architecture-specific entries.
1773 Moved to files in sysdeps.
1774 * shlib-versions: Likewise.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1777 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1778 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1779 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1780 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1782 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1783 (UDP_NO_CHECK6_RX): Likewise.
1785 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1787 * sysdeps/posix/sysconf.c (__sysconf): Spell
1788 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1790 2014-08-12 Florian Weimer <fweimer@redhat.com>
1792 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1794 * iconv/Versions (__gconv_transliterate): Export for use from
1796 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1797 (struct __gconv_trans_data, __gconv_trans_fct,
1798 __gconv_trans_context_fct, __gconv_trans_query_fct,
1799 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1801 (struct __gconv_step_data): Remove __trans member.
1802 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1803 longer hidden. Remove unused trans_data argument.
1804 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1805 (__gconv_translit_find): Remove declaration.
1806 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1808 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1809 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1810 trans_data argument. Add hidden definition.
1811 (__gconv_translit_find): Remove.
1812 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1813 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1814 * iconv/skeleton.c: Remove transliteration initialization.
1815 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1816 __gconv_step_data initialization.
1817 * libio/iofwide.c (__libio_translit_): Remove.
1818 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1819 * wcsmbs/btowc.c (__btowc): Likewise.
1820 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1821 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1822 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1823 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1824 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1825 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1826 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1827 * wcsmbs/wctob.c (wctob): Likewise.
1829 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1832 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1833 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1835 * sysdeps/x86/Makefile: Adjust.
1837 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1838 Roland McGrath <roland@hack.frob.com>
1840 * locale/weight.h: Add include guard.
1841 (findidx): Make static rather than auto; take new parameters
1842 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1843 * locale/weightwc.h: Likewise.
1844 * posix/fnmatch_loop.c
1845 (FCT): Change type of EXTRA from int32_t to wint_t.
1846 Don't include either header inside the function.
1847 Call FINDIDX rather than findidx, and pass new arguments.
1848 #undef FINDIDX at the end of the file.
1849 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1850 FINDIDX before including fnmatch_loop.c for the non-wide version.
1851 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1852 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1853 for the wide version.
1854 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1855 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1856 Pass new arguments to findidx.
1857 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1858 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1859 Don't #include it inside the function. Pass new arguments to findidx.
1860 * posix/regex_internal.h
1861 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1862 (re_string_elem_size_at): Don't #include it inside the function.
1863 Pass new arguments to findidx.
1864 * string/strcoll_l.c: #include WEIGHT_H at top level.
1865 (get_next_seq): Don't #include it inside the function.
1866 Pass new arguments to findidx.
1867 (get_next_seq_nocache): Likewise.
1868 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1869 (STRXFRM): Don't #include it inside the function.
1870 Pass new arguments to findidx.
1872 2014-09-11 Florian Weimer <fweimer@redhat.com>
1875 * malloc/malloc.c (unlink): Turn asserts into a call to
1878 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1881 * libio/wfileops (do_ftell_wide): Free OUT.
1883 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1885 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1887 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1891 group if the current group is empty.
1893 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895 * benchtests/bench-memset.c (test_main): Add more test from size
1896 from 32 to 512 bytes.
1897 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1898 Add POWER8 memset object.
1899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1900 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1901 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1903 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1905 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1906 multiarch POWER8 memset optimization.
1907 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1908 POWER8 memset optimization.
1910 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1911 Remove bzero multiarch objects.
1912 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1913 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1914 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1915 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1917 [__bzero]: Redefine to specific name.
1918 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1919 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1920 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1922 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1923 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1925 2014-09-10 Florian Weimer <fweimer@redhat.com>
1927 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1928 warnings into errors.
1930 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1931 __cxa_thread_atexit_impl prototype.
1933 2014-09-09 Steve Ellcey <sellcey@mips.com>
1935 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1936 Fix capitalization of error message.
1938 2014-09-09 Steve Ellcey <sellcey@mips.com>
1940 * sysdeps/mips/preconfigure: Modify ABI tests.
1942 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1944 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1946 2014-09-07 Roland McGrath <roland@hack.frob.com>
1947 Carlos O'Donell <carlos@systemhalted.org>
1949 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1950 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1951 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1952 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1953 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1954 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1955 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1956 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1957 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1958 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1959 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1960 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1961 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1962 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1963 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1964 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1965 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1966 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1967 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1968 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1969 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1970 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1971 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1972 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1973 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1974 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1975 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1976 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1977 Deconditionalize the code that was previously under [RESET_PID].
1978 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1979 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1980 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1981 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1984 2014-09-08 Allan McRae <allan@archlinux.org>
1986 * version.h (RELEASE): Set to "development".
1987 (VERSION): Set to "2.20.90"
1989 2014-09-07 Allan McRae <allan@archlinux.org
1991 * version.h (RELEASE): Set to "stable".
1992 (VERSION): Set to "2.20"
1993 * include/features.h (__GLIBC_MINOR__): Set to 20.
1995 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1998 * po/ko.po: Update Korean translation from translation project.
2000 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2003 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2004 macro for handling signed relocations.
2006 2014-09-03 Florian Weimer <fweimer@redhat.com>
2009 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2010 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2012 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2013 * iconvdata/ibm935.c (BODY): Likewise.
2014 * iconvdata/ibm937.c (BODY): Likewise.
2015 * iconvdata/ibm939.c (BODY): Likewise.
2016 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2018 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2020 * iconvdata/run-iconv-test.sh: New test loop for checking for
2023 2014-09-02 Khem Raj <raj.khem@gmail.com>
2025 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2028 2014-09-01 Allan McRae <allan@archlinux.org>
2030 * po/eo.po: Update Esperanto translation from translation project.
2032 * po/ca.po: Update Catalan translation from translation project.
2034 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2036 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2039 2014-08-27 Mark Wielaard <mjw@redhat.com>
2042 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2043 to call set_thread_area instead of hand written asm.
2044 (__NR_set_thread_area): Removed define.
2045 (TLS_FLAG_WRITABLE): Likewise.
2046 (__ASSUME_SET_THREAD_AREA): Remove check.
2047 (TLS_EBX_ARG): Remove define.
2048 (TLS_LOAD_EBX): Likewise.
2050 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2052 Simplify atomicity of socket creation in bind.
2054 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2055 looking up the name after linking the file.
2057 2014-08-27 Allan McRae <allan@archlinux.org>
2059 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2061 2014-08-26 Florian Weimer <fweimer@redhat.com>
2064 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2065 trans_compare, open_translit, __gconv_translit_find):
2066 Remove module loading code.
2068 2014-08-26 Allan McRae <allan@archlinux.org>
2070 * po/vi.po: Update Vietnamese translation from translation project.
2072 * po/uk.po: Update Ukrainian translation from translation project.
2074 * po/fr.po: Update French translation from translation project.
2076 * po/ru.po: Update Russian translation from translation project.
2078 * po/pl.po: Update Polish translation from translation project.
2080 * po/cs.po: Update Czech translation from translation project.
2082 * po/de.po: Update German translation from translation project.
2084 * po/bg.po: Update Bulgarian translation from translation project.
2086 * po/sv.po: Update Sweedish translation from translation project.
2088 * po/nl.po: Update Dutch translation from translation project.
2090 * po/es.po: Update Spanish translation from translation project.
2092 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2094 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2096 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2097 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2098 (CPPFLAGS-iconvconfig): Likewise.
2099 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2101 * include/libc-symbols.h: Remove unnecessary check for
2103 * nptl/pthreadP.h: Likewise.
2104 * sysdeps/aarch64/setjmp.S: Likewise.
2105 * sysdeps/alpha/setjmp.S: Likewise.
2106 * sysdeps/arm/sysdep.h: Likewise.
2107 * sysdeps/i386/setjmp.S: Likewise.
2108 * sysdeps/m68k/setjmp.c: Likewise.
2109 * sysdeps/posix/getcwd.c: Likewise.
2110 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2111 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2112 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2113 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2114 * sysdeps/sh/sh3/setjmp.S: Likewise.
2115 * sysdeps/sh/sh4/setjmp.S: Likewise.
2116 * sysdeps/unix/alpha/sysdep.h: Likewise.
2117 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2119 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2120 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2123 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2124 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2125 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2126 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2128 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2130 * sysdeps/x86_64/setjmp.S: Likewise.
2132 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2135 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2137 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2138 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2140 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2142 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2145 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2146 and __x86_64__ when disabling x87 inline functions.
2148 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2151 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2152 asm statement with __cpuid_count.
2154 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2156 * configure.ac: Change __ehdr_start code to dereference the struct.
2157 Run readelf on the output to look for relocations.
2158 * configure: Regenerated.
2160 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2163 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2165 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2167 2014-08-12 Roland McGrath <roland@hack.frob.com>
2169 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2171 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2174 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2175 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2177 2014-08-12 Sean Anderson <seanga2@gmail.com>
2179 * malloc/malloc.c: Fix typo in comment.
2181 2014-08-09 Allan McRae <allan@archlinux.org>
2183 * Regenerate libc.po.
2185 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2187 * intl/tst-gettext2.sh: Check every lang file for creation.
2189 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2191 * sysdeps/aarch64/fpu/math_private.h
2192 (libc_feholdsetround_noex_aarch64_ctx): New function.
2194 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2196 * sysdeps/arm/armv6/strcpy.S (strcpy):
2197 Fix performance issue in misaligned cases.
2199 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2201 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2202 Move definition from termios.h.
2203 (struct termio): Likewise.
2204 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2205 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2206 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2207 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2209 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2210 Move definition to ioctl-types.h
2211 (struct termio): Likewise.
2212 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2213 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2214 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2215 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2218 2014-08-05 Richard Henderson <rth@redhat.com>
2220 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2222 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2224 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2225 Use __feraiseexcept.
2226 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2227 Protect libm symbols with IS_IN_libm.
2229 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2231 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2233 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2235 2014-08-04 Will Newton <will.newton@linaro.org>
2237 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2240 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2242 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2243 variants for each function.
2245 2014-08-04 Roland McGrath <roland@hack.frob.com>
2247 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2249 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2250 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2252 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2253 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2254 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2255 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2256 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2257 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2258 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2259 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2260 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2261 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2262 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2263 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2264 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2265 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2266 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2267 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2268 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2269 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2270 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2271 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2272 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2273 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2274 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2275 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2276 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2277 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2278 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2279 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2280 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2281 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2282 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2283 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2284 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2285 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2286 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2287 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2288 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2289 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2290 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2291 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2292 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2293 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2294 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2295 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2296 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2297 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2298 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2299 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2300 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2301 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2302 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2303 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2304 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2306 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2307 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2309 2014-08-04 Roland McGrath <roland@hack.frob.com>
2311 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2312 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2313 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2314 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2315 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2316 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2318 2014-08-04 Roland McGrath <roland@hack.frob.com>
2320 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2321 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2322 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2323 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2325 2014-08-04 Roland McGrath <roland@hack.frob.com>
2327 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2328 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2329 (__libc_vfork): Define function under this name.
2330 (__vfork): Define as an alias.
2331 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2332 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2334 2014-08-04 Roland McGrath <roland@hack.frob.com>
2336 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2337 that was previously under [RESET_PID].
2338 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2340 2014-08-04 Andreas Schwab <schwab@suse.de>
2342 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2344 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2346 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2349 2014-08-01 Roland McGrath <roland@hack.frob.com>
2351 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2353 2014-08-01 Richard Henderon <rth@redhat.com>
2355 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2356 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2357 typo in exact zero test.
2358 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2359 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2362 2014-08-01 Roland McGrath <roland@hack.frob.com>
2364 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2365 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2366 * sysdeps/arm/sysdep.h: ... here.
2367 [!__ASSEMBLER__]: Include <stdint.h>.
2369 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2371 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2372 (HAVE_WCTYPE_H): Likewise.
2373 (HAVE_ISWCTYPE): Likewise.
2374 (ENABLE_NLS): Likewise.
2375 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2376 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2378 * posix/regex_internal.c: Check if DEBUG is defined and is
2381 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2382 (HAVE_MBSRTOWCS): Likewise.
2383 * posix/fnmatch.c: Include string.h unconditionally.
2385 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2387 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2390 2014-07-31 Roland McGrath <roland@hack.frob.com>
2392 * sysdeps/generic/safe-fatal.h: New file.
2393 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2394 * nptl/forward.c: Include it.
2395 (__pthread_unwind): Use __safe_fatal as default action, rather
2396 than a bogus use of INTERNAL_SYSCALL that could never work.
2398 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2399 * configure.ac (libc_cv_builtin_trap): New test.
2400 * configure: Regenerated.
2401 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2402 (ABORT_INSTRUCTION): Define using __builtin_trap.
2404 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2405 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2406 * sysdeps/nptl/nptl-signals.h: New file.
2407 * nptl/pthreadP.h: Include <nptl-signals.h>.
2409 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2411 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2412 (ONE_DIRECTION): Define.
2413 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2414 (ONE_DIRECTION): Define.
2415 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2416 (ONE_DIRECTION): Define.
2418 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2420 * sysdeps/s390/Makefile: Delete file.
2421 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2422 * sysdeps/s390/__longjmp.c: Delete file.
2423 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2424 Remove fields __flags and __reserved.
2425 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2427 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2428 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2429 * sysdeps/s390/rtld-setjmp.S: Likewise.
2430 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2431 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2432 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2433 * sysdeps/s390/s390-32/setjmp.S: ... here.
2435 (__sigsetjmp): Remove setting __flags field.
2436 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2437 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2438 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2439 * sysdeps/s390/s390-64/setjmp.S: ... here.
2441 (__sigsetjmp): Remove setting __flags field.
2442 * sysdeps/s390/setjmp.S: Delete file.
2443 * sysdeps/s390/sigjmp.c: Likewise.
2444 * sysdeps/s390/v1-longjmp.c: Likewise.
2445 * sysdeps/s390/v1-setjmp.h: Likewise.
2446 * sysdeps/s390/v1-sigjmp.c: Likewise.
2447 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2448 Remove v1-longjmp_chk.
2449 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2450 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2451 Include debug/longjmp_chk.c and add versioning.
2452 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2453 Include nptl/pt-longjmp.c and add versioning.
2454 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2455 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2456 Include __longjmp.c.
2457 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2459 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2460 (__getcontext): Remove setting __flags field.
2462 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2463 Don't restore upper high grps.
2464 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2466 (__swapcontext): Remove setting uc_flags field.
2467 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2469 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2470 Include __longjmp.c.
2471 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2473 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2474 (__getcontext): Remove setting __flags field.
2476 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2477 (__swapcontext): Remove setting uc_flags field.
2478 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2479 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2480 Remove fields uc_high_gprs and __reserved.
2481 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2482 New file with reverted content.
2483 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2484 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2486 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2489 2014-07-31 Andreas Schwab <schwab@suse.de>
2491 * config.h.in (HAVE_IFUNC): Define to 0.
2492 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2495 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2498 memmove-avx-unaligned, memcpy-avx-unaligned and
2499 mempcpy-avx-unaligned.
2500 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2501 Add tests for AVX memcpy functions.
2502 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2503 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2505 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2506 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2508 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2509 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2511 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2512 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2513 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2515 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2521 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2524 * manual/llio.texi: Add section about open file description locks.
2525 * manual/examples/ofdlocks.c: Example of open file description
2527 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2528 F_OFD_SETLK, and F_OFD_SETLKW.
2530 2014-07-23 Allan McRae <allan@archlinux.org>
2532 * po/es.po: Update Spanish translation from translation project.
2534 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2536 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2538 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2541 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2542 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2543 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2545 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2548 * math/fesetenv.c (__fesetenv)
2549 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2550 * math/feupdateenv.c (__feupdateenv)
2551 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2553 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2554 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2555 (__ASSUME_SOCKETCALL): Do not define.
2557 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2558 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2559 (__ASSUME_SOCKETCALL): Do not define.
2560 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2561 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2562 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2563 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2564 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2565 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2566 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2567 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2569 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2570 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2571 (__ASSUME_SOCKETCALL): Do not define.
2572 (__ASSUME_IPC64): Define unconditionally.
2573 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2574 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2575 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2576 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2577 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2578 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2579 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2582 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2583 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2584 (__ASSUME_SOCKETCALL): Do not define.
2585 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2586 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2587 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2588 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2589 (__ASSUME_REQUEUE_PI): Define unconditionally.
2590 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2591 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2592 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2593 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2594 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2595 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2597 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2598 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2599 (__ASSUME_SOCKETCALL): Do not define.
2600 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2601 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2602 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2603 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2604 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2605 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2607 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2608 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2609 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2610 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2611 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2612 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2613 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2614 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2615 (__ASSUME_GETCPU_SYSCALL): Likewise.
2617 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2618 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2619 cases for individual architectures.
2620 * sysdeps/gnu/configure: Regenerated.
2621 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2622 LIBC_SLIBDIR_RTLDDIR.
2623 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2624 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2625 LIBC_SLIBDIR_RTLDDIR.
2626 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2628 LIBC_SLIBDIR_RTLDDIR.
2629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2631 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2632 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2634 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2635 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2637 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2638 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2639 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2640 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2642 * sysdeps/aarch64/shlib-versions: Move to ...
2643 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2644 * sysdeps/alpha/shlib-versions: Move to ...
2645 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2646 * sysdeps/arm/shlib-versions: Move to ...
2647 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2648 * sysdeps/hppa/shlib-versions: Move all contents except for
2649 libgcc_s entry to ...
2650 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2652 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2653 * sysdeps/ia64/shlib-versions: Move to ...
2654 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2656 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2657 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2658 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2659 * sysdeps/microblaze/shlib-versions: Move to ...
2660 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2661 * sysdeps/mips/shlib-versions: Move to ...
2662 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2664 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2665 * sysdeps/tile/shlib-versions: Move to ...
2666 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2667 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2669 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2670 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2672 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2674 2014-07-17 Will Newton <will.newton@linaro.org>
2676 * sysdeps/arm/bits/atomic.h
2677 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2678 (__arch_compare_and_exchange_bool_16_int): Likewise.
2679 (__arch_compare_and_exchange_bool_64_int): Likewise.
2681 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2682 into an #else block.
2684 2014-07-16 Roland McGrath <roland@hack.frob.com>
2686 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2687 just Linux configurations. Test empirically that the compiler sets
2688 __ARM_EABI__, rather than using the tuple to decide.
2689 * sysdeps/arm/preconfigure: Regenerated.
2690 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2691 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2692 contents appended ...
2693 * sysdeps/arm/configure.ac: ... here.
2694 * sysdeps/arm/configure: Regenerated.
2696 2014-07-15 Roland McGrath <roland@hack.frob.com>
2698 * nptl/pthread_kill.c: New file.
2699 * nptl/pthread_sigmask.c: New file.
2700 * nptl/pthread_sigqueue.c: New file.
2702 * sysdeps/nptl/lowlevellock.h: New file.
2703 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2704 * sysdeps/nptl/lowlevellock-futex.h: New file.
2706 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2707 Remove dead declarations.
2709 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2711 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2712 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2714 * sysdeps/x86_64/configure.ac: Likewise.
2715 * sysdeps/i386/configure: Regenerated.
2716 * sysdeps/x86_64/configure: Likewise.
2717 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2718 memset-avx2 only if config-cflags-avx2 is yes.
2719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2720 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2722 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2723 only if HAVE_AVX2_SUPPORT is defined.
2724 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2726 2014-07-14 Alan Modra <amodra@gmail.com>
2729 * elf/elf.h (DT_PPC64_NUM): Correct value.
2730 * NEWS: Add to fixed bug list.
2732 2014-07-13 Jim Meyering <meyering@fb.com>
2735 regex: don't deref NULL upon heap allocation failure
2736 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2737 failure in one more place.
2738 To trigger the segfault, configure grep -with-included-regex,
2739 build it, and run these commands:
2740 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2742 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2744 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2746 2014-07-11 Richard Henderson <rth@redhat.com>
2748 * sysdeps/aarch64/libm-test-ulps: Update.
2750 2014-07-10 Florian Weimer <fweimer@redhat.com>
2753 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2754 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2755 (__nptl_setxid): Initialize error member. Call
2756 __nptl_setxid_error.
2757 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2758 * nptl/descr.h (struct xid_command): Add error member.
2759 * nptl/tst-setuid3.c: New file.
2760 * nptl/Makefile (tests): Add it.
2762 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2764 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2766 (__lll_trylock): Use __lll_base_trylock.
2767 (__lll_cond_trylock): Likewise.
2769 2014-07-10 Roland McGrath <roland@hack.frob.com>
2771 * nptl/pthread_create.c (start_thread): Use atomic_or and
2772 lll_futex_wake directly rather than lll_robust_dead.
2773 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2774 (lll_robust_dead): Macro removed.
2775 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2776 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2777 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2778 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2779 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2780 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2781 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2782 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2783 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2785 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2786 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2787 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2788 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2791 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2792 Use atomic_compare_and_exchange_val_acq directly rather than
2794 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2795 (__lll_robust_trylock, lll_robust_trylock): Removed.
2796 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2797 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2798 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2799 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2800 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2801 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2802 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2803 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2804 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2805 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2806 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2807 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2808 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2809 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2811 2014-07-02 Florian Weimer <fweimer@redhat.com>
2813 * manual/locale.texi (Locale Names): New section documenting
2814 locale name syntax. Adjust menu and node chaining accordingly.
2815 (Choosing Locale): Reference Locale Names, Locale Categories.
2816 Mention setting LC_ALL=C. Reflect that name syntax is now
2818 (Locale Categories): New section title. Reference Locale Names.
2819 LC_ALL is an environment variable, but not a category.
2820 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2821 description, now in Locale Name. Reference that section. Locale
2822 name syntax is now documented.
2824 2014-07-02 Florian Weimer <fweimer@redhat.com>
2827 * locale/findlocale.c (name_present, valid_locale_name): New
2829 (_nl_find_locale): Use the loc_name variable to store name
2830 candidates. Call name_present and valid_locale_name to check and
2831 validate locale names. Return an error if the locale is invalid.
2833 2014-07-02 Florian Weimer <fweimer@redhat.com>
2835 * locale/setlocale.c (setlocale): Use strdup for allocating
2836 composite name copy.
2838 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2840 Sync up with gnulib.
2841 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2842 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2843 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2844 and _GL_ARG_NONNULL.
2845 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2846 [!_LIBC]: Include code for Windows and Cygwin.
2847 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2848 Include prototype for int strerror_r.
2849 [!_LIBC] (is_open): New function.
2850 (flush_stdout): New function.
2851 (print_errno_message): Use it.
2853 (error_at_line): Likewise.
2854 (error_tail) Add function attribute macros. Use
2857 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2859 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2861 * io/ftw.c: Include sys/param.h unconditionally.
2863 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2866 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2868 (freecache): New function to free CACHE on exit.
2870 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2873 2014-07-09 David S. Miller <davem@davemloft.net>
2875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2877 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2878 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2879 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2880 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2881 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2882 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2883 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2884 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2885 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2886 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2887 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2888 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2889 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2891 2014-07-09 Andreas Schwab <schwab@suse.de>
2893 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2895 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2896 (do_test): Likewise.
2898 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2900 2014-07-09 Will Newton <will.newton@linaro.org>
2902 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2903 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2904 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2905 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2906 * sysdeps/hppa/start.S (_start): Likewise.
2908 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2910 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2912 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2915 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2917 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2918 after checking that it is non-NULL.
2920 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2922 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2924 * sysdeps/powerpc/memmove.c: Remove file.
2925 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2926 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2927 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2928 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2930 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2931 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2932 string memmove instead of removed powerpc one.
2934 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2935 [weak_alias]: Fix compiler warning due trailing data.
2936 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2937 [weak_alias]: Likewise.
2938 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2939 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2941 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2942 (__libc_ifunc_impl_list): Add memmove functions.
2944 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2946 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2948 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2950 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2952 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2954 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2956 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2958 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2960 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2962 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2964 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2966 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2968 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2970 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2972 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2974 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2976 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2978 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2981 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2983 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2984 to avoid alignment traps in non-cacheable memory.
2985 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2989 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2990 file: multiarch power7 memmove.
2991 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2992 multiarch default memmove.
2993 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2994 multiarch memove for powerpc32/power4.
2996 * string/bcopy.c: Use full path to include memmove.c.
2997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2999 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3000 bcopy for powerpc64.
3001 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3002 bcopy for powerpc64.
3003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3004 and memmove implementations.
3005 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3006 optimized multiarch memmove for POWER7/powerpc64.
3007 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3008 default multiarch memmove for powerpc64.
3009 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3010 multiarch for powerpc64.
3011 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3012 for POWER7/powerpc64.
3013 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3014 memmove for POWER7/powerpc64.
3016 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3019 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3020 __ELF_NATIVE_CLASS equal to 64.
3022 2014-07-07 Roland McGrath <roland@hack.frob.com>
3024 * sysdeps/nptl/lowlevellock.h: File removed.
3026 * NEWS: NPTL is no longer an add-on!
3027 * nptl/internaltypes.h: Moved ...
3028 * sysdeps/nptl/internaltypes.h: ... here.
3029 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3030 * sysdeps/nptl/fork.c: Likewise.
3031 * sysdeps/nptl/gai_misc.h: Likewise.
3032 * sysdeps/nptl/librt-cancellation.c: Likewise.
3033 * sysdeps/nptl/jmp-unwind.c: Likewise.
3034 * sysdeps/nptl/setxid.h: Likewise.
3035 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3036 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3037 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3038 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3039 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3040 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3041 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3042 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3043 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3044 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3045 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3046 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3047 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3048 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3049 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3050 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3051 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3052 * nptl/Makeconfig: Moved ...
3053 * sysdeps/nptl/Makeconfig: ... here.
3054 * nptl/configure: File removed.
3055 * nptl/ANNOUNCE: File removed.
3056 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3057 * sysdeps/unix/sysv/linux/configure: Regenerated.
3059 * nptl/Makefile (routines): Add libc_pthread_init,
3060 libc_multiple_threads, register-atfork and unregister-atfork.
3061 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3062 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3063 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3064 pthread-pi-defines.sym, structsem.sym.
3065 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3066 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3067 [$(subdir) = nptl] (tests): Add tst-setgetname.
3068 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3069 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3070 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3071 [!LIBC_SIGACTION]: Remove aliases.
3072 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3073 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3074 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3075 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3076 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3077 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3079 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3080 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3081 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3082 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3083 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3084 __libc_allocate_rtsig_private.
3085 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3086 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3087 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3088 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3089 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3090 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3091 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3092 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3093 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3094 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3095 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3096 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3097 * nptl/internaltypes.h: ... here.
3098 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3099 * sysdeps/nptl/jmp-unwind.c: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3101 * nptl/libc-lowlevellock.c: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3103 * nptl/libc_multiple_threads.c: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3105 * nptl/libc_pthread_init.c: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3107 * nptl/lowlevelbarrier.sym: ... here.
3108 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3109 * nptl/lowlevelcond.sym: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3111 * nptl/lowlevellock.c: ... here.
3112 * nptl/lowlevellock.h: Moved ...
3113 * sysdeps/nptl/lowlevellock.h: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3115 * nptl/lowlevelrobustlock.c: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3117 * nptl/lowlevelrobustlock.sym: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3119 * nptl/lowlevelrwlock.sym: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3121 * nptl/pt-fork.c: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3123 * nptl/pthread-pi-defines.sym: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3125 * nptl/pthread_attr_getaffinity.c: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3127 * nptl/pthread_attr_setaffinity.c: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3129 * nptl/pthread_mutex_cond_lock.c: ... here.
3130 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3132 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3133 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3134 * nptl/pthread_once.c: ... here, replacing old file.
3135 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3136 * nptl/pthread_yield.c: ... here.
3137 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3138 * nptl/register-atfork.c: ... here.
3139 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3140 * nptl/sem_post.c: ... here.
3141 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3142 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3143 * nptl/sem_timedwait.c: ... here.
3144 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3145 * nptl/sem_trywait.c: ... here.
3146 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3147 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3148 * nptl/sem_wait.c: ... here.
3149 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3150 * nptl/structsem.sym: ... here.
3151 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3152 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3153 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3154 * nptl/unregister-atfork.c: ... here.
3155 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3156 * nptl/unwindbuf.sym: ... here.
3157 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3158 * sysdeps/nptl/fork.c: ... here.
3159 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3160 * sysdeps/nptl/fork.h: ... here.
3161 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3162 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3163 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3164 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3165 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3166 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3167 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3168 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3169 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3170 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3171 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3172 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3173 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3174 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3175 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3176 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3177 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3178 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3179 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3180 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3181 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3182 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3183 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3184 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3185 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3186 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3187 * sysdeps/unix/sysv/linux/raise.c: ... here.
3188 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3189 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3190 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3191 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3192 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3193 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3194 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3195 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3196 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3197 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3198 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3199 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3200 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3201 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3202 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3204 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3206 * sysdeps/generic/memcopy.h: Add comment for
3207 MEMCPY_OK_FOR_FWD_MEMMOVE.
3209 2014-07-04 Will Newton <will.newton@linaro.org>
3211 * string/memchr.c: Merge from gnulib.
3212 [_LIBC]: Remove conditionals.
3213 (__ptr_t): Remove define.
3214 (LONG_MAX_32_BITS): Likewise.
3215 (LONG_MAX): Likewise.
3216 (MEMCHR): Use ANSI prototype and optimize algorithm.
3218 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3220 2014-07-03 Roland McGrath <roland@hack.frob.com>
3222 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3223 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3225 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3226 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3227 in a bare environment with no <stdlib.h> installed.
3228 * sysdeps/nptl/configure: Regenerated.
3230 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3232 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3233 AC_EGREP_CPP for kernel header checks, so they only succeed if
3234 including <linux/version.h> actually works right.
3235 * sysdeps/unix/sysv/linux/configure: Regenerated.
3237 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3238 value so it's not diagnosed as unused.
3240 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3241 thing) with "ifeq ($(subdir),rt)".
3243 2014-07-03 Richard Henderson <rth@redhat.com>
3245 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3246 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3247 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3249 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3250 (math_force_eval): New.
3252 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3253 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3255 * sysdeps/alpha/fpu/s_round.c: Remove file.
3256 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3258 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3259 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3260 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3261 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3262 (_dl_start, print_statistics): Likewise.
3263 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3264 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3266 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3267 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3268 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3269 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3270 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3271 (HP_SMALL_TIMING_AVAIL): Define.
3272 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3274 (HP_SMALL_TIMING_AVAIL): Define.
3275 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3276 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3278 * sysdeps/aarch64/hp-timing.h: New file.
3280 * sysdeps/generic/hp-timing.h: Remove dead comment.
3281 * sysdeps/generic/hp-timing-common.h: New file.
3282 * sysdeps/alpha/hp-timing.h: Include it.
3283 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3284 * sysdeps/i386/i686/hp-timing.h: Likewise.
3285 * sysdeps/ia64/hp-timing.h: Likewise.
3286 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3287 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3288 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3289 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3290 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3291 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3294 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3295 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3296 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3297 * elf/rtld.c (_dl_start_final): Likewise.
3298 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3299 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3300 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3301 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3302 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3303 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3304 (HP_TIMING_DIFF_INIT): Remove.
3305 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3306 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3307 (HP_TIMING_DIFF_INIT): Remove.
3308 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3309 * sysdeps/i386/i686/hp-timing.c: Remove file.
3310 * sysdeps/x86_64/hp-timing.c: Remove file.
3311 * sysdeps/ia64/hp-timing.c: Remove file.
3312 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3313 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3314 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3315 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3317 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3318 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3319 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3320 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3321 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3322 (HP_TIMING_ACCUM): Remove.
3323 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3324 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3325 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3327 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3328 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3329 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3330 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3331 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3332 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3333 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3334 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3336 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3338 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3340 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3342 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3344 Sync up with gettext.
3345 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3346 [_MSC_VER]: Include malloc.h
3347 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3348 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3349 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3350 TEMP_FAILURE_RETRY. Cast return of alloca.
3351 [!_LIBC] Call gl_rwlock_init.
3352 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3354 2014-07-02 Roland McGrath <roland@hack.frob.com>
3356 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3357 before checking its value.
3359 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3361 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3363 * debug/memcpy_chk.c: Don't include pagecopy.h.
3364 * debug/mempcpy_chk.c: Likewise.
3365 * string/memcpy.c: Likewise.
3366 * string/memmove.c: Likewise.
3367 * sysdeps/powerpc/memmove.c: Likewise.
3368 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3369 definition of PAGE_COPY_FWD_MAYBE here...
3370 * sysdeps/generic/pagecopy.h: ... from here.
3371 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3373 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3374 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3376 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3377 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3379 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3380 (__libc_ifunc_impl_list): Likewise.
3381 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3382 multiarch strcat for PPC64.
3383 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3384 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3386 2014-07-02 Roland McGrath <roland@hack.frob.com>
3388 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3390 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3392 * intl/loadmsgcat.c: Remove declaration of
3393 get_sysdep_segment_value.
3394 (get_sysdep_segment_value): Use ISO C style.
3395 (_nl_load_domain): Use ISO C style. Get rid of redundant
3396 semicolon. Fix typo and formatting in comment.
3397 (_nl_unload_domain): Use ISO C style.
3399 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3401 2014-07-02 Will Newton <will.newton@linaro.org>
3403 * malloc/obstack.c: Merge from gnulib master.
3404 [HAVE_CONFIG_H]: Remove conditional code.
3405 [!_LIBC]: Include config.h.
3406 [!ELIDE_CODE]: Don't include inttypes.h, include
3407 stdint.h unconditionally.
3408 (print_and_abort): Mark as _Noreturn.
3409 (_obstack_allocated_p): Mark as __attribute_pure__.
3410 (obstack_free): Rename to __obstack_free.
3411 [!__attribute__]: Remove conditional code.
3412 * malloc/obstack.h: Merge from gnulib master.
3413 [__cplusplus]: Move conditional down.
3414 [!__attribute_pure__]: Define __attribute_pure__ here
3415 if it is not already defined.
3416 (_obstack_memory_used): Mark as __attribute_pure__.
3417 [!__obstack_free]: Define as obstack_free.
3418 [__GNUC__]: Remove check for ancient NeXT gcc.
3420 2014-07-02 Will Newton <will.newton@linaro.org>
3421 Paul Eggert <eggert@cs.ucla.edu>
3423 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3425 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3427 * resolv/gethnamaddr.c: Add comment warning that the file is
3430 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3432 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3435 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3436 entry for aio_cancel and aio_cancel64.
3437 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3438 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3439 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3440 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3441 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3442 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3443 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3444 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3445 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3446 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3447 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3448 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3449 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3451 2014-07-01 Roland McGrath <roland@hack.frob.com>
3453 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3454 * nptl/pthread_mutex_lock.c: Likewise.
3455 * nptl/pthread_mutex_timedlock.c: Likewise.
3456 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3458 2014-07-01 Richard henderson <rth@redhat.com>
3460 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3461 (__isnan, __isnanl): Remove.
3462 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3464 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3466 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3468 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3470 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3472 * resolv/nss_dns/dns-host.c (getanswer_r)
3473 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3475 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3477 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3478 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3480 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3481 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3483 2014-07-01 Roland McGrath <roland@hack.frob.com>
3485 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3486 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3488 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3489 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3491 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3492 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3494 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3495 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3497 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3498 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3499 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3500 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3502 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3503 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3504 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3505 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3506 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3508 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3510 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3511 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3512 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3513 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3514 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3515 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3516 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3517 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3518 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3519 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3520 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3521 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3522 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3523 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3524 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3525 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3526 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3527 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3528 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3529 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3531 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3532 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3533 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3534 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3535 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3536 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3537 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3538 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3540 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3542 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3543 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3544 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3547 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3551 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3553 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3554 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3556 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3558 * sysdeps/arm/libm-test-ulps: Regenerated.
3560 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3561 Roland McGrath <roland@hack.frob.com>
3563 * test-skeleton.c (signal_handler): Kill the whole process group
3564 before killing the child individually.
3565 (main): Report any failure on `setpgid'.
3567 2014-06-30 Roland McGrath <roland@hack.frob.com>
3569 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3570 from _TLS_H to _ARM_NPTL_TLS_H.
3571 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3572 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3574 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3577 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3578 (__expm1l): Return argument unchanged when small but not
3581 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3583 (_FP_UNPACK_RAW_1_P): Likewise.
3584 (_FP_PACK_RAW_1): Likewise.
3585 (_FP_PACK_RAW_1_P): Likewise.
3586 (_FP_MUL_MEAT_1_wide): Likewise.
3587 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3588 (_FP_MUL_MEAT_1_hard): Likewise.
3589 (_FP_DIV_MEAT_1_imm): Likewise.
3590 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3591 (_FP_DIV_MEAT_1_udiv): Likewise.
3592 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3593 (_FP_UNPACK_RAW_2): Likewise.
3594 (_FP_UNPACK_RAW_2_P): Likewise.
3595 (_FP_PACK_RAW_2): Likewise.
3596 (_FP_PACK_RAW_2_P): Likewise.
3597 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3598 (_FP_MUL_MEAT_2_wide): Likewise.
3599 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3600 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3601 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3602 (_FP_MUL_MEAT_2_gmp): Likewise.
3603 (_FP_DIV_MEAT_2_udiv): Likewise.
3604 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3605 (_FP_FRAC_SRL_4): Likewise.
3606 (_FP_FRAC_SRST_4): Likewise.
3607 (_FP_FRAC_SRS_4): Likewise.
3608 (_FP_UNPACK_RAW_4): Likewise.
3609 (_FP_UNPACK_RAW_4_P): Likewise.
3610 (_FP_PACK_RAW_4): Likewise.
3611 (_FP_PACK_RAW_4_P): Likewise.
3612 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3613 (_FP_MUL_MEAT_4_wide): Likewise.
3614 (_FP_MUL_MEAT_4_gmp): Likewise.
3615 (umul_ppppmnnn): Likewise.
3616 (_FP_DIV_MEAT_4_udiv): Likewise.
3617 (__FP_FRAC_ADD_4): Likewise.
3618 (__FP_FRAC_SUB_3): Likewise.
3619 (__FP_FRAC_SUB_4): Likewise.
3620 (__FP_FRAC_DEC_3): Likewise.
3621 (__FP_FRAC_DEC_4): Likewise.
3622 (__FP_FRAC_ADDI_4): Likewise.
3623 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3624 (_FP_FRAC_SRL_8): Likewise.
3625 (_FP_FRAC_SRS_8): Likewise.
3627 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3629 (FP_UNPACK_RAW_EP): Likewise.
3630 (FP_PACK_RAW_E): Likewise.
3631 (FP_PACK_RAW_EP): Likewise.
3632 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3633 (_FP_ISSIGNAN): Likewise.
3634 (_FP_ADD_INTERNAL): Likewise.
3635 (_FP_FMA): Likewise.
3636 (_FP_CMP): Likewise.
3637 (_FP_SQRT): Likewise.
3638 (_FP_TO_INT): Likewise.
3639 (_FP_FROM_INT): Likewise.
3640 (FP_EXTEND): Likewise.
3641 (_FP_DIV_MEAT_N_loop): Likewise.
3643 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3645 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3648 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3651 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3652 result with correct sign in case of exponents that produce
3653 overflow except for X very close to 1.
3655 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3657 mktime: merge #if/#ifdef usage from glibc
3658 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3659 as that works with both Glibc's and Gnulib's style.
3660 See thread starting at Siddhesh Poyarekar's bug report at:
3661 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3663 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3665 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3666 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3667 * sysdeps/tile/tilegx/memmove.c: Remove file.
3669 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3671 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3672 abi-name definition.
3673 * scripts/soversions.awk: Do not handle or generate ABI lines.
3674 * shlib-versions: Remove ABI entries.
3675 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3676 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3678 2014-06-27 Roland McGrath <roland@hack.frob.com>
3680 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3681 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3682 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3683 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3684 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3685 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3688 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3690 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3691 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3692 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3693 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3695 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3697 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3698 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3699 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3700 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3701 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3702 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3704 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3706 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3708 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3709 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3711 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3714 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3715 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3716 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3717 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3719 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3720 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3721 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3723 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3725 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3728 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3730 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3731 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3733 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3734 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3736 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3737 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3738 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3739 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3741 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3743 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3744 Identical file removed.
3745 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3747 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3748 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3749 Identical file removed.
3750 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3751 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3752 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3754 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3755 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3756 Identical file removed.
3757 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3758 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3759 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3760 Identical file removed.
3761 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3762 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3763 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3764 Identical file removed.
3765 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3766 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3767 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3768 Identical file removed.
3769 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3771 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3772 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3773 Identical file removed.
3774 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3776 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3777 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3778 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3780 Identical file removed.
3781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3783 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3785 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3786 Identical file removed.
3787 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3789 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3790 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3791 Identical file removed.
3792 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3794 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3795 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3796 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3798 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3799 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3801 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3802 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3803 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3805 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3806 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3807 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3808 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3809 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3811 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3814 * nscd/nscd.c (monitor_child): Return exit status of child
3815 instead of return value from wait syscall.
3817 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3819 * configure.ac (libc_commonpagesize): Remove variable.
3820 (libc_relro_required): Likewise.
3821 (libc_cv_z_relro): Remove configure test.
3822 * configure: Regenerated.
3823 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3825 (libc_relro_required): Likewise.
3826 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3827 (libc_relro_required): Likewise.
3828 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3829 (libc_relro_required): Likewise.
3830 * sysdeps/arm/preconfigure: Regenerated.
3831 * sysdeps/ia64/preconfigure: Remove file.
3832 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3834 (libc_relro_required): Likewise.
3838 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3839 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3840 recompute overflowing results in original rounding mode.
3841 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3842 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3843 recompute overflowing results in original rounding mode.
3844 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3845 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3846 recompute overflowing results in original rounding mode.
3847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3848 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3849 recompute overflowing results in original rounding mode.
3850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3851 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3852 recompute overflowing results in original rounding mode.
3853 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3854 (libc_feholdsetround_ctx): New macro.
3855 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3856 * sysdeps/i386/fpu/libm-test-ulps: Update.
3857 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3859 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3861 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3862 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3863 corresponding .cpsetup call.
3865 2014-06-26 Roland McGrath <roland@hack.frob.com>
3867 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3868 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3869 * sysdeps/arm/Makefile [$(subdir) = csu]
3870 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3871 (static-only-routines): Add aeabi_read_tp here.
3872 (shared-only-routines): Add libc-aeabi_read_tp here.
3873 (CFLAGS-libc-start.c): Add -fexceptions here.
3874 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3875 (sysdep_routines, static-only-routines, shared-only-routines):
3876 Don't add to these here.
3877 (CFLAGS-libc-start.c): Likewise.
3879 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3880 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3881 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3882 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3883 * sysdeps/arm/Makefile [$(subdir) = rt]
3884 (librt-sysdep_routines, librt-shared-only-routines):
3885 Append rt-aeabi_unwind_cpp_pr1 here.
3886 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3887 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3888 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3889 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3890 Append nptl-aeabi_unwind_cpp_pr1 here.
3891 (tests): Filter out tst-cleanupx4 here.
3892 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3893 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3894 Don't do those here.
3896 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3898 * scripts/list-sources.sh: Do not handle ports specially.
3900 2014-06-26 Roland McGrath <roland@hack.frob.com>
3902 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3903 * sysdeps/arm/feupdateenv.c: Likewise.
3905 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3907 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3909 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3910 trailing whitespace removed.
3911 * scripts/config.guess: Update to version 2014-03-23.
3912 * scripts/config.sub: Update to version 2014-05-01
3913 * scripts/install-sh: Update to version 2013-12-25.23.
3914 * scripts/move-if-change: Update from gnulib.
3916 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3918 * debug/memmove_chk.c: Remove pagecopy.h include.
3920 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3922 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3923 identical to gnulib mktime.
3925 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3927 * configure.ac: Do not test for machine being rs6000. Do not test
3929 * configure: Regenerated.
3931 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3933 * configure: Regenerated.
3934 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3935 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3936 Remove configure test.
3937 * sysdeps/arm/configure: Regenerated.
3938 * sysdeps/nptl/configure.ac: Do not check
3939 libc_cv_asm_cfi_directives.
3940 * sysdeps/nptl/configure: Regenerated.
3941 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3942 * sysdeps/x86_64/nptl/configure: Remove generated file.
3943 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3945 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3947 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3949 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3950 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3951 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3954 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3955 instead of whether it is defined.
3956 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3957 * sysdeps/hppa/dl-machine.h: Likewise.
3958 * sysdeps/ia64/dl-machine.h: Likewise.
3959 * sysdeps/m68k/dl-machine.h: Likewise.
3960 * sysdeps/microblaze/dl-machine.h: Likewise.
3961 * sysdeps/mips/dl-machine.: Likewise.
3962 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3963 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3964 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3965 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3966 * sysdeps/sh/dl-machine.h: Likewise.
3967 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3968 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3969 * sysdeps/tile/dl-machine.h: Likewise.
3970 * sysdeps/x86_64/dl-machine.h: Likewise.
3972 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3974 (verify_persistent_db): Likewise.
3976 2014-06-26 Roland McGrath <roland@hack.frob.com>
3978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3979 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3981 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3984 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3987 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3989 Identical file removed.
3990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3991 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3993 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3995 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3997 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3999 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4002 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4004 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4006 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4009 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4011 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4013 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4015 Identical file removed.
4016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4017 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4019 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4022 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4025 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4027 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4029 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4031 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4033 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4036 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4039 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4041 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4044 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4046 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4048 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4050 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4051 * sysdeps/unix/sysv/linux/s390/Versions
4052 (libpthread: GLIBC_2.19): New version set.
4053 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4054 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4055 (librt: GLIBC_2.3.3): New version set.
4056 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4057 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4058 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4059 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4060 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4061 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4062 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4063 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4064 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4065 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4066 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4067 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4068 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4069 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4070 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4071 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4072 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4073 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4074 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4075 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4076 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4078 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4080 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4082 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4083 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4084 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4085 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4086 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4087 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4089 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4091 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4092 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4093 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4094 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4095 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4096 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4097 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4098 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4099 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4100 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4102 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4103 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4104 (__libc_vfork): Define the function under this name.
4105 [!NOT_IN_libc] (__vfork): Make this an alias.
4106 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4108 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4109 (__libc_vfork): Define the function under this name.
4110 [!NOT_IN_libc] (__vfork): Make this an alias.
4111 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4112 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4113 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4115 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4116 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4118 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4119 code that was previously under [RESET_PID].
4120 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4121 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4122 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4124 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4125 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4126 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4127 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4128 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4129 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4130 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4131 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4132 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4133 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4134 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4136 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4137 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4138 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4139 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4140 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4141 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4142 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4143 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4144 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4146 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4147 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4148 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4149 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4150 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4152 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4154 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4158 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4160 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4161 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4162 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4164 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4166 2014-06-25 Roland McGrath <roland@hack.frob.com>
4168 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4169 that was previously under [RESET_PID].
4170 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4172 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4174 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4175 not undefine and redefine.
4176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4177 [O_CLOEXEC]: Make code unconditional.
4178 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4179 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4180 <kernel-features.h>.
4181 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4182 conditional variable definition.
4183 (shm_open) [O_CLOEXEC]: Make code unconditional.
4184 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4187 * configure.ac (USE_REGPARMS): Don't define here.
4188 * configure: Regenerated.
4189 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4190 * sysdeps/i386/configure: Regenerated.
4192 * nptl/createthread.c: Don't include kernel-features.h.
4193 * nptl/pthread_cancel.c: Likewise.
4194 * nptl/pthread_condattr_setclock.c: Likewise.
4195 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4196 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4197 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4198 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4199 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4200 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4201 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4202 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4204 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4205 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4206 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4207 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4208 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4209 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4210 * nscd/gai.c: Likewise.
4211 * nss/nss_db/db-open.c: Likewise.
4212 * sysdeps/generic/ldsodefs.h: Likewise.
4213 * sysdeps/sh/nptl/tls.h: Likewise.
4214 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4215 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4216 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4217 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4218 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4219 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4220 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4221 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4222 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4223 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4224 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4225 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4226 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4227 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4228 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4229 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4230 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4231 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4232 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4233 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4234 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4235 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4236 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4237 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4238 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4239 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4240 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4241 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4242 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4243 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4244 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4245 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4246 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4247 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4248 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4249 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4250 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4251 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4252 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4253 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4254 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4255 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4256 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4257 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4258 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4259 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4260 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4261 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4262 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4263 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4264 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4265 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4266 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4267 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4268 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4269 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4270 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4271 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4294 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4295 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4296 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4297 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4298 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4299 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4300 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4301 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4302 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4303 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4304 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4305 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4306 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4307 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4308 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4309 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4310 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4311 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4312 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4313 * sysdeps/unix/sysv/linux/system.c: Likewise.
4314 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4315 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4316 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4317 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4318 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4319 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4320 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4322 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4323 * configure: Regenerated.
4324 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4326 * configure.ac (base_machine): Do not set specially for particular
4328 * configure: Regenerated.
4329 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4330 settings from configure.ac.
4331 * sysdeps/i386/preconfigure: New file.
4332 * sysdeps/s390/preconfigure: Likewise.
4333 * sysdeps/sh/preconfigure: Likewise.
4334 * sysdeps/sparc/preconfigure: Likewise.
4336 2014-06-25 Roland McGrath <roland@hack.frob.com>
4338 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4339 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4340 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4341 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4342 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4343 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4344 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4345 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4346 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4347 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4348 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4349 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4350 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4351 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4352 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4353 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4354 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4355 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4356 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4358 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4359 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4360 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4361 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4362 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4363 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4364 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4365 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4366 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4367 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4368 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4369 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4370 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4371 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4372 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4373 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4374 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4375 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4376 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4377 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4378 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4379 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4380 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4381 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4382 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4383 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4384 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4385 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4386 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4387 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4388 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4389 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4390 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4391 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4392 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4393 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4394 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4395 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4398 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4399 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4400 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4401 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4403 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4406 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4408 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4411 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4420 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4423 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4425 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4430 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4432 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4434 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4439 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4442 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4444 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4449 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4451 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4453 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4456 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4461 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4464 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4468 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4470 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4472 * timezone/checktab.awk: Update from tzcode 2014e.
4473 * timezone/private.h: Likewise.
4474 * timezone/tzfile.h: Likewise.
4475 * timezone/zdump.c: Likewise.
4476 * timezone/zic.c: Likewise.
4478 * sysdeps/unix/sysv/linux/kernel-features.h
4479 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4481 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4482 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4483 Remove conditional code.
4485 2014-06-25 Will Newton <will.newton@linaro.org>
4487 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4488 (_dl_arm_cap_flags): Add HWCAP2 values.
4489 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4490 (_DL_HWCAP_COUNT): Increase to 37.
4491 (_DL_HWCAP_LAST): New define.
4492 (_DL_HWCAP2_LAST): New define.
4493 (_dl_procinfo): Add support for printing
4495 (_dl_string_hwcap): Use _dl_hwcap_string.
4497 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4501 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4503 * README: Do not mention ports directory.
4505 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4507 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4508 <kernel-features.h>.
4509 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4510 conditional variable definition.
4511 (__futimes): Update comment.
4512 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4513 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4516 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4517 arguments close to 0.
4518 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4520 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4522 * math/auto-libm-test-in: Add more tests of exp10.
4523 * math/auto-libm-test-out: Regenerated.
4524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4526 * sysdeps/unix/sysv/linux/kernel-features.h
4527 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4528 * sysdeps/unix/sysv/linux/readv.c: Do not include
4529 <kernel-features.h>.
4530 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4531 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4532 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4534 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4536 * sysdeps/unix/sysv/linux/writev.c: Do not include
4537 <kernel-features.h>.
4538 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4539 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4540 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4542 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4545 2014-06-25 Will Newton <will.newton@linaro.org>
4547 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4548 comment changes throughout the file. Remove checks
4549 for HAVE_*_H definitions that are not required.
4550 (__gen_tempname): Call abort if an unknown kind value is
4553 2014-06-25 Andreas Schwab <schwab@suse.de>
4556 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4557 scalbln, scalblnf, scalblnl in libc.
4559 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4562 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4563 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4564 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4566 2014-06-24 Roland McGrath <roland@hack.frob.com>
4568 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4569 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4570 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4571 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4573 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4574 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4576 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4577 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4578 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4579 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4580 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4581 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4582 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4583 * sysdeps/x86/bits/semaphore.h: ... here.
4584 * sysdeps/x86/nptl/elide.h: Moved ...
4585 * sysdeps/x86/elide.h: ... here.
4586 * sysdeps/x86_64/nptl/Implies: File removed.
4587 * sysdeps/i386/nptl/Implies: File removed.
4589 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4592 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4593 return the argument for normal arguments with exponent below -64.
4594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4596 * math/auto-libm-test-in: Add another test of expm1.
4597 * math/auto-libm-test-out: Regenerated.
4600 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4601 calling __erfcl for arguments at least 16.
4602 * math/auto-libm-test-in: Add more tests of erf.
4603 * math/auto-libm-test-out: Regenerated.
4605 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4606 individual architectures.
4607 * sysdeps/unix/sysv/linux/configure: Regenerated.
4608 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4609 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4610 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4611 (ldd_rewrite_script): Define variable.
4612 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4617 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4618 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4619 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4620 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4621 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4622 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4623 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4624 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4626 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4629 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4630 Rename member __data.d to __data.__elision_data.
4632 2014-06-24 Wilco <wdijkstr@arm.com>
4634 * NEWS: Add 16918 to fixed bug list.
4636 2014-06-24 Wilco <wdijkstr@arm.com>
4638 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4640 2014-06-24 Wilco <wdijkstr@arm.com>
4642 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4643 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4644 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4645 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4646 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4647 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4648 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4651 2014-06-24 Wilco <wdijkstr@arm.com>
4653 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4655 2014-06-24 Wilco <wdijkstr@arm.com>
4657 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4658 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4659 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4660 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4662 2014-06-24 Wilco <wdijkstr@arm.com>
4665 * sysdeps/arm/feupdateenv.c (feupdateenv):
4666 Rewrite to reduce FPSCR accesses and fix return value.
4668 2014-06-24 Wilco <wdijkstr@arm.com>
4670 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4671 Optimize to avoid unnecessary FPSCR writes.
4672 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4673 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4674 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4675 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4677 2014-06-24 Wilco <wdijkstr@arm.com>
4679 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4680 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4681 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4682 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4683 Call libc_fetestexcept_vfp.
4684 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4685 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4686 __SOFTFP__ ifdef so that they can be built for softfp.
4688 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4690 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4691 argument type signed char.
4693 * Makerules (check-abi): Dump diff of symlist if the test
4696 2014-06-23 Roland McGrath <roland@hack.frob.com>
4698 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4701 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4702 Remove unused variable ST.
4704 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4708 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4709 small arguments before calling __expm1.
4710 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4711 small arguments before calling __expm1f.
4712 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4713 small arguments before calling __expm1l.
4714 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4716 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4717 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4718 spurious underflow for some cosh tests.
4719 * math/auto-libm-test-out: Regenerated.
4720 * sysdeps/i386/fpu/libm-test-ulps: Update.
4723 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4724 (__ieee754_y1): Set errno if return value overflows.
4725 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4726 (__ieee754_y1f): Set errno if return value overflows.
4727 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4728 (__ieee754_y1l): Set errno if return value overflows.
4729 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4730 (__ieee754_y1l): Set errno if return value overflows.
4731 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4732 * math/auto-libm-test-out: Regenerated.
4734 * math/gen-auto-libm-tests.c: Document use of
4735 ignore-zero-inf-sign.
4736 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4737 (input_flags): Add ignore-zero-inf-sign.
4738 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4739 * math/gen-libm-test.pl (generate_testfile): Handle
4740 ignore-zero-inf-sign.
4741 * math/auto-libm-test-in: Mark some cpow tests with
4742 ignore-zero-inf-sign and some with xfail-rounding.
4743 * math/auto-libm-test-out: Regenerated.
4744 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4745 * sysdeps/i386/fpu/libm-test-ulps: Update.
4746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4749 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4750 overflowing or underflowing operations take place with sign of
4752 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4753 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4754 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4755 (__ieee754_pow): Recompute overflowing and underflowing results in
4756 original rounding mode.
4757 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4758 (__powl_helper): Allow negative argument X and scale negated value
4759 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4760 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4761 overflowing or underflowing operations take place with sign of
4763 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4765 * math/auto-libm-test-in: Add more tests of pow.
4766 * math/auto-libm-test-out: Regenerated.
4767 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4768 (pow_tonearest_test_data): Remove.
4769 (pow_test_tonearest): Likewise.
4770 (pow_towardzero_test_data): Likewise.
4771 (pow_test_towardzero): Likewise.
4772 (pow_downward_test_data): Likewise.
4773 (pow_test_downward): Likewise.
4774 (pow_upward_test_data): Likewise.
4775 (pow_test_upward): Likewise.
4776 (main): Don't call removed functions.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4780 2014-06-23 Roland McGrath <roland@hack.frob.com>
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4956 2014-06-23 Will Newton <will.newton@linaro.org>
4957 Wilco <wdijkstr@arm.com>
4959 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4960 implementation. Include get-rounding-mode.h.
4961 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4962 [!libc_feholdsetround_noex_ctx]: Define
4963 libc_feholdsetround_noex_ctx.
4964 [!libc_feholdsetround_noexf_ctx]: Define
4965 libc_feholdsetround_noexf_ctx.
4966 [!libc_feholdsetround_noexl_ctx]: Define
4967 libc_feholdsetround_noexl_ctx.
4968 (libc_feholdsetround_ctx): New function.
4969 (libc_feresetround_ctx): New function.
4970 (libc_feholdsetround_noex_ctx): New function.
4971 (libc_feresetround_noex_ctx): New function.
4973 2014-06-23 Roland McGrath <roland@hack.frob.com>
4975 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4976 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4977 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4978 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4979 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4980 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4982 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4983 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4984 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4985 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4986 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4987 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4988 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4989 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4990 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4991 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4992 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4994 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4996 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4997 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4998 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4999 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5000 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5002 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5003 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5004 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5011 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5014 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5015 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5016 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5017 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5019 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5021 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5022 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5023 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5024 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5025 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5026 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5027 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5028 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5030 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5032 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5033 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5034 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5035 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5036 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5037 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5038 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5039 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5041 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5042 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5043 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5044 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5046 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5047 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5048 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5049 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5050 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5051 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5053 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5055 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5056 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5057 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5059 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5060 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5061 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5062 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5063 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5064 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5065 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5066 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5067 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5068 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5069 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5070 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5071 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5072 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5073 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5074 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5075 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5076 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5077 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5078 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5079 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5080 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5081 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5082 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5083 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5084 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5085 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5086 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5088 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5091 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5092 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5093 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5094 (IPV6_PMTUDISC_INTERFACE): Likewise.
5095 (IPV6_PMTUDISC_OMIT): Likewise.
5097 2014-06-23 Andreas Schwab <schwab@suse.de>
5099 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5100 Remove unused errout label.
5102 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5104 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5105 macro: hardware supports Vector Crypto instructions.
5107 2014-06-23 Will Newton <will.newton@linaro.org>
5109 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5110 rather than __builtin_expect.
5112 * elf/dl-lookup.c (undefined_msg): Remove variable.
5113 (_dl_lookup_symbol_x): Replace undefined_msg with string
5116 * elf/dl-lookup.c (do_lookup_unique): New function.
5117 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5118 to a separate function.
5120 2014-06-23 Andreas Schwab <schwab@suse.de>
5123 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5124 before reading the next line.
5126 2014-06-23 Will Newton <will.newton@linaro.org>
5128 * test-skeleton.c (signal_handler): Use printf and %m
5129 rather than perror. Use printf rather than fprintf to
5130 stderr. Use puts rather than fputs to stderr.
5133 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5135 * nscd/nscd.c (thread_info_t): Remove typedef.
5136 (thread_info): Remove variable.
5138 2014-06-21 Allan McRae <allan@archlinux.org>
5140 * NEWS: Mention CVE-2014-4043.
5142 2014-06-20 Roland McGrath <roland@hack.frob.com>
5144 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5145 * nptl/smp.h: ... here.
5147 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5149 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5150 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5151 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5152 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5154 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5155 * nptl/stack-aliasing.h: New file.
5156 * sysdeps/i386/i686/stack-aliasing.h: New file.
5157 * sysdeps/i386/i686/nptl/Makefile: File removed.
5158 * sysdeps/x86_64/stack-aliasing.h: New file.
5159 * sysdeps/x86_64/nptl/Makefile
5160 (CFLAGS-pthread_create.c): Variable removed.
5162 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5163 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5165 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5166 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5169 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5171 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5172 (__ASSUME_SIGFRAME_V2): Remove macro.
5173 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5174 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5175 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5176 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5177 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5178 Declare as function. Remove conditional macro definitions.
5179 (__default_rt_sa_restorer): Likewise.
5180 (__default_sa_restorer_v1): Remove declaration.
5181 (__default_sa_restorer_v2): Likewise.
5182 (__default_rt_sa_restorer_v1): Likewise.
5183 (__default_rt_sa_restorer_v2): Likewise.
5184 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5185 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5186 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5188 2014-06-20 Roland McGrath <roland@hack.frob.com>
5190 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5191 (libpthread-routines): Add sysdep.
5192 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5193 * sysdeps/unix/sysv/linux/sparc/Versions
5194 (libpthread: GLIBC_2.3.3): New version set.
5195 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5196 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5197 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5199 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5200 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5202 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5204 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5205 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5206 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5207 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5208 * sysdeps/sparc/nptl/sem_init.c: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5210 * sysdeps/sparc/nptl/sem_post.c: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5212 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5213 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5214 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5215 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5216 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5217 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5218 (libpthread-routines): Add cpu_relax.
5219 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5221 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5222 (librt: GLIBC_2.3.3): New version set.
5223 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5224 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5225 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5226 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5227 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5228 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5229 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5230 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5232 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5234 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5236 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5238 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5240 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5241 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5243 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5247 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5251 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5255 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5259 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5263 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5266 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5271 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5275 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5279 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5280 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5281 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5283 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5285 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5286 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5287 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5288 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5289 * nscd/nscd.c: Likewise.
5290 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5291 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5292 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5293 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5295 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5296 <kernel-features.h>.
5297 (init_mq_netlink): Remove conditional have_sock_cloexec
5298 definitions. Remove code conditional on have_sock_cloexec < 0.
5299 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5300 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5301 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5302 <kernel-features.h>.
5303 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5304 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5306 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5309 Add tests for memset_chk and memset.
5311 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5314 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5317 * elf/tst-dl-iter-static.c: New file.
5318 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5320 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5323 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5325 * sysdeps/unix/sysv/linux/kernel-features.h
5326 (__ASSUME_F_GETOWN_EX): Remove macro.
5327 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5328 <kernel-features.h>.
5329 (miss_F_GETOWN_EX): Remove variable or macro.
5330 (do_fcntl): Do not check miss_F_GETOWN_EX.
5331 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5336 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5337 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5339 * sysdeps/unix/sysv/linux/kernel-features.h
5340 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5341 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5342 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5343 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5345 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5348 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5349 Fix calculation of the symbol's value.
5350 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5351 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5352 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5353 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5354 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5355 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5356 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5357 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5358 (modules-names): Add `tst-armtlsdescmod',
5359 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5360 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5361 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5362 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5363 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5364 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5365 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5366 ($(objpfx)tst-armtlsdescloc): New dependency.
5367 ($(objpfx)tst-armtlsdescextnow): Likewise.
5368 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5369 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5371 * sysdeps/arm/configure: Regenerate.
5373 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5375 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5376 (__atfct_seterrno_2): Likewise.
5377 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5378 <kernel-features.h>.
5379 (__ASSUME_ATFCTS): Do not undefine and redefine.
5380 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5381 (__have_atfcts): Remove conditional definition.
5382 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5383 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5384 unreachable if [__ASSUME_ATFCTS].
5385 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5386 not undefine and redefine.
5387 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5388 <kernel-features.h>.
5389 (faccessat) [__NR_faccessat]: Make code unconditional.
5390 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5391 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5392 <kernel-features.h>.
5393 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5394 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5395 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5396 <kernel-features.h>.
5397 (fchownat) [__NR_fchownat]: Make code unconditional.
5398 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5399 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5400 <kernel-features.h>.
5401 (futimesat) [__NR_futimesat]: Make code unconditional.
5402 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5403 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5404 <kernel-features.h>.
5405 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5406 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5407 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5408 <kernel-features.h>.
5409 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5410 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5411 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5412 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5413 <kernel-features.h>.
5414 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5415 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5416 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5417 <kernel-features.h>.
5418 (linkat) [__NR_linkat]: Make code unconditional.
5419 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5420 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5421 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5422 <kernel-features.h>.
5423 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5424 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5425 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5426 <kernel-features.h>.
5427 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5428 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/openat.c: Do not include
5430 <kernel-features.h>.
5431 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5432 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5433 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5434 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5435 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5436 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5437 <kernel-features.h>.
5438 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5439 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5440 result of INLINE_SYSCALL directly, not via int variable.
5441 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5442 <kernel-features.h>.
5443 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5444 (renameat) [__NR_renameat]: Make code unconditional.
5445 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5446 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5447 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5448 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5449 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5450 (__ASSUME_ATFCTS): Do not undefine and redefine.
5451 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5452 <kernel-features.h>.
5453 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5454 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5455 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5456 <kernel-features.h>.
5457 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5458 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5459 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5460 (__ASSUME_ATFCTS): Do not undefine and redefine.
5461 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5462 <kernel-features.h>.
5463 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5464 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5465 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5466 <kernel-features.h>.
5467 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5468 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5470 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5472 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5474 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5477 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5478 constructed tree before returning error.
5479 * posix/bug-regexp36.c: Expand test case.
5481 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5484 * math/libm-test.inc (scalbln_test_date):
5485 Add errno expectations.
5486 * math/w_scalblnf.c: New File.
5487 Add wrapper which checks for setting errno to ERANGE.
5488 Add weak_alias for corresponding scalbln function.
5489 * math/w_scalbln.c: Likewise.
5490 * math/w_scalblnl.c: Likewise.
5491 * math/Makefile (libm-calls): Add w_scalbln.
5492 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5493 Remove weak_alias for corresponding scalbln function.
5494 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5496 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5497 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5498 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5499 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5500 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5501 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5502 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5503 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5504 Remove long_double_symbol for scalblnl function in libm, libc.
5505 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5506 Add wrapper which checks for setting errno to ERANGE.
5507 Add long_double_symbol for scalblnl function in libm, libc.
5508 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5509 Remove long_double_symbol for scalblnl in libm.
5510 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5511 Add wrapper which checks for setting errno to ERANGE.
5512 Add long_double_symbol for scalblnl function in libm.
5513 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5514 Do not use wrapper because of own implementation.
5516 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5518 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5519 3 bytes for __pad1 for x32.
5520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5522 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5523 H.J. Lu <hongjiu.lu@intel.com>
5525 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5526 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5527 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5528 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5529 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5531 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5534 * posix/regcomp.c (parse_expression): Deallocate partially
5535 constructed tree before returning error.
5536 * posix/Makefile.c (tests): Add bug-regex36.
5537 (generated): Add bug-regex36.mtrace.
5538 (tests-special): Add $(objpfx)bug-regex36-mem.out
5539 (bug-regex36-ENV): New variable.
5540 ($(objpfx)bug-regex36-mem.out): New rule.
5541 * posix/bug-regex36.c: New file.
5543 2014-06-19 Will Newton <will.newton@linaro.org>
5545 * malloc/malloc.c (systrim): If extra is zero then return
5548 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5550 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5552 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5554 * sysdeps/aarch64/strchr.S: New file.
5556 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5559 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5560 from arguments -2 or below.
5561 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5562 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5564 2014-06-18 Andreas Schwab <schwab@suse.de>
5567 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5568 of a bracket expr not to run off the end of the string.
5569 * posix/Makefile (tests): Add tst-fnmatch3.
5570 * posix/tst-fnmatch3.c: New file.
5572 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5574 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5575 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5576 [$(cross-compiling) = no]: Likewise.
5577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5578 [$(cross-compiling) = no]: Likewise.
5580 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5583 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5584 double, adjusted for any remainder from the high double.
5585 * math/libm-test.inc (nearbyint): Add tests.
5588 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5590 * nptl/sysdeps/powerpc/Makefile: Moved ...
5591 * sysdeps/powerpc/nptl/Makefile: ... here.
5592 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5593 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5594 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5595 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5596 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5597 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5598 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5599 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5600 * nptl/sysdeps/powerpc/tls.h: Moved ...
5601 * sysdeps/powerpc/nptl/tls.h: ... here.
5603 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5606 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5607 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5608 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5609 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5610 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5611 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5612 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5613 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5614 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5616 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5618 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5620 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5622 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5625 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5628 2014-06-16 Florian Weimer <fweimer@redhat.com>
5631 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5632 non-executed part of the test.
5634 2014-06-16 Andreas Schwab <schwab@suse.de>
5636 * string/bits/string2.h (strdup, strndup): Update feature guard.
5638 2014-06-14 David S. Miller <davem@davemloft.net>
5640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5642 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5644 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5645 that was previously under [RESET_PID].
5646 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5648 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5649 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5650 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5651 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5652 (__libc_vfork): New strong alias.
5653 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5655 2014-06-14 Andi Kleen <ak@linux.intel.com>
5657 * sysdeps/generic/elide.h: New file.
5659 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5661 * Makefile (installed-headers): Adjust path of pthread.h header.
5663 2014-06-13 Roland McGrath <roland@hack.frob.com>
5665 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5666 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5668 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5670 * nptl/sysdeps/s390/Makefile: Moved ...
5671 * sysdeps/s390/nptl/Makefile: ... here.
5672 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5673 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5674 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5675 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5676 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5677 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5678 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5679 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5680 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5681 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5682 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5683 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5684 * nptl/sysdeps/s390/tls.h: Moved ...
5685 * sysdeps/s390/nptl/tls.h: ... here.
5687 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5688 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5690 2014-06-13 David S. Miller <davem@davemloft.net>
5692 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5693 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5694 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5695 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5696 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5697 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5698 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5699 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5700 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5701 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5702 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5703 Remove RESET_PID cpp guards.
5704 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5705 Remove RESET_PID cpp guards.
5706 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5708 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5710 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5713 2014-06-13 Andi Kleen <ak@linux.intel.com>
5715 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5716 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5717 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5718 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5719 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5720 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5721 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5722 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5723 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5724 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5725 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5726 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5727 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5728 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5729 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5730 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5731 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5732 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5733 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5734 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5736 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5737 (pthread_rwlock_rdlock): Add elision.
5738 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5739 (pthread_rwlock_wrlock): Add elision.
5740 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5741 (pthread_rwlock_trywrlock): Add elision.
5742 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5743 (pthread_rwlock_tryrdlock): Add elision.
5744 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5745 (pthread_rwlock_tryrdlock): Add elision unlock.
5746 * nptl/sysdeps/pthread/pthread.h:
5747 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5748 (PTHREAD_RWLOCK_INITIALIZER,
5749 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5750 Handle new elision field.
5751 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5752 * sysdeps/arm/nptl/bits/pthreadtypes.h
5753 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5754 * sysdeps/sh/nptl/bits/pthreadtypes.h
5755 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5756 * sysdeps/tile/nptl/bits/pthreadtypes.h
5757 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5758 * sysdeps/a/nptl/bits/pthreadtypes.h
5759 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5760 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5761 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5762 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5763 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5764 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5765 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5766 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5767 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5768 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5769 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5770 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5771 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5772 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5773 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5774 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5776 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5777 (elision_init): Set try_xbegin to zero when no RTM.
5778 * sysdeps/x86/nptl/bits/pthreadtypes.h
5779 (pthread_rwlock_t): Change __pad1 to __rwelision.
5780 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5782 2014-06-13 Andi Kleen <ak@linux.intel.com>
5784 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5785 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5786 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5787 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5789 2014-06-13 Meador Inge <meadori@codesourcery.com>
5792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5793 that the cached result has been set before returning it.
5795 2014-06-12 Roland McGrath <roland@hack.frob.com>
5797 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5798 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5799 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5800 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5801 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5802 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5804 * nptl/sysdeps/sparc/Makefile: Moved ...
5805 * sysdeps/sparc/nptl/Makefile: ... here.
5806 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5807 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5808 * nptl/sysdeps/sparc/tls.h: Moved ...
5809 * sysdeps/sparc/nptl/tls.h: ... here.
5810 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5811 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5812 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5813 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5814 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5815 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5816 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5817 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5818 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5819 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5820 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5821 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5822 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5823 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5824 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5825 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5826 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5827 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5829 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5830 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5832 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5833 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5835 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5836 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5839 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5841 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5842 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5844 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5845 (struct list_links): Type removed.
5846 (struct thread_node, struct timer_node): Replace struct list_links
5847 with struct list_head.
5848 (list_unlink_ip): Likewise.
5849 * sysdeps/pthread/timer_routines.c
5850 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5851 (list_append, list_insbefore): Likewise.
5852 (list_init): Function removed.
5853 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5854 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5855 * sysdeps/pthread/Makefile: ... here, new file.
5857 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5858 * sysdeps/nptl/Implies: ... here.
5859 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5860 * nptl/sysdeps/pthread/list.h: Moved ...
5861 * include/list.h: ... here.
5862 * nptl/sysdeps/pthread/createthread.c: Moved ...
5863 * nptl/createthread.c: ... here.
5864 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5865 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5866 * nptl/pt-longjmp.c: ... here.
5867 * nptl/sysdeps/pthread/Makefile: Moved ...
5868 * sysdeps/nptl/Makefile: ... here.
5869 * nptl/sysdeps/pthread/Subdirs: Moved ...
5870 * sysdeps/nptl/Subdirs: ... here.
5871 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5872 * sysdeps/nptl/aio_misc.h: ... here.
5873 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5874 * sysdeps/nptl/bits/libc-lock.h: ... here.
5875 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5876 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5877 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5878 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5879 * nptl/sysdeps/pthread/configure: Moved ...
5880 * sysdeps/nptl/configure: ... here.
5881 * nptl/sysdeps/pthread/configure.ac: Moved ...
5882 * sysdeps/nptl/configure.ac: ... here.
5883 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5884 * sysdeps/nptl/gai_misc.h: ... here.
5885 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5886 * sysdeps/nptl/librt-cancellation.c: ... here.
5887 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5888 * sysdeps/nptl/malloc-machine.h: ... here.
5889 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5890 * sysdeps/nptl/pthread-functions.h: ... here.
5891 * nptl/sysdeps/pthread/pthread.h: Moved ...
5892 * sysdeps/nptl/pthread.h: ... here.
5893 * nptl/sysdeps/pthread/setxid.h: Moved ...
5894 * sysdeps/nptl/setxid.h: ... here.
5895 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5896 * sysdeps/nptl/sigfillset.c: ... here.
5897 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5898 * sysdeps/nptl/tcb-offsets.h: ... here.
5899 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5900 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5901 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5902 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5903 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5904 * sysdeps/pthread/allocalim.h: ... here.
5905 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5906 * sysdeps/pthread/bits/sigthread.h: ... here.
5907 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5908 * sysdeps/pthread/flockfile.c: ... here.
5909 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5910 * sysdeps/pthread/ftrylockfile.c: ... here.
5911 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5912 * sysdeps/pthread/funlockfile.c: ... here.
5913 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5914 * sysdeps/pthread/posix-timer.h: ... here.
5915 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5916 * sysdeps/pthread/timer_create.c: ... here.
5917 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5918 * sysdeps/pthread/timer_delete.c: ... here.
5919 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5920 * sysdeps/pthread/timer_getoverr.c: ... here.
5921 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5922 * sysdeps/pthread/timer_gettime.c: ... here.
5923 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5924 * sysdeps/pthread/timer_routines.c: ... here.
5925 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5926 * sysdeps/pthread/timer_settime.c: ... here.
5927 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5928 * sysdeps/pthread/tst-timer.c: ... here.
5929 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5930 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5932 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5933 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5935 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5936 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5937 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5938 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5939 Update #include target.
5940 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5941 * sysdeps/i386/i686/nptl/Makefile: ... here.
5942 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5943 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5944 Update #include target.
5945 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5946 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5947 * nptl/sysdeps/i386/Makefile: Moved ...
5948 * sysdeps/i386/nptl/Makefile: ... here.
5949 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5950 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5951 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5952 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5953 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5954 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5955 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5956 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5957 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5958 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5959 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5960 * nptl/sysdeps/i386/tls.h: Moved ...
5961 * sysdeps/i386/nptl/tls.h: ... here.
5963 * sysdeps/sh/Makefile [$(subdir) = csu]
5964 (gen-as-const-headers): Add tcb-offsets.sym.
5965 * nptl/sysdeps/sh/Makefile: File removed.
5966 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5967 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5968 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5969 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5970 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5971 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5972 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5973 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5974 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5975 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5976 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5977 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5978 * nptl/sysdeps/sh/tls.h: Moved ...
5979 * sysdeps/sh/nptl/tls.h: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5981 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5983 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5985 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5987 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5989 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5991 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5993 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5995 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5997 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5999 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6000 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6001 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6003 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6004 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6006 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6007 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6009 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6011 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6013 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6015 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6017 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6018 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6019 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6020 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6021 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6022 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6023 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6024 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6025 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6026 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6027 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6029 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6031 * posix/spawn_faction_addopen.c: Include string.h.
6033 2014-06-11 Roland McGrath <roland@hack.frob.com>
6035 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6036 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6037 * nptl/sysdeps/x86_64/Makefile: Moved ...
6038 * sysdeps/x86_64/nptl/Makefile: ... here.
6039 * nptl/sysdeps/x86_64/configure: Moved ...
6040 * sysdeps/x86_64/nptl/configure: ... here.
6041 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6042 * sysdeps/x86_64/nptl/configure.ac: ... here.
6043 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6044 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6045 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6046 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6047 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6048 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6049 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6050 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6051 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6052 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6053 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6054 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6055 * nptl/sysdeps/x86_64/tls.h: Moved ...
6056 * sysdeps/x86_64/nptl/tls.h: ... here.
6057 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6058 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6059 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6060 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6062 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6064 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6068 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6070 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6072 [POSIX] (off_t): Likewise.
6073 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6074 [POSIX] (S_ISBLK): Require macro.
6075 [POSIX] (S_ISCHR): Likewise.
6076 [POSIX] (S_ISDIR): Likewise.
6077 [POSIX] (S_ISFIFO): Likewise.
6078 [POSIX] (S_ISREG): Likewise.
6079 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6081 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6083 [POSIX] (time_t): Likewise.
6084 [POSIX] (timer_t): Likewise.
6086 2014-06-11 Florian Weimer <fweimer@redhat.com>
6089 * posix/spawn_int.h (struct __spawn_action): Make the path string
6090 non-const to support deallocation.
6091 * posix/spawn_faction_addopen.c
6092 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6093 * posix/spawn_faction_destroy.c
6094 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6095 path in all spawn_do_open actions.
6096 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6097 posix_spawn_file_actions_addopen.
6099 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6101 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6102 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6103 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6104 conditional code always true.
6105 (__libc_vfork): New alias.
6107 2014-06-11 Roland McGrath <roland@hack.frob.com>
6109 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6110 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6112 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6114 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6115 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6117 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6118 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6120 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6121 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6123 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6125 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6126 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6127 multiarch strcmp for PPC64.
6128 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6129 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6130 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6131 multiarch optimizations.
6132 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6133 (__libc_ifunc_impl_list): Likewise.
6135 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6137 * benchtests/scripts/validate_benchout.py: New script.
6138 * benchtests/Makefile (bench-func): Call it.
6139 * benchtests/scripts/benchout.schema.json: New file.
6141 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6143 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6144 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6145 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6146 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6147 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6148 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6149 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6150 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6151 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6152 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6153 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6154 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6155 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6156 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6157 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6158 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6168 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6183 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6190 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6192 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6249 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6258 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6260 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6262 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6263 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6264 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6265 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6266 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6268 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6270 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6271 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6272 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6273 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6274 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6275 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6276 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6277 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6278 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6279 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6280 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6281 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6282 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6284 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6285 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6287 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6288 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6289 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6292 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6293 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6294 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6295 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6296 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6297 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6298 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6300 2014-06-10 Wilco <wdijkstr@arm.com>
6302 * math/test-fenv-return.c: New file.
6303 * math/Makefile: Add new test test-fenv-return.
6305 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6308 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6310 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6311 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6312 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6313 0.0L for an argument of 1.0L.
6314 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6316 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6317 value when x - 1 is zero.
6318 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6319 * sysdeps/i386/fpu/libm-test-ulps: Update.
6320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6322 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6325 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6327 2014-06-09 Roland McGrath <roland@hack.frob.com>
6329 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6330 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6332 2014-06-09 Roland McGrath <roland@hack.frob.com>
6334 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6335 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6337 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6338 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6340 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6341 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6343 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6344 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6346 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6347 if not already defined.
6348 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6349 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6350 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6351 (TLS_INIT_TP): Use it.
6352 (TLS_DEFINE_INIT_TP): New macro.
6353 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6355 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6357 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6359 [POSIX] (IXANY): Likewise.
6360 [POSIX] (OLCUC): Likewise.
6361 [POSIX || POSIX2008] (CBAUD): Do not allow.
6362 [POSIX || POSIX2008] (DEFECHO): Likewise.
6363 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6364 [POSIX || POSIX2008] (ECHOKE): Likewise.
6365 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6366 [POSIX || POSIX2008] (EXTA): Likewise.
6367 [POSIX || POSIX2008] (EXTB): Likewise.
6368 [POSIX || POSIX2008] (FLUSHO): Likewise.
6369 [POSIX || POSIX2008] (LOBLK): Likewise.
6370 [POSIX || POSIX2008] (PENDIN): Likewise.
6371 [POSIX || POSIX2008] (SWTCH): Likewise.
6372 [POSIX || POSIX2008] (VDISCARD): Likewise.
6373 [POSIX || POSIX2008] (VDSUSP): Likewise.
6374 [POSIX || POSIX2008] (VLNEXT): Likewise.
6375 [POSIX || POSIX2008] (VREPRINT): Likewise.
6376 [POSIX || POSIX2008] (VSTATUS): Likewise.
6377 [POSIX || POSIX2008] (VWERASE): Likewise.
6378 (B*): Change to B[0123456789]*.
6379 * conform/data/time.h-data [POSIX || UNIX98]
6380 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6381 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6382 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6383 [POSIX] (tm_*): Do not allow.
6385 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6387 * Makefile (install): Don't set LANGUAGE.
6388 * Makefile.in (install): Likewise.
6389 * assert/Makefile (test-assert-ENV): Remove variable.
6390 (test-assert-perr-ENV): Likewise.
6391 * elf/Makefile (neededtest4-ENV): Likewise.
6392 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6393 [$(cross-compiling) = no]: Don't set LANGUAGE.
6394 * io/ftwtest-sh (LANG): Remove variable.
6395 * libio/Makefile (tst-widetext-ENV): Likewise.
6396 * manual/install.texi (Running make install): Don't refer to
6397 environment settings for make install.
6398 * INSTALL: Regenerated.
6399 * nptl/tst-tls6.sh: Don't set LANG.
6400 * posix/globtest.sh (LANG): Remove variable.
6401 * string/Makefile (tester-ENV): Likewise.
6402 (inl-tester-ENV): Likewise.
6403 (noinl-tester-ENV): Likewise.
6404 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6405 [$(cross-compiling) = no]: Don't set LANGUAGE.
6406 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6407 without explicit environment settings.
6409 2014-06-06 Roland McGrath <roland@hack.frob.com>
6411 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6412 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6413 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6414 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6416 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6418 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6419 other files in the crypt directory.
6420 * crypt/crypt.c: Remove duplicate includes.
6421 * crypt/crypt-entry.c: Likewise.
6422 * crypt/crypt_util.c: Likewise.
6424 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6426 * Makeconfig (run-program-env): New variable.
6427 (run-program-prefix-before-env): Likewise.
6428 (run-program-prefix-after-env): Likewise.
6429 (run-program-prefix): Define in terms of new variables.
6430 (built-program-cmd-before-env): New variable.
6431 (built-program-cmd-after-env): Likewise.
6432 (built-program-cmd): Define in terms of new variables.
6433 (test-program-prefix-before-env): New variable.
6434 (test-program-prefix-after-env): Likewise.
6435 (test-program-prefix): Define in terms of new variables.
6436 (test-program-cmd-before-env): New variable.
6437 (test-program-cmd-after-env): Likewise.
6438 (test-program-cmd): Define in terms of new variables.
6439 * Rules (make-test-out): Use $(run-program-env).
6440 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6441 (help): Do not mention environment variables. Mention
6442 --timeoutfactor option.
6443 (timeoutfactor): New variable.
6444 (blacklist_exports): Remove function.
6445 (exports): Remove variable.
6446 (command): Do not include ${exports}.
6447 * manual/install.texi (Configuring and compiling): Do not mention
6448 test wrappers preserving environment variables. Mention that last
6449 assignment to a variable must take precedence.
6450 * INSTALL: Regenerated.
6451 * benchtests/Makefile (run-bench): Use $(run-program-env).
6452 * catgets/Makefile ($(objpfx)test1.cat): Use
6453 $(built-program-cmd-before-env), $(run-program-env) and
6454 $(built-program-cmd-after-env).
6455 ($(objpfx)test2.cat): Do not specify environment variables
6457 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6458 $(run-program-env) and $(built-program-cmd-after-env).
6459 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6460 $(run-program-env) and $(test-program-cmd-after-env).
6461 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6463 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6464 run_program_env and test_program_cmd_after_env arguments.
6465 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6466 * elf/tst-pathopt.sh: Use run_program_env argument.
6467 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6468 $(test-wrapper-env) and $(run-program-env).
6469 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6470 run_program_env arguments.
6471 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6472 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6473 $(test-program-prefix-before-env), $(run-program-env) and
6474 $(test-program-prefix-after-env).
6475 ($(objpfx)tst-gettext2.out): Likewise.
6476 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6477 run_program_env and test_program_prefix_after_env arguments.
6478 * intl/tst-gettext2.sh: Likewise.
6479 * intl/tst-gettext4.sh: Do not set environment variables
6481 * intl/tst-gettext6.sh: Likewise.
6482 * intl/tst-translit.sh: Likewise.
6483 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6484 $(test-program-prefix-before-env), $(run-program-env) and
6485 $(test-program-prefix-after-env).
6486 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6487 run_program_env and test_program_prefix_after_env arguments.
6488 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6489 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6490 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6491 explicitly with each use of ${test_wrapper_env}.
6492 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6493 $(test-program-prefix-before-env), $(run-program-env) and
6494 $(test-program-prefix-after-env).
6495 * posix/tst-getconf.sh: Do not set environment variables
6497 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6498 run_program_env and test_program_prefix_after_env arguments.
6499 * stdio-common/tst-printf.sh: Do not set environment variables
6501 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6502 $(test-program-prefix-before-env), $(run-program-env) and
6503 $(test-program-prefix-after-env).
6504 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6505 run_program_env and test_program_prefix_after_env arguments.
6506 Split $test calls into $test_pre and $test.
6507 * timezone/Makefile (build-testdata): Use
6508 $(built-program-cmd-before-env), $(run-program-env) and
6509 $(built-program-cmd-after-env).
6511 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6513 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6514 strlen for non SHARED builds.
6516 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * nptl/allocatestack.c (check_list): Inlined function...
6519 (__reclaim_stacks): ... here.
6521 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6524 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6527 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6529 * Rules (make-test-out): Include
6530 LOCPATH=$(common-objpfx)localedata in default environment.
6531 * debug/Makefile (tst-chk1-ENV): Remove variable.
6532 (tst-chk2-ENV): Likewise.
6533 (tst-chk3-ENV): Likewise.
6534 (tst-chk4-ENV): Likewise.
6535 (tst-chk5-ENV): Likewise.
6536 (tst-chk6-ENV): Likewise.
6537 (tst-lfschk1-ENV): Likewise.
6538 (tst-lfschk2-ENV): Likewise.
6539 (tst-lfschk3-ENV): Likewise.
6540 (tst-lfschk4-ENV): Likewise.
6541 (tst-lfschk5-ENV): Likewise.
6542 (tst-lfschk6-ENV): Likewise.
6543 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6544 (tst-iconv7-ENV): Likewise.
6545 * intl/Makefile (LOCPATH-ENV): Likewise.
6546 (tst-codeset-ENV): Likewise.
6547 (tst-gettext3-ENV): Likewise.
6548 (tst-gettext5-ENV): Likewise.
6549 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6550 (tst-fopenloc-ENV): Likewise.
6551 (tst-fgetws-ENV): Remove variable.
6552 (tst-ungetwc1-ENV): Likewise.
6553 (tst-ungetwc2-ENV): Likewise.
6554 (bug-ungetwc2-ENV): Likewise.
6555 (tst-swscanf-ENV): Likewise.
6556 (bug-ftell-ENV): Likewise.
6557 (tst-fgetwc-ENV): Likewise.
6558 (tst-fseek-ENV): Likewise.
6559 (tst-ftell-partial-wide-ENV): Likewise.
6560 (tst-ftell-active-handler-ENV): Likewise.
6561 (tst-ftell-append-ENV): Likewise.
6562 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6563 (tst-regexloc-ENV): Likewise.
6564 (bug-regex1-ENV): Likewise.
6565 (tst-regex-ENV): Likewise.
6566 (tst-regex2-ENV): Likewise.
6567 (bug-regex5-ENV): Likewise.
6568 (bug-regex6-ENV): Likewise.
6569 (bug-regex17-ENV): Likewise.
6570 (bug-regex18-ENV): Likewise.
6571 (bug-regex19-ENV): Likewise.
6572 (bug-regex20-ENV): Likewise.
6573 (bug-regex22-ENV): Likewise.
6574 (bug-regex23-ENV): Likewise.
6575 (bug-regex25-ENV): Likewise.
6576 (bug-regex26-ENV): Likewise.
6577 (bug-regex30-ENV): Likewise.
6578 (bug-regex32-ENV): Likewise.
6579 (bug-regex33-ENV): Likewise.
6580 (bug-regex34-ENV): Likewise.
6581 (bug-regex35-ENV): Likewise.
6582 (tst-rxspencer-ENV): Likewise.
6583 (tst-rxspencer-no-utf8-ENV): Likewise.
6584 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6585 (tst-sscanf-ENV): Likewise.
6586 (tst-swprintf-ENV): Likewise.
6587 (tst-swscanf-ENV): Likewise.
6588 (test-vfprintf-ENV): Likewise.
6589 (scanf13-ENV): Likewise.
6590 (bug14-ENV): Likewise.
6591 (tst-grouping-ENV): Likewise.
6592 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6593 (tst-strtod3-ENV): Likewise.
6594 (tst-strtod4-ENV): Likewise.
6595 (tst-strtod5-ENV): Likewise.
6596 (testmb2-ENV): Likewise./
6597 * string/Makefile (tst-strxfrm-ENV): Likewise.
6598 (tst-strxfrm2-ENV): Likewise.
6599 (bug-strcoll1-ENV): Likewise.
6600 (test-strcasecmp-ENV): Likewise.
6601 (test-strncasecmp-ENV): Likewise.
6602 * time/Makefile (tst-strptime-ENV): Likewise.
6603 (tst-ftime_l-ENV): Likewise.
6604 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6605 (tst-mbrtowc-ENV): Likewise.
6606 (tst-wcrtomb-ENV): Likewise.
6607 (tst-mbrtowc2-ENV): Likewise.
6608 (tst-c16c32-1-ENV): Likewise.
6609 (tst-mbsnrtowcs-ENV): Likewise.
6611 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6613 * manual/resource.texi (How to get information about the memory
6614 subsystem?): Fix typo.
6615 Reported by Peon de la Parra Ivan <peon@keba.com>
6617 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6620 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6621 (pthread_spin_lock): Branch out of spin loop to proper location.
6622 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6623 (pthread_spin_lock): Likewise.
6625 * nptl/tst-spin4.c: New test.
6626 * nptl/Makefile (tests): Add tst-spin4.
6628 2014-06-03 Andreas Schwab <schwab@suse.de>
6631 * resolv/res_send.c (send_dg): Reload file descriptor after
6634 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6636 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6638 2014-06-03 Richard Henderson <rth@redhat.com>
6640 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6641 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6642 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6643 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6644 in the SAVE_PID block.
6645 (__libc_vfork): New alias.
6646 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6648 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6649 child in registers, not on the stack. Remove RESET_PID conditionals.
6650 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6652 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6654 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6656 2014-06-03 Wilco <wdijkstr@arm.com>
6658 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6659 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6660 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6661 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6662 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6665 2014-06-03 Wilco <wdijkstr@arm.com>
6667 * sysdeps/aarch64/fpu/math_private.h
6668 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6669 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6670 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6671 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6674 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6676 * crypt/crypt-private.h: Include ufc-crypt.h.
6677 (__b64_from_24bit): Declare extern.
6678 * crypt/crypt_util.c(__b64_from_24bit): New function.
6679 (b64t): New static const variable.
6680 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6681 (b64t): Remove variable.
6682 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6683 * crypt/sha256-crypt.c: Include crypt-private.h.
6684 (b64t): Remove variable.
6685 (__sha256_crypt_r): Remove b64_from_24bit and replace
6686 with __b64_from_24bit.
6687 * crypt/sha512-crypt.c: Likewise.
6689 2014-06-02 Roland McGrath <roland@hack.frob.com>
6691 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6692 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6693 Label the code __libc_vfork rather than __vfork.
6694 [!NOT_IN_libc] (vfork): Define as weak alias.
6695 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6696 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6697 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6699 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6701 * malloc/malloc.c (malloc_info): Fix format specifier for
6704 2014-06-02 Wilco <wdijkstr@arm.com>
6706 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6709 2014-06-02 Wilco <wdijkstr@arm.com>
6712 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6713 Rewrite to reduce FPCR/FPSR accesses.
6715 2014-06-01 David S. Miller <davem@davemloft.net>
6717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6719 2014-05-31 David S. Miller <davem@davemloft.net>
6721 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6722 to occur in round to nearest mode when |x| >= 2.0
6724 2014-05-30 Richard Henderson <rth@twiddle.net>
6726 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6727 (PSEUDO_RET_NOERRNO): Remove.
6728 (ret): Don't redefine.
6729 (ret_NOERRNO): Define in terms of ret.
6730 (ret_ERRVAL): Likewise.
6732 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6733 use of PSEUDO_RET; perform the error check directly.
6735 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6737 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6740 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6742 * malloc/malloc (malloc_info): Fix formatting.
6744 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6745 Roland McGrath <roland@hack.frob.com>
6747 * malloc/malloc (malloc_info): Also print mmapped statistics.
6749 2014-05-30 Roland McGrath <roland@hack.frob.com>
6751 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6752 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6754 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6756 * malloc/malloc.c (malloc_info): Inline mi_arena.
6758 2014-05-29 Richard Henderson <rth@twiddle.net>
6760 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6761 Remove comma before expanding ASM_ARGS_##nr.
6762 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6763 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6765 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6766 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6767 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6768 (ASM_ARGS_1): Add leading comma.
6770 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6771 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6772 to __errno_location.
6773 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6774 Remove the expected plt for __errno_location.
6776 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6777 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6780 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6781 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6782 it and break it down.
6783 (DOCARGS_0, DOCARGS_1): Do nothing.
6784 (DOCARGS_2): Update to store into the new stack frame.
6785 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6786 (UNDOCARGS_1): Update to restore from the new stack frame.
6787 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6788 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6790 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6791 (SINGLE_THREAD_P): New parameter for result regno.
6792 (PSEUDO): Update to match; use cbz instead of beq.
6794 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6795 Use ENTRY to define the _nocancel entry point. Share the syscall
6796 and syscall error check paths with the cancel path.
6799 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6800 whitespace; tabs before and after asm mnemonics.
6802 2014-05-29 Eric Wong <normalperson@yhbt.net>
6805 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6806 Call fstat64 or stat64 internally, depending on arguments passed.
6807 Replace stat buffer argument with file descriptor argument.
6808 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6809 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6810 Pass fd to __internal_statvfs instead of calling fstat64.
6811 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6812 Pass fd to __internal_statvfs64 instead of calling fstat64.
6813 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6814 Pass -1 to __internal_statvfs instead of calling stat64.
6815 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6816 Pass -1 to __internal_statvfs64 instead of calling stat64.
6818 2014-05-28 Roland McGrath <roland@hack.frob.com>
6820 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6821 that was previously under [RESET_PID].
6822 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6824 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6825 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6827 2014-05-27 Roland McGrath <roland@hack.frob.com>
6829 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6831 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6832 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6834 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6836 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6838 2014-05-27 Andreas Schwab <schwab@suse.de>
6840 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6842 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6843 * elf/rtld.c (init_tls, dl_main): Likewise.
6844 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6845 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6846 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6847 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6848 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6849 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6850 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6851 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6852 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6853 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6854 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6855 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6856 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6857 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6858 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6859 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6860 * sysdeps/generic/tls.h: Update description.
6862 2014-05-27 Will Newton <will.newton@linaro.org>
6865 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6866 and restore r2 rather than just restoring.
6868 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6871 * libio/tst-ftell-append.c: New test case.
6872 * libio/Makefile (tests): Add test case.
6873 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6875 * libio/wfileops.c (do_ftell_wide): Likewise.
6877 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6881 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6885 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6886 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6887 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6888 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6889 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6890 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6894 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6897 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6898 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6899 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6900 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6901 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6903 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6904 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6906 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6908 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6910 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6911 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6912 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6914 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6915 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6916 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6917 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6925 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6928 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6932 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6935 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6940 conditional [RESET_PID].
6941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6942 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6949 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6950 (__libc_vfork): New strong alias.
6951 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6958 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6959 (__libc_vfork): New strong alias.
6960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6962 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6965 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6967 * malloc/malloc.c (mi_arena): New function.
6968 (malloc_info): Remove nested function mi_arena. Call non-nosted
6971 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6973 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6975 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6976 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6977 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6978 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6979 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6980 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6981 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6983 2014-05-26 Andreas Schwab <schwab@suse.de>
6986 * locale/programs/repertoire.c (repertoire_read): Add slash
6987 between I18NPATH element and file name.
6988 * locale/programs/locfile.c (locfile_read): Likewise.
6990 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6992 * nptl/pthread_mutexattr_settype.c
6993 (__pthread_mutexattr_settype):
6994 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6996 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6998 * nptl/tst-mutex5 (do_test):
6999 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7001 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7003 * benchtests/README: Document 'init' directive.
7004 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7006 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7007 (parse_file): Recognize 'init' directive.
7009 2014-05-26 Kyle McMartin <kyle@redhat.com>
7012 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7013 alignment of struct pthread.
7015 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7018 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7019 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7020 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7021 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7023 2014-05-25 Richard Henderson <rth@twiddle.net>
7025 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7026 (SINGLE_THREAD_P_PIC): Remove.
7027 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7028 (SINGLE_THREAD_P_PIC): Remove.
7030 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7031 branch to syscall error ...
7033 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7034 from __local_syscall_error to .Lsyscall_error.
7035 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7036 (SYSCALL_ERROR): Update label name.
7038 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7039 Do not use DOARGS/UNDOARGS.
7040 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7041 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7042 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7043 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7044 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7046 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7049 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7050 define if !NOT_IN_libc.
7051 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7052 define with non-default symbol versions.
7054 2014-05-23 Richard Henderson <rth@twiddle.net>
7056 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7057 (vfork, __vfork): Define via compat_symbol.
7059 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7060 [!HAVE_IFUNC] (vfork_compat): Remove.
7061 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7063 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7066 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7067 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7070 2014-05-23 Richard Henderson <rth@twiddle.net>
7072 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7073 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7074 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7075 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7077 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7078 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7079 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7080 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7081 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7082 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7083 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7084 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7085 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7086 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7087 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7088 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7089 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7090 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7091 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7092 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7093 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7094 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7095 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7098 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7099 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7100 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7101 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7102 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7103 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7104 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7105 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7106 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7107 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7108 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7109 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7110 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7111 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7112 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7113 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7114 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7115 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7116 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7117 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7118 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7119 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7120 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7121 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7122 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7123 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7124 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7125 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7126 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7127 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7128 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7129 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7130 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7131 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7132 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7134 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7135 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7136 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7137 before exiting on error.
7138 (__libc_vfork): New strong alias.
7139 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7140 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7142 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7143 that was previously under [RESET_PID].
7144 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7146 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7148 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7151 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7152 value when x - 1 is zero.
7153 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7154 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7155 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7156 0.0L for an argument of 1.0L.
7157 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7159 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7160 value when x - 1 is zero.
7161 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7162 * sysdeps/i386/fpu/libm-test-ulps: Update.
7163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7165 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7167 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7168 alphasort and versionsort.
7170 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7174 [copysignf]: Likewise.
7176 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7178 * crypt/md5-crypt.c: Fix formatting.
7180 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7182 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7183 (b64_from_24bit): New function.
7185 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7187 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7188 libc_hidden_builtin_def to ifunc.
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7190 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7192 2014-05-21 Roland McGrath <roland@hack.frob.com>
7194 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7195 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7197 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7199 * nscd/Depend (linuxthreads): Remove.
7201 * resolv/Depend (linuxthreads): Remove.
7202 * rt/Depend (linuxthreads): Remove.
7204 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7205 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7206 $(common-objpfx)elf/.
7207 (link-libc-before-gnulib): Likewise.
7208 (elfobjdir): Remove variable.
7209 * Makefile (install): Use $(elf-objpfx) instead of
7210 $(common-objpfx)elf/.
7211 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7213 (link-libc-deps): Likewise.
7214 ($(common-objpfx)libc.so): Likewise.
7215 ($(common-objpfx)linkobj/libc.so): Likewise.
7216 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7217 instead of $(common-objpfx)elf/.
7218 (symbolic-link-list): Likewise.
7219 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7220 [$(cross-compiling) = no]: Likewise.
7221 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7223 (static-gnulib-arch): Likewise.
7224 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7225 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7226 $(common-objpfx)elf/.
7228 2014-05-21 Richard Henderson <rth@redhat.com>
7230 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7231 (SINGLE_THREAD_P): Use the correct width load. Fold
7232 into the ldr offset.
7234 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7235 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7237 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7239 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7240 (libgcc_s_resume): Use __attribute_used__.
7241 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7244 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7246 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7247 optimization when used with float constants.
7249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7251 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7254 * locale/nl_langinfo_l.c: Make direct reference to every
7255 _nl_current_CATEGORY symbol.
7256 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7257 (tests-static): Add tst-langinfo-static.
7258 (tests-special): Add tst-langinfo-static.out.
7259 ($(objpfx)tst-langinfo.out): Redirect output.
7260 ($(objpfx)tst-langinfo-static.out): New.
7261 * localedata/tst-langinfo.sh: Send output to stdout.
7262 * localedata/tst-langinfo-static.c: New file.
7265 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7266 when the shift amount is modulo the limb size.
7268 2014-05-20 Richard Henderson <rth@redhat.com>
7271 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7272 Change type of sa_flags from unsigned int to int.
7275 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7277 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7279 2014-05-20 Will Newton <will.newton@linaro.org>
7281 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7282 Test the return value of the system call in the nocancel case.
7284 2014-05-20 Will Newton <will.newton@linaro.org>
7285 Yvan Roux <yvan.roux@linaro.org>
7287 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7288 #include of asm/ptrace.h.
7289 (PTRACE_GET_THREAD_AREA): Remove #undef.
7290 (PTRACE_GETHBPREGS): Likewise.
7291 (PTRACE_SETHBPREGS): Likewise.
7292 (struct user_regs_struct): New structure.
7293 (struct user_fpsimd_struct): New structure.
7294 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7295 #include of asm/ptrace.h and second #include of sys/user.h.
7296 (PTRACE_GET_THREAD_AREA): Remove #undef.
7297 (PTRACE_GETHBPREGS): Likewise.
7298 (PTRACE_SETHBPREGS): Likewise.
7299 (ELF_NGREG): Use new struct user_regs_struct.
7300 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7302 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7305 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7307 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7310 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7311 membar to avoid block loads/stores to overlap previous stores.
7313 2014-05-17 Richard Henderson <rth@redhat.com>
7315 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7316 Create the __##syscall_name##_nocancel entry point.
7317 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7318 Remove; let the sysdep-cancel.h code create it.
7320 2014-05-17 David S. Miller <davem@davemloft.net>
7322 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7323 Protect with __USE_GNU.
7324 (TIOCSET_TEMPT): Likewise.
7325 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7326 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7327 these are already provided in bits/ioctl-types.h
7329 2014-05-16 Roland McGrath <roland@hack.frob.com>
7331 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7332 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7334 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7335 Use wait4 regardless of [__NR_waitpid].
7337 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7340 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7341 (_FP_NANSIGN_Q): Set the quiet bit.
7343 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7345 * benchtests/Makefile
7346 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7347 not $(common-objpfx)math/libm.so.
7348 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7349 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7350 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7351 $(common-objpfx)dlfcn/libdl.so.
7352 ($(objpfx)tst-audit8): Depend on $(libm), not
7353 $(common-objpfx)math/libm.so.
7354 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7355 not $(common-objpfx)dlfcn/libdl.so.
7357 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7358 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7359 [$(build-shared) = yes].
7360 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7361 $(common-objpfx)nptl/libpthread.so.
7362 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7363 $(common-objpfx)math/libm.so$(libm.so-version) or
7364 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7365 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7366 $(common-objpfx)dlfcn/libdl.so.
7367 * setjmp/Makefile (link-libm): Remove variable.
7368 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7369 * stdio-common/Makefile (link-libm): Remove variable.
7370 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7371 * stdlib/Makefile (link-libm): Remove variable.
7372 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7373 ($(objpfx)tst-strtod-round): Likewise.
7374 ($(objpfx)tst-tininess): Likewise.
7375 ($(objpfx)tst-strtod-underflow): Likewise.
7376 ($(objpfx)tst-strtod6): Likewise.
7377 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7378 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7379 $(common-objpfx)dlfcn/libdl.so.
7381 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7383 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7384 BSD terminal modes definitions.
7386 2014-05-16 Roland McGrath <roland@hack.frob.com>
7388 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7389 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7391 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7392 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7393 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7394 Don't do #include_next.
7395 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7396 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7397 Don't do #include_next.
7398 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7399 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7400 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7401 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7403 2014-05-16 Allan McRae <allan@archlinux.org>
7405 * po/sv.po: Update Swedish translation from translation project.
7407 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7410 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7413 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7414 errno if the TIOCGPTN ioctl fails with an error different than
7416 * login/tst-ptsname.c: New file.
7417 * login/Makefile (tests): Add tst-ptsname.
7420 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7423 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7427 herrno to return EAI_AGAIN.
7429 2014-05-14 Roland McGrath <roland@hack.frob.com>
7431 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7432 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7433 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7438 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7440 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7442 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7444 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7445 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7446 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7447 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7448 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7450 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7451 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7452 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7453 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7454 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7455 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7456 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7458 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7460 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7461 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7462 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7464 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7467 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7469 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7471 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7473 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7475 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7477 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7483 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7485 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7487 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7489 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7491 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7493 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7496 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7498 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7500 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7502 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7504 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7506 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7508 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7510 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7512 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7514 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7517 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7519 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7521 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7522 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7523 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7524 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7525 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7526 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7527 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7528 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7529 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7530 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7531 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7532 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7533 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7534 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7535 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7536 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7537 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7538 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7539 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7541 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7542 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7543 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7544 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7545 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7547 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7548 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7549 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7551 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7553 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7554 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7556 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7557 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7558 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7559 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7560 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7561 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7563 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7564 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7566 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7567 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7569 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7570 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7572 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7573 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7574 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7575 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7577 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7579 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7581 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7583 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7586 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7589 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7591 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7592 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7593 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7594 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7597 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7599 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7601 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7603 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7604 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7605 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7606 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7608 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7611 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7612 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7614 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7617 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7618 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7619 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7620 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7622 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7624 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7625 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7626 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7628 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7631 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7634 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7636 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7637 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7639 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7642 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7644 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7647 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7648 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7650 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7652 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7653 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7654 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7655 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7660 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7661 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7663 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7666 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7667 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7668 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7669 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7670 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7671 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7673 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7675 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7677 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7678 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7679 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7682 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7685 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7687 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7688 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7690 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7693 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7695 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7697 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7699 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7700 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7701 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7702 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7703 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7704 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7705 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7706 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7707 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7709 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7710 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7712 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7713 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7715 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7716 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7717 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7718 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7719 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7720 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7721 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7722 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7723 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7724 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7725 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7726 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7727 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7728 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7729 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7730 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7731 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7732 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7734 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7736 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7737 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7739 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7740 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7741 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7742 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7743 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7744 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7745 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7746 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7748 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7751 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7753 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7754 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7755 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7757 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7758 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7759 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7760 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7761 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7763 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7764 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7765 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7766 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7767 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7770 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7771 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7772 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7773 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7775 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7776 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7777 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7778 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7779 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7780 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7781 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7782 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7783 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7784 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7786 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7787 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7789 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7790 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7791 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7792 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7793 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7794 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7795 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7796 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7797 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7798 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7799 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7800 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7801 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7802 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7805 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7807 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7809 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7811 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7823 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7825 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7826 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7828 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7829 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7830 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7831 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7832 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7833 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7834 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7835 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7836 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7837 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7839 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7840 that was previously under [RESET_PID].
7841 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7842 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7843 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7845 * sysdeps/i386/nptl/Implies: New file.
7846 * sysdeps/x86_64/nptl/Implies: New file.
7847 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7848 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7849 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7850 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7852 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7853 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7854 (__libc_vfork): New strong alias.
7855 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7856 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7858 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7859 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7860 (__libc_vfork): New strong alias.
7861 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7862 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7864 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7865 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7866 (__libc_vfork): New strong alias.
7867 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7868 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7869 * nptl/pt-vfork.c: New file.
7870 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7871 (libpthread: GLIBC_2.20): New version set (empty).
7873 2014-05-14 Will Newton <will.newton@linaro.org>
7875 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7878 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7881 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7882 arguments with exponent 65 or above.
7883 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7884 arguments 0x1p113L or above.
7885 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7886 to arguments 0x1p107L or above.
7887 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7888 positive arguments with exponent 65 or above.
7889 * math/auto-libm-test-in: Add more tests of log1p.
7890 * math/auto-libm-test-out: Regenerated.
7893 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7894 non-finite arguments is +0.
7895 * math/s_cacosf.c (__cacosf): Likewise.
7896 * math/s_cacosl.c (__cacosl): Likewise.
7897 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7898 * sysdeps/i386/fpu/libm-test-ulps: Update.
7899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7902 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7904 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7905 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7906 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7907 for explicit high bit of mantissa when testing for argument equal
7909 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7910 * sysdeps/i386/fpu/libm-test-ulps: Update.
7911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7914 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7915 (__erf): Scale by 16 instead of 8 in potentially underflowing
7916 case. Ensure exception if result actually underflows.
7917 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7918 (__erff): Scale by 16 instead of 8 in potentially underflowing
7919 case. Ensure exception if result actually underflows.
7920 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7921 (efx8): Remove variable.
7922 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7923 case. Ensure exception if result actually underflows.
7924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7925 (efx8): Remove variable.
7926 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7927 case. Ensure exception if result actually underflows.
7928 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7929 (efx8): Remove variable.
7930 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7931 case. Ensure exception if result actually underflows.
7932 * math/auto-libm-test-in: Add more tests of erf.
7933 * math/auto-libm-test-out: Regenerated.
7935 2014-05-14 Andreas Schwab <schwab@suse.de>
7937 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7938 Remove code conditionalized on USE___THREAD.
7940 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7941 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7944 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7946 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7947 Define unconditionally.
7948 (__ASSUME_O_CLOEXEC): Likewise.
7949 (__ASSUME_SOCK_CLOEXEC): Likewise.
7950 (__ASSUME_IN_NONBLOCK): Likewise.
7951 (__ASSUME_PIPE2): Likewise.
7952 (__ASSUME_EVENTFD2): Likewise.
7953 (__ASSUME_SIGNALFD4): Likewise.
7954 (__ASSUME_DUP3): Likewise.
7955 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7956 (__ASSUME_DUP3): Do not define.
7957 (__ASSUME_EVENTFD2): Likewise.
7958 (__ASSUME_IN_NONBLOCK): Likewise.
7959 (__ASSUME_O_CLOEXEC): Likewise.
7960 (__ASSUME_PIPE2): Likewise.
7961 (__ASSUME_SIGNALFD4): Likewise.
7962 (__ASSUME_SOCK_CLOEXEC): Likewise.
7963 (__ASSUME_UTIMES): Undefine.
7964 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7965 (__ASSUME_UTIMES): Do not define.
7966 (__ASSUME_O_CLOEXEC): Likewise.
7967 (__ASSUME_SOCK_CLOEXEC): Likewise.
7968 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7969 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7971 (__ASSUME_PIPE2): Likewise.
7972 (__ASSUME_EVENTFD2): Likewise.
7973 (__ASSUME_SIGNALFD4): Likewise.
7974 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7975 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7977 (__ASSUME_EVENTFD2): Likewise.
7978 (__ASSUME_SIGNALFD4): Likewise.
7979 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7980 (__ASSUME_32BITUIDS): Likewise.
7981 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7982 (__ASSUME_IPC64): Likewise.
7983 (__ASSUME_ST_INO_64_BIT): Likewise.
7984 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7985 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7986 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7987 (__ASSUME_UTIMES): Do not define.
7988 (__ASSUME_PSELECT): Likewise.
7989 (__ASSUME_PPOLL): Likewise.
7990 (__ASSUME_O_CLOEXEC): Likewise.
7991 (__ASSUME_SOCK_CLOEXEC): Likewise.
7992 (__ASSUME_IN_NONBLOCK): Likewise.
7993 (__ASSUME_PIPE2): Likewise.
7994 (__ASSUME_EVENTFD2): Likewise.
7995 (__ASSUME_SIGNALFD4): Likewise.
7996 (__ASSUME_DUP3): Likewise.
7997 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7998 (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
8017 (__ASSUME_UTIMES): Likewise.
8018 (__ASSUME_EVENTFD2): Likewise.
8019 (__ASSUME_SIGNALFD4): Likewise.
8020 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8021 (__ASSUME_O_CLOEXEC): Likewise.
8022 (__ASSUME_SOCK_CLOEXEC): Likewise.
8023 (__ASSUME_IN_NONBLOCK): Likewise.
8024 (__ASSUME_PIPE2): Likewise.
8025 (__ASSUME_EVENTFD2): Likewise.
8026 (__ASSUME_SIGNALFD4): Likewise.
8027 (__ASSUME_DUP3): Likewise.
8028 (__ASSUME_UTIMES): Undefine.
8030 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8031 feclearexcept. Remove symbol versioning code.
8032 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8033 symbol versioning code.
8034 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8035 symbol versioning code.
8036 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8037 feupdateenv. Remove symbol versioning code.
8038 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8039 fegetexceptflag. Remove symbol versioning code.
8040 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8041 fesetexceptflag. Remove symbol versioning code.
8042 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8043 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8044 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8045 (__posix_fadvise64_l32): Remove prototype.
8046 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8049 2014-05-13 Roland McGrath <roland@hack.frob.com>
8051 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8052 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8053 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8054 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8056 2014-05-13 Sami Kerola <kerolasa@iki.fi>
8058 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8059 current working directory
8061 2014-05-13 Roland McGrath <roland@hack.frob.com>
8063 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8064 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8065 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8066 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8067 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8068 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8069 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8070 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8071 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8072 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8073 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8074 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8080 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8081 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8082 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8083 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8084 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8085 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8086 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8087 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8088 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8089 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8096 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8097 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8098 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8099 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8100 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8101 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8102 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8103 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8104 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8106 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8107 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8109 * sysdeps/unix/sysv/linux/arm/Makefile
8110 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8111 Add rt-aeabi_unwind_cpp_pr1.
8112 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8113 Add nptl-aeabi_unwind_cpp_pr1.
8114 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8115 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8116 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8117 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8118 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8119 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8121 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8122 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8123 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8124 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8126 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8127 Deconditionalize the code that was previously under [RESET_PID].
8128 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8130 * sysdeps/generic/exit-thread.h: New file.
8131 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8132 * include/unistd.h (__exit_thread): Remove declaration.
8133 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8134 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8135 * csu/libc-start.c: Include <exit-thread.h>.
8136 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8137 * nptl/pthread_create.c: Include <exit-thread.h>.
8138 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8139 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8140 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8141 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8142 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8143 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8144 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8145 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8146 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8147 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8148 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8149 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8150 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8151 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8152 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8153 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8154 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8156 2014-05-13 Andreas Schwab <schwab@suse.de>
8158 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8160 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8162 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8163 (__ASSUME_UTIMES): Do not condition on kernel version.
8164 (__ASSUME_PSELECT): Define unconditionally.
8165 (__ASSUME_PPOLL): Likewise.
8166 (__ASSUME_ATFCTS): Likewise.
8167 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8168 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8169 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8170 (__ASSUME_UTIMENSAT): Define unconditionally.
8171 (__ASSUME_PRIVATE_FUTEX): Likewise.
8172 (__ASSUME_FALLOCATE): Likewise.
8173 (__ASSUME_O_CLOEXEC): Likewise.
8174 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8175 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8176 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8177 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8178 (__ASSUME_IN_NONBLOCK): Likewise.
8179 (__ASSUME_PIPE2): Likewise.
8180 (__ASSUME_EVENTFD2): Likewise.
8181 (__ASSUME_SIGNALFD4): Likewise.
8182 (__ASSUME_DUP3): Likewise.
8183 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8184 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8185 (__ASSUME_AT_RANDOM): Likewise.
8186 (__ASSUME_PREADV): Likewise.
8187 (__ASSUME_PWRITEV): Likewise.
8188 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8189 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8190 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8191 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8192 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8193 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8194 (__ASSUME_O_CLOEXEC): Define unconditionally.
8195 (__ASSUME_PSELECT): Do not undefine conditionally.
8196 (__ASSUME_PPOLL): Likewise.
8197 (__ASSUME_ATFCTS): Likewise.
8198 (__ASSUME_SET_ROBUST_LIST): Likewise.
8199 (__ASSUME_UTIMENSAT): Likewise.
8200 (__ASSUME_FDATASYNC): Define unconditionally.
8201 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8202 (__ASSUME_SIGFRAME_V2): Likewise.
8203 )__ASSUME_EVENTFD2): Likewise.
8204 (__ASSUME_SIGNALFD4): Likewise.
8205 (__ASSUME_PSELECT): Do not undefine conditionally.
8206 (__ASSUME_PPOLL): Likewise.
8207 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8208 (__ASSUME_PSELECT): Define unconditionally.
8209 (__ASSUME_PPOLL): Likewise.
8210 (__ASSUME_O_CLOEXEC): Likewise.
8211 (__ASSUME_SOCK_CLOEXEC): Likewise.
8212 (__ASSUME_IN_NONBLOCK): Likewise.
8213 (__ASSUME_PIPE2): Likewise.
8214 (__ASSUME_EVENTFD2): Likewise.
8215 (__ASSUME_SIGNALFD4): Likewise.
8216 (__ASSUME_DUP3): Likewise.
8217 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8218 (__ASSUME_O_CLOEXEC): Likewise.
8219 (__ASSUME_SOCK_CLOEXEC): Likewise.
8220 (__ASSUME_IN_NONBLOCK): Likewise.
8221 (__ASSUME_PIPE2): Likewise.
8222 (__ASSUME_EVENTFD2): Likewise.
8223 (__ASSUME_SIGNALFD4): Likewise.
8224 (__ASSUME_DUP3): Likewise.
8225 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8226 (__ASSUME_EVENTFD2): Likewise.
8227 (__ASSUME_SIGNALFD4): Likewise.
8228 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8230 2014-05-12 Andreas Schwab <schwab@suse.de>
8233 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8234 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8235 than maximum RPC packet size.
8236 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8237 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8238 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8239 (_nss_nis_getservbyport_r): Likewise.
8241 2014-05-12 Will Newton <will.newton@linaro.org>
8243 * malloc/Makefile (tests): Add tst-mallopt.
8244 * malloc/tst-mallopt.c: New file.
8246 2014-05-09 Roland McGrath <roland@hack.frob.com>
8248 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8249 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8251 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8253 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8254 (tst-tlsmod6.so): Likewise.
8256 2014-05-09 Roland McGrath <roland@hack.frob.com>
8258 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8260 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8263 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8264 and <dl-procinfo.h>.
8265 (__fegetenv): Save SSE state in envp->__eip if supported.
8266 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8267 envp->__eip if supported.
8268 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8269 and <dl-procinfo.h>.
8270 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8271 __data_offset and __data_selector in environment to 0. Set SSE
8273 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8275 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8277 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8279 2014-05-09 Will Newton <will.newton@linaro.org>
8281 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8282 and libc_relro_required for ARM.
8283 * sysdeps/arm/preconfigure: Regenerate.
8285 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8286 Stefan Liebler <stli@linux.vnet.ibm.com>
8288 * config.make.in (enable-lock-elision): New Makefile variable.
8289 * configure.ac: Likewise.
8290 * configure: Regenerate.
8291 * sysdeps/s390/configure.ac:
8292 Add check for gcc transactions support.
8293 * sysdeps/s390/configure: Regenerate.
8294 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8295 Build elision files if enabled.
8296 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8297 Add lock elision support for s390.
8298 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8299 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8300 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8301 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8302 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8303 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8304 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8306 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8308 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8310 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8312 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8313 (__lll_timedlock_elision, __lll_lock_elision)
8314 (__lll_unlock_elision, __lll_trylock_elision)
8315 (lll_timedlock_elision, lll_lock_elision)
8316 (lll_unlock_elision, lll_trylock_elision): Add.
8317 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8318 (pthread_mutex_t): Add lock elision support for s390.
8320 2014-05-14 Wilco <wdijkstr@arm.com>
8322 * sysdeps/arm/fclrexcpt.c: Cleanup.
8323 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8324 * sysdeps/arm/feenablxcpt.c: Cleanup.
8325 * sysdeps/arm/fegetenv.c: Cleanup.
8326 * sysdeps/arm/fegetexcept.c: Cleanup.
8327 * sysdeps/arm/fegetround.c: Cleanup.
8328 * sysdeps/arm/feholdexcpt.c: Cleanup.
8329 * sysdeps/arm/fesetenv.c: Cleanup.
8330 * sysdeps/arm/fesetround.c: Cleanup.
8331 * sysdeps/arm/feupdateenv.c: Cleanup.
8332 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8333 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8334 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8335 * sysdeps/arm/ftestexcept.c: Cleanup.
8336 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8337 * sysdeps/arm/setfpucw.c: Cleanup.
8339 2014-05-09 Will Newton <will.newton@linaro.org>
8341 * sysdeps/arm/armv7/strcmp.S: New file.
8342 * NEWS: Mention addition of ARMv7 optimized strcmp.
8344 2014-05-08 Roland McGrath <roland@hack.frob.com>
8346 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8347 look for %.ac rather than %.in.
8349 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8350 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8351 * sysdeps/mach/hurd/configure: Regenerated.
8352 * sysdeps/unix/sysv/linux/configure: Regenerated.
8354 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8356 2014-05-07 Steve Ellcey <sellcey@mips.com>
8359 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8363 2014-05-07 Andreas Schwab <schwab@suse.de>
8365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8366 when skipping over non-matching result from nscd.
8368 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8371 * nptl/sockperf.c (client): Check socket return value.
8374 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8375 nscd security class.
8377 2014-05-06 Roland McGrath <roland@hack.frob.com>
8379 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8380 * sysdeps/arm/unwind.h: ... here.
8382 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8385 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8388 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8390 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8391 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8392 multiarch strncpy for PPC64.
8393 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8394 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8395 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8396 multiarch optimizations.
8397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8398 (__libc_ifunc_impl_list): Likewise.
8399 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8400 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8401 multiarch stpncpy for PPC64.
8402 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8403 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8405 2014-05-06 Andreas Schwab <schwab@suse.de>
8408 * gmon/mcount.c (_MCOUNT_DECL): Use
8409 atomic_compare_and_exchange_bool_acq instead of
8410 catomic_compare_and_exchange_bool_acq.
8412 2014-05-05 Roland McGrath <roland@hack.frob.com>
8414 * elf/Makefile (others, install-bin): Remove pldd.
8415 (pldd-modules): Variable removed.
8416 ($(objpfx)pldd): Target removed.
8417 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8418 (others, install-bin): Append pldd here.
8419 ($(objpfx)pldd): New target.
8421 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8422 to 0, so the first #if test emitted later doesn't see it undefined.
8423 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8424 * sysdeps/gnu/errlist.c: Regenerated.
8426 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8428 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8429 [libc_hidden_builtin_def]: Define to empty value.
8430 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8431 [libc_hidden_builtin_def]: Likewise.
8432 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8433 [libc_hidden_builtin_def]: Likewise.
8434 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8435 [libc_hidden_builtin_def]: Likewise.
8436 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8437 __redirect_memcpy and define ifunc as default hidden symbol.
8438 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8439 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8441 2014-05-04 Adam Conrad <adconrad@0c3.net>
8443 * locale/iso-4217.def: Reintroduce XDR currency.
8445 2014-05-04 Allan McRae <allan@archlinux.org>
8447 * po/eo.po: Update Esperanto translation from translation project.
8449 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8451 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8452 and FEATURE_INDEX_MAX to 1.
8453 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8455 2014-05-01 Steve Ellcey <sellcey@mips.com>
8457 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8458 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8459 * iconvdata/big5.c (ONE_DIRECTION): Define.
8460 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8461 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8462 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8463 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8464 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8465 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8466 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8467 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8468 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8469 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8470 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8471 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8472 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8473 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8474 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8475 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8476 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8477 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8478 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8479 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8480 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8481 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8482 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8483 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8484 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8485 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8486 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8487 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8488 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8489 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8490 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8491 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8492 * iconvdata/johab.c (ONE_DIRECTION): Define.
8493 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8494 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8495 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8496 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8497 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8498 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8499 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8500 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8501 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8502 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8504 2014-05-01 Roland McGrath <roland@hack.frob.com>
8506 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8507 (_IO_JUMPS_OFFSET): Define to 0.
8509 * nptl/sysdeps/pthread/bits/libc-lock.h
8510 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8511 (__libc_lock_define_initialized_recursive): Always define using
8512 initializer. Modern compilers treat uninitialized (implicit zero) and
8513 explicit zero initializers the same (i.e. put the datum in bss).
8515 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8517 * nscd/nscd-client.h: Include <string.h>.
8519 2014-05-01 David S. Miller <davem@davemloft.net>
8522 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8523 multiple zero bytes exist at the end of a string.
8524 Reported by Aurelien Jarno <aurelien@aurel32.net>
8526 * string/test-strcmp.c (check): Add explicit test for situations where
8527 there are multiple zero bytes after the first.
8529 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8532 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8533 when compiling wprintf.
8534 * stdio-common/tstdiomisc.c (t3): New function.
8537 2014-05-01 Steve Ellcey <sellcey@mips.com>
8539 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8540 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8541 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8542 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8544 2014-05-01 Steve Ellcey <sellcey@mips.com>
8546 * stdlib/longlong.h: Updated from GCC.
8548 2014-05-01 Will Newton <will.newton@linaro.org>
8549 Bernard Ogden <bernie.ogden@linaro.org>
8551 * NEWS: Update fixed bug list.
8554 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8556 2014-04-30 David S. Miller <davem@davemloft.net>
8558 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8559 (libc_feholdexcept_setround_sparc_ctx): New function.
8560 (libc_fesetenv_sparc_ctx): Likewise.
8561 (libc_feupdateenv_sparc_ctx): Likewise.
8562 (libc_feholdsetround_sparc_ctx): Likewise.
8563 (libc_feholdexcept_setround_ctx): Define.
8564 (libc_feholdexcept_setroundf_ctx): Likewise.
8565 (libc_feholdexcept_setroundl_ctx): Likewise.
8566 (libc_fesetenv_ctx): Likewise.
8567 (libc_fesetenvf_ctx): Likewise.
8568 (libc_fesetenvl_ctx): Likewise.
8569 (libc_feupdateenv_ctx): Likewise.
8570 (libc_feupdateenvf_ctx): Likewise.
8571 (libc_feupdateenvl_ctx): Likewise.
8572 (libc_feresetround_ctx): Likewise.
8573 (libc_feresetroundf_ctx): Likewise.
8574 (libc_feresetroundl_ctx): Likewise.
8575 (libc_feholdsetround_ctx): Likewise.
8576 (libc_feholdsetroundf_ctx): Likewise.
8577 (libc_feholdsetroundl_ctx): Likewise.
8579 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8580 with __USE_GNU instead of XOPEN cpp guards.
8582 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8585 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8586 with XOPEN cpp guards.
8588 2014-04-30 Julian Brown <julian@codesourcery.com>
8591 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8594 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8597 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8599 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8600 * sysdeps/unix/sysv/linux/configure: Regenerated.
8601 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8602 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8603 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8604 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8605 * README: Update reference to required Linux kernel version.
8606 * manual/install.texi (Linux): Update reference to required Linux
8607 kernel headers version.
8608 * INSTALL: Regenerated.
8610 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8612 [POSIX] (limits.h): Likewise.
8613 [POSIX] (math.h): Likewise.
8614 [POSIX] (sys/wait.h): Likewise.
8615 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8617 [POSIX] (stddef.h): Do not allow header inclusion.
8619 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8621 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8623 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8625 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8626 Return immediately after lll_futex_wake.
8628 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8631 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8633 (datahead_init_pos): Call datahead_init_common early.
8634 (datahead_init_neg): Likewise.
8636 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8637 datahead_init_neg): New functions.
8638 * nscd/aicache.c (addhstaiX): Use them.
8639 * nscd/grpcache.c (cache_addgr): Likewise.
8640 * nscd/hstcache.c (cache_addhst): Likewise.
8641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8642 * nscd/netgroupcache.c (do_notfound): Likewise.
8643 (addgetnetgrentX): Likewise.
8644 (addinnetgrX): Likewise.
8645 * nscd/pwdcache.c (cache_addpw): Likewise.
8646 * nscd/servicescache.c (cache_addserv): Likewise.
8648 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8649 Atsushi Onoe <atsushi@onoe.org>
8654 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8655 one response is valid.
8656 * resolv/res_send.c (send_dg): Check for validity of other
8657 response if the current response is a referral.
8659 2014-04-29 Steve Ellcey <sellcey@mips.com>
8661 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8663 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8666 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8667 Always divide by positive zero when computing -Inf result.
8668 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8669 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8671 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8673 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8674 FPSCR if value do not change.
8675 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8676 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8677 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8678 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8679 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8680 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8683 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8685 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8686 * sysdeps/unix/sysv/linux/hppa: Move directory from
8687 ports/systeps/unix/sysv/linux/hppa.
8688 * README: Update listing for hppa-*-linux-gnu.
8690 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8693 * manual/stdio.texi (Hook functions): Fix types of stream hook
8696 * socket/sys/socket.h: Fix typo in comment.
8698 2014-04-28 Wilco <wdijkstr@arm.com>
8700 * sysdeps/arm/fenv_private.h: New file.
8701 * sysdeps/arm/math_private.h: New file.
8702 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8704 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8706 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8708 (La_x86_64_retval): Likewise.
8710 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8712 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8713 fpsr if value didn't change.
8714 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8715 to fpcr if value didn't change.
8716 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8717 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8718 fpsr or fpcr if value didn't change.
8719 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8720 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8721 fpcr if value didn't change.
8722 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8723 to fpsr if value didn't change.
8725 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8727 * nptl/tst-sem3.c: Use test-skeleton.c
8728 (main): Rename to do_test. Use return instead of
8730 * nptl/tst-sem4.c: Use test-skeleton.c
8731 (main): Rename to do_test.
8733 2014-04-22 David S. Miller <davem@davemloft.net>
8735 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8736 (struct sigaction): New struct member __glibc_reserved0, change
8737 type of sa_flags to int.
8739 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8741 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8742 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8744 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8746 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8747 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8749 2014-04-22 Will Newton <will.newton@linaro.org>
8750 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8752 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8753 (__longjmp): Add longjmp and longjmp_target SystemTap
8755 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8756 (__sigsetjmp): Add setjmp SystemTap probe.
8758 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8760 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8763 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8765 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8767 * sysdeps/powerpc/fpu/fenv_private.h
8768 (libc_feholdexcept_setroundl_ctx): Define to
8769 libc_feholdexcept_setround_ppc_ctx.
8770 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8771 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8772 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8773 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8775 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8777 * sysdeps/aarch64/math-tests.h: New file.
8779 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8781 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8784 Check and set bit_AVX2_Usable.
8785 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8787 (bit_AVX2): Likewise.
8788 (index_AVX2_Usable): Likewise.
8789 (CPUID_AVX2): Likewise.
8790 (HAS_AVX2): Likewise.
8792 2014-04-17 Will Newton <will.newton@linaro.org>
8794 * manual/setjmp.texi (System V contexts): Add note that
8795 calling setcontext on a context created by a call to a
8796 signal handler is undefined. Update text to note that
8797 setcontext from a signal handler is possible but not
8801 * stdlib/tst-setcontext.c: Include signal.h.
8802 (main): Check that the signal stack before and
8803 after swapcontext is the same.
8805 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8806 Re-implement to restore registers in user code and avoid
8807 rt_sigreturn system call.
8809 2014-04-17 Wilco <wdijkstr@arm.com>
8811 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8812 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8813 * math/test-fenv.c: Skip exception trap tests on targets which only
8814 support non-stop mode.
8816 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8817 Wilco Dijkstra <wilco.dijkstra@arm.com>
8819 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8820 (libc_feholdsetround_aarch64_ctx)
8821 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8822 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8823 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8824 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8825 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8826 (libc_feresetround_noexl_ctx): Define.
8828 2014-04-16 Richard Henderson <rth@redhat.com>
8830 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8832 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8835 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8836 const from the non-libc, non-ldso copy.
8838 * sysdeps/alpha/libm-test-ulps: Regenerate.
8840 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8841 Wilco Dijkstra <wilco.dijkstra@arm.com>
8843 * sysdeps/aarch64/fpu/math_private.h: New file.
8845 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8847 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8849 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8852 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8853 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8855 Intel MPX bound registers before _dl_profile_fixup.
8856 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8857 registers after _dl_profile_fixup. Save and restore bound
8858 registers bnd0/bnd1 when calling _dl_call_pltexit.
8859 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8860 (LR_BND_OFFSET): Likewise.
8861 (LRV_BND0_OFFSET): Likewise.
8862 (LRV_BND1_OFFSET): Likewise.
8864 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8866 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8868 * sysdeps/mach/hurd/i386/tls.h: ... here.
8869 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8870 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8873 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8875 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8877 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8879 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8881 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8884 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8885 * sysdeps/s390/configure: Regenerate.
8888 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8889 Set round-to-nearest internally to reduce error accumulation.
8891 2014-04-16 Alan Modra <amodra@gmail.com>
8895 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8896 * math/libm-test.inc (frexp_test_data): Add tests.
8897 * NEWS: Update fixed bug list.
8899 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8901 * benchtests/Makefile: Depend on libraries in build directory.
8902 (bench-math): Separate out math tests.
8903 (bench-pthread): Separate out pthread tests.
8904 (bench): Include math and pthread tests.
8906 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8909 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8910 _dl_debug_initialize.
8912 * configure.ac: Remove SELinux header check.
8913 * configure: Regenerate.
8914 * nscd/selinux.c (perms): Array of const char* to permission names.
8915 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8916 default policy. Call string_to_security_class and string_to_av_perm to
8917 translate strings. Enforce default policy and call avs_has_perm with
8918 results of translated strings.
8920 2014-04-13 David S. Miller <davem@davemloft.net>
8922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8924 2014-04-12 Allan McRae <allan@archlinux.org>
8927 * manual/string.texi (Collation Functions): Fix qsort argument
8929 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8931 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8933 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8934 Make the test a no-op if there are no exceptions defined.
8936 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8938 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8939 enable-hardcoded-path-in-tests
8941 2014-04-11 Will Newton <will.newton@linaro.org>
8943 * benchtests/Makefile (extra-objs): Add json-lib.o.
8944 (bench-func): Tidy up JSON output.
8945 * benchtests/bench-skeleton.c: Include json-lib.h.
8946 (main): Use JSON library functions to do output of
8948 * benchtests/bench-timing-type.c (main): Output the
8949 timing type simply, leaving formatting to the user.
8950 * benchtests/json-lib.c: New file.
8951 * benchtests/json-lib.h: Likewise.
8953 2014-04-11 Torvald Riegel <triegel@redhat.com>
8956 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8957 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8958 memory barriers. Add comments.
8959 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8960 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8961 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8962 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8963 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8964 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8966 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8968 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8969 * sysdeps/s390/s390-64/configure.ac: ... this ...
8970 * sysdeps/s390/configure.ac: ... to here.
8971 * sysdeps/s390/s390-32/configure: Delete file.
8972 * sysdeps/s390/s390-64/configure: Delete file.
8973 * sysdeps/s390/configure: Regenerate.
8975 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8977 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8979 2014-04-11 Will Newton <will.newton@linaro.org>
8981 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8982 to zero if it is not defined elsewhere. (mtrim): Test
8983 the value of MALLOC_DEBUG with #if rather than #ifdef.
8985 2014-04-10 Torvald Riegel <triegel@redhat.com>
8987 * benchtests/pthread_once-inputs: New file.
8988 * benchtests/pthread_once-source.c: New file.
8989 * benchtests/README: Update documentation.
8991 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8992 H.J. Lu <hongjiu.lu@intel.com>
8995 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8996 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8997 * sysdeps/x86_64/configure: Regenerated.
8998 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9000 (REGISTER_SAVE_RAX): Likewise.
9001 (REGISTER_SAVE_RCX): Likewise.
9002 (REGISTER_SAVE_RDX): Likewise.
9003 (REGISTER_SAVE_RSI): Likewise.
9004 (REGISTER_SAVE_RDI): Likewise.
9005 (REGISTER_SAVE_R8): Likewise.
9006 (REGISTER_SAVE_R9): Likewise.
9007 (REGISTER_SAVE_BND0): Likewise.
9008 (REGISTER_SAVE_BND1): Likewise.
9009 (REGISTER_SAVE_BND2): Likewise.
9010 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9011 bound registers when calling _dl_fixup.
9013 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9015 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
9016 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9018 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9019 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9020 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9021 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9022 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9023 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9024 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9026 2014-04-09 Peter Brett <peter@peter-b.co.uk>
9029 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9030 pathconf(_PC_NAME_MAX).
9032 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9034 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9036 (__PTHREAD_SPINS): Move definition to ...
9037 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9038 (__PTHREAD_SPINS): ... here.
9039 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9040 (__PTHREAD_SPIN): Likewise.
9041 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9042 (__PTHREAD_SPIN): Likewise.
9043 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9044 (__PTHREAD_SPIN): Likewise.
9045 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9046 (__PTHREAD_SPIN): Likewise.
9047 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9048 (__PTHREAD_SPIN): Likewise.
9049 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9050 (__PTHREAD_SPIN): Likewise.
9051 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9052 (__PTHREAD_SPIN): Likewise.
9053 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9054 (__PTHREAD_SPIN): Likewise.
9055 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9056 (__PTHREAD_SPIN): Likewise.
9057 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9058 (__PTHREAD_SPIN): Likewise.
9059 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9060 (__PTHREAD_SPIN): Likewise.
9061 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9062 (__PTHREAD_SPIN): Likewise.
9064 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9065 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9066 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9067 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9069 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9070 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9071 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9072 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9074 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9075 strlen symbol for non multi-arch builds.
9076 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9077 missing hidden_def and weak_alias.
9079 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9081 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9083 2014-04-07 Will Newton <will.newton@linaro.org>
9085 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9086 and contents. [!_LIBC] Remove #ifndef and contents.
9087 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9088 * string/memccpy.c (__memccpy): Use ANSI prototype.
9089 * string/memfrob.c (memfrob): Likewise.
9090 * string/strcoll.c (STRCOLL): Likewise.
9091 * string/strlen.c (strlen): Likewise.
9092 * string/strtok.c (STRTOK): Likewise.
9093 * string/strcat.c: Remove unused #include of memcopy.h.
9094 (strcat): Use ANSI prototype.
9095 * string/strchr.c: Remove unused #include of memcopy.h.
9096 (strchr): Use ANSI prototype.
9097 * string/strcmp.c: Remove unused #include of memcopy.h.
9098 (strcmp): Use ANSI prototype.
9099 * string/strcpy.c: Remove unused #include of memcopy.h.
9100 (strcpy): Use ANSI prototype.
9102 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9104 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9105 * config.make.in (config-extra-cppflags): Set it from
9106 libc_extra_cppflags.
9107 * configure.ac (libc_extra_cflags): Make it accumulate over
9108 configure fragments.
9109 (libc_extra_cppflags): New flag.
9110 * configure. Regenerate.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9112 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9113 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9117 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9118 result for FE_DOWNWARD rounding mode.
9119 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9123 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9125 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9126 in function argument name.
9128 2014-04-03 David Svoboda <svoboda@cert.org>
9131 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9134 2014-04-03 Roland McGrath <roland@hack.frob.com>
9136 * elf/dl-unmap-segments.h: New file.
9137 * sysdeps/generic/ldsodefs.h
9138 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9139 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9140 * elf/dl-fptr.c: Likewise.
9141 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9142 * sysdeps/aarch64/tlsdesc.c: Likewise.
9143 * sysdeps/arm/tlsdesc.c: Likewise.
9144 * sysdeps/i386/tlsdesc.c: Likewise.
9145 * sysdeps/tile/dl-runtime.c: Likewise.
9146 * sysdeps/x86_64/tlsdesc.c: Likewise.
9147 * elf/dl-load.h: New file.
9148 * elf/dl-load.c: Include it.
9149 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9150 Macros moved to dl-load.h.
9151 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9152 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9153 Use _dl_unmap_segments in place of __munmap.
9154 Break out segment-mapping loop into ...
9155 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9157 2014-04-03 Will Newton <will.newton@linaro.org>
9159 * elf/dl-lookup.c (do_lookup_x): Remove comment
9160 referring to nested function and move variable
9161 declarations down to before first use.
9163 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9167 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9169 * math/s_catanf.c (__catanf): Likewise.
9170 * math/s_catanh.c (__catanh): Likewise.
9171 * math/s_catanhf.c (__catanhf): Likewise.
9172 * math/s_catanhl.c (__catanhl): Likewise.
9173 * math/s_catanl.c (__catanl): Likewise.
9174 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9175 by positive zero when computing -Inf result.
9176 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9177 (catanh_test): Likewise.
9178 * sysdeps/i386/fpu/libm-test-ulps: Update.
9179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9182 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9183 instead of using underflowing value in computing result.
9184 * math/s_clog10.c (__clog10): Likewise.
9185 * math/s_clog10f.c (__clog10f): Likewise.
9186 * math/s_clog10l.c (__clog10l): Likewise.
9187 * math/s_clogf.c (__clogf): Likewise.
9188 * math/s_clogl.c (__clogl): Likewise.
9189 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9190 (clog10_test): Likewise.
9191 * sysdeps/i386/fpu/libm-test-ulps: Update.
9192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9194 2014-04-02 Alan Modra <amodra@gmail.com>
9197 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9198 output when value is near a power of two. Use int64_t for lx and
9199 remove casts. Use decimal rather than hex exponent constants.
9200 Don't use long double multiplication when double will suffice.
9201 * math/libm-test.inc (nextafter_test_data): Add tests.
9202 * NEWS: Add 16739 and 16786 to bug list.
9204 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9206 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9208 2014-04-01 Will Newton <will.newton@linaro.org>
9210 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9211 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9213 2014-04-01 Florian Weimer <fweimer@redhat.com>
9216 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9217 * nptl/tst-setuid2.c: New file.
9218 * nptl/Makefile (xtests): Add tst-setuid2.
9220 2014-04-01 Alan Modra <amodra@gmail.com>
9223 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9225 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9229 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9230 set errno as appropriate.
9231 * math/w_scalbf.c (__scalbf): Likewise.
9232 * math/w_scalbl.c (__scalbl): Likewise.
9233 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9234 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9235 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9239 * math/w_atan2.c: Include <errno.h>.
9240 (__atan2): Set errno for result underflowing to zero.
9241 * math/w_atan2f.c: Include <errno.h>.
9242 (__atan2f): Set errno for result underflowing to zero.
9243 * math/w_atan2l.c: Include <errno.h>.
9244 (__atan2l): Set errno for result underflowing to zero.
9245 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9247 * math/auto-libm-test-out: Regenerated.
9249 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9251 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9252 Encode instruction correctly in little endian.
9253 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9257 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9259 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9262 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9265 * sysdeps/unix/sysv/linux/kernel-features.h
9266 [__sparc__ && !__arch64__ && !__sparc_v9__]
9267 (__ASSUME_SET_ROBUST_LIST): Do not define.
9268 [__sparc__ && !__arch64__ && !__sparc_v9__]
9269 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9270 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9272 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9273 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9274 (__ASSUME_REQUEUE_PI): Likewise.
9275 (__ASSUME_SET_ROBUST_LIST): Likewise.
9276 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9277 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9280 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9282 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9284 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9286 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9287 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9289 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9290 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9294 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9295 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9296 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9298 2014-03-31 Will Newton <will.newton@linaro.org>
9300 * benchtests/Makefile (bench): Add ffs and ffsll to list
9302 * benchtests/ffs-inputs: New file.
9303 * benchtests/ffsll-inputs: Likewise.
9305 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9308 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9309 too large before casting to int.
9310 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9311 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9312 * math/libm-test.inc (scalb_test_data): Add more tests.
9314 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9316 * benchtests/Makefile (DETAILED_OPT): New make option.
9317 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9319 * benchtests/bench-skeleton.c: Include stdbool.h.
9320 (main): Store and print timings per input.
9321 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9322 member to each argument value.
9323 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9324 (_print_arg_data): Initialize per-input timing to 0.
9326 * benchtests/Makefile (timing-type): New binary.
9327 (bench-clean): Also remove bench-timing-type.
9328 (bench): New target for timing-type.
9329 (bench-func): Print output in JSON format.
9330 * benchtests/bench-skeleton.c (main): Print output in JSON
9332 * benchtests/bench-timing-type.c: New file.
9333 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9334 (TIMING_PRINT_STATS): Remove.
9335 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9338 * benchtests/bench-modf.c: Remove.
9339 * benchtests/modf-inputs: New inputs file.
9341 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9344 * math/s_clog10.c (M_PI_LOG10E): New macro.
9345 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9346 imaginary parts are 0.
9347 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9348 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9349 imaginary parts are 0.
9350 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9351 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9352 imaginary parts are 0.
9353 * math/libm-test.inc (clog10_test_data): Update expected results
9354 for when real and imaginary parts are 0.
9356 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9358 * elf/dl-load.c: Finish conversion of __builtin_expect into
9361 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9364 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9365 1+x for argument with exponent below -67.
9366 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9368 * math/auto-libm-test-in: Add more tests of exp.
9369 * math/auto-libm-test-out: Regenerated.
9371 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9374 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9375 (nscd_getnetgrent): Use it.
9378 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9381 2014-03-27 Andi Kleen <ak@linux.intel.com>
9383 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9384 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9385 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9386 (lll_robust_unlock): Remove out of line section. Use cfi
9388 (LLL_STUB_UNWIND_INFO*): Remove.
9389 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9390 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9391 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9392 (lll_robust_unlock): Remove out of line section. Use cfi
9394 (LLL_STUB_UNWIND_INFO*): Remove.
9396 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9399 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9402 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9404 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9406 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9409 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9411 * math/test-fenv-preserve.c: New file.
9412 * math/Makefile (tests): Add test-fenv-preserve.
9414 2014-03-26 Will Newton <will.newton@linaro.org>
9416 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9418 2014-03-25 Roland McGrath <roland@hack.frob.com>
9420 * scripts/versionlist.awk: Partition the version sets and emit all
9421 GLIBC_* (sorted) before all others (sorted).
9423 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9425 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9426 GLIBC_2.2.5 version.
9428 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9430 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9433 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9438 2014-03-25 Andreas Schwab <schwab@suse.de>
9440 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9441 label to be used after in6ailist is initialized.
9443 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9446 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9448 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9452 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9454 (fp_formats): Update initializers.
9455 (init_fp_formats): Initialize new field.
9456 (output_for_one_input_case): Allow underflow for results up to
9458 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9459 * math/auto-libm-test-in: Don't mark some underflows from asin and
9461 * math/auto-libm-test-out: Regenerated.
9462 * sysdeps/i386/fpu/libm-test-ulps: Update.
9463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9465 2014-03-25 Andreas Schwab <schwab@suse.de>
9467 * libio/Makefile (tst-ftell-partial-wide-ENV)
9468 (tst-ftell-active-handler-ENV): Define.
9470 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9472 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9474 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9476 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9478 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9480 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9481 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9482 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9484 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9487 * elf/dl-load.c (open_verify): Add mode parameter.
9488 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9489 (open_path): Change from boolean 'secure' to complete flag 'mode'
9490 (_dl_map_object): Adjust.
9491 * elf/Makefile (tests): Add tst-dlopen-aout.
9492 * elf/tst-dlopen-aout.c: New test.
9494 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9497 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9498 (struct stat): Rename member pad0 to __glibc_reserved0.
9501 * sysdeps/s390/s390-32/bits/wordsize.h
9502 (__WORDSIZE32_SIZE_ULONG): New define.
9503 * sysdeps/s390/s390-64/bits/wordsize.h
9504 (__WORDSIZE32_SIZE_ULONG): Likewise.
9505 * sysdeps/generic/stdint.h (SIZE_MAX):
9506 Define as UL if __WORDSIZE32_SIZE_ULONG.
9509 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9510 (__glibc_reserved0): New variable.
9511 (sa_flags): Change type to int.
9513 * posix/Makefile (before-compile): Use += before-compile instead
9516 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9517 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9519 2014-03-20 Andreas Schwab <schwab@suse.de>
9522 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9523 non-matching result from nscd.
9525 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9527 * scripts/bench.py: Moved to ...
9528 * benchtests/scripts/bench.py: ... here.
9529 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9531 2014-03-24 Andreas Schwab <schwab@suse.de>
9534 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9535 alloca_account and account alloca use for struct in6ailist.
9537 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9540 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9541 rounding mode to recompute results that overflow to infinity or
9543 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9545 * math/auto-libm-test-out: Regenerated.
9546 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9547 (ccosh_test): Likewise.
9548 (csin_test_data): Use plus_oflow.
9549 (csin_test): Use ALL_RM_TEST.
9550 (csinh_test_data): Use plus_oflow.
9551 (csinh_test): Use ALL_RM_TEST.
9552 * sysdeps/i386/fpu/libm-test-ulps: Update.
9553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9555 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9557 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9558 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9559 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9562 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9564 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9565 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9566 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9567 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9569 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9570 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9572 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9573 * sysdeps/i386/fpu/libm-test-ulps: Update.
9574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9576 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9578 * scripts/bench.pl: Remove file.
9579 * scripts/bench.py: New benchmark script.
9580 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9581 * benchtests/README: Mention python dependency.
9582 * scripts/pylintrc: New file.
9583 * scripts/pylint: New file.
9585 * bits/mathdef.h: Use #ifdef instead of #if.
9586 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9587 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9588 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9589 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9590 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9591 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9593 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9594 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9596 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9598 and strpbrk-ppc64 objects.
9599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9600 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9601 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9602 multiarch strpbrk for POWER7.
9603 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9604 multiarch strpbrk for PPC64.
9605 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9607 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9610 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9612 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9613 (atan_test): Likewise.
9614 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9615 (atanh_test): Use ALL_RM_TEST.
9616 (atan2_test_data): Likewise.
9617 (cabs_test): Likewise.
9618 (cacosh_test): Likewise.
9619 (carg_test): Likewise.
9620 (casin_test): Likewise.
9621 (casinh_test): Likewise.
9622 (cbrt_test): Likewise.
9623 (csqrt_test): Likewise.
9624 (erf_test): Likewise.
9625 (erfc_test): Likewise.
9626 (pow10_test): Likewise.
9627 (exp2_test): Likewise.
9628 (hypot_test): Likewise.
9629 (j0_test): Likewise.
9630 (j1_test): Likewise.
9631 (lgamma_test): Likewise.
9632 (gamma_test): Likewise.
9633 (sincos_test): Likewise.
9634 (tanh_test): Likewise.
9635 (y0_test): Likewise.
9636 (y1_test): Likewise.
9637 * sysdeps/i386/fpu/libm-test-ulps: Update.
9638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9640 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9642 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9644 and strcspn-ppc64 objects.
9645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9646 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9647 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9648 multiarch strcspn for POWER7.
9649 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9650 multiarch strcspn for PPC64.
9651 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9653 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9656 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9658 * math/gen-libm-test.pl (generate_testfile): Expect only function
9659 name as argument to AUTO_TESTS_* and pass results for all rounding
9660 modes to parse_args.
9661 (parse_auto_input): Separate inputs of automatic tests from
9662 outputs before storing in %auto_tests.
9663 * math/libm-test.inc (acos_test_data): Update call to
9665 (acos_test): Use ALL_RM_TEST.
9666 (acos_tonearest_test_data): Remove.
9667 (acos_test_tonearest): Likewise.
9668 (acos_towardzero_test_data): Likewise.
9669 (acos_test_towardzero): Likewise.
9670 (acos_downward_test_data): Likewise.
9671 (acos_test_downward): Likewise.
9672 (acos_upward_test_data): Likewise.
9673 (acos_test_upward): Likewise.
9674 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9675 (asin_test_data): Likewise.
9676 (asin_test): Use ALL_RM_TEST.
9677 (asin_tonearest_test_data): Remove.
9678 (asin_test_tonearest): Likewise.
9679 (asin_towardzero_test_data): Likewise.
9680 (asin_test_towardzero): Likewise.
9681 (asin_downward_test_data): Likewise.
9682 (asin_test_downward): Likewise.
9683 (asin_upward_test_data): Likewise.
9684 (asin_test_upward): Likewise.
9685 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9686 (atan_test_data): Likewise.
9687 (atanh_test_data): Likewise.
9688 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9689 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9690 (carg_test_data): Likewise.
9691 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9692 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9693 (ccosh_test_data): Likewise.
9694 (cexp_test_data): Likewise.
9695 (clog_test_data): Likewise.
9696 (clog10_test_data): Likewise.
9697 (cos_test_data): Update call to AUTO_TESTS_f_f.
9698 (cos_test): Use ALL_RM_TEST.
9699 (cos_tonearest_test_data): Remove.
9700 (cos_test_tonearest): Likewise.
9701 (cos_towardzero_test_data): Likewise.
9702 (cos_test_towardzero): Likewise.
9703 (cos_downward_test_data): Likewise.
9704 (cos_test_downward): Likewise.
9705 (cos_upward_test_data): Likewise.
9706 (cos_test_upward): Likewise.
9707 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9708 (cosh_test): Use ALL_RM_TEST.
9709 (cosh_tonearest_test_data): Remove.
9710 (cosh_test_tonearest): Likewise.
9711 (cosh_towardzero_test_data): Likewise.
9712 (cosh_test_towardzero): Likewise.
9713 (cosh_downward_test_data): Likewise.
9714 (cosh_test_downward): Likewise.
9715 (cosh_upward_test_data): Likewise.
9716 (cosh_test_upward): Likewise.
9717 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9718 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9719 (ctan_test_data): Likewise.
9720 (ctan_test): Use ALL_RM_TEST.
9721 (ctan_tonearest_test_data): Remove.
9722 (ctan_test_tonearest): Likewise.
9723 (ctan_towardzero_test_data): Likewise.
9724 (ctan_test_towardzero): Likewise.
9725 (ctan_downward_test_data): Likewise.
9726 (ctan_test_downward): Likewise.
9727 (ctan_upward_test_data): Likewise.
9728 (ctan_test_upward): Likewise.
9729 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9730 (ctanh_test): Use ALL_RM_TEST.
9731 (ctanh_tonearest_test_data): Remove.
9732 (ctanh_test_tonearest): Likewise.
9733 (ctanh_towardzero_test_data): Likewise.
9734 (ctanh_test_towardzero): Likewise.
9735 (ctanh_downward_test_data): Likewise.
9736 (ctanh_test_downward): Likewise.
9737 (ctanh_upward_test_data): Likewise.
9738 (ctanh_test_upward): Likewise.
9739 (erf_test_data): Update call to AUTO_TESTS_f_f.
9740 (erfc_test_data): Likewise.
9741 (exp_test_data): Likewise.
9742 (exp_test): Use ALL_RM_TEST.
9743 (exp_tonearest_test_data): Remove.
9744 (exp_test_tonearest): Likewise.
9745 (exp_towardzero_test_data): Likewise.
9746 (exp_test_towardzero): Likewise.
9747 (exp_downward_test_data): Likewise.
9748 (exp_test_downward): Likewise.
9749 (exp_upward_test_data): Likewise.
9750 (exp_test_upward): Likewise.
9751 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9752 (exp10_test): Use ALL_RM_TEST.
9753 (exp10_tonearest_test_data): Remove.
9754 (exp10_test_tonearest): Likewise.
9755 (exp10_towardzero_test_data): Likewise.
9756 (exp10_test_towardzero): Likewise.
9757 (exp10_downward_test_data): Likewise.
9758 (exp10_test_downward): Likewise.
9759 (exp10_upward_test_data): Likewise.
9760 (exp10_test_upward): Likewise.
9761 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9762 (expm1_test_data): Likewise.
9763 (expm1_test): Use ALL_RM_TEST.
9764 (expm1_tonearest_test_data): Remove.
9765 (expm1_test_tonearest): Likewise.
9766 (expm1_towardzero_test_data): Likewise.
9767 (expm1_test_towardzero): Likewise.
9768 (expm1_downward_test_data): Likewise.
9769 (expm1_test_downward): Likewise.
9770 (expm1_upward_test_data): Likewise.
9771 (expm1_test_upward): Likewise.
9772 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9773 (fma_test): Use ALL_RM_TEST.
9774 (fma_towardzero_test_data): Remove.
9775 (fma_test_towardzero): Likewise.
9776 (fma_downward_test_data): Likewise.
9777 (fma_test_downward): Likewise.
9778 (fma_upward_test_data): Likewise.
9779 (fma_test_upward): Likewise.
9780 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9781 (j0_test_data): Update call to AUTO_TESTS_f_f.
9782 (j1_test_data): Likewise.
9783 (jn_test_data): Update call to AUTO_TESTS_if_f.
9784 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9785 (log_test_data): Update call to AUTO_TESTS_f_f.
9786 (log10_test_data): Likewise.
9787 (log1p_test_data): Likewise.
9788 (log2_test_data): Likewise.
9789 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9790 (pow_tonearest_test_data): Likewise.
9791 (sin_test_data): Update call to AUTO_TESTS_f_f.
9792 (sin_test): Use ALL_RM_TEST.
9793 (sin_tonearest_test_data): Remove.
9794 (sin_test_tonearest): Likewise.
9795 (sin_towardzero_test_data): Likewise.
9796 (sin_test_towardzero): Likewise.
9797 (sin_downward_test_data): Likewise.
9798 (sin_test_downward): Likewise.
9799 (sin_upward_test_data): Likewise.
9800 (sin_test_upward): Likewise.
9801 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9802 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9803 (sinh_test): Use ALL_RM_TEST.
9804 (sinh_tonearest_test_data): Remove.
9805 (sinh_test_tonearest): Likewise.
9806 (sinh_towardzero_test_data): Likewise.
9807 (sinh_test_towardzero): Likewise.
9808 (sinh_downward_test_data): Likewise.
9809 (sinh_test_downward): Likewise.
9810 (sinh_upward_test_data): Likewise.
9811 (sinh_test_upward): Likewise.
9812 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9813 (sqrt_test): Use ALL_RM_TEST.
9814 (sqrt_tonearest_test_data): Remove.
9815 (sqrt_test_tonearest): Likewise.
9816 (sqrt_towardzero_test_data): Likewise.
9817 (sqrt_test_towardzero): Likewise.
9818 (sqrt_downward_test_data): Likewise.
9819 (sqrt_test_downward): Likewise.
9820 (sqrt_upward_test_data): Likewise.
9821 (sqrt_test_upward): Likewise.
9822 (tan_test_data): Update call to AUTO_TESTS_f_f.
9823 (tan_test): Use ALL_RM_TEST.
9824 (tan_tonearest_test_data): Remove.
9825 (tan_test_tonearest): Likewise.
9826 (tan_towardzero_test_data): Likewise.
9827 (tan_test_towardzero): Likewise.
9828 (tan_downward_test_data): Likewise.
9829 (tan_test_downward): Likewise.
9830 (tan_upward_test_data): Likewise.
9831 (tan_test_upward): Likewise.
9832 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9833 (tgamma_test_data): Likewise.
9834 (y0_test_data): Likewise.
9835 (y1_test_data): Likewise.
9836 (yn_test_data): Update call to AUTO_TESTS_if_f.
9837 (main): Do not call removed functions.
9839 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9841 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9842 (ldexp_test_data): Remove.
9843 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9845 (scalb_test): Use ALL_RM_TEST.
9847 2014-03-19 Andreas Schwab <schwab@suse.de>
9849 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9851 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9854 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9855 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9856 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9857 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9858 (__ASSUME_PREADV): Undefine.
9859 (__ASSUME_PWRITEV): Likewise.
9861 2014-03-18 Roland McGrath <roland@hack.frob.com>
9863 * bits/mman-linux.h: Add comment about non-Linux use.
9864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9865 bits/mman-linux.h resting place.
9867 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9868 * bits/mman-linux.h: ... here.
9870 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9872 * conform/conformtest.pl: Add standard definition when calling C
9873 preprocessor on data files.
9874 (checknamespace): Remove unused variable.
9876 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9878 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9879 minus_oflow, plus_uflow and minus_uflow in expected results.
9880 * math/libm-test.inc (scalbn_test_data): Add more tests of
9881 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9883 (scalbn_test): Use ALL_RM_TEST.
9884 (scalbln_test_data): Add more tests of negative arguments. Use
9885 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9886 (scalbln_test): Use ALL_RM_TEST.
9888 2014-03-18 Roland McGrath <roland@hack.frob.com>
9890 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9892 2014-03-18 Will Newton <will.newton@linaro.org>
9894 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9897 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9899 * Makerules [!subdir] (check-abi): Exit with error status if a
9902 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9904 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9905 for rint. Include results for all rounding modes.
9906 (nearbyint_test): Use ALL_RM_TEST.
9907 (rint_test_data): Include all tests used for nearbyint.
9909 2014-03-17 Will Newton <will.newton@linaro.org>
9911 * nptl/sysdeps/pthread/pthread.h: Revert previous
9914 * sysdeps/generic/ldsodefs.h: Revert previous
9917 * libio/genops.c: Revert previous change.
9918 * libio/libioP.h: Likewise.
9919 * stdio-common/vfprintf.c: Likewise.
9921 * sysdeps/generic/math_private.h: Revert previous
9924 * sysdeps/generic/math_private.h: Check whether
9925 HAVE_RM_CTX is defined with #ifdef rather
9928 * argp/argp-fmtstream.h: Check whether
9929 __STRICT_ANSI__ is defined with #ifdef rather
9931 * argp/argp.h: Likewise.
9933 * libio/genops.c: Check whether
9934 _IO_JUMPS_OFFSET is defined with #ifdef rather
9936 * libio/libioP.h: Likewise.
9937 * stdio-common/vfprintf.c: Likewise.
9939 * sysdeps/generic/ldsodefs.h: Check whether
9940 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9943 * nptl/sysdeps/pthread/pthread.h: Check
9944 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9947 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9949 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9951 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9955 * libio/fileops.c (_IO_file_open): Seek to end of file but
9956 don't cache the offset.
9957 (get_file_offset): Remove function.
9958 (do_ftell): Use cached offset when available.
9959 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9960 don't cache the offset.
9961 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9963 (do_one_test): Call it.
9964 (do_ftell_test): Fix up expected old offset for a+ mode.
9965 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9968 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9969 up test status with function return status.
9970 (do_write_test): Likewise.
9971 (do_append_test): Likewise.
9973 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9974 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9977 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9979 * math/gen-libm-test.pl (parse_args): Handle results specified for
9980 each rounding mode separately.
9981 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9982 tests and results from lrint_tonearest_test_data,
9983 lrint_towardzero_test_data, lrint_downward_test_data and
9984 lrint_upward_test_data.
9985 (lrint_test): Use ALL_RM_TEST.
9986 (lrint_tonearest_test_data): Remove.
9987 (lrint_test_tonearest): Likewise.
9988 (lrint_towardzero_test_data): Likewise.
9989 (lrint_test_towardzero): Likewise.
9990 (lrint_downward_test_data): Likewise.
9991 (lrint_test_downward): Likewise.
9992 (lrint_upward_test_data): Likewise.
9993 (lrint_test_upward): Likewise.
9994 (llrint_test_data): Merge in per-rounding-mode tests and results
9995 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9996 llrint_downward_test_data and llrint_upward_test_data.
9997 (llrint_test): Use ALL_RM_TEST.
9998 (llrint_tonearest_test_data): Remove.
9999 (llrint_test_tonearest): Likewise.
10000 (llrint_towardzero_test_data): Likewise.
10001 (llrint_test_towardzero): Likewise.
10002 (llrint_downward_test_data): Likewise.
10003 (llrint_test_downward): Likewise.
10004 (llrint_upward_test_data): Likewise.
10005 (llrint_test_upward): Likewise.
10006 (rint_test_data): Merge in per-rounding-mode tests and results
10007 from rint_tonearest_test_data, rint_towardzero_test_data,
10008 rint_downward_test_data and rint_upward_test_data. Add
10009 per-rounding-mode results for tests not in those arrays.
10010 (rint_test): Use ALL_RM_TEST.
10011 (rint_tonearest_test_data): Remove.
10012 (rint_test_tonearest): Likewise.
10013 (rint_towardzero_test_data): Likewise.
10014 (rint_test_towardzero): Likewise.
10015 (rint_downward_test_data): Likewise.
10016 (rint_test_downward): Likewise.
10017 (rint_upward_test_data): Likewise.
10018 (rint_test_upward): Likewise.
10019 (main): Don't call removed functions.
10021 2014-03-14 Roland McGrath <roland@hack.frob.com>
10023 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10024 "Compiled on ..." crapola. It is anti-useful.
10026 2014-03-14 Joseph Myers <joseph@codesourcery.com>
10028 * scripts/evaluate-test.sh: Handle fourth argument to determine
10029 whether test run should stop on failure.
10030 * Makeconfig (stop-on-test-failure): New variable.
10031 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10032 $(stop-on-test-failure).
10033 * Makefile (tests): Give a summary of results from testing and
10034 exit with failure status if they include an ERROR or FAIL.
10035 (xtests): Likewise.
10036 * manual/install.texi (Configuring and compiling): Mention
10037 stop-on-test-failure=y.
10038 * INSTALL: Regenerated.
10040 2014-03-14 Roland McGrath <roland@hack.frob.com>
10042 * scripts/versionlist.awk: New file.
10043 * Makerules [$(build-shared) = yes]
10044 (postclean-generated): Add Versions.def, not Versions.def.v and
10046 ($(common-objpfx)Versions.def.v.i): Target removed.
10047 ($(common-objpfx)Versions.def): New target.
10048 ($(common-objpfx)Versions.all): Depend on that rather that
10049 $(common-objpfx)Versions.def.v.
10050 * Versions.def: File removed.
10052 * Makeconfig (+gccwarn): Add -Wundef.
10053 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10054 a dl-sysdep.h breaking its contract.
10055 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10056 * include/stackinfo.h: New file.
10057 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10058 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10059 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10060 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10061 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10062 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10063 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10064 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10065 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10066 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10067 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10068 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10069 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10070 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10071 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10073 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10076 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10078 * math/libm-test.inc (round_test_data): Add more tests.
10081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10083 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10086 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10088 * math/libm-test.inc (ceil_test_data): Add more tests.
10090 * math/libm-test.inc (trunc_test_data): Add more tests related to
10093 2014-03-14 Roland McGrath <roland@hack.frob.com>
10095 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10096 with #if rather than #ifdef.
10097 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10099 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10101 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10102 first. Disable AVX-512 GCC support if assembler doesn't support
10104 * sysdeps/x86_64/configure: Regenerated.
10106 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10108 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10109 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10110 (__old_pthread_attr_setstack): Likewise.
10111 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10112 [!_STACK_GROWS_DOWN]: Likewise.
10114 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10116 * config.make.in (have-bash2): Delete.
10117 * configure.ac (libc_cv_have_bash2): Delete.
10118 * configure: Regenerate.
10119 * elf/Makefile (common-ldd-rewrite): Rename to ...
10120 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10121 (sh-ldd-rewrite): Delete.
10122 (bash-ldd-rewrite): Delete.
10123 (have-bash2): Delete checks.
10124 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10127 * config.make.in (have-ksh): Delete.
10129 * configure.ac (libc_cv_have_ksh): Delete.
10130 * configure: Regenerate.
10132 * elf/Makefile: Delete $(have-ksh) check.
10133 ($(objpfx)sotruss): Change KSH to BASH.
10134 * elf/sotruss.ksh: Rename to ...
10135 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10136 function style to match POSIX. Drop ksh vim mode setting.
10138 * manual/time.texi (Specifying the Time Zone with TZ): Change
10139 Tuesday to Thursday.
10141 * debug/tst-longjmp_chk2.c: Update header comment.
10142 (stackoverflow_handler): Add comment. Call assert on pass value.
10144 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10147 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10148 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10149 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10150 (La_x86_64_vector): Add zmm.
10151 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10152 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10153 ($(objpfx)tst-audit10): New target.
10154 ($(objpfx)tst-audit10.out): Likewise.
10155 (tst-audit10-ENV): New.
10156 (AVX512-CFLAGS): Likewise.
10157 (CFLAGS-tst-audit10.c): Likewise.
10158 (CFLAGS-tst-auditmod10a.c): Likewise.
10159 (CFLAGS-tst-auditmod10b.c): Likewise.
10160 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10161 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10162 * sysdeps/x86_64/configure: Regenerated.
10163 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10164 AVX-512 zmm register support.
10165 (_dl_x86_64_save_sse): Likewise.
10166 (_dl_x86_64_restore_sse): Likewise.
10167 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10168 size vector registers.
10169 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10170 (ZMM_SIZE): Likewise.
10171 * sysdeps/x86_64/tst-audit10.c: New file.
10172 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10173 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10175 2014-03-13 Roland McGrath <roland@hack.frob.com>
10177 * configure.ac (HAVE_EHDR_START): New check.
10178 * configure: Regenerated.
10179 * config.h.in (HAVE_EHDR_START): New #undef.
10180 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10181 assuming the lowest-addressed segment maps the start of the file.
10183 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10185 * INSTALL: Regenerated.
10187 2014-03-13 Will Newton <will.newton@linaro.org>
10189 * manual/setjmp.texi (System V contexts): Improve
10190 clarity and grammar of documentation.
10192 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10195 * elf/Makefile (tests): Add tst-pie2.
10196 (tests-pie): Add tst-pie2.
10197 * elf/tst-pie2.c: New file.
10198 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10200 * elf/rtld.c (map_doit): Load executable as lt_executable.
10201 (dl_main): Likewise.
10203 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10206 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10207 (__ASSUME_PSELECT): Undefine.
10209 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10212 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10213 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10215 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10216 selector for static builds.
10218 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10221 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10224 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10226 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10227 IFUNC selector for static builds.
10229 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10231 * sysdeps/mips/math_private.h [__mips_hard_float]
10232 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10233 libc_feresetround_mips_ctx.
10234 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10235 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10236 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10239 * math/s_nextafter.c (__nextafter): Do not return value from
10240 overflowing computation.
10241 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10242 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10243 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10245 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10247 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10248 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10250 2014-03-11 Roland McGrath <roland@hack.frob.com>
10252 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10253 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10254 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10255 the new mov targetting sp.
10257 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10260 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10261 Define it for static builds as well.
10262 (NO_BZERO_IMPL): Likewise.
10264 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10266 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10267 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10268 multiarch strspn for PPC64.
10269 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10270 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10271 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10272 (__libc_ifunc_impl_list): Likewise.
10273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10274 multiarch optimizations
10275 * string/strspn.c (strspn): Using macro to redefine symbol name.
10277 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10278 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10280 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10281 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10282 multiarch strncat for PPC64.
10283 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10284 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10286 (__libc_ifunc_impl_list): Likewise.
10287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10288 multiarch optimizations
10290 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10293 * nscd/nscd.service: Make service type forking.
10295 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10297 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10298 sign in non default rounding modes.
10299 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10301 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10303 * math/libm-test.inc (ALL_RM_TEST): New macro.
10304 (ceil_test): Use ALL_RM_TEST.
10305 (cimag_test): Likewise.
10306 (conj_test): Likewise.
10307 (copysign_test): Likewise.
10308 (cproj_test): Likewise.
10309 (creal_test): Likewise.
10310 (fabs_test): Likewise.
10311 (floor_test): Likewise.
10312 (fmax_test): Likewise.
10313 (fmin_test): Likewise.
10314 (fmod_test): Likewise.
10315 (fpclassify_test): Likewise.
10316 (frexp_test): Likewise.
10317 (ilogb_test): Likewise.
10318 (isfinite_test): Likewise.
10319 (finite_test): Likewise.
10320 (isgreater_test): Likewise.
10321 (isgreaterequal_test): Likewise.
10322 (isinf_test): Likewise.
10323 (isless_test): Likewise.
10324 (islessequal_test): Likewise.
10325 (islessgreater_test): Likewise.
10326 (isnan_test): Likewise.
10327 (isnormal_test): Likewise.
10328 (issignaling_test): Likewise.
10329 (isunordered_test): Likewise.
10330 (logb_test): Likewise.
10331 (logb_downward_test_data): Remove.
10332 (logb_test_downward): Likewise.
10333 (lround_test): Use ALL_RM_TEST.
10334 (llround_test): Likewise.
10335 (modf_test): Likewise.
10336 (nexttoward_test): Likewise.
10337 (remainder_test): Likewise.
10338 (drem_test): Likewise.
10339 (remainder_tonearest_test_data): Likewise.
10340 (remainder_test_tonearest): Likewise.
10341 (drem_test_tonearest): Likewise.
10342 (remainder_towardzero_test_data): Likewise.
10343 (remainder_test_towardzero): Likewise.
10344 (drem_test_towardzero): Likewise.
10345 (remainder_downward_test_data): Likewise.
10346 (remainder_test_downward): Likewise.
10347 (drem_test_downward): Likewise.
10348 (remainder_upward_test_data): Likewise.
10349 (remainder_test_upward): Likewise.
10350 (drem_test_upward): Likewise.
10351 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10352 (round_test): Use ALL_RM_TEST.
10353 (signbit_test): Likewise.
10354 (trunc_test): Likewise.
10355 (significand_test): Likewise.
10356 (main): Don't call removed functions.
10358 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10361 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10362 || __USE_XOPEN2K8].
10363 (ILL_ILLOPN): Likewise.
10364 (ILL_ILLADR): Likewise.
10365 (ILL_ILLTRP): Likewise.
10366 (ILL_PRVOPC): Likewise.
10367 (ILL_PRVREG): Likewise.
10368 (ILL_COPROC): Likewise.
10369 (ILL_BADSTK): Likewise.
10370 (FPE_INTDIV): Likewise.
10371 (FPE_INTOVF): Likewise.
10372 (FPE_FLTDIV): Likewise.
10373 (FPE_FLTOVF): Likewise.
10374 (FPE_FLTUND): Likewise.
10375 (FPE_FLTRES): Likewise.
10376 (FPE_FLTINV): Likewise.
10377 (FPE_FLTSUB): Likewise.
10378 (SEGV_MAPERR): Likewise.
10379 (SEGV_ACCERR): Likewise.
10380 (BUS_ADRALN): Likewise.
10381 (BUS_ADRERR): Likewise.
10382 (BUS_OBJERR): Likewise.
10383 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10384 (TRAP_TRACE): Likewise.
10385 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10387 (CLD_KILLED): Likewise.
10388 (CLD_DUMPED): Likewise.
10389 (CLD_TRAPPED): Likewise.
10390 (CLD_STOPPED): Likewise.
10391 (CLD_CONTINUED): Likewise.
10392 (POLL_IN): Likewise.
10393 (POLL_OUT): Likewise.
10394 (POLL_MSG): Likewise.
10395 (POLL_ERR): Likewise.
10396 (POLL_PRI): Likewise.
10397 (POLL_HUP): Likewise.
10398 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10400 (ILL_ILLOPN): Likewise.
10401 (ILL_ILLADR): Likewise.
10402 (ILL_ILLTRP): Likewise.
10403 (ILL_PRVOPC): Likewise.
10404 (ILL_PRVREG): Likewise.
10405 (ILL_COPROC): Likewise.
10406 (ILL_BADSTK): Likewise.
10407 (FPE_INTDIV): Likewise.
10408 (FPE_INTOVF): Likewise.
10409 (FPE_FLTDIV): Likewise.
10410 (FPE_FLTOVF): Likewise.
10411 (FPE_FLTUND): Likewise.
10412 (FPE_FLTRES): Likewise.
10413 (FPE_FLTINV): Likewise.
10414 (FPE_FLTSUB): Likewise.
10415 (SEGV_MAPERR): Likewise.
10416 (SEGV_ACCERR): Likewise.
10417 (BUS_ADRALN): Likewise.
10418 (BUS_ADRERR): Likewise.
10419 (BUS_OBJERR): Likewise.
10420 (BUS_MCEERR_AR): Likewise.
10421 (BUS_MCEERR_AO): Likewise.
10422 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10423 (TRAP_TRACE): Likewise.
10424 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10426 (CLD_KILLED): Likewise.
10427 (CLD_DUMPED): Likewise.
10428 (CLD_TRAPPED): Likewise.
10429 (CLD_STOPPED): Likewise.
10430 (CLD_CONTINUED): Likewise.
10431 (POLL_IN): Likewise.
10432 (POLL_OUT): Likewise.
10433 (POLL_MSG): Likewise.
10434 (POLL_ERR): Likewise.
10435 (POLL_PRI): Likewise.
10436 (POLL_HUP): Likewise.
10437 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10438 (ILL_ILLOPN): Likewise.
10439 (ILL_ILLADR): Likewise.
10440 (ILL_ILLTRP): Likewise.
10441 (ILL_PRVOPC): Likewise.
10442 (ILL_PRVREG): Likewise.
10443 (ILL_COPROC): Likewise.
10444 (ILL_BADSTK): Likewise.
10445 (FPE_INTDIV): Likewise.
10446 (FPE_INTOVF): Likewise.
10447 (FPE_FLTDIV): Likewise.
10448 (FPE_FLTOVF): Likewise.
10449 (FPE_FLTUND): Likewise.
10450 (FPE_FLTRES): Likewise.
10451 (FPE_FLTINV): Likewise.
10452 (FPE_FLTSUB): Likewise.
10453 (SEGV_MAPERR): Likewise.
10454 (SEGV_ACCERR): Likewise.
10455 (BUS_ADRALN): Likewise.
10456 (BUS_ADRERR): Likewise.
10457 (BUS_OBJERR): Likewise.
10458 (BUS_MCEERR_AR): Likewise.
10459 (BUS_MCEERR_AO): Likewise.
10460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10461 (TRAP_TRACE): Likewise.
10462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10464 (CLD_KILLED): Likewise.
10465 (CLD_DUMPED): Likewise.
10466 (CLD_TRAPPED): Likewise.
10467 (CLD_STOPPED): Likewise.
10468 (CLD_CONTINUED): Likewise.
10469 (POLL_IN): Likewise.
10470 (POLL_OUT): Likewise.
10471 (POLL_MSG): Likewise.
10472 (POLL_ERR): Likewise.
10473 (POLL_PRI): Likewise.
10474 (POLL_HUP): Likewise.
10475 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10477 (ILL_ILLOPN): Likewise.
10478 (ILL_ILLADR): Likewise.
10479 (ILL_ILLTRP): Likewise.
10480 (ILL_PRVOPC): Likewise.
10481 (ILL_PRVREG): Likewise.
10482 (ILL_COPROC): Likewise.
10483 (ILL_BADSTK): Likewise.
10484 (ILL_BADIADDR): Likewise.
10485 (ILL_BREAK): Likewise.
10486 (FPE_INTDIV): Likewise.
10487 (FPE_INTOVF): Likewise.
10488 (FPE_FLTDIV): Likewise.
10489 (FPE_FLTOVF): Likewise.
10490 (FPE_FLTUND): Likewise.
10491 (FPE_FLTRES): Likewise.
10492 (FPE_FLTINV): Likewise.
10493 (FPE_FLTSUB): Likewise.
10494 (FPE_DECOVF): Likewise.
10495 (FPE_DECDIV): Likewise.
10496 (FPE_DECERR): Likewise.
10497 (FPE_INVASC): Likewise.
10498 (FPE_INVDEC): Likewise.
10499 (SEGV_MAPERR): Likewise.
10500 (SEGV_ACCERR): Likewise.
10501 (SEGV_PSTKOVF): Likewise.
10502 (BUS_ADRALN): Likewise.
10503 (BUS_ADRERR): Likewise.
10504 (BUS_OBJERR): Likewise.
10505 (BUS_MCEERR_AR): Likewise.
10506 (BUS_MCEERR_AO): Likewise.
10507 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10508 (TRAP_TRACE): Likewise.
10509 (TRAP_BRANCH): Likewise.
10510 (TRAP_HWBKPT): Likewise.
10511 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10513 (CLD_KILLED): Likewise.
10514 (CLD_DUMPED): Likewise.
10515 (CLD_TRAPPED): Likewise.
10516 (CLD_STOPPED): Likewise.
10517 (CLD_CONTINUED): Likewise.
10518 (POLL_IN): Likewise.
10519 (POLL_OUT): Likewise.
10520 (POLL_MSG): Likewise.
10521 (POLL_ERR): Likewise.
10522 (POLL_PRI): Likewise.
10523 (POLL_HUP): Likewise.
10524 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10525 (ILL_ILLOPN): Likewise.
10526 (ILL_ILLADR): Likewise.
10527 (ILL_ILLTRP): Likewise.
10528 (ILL_PRVOPC): Likewise.
10529 (ILL_PRVREG): Likewise.
10530 (ILL_COPROC): Likewise.
10531 (ILL_BADSTK): Likewise.
10532 (FPE_INTDIV): Likewise.
10533 (FPE_INTOVF): Likewise.
10534 (FPE_FLTDIV): Likewise.
10535 (FPE_FLTOVF): Likewise.
10536 (FPE_FLTUND): Likewise.
10537 (FPE_FLTRES): Likewise.
10538 (FPE_FLTINV): Likewise.
10539 (FPE_FLTSUB): Likewise.
10540 (SEGV_MAPERR): Likewise.
10541 (SEGV_ACCERR): Likewise.
10542 (BUS_ADRALN): Likewise.
10543 (BUS_ADRERR): Likewise.
10544 (BUS_OBJERR): Likewise.
10545 (BUS_MCEERR_AR): Likewise.
10546 (BUS_MCEERR_AO): Likewise.
10547 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10548 (TRAP_TRACE): Likewise.
10549 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10551 (CLD_KILLED): Likewise.
10552 (CLD_DUMPED): Likewise.
10553 (CLD_TRAPPED): Likewise.
10554 (CLD_STOPPED): Likewise.
10555 (CLD_CONTINUED): Likewise.
10556 (POLL_IN): Likewise.
10557 (POLL_OUT): Likewise.
10558 (POLL_MSG): Likewise.
10559 (POLL_ERR): Likewise.
10560 (POLL_PRI): Likewise.
10561 (POLL_HUP): Likewise.
10562 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10563 (ILL_ILLOPN): Likewise.
10564 (ILL_ILLADR): Likewise.
10565 (ILL_ILLTRP): Likewise.
10566 (ILL_PRVOPC): Likewise.
10567 (ILL_PRVREG): Likewise.
10568 (ILL_COPROC): Likewise.
10569 (ILL_BADSTK): Likewise.
10570 (FPE_INTDIV): Likewise.
10571 (FPE_INTOVF): Likewise.
10572 (FPE_FLTDIV): Likewise.
10573 (FPE_FLTOVF): Likewise.
10574 (FPE_FLTUND): Likewise.
10575 (FPE_FLTRES): Likewise.
10576 (FPE_FLTINV): Likewise.
10577 (FPE_FLTSUB): Likewise.
10578 (SEGV_MAPERR): Likewise.
10579 (SEGV_ACCERR): Likewise.
10580 (BUS_ADRALN): Likewise.
10581 (BUS_ADRERR): Likewise.
10582 (BUS_OBJERR): Likewise.
10583 (BUS_MCEERR_AR): Likewise.
10584 (BUS_MCEERR_AO): Likewise.
10585 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10586 (TRAP_TRACE): Likewise.
10587 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10589 (CLD_KILLED): Likewise.
10590 (CLD_DUMPED): Likewise.
10591 (CLD_TRAPPED): Likewise.
10592 (CLD_STOPPED): Likewise.
10593 (CLD_CONTINUED): Likewise.
10594 (POLL_IN): Likewise.
10595 (POLL_OUT): Likewise.
10596 (POLL_MSG): Likewise.
10597 (POLL_ERR): Likewise.
10598 (POLL_PRI): Likewise.
10599 (POLL_HUP): Likewise.
10600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10601 (ILL_ILLOPN): Likewise.
10602 (ILL_ILLADR): Likewise.
10603 (ILL_ILLTRP): Likewise.
10604 (ILL_PRVOPC): Likewise.
10605 (ILL_PRVREG): Likewise.
10606 (ILL_COPROC): Likewise.
10607 (ILL_BADSTK): Likewise.
10608 (FPE_INTDIV): Likewise.
10609 (FPE_INTOVF): Likewise.
10610 (FPE_FLTDIV): Likewise.
10611 (FPE_FLTOVF): Likewise.
10612 (FPE_FLTUND): Likewise.
10613 (FPE_FLTRES): Likewise.
10614 (FPE_FLTINV): Likewise.
10615 (FPE_FLTSUB): Likewise.
10616 (SEGV_MAPERR): Likewise.
10617 (SEGV_ACCERR): Likewise.
10618 (BUS_ADRALN): Likewise.
10619 (BUS_ADRERR): Likewise.
10620 (BUS_OBJERR): Likewise.
10621 (BUS_MCEERR_AR): Likewise.
10622 (BUS_MCEERR_AO): Likewise.
10623 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10624 (TRAP_TRACE): Likewise.
10625 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10627 (CLD_KILLED): Likewise.
10628 (CLD_DUMPED): Likewise.
10629 (CLD_TRAPPED): Likewise.
10630 (CLD_STOPPED): Likewise.
10631 (CLD_CONTINUED): Likewise.
10632 (POLL_IN): Likewise.
10633 (POLL_OUT): Likewise.
10634 (POLL_MSG): Likewise.
10635 (POLL_ERR): Likewise.
10636 (POLL_PRI): Likewise.
10637 (POLL_HUP): Likewise.
10638 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10639 (ILL_ILLOPN): Likewise.
10640 (ILL_ILLADR): Likewise.
10641 (ILL_ILLTRP): Likewise.
10642 (ILL_PRVOPC): Likewise.
10643 (ILL_PRVREG): Likewise.
10644 (ILL_COPROC): Likewise.
10645 (ILL_BADSTK): Likewise.
10646 (ILL_DBLFLT): Likewise.
10647 (ILL_HARDWALL): Likewise.
10648 (FPE_INTDIV): Likewise.
10649 (FPE_INTOVF): Likewise.
10650 (FPE_FLTDIV): Likewise.
10651 (FPE_FLTOVF): Likewise.
10652 (FPE_FLTUND): Likewise.
10653 (FPE_FLTRES): Likewise.
10654 (FPE_FLTINV): Likewise.
10655 (FPE_FLTSUB): Likewise.
10656 (SEGV_MAPERR): Likewise.
10657 (SEGV_ACCERR): Likewise.
10658 (BUS_ADRALN): Likewise.
10659 (BUS_ADRERR): Likewise.
10660 (BUS_OBJERR): Likewise.
10661 (BUS_MCEERR_AR): Likewise.
10662 (BUS_MCEERR_AO): Likewise.
10663 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10664 (TRAP_TRACE): Likewise.
10665 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10667 (CLD_KILLED): Likewise.
10668 (CLD_DUMPED): Likewise.
10669 (CLD_TRAPPED): Likewise.
10670 (CLD_STOPPED): Likewise.
10671 (CLD_CONTINUED): Likewise.
10672 (POLL_IN): Likewise.
10673 (POLL_OUT): Likewise.
10674 (POLL_MSG): Likewise.
10675 (POLL_ERR): Likewise.
10676 (POLL_PRI): Likewise.
10677 (POLL_HUP): Likewise.
10678 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10679 (ILL_ILLOPN): Likewise.
10680 (ILL_ILLADR): Likewise.
10681 (ILL_ILLTRP): Likewise.
10682 (ILL_PRVOPC): Likewise.
10683 (ILL_PRVREG): Likewise.
10684 (ILL_COPROC): Likewise.
10685 (ILL_BADSTK): Likewise.
10686 (FPE_INTDIV): Likewise.
10687 (FPE_INTOVF): Likewise.
10688 (FPE_FLTDIV): Likewise.
10689 (FPE_FLTOVF): Likewise.
10690 (FPE_FLTUND): Likewise.
10691 (FPE_FLTRES): Likewise.
10692 (FPE_FLTINV): Likewise.
10693 (FPE_FLTSUB): Likewise.
10694 (SEGV_MAPERR): Likewise.
10695 (SEGV_ACCERR): Likewise.
10696 (BUS_ADRALN): Likewise.
10697 (BUS_ADRERR): Likewise.
10698 (BUS_OBJERR): Likewise.
10699 (BUS_MCEERR_AR): Likewise.
10700 (BUS_MCEERR_AO): Likewise.
10701 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10702 (TRAP_TRACE): Likewise.
10703 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10705 (CLD_KILLED): Likewise.
10706 (CLD_DUMPED): Likewise.
10707 (CLD_TRAPPED): Likewise.
10708 (CLD_STOPPED): Likewise.
10709 (CLD_CONTINUED): Likewise.
10710 (POLL_IN): Likewise.
10711 (POLL_OUT): Likewise.
10712 (POLL_MSG): Likewise.
10713 (POLL_ERR): Likewise.
10714 (POLL_PRI): Likewise.
10715 (POLL_HUP): Likewise.
10716 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10717 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10720 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10721 before #include of <time.h>.
10722 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10723 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10724 (test-xfail-UNIX98/sched.h/conform): Likewise.
10726 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10728 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10729 error absence of trapping exception support.
10730 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10732 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10734 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10735 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10736 * timezone/Makefile (testdata): Move definition above include of
10738 (test-zones): New variable.
10739 (tests-special): Add zone files.
10740 (build-testdata): Use $(evaluate-test).
10742 * elf/Makefile (tests-special): Rename tests to end with .out.
10743 ($(objpfx)noload-mem): Likewise.
10744 ($(objpfx)tst-leaks1-mem): Likewise.
10745 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10746 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10747 $(objpfx)test-iconvconfig.out.
10748 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10749 set -e inside subshell and redirect output to file.
10750 * iconvdata/Makefile (generated): Rename tests to end with .out.
10752 (tests-special): Rename tests to end with .out.
10753 ($(objpfx)mtrace-tst-loading): Likewise.
10754 * intl/Makefile (generated): Likewise.
10755 (tests-special): Likewise.
10756 ($(objpfx)mtrace-tst-gettext): Likewise.
10757 * misc/Makefile (generated): Likewise.
10758 (tests-special): Likewise.
10759 ($(objpfx)tst-error1-mem): Likewise.
10760 * nptl/Makefile (tests-special): Likewise.
10761 ($(objpfx)tst-stack3-mem): Likewise.
10762 (generated): Likewise.
10763 * posix/Makefile (generated): Likewise.
10764 (tests-special): Likewise.
10765 (xtests-special): Likewise.
10766 ($(objpfx)tst-fnmatch-mem): Likewise.
10767 ($(objpfx)bug-regex2-mem): Likewise.
10768 ($(objpfx)bug-regex14-mem): Likewise.
10769 ($(objpfx)bug-regex21-mem): Likewise.
10770 ($(objpfx)bug-regex31-mem): Likewise.
10771 ($(objpfx)tst-vfork3-mem): Likewise.
10772 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10773 ($(objpfx)tst-pcre-mem): Likewise.
10774 ($(objpfx)tst-boost-mem): Likewise.
10775 ($(objpfx)bug-ga2-mem): Likewise.
10776 ($(objpfx)bug-glob2-mem): Likewise.
10777 * resolv/Makefile (generate): Likewise.
10778 (tests-special): Likewise.
10779 (xtests-special): Likewise.
10780 (generated): Likewise.
10781 ($(objpfx)mtrace-tst-leaks): Likewise.
10782 ($(objpfx)mtrace-tst-leaks2): Likewise.
10784 * scripts/merge-test-results.sh: New file.
10785 * Makefile (tests-special-notdir): New variable.
10786 (tests): Run merge-test-results.sh.
10787 (xtests): Likewise.
10788 * Rules (tests-special-notdir): New variable.
10789 (xtests-special-notdir): Likewise.
10790 (tests): Run merge-test-results.sh
10791 (xtests): Likewise.
10793 * Makeconfig (test-xfail-name): New variable.
10794 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10795 compute variable name for expected failures.
10796 * conform/Makefile (conformtest-headers-data): New variable.
10797 (conformtest-standards): Likewise.
10798 (conformtest-headers-ISO): Likewise.
10799 (conformtest-headers-ISO99): Likewise.
10800 (conformtest-headers-ISO11): Likewise.
10801 (conformtest-headers-POSIX): Likewise.
10802 (conformtest-headers-XPG3): Likewise.
10803 (conformtest-headers-XPG4): Likewise.
10804 (conformtest-headers-UNIX98): Likewise.
10805 (conformtest-headers-XOPEN2K): Likewise.
10806 (conformtest-headers-POSIX2008): Likewise.
10807 (conformtest-headers-XOPEN2K8): Likewise.
10808 (conformtest-header-list-base): Likewise.
10809 (conformtest-header-list-tests): Likewise.
10810 (conformtest-header-base): Likewise.
10811 (conformtest-header-tests): Likewise.
10812 (tests-special): Add $(conformtest-header-list-tests). If
10813 [$(fast-check) && !$(cross-compiling)], add
10814 $(conformtest-header-tests) instead of
10815 $(objpfx)run-conformtest.out.
10816 (generated): Add $(conformtest-header-list-base). If
10817 [$(fast-check) && !$(cross-compiling)], add
10818 $(conformtest-header-base). Remove previous setting.
10819 ($(conformtest-header-list-tests)): New target.
10820 (test-xfail-run-conformtest): Remove variable.
10821 ($(objpfx)run-conformtest.out): Remove target.
10822 (test-xfail-ISO11/complex.h/conform): New variable.
10823 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10824 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10825 (test-xfail-XPG3/varargs.h/conform): Likewise.
10826 (test-xfail-XPG4/varargs.h/conform): Likewise.
10827 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10828 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10829 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10830 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10831 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10832 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10833 (test-xfail-XPG3/ftw.h/conform): Likewise.
10834 (test-xfail-XPG3/grp.h/conform): Likewise.
10835 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10836 (test-xfail-XPG3/limits.h/conform): Likewise.
10837 (test-xfail-XPG3/pwd.h/conform): Likewise.
10838 (test-xfail-XPG3/search.h/conform): Likewise.
10839 (test-xfail-XPG3/signal.h/conform): Likewise.
10840 (test-xfail-XPG3/stdio.h/conform): Likewise.
10841 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10842 (test-xfail-XPG3/string.h/conform): Likewise.
10843 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10844 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10845 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10846 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10847 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10848 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10849 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10850 (test-xfail-XPG3/termios.h/conform): Likewise.
10851 (test-xfail-XPG3/time.h/conform): Likewise.
10852 (test-xfail-XPG3/unistd.h/conform): Likewise.
10853 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10854 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10855 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10856 (test-xfail-XPG4/netdb.h/conform): Likewise.
10857 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10858 (test-xfail-XPG4/signal.h/conform): Likewise.
10859 (test-xfail-XPG4/stdio.h/conform): Likewise.
10860 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10861 (test-xfail-XPG4/stropts.h/conform): Likewise.
10862 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10863 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10864 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10865 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10866 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10867 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10868 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10869 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10870 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10871 (test-xfail-XPG4/termios.h/conform): Likewise.
10872 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10873 (test-xfail-XPG4/unistd.h/conform): Likewise.
10874 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10875 (test-xfail-POSIX/sched.h/conform): Likewise.
10876 (test-xfail-POSIX/signal.h/conform): Likewise.
10877 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10878 (test-xfail-POSIX/tar.h/conform): Likewise.
10879 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10880 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10881 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10882 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10883 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10884 (test-xfail-UNIX98/sched.h/conform): Likewise.
10885 (test-xfail-UNIX98/signal.h/conform): Likewise.
10886 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10887 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10888 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10889 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10890 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10891 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10892 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10893 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10894 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10895 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10896 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10897 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10898 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10899 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10900 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10901 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10902 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10903 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10904 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10905 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10906 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10907 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10908 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10909 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10910 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10911 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10912 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10913 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10914 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10915 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10916 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10917 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10918 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10919 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10920 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10921 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10922 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10923 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10924 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10925 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10926 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10927 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10928 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10929 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10930 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10931 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10932 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10933 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10934 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10935 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10936 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10937 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10938 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10939 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10940 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10941 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10942 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10943 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10944 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10945 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10946 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10947 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10948 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10949 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10950 (conformtest-cc-flags): Likewise.
10951 ($(conformtest-header-tests): New target.
10952 * conform/check-header-lists.sh: New file.
10953 * conform/run-conformtest.sh: Remove.
10955 * conform/conformtest.pl: Allow ' and \ in values given for
10957 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10959 [POSIX] (sys/types.h): Likewise.
10960 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10962 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10964 * conform/data/signal.h-data (SIGIO): Remove expectation.
10965 [XPG3] (SIGBUS): Do not expect.
10966 [POSIX || XPG3] (SIGPOLL): Likewise.
10967 [POSIX || XPG3] (SIGPROF): Likewise.
10968 [POSIX || XPG3] (SIGSYS): Likewise.
10969 [XPG3] (SIGTRAP): Likewise.
10970 [POSIX || XPG3] (SIGURG): Likewise.
10971 [POSIX || XPG3] (SIGVTALRM): Likewise.
10972 [POSIX || XPG3] (SIGXCPU): Likewise.
10973 [POSIX || XPG3] (SIGXFSZ): Likewise.
10974 [POSIX] (SA_SIGINFO): Expect.
10975 [XPG3] (siginfo_t): Do not expect type or contents.
10976 [POSIX] (si_pid): Do not expect element.
10977 [POSIX] (si_uid): Likewise.
10978 [POSIX] (si_addr): Likewise.
10979 [POSIX] (si_status): Likewise.
10980 [POSIX] (si_band): Likewise.
10981 [XPG4] (si_value): Likewise.
10982 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10983 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10984 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10985 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10986 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10987 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10988 [POSIX || XPG3] (ILL_COPROC): Likewise.
10989 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10990 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10991 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10992 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10993 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10994 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10995 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10996 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10997 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10998 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10999 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11000 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11001 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11002 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11003 [POSIX || XPG3] (CLD_EXITED): Likewise.
11004 [POSIX || XPG3] (CLD_KILLED): Likewise.
11005 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11006 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11007 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11008 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11009 [POSIX || XPG3] (POLL_IN): Likewise.
11010 [POSIX || XPG3] (POLL_OUT): Likewise.
11011 [POSIX || XPG3] (POLL_MSG): Likewise.
11012 [POSIX || XPG3] (POLL_ERR): Likewise.
11013 [POSIX || XPG3] (POLL_PRI): Likewise.
11014 [POSIX || XPG3] (POLL_HUP): Likewise.
11015 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11016 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11017 (SIG*): Do not allow.
11018 [XPG3] (si_*): Likewise.
11019 [XPG3] (SI_*): Likewise.
11020 [XPG3 || XPG4] (sigev_*): Likewise.
11021 [XPG3 || XPG4] (SIGEV_*): Likewise.
11022 [XPG3 || XPG4] (sival_*): Likewise.
11023 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11024 [POSIX || XPG3] (BUS_*): Likewise.
11025 [POSIX || XPG3] (CLD_*): Likewise.
11026 [POSIX || XPG3] (FPE_*): Likewise.
11027 [POSIX || XPG3] (ILL_*): Likewise.
11028 [POSIX || XPG3] (POLL_*): Likewise.
11029 [POSIX || XPG3] (SEGV_*): Likewise.
11030 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11031 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11032 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11033 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11034 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11035 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11036 Specify type and value.
11037 (TVERSLEN): Likewise.
11038 (REGTYPE): Likewise.
11039 (AREGTYPE): Likewise.
11040 (LNKTYPE): Likewise.
11041 (SYMTYPE): Likewise.
11042 (CHRTYPE): Likewise.
11043 (BLKTYPE): Likewise.
11044 (DIRTYPE): Likewise.
11045 (FIFOTYPE): Likewise.
11046 (CONTTYPE): Likewise.
11050 (TUREAD): Likewise.
11051 (TUWRITE): Likewise.
11052 (TUEXEC): Likewise.
11053 (TGREAD): Likewise.
11054 (TGWRITE): Likewise.
11055 (TGEXEC): Likewise.
11056 (TOREAD): Likewise.
11057 (TOWRITE): Likewise.
11058 (TOEXEC): Likewise.
11059 [POSIX] (TSVTX): Expect constant.
11061 2014-03-06 Joseph Myers <joseph@codesourcery.com>
11063 * Makefile (tests): Change dependencies to ....
11064 (tests-special): ... additions to this variable.
11065 (tests): Depend on $(tests-special).
11066 * Makerules (check-abi-list): New variable.
11067 (check-abi): Depend on $(check-abi-list).
11068 [$(subdir) = elf] (tests-special): Add
11069 $(objpfx)check-abi-libc.out.
11070 [$(build-shared) = yes && subdir] (tests-special): Add
11072 [$(build-shared) = yes && subdir] (tests): Do not depend on
11074 * Rules (tests): Depend on $(tests-special).
11075 (xtests): Depend on $(xtests-special).
11076 * catgets/Makefile (tests): Change dependencies to ....
11077 (tests-special): ... additions to this variable.
11078 * conform/Makefile (tests): Change dependencies to ....
11079 (tests-special): ... additions to this variable.
11080 * elf/Makefile (tests): Change dependencies to ....
11081 (tests-special): ... additions to this variable.
11082 * grp/Makefile (tests): Change dependencies to ....
11083 (tests-special): ... additions to this variable.
11084 * iconv/Makefile (xtests): Change dependencies to ....
11085 (xtests-special): ... additions to this variable.
11086 * iconvdata/Makefile (tests): Change dependencies to ....
11087 (tests-special): ... additions to this variable.
11088 * intl/Makefile (tests): Change dependencies to ....
11089 (tests-special): ... additions to this variable. Also add
11090 $(objpfx)tst-gettext.out.
11091 * io/Makefile (tests): Change dependencies to ....
11092 (tests-special): ... additions to this variable.
11093 * libio/Makefile (tests): Change dependencies to ....
11094 (tests-special): ... additions to this variable.
11095 * malloc/Makefile (tests): Change dependencies to ....
11096 (tests-special): ... additions to this variable.
11097 * misc/Makefile (tests): Change dependencies to ....
11098 (tests-special): ... additions to this variable.
11099 * nptl/Makefile (tests): Change dependencies to ....
11100 (tests-special): ... additions to this variable.
11101 * nptl_db/Makefile (tests): Change dependencies to ....
11102 (tests-special): ... additions to this variable.
11103 * posix/Makefile (tests): Change dependencies to ....
11104 (tests-special): ... additions to this variable.
11105 (xtests): Change dependencies to ....
11106 (xtests-special): ... additions to this variable.
11107 * resolv/Makefile (tests): Change dependencies to ....
11108 (tests-special): ... additions to this variable.
11109 (xtests): Change dependencies to ....
11110 (xtests-special): ... additions to this variable.
11111 * stdio-common/Makefile (tests): Change dependencies to ....
11112 (tests-special): ... additions to this variable.
11113 (do-tst-unbputc): Remove target.
11114 (do-tst-printf): Likewise.
11115 * stdlib/Makefile (tests): Change dependencies to ....
11116 (tests-special): ... additions to this variable.
11117 * string/Makefile (tests): Change dependencies to ....
11118 (tests-special): ... additions to this variable.
11119 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11120 (tests-special): ... additions to this variable.
11122 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11124 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11126 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11127 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11129 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11130 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11131 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11132 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11133 * conform/data/libgen.h-data [XPG3]: Likewise.
11134 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11135 * conform/data/ndbm.h-data [XPG3]: Likewise.
11136 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11137 * conform/data/netdb.h-data [XPG3]: Likewise.
11138 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11139 * conform/data/poll.h-data [XPG3]: Likewise.
11140 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11141 * conform/data/strings.h-data [XPG3]: Likewise.
11142 * conform/data/stropts.h-data [XPG3]: Likewise.
11143 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11144 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11145 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11147 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11148 * conform/data/sys/time.h-data [XPG3]: Likewise.
11149 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11150 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11151 * conform/data/sys/un.h-data [XPG3]: Likewise.
11152 * conform/data/syslog.h-data [XPG3]: Likewise.
11153 * conform/data/ucontext.h-data [XPG3]: Likewise.
11154 * conform/data/utmpx.h-data [XPG3]: Likewise.
11155 * conform/data/varargs.h-data [UNIX98]: Enable file.
11157 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11159 * math/libm-test.inc (struct test_f_f_data): Move expected results
11160 into structure for each rounding mode.
11161 (struct test_ff_f_data): Likewise.
11162 (struct test_ff_f_data_nexttoward): Likewise.
11163 (struct test_fi_f_data): Likewise.
11164 (struct test_fl_f_data): Likewise.
11165 (struct test_if_f_data): Likewise.
11166 (struct test_fff_f_data): Likewise.
11167 (struct test_c_f_data): Likewise.
11168 (struct test_f_f1_data): Likewise.
11169 (struct test_fF_f1_data): Likewise.
11170 (struct test_ffI_f1_data): Likewise.
11171 (struct test_c_c_data): Likewise.
11172 (struct test_cc_c_data): Likewise.
11173 (struct test_f_i_data): Likewise.
11174 (struct test_ff_i_data): Likewise.
11175 (struct test_f_l_data): Likewise.
11176 (struct test_f_L_data): Likewise.
11177 (struct test_fFF_11_data): Likewise.
11179 (RM_FE_DOWNWARD): Likewise.
11180 (RM_FE_TONEAREST): Likewise.
11181 (RM_FE_TOWARDZERO): Likewise.
11182 (RM_FE_UPWARD): Likewise.
11183 (RUN_TEST_LOOP_f_f): Update references to expected results.
11184 (RUN_TEST_LOOP_2_f): Likewise.
11185 (RUN_TEST_LOOP_fff_f): Likewise.
11186 (RUN_TEST_LOOP_c_f): Likewise.
11187 (RUN_TEST_LOOP_f_f1): Likewise.
11188 (RUN_TEST_LOOP_fF_f1): Likewise.
11189 (RUN_TEST_LOOP_fI_f1): Likewise.
11190 (RUN_TEST_LOOP_ffI_f1): Likewise.
11191 (RUN_TEST_LOOP_c_c): Likewise.
11192 (RUN_TEST_LOOP_cc_c): Likewise.
11193 (RUN_TEST_LOOP_f_i): Likewise.
11194 (RUN_TEST_LOOP_f_i_tg): Likewise.
11195 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11196 (RUN_TEST_LOOP_f_b): Likewise.
11197 (RUN_TEST_LOOP_f_b_tg): Likewise.
11198 (RUN_TEST_LOOP_f_l): Likewise.
11199 (RUN_TEST_LOOP_f_L): Likewise.
11200 (RUN_TEST_LOOP_fFF_11): Likewise.
11201 * math/gen-libm-test.pl (parse_args): Output four copies of
11202 expected results for each test.
11204 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11205 (__ASSUME_UTIMES): Remove.
11206 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11207 (__ASSUME_UTIMES): Likewise.
11209 * math/gen-auto-libm-tests.c: Update comment on output format.
11210 (output_for_one_input_case): Generate before-rounding and
11211 after-rounding information as conditions on output flags not
11212 floating-point format.
11213 * math/auto-libm-test-out: Regenerated.
11214 * math/gen-libm-test.pl (cond_value): New function.
11215 (or_cond_value): Use cond_value.
11216 (generate_testfile): Handle conditional exceptions.
11218 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11220 * math/libm-test.inc (max_valid_error): New variable.
11221 (init_max_error): Take new argument specifying whether function
11222 results are exactly determined. Set max_valid_error and bound
11223 other variables for errors based on this argument.
11224 (set_max_error): Do not record results above max_valid_error.
11225 (check_float_internal): Only accept errors of up to 0.5ulps if
11226 also at most max_valid_error.
11227 (START): Take new argument EXACT and pass it to init_max_error.
11228 (acos_test): Update call to START.
11229 (acos_test_tonearest): Likewise.
11230 (acos_test_towardzero): Likewise.
11231 (acos_test_downward): Likewise.
11232 (acos_test_upward): Likewise.
11233 (acosh_test): Likewise.
11234 (asin_test): Likewise.
11235 (asin_test_tonearest): Likewise.
11236 (asin_test_towardzero): Likewise.
11237 (asin_test_downward): Likewise.
11238 (asin_test_upward): Likewise.
11239 (asinh_test): Likewise.
11240 (atan_test): Likewise.
11241 (atanh_test): Likewise.
11242 (atan2_test): Likewise.
11243 (cabs_test): Likewise.
11244 (cacos_test): Likewise.
11245 (cacosh_test): Likewise.
11246 (carg_test): Likewise.
11247 (casin_test): Likewise.
11248 (casinh_test): Likewise.
11249 (catan_test): Likewise.
11250 (catanh_test): Likewise.
11251 (cbrt_test): Likewise.
11252 (ccos_test): Likewise.
11253 (ccosh_test): Likewise.
11254 (ceil_test): Likewise.
11255 (cexp_test): Likewise.
11256 (cimag_test): Likewise.
11257 (clog_test): Likewise.
11258 (clog10_test): Likewise.
11259 (conj_test): Likewise.
11260 (copysign_test): Likewise.
11261 (cos_test): Likewise.
11262 (cos_test_tonearest): Likewise.
11263 (cos_test_towardzero): Likewise.
11264 (cos_test_downward): Likewise.
11265 (cos_test_upward): Likewise.
11266 (cosh_test): Likewise.
11267 (cosh_test_tonearest): Likewise.
11268 (cosh_test_towardzero): Likewise.
11269 (cosh_test_downward): Likewise.
11270 (cosh_test_upward): Likewise.
11271 (cpow_test): Likewise.
11272 (cproj_test): Likewise.
11273 (creal_test): Likewise.
11274 (csin_test): Likewise.
11275 (csinh_test): Likewise.
11276 (csqrt_test): Likewise.
11277 (ctan_test): Likewise.
11278 (ctan_test_tonearest): Likewise.
11279 (ctan_test_towardzero): Likewise.
11280 (ctan_test_downward): Likewise.
11281 (ctan_test_upward): Likewise.
11282 (ctanh_test): Likewise.
11283 (ctanh_test_tonearest): Likewise.
11284 (ctanh_test_towardzero): Likewise.
11285 (ctanh_test_downward): Likewise.
11286 (ctanh_test_upward): Likewise.
11287 (erf_test): Likewise.
11288 (erfc_test): Likewise.
11289 (exp_test): Likewise.
11290 (exp_test_tonearest): Likewise.
11291 (exp_test_towardzero): Likewise.
11292 (exp_test_downward): Likewise.
11293 (exp_test_upward): Likewise.
11294 (exp10_test): Likewise.
11295 (exp10_test_tonearest): Likewise.
11296 (exp10_test_towardzero): Likewise.
11297 (exp10_test_downward): Likewise.
11298 (exp10_test_upward): Likewise.
11299 (pow10_test): Likewise.
11300 (exp2_test): Likewise.
11301 (expm1_test): Likewise.
11302 (expm1_test_tonearest): Likewise.
11303 (expm1_test_towardzero): Likewise.
11304 (expm1_test_downward): Likewise.
11305 (expm1_test_upward): Likewise.
11306 (fabs_test): Likewise.
11307 (fdim_test): Likewise.
11308 (floor_test): Likewise.
11309 (fma_test): Likewise.
11310 (fma_test_towardzero): Likewise.
11311 (fma_test_downward): Likewise.
11312 (fma_test_upward): Likewise.
11313 (fmax_test): Likewise.
11314 (fmin_test): Likewise.
11315 (fmod_test): Likewise.
11316 (fpclassify_test): Likewise.
11317 (frexp_test): Likewise.
11318 (hypot_test): Likewise.
11319 (ilogb_test): Likewise.
11320 (isfinite_test): Likewise.
11321 (finite_test): Likewise.
11322 (isgreater_test): Likewise.
11323 (isgreaterequal_test): Likewise.
11324 (isinf_test): Likewise.
11325 (isless_test): Likewise.
11326 (islessequal_test): Likewise.
11327 (islessgreater_test): Likewise.
11328 (isnan_test): Likewise.
11329 (isnormal_test): Likewise.
11330 (issignaling_test): Likewise.
11331 (isunordered_test): Likewise.
11332 (j0_test): Likewise.
11333 (j1_test): Likewise.
11334 (jn_test): Likewise.
11335 (ldexp_test): Likewise.
11336 (lgamma_test): Likewise.
11337 (gamma_test): Likewise.
11338 (lrint_test): Likewise.
11339 (lrint_test_tonearest): Likewise.
11340 (lrint_test_towardzero): Likewise.
11341 (lrint_test_downward): Likewise.
11342 (lrint_test_upward): Likewise.
11343 (llrint_test): Likewise.
11344 (llrint_test_tonearest): Likewise.
11345 (llrint_test_towardzero): Likewise.
11346 (llrint_test_downward): Likewise.
11347 (llrint_test_upward): Likewise.
11348 (log_test): Likewise.
11349 (log10_test): Likewise.
11350 (log1p_test): Likewise.
11351 (log2_test): Likewise.
11352 (logb_test): Likewise.
11353 (logb_test_downward): Likewise.
11354 (lround_test): Likewise.
11355 (llround_test): Likewise.
11356 (modf_test): Likewise.
11357 (nearbyint_test): Likewise.
11358 (nextafter_test): Likewise.
11359 (nexttoward_test): Likewise.
11360 (pow_test): Likewise.
11361 (pow_test_tonearest): Likewise.
11362 (pow_test_towardzero): Likewise.
11363 (pow_test_downward): Likewise.
11364 (pow_test_upward): Likewise.
11365 (remainder_test): Likewise.
11366 (drem_test): Likewise.
11367 (remainder_test_tonearest): Likewise.
11368 (drem_test_tonearest): Likewise.
11369 (remainder_test_towardzero): Likewise.
11370 (drem_test_towardzero): Likewise.
11371 (remainder_test_downward): Likewise.
11372 (drem_test_downward): Likewise.
11373 (remainder_test_upward): Likewise.
11374 (drem_test_upward): Likewise.
11375 (remquo_test): Likewise.
11376 (rint_test): Likewise.
11377 (rint_test_tonearest): Likewise.
11378 (rint_test_towardzero): Likewise.
11379 (rint_test_downward): Likewise.
11380 (rint_test_upward): Likewise.
11381 (round_test): Likewise.
11382 (scalb_test): Likewise.
11383 (scalbn_test): Likewise.
11384 (scalbln_test): Likewise.
11385 (signbit_test): Likewise.
11386 (sin_test): Likewise.
11387 (sin_test_tonearest): Likewise.
11388 (sin_test_towardzero): Likewise.
11389 (sin_test_downward): Likewise.
11390 (sin_test_upward): Likewise.
11391 (sincos_test): Likewise.
11392 (sinh_test): Likewise.
11393 (sinh_test_tonearest): Likewise.
11394 (sinh_test_towardzero): Likewise.
11395 (sinh_test_downward): Likewise.
11396 (sinh_test_upward): Likewise.
11397 (sqrt_test): Likewise.
11398 (sqrt_test_tonearest): Likewise.
11399 (sqrt_test_towardzero): Likewise.
11400 (sqrt_test_downward): Likewise.
11401 (sqrt_test_upward): Likewise.
11402 (tan_test): Likewise.
11403 (tan_test_tonearest): Likewise.
11404 (tan_test_towardzero): Likewise.
11405 (tan_test_downward): Likewise.
11406 (tan_test_upward): Likewise.
11407 (tanh_test): Likewise.
11408 (tgamma_test): Likewise.
11409 (trunc_test): Likewise.
11410 (y0_test): Likewise.
11411 (y1_test): Likewise.
11412 (yn_test): Likewise.
11413 (significand_test): Likewise.
11415 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11416 individual tests in comment.
11417 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11418 (prev_max_error): New variable.
11419 (prev_real_max_error): Likewise.
11420 (prev_imag_max_error): Likewise.
11421 (compare_ulp_data): Don't refer to test names in comment.
11422 (find_test_ulps): Remove function.
11423 (find_function_ulps): Likewise.
11424 (find_complex_function_ulps): Likewise.
11425 (init_max_error): Take function name as argument. Look up ulps
11427 (print_ulps): Remove function.
11428 (print_max_error): Use prev_max_error instead of calling
11429 find_function_ulps.
11430 (print_complex_max_error): Use prev_real_max_error and
11431 prev_imag_max_error instead of calling find_complex_function_ulps.
11432 (check_float_internal): Take max_ulp parameter instead of calling
11433 find_test_ulps. Don't call print_ulps.
11434 (check_float): Update call to check_float_internal.
11435 (check_complex): Update calls to check_float_internal.
11436 (START): Pass argument to init_max_error.
11437 * math/gen-libm-test.pl (%results): Don't include "kind"
11439 (parse_ulps): Don't handle ulps of individual tests.
11440 (print_ulps_file): Likewise.
11441 (output_ulps): Likewise.
11442 * math/README.libm-test: Update.
11443 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11445 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11446 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11447 * sysdeps/arm/libm-test-ulps: Likewise.
11448 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11449 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11450 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11451 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11452 * sysdeps/microblaze/libm-test-ulps: Likewise.
11453 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11454 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11455 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11456 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11457 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11458 * sysdeps/sh/libm-test-ulps: Likewise.
11459 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11460 * sysdeps/tile/libm-test-ulps: Likewise.
11461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11463 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11465 * math/libm-test.inc (print_complex_max_error): Check separately
11466 whether real and imaginary errors are within allowed range and
11467 pass 0 to print_complex_function_ulps instead of value within
11470 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11472 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11474 (get_handles_fopen): Likewise.
11475 (do_write_test): Likewise.
11477 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11479 * libio/fileops.c (do_ftell): Use cached offset when
11481 * libio/iofwide.c (do_ftell_wide): Likewise.
11482 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11484 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11487 * libio/libioP.h (get_file_offset): New function.
11488 * libio/fileops.c (get_file_offset): Likewise.
11489 (do_ftell): Likewise.
11490 (_IO_new_file_seekoff): Split out ftell logic.
11491 * libio/wfileops.c (do_ftell_wide): Likewise.
11492 (_IO_wfile_seekoff): Split out ftell logic.
11493 * libio/tst-ftell-active-handler.c: New test case.
11494 * libio/Makefile (tests): Add it.
11496 2014-03-03 Roland McGrath <roland@hack.frob.com>
11498 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11499 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11501 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11504 * nscd/connections.c (nscd_init): Call do_exit.
11505 (start_threads): Call do_exit and notify_parent.
11506 (begin_drop_privileges): Call do_exit.
11507 (finish_drop_privileges): Likewise.
11508 * nscd/selinux.c (preserve_capabilities): Likewise.
11509 (install_real_capabilities): Likewise.
11510 (nscd_selinux_enabled): Likewise.
11511 (avc_create_thread): Likewise.
11512 (avc_alloc_lock): Likewise.
11513 (nscd_avc_init): Likewise.
11514 * nscd/nscd.c (parent_fd): New static variable.
11515 (main): Create a pipe between parent and child processes.
11516 Skip closing parent_fd.
11517 (monitor_child): New function.
11518 (do_exit): Likewise.
11519 (notify_parent): Likewise.
11520 * nscd/nscd.h (notify_parent): Likewise.
11521 (do_exit): Likewise.
11523 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11525 * malloc/malloc.c (__libc_calloc): Revert last change.
11527 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11531 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11533 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11537 (__libc_ifunc_impl_list): Likewise.
11538 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11539 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11540 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11541 * string/strrchr.c: Define STRRCHR.
11543 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11545 * benchtest/bench-strtok.c (simple_strtok): Delete.
11546 (strtok_string): Use as benchmark.
11547 * string/strtok (STRTOK): New macro.
11549 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11551 * manual/threads.texi: Add header and standard comments to all
11554 * elf/dl-lookup.c (check_match): New function.
11555 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11556 (do_lookup_x): Remove nested function check_match. Use non-nested
11557 function check_match.
11559 2014-02-28 Roland McGrath <roland@hack.frob.com>
11561 * csu/Makefile (generated, before-compile): Use += rather than =.
11562 * catgets/Makefile (generated, generated-dirs): Likewise.
11563 * debug/Makefile (generated): Likewise.
11564 * dlfcn/Makefile (generated): Likewise.
11565 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11566 * iconvdata/Makefile (before-compile, generated): Likewise.
11567 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11568 * libio/Makefile (generated): Likewise.
11569 * malloc/Makefile (generated): Likewise.
11570 * manual/Makefile (generated, generated-dirs): Likewise.
11571 * misc/Makefile (generated): Likewise.
11572 * posix/Makefile (generated): Likewise.
11573 * resolv/Makefile (generated): Likewise.
11574 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11575 * timezone/Makefile (generated, generated-dirs): Likewise.
11577 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11579 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11582 power8 implementation.
11583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11584 file: POWER8 llround ifunc implementation.
11585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11586 (__lllround): Add POWER8 implementation.
11587 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11588 POWER8 llround implementation.
11590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11591 power8 implementation.
11592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11593 file: POWER8 llrint ifunc implementation.
11594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11595 Add POWER8 implementation.
11596 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11597 POWER8 llrint implementation.
11599 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11600 power8 implementation.
11601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11602 file: POWER8 finite ifunc implementation.
11603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11604 Add POWER8 implementation.
11605 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11607 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11608 POWER8 finite implementation.
11609 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11612 power8 implementation.
11613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11614 file: POWER8 isinf ifunc implementation.
11615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11616 POWER8 implementation.
11617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11619 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11620 isinf implementation.
11621 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11623 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11624 (INIT_ARCH): Add hwcap2 initialization.
11625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11626 power8 implementation.
11627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11628 file: POWER8 isnan ifunc implementation.
11629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11630 POWER8 implementation.
11631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11633 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11634 isnan implementation.
11635 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11637 2014-02-27 Joey Ye <joey.ye@arm.com>
11639 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11640 (_FP_NANFRAC_Q): Set to zero.
11642 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11645 * math/auto-libm-test-in: New test inputs.
11646 * math/auto-libm-test-out: Regenerate.
11647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11650 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11652 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11654 * scripts/evaluate-test.sh: Take new argument indicating whether
11655 failure is expected.
11656 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11657 indicating whether failure is expected.
11658 * conform/Makefile (test-xfail-run-conformtest): New variable.
11659 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11661 * posix/Makefile (test-xfail-annexc): New variable.
11662 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11664 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11666 * argp/Makefile: Include Makeconfig immediately after defining
11668 * assert/Makefile: Likewise.
11669 * benchtests/Makefile: Likewise.
11670 * catgets/Makefile: Likewise.
11671 * conform/Makefile: Likewise.
11672 * crypt/Makefile: Likewise.
11673 * csu/Makefile: Likewise.
11674 (all): Remove target.
11675 * ctype/Makefile: Include Makeconfig immediately after defining
11677 * debug/Makefile: Likewise.
11678 * dirent/Makefile: Likewise.
11679 * dlfcn/Makefile: Likewise.
11680 * gmon/Makefile: Likewise.
11681 * gnulib/Makefile: Likewise.
11682 * grp/Makefile: Likewise.
11683 * gshadow/Makefile: Likewise.
11684 * hesiod/Makefile: Likewise.
11685 * hurd/Makefile: Likewise.
11686 (all): Remove target.
11687 * iconvdata/Makefile: Include Makeconfig immediately after
11689 * inet/Makefile: Likewise.
11690 * intl/Makefile: Likewise.
11691 * io/Makefile: Likewise.
11692 * libio/Makefile: Likewise.
11693 (all): Remove target.
11694 * locale/Makefile: Include Makeconfig immediately after defining
11696 * login/Makefile: Likewise.
11697 * mach/Makefile: Likewise.
11698 (all): Remove target.
11699 * malloc/Makefile: Include Makeconfig immediately after defining
11701 (all): Remove target.
11702 * manual/Makefile: Include Makeconfig immediately after defining
11704 * math/Makefile: Likewise.
11705 * misc/Makefile: Likewise.
11706 * nis/Makefile: Likewise.
11707 * nss/Makefile: Likewise.
11708 * po/Makefile: Likewise.
11709 (all): Remove target.
11710 * posix/Makefile: Include Makeconfig immediately after defining
11712 * pwd/Makefile: Likewise.
11713 * resolv/Makefile: Likewise.
11714 * resource/Makefile: Likewise.
11715 * rt/Makefile: Likewise.
11716 * setjmp/Makefile: Likewise.
11717 * shadow/Makefile: Likewise.
11718 * signal/Makefile: Likewise.
11719 * socket/Makefile: Likewise.
11720 * soft-fp/Makefile: Likewise.
11721 * stdio-common/Makefile: Likewise.
11722 * stdlib/Makefile: Likewise.
11723 * streams/Makefile: Likewise.
11724 * string/Makefile: Likewise.
11725 * sunrpc/Makefile: Likewise.
11726 (all): Remove target.
11727 * sysvipc/Makefile: Include Makeconfig immediately after defining
11729 * termios/Makefile: Likewise.
11730 * time/Makefile: Likewise.
11731 * timezone/Makefile: Likewise.
11732 (all): Remove target.
11733 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11735 * wctype/Makefile: Likewise.
11737 2014-02-26 Steve Ellcey <sellcey@mips.com>
11739 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11740 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11741 (libc_feholdexcept_setround_mips): Ditto.
11742 (libc_feholdsetround): New.
11743 (libc_feholdsetroundf): New.
11744 (libc_feholdsetroundl): New.
11745 (libc_feupdateenv_test_mips): New.
11746 (libc_feupdateenv_test): New.
11747 (libc_feupdateenv_testf): New.
11748 (libc_feupdateenv_testl): New.
11749 (libc_feresetround): New.
11750 (libc_feresetroundf): New.
11751 (libc_feresetroundl): New.
11752 (libc_fetestexcept_mips): New.
11753 (libc_fetestexcept): New.
11754 (libc_fetestexceptf): New.
11755 (libc_fetestexceptl): New.
11756 (HAVE_RM_CTX): New.
11757 (libc_feholdexcept_setround_mips_ctx): New.
11758 (libc_feholdexcept_setround_ctx): New.
11759 (libc_feholdexcept_setroundf_ctx): New.
11760 (libc_feholdexcept_setroundl_ctx): New.
11761 (libc_fesetenv_mips_ctx): New.
11762 (libc_fesetenv_ctx): New.
11763 (libc_fesetenv_ctxf): New.
11764 (libc_fesetenv_ctxl): New.
11765 (libc_feupdateenv_mips_ctx): New.
11766 (libc_feupdateenv_ctx): New.
11767 (libc_feupdateenvf_ctx): New.
11768 (libc_feupdateenvl_ctx): New.
11769 (libc_feholdsetround_mips_ctx): New.
11770 (libc_feholdsetround_ctx): New.
11771 (libc_feholdsetroundf_ctx): New.
11772 (libc_feholdsetroundl_ctx): New.
11773 (libc_feresetround_mips_ctx): New.
11774 (libc_feresetround_ctx): New.
11775 (libc_feresetroundf_ctx): New.
11776 (libc_feresetroundl_ctx): New.
11778 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11780 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11782 * manual/ipc.texi: New file.
11783 * manual/Makefile (chapters): Add ipc.
11784 * manual/job.texi: Add "Inter-Process Communication" to next.
11785 * manual/process.texi: Add "Inter-Process Communication" to prev.
11787 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11791 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11793 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11795 * manual/arith.texi: Fix spaces after sentences.
11796 * manual/charset.texi: Likewise.
11797 * manual/errno.texi: Likewise.
11798 * manual/install.texi: Likewise.
11799 * manual/llio.texi: Likewise.
11800 * manual/locale.texi: Likewise.
11801 * manual/maint.texi: Likewise.
11802 * manual/math.texi: Likewise.
11803 * manual/memory.texi: Likewise.
11804 * manual/message.texi: Likewise.
11805 * manual/probes.texi: Likewise.
11806 * manual/resource.texi: Likewise.
11807 * manual/signal.texi: Likewise.
11808 * manual/socket.texi: Likewise.
11809 * manual/stdio.texi: Likewise.
11810 * manual/string.texi: Likewise.
11811 * manual/time.texi: Likewise.
11812 * manual/users.texi: Likewise.
11814 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11817 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11818 _DEFAULT_SOURCE is defined.
11820 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11821 Carlos O'Donell <carlos@redhat.com>
11824 * elf/dl-tls.c (_dl_count_modids): New function.
11825 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11826 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11827 audit library and increment generation counter.
11828 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11829 * elf/tst-audit9.c: New file.
11830 * elf/tst-auditmod9a.c: New file.
11831 * elf/tst-auditmod9b.c: New file.
11832 * elf/Makefile: Add rules to build and run tst-audit9.
11834 2014-02-25 Florian Weimer <fweimer@redhat.com>
11837 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11839 2014-02-25 Will Newton <will.newton@linaro.org>
11841 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11842 (__longjmp): Restore sp and lr before restoring callee
11843 saved registers. Add longjmp and longjmp_target
11844 SystemTap probe point.
11845 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11846 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11847 Define to zero to match jmpbuf layout.
11848 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11849 (__sigsetjmp): Save sp and lr before saving callee
11850 saved registers. Add setjmp SystemTap probe point.
11852 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11854 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11856 2014-02-24 Andreas Schwab <schwab@suse.de>
11859 * elf/pldd.c (wait_for_ptrace_stop): New function.
11860 (main): Call it after attaching.
11862 2014-02-22 Roland McGrath <roland@hack.frob.com>
11864 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11865 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11866 Versions files is now verboten.
11867 * hurd/Versions (libc: GLIBC_2.0):
11868 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11869 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11870 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11871 * mach/Versions: Likewise.
11873 * csu/Versions: Remove unused %include.
11874 * resolv/Versions: Likewise.
11876 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11878 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11879 ($(objpfx)check-local-headers.out): Likewise.
11880 ($(objpfx)begin-end-check.out): Likewise.
11881 * Makerules (check-abi-%.out): Likewise.
11882 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11883 ($(objpfx)test2.cat): Likewise.
11884 ($(objpfx)de/libc.cat): Likewise.
11885 ($(objpfx)test-gencat.out): Likewise.
11886 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11887 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11888 ($(objpfx)noload-mem): Likewise.
11889 ($(objpfx)tst-pathopt.out): Likewise.
11890 ($(objpfx)tst-rtld-load-self.out): Likewise.
11891 ($(objpfx)tst-array1-cmp.out): Likewise.
11892 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11893 ($(objpfx)tst-array2-cmp.out): Likewise.
11894 ($(objpfx)tst-array3-cmp.out): Likewise.
11895 ($(objpfx)tst-array4-cmp.out): Likewise.
11896 ($(objpfx)tst-array5-cmp.out): Likewise.
11897 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11898 ($(objpfx)check-textrel.out): Likewise.
11899 ($(objpfx)check-execstack.out): Likewise.
11900 ($(objpfx)check-localplt.out): Likewise.
11901 ($(objpfx)order2-cmp.out): Likewise.
11902 ($(objpfx)tst-leaks1-mem): Likewise.
11903 ($(objpfx)tst-leaks1-static-mem): Likewise.
11904 ($(objpfx)tst-initorder-cmp.out): Likewise.
11905 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11906 ($(objpfx)tst-unused-dep.out): Likewise.
11907 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11908 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11909 * iconv/Makefile (test-iconvconfig): Likewise.
11910 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11911 ($(objpfx)iconv-test.out): Likewise.
11912 ($(objpfx)tst-tables.out): Likewise.
11913 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11914 ($(objpfx)tst-gettext.out): Likewise.
11915 ($(objpfx)tst-translit.out): Likewise.
11916 ($(objpfx)tst-gettext2.out): Likewise.
11917 ($(objpfx)tst-gettext4.out): Likewise.
11918 ($(objpfx)tst-gettext6.out): Likewise.
11919 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11920 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11921 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11922 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11923 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11924 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11925 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11926 ($(objpfx)wordexp-tst.out): Likewise.
11927 ($(objpfx)annexc.out): Likewise.
11928 ($(objpfx)tst-fnmatch-mem): Likewise.
11929 ($(objpfx)bug-regex2-mem): Likewise.
11930 ($(objpfx)bug-regex14-mem): Likewise.
11931 ($(objpfx)bug-regex21-mem): Likewise.
11932 ($(objpfx)bug-regex31-mem): Likewise.
11933 ($(objpfx)tst-vfork3-mem): Likewise.
11934 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11935 ($(objpfx)tst-pcre-mem): Likewise.
11936 ($(objpfx)tst-boost-mem): Likewise.
11937 ($(objpfx)tst-getconf.out): Likewise.
11938 ($(objpfx)bug-ga2-mem): Likewise.
11939 ($(objpfx)bug-glob2-mem): Likewise.
11940 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11941 ($(objpfx)mtrace-tst-leaks2): Likewise.
11942 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11943 ($(objpfx)tst-printf.out): Likewise.
11944 ($(objpfx)tst-setvbuf1.out): Likewise.
11945 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11946 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11947 ($(objpfx)tst-fmtmsg.out): Likewise.
11948 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11949 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11951 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11952 * bits/sigaction.h [__USE_MISC]: Likewise.
11953 * bits/waitstatus.h: Update #endif comments.
11954 * ctype/ctype.h: Likewise.
11955 * dirent/dirent.h: Likewise.
11956 [__USE_MISC]: Remove redundant conditionals.
11957 * grp/grp.h: Update #endif comments.
11958 [__USE_GNU]: Remove redundant conditionals.
11959 [__USE_MISC]: Likewise.
11960 * inet/netinet/in.h [__USE_GNU]: Likewise.
11961 * io/sys/stat.h [__USE_MISC]: Likewise.
11962 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11963 * libio/bits/stdio.h: Update #endif comments.
11964 [__USE_MISC]: Remove redundant conditionals.
11965 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11966 * libio/stdio.h: Update #endif comments.
11967 [__USE_MISC]: Remove redundant conditionals.
11968 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11969 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11970 * math/math.h: Update #else and #endif comments.
11971 [__USE_MISC]: Remove redundant conditionals.
11972 * misc/sys/uio.h: Update #endif comments.
11973 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11974 * posix/glob.h [__USE_MISC]: Likewise.
11975 * posix/sys/types.h: Update #endif comments.
11976 [__USE_MISC]: Remove redundant conditionals.
11977 * posix/sys/wait.h: Update #endif comments.
11978 [__USE_MISC]: Remove redundant conditionals.
11979 * posix/unistd.h: Update #endif comments.
11980 [__USE_MISC]: Remove redundant conditionals.
11981 * pwd/pwd.h [__USE_GNU]: Likewise.
11982 [__USE_MISC]: Likewise.
11983 * resolv/netdb.h [__USE_GNU]: Likewise.
11984 * signal/signal.h: Update #endif comments.
11985 [__USE_MISC]: Remove redundant conditionals.
11986 * stdlib/stdlib.h: Update #else and #endif comments.
11987 [__USE_MISC]: Remove redundant conditionals.
11988 [__USE_GNU]: Likewise.
11989 * string/bits/string2.h [__USE_MISC]: Likewise.
11990 * string/string.h: Update #endif comments.
11991 [__USE_MISC]: Remove redundant conditionals.
11992 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11994 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11995 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11996 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11998 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12000 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12002 [__USE_MISC]: Remove redundant conditionals.
12003 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12004 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12005 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12006 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12007 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12009 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12010 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12012 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12013 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12015 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12017 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12018 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12020 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12022 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12023 * sysdeps/x86/bits/string.h: Update #endif comments.
12024 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12026 * time/sys/time.h: Update #endif comments.
12027 * time/time.h: Likewise.
12028 [__USE_MISC]: Remove redundant conditionals.
12030 2014-02-21 Yury Gribov <y.gribov@samsung.com>
12033 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12035 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12037 * Versions.def (librt): Add GLIBC_2.17.
12039 2014-02-21 Adam Conrad <adconrad@0c3.net>
12041 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12042 synonym for _SYS_AUXV_H to allow direct inclusion.
12043 * sysdeps/sparc/bits/hwcap.h: Likewise.
12044 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12045 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12046 * sysdeps/sparc/sysdep.h: Likewise.
12048 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12050 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12052 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12054 * benchtests/bench-strrchr.c: Print length instead of position.
12056 2014-02-20 Joseph Myers <joseph@codesourcery.com>
12059 * sysdeps/unix/sysv/linux/kernel-features.h
12060 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12061 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12062 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12063 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12065 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12066 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12067 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12068 (__ASSUME_SENDMMSG): Define instead of using previous
12069 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12071 (__ASSUME_SENDMMSG_SYSCALL): Define.
12072 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12073 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12075 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12076 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12078 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12079 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12081 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12082 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12083 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12084 [__ASSUME_SENDMMSG]: Change conditionals to
12085 [__ASSUME_SENDMMSG_SOCKETCALL].
12086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12087 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12089 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12090 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12092 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12093 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12094 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12095 [!__ASSUME_SENDMMSG]: Change conditional to
12096 [!__ASSUME_SENDMMSG_SOCKETCALL].
12097 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12098 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12102 * sysdeps/unix/sysv/linux/kernel-features.h
12103 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12104 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12105 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12106 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12107 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12108 [__i386__ || __sparc__]
12109 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12110 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12111 (__ASSUME_RECVMMSG): Define instead of using previous
12112 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12113 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12114 (__ASSUME_RECVMMSG_SYSCALL): Define.
12115 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12116 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12118 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12119 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12121 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12122 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12124 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12125 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12126 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12127 [__ASSUME_RECVMMSG]: Change condition to
12128 [__ASSUME_RECVMMSG_SOCKETCALL].
12129 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12130 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12132 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12133 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12134 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12136 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12137 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12138 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12139 [!__ASSUME_RECVMMSG]: Change condition to
12140 [!__ASSUME_RECVMMSG_SOCKETCALL].
12141 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12142 (__ASSUME_RECVMMSG_SYSCALL): Define.
12145 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12146 __powerpc__ || __s390__ || __sh__ || __sparc__]
12147 (__ASSUME_SOCKETCALL): Define.
12148 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12149 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12150 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12151 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12152 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12153 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12154 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12155 (__ASSUME_ACCEPT4): Define instead of using previous
12156 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12157 __powerpc__ || __sparc__ || __s390__)] condition.
12158 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12159 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12160 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12161 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12162 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12163 [!__ASSUME_ACCEPT4]: Change condition to
12164 [!__ASSUME_ACCEPT4_SOCKETCALL].
12165 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12166 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12167 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12168 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12169 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12170 __ASSUME_ACCEPT4_SYSCALL.
12171 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12172 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12173 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12174 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12175 __ASSUME_ACCEPT4_SYSCALL.
12176 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12177 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12178 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12179 [__ASSUME_ACCEPT4]: Change condition to
12180 [__ASSUME_ACCEPT4_SOCKETCALL].
12181 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12182 (__ASSUME_SOCKETCALL): Define.
12183 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12184 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12185 (__ASSUME_SOCKETCALL): Define.
12186 (__ASSUME_ACCEPT4): Remove.
12187 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12189 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12190 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12192 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12193 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12195 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12197 (HWCAP_ARM_LPAE): Likewise.
12198 (HWCAP_ARM_EVTSTRM): Likewise.
12199 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12200 Add vpfd32, lpae and evtstrm.
12201 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12204 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12206 * math/auto-libm-test-in: Add tests of clog10.
12207 * math/auto-libm-test-out: Regenerated.
12208 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12209 * sysdeps/i386/fpu/libm-test-ulps: Update.
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12212 2014-02-18 Andreas Schwab <schwab@suse.de>
12215 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12216 Store non-zero if the second buffer was newly allocated.
12217 (send_dg): Likewise.
12218 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12219 to send_vc and send_dg.
12220 (res_nsend): Pass NULL for ansp2_malloced.
12221 * resolv/res_query.c (__libc_res_nquery): Add parameter
12222 answerp2_malloced and pass it down to __libc_res_nsend.
12223 (res_nquery): Pass additional NULL to __libc_res_nquery.
12224 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12225 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12226 second answer buffer if answerp2_malloced was set.
12227 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12228 (__libc_res_nquerydomain): Add parameter
12229 answerp2_malloced and pass it down to __libc_res_nquery.
12230 (res_nquerydomain): Pass additional NULL to
12231 __libc_res_nquerydomain.
12232 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12233 additional NULL to __libc_res_nsend and __libc_res_nquery.
12234 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12235 additional NULL to __libc_res_nsearch.
12236 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12237 parameter of __libc_res_nsearch to check for separately allocated
12239 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12241 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12242 additional NULL to __libc_res_nquery.
12243 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12244 __libc_res_nsearch.
12245 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12246 * include/resolv.h: Update prototypes of __libc_res_nquery,
12247 __libc_res_nsearch, __libc_res_nsend.
12249 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12251 * math/auto-libm-test-in: Add tests of fma.
12252 * math/auto-libm-test-out: Regenerated.
12253 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12254 (fma_towardzero_test_data): Likewise.
12255 (fma_downward_test_data): Likewise.
12256 (fma_upward_test_data): Likewise.
12257 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12259 (rounding_modes): Add values for new field.
12260 (func_calc_method): Add value mpfr_fff_f.
12261 (func_calc_desc): Add mpfr_fff_f union field.
12262 (test_function): Add field exact_args.
12263 (FUNC): Add macro argument EXACT_ARGS.
12264 (FUNC_mpfr_f_f): Update call to FUNC.
12265 (FUNC_mpfr_f_f): Likewise.
12266 (FUNC_mpfr_ff_f): Likewise.
12267 (FUNC_mpfr_if_f): Likewise.
12268 (FUNC_mpc_c_f): Likewise.
12269 (FUNC_mpc_c_c): Likewise.
12270 (test_functions): Add fma. Update calls to FUNC.
12271 (handle_input_arg): Add argument exact_args.
12272 (add_test): Update call to handle_input_arg.
12273 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12274 (output_for_one_input_case): Update call to calc_generic_results.
12275 Recalculate exact zero results in each rounding mode.
12277 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12278 non-negative before setting low bit.
12279 * math/auto-libm-test-in: Mark one asin test possibly having
12280 spurious underflow.
12281 * math/auto-libm-test-out: Regenerated.
12282 * sysdeps/i386/fpu/libm-test-ulps: Update.
12283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12285 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12287 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12288 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12289 ports/sysdeps/unix/sysv/linux/microblaze.
12290 * README: Add missing listing for microblaze*-*-linux-gnu.
12292 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12294 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12297 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12299 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12300 * sysdeps/unix/sysv/linux/ia64: Move directory from
12301 ports/sysdeps/unix/sysv/linux/ia64.
12302 * README: Update listing for ia64-*-linux-gnu.
12304 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12305 Joseph Myers <joseph@codesourcery.com>
12307 * Makeconfig (test-name): New variable.
12308 (evaluate-test): Likewise.
12309 * Makerules (do-test-clean): Remove .test-result files.
12310 (common-mostlyclean): Likewise.
12311 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12312 * scripts/evaluate-test.sh: New file.
12314 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12316 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12317 separate $(objpfx)tst-fopenloc-cmp.out and
12318 $(objpfx)tst-fopenloc-mem.out targets.
12319 (tests): Update dependencies.
12320 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12321 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12322 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12323 (tst-rxspencer-no-utf8-ARGS): New variable.
12324 (tst-rxspencer-no-utf8-ENV): Likewise.
12325 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12326 instead of $(objpfx)tst-rxspencer-mem.
12327 ($(objpfx)tst-rxspencer-mem): Change target to
12328 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12329 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12330 * posix/tst-rxspencer-no-utf8.c: New file.
12332 * elf/Makefile ($(objpfx)order.out): Remove rule.
12333 [$(run-built-tests) = yes] (tests): Depend on
12334 $(objpfx)order-cmp.out.
12335 ($(objpfx)order-cmp.out): New rule.
12336 [$(run-built-tests) = yes] (tests): Depend on
12337 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12338 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12339 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12340 $(objpfx)tst-array5-static-cmp.out.
12341 ($(objpfx)tst-array1.out): Remove rule.
12342 ($(objpfx)tst-array1-cmp.out): New rule.
12343 ($(objpfx)tst-array1-static.out): Remove rule.
12344 ($(objpfx)tst-array1-static-cmp.out): New rule.
12345 ($(objpfx)tst-array2.out): Remove rule.
12346 ($(objpfx)tst-array2-cmp.out): New rule.
12347 ($(objpfx)tst-array3.out): Remove rule.
12348 ($(objpfx)tst-array3-cmp.out): New rule.
12349 ($(objpfx)tst-array4.out): Remove rule.
12350 ($(objpfx)tst-array4-cmp.out): New rule.
12351 ($(objpfx)tst-array5.out): Remove rule.
12352 ($(objpfx)tst-array5-cmp.out): New rule.
12353 ($(objpfx)tst-array5-static.out): Remove rule.
12354 ($(objpfx)tst-array5-static-cmp.out): New rule.
12355 [$(run-built-tests) = yes] (tests): Depend on
12356 $(objpfx)order2-cmp.out.
12357 ($(objpfx)order2.out): Remove rule.
12358 ($(objpfx)order2-cmp.out): New rule.
12359 ($(objpfx)tst-initorder.out): Remove rule.
12360 [$(run-built-tests) = yes] (tests): Depend on
12361 $(objpfx)tst-initorder-cmp.out.
12362 ($(objpfx)tst-initorder-cmp.out): New rule.
12363 ($(objpfx)tst-initorder2.out): Remove rule.
12364 [$(run-built-tests) = yes] (tests): Depend on
12365 $(objpfx)tst-initorder2-cmp.out.
12366 ($(objpfx)tst-initorder2-cmp.out): New rule.
12367 [$(run-built-tests) = yes] (tests): Depend on
12368 $(objpfx)tst-unused-dep-cmp.out.
12369 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12370 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12371 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12372 on $(objpfx)tst-setvbuf1-cmp.out.
12373 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12374 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12375 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12376 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12377 ($(objpfx)tst-svc.out): Remove rule.
12378 ($(objpfx)tst-svc-cmp.out): New rule.
12380 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12382 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12383 * ctype/ctype.h [__USE_MISC]: Likewise.
12384 * dirent/dirent.h [__USE_MISC]: Likewise.
12385 * grp/grp.h [__USE_MISC]: Likewise.
12386 * io/fcntl.h [__USE_MISC]: Likewise.
12387 * io/sys/stat.h [__USE_MISC]: Likewise.
12388 * libio/stdio.h [__USE_MISC]: Likewise.
12389 * posix/unistd.h [__USE_MISC]: Likewise.
12390 * pwd/pwd.h [__USE_MISC]: Likewise.
12391 * stdlib.h [__USE_MISC]: Likewise.
12392 * string/bits/string2.h [__USE_MISC]: Likewise.
12393 * string/string.h [__USE_MISC]: Likewise.
12394 * time/time.h [__USE_MISC]: Likewise.
12396 2014-02-13 Andreas Schwab <schwab@suse.de>
12399 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12400 second answer buffer if it was separately allocated.
12402 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12404 * sysdeps/mips/math-tests.h: Include <features.h>.
12405 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12406 (ROUNDING_TESTS_long_double): Do not define.
12407 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12408 (EXCEPTION_TESTS_long_double): Likewise.
12409 * sysdeps/mips/mips64/libm-test-ulps: Update.
12411 * include/features.h (__USE_BSD): Remove macro definitions.
12412 (__USE_SVID): Likewise.
12413 (_BSD_SOURCE): Likewise.
12414 (_SVID_SOURCE): Likewise.
12415 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12416 from definition of _DEFAULT_SOURCE.
12417 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12419 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12420 * bits/mman.h [__USE_BSD]: Likewise.
12421 * bits/termios.h [__USE_BSD]: Likewise.
12422 * bits/waitstatus.h [__USE_BSD]: Likewise.
12423 * ctype/ctype.h [__USE_SVID]: Likewise.
12424 * dirent/dirent.h [__USE_BSD]: Likewise.
12425 * grp/grp.h [__USE_SVID]: Likewise.
12426 [__USE_BSD]: Likewise.
12427 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12428 * io/fcntl.h [__USE_BSD]: Likewise.
12429 * io/ftw.h [__USE_BSD]: Likewise.
12430 * io/sys/stat.h [__USE_BSD]: Likewise.
12431 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12432 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12433 * libio/stdio.h [__USE_SVID]: Likewise.
12434 [__USE_BSD]: Likewise.
12435 * math/math.h [__USE_SVID]: Likewise.
12436 [__USE_BSD]: Likewise.
12437 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12438 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12439 * misc/search.h [__USE_SVID]: Likewise.
12440 * misc/sys/mman.h [__USE_BSD]: Likewise.
12441 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12442 * misc/sys/uio.h [__USE_BSD]: Likewise.
12443 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12444 * posix/glob.h [__USE_BSD]: Likewise.
12445 * posix/regex.h [__USE_BSD]: Likewise.
12446 * posix/sys/types.h [__USE_BSD]: Likewise.
12447 [__USE_SVID]: Likewise.
12448 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12449 * posix/sys/wait.h [__USE_BSD]: Likewise.
12450 [__USE_SVID]: Likewise.
12451 * posix/unistd.h [__USE_BSD]: Likewise.
12452 [__USE_SVID]: Likewise.
12453 * pwd/pwd.h [__USE_SVID]: Likewise.
12454 * resolv/netdb.h [__USE_BSD]: Likewise.
12455 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12456 * signal/signal.h [__USE_BSD]: Likewise.
12457 [__USE_SVID]: Likewise.
12458 * socket/sys/socket.h [__USE_BSD]: Likewise.
12459 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12460 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12461 [__USE_SVID]: Likewise.
12462 * string/bits/string2.h [__USE_BSD]: Likewise.
12463 [__USE_SVID]: Likewise.
12464 * string/bits/string3.h [__USE_BSD]: Likewise.
12465 * string/endian.h [__USE_BSD]: Likewise.
12466 * string/string.h [__USE_SVID]: Likewise.
12467 [__USE_BSD]: Likewise.
12468 * string/strings.h [__USE_BSD]: Likewise.
12469 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12470 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12471 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12472 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12473 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12474 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12476 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12478 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12479 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12481 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12482 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12484 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12486 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12487 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12488 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12490 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12492 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12493 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12494 * termios/termios.h [__USE_BSD]: Likewise.
12495 * time/sys/time.h [__USE_BSD]: Likewise.
12496 * time/time.h [__USE_BSD]: Likewise.
12497 [__USE_SVID]: Likewise.
12499 * Makefile (subdir_targets): Remove subdir_lint.out.
12501 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12502 (do-tst-printf): Likewise.
12503 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12504 $(objpfx)tst-printf.out.
12506 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12508 * Makerules (check-abi-%): Change target to
12509 $(objpfx)check-abi-%.out.
12510 (check-abi target): Update dependencies.
12511 (check-abi-pattern variable): Redirect output of diff to $@.
12512 (check-abi variable): Likewise.
12513 * elf/Makefile (check-abi): Update dependencies.
12515 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12517 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12518 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12520 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12521 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12522 value has largest subnormal exponent.
12523 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12524 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12525 * sysdeps/aarch64/soft-fp/sfp-machine.h
12526 (_FP_TININESS_AFTER_ROUNDING): New macro.
12527 * sysdeps/alpha/soft-fp/sfp-machine.h
12528 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12529 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12531 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12532 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12533 * sysdeps/mips/soft-fp/sfp-machine.h
12534 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12535 * sysdeps/powerpc/soft-fp/sfp-machine.h
12536 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12537 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12539 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12540 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12541 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12542 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12543 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12546 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12549 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12552 2014-02-12 Richard Henderson <rth@redhat.com>
12554 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12555 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12556 * sysdeps/unix/sysv/linux/alpha: Move directory from
12557 ports/sysdeps/unix/sysv/linux/alpha.
12558 * README: Update listing for alpha-*-linux-gnu.
12560 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12562 * include/features.h: Update comment documenting feature test
12564 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12566 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12567 (_SVID_SOURCE): Likewise.
12568 (_DEFAULT_SOURCE): Update description of default features.
12569 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12571 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12572 (S_ISVTX): Likewise.
12573 * manual/math.texi (Mathematical Constants): Likewise.
12574 * manual/signal.texi (Interrupted Primitives): Likewise.
12575 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12576 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12577 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12578 Don't refer to _SVID_SOURCE in warning text.
12580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12582 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12584 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12585 * sysdeps/mips/dl-lookup.c: Remove.
12586 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12588 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12591 * math/auto-libm-test-in: Add testcase for expl.
12592 * math/auto-libm-test-out: Regenerate.
12593 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12594 calculation of unsafe.
12595 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12597 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12599 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12600 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12601 ports/sysdeps/unix/sysv/linux/aarch64.
12602 * README: Update listing for aarch64*-*-linux-gnu.
12604 2014-02-11 Will Newton <will.newton@linaro.org>
12606 * manual/probes.texi (Mathematical Function Probes): Use
12607 "triggered" instead of "hit".
12609 * manual/probes.texi (Internal Probes): Add documentation
12610 of setjmp, longjmp and longjmp_target probes.
12612 * include/stap-probe.h: Add comment about probe argument
12615 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12616 definition. (tr_where, tr_freehook, tr_mallochook,
12617 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12619 2014-02-11 David S. Miller <davem@davemloft.net>
12621 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12622 processing int_tests.
12624 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12626 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12627 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12628 * sysdeps/unix/sysv/linux/mips: Move directory from
12629 ports/sysdeps/unix/sysv/linux/mips.
12630 * README: Update listing for mips-*-linux-gnu and
12631 mips64-*-linux-gnu.
12633 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12635 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12636 * sysdeps/unix/sysv/linux/m68k: Move directory from
12637 ports/sysdeps/unix/sysv/linux/m68k.
12638 * README: Update listing for m68k-*-linux-gnu.
12640 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12642 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12643 * sysdeps/unix/sysv/linux/generic: Move directory from
12644 ports/sysdeps/unix/sysv/linux/generic.
12645 * sysdeps/unix/sysv/linux/tile: Move directory from
12646 ports/sysdeps/unix/sysv/linux/tile.
12647 * README: Update listing for tile*-*-linux-gnu.
12649 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12651 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12653 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12654 * catgets/open_catalog.c (__open_catalog): Likewise.
12655 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12656 * debug/confstr_chk.c: Likewise.
12657 * debug/fread_chk.c (__fread_chk): Likewise.
12658 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12659 * debug/getgroups_chk.c: Likewise.
12660 * debug/mbsnrtowcs_chk.c: Likewise.
12661 * debug/mbsrtowcs_chk.c: Likewise.
12662 * debug/mbstowcs_chk.c: Likewise.
12663 * debug/memcpy_chk.c: Likewise.
12664 * debug/memmove_chk.c: Likewise.
12665 * debug/mempcpy_chk.c: Likewise.
12666 * debug/memset_chk.c: Likewise.
12667 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12668 * debug/strcat_chk.c (__strcat_chk): Likewise.
12669 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12670 * debug/strncat_chk.c (__strncat_chk): Likewise.
12671 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12672 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12673 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12674 * debug/wcpncpy_chk.c: Likewise.
12675 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12676 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12677 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12678 * debug/wcsncpy_chk.c: Likewise.
12679 * debug/wcsnrtombs_chk.c: Likewise.
12680 * debug/wcsrtombs_chk.c: Likewise.
12681 * debug/wcstombs_chk.c: Likewise.
12682 * debug/wmemcpy_chk.c: Likewise.
12683 * debug/wmemmove_chk.c: Likewise.
12684 * debug/wmempcpy_chk.c: Likewise.
12685 * debug/wmemset_chk.c: Likewise.
12686 * dirent/scandirat.c (SCANDIRAT): Likewise.
12687 * dlfcn/dladdr1.c (dladdr1): Likewise.
12688 * dlfcn/dladdr.c (dladdr): Likewise.
12689 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12690 * dlfcn/dlerror.c (__dlerror): Likewise.
12691 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12692 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12693 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12694 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12695 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12696 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12697 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12698 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12700 * elf/dl-conflict.c: Likewise.
12701 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12702 * elf/dl-dst.h: Likewise.
12703 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12704 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12705 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12706 * elf/dl-init.c (call_init, _dl_init): Likewise.
12707 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12708 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12709 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12711 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12713 * elf/dl-minimal.c (__libc_memalign): Likewise.
12714 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12715 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12716 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12717 * elf/dl-sym.c (do_sym): Likewise.
12718 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12719 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12720 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12721 * elf/dl-writev.h (_dl_writev): Likewise.
12722 * elf/ldconfig.c (search_dir): Likewise.
12723 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12724 (dl_main): Likewise.
12725 * elf/setup-vdso.h (setup_vdso): Likewise.
12726 * grp/compat-initgroups.c (compat_call): Likewise.
12727 * grp/fgetgrent.c (fgetgrent): Likewise.
12728 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12729 * grp/putgrent.c (putgrent): Likewise.
12730 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12732 * hurd/hurdinit.c: Likewise.
12733 * iconvdata/8bit-gap.c (struct): Likewise.
12734 * iconvdata/ansi_x3.110.c : Likewise.
12735 * iconvdata/big5.c : Likewise.
12736 * iconvdata/big5hkscs.c : Likewise.
12737 * iconvdata/cp1255.c: Likewise.
12738 * iconvdata/cp1258.c : Likewise.
12739 * iconvdata/cp932.c : Likewise.
12740 * iconvdata/euc-cn.c: Likewise.
12741 * iconvdata/euc-jisx0213.c : Likewise.
12742 * iconvdata/euc-jp.c: Likewise.
12743 * iconvdata/euc-jp-ms.c : Likewise.
12744 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12745 * iconvdata/gb18030.c : Likewise.
12746 * iconvdata/gbbig5.c (const): Likewise.
12747 * iconvdata/gbgbk.c: Likewise.
12748 * iconvdata/gbk.c : Likewise.
12749 * iconvdata/ibm1364.c : Likewise.
12750 * iconvdata/ibm930.c : Likewise.
12751 * iconvdata/ibm932.c: Likewise.
12752 * iconvdata/ibm933.c : Likewise.
12753 * iconvdata/ibm935.c : Likewise.
12754 * iconvdata/ibm937.c : Likewise.
12755 * iconvdata/ibm939.c : Likewise.
12756 * iconvdata/ibm943.c: Likewise.
12757 * iconvdata/iso_11548-1.c: Likewise.
12758 * iconvdata/iso-2022-cn.c : Likewise.
12759 * iconvdata/iso-2022-cn-ext.c : Likewise.
12760 * iconvdata/iso-2022-jp-3.c: Likewise.
12761 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12762 * iconvdata/iso-2022-kr.c : Likewise.
12763 * iconvdata/iso646.c (gconv_end): Likewise.
12764 * iconvdata/iso_6937-2.c : Likewise.
12765 * iconvdata/iso_6937.c : Likewise.
12766 * iconvdata/iso8859-1.c: Likewise.
12767 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12768 * iconvdata/shift_jisx0213.c : Likewise.
12769 * iconvdata/sjis.c : Likewise.
12770 * iconvdata/t.61.c : Likewise.
12771 * iconvdata/tcvn5712-1.c : Likewise.
12772 * iconvdata/tscii.c: Likewise.
12773 * iconvdata/uhc.c : Likewise.
12774 * iconvdata/unicode.c (gconv_end): Likewise.
12775 * iconvdata/utf-16.c (gconv_end): Likewise.
12776 * iconvdata/utf-32.c (gconv_end): Likewise.
12777 * iconvdata/utf-7.c (base64): Likewise.
12778 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12779 * iconv/gconv_close.c (__gconv_close): Likewise.
12780 * iconv/gconv_open.c (__gconv_open): Likewise.
12781 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12782 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12783 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12784 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12785 (ucs4le_internal_loop_single): Likewise.
12786 * iconv/iconv.c (iconv): Likewise.
12787 * iconv/iconv_close.c: Likewise.
12788 * iconv/loop.c (SINGLE): Likewise.
12789 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12790 * include/atomic.h: Likewise.
12791 * inet/inet6_option.c (option_alloc): Likewise.
12792 * intl/bindtextdom.c (set_binding_values): Likewise.
12793 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12794 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12795 * intl/localealias.c (read_alias_file): Likewise.
12796 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12797 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12798 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12799 * libio/fmemopen.c (fmemopen): Likewise.
12800 * libio/iofgets.c (_IO_fgets): Likewise.
12801 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12802 * libio/iofgetws.c (fgetws): Likewise.
12803 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12804 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12805 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12806 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12807 * locale/findlocale.c (_nl_find_locale): Likewise.
12808 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12809 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12811 * locale/setlocale.c (setlocale): Likewise.
12812 * login/programs/pt_chown.c (main): Likewise.
12813 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12814 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12815 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12816 (mmap, mmap64, mremap, munmap): Likewise.
12817 * math/e_exp2l.c: Likewise.
12818 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12819 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12820 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12821 * math/s_catan.c (__catan): Likewise.
12822 * math/s_catanf.c (__catanf): Likewise.
12823 * math/s_catanh.c (__catanh): Likewise.
12824 * math/s_catanhf.c (__catanhf): Likewise.
12825 * math/s_catanhl.c (__catanhl): Likewise.
12826 * math/s_catanl.c (__catanl): Likewise.
12827 * math/s_ccosh.c (__ccosh): Likewise.
12828 * math/s_ccoshf.c (__ccoshf): Likewise.
12829 * math/s_ccoshl.c (__ccoshl): Likewise.
12830 * math/s_cexp.c (__cexp): Likewise.
12831 * math/s_cexpf.c (__cexpf): Likewise.
12832 * math/s_cexpl.c (__cexpl): Likewise.
12833 * math/s_clog10.c (__clog10): Likewise.
12834 * math/s_clog10f.c (__clog10f): Likewise.
12835 * math/s_clog10l.c (__clog10l): Likewise.
12836 * math/s_clog.c (__clog): Likewise.
12837 * math/s_clogf.c (__clogf): Likewise.
12838 * math/s_clogl.c (__clogl): Likewise.
12839 * math/s_csin.c (__csin): Likewise.
12840 * math/s_csinf.c (__csinf): Likewise.
12841 * math/s_csinh.c (__csinh): Likewise.
12842 * math/s_csinhf.c (__csinhf): Likewise.
12843 * math/s_csinhl.c (__csinhl): Likewise.
12844 * math/s_csinl.c (__csinl): Likewise.
12845 * math/s_csqrt.c (__csqrt): Likewise.
12846 * math/s_csqrtf.c (__csqrtf): Likewise.
12847 * math/s_csqrtl.c (__csqrtl): Likewise.
12848 * math/s_ctan.c (__ctan): Likewise.
12849 * math/s_ctanf.c (__ctanf): Likewise.
12850 * math/s_ctanh.c (__ctanh): Likewise.
12851 * math/s_ctanhf.c (__ctanhf): Likewise.
12852 * math/s_ctanhl.c (__ctanhl): Likewise.
12853 * math/s_ctanl.c (__ctanl): Likewise.
12854 * math/w_pow.c: Likewise.
12855 * math/w_powf.c: Likewise.
12856 * math/w_powl.c: Likewise.
12857 * math/w_scalb.c (sysv_scalb): Likewise.
12858 * math/w_scalbf.c (sysv_scalbf): Likewise.
12859 * math/w_scalbl.c (sysv_scalbl): Likewise.
12860 * misc/error.c (error_tail): Likewise.
12861 * misc/pselect.c (__pselect): Likewise.
12862 * nis/nis_callback.c (__nis_create_callback): Likewise.
12863 * nis/nis_call.c (__nisfind_server): Likewise.
12864 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12865 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12866 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12867 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12868 * nis/nis_lookup.c (nis_lookup): Likewise.
12869 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12870 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12871 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12872 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12873 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12874 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12875 * nis/nss_compat/compat-initgroups.c (add_group)
12876 (internal_getgrent_r): Likewise.
12877 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12878 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12879 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12880 (internal_getspnam_r): Likewise.
12881 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12882 (_nss_nis_getaliasbyname_r): Likewise.
12883 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12884 (_nss_nis_getntohost_r): Likewise.
12885 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12886 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12887 (_nss_nis_getgrgid_r): Likewise.
12888 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12889 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12890 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12891 (_nss_nis_gethostbyname4_r): Likewise.
12892 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12893 (initgroups_netid): Likewise.
12894 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12895 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12896 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12897 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12898 (_nss_nis_getprotobynumber_r): Likewise.
12899 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12900 (_nss_nis_getsecretkey): Likewise.
12901 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12902 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12903 (_nss_nis_getpwuid_r): Likewise.
12904 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12905 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12906 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12907 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12908 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12909 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12910 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12912 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12913 (_nss_nisplus_getntohost_r): Likewise.
12914 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12915 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12916 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12917 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12919 * nis/nss_nisplus/nisplus-initgroups.c
12920 (_nss_nisplus_initgroups_dyn): Likewise.
12921 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12922 (_nss_nisplus_getnetbyaddr_r): Likewise.
12923 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12924 (_nss_nisplus_getprotobynumber_r): Likewise.
12925 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12926 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12927 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12929 * nis/nss_nisplus/nisplus-service.c
12930 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12931 (_nss_nisplus_getservbyport_r): Likewise.
12932 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12933 (_nss_nisplus_getspnam_r): Likewise.
12934 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12936 * nscd/aicache.c (addhstaiX): Likewise.
12937 * nscd/cache.c (cache_search, prune_cache): Likewise.
12938 * nscd/connections.c (register_traced_file, send_ro_fd)
12939 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12940 (main_loop_epoll): Likewise.
12941 * nscd/grpcache.c (addgrbyX): Likewise.
12942 * nscd/hstcache.c (addhstbyX): Likewise.
12943 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12944 * nscd/mem.c (gc, mempool_alloc): Likewise.
12945 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12946 (addinnetgrX): Likewise.
12947 * nscd/nscd-client.h (__nscd_acquire_maplock)
12948 (__nscd_drop_map_ref): Likewise.
12949 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12950 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12951 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12953 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12954 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12955 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12956 (__nscd_get_map_ref): Likewise.
12957 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12958 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12960 * nscd/pwdcache.c (addpwbyX): Likewise.
12961 * nscd/selinux.c (preserve_capabilities): Likewise.
12962 * nscd/servicescache.c (addservbyX): Likewise.
12963 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12964 * posix/fnmatch.c (fnmatch): Likewise.
12965 * posix/getopt.c (_getopt_internal_r): Likewise.
12966 * posix/glob.c (glob, glob_in_dir): Likewise.
12967 * posix/wordexp.c (exec_comm_child): Likewise.
12968 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12969 (getanswer_r, gaih_getanswer_slice): Likewise.
12970 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12971 * resolv/res_init.c: Likewise.
12972 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12973 * resolv/res_query.c (__libc_res_nquery): Likewise.
12974 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12976 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12977 * stdio-common/perror.c (perror): Likewise.
12978 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12979 * stdio-common/tmpnam.c (tmpnam): Likewise.
12980 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12981 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12982 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12984 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12985 * stdlib/putenv.c (putenv): Likewise.
12986 * stdlib/setenv.c (__add_to_environ): Likewise.
12987 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12988 * stdlib/strtol_l.c (INTERNAL): Likewise.
12989 * string/memmem.c (memmem): Likewise.
12990 * string/strerror.c (strerror): Likewise.
12991 * string/strnlen.c (__strnlen): Likewise.
12992 * string/test-memmem.c (simple_memmem): Likewise.
12993 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12994 * sunrpc/pm_getport.c (__get_socket): Likewise.
12995 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12996 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12997 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12998 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
13000 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13001 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13002 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13003 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13004 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
13005 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13007 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13009 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13010 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13012 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13013 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13014 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13015 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13016 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13017 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13018 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13019 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13020 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13024 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13026 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13028 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13029 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13030 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13031 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13032 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13033 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13034 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13035 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13038 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13039 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13041 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13043 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13045 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13047 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13049 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13050 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13051 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13053 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13054 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13055 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13056 * sysdeps/posix/sleep.c: Likewise.
13057 * sysdeps/posix/tempname.c: Likewise.
13058 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13059 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13061 * sysdeps/powerpc/powerpc32/dl-machine.h
13062 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
13063 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13064 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13065 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13066 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13068 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13069 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13070 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13071 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13072 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13073 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13074 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13075 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13076 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13077 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13078 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13079 (elf_machine_lazy_rel): Likewise.
13080 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13081 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13082 (elf_machine_lazy_rel): Likewise.
13083 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13084 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13085 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13086 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13087 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13088 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13089 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13092 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13093 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13094 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13095 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13096 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13097 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13098 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13099 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13100 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13101 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13102 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13104 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13105 (__posix_fallocate64_l64): Likewise.
13106 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13107 (posix_fallocate): Likewise.
13108 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13110 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13111 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13112 (getifaddrs_internal): Likewise.
13113 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13114 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13115 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13116 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13117 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13118 (__posix_fallocate64_l64): Likewise.
13119 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13121 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13122 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13123 (__get_clockfreq): Likewise.
13124 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13125 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13126 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13127 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13128 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13129 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13130 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13131 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13133 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13134 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13135 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13136 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13137 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13138 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13139 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13141 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13142 (posix_fallocate): Likewise.
13143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13144 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13145 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13146 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13147 (elf_machine_rela, elf_machine_rela_relative)
13148 (elf_machine_lazy_rel): Likewise.
13149 * time/asctime.c (asctime_internal): Likewise.
13150 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13151 * time/tzset.c (__tzset_parse_tz): Likewise.
13152 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13153 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13154 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13155 * wcsmbs/wcsmbsload.h: Likewise.
13158 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13160 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13161 (arena_get2): Remove THREAD_STATS conditionals.
13162 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13163 (__malloc_stats, int): Likewise.
13165 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13167 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13168 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13170 * manual/setjmp.texi: Fix typos/grammar errors.
13172 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13173 Only return early when n is <= 0. Delete unused return statement.
13175 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13176 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13177 * debug/tst-longjmp_chk3.c: New file.
13179 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13180 (test_main): Replace code with set_fortify_handler call.
13181 * debug/test-strcpy_chk.c: Likewise.
13182 * debug/tst-chk1.c: Likewise.
13183 * debug/tst-longjmp_chk.c: Likewise.
13184 * test-skeleton.c: Include fcntl.h & paths.h
13185 (set_fortify_handler): Define.
13187 * debug/tst-longjmp_chk.c: Add header comment and include
13188 ../test-skeleton.c.
13189 (do_test): Mark static.
13190 (TEST_FUNCTION): Define.
13192 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13193 (IP_PMTUDISC_INTERFACE): Likewise.
13194 (IP_MULTICAST_IF): Likewise.
13195 (IP_MULTICAST_TTL): Likewise.
13196 (IP_MULTICAST_LOOP): Likewise.
13197 (IP_ADD_MEMBERSHIP): Likewise.
13198 (IP_DROP_MEMBERSHIP): Likewise.
13199 (IP_UNBLOCK_SOURCE): Likewise.
13200 (IP_BLOCK_SOURCE): Likewise.
13201 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13202 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13203 (IP_MSFILTER): Likewise.
13204 (MCAST_JOIN_GROUP): Likewise.
13205 (MCAST_BLOCK_SOURCE): Likewise.
13206 (MCAST_UNBLOCK_SOURCE): Likewise.
13207 (MCAST_LEAVE_GROUP): Likewise.
13208 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13209 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13210 (MCAST_MSFILTER): Likewise.
13211 (IP_MULTICAST_ALL): Likewise.
13212 (IP_UNICAST_IF): Likewise.
13214 * timezone/Makefile: Delete $(have-ksh) check.
13215 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13216 * timezone/tzselect.ksh: Add +x mode bits.
13218 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13219 (ANON_INODE_FS_MAGIC): Likewise.
13220 (BDEVFS_MAGIC): Likewise.
13221 (BINFMTFS_MAGIC): Likewise.
13222 (BTRFS_TEST_MAGIC): Likewise.
13223 (CRAMFS_MAGIC_WEND): Likewise.
13224 (DEBUGFS_MAGIC): Likewise.
13225 (ECRYPTFS_SUPER_MAGIC): Likewise.
13226 (EXT3_SUPER_MAGIC): Likewise.
13227 (EXT4_SUPER_MAGIC): Likewise.
13228 (FUTEXFS_SUPER_MAGIC): Likewise.
13229 (HOSTFS_SUPER_MAGIC): Likewise.
13230 (HUGETLBFS_MAGIC): Likewise.
13231 (MINIX3_SUPER_MAGIC): Likewise.
13232 (MTD_INODE_FS_MAGIC): Likewise.
13233 (NILFS_SUPER_MAGIC): Likewise.
13234 (OPENPROM_SUPER_MAGIC): Likewise.
13235 (PIPEFS_MAGIC): Likewise.
13236 (PSTOREFS_MAGIC): Likewise.
13237 (QNX6_SUPER_MAGIC): Likewise.
13238 (RAMFS_MAGIC): Likewise.
13239 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13240 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13241 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13242 (SECURITYFS_MAGIC): Likewise.
13243 (SELINUX_MAGIC): Likewise.
13244 (SMACK_MAGIC): Likewise.
13245 (SOCKFS_MAGIC): Likewise.
13246 (SQUASHFS_MAGIC): Likewise.
13247 (STACK_END_MAGIC): Likewise.
13248 (TMPFS_MAGIC): Likewise.
13249 (USBDEVICE_SUPER_MAGIC): Likewise.
13250 (V9FS_MAGIC): Likewise.
13251 (XENFS_SUPER_MAGIC): Likewise.
13252 (CRAMFS_MAGIC): Fix typo in comment.
13253 (EXT2_SUPER_MAGIC): Update comment.
13254 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13256 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13258 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13259 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13260 * sysdeps/unix/sysv/linux/arm: Move directory from
13261 ports/sysdeps/unix/sysv/linux/arm.
13262 * README: Update listing for arm-*-linux-gnueabi.
13264 * README: Remove mention of am33.
13266 2014-02-07 Roland McGrath <roland@hack.frob.com>
13268 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13269 than the comma operator, to avoid "rhs of comma has no effect"
13271 (__sigfillset, __sigandset, __sigorset): Likewise.
13272 * include/signal.h (__sigemptyset): Likewise.
13273 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13275 2014-02-07 Allan McRae <allan@archlinux.org>
13277 * version.h (RELEASE): Set to "development".
13278 (VERSION): Set to "2.19.90"
13279 * NEWS: Add 2.20 section.
13281 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13284 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13286 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13288 * manual/contrib.texi: Update entry for Carlos O'Donell,
13289 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13291 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13293 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13295 * sysdeps/unix/sysv/linux/kernel-features.h
13296 [__LINUX_KERNEL_VERSION >= 0x020621]
13297 (__ASSUME_PROC_PID_TASK_COMM): Define.
13299 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13302 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13303 conversion when destination buffer does not have enough space.
13304 * libio/tst-ftell-partial-wide.c: New test case.
13305 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13307 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13308 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13309 Leonard and Allan McRae.
13311 2014-02-04 David S. Miller <davem@davemloft.net>
13313 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13316 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13345 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13347 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13348 * shlib-versions: Likewise.
13350 2014-02-04 Roland McGrath <roland@hack.frob.com>
13351 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13353 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13354 (abilist-pattern): New variable, set to %-le.abilist.
13356 * Makerules (abilist-pattern): New variable.
13357 (vpath): Use $(abilist-pattern) in place of %.abilist.
13358 (check-abi-% pattern rule): Likewise.
13359 (check-abi, update-abi): Likewise.
13361 2014-02-04 Eric Wong <normalperson@yhbt.net>
13363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13365 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13367 * manual/startup.texi: Add next, previous, and top entries for
13368 the `Program Arguments' and `Environment Variables' nodes.
13370 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13372 * manual/macros.texi: Add comments before MTASC-safety macros.
13374 * manual/users.texi: Document MTASC-safety properties.
13376 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13377 (pthread_getspecific, pthread_setspecific): Format with
13378 @deftypefun, and add @safety note.
13379 * manual/signal.texi: Move comments that analyze the above
13380 functions to their home place.
13382 2014-02-03 Allan McRae <allan@archlinux.org>
13384 * po/sl.po: Update Slovenian translation from translation project.
13386 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13388 * manual/time.texi (timegm): Add missing blank after @c.
13389 Reported by Joseph Myers <joseph@codesourcery.com>.
13391 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13393 * manual/check-safety.sh: New.
13394 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13396 * manual/terminal.texi: Document MTASC-safety properties.
13398 * manual/filesys.texi: Document MTASC-safety properties.
13400 * manual/errno.texi: Document MTASC-safety properties.
13402 * manual/intro.texi: Document safety identifiers and
13405 * manual/string.texi (wcstok): Fix prototype.
13406 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13408 * manual/time.texi: Document MTASC-safety properties.
13410 * manual/string.texi: Document MTASC-safety properties.
13412 * manual/threads.texi: Document MTASC-safety properties.
13414 * manual/stdio.texi: Document MTASC-safety properties.
13416 * manual/syslog.texi: Document MTASC-safety properties.
13418 * manual/sysinfo.texi: Document MTASC-safety properties.
13420 * manual/startup.texi: Document MTASC-safety properties.
13422 * manual/socket.texi: Document MTASC-safety properties.
13424 * manual/signal.texi: Document MTASC-safety properties.
13426 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13428 * manual/setjmp.texi: Document MTASC-safety properties.
13430 * manual/search.texi: Document MTASC-safety properties.
13432 * manual/resource.texi: Document MTASC-safety properties.
13434 * manual/process.texi: Document MTASC-safety properties.
13436 * manual/platform.texi: Document MTASC-safety properties.
13438 * manual/pipe.texi: Document MTASC-safety properties.
13440 * manual/pattern.texi: Document MTASC-safety properties.
13442 * manual/message.texi: Document MTASC-safety properties.
13445 * manual/memory.texi: Document MTASC-safety properties.
13447 * manual/math.texi: Document MTASC-safety properties.
13449 * manual/locale.texi: Document MTASC-safety properties.
13451 * manual/llio.texi: Document MTASC-safety properties.
13453 * manual/libdl.texi: New.
13455 * manual/lang.texi: Document MTASC-safety properties.
13457 * manual/job.texi: Document MTASC-safety properties.
13459 * manual/getopt.texi: Document MTASC-safety properties.
13461 * manual/ctype.texi: Document MTASC-safety properties.
13463 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13466 * csu/libc-tls.c (static_map): Remove variable.
13467 (__libc_setup_tls): Use main executable's link map for TLS data.
13468 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13469 casing for LM_ID_BASE and GL(dl_nns).
13470 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13471 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13472 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13473 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13474 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13476 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13479 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13481 * manual/debug.texi: Document MTASC-safety properties.
13483 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13486 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13487 of __x86_64__ when disabling x87 inline functions.
13489 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13491 * manual/charset.texi: Document MTASC-safety properties.
13493 * manual/crypt.texi: Document MTASC-safety properties.
13495 * manual/conf.texi: Document MTASC-safety properties.
13497 * manual/arith.texi: Document MTASC-safety properties.
13499 * manual/argp.texi: Document MTASC-safety properties.
13501 * manual/macros.texi: Introduce macros to document multi
13502 thread, asynchronous signal and asynchronous cancellation
13504 * manual/intro.texi: Introduce the properties themselves.
13506 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13508 * sysdeps/sh/sh4/Makefile: New file.
13510 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13512 * math/gen-libm-test.pl ($srcdir): New variable.
13513 ($auto_input): Use it.
13515 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13518 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13519 access beyond array bounds when parsing netgroups file.
13521 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13522 the old buffer before realloc.
13524 2014-01-27 Allan McRae <allan@archlinux.org>
13526 * po/fr.po: Update French translation from translation project.
13528 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13530 * sysdeps/sh/libm-test-ulps: Regenerate.
13532 2014-01-24 David S. Miller <davem@davemloft.net>
13534 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13536 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13538 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13539 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13541 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13544 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13545 string pointers after reallocation.
13547 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13549 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13550 __SH4A__ instead of __SH_FPU_ANY__.
13552 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13554 * sysdeps/sh/fpu_control.h: New file.
13555 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13556 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13557 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13558 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13559 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13560 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13561 * sysdeps/sh/sys/ucontext.h: Remove.
13562 * sysdeps/sh/sys: Remove directory.
13564 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13566 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13567 s390/sys/ucontext.h.
13568 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13569 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13571 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13574 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13576 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13579 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13580 Adjust the vDSO correctly for internal calls.
13581 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13583 2014-01-20 Allan McRae <allan@archlinux.org>
13585 * po/ca.po: Update Catalan translation from translation project.
13587 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13589 * sysdeps/s390/sotruss-lib.c: New file.
13591 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13594 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13595 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13596 local calls issues by not having a PLT stub required for IFUNC calls.
13597 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13599 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13601 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13602 * math/test-fpucw-static.c: Likewise.
13604 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13607 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13609 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13611 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13612 implementation for powerpc.
13614 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13617 * sysdeps/posix/system.c (__libc_system): Do not enable
13618 asynchronous cancellation.
13620 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13623 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13624 handling only for numbers special also in the IEEE case.
13626 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13628 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13630 2014-01-11 Allan McRae <allan@archlinux.org>
13632 * po/bg.po: Update Bulgarian translation from translation project.
13634 * po/de.po: Update German translation from translation project.
13636 2014-01-10 Roland McGrath <roland@hack.frob.com>
13638 * sysdeps/generic/gcc-compat.h: New file.
13640 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13642 * benchtests/asin-inputs: Correct slow inputs.
13643 * benchtests/acos-inputs: Likewise.
13645 2014-01-10 Allan McRae <allan@archlinux.org>
13647 * po:sv.po: Update Swedish translation from translation project.
13649 * po/vi.po: Update Vietnamese translation from translation project.
13651 * po/eo.po: Update Esperanto translation from translation project.
13653 * po/cs.po: Update Czech translation from translation project.
13655 * po/nl.po: Update Dutch translation from translation project.
13657 * po/pl.po: Update Polish translation from translation project.
13659 * po/ru.po: Update Russian translation from translation project.
13661 * po/uk.po: Update Ukrainian translation from translation project.
13663 2014-01-08 Brooks Moses <bmoses@google.com>
13665 * elf/dl-load.c: Fix comment typo.
13667 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13669 * po/header.pot: Rename to...
13670 * po/pot.header: ... this.
13671 * po/Makefile: Use pot.header.
13673 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13674 Maxim Kuvyrkov <maxim@kugelworks.com>
13677 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13678 SRC and DEST against LEN.
13680 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13683 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13685 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13687 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13691 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13694 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13695 for large positive arguments.
13697 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13699 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13701 * math/auto-libm-test-in: Mark various tests with
13702 xfail-rounding:ldbl-128ibm.
13703 * math/auto-libm-test-out: Regenerated.
13706 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13707 Increase overflow threshold.
13709 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13712 * stdio-common/vfprintf.c: Check for integer overflow.
13714 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13716 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13717 the first argument and return value of __tls_get_addr_internal.
13719 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13721 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13722 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13724 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13726 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13727 * sysdeps/s390/rtld-global-offsets.sym: New file.
13728 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13730 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13731 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13732 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13734 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13735 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13741 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13742 halfs of GPRs for high_gprs contexts.
13743 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13744 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13746 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13748 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13750 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13751 for high GPRs (uc_high_gprs) and for future extensions
13753 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13754 for future extensions (__reserved).
13755 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13757 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13758 SC_HIGHGPRS offset definition.
13759 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13760 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13762 * Versions.def: Add GLIBC_2.19 for libpthread.
13763 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13764 siglongjmp for libpthread with GLIBC_2.19 symver.
13765 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13766 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13767 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13768 * sysdeps/s390/__longjmp.c: New file.
13769 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13770 * sysdeps/s390/longjmp.c: New file.
13771 * sysdeps/s390/setjmp.S: New file.
13772 * sysdeps/s390/sigjmp.S: New file.
13773 * sysdeps/s390/v1-longjmp.c: New file.
13774 * sysdeps/s390/v1-setjmp.h: New file.
13775 * sysdeps/s390/v1-sigjmp.c: New file.
13776 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13777 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13778 GLIBC_2.19 version.
13779 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13780 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13781 versioned symbols for ____longjmp_chk.
13782 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13788 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13792 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13793 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13794 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13795 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13796 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13797 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13798 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13799 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13800 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13801 * sysdeps/s390/rtld-__longjmp.c: New file.
13802 * sysdeps/s390/rtld-setjmp.S: New file.
13804 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13807 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13808 Return -__logl (x) for small positive arguments without evaluating
13811 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13813 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13815 (__ptrace_peeksiginfo_args): ... this.
13816 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13817 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13818 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13820 2014-01-06 Allan McRae <allan@archlinux.org>
13822 * inet/netinet/in.h: Fix typo in comment.
13824 2014-01-05 Andreas Jaeger <aj@suse.de>
13826 * sysdeps/i386/fpu/libm-test-ulps: Update.
13828 2014-01-05 Allan McRae <allan@archlinux.org>
13830 * po/libc.pot: Regenerated.
13832 * malloc/memusagestat.c: Fix gettext call formatting.
13834 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13836 * nscd/nscd.c: Improve usage() output.
13838 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13840 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13841 * sysdeps/unix/sysv/linux/configure: Regenerated.
13842 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13843 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13845 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13848 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13849 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13851 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13853 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13854 extra tokens at end of #undef directive.
13855 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13856 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13857 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13859 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13861 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13863 * math/auto-libm-test-in: Mark various tests with
13864 xfail-rounding:ldbl-128ibm.
13865 * math/auto-libm-test-out: Regenerated.
13867 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13870 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13871 numbers with subnormal high part when calculating exponent.
13874 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13878 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13880 (__ieee754_acoshl): Use __log1pl not __log1p.
13882 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13884 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13885 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13886 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13887 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13888 (reused_arena, arena_get2): Convert to GNU style.
13889 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13890 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13891 (memalign_check, __malloc_set_state): Likewise.
13892 * malloc/mallocbug.c (main): Likewise.
13893 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13894 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13895 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13896 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13897 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13898 (__posix_memalign, malloc_info): Likewise.
13899 * malloc/malloc.h: Likewise.
13900 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13901 (mallochook, memalignhook, reallochook, mabort): Likewise.
13902 * malloc/mcheck.h: Likewise.
13903 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13904 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13905 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13906 * malloc/morecore.c (__default_morecore): Likewise.
13907 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13908 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13909 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13910 (print_and_abort): Likewise.
13911 * malloc/obstack.h: Likewise.
13912 * malloc/set-freeres.c (__libc_freeres): Likewise.
13913 * malloc/tst-mallocstate.c (main): Likewise.
13914 * malloc/tst-mtrace.c (main): Likewise.
13915 * malloc/tst-realloc.c (do_test): Likewise.
13917 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13920 * nscd/netgroupcache.c (do_notfound): New function.
13921 (addgetnetgrentX): Use it.
13924 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13925 NSS_STATUS_NOTFOUND.
13927 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13929 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932 2014-01-01 Allan McRae <allan@archlinux.org>
13934 * scripts/update-copyrights: Update configure input file suffix.
13936 * NEWS: Update copyright year.
13937 * catgets/gencat.c: Likewise.
13938 * csu/version.c: Likewise.
13939 * debug/catchsegv.sh: Likewise.
13940 * debug/pcprofiledump.c: Likewise.
13941 * debug/xtrace.sh: Likewise.
13942 * elf/ldconfig.c: Likewise.
13943 * elf/ldd.bash.in: Likewise.
13944 * elf/pldd.c: Likewise.
13945 * elf/sotruss.ksh: Likewise.
13946 * elf/sprof.c: Likewise.
13947 * iconv/iconv_prog.c: Likewise.
13948 * iconv/iconvconfig.c: Likewise.
13949 * locale/programs/locale.c: Likewise.
13950 * locale/programs/localedef.c: Likewise.
13951 * login/programs/pt_chown.c: Likewise.
13952 * malloc/memusage.sh: Likewise.
13953 * malloc/memusagestat.c: Likewise.
13954 * malloc/mtrace.pl: Likewise.
13955 * manual/libc.texinfo: Likewise.
13956 * nscd/nscd.c: Likewise.
13957 * nss/getent.c: Likewise.
13958 * nss/makedb.c: Likewise.
13959 * posix/getconf.c: Likewise.
13960 * scripts/test-installation.pl: Likewise.
13962 * All files with FSF copyright notices: Update copyright dates
13963 using scripts/update-copyrights.
13964 * intl/plural.c: Regenerated.
13965 * locale/programs/charmap-kw.h: Likewise.
13966 * locale/programs/locfile-kw.h: Likewise.
13968 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13970 * sysdeps/unix/sysv/linux/configure: Regenerated.
13971 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13972 the linux/fanotify.h header.
13973 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13974 HAVE_LINUX_FANOTIFY_H is defined.
13976 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13978 * benchtests/cos-inputs: New inputs.
13979 * benchtests/sin-inputs: Likewise.
13981 * benchtests/atan-inputs: New inputs. Fix name of multiple
13982 precision fallback inputs.
13984 * benchtests/atanh-inputs: New inputs.
13985 * benchtests/tanh-inputs: Likewise.
13987 * benchtests/acosh-inputs: New inputs.
13988 * benchtests/asinh-inputs: Likewise.
13990 * benchtests/cosh-inputs: New inputs.
13991 * benchtests/sinh-inputs: Likewise.
13993 * benchtests/acos-inputs: Add more inputs.
13994 * benchtests/asin-inputs: Likewise.
13996 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13999 * manual/arith.texi: Fix spelling.
14000 * manual/charset.texi: Likewise.
14001 * manual/errno.texi: Likewise.
14002 * manual/filesys.texi: Likewise.
14003 * manual/lang.texi: Likewise.
14004 * manual/llio.texi: Likewise.
14005 * manual/locale.texi: Likewise.
14006 * manual/message.texi: Likewise.
14007 * manual/resource.texi: Likewise.
14008 * manual/search.texi: Likewise.
14009 * manual/setjmp.texi: Likewise.
14010 * manual/stdio.texi: Likewise.
14011 * manual/string.texi: Likewise.
14012 * manual/sysinfo.texi: Likewise.
14013 * manual/time.texi: Likewise.
14015 2013-12-27 Carlos O'Donell <carlos@redhat.com>
14017 * po/sl.po: New file.
14019 2013-12-27 Mike Frysinger <vapier@gentoo.org>
14021 * .gitignore: Add core/.gdbinit/.gdb_history.
14023 2013-12-27 Allan McRae <allan@archlinux.org>
14026 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14027 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14029 2013-12-24 Brooks Moses <bmoses@google.com>
14031 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14032 all compilers that claim C++98 compliance, not just GCC.
14033 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14036 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14038 * NEWS: Restore accidentally deleted bug-fix entries.
14040 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14041 Ondřej Bílka <neleai@seznam.cz>
14044 * malloc/malloc.c (_int_free): Perform sanity check only if we
14047 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
14050 * manual/stdio.texi (String Input Conversions): Clarify that character
14051 classes are not supported.
14053 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14057 2013-12-22 Joseph Myers <joseph@codesourcery.com>
14060 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14061 Calculate results for small negative arguments directly rather
14062 than using reflection formula with special underflow handling.
14064 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14065 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14066 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14067 (fchflags): Likewise.
14068 (revoke): Likewise.
14069 (setlogin): Likewise.
14070 (sigaltstack): Likewise.
14072 (sigblock): Remove.
14073 (sigsetmask): Likewise.
14075 (waitpid): Likewise.
14076 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14077 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14079 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14080 * sysdeps/unix/bsd/Makefile: ... here.
14081 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14082 * sysdeps/unix/bsd/Versions: ... here.
14083 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14084 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14085 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14086 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14087 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14088 * sysdeps/unix/bsd/sigblock.c: ... here.
14089 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14090 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14091 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14092 * sysdeps/unix/bsd/sigvec.c: ... here.
14093 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14094 * sysdeps/unix/bsd/tcdrain.c: ... here.
14095 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14096 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14097 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14098 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14099 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14100 * sysdeps/unix/bsd/wait.c: ... here.
14101 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14102 * sysdeps/unix/bsd/wait3.c: ... here.
14103 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14104 * sysdeps/unix/bsd/waitpid.c: ... here.
14106 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14109 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14110 round-to-nearest for [!USE_AS_EXPM1L].
14111 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14112 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14113 more tests of exp and exp10. Expect some exp10 tests to miss
14114 exceptions or fail in directed rounding modes.
14115 * math/auto-libm-test-out: Regenerated.
14116 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14117 (exp10_test_tonearest): New function.
14118 (exp10_towardzero_test_data): New array.
14119 (exp10_test_towardzero): New function.
14120 (exp10_downward_test_data): New array.
14121 (exp10_test_downward): New function.
14122 (exp10_upward_test_data): New array.
14123 (exp10_test_upward): New function.
14124 (main): Call the new functions.
14125 * sysdeps/i386/fpu/libm-test-ulps: Update.
14126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14128 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14130 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14131 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14132 * math/auto-libm-test-out: Regenerated.
14133 * math/libm-test.inc (acosh_test_data): Add more tests.
14134 (atanh_test_data): Likewise.
14135 (ceil_test_data): Likewise.
14136 (copysign_test_data): Likewise.
14137 * sysdeps/i386/fpu/libm-test-ulps: Update.
14138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14140 * timezone/checktab.awk: Update from tzcode 2013i.
14141 * timezone/private.h: Likewise.
14142 * timezone/scheck.c: Likewise.
14143 * timezone/tzfile.h: Likewise.
14144 * timezone/tzselect.ksh: Likewise.
14145 * timezone/zdump.c: Likewise.
14146 * timezone/zic.c: Likewise.
14148 * math/auto-libm-test-in: Add tests of cpow.
14149 * math/auto-libm-test-out: Regenerated.
14150 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14153 (func_calc_desc): Add mpc_cc_c union field.
14154 (test_functions): Add cpow.
14155 (special_fill_2pi): New function.
14156 (special_real_inputs): Add 2pi.
14157 (calc_generic_results): Handle mpc_cc_c.
14158 * sysdeps/i386/fpu/libm-test-ulps: Update.
14159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14161 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14162 csqrt, ctan and ctanh.
14163 * math/auto-libm-test-out: Regenerated.
14164 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14165 (TEST_COND_x86): Likewise.
14166 (ccos_test_data): Use AUTO_TESTS_c_c.
14167 (ccosh_test_data): Likewise.
14168 (cexp_test_data): Likewise.
14169 (clog_test_data): Likewise.
14170 (csqrt_test_data): Likewise.
14171 (ctan_test_data): Likewise.
14172 (ctan_tonearest_test_data): Likewise.
14173 (ctan_towardzero_test_data): Likewise.
14174 (ctan_downward_test_data): Likewise.
14175 (ctan_upward_test_data): Likewise.
14176 (ctanh_test_data): Likewise.
14177 (ctanh_tonearest_test_data): Likewise.
14178 (ctanh_towardzero_test_data): Likewise.
14179 (ctanh_downward_test_data): Likewise.
14180 (ctanh_upward_test_data): Likewise.
14181 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14183 (func_calc_desc): Add mpc_c_c union field.
14184 (FUNC_mpc_c_c): New macro.
14185 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14186 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14188 (special_fill_min_subnorm_p120): New function.
14189 (special_real_inputs): Add min_subnorm_p120.
14190 (calc_generic_results): Handle mpc_c_c.
14191 * sysdeps/i386/fpu/libm-test-ulps: Update.
14192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14194 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14196 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14197 (do_sin_slow): New functions.
14198 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14199 (cslow2, csloww1, csloww2): Use the new functions.
14201 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14202 Use M to change sign of result instead of X. Assume X is
14204 (csloww1): Likewise.
14208 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14209 arguments A and DA.
14213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14215 (sloww1): Don't adjust sign of DX.
14216 (csloww1): Likewise.
14217 (sloww2): Use X directly and don't adjust sign of DX.
14218 (csloww2): Likewise.
14220 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14222 * math/auto-libm-test-in: Add tests of cabs and carg.
14223 * math/auto-libm-test-out: Regenerated.
14224 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14225 (carg_test_data): Likewise.
14226 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14228 (func_calc_desc): Add mpc_c_f union field.
14229 (test_functions): Add cabs and carg.
14230 (calc_generic_results): Handle mpc_c_f.
14232 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14233 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14234 as a macro and a compat symbol.
14235 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14236 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14237 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14238 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14239 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14240 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14242 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14244 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14246 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14248 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14250 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14252 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14253 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14256 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14260 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14262 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14263 trailing whitespace removed.
14264 * scripts/config.guess: Update to version 2013-11-29.
14265 * scripts/config.sub: Update to version 2013-10-01.
14267 * math/auto-libm-test-in: Add tests of sincos.
14268 * math/auto-libm-test-out: Regenerated.
14269 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14270 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14272 (func_calc_desc): Add mpfr_f_11 union field.
14273 (test_functions): Add sincos.
14274 (calc_generic_results): Handle mpfr_f_11.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278 2013-12-19 Andreas Schwab <schwab@suse.de>
14280 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14282 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14283 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14284 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14286 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14288 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14289 * sysdeps/i386/fpu/libm-test-ulps: Update.
14290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14294 round-to-nearest mode when using frndint.
14295 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14296 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14299 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14301 * math/auto-libm-test-out: Regenerated.
14302 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14303 (TEST_COND_x86): Likewise.
14304 (expm1_tonearest_test_data): New array.
14305 (expm1_test_tonearest): New function.
14306 (expm1_towardzero_test_data): New array.
14307 (expm1_test_towardzero): New function.
14308 (expm1_downward_test_data): New array.
14309 (expm1_test_downward): New function.
14310 (expm1_upward_test_data): New array.
14311 (expm1_test_upward): New function.
14312 (main): Run the new test functions.
14313 * sysdeps/i386/fpu/libm-test-ulps: Update.
14314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14316 * include/features.h: Update comment documenting feature test
14317 macros. Mention _DEFAULT_SOURCE in comment.
14318 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14319 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14320 _BSD_SOURCE and _SVID_SOURCE.
14321 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14322 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14323 !_SVID_SOURCE]: Likewise.
14324 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14325 (__USE_POSIX_IMPLICITLY): Define.
14326 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14327 (_POSIX_SOURCE): Undefine and redefine.
14328 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14329 (_POSIX_C_SOURCE): Likewise.
14330 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14331 (Feature Test Macros): Update documentation of default features.
14333 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14335 * benchtests/Makefile: Add bench-strtok.
14336 * benchtests/bench-strtok.c: New file: strtok benchtest.
14338 2013-12-19 Allan McRae <allan@archlinux.org>
14340 * manual/install.texi: Suppress menu for plain text output.
14341 * INSTALL: Regenerated.
14343 2013-12-18 Brooks Moses <bmoses@google.com>
14346 * misc/getauxval.c: Include errno.h.
14347 (__getauxval): Set errno to ENOENT if the requested type is not
14349 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14350 don't declare with __attribute_const__.
14351 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14352 * manual/startup.texi: Document that getauxval sets errno.
14354 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14356 * math/auto-libm-test-in: Add tests of jn and yn.
14357 * math/auto-libm-test-out: Regenerated.
14358 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14359 (yn_test_data): Likewise.
14360 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14362 (func_calc_desc): Add mpfr_if_f union field.
14363 (FUNC_mpfr_if_f): New macro.
14364 (test_functions): Add jn and yn.
14365 (calc_generic_results): Assert type of second input for
14366 mpfr_ff_f. Handle mpfr_if_f.
14367 (output_for_one_input_case): Disable all checking for arguments
14368 fitting floating-point types in case of an integer argument.
14369 * sysdeps/i386/fpu/libm-test-ulps: Update.
14370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14373 Don't expect fegetround reference in libm.so.
14375 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14377 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14378 $(config-cflags-nofma).
14380 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14382 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14383 * math/auto-libm-test-out: Regenerated.
14386 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14387 to determine exponent and adjust argument to have exponent of -1.
14388 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14390 * math/auto-libm-test-out: Regenerated.
14391 * sysdeps/i386/fpu/libm-test-ulps: Update.
14392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14396 * manual/probes.texi: Remove cases when per-thread arenas are
14399 2013-12-18 Andreas Schwab <schwab@suse.de>
14401 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14402 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14403 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14404 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14405 * sysdeps/i386/i686/multiarch/Makefile: Update.
14406 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14408 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14410 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14411 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14413 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14416 Support TZ transition times < 00:00:00.
14417 This is needed for version-3 tz-format files; it supports time
14418 stamps past 2037 for America/Godthab (the only entry in the tz
14419 database for which this change is relevant).
14420 * manual/time.texi (TZ Variable): Document transition times
14421 from -167:59:59 through -00:00:01.
14422 * time/tzset.c (tz_rule): Time of day is now signed.
14423 (__tzset_parse_tz): Parse negative time of day.
14425 Document TZ transition times >= 25:00:00.
14426 * manual/time.texi (TZ Variable): Document transition times from
14427 25:00:00 through 167:59:59. These are already supported, and this
14428 support will help with version-3 tz-format files.
14430 * manual/time.texi (TZ Variable): Modernize North America example
14431 to reflect current (i.e., 2007-and-later) daylight saving rules.
14433 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14435 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14437 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14438 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14441 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14442 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14443 * sysdeps/unix/bsd/clock.c: Likewise.
14444 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14445 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14446 * sysdeps/unix/bsd/init-posix.c: Likewise.
14447 * sysdeps/unix/bsd/poll.c: Likewise.
14448 * sysdeps/unix/bsd/ptsname.c: Likewise.
14449 * sysdeps/unix/bsd/seekdir.c: Likewise.
14450 * sysdeps/unix/bsd/setegid.c: Likewise.
14451 * sysdeps/unix/bsd/seteuid.c: Likewise.
14452 * sysdeps/unix/bsd/setgid.c: Likewise.
14453 * sysdeps/unix/bsd/setrgid.c: Likewise.
14454 * sysdeps/unix/bsd/setruid.c: Likewise.
14455 * sysdeps/unix/bsd/setsid.c: Likewise.
14456 * sysdeps/unix/bsd/setuid.c: Likewise.
14457 * sysdeps/unix/bsd/sigaction.c: Likewise.
14458 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14459 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14460 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14461 * sysdeps/unix/bsd/telldir.c: Likewise.
14462 * sysdeps/unix/bsd/times.c: Likewise.
14463 * sysdeps/unix/bsd/usleep.c: Likewise.
14465 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14466 ($(objpfx)libbsd-compat.a): Remove rule.
14468 * include/features.h (__FAVOR_BSD): Do not define.
14469 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14470 features conflicting with POSIX.
14471 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14472 (_BSD_SOURCE): Remove description of not being a subset of other
14473 feature test macros.
14474 * manual/job.texi (getpgrp): Do not document BSD version.
14475 (getpgid): Do not document by reference to BSD getpgrp.
14476 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14477 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14478 * signal/signal.h [__FAVOR_BSD]: Likewise.
14479 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14480 instead of making contents conditional on [__FAVOR_BSD].
14481 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14483 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14487 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14490 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14491 values below 2**-450, not 2**-500.
14492 * math/auto-libm-test-in: Don't allow spurious underflow from
14494 * math/auto-libm-test-out: Regenerated.
14498 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14499 values of ha and hb and sort them after adjusting subnormal
14501 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14503 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14504 values of ea and eb and sort them after adjusting subnormal
14506 * math/auto-libm-test-in: Do not expect some hypot tests of
14507 subnormals to fail. Add more hypot tests.
14508 * math/auto-libm-test-out: Regenerated.
14510 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14513 * sysdeps/sh/s_fma.c: New file.
14514 * sysdeps/sh/s_fmaf.c: New file.
14515 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14517 * sysdeps/sh/Implies: Add sh/soft-fp.
14519 2013-12-16 Roland McGrath <roland@hack.frob.com>
14521 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14522 level of indirection to members `objname', `errstring', `malloced'.
14523 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14524 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14525 it as the __longjmp argument (just pass 1 instead).
14526 (_dl_catch_error): Initialize C with argument pointers and address of
14527 volatile local ERRCODE rather than copying values out of C at return.
14529 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14531 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14532 * math/auto-libm-test-out: Regenerated.
14533 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14534 (hypot_test_data): Likewise.
14535 (pow_test_data): Likewise.
14536 (pow_tonearest_test_data): Likewise.
14537 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14539 (func_calc_desc): Add mpfr_ff_f union field.
14540 (FUNC_mpfr_ff_f): New macro.
14541 (test_functions): Add atan2, hypot and pow.
14542 (special_fill_min): New function.
14543 (special_fill_minus_min): Likewise.
14544 (special_fill_min_subnorm): Likewise.
14545 (special_fill_minus_min_subnorm): Likewise.
14546 (special_real_inputs): Add min, -min, min_subnorm and
14548 (calc_generic_results): Handle mpfr_ff_f.
14549 * sysdeps/i386/fpu/libm-test-ulps: Update.
14550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14552 2013-12-16 Will Newton <will.newton@linaro.org>
14554 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14555 (Aligned Memory Blocks): Add documentation for aligned_alloc
14556 and suggest it as an alternative to posix_memalign.
14557 (Hooks for Malloc): Document __memalign_hook is also called
14558 for aligned_alloc. (Summary of Malloc): Add summary for
14559 aligned alloc. Document __memalign_hook is also called
14562 2013-12-16 Will Newton <will.newton@linaro.org>
14564 * manual/memory.texi (Malloc Examples): Clarify default
14565 alignment documentation. Suggest posix_memalign rather
14566 than memalign or valloc.
14567 (Aligned Memory Blocks): Remove suggestion to use memalign
14568 or valloc. Remove obsolete comment about BSD.
14569 Document memalign errno values and mark the function obsolete.
14570 Document posix_memalign returned error codes. Mark valloc
14571 as obsolete. (Hooks for Malloc): __memalign_hook is also
14572 called for posix_memalign and valloc.
14573 (Summary of Malloc): Add posix_memalign to function summary.
14574 __memalign_hook is also called for posix_memalign and valloc.
14576 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14578 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14582 (sloww): Use mynumber union. Expand ternary operator into
14583 if-else statements.
14584 (cslow): use mynumber union.
14586 2013-12-16 Allan McRae <allan@archlinux.org>
14588 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14589 * configure: Regenerated.
14591 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14594 * configure.ac: Added --enable-maintainer-mode. Check for
14595 autoconf when enabled.
14596 * configure: Regenerated.
14598 * nscd/nscd.service: New file.
14599 * nscd/nscd.tmpfiles: New file.
14601 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14604 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14605 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14606 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14607 (strstr): Add __strstr_sse2_unaligned ifunc.
14608 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14609 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14610 (strcasestr): Remove __strcasestr_sse42 ifunc.
14611 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14615 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14617 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14618 * sysdeps/sh/bits/fenv.h: ... here.
14619 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14621 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14623 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14625 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14626 hypotf multiarch implementations.
14627 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14628 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14629 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14630 multiarch hypot for PPC64.
14631 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14632 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14633 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14634 multiarch hypotf for PPC64.
14636 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14637 modff multiarch implementations.
14638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14641 multiarch modf for PPC64.
14642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14645 multiarch modff for PPC64.
14647 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14648 and logl multiarch implementations.
14649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14652 multiarch logb for PPC64.
14653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14656 multiarch logb for PPC64.
14657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14660 multiarch logb for PPC64.
14662 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14663 isinff multiarch implementation.
14664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14668 multiarch isinf for PPC64.
14669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14672 multiarch isinff for PPC64.
14674 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14675 finitef multiarch implementation.
14676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14680 multiarch finite for PPC64.
14681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14684 multiarch finitef for PPC64.
14686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14687 lrint multiarch implementation.
14688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14692 multiarch llrint for PPC64.
14693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14694 multiarch lrint for PPC64.
14696 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14697 copysignf multiarch implementation.
14698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14703 multiarch copysign for PPC64.
14704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14705 multiarch copysignf for PPC64.
14707 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14708 multiarch implementation.
14709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14717 multiarch llround for PPC64.
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14719 multiarch trunc for PPC64.
14720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14721 multiarch truncf for PPC64.
14723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14724 multiarch implementation.
14725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14733 multiarch llround for PPC64.
14734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14735 multiarch round for PPC64.
14736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14737 multiarch roundf for PPC64.
14739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14740 multiarch implementation.
14741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14749 multiarch llround for PPC64.
14750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14751 multiarch floor for PPC64.
14752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14753 multiarch floorf for PPC64.
14755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14756 multiarch implementation.
14757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14765 multiarch llround for PPC64.
14766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14767 multiarch ceil for PPC64.
14768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14769 multiarch ceilf for PPC64.
14771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14772 multiarch implementation.
14773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14780 multiarch llround for PPC64.
14781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14782 multiarch lround for PPC64.
14784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14785 multiarch implementation.
14786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14793 multiarch isnan for PPC64.
14794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14795 multiarch isnanf for PPC64.
14797 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14798 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14799 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14800 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14801 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14804 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14805 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14806 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14810 multiarch implementations.
14811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14812 (__libc_ifunc_impl_list): Likewise.
14813 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14814 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14815 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14816 multiarch stpcpy for PPC64.
14818 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14819 multiarch implementations.
14820 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14821 (__libc_ifunc_impl_list): Likewise.
14822 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14823 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14824 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14825 multiarch strcpy for PPC64.
14827 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14828 redefine function name.
14829 (_wordcopy_fwd_dest_aligned): Likewise.
14830 (_wordcopy_bwd_aligned): Likewise.
14831 (_wordcopy_bwd_dest_aligned): Likewise.
14832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14833 multiarch implementations.
14834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14835 (__libc_ifunc_impl_list): Likewise.
14836 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14837 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14838 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14839 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14840 multiarch wcscpy for PPC64.
14842 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14843 multiarch implementations.
14844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14845 (__libc_ifunc_impl_list): Likewise.
14846 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14847 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14848 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14849 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14850 multiarch wcscpy for PPC64.
14852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14853 multiarch implementations.
14854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14855 (__libc_ifunc_impl_list): Likewise.
14856 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14857 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14858 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14859 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14860 multiarch wcsrchr for PPC64.
14862 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14863 multiarch implementations.
14864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14865 (__libc_ifunc_impl_list): Likewise.
14866 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14867 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14868 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14869 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14870 multiarch wcschr for PPC64.
14872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14873 multiarch implementations.
14874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14875 (__libc_ifunc_impl_list): Likewise.
14876 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14877 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14878 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14879 multiarch strchrnul for PPC64.
14881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14884 (__libc_ifunc_impl_list): Likewise.
14885 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14886 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14887 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14888 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14894 (__libc_ifunc_impl_list): Likewise.
14895 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14896 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14897 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14898 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14902 multiarch implementations.
14903 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14904 (__libc_ifunc_impl_list): Likewise.
14905 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14906 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14907 strncasecmp for PPC64.
14908 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14909 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14910 multiarch strncasecmp_l for PPC64.
14912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14913 multiarch implementations.
14914 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14915 (__libc_ifunc_impl_list): Likewise.
14916 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14917 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14918 multiarch strcasecmp for PPC64.
14919 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14921 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14922 multiarch strcasecmp_l for PPC64.
14924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14927 (__libc_ifunc_impl_list): Likewise.
14928 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14929 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14930 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14933 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14935 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14936 (__libc_ifunc_impl_list): Likewise.
14937 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14938 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14939 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14945 (__libc_ifunc_impl_list): Likewise.
14946 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14947 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14948 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14949 rawmemrchr for PPC64.
14951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14954 (__libc_ifunc_impl_list): Likewise.
14955 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14956 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14957 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14963 (__libc_ifunc_impl_list): Likewise.
14964 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14965 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14966 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14972 (__libc_ifunc_impl_list): Likewise.
14973 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14974 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14975 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14978 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14979 avoid cretion of __bzero symbol.
14980 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14982 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14984 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14987 multiarch implementations.
14988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14989 (__libc_ifunc_impl_list): Likewise.
14990 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14991 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14992 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14993 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14995 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14996 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14997 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14998 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14999 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15001 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15003 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15007 (__libc_ifunc_impl_list): Likewise.
15008 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15009 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15010 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15011 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15015 multiarch for POWER/PPC64.
15016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15017 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15018 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15019 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15020 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15021 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15022 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15024 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15027 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15028 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15029 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15031 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15032 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15033 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15034 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15035 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15036 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15037 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15038 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15039 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15040 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15041 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15050 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15054 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15056 * benchtests/Makefile (bench): Add exp2 and log2.
15057 (LDLIBS-bench-exp2): Add -lm.
15058 (LDLIBS-bench-log2): Likewise.
15059 * benchtests/exp2-inputs: New inputs file.
15060 * benchtests/log2-inputs: New inputs file.
15061 * benchtests/log-inputs: Add new inputs.
15062 * benchtests/tan-inputs: Likewise.
15064 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15066 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15068 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15069 (csloww2): ... from here.
15071 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15072 instead of structures.
15073 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15074 (POLYNOMIAL): Likewise.
15075 (TAYLOR_SLOW): Likewise.
15081 (sloww1); Likewise.
15082 (sloww2): Likewise.
15083 (bsloww1): Likewise.
15084 (bsloww2): Likewise.
15085 (cslow2): Likewise.
15086 (csloww): Likewise.
15087 (csloww1): Likewise.
15088 (csloww2): Likewise.
15090 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15092 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15093 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15094 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15095 * malloc/hooks.c (realloc_check): Likewise.
15097 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15098 * malloc/arena.c: Remove PER_THREAD conditional.
15099 [!PER_THREAD]: Remove code.
15100 (ptmalloc_unlock_all2): Likewise.
15101 (ptmalloc_init): Likewise.
15102 (_int_new_arena): Likewise.
15103 (arena_get2): Likewise.
15104 * malloc/hooks.c (__malloc_get_state): Likewise.
15105 (__malloc_set_state): Likewise.
15106 * malloc/malloc.c: Likewise.
15107 (struct malloc_state): Likewise.
15108 (struct malloc_par): Likewise.
15109 (__libc_realloc): Likewise.
15110 (__libc_mallopt): Likewise.
15112 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15114 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15116 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15118 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15119 macro to a function. Check for zero perturb_byte.
15120 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15122 * malloc/malloc.c: (force_reg): Remove.
15123 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15124 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15125 force_reg by atomic_forced_read.
15126 * malloc/arena.c (ptmalloc_init): Likewise.
15127 * malloc/hooks.c (top_check): Likewise.
15129 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15133 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15137 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15139 * math/auto-libm-test-in: Add tests of lgamma.
15140 * math/auto-libm-test-out: Regenerated.
15141 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15142 (M_LOG_2_SQRT_PIl): Likewise.
15143 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15144 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15146 (func_calc_desc): Add mpfr_f_f1 union field.
15147 (ARGS1): New macro.
15155 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15156 (test_functions): Add lgamma.
15157 (calc_generic_results): Handle mpfr_f_f1.
15158 * sysdeps/i386/fpu/libm-test-ulps: Update.
15159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15161 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15163 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15164 __mpn_add_n for PowerPC64/POWER7.
15165 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15166 __mpn_sub_n for PowerPC64/POWER7.
15168 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15169 __mpn_addmul_1 for PowerPC64.
15170 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15171 __mpn_submul_1 for PowerPC64.
15172 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15174 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15177 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15180 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15182 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15184 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15186 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15187 add multiarch folders.
15188 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15189 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15190 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15191 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15192 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15193 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15194 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15195 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15196 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15197 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15198 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15207 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15213 multiarch __ieee754_hypot for PowerPC32.
15214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15219 multiarch __ieee754_hypotf for PowerPC32.
15221 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15222 long_double_symbol only if __logbl is defined.
15223 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15224 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15225 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15226 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15228 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15229 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15230 path for implementation.
15231 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15232 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15234 logb, and logbl multiarch implementations for PowerPC32.
15235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15240 multiarch logb for PowerPC32.
15241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15246 multiarch logbf for PowerPC32.
15247 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15251 multiarch logbl implementation for PowerPC32.
15253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15254 and modff multiarch implementations.
15255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15260 multiarch modf for PowerPC32.
15261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15266 multiarch modff for PowerPC32.
15268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15269 and lrintf multiarch implementations.
15270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15275 multiarch lrint for PowerPC32.
15276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15277 file: multiarch lrintf for PowerPC32.
15279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15280 and lroundf multiarch implementations.
15281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15288 multiarch lround for PowerPC32.
15289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15290 file: multiarch lroundf for PowerPC32.
15292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15293 copysign and copysignf multiarch implementations.
15294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15299 file: multiarch copysign for PowerPC32.
15300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15301 file: multiarch copysignf for PowerPC32.
15303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15304 and truncf multiarch implementations.
15305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15310 multiarch trunc for PowerPC32.
15311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15316 multiarch truncf for PowerPC32.
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15319 and roundf multiarch implementations.
15320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15325 multiarch round for PowerPC32.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15331 multiarch roundf for PowerPC32.
15333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15334 and floorf multiarch implementations.
15335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15340 multiarch floor for PowerPC32.
15341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15346 multiarch floorf for PowerPC32.
15348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15349 and ceilf multiarch implementations.
15350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15355 multiarch ceil for PowerPC32.
15356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15361 multiarch ceilf for PowerPC32.
15363 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15365 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15366 FINITEF is defined.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15368 and finitef multiarch implementations.
15369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15374 multiarch finite for PowerPC32.
15375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15378 file: multiarch finitef for PowerPC32.
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15381 and isinff multiarch implementations.
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15387 multiarch isinf for PowerPC32.
15388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15391 multiarch isinff for PowerPC32.
15393 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15394 alias when __isnan is defined.
15395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15396 and isnanf multiarch implementations.
15397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15406 multiarch isnan for PowerPC32.
15407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15412 multiarch isnanf for PowerPC32.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15415 and sqrtf multiarch implementations.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15421 multiarch sqrt for PowerPC32.
15422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15427 multiarch sqrtf for PowerPC32.
15429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15430 and llroundf multiarch implementations.
15431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15438 file: multiarch llround for PowerPC32.
15439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15440 file: multiarch llroundf for PowerPC32.
15442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15443 multiarch PowerPC32 fpu implementations.
15444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15449 multiarch llrint for PowerPC32.
15450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15459 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15461 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15463 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15465 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15466 multiarch wordcopy for PPC32.
15467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15470 (__libc_ifunc_impl_list): Likewise.
15471 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15472 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15473 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15474 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15475 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15476 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15478 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15479 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15481 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15483 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15485 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15486 multiarch wcscpy for PPC32.
15487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15490 (__libc_ifunc_impl_list): Likewise.
15491 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15492 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15493 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15494 sysdeps/powerpc/power6/wcscpy.c.
15496 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15497 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15499 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15501 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15503 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15504 multiarch wcsrchr for PPC32.
15505 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15507 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15508 (__libc_ifunc_impl_list): Likewise.
15509 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15510 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15511 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15512 sysdeps/powerpc/power6/wcsrchr.c.
15514 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15516 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15519 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15520 multiarch wcschr for PPc32.
15521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15524 (__libc_ifunc_impl_list): Likewise.
15525 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15526 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15527 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15528 sysdeps/powerpc/power6/wcschr.c.
15530 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15531 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15533 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15534 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15535 file: multiarch strchr for PPC32.
15536 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15538 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15539 (__libc_ifunc_impl_list): Likewise.
15541 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15543 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15545 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15547 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15548 multiarch strchrnul for PPC32.
15549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15552 (__libc_ifunc_impl_list): Likewise.
15554 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15556 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15557 multiarch strncasecmp for PPC32.
15558 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15560 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15561 multiarch strncasecmp_l for PPC32.
15562 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15563 strncasecmp multiarch objects.
15564 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15565 (__libc_ifunc_impl_list): Likewise.
15567 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15569 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15570 multiarch strncasecmp for PPC32.
15571 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15573 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15574 multiarch strcasecmp_l for PPC32.
15575 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15577 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15578 (__libc_ifunc_impl_list): Likewise.
15580 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15582 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15585 multiarch strncmp for PPC32.
15586 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15588 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15589 (__libc_ifunc_impl_list): Likewise.
15591 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15592 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15594 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15595 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15596 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15598 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15599 (__libc_ifunc_impl_list): Likewise.
15601 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15603 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15606 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15608 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15609 (__libc_ifunc_impl_list): Likewise.
15611 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15613 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15615 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15616 multiarch rawmemchr for PPC32.
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15620 (__libc_ifunc_impl_list): Likewise.
15622 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15624 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15626 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15627 file: memrchr multiarch for PPC32.
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15631 (__libc_ifunc_impl_list): Likewise.
15633 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15634 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15636 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15637 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15638 multiarch memchr for PPC32.
15639 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15641 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15642 (__libc_ifunc_impl_list): Likewise.
15644 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15645 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15647 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15649 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15650 file: multiarch mempcpy for PPC32.
15651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15654 (__libc_ifunc_impl_list): Likewise.
15656 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15657 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15658 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15659 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15660 multiarch bzero for PPC32.
15661 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15663 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15665 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15666 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15667 file: multiarch memset for PPC32.
15668 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15670 memset multiarch objects.
15671 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15672 (__libc_ifunc_impl_list): Likewise.
15674 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15676 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15677 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15679 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15680 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15682 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15683 (__libc_ifunc_impl_list): Likewise.
15685 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15687 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15689 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15691 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15693 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15694 multiarch memcpy for PPC32.
15695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15698 (__libc_ifunc_impl_list): Likewise.
15700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15701 support multiarch for POWER/PPC32.
15702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15704 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15706 Implies file to make multiarch folder appers before the fpu and
15707 default folder for power4 configuration.
15709 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15711 * scripts/bench.pl: Append volatile keyword to type.
15713 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15715 * sysdeps/sh/sotruss-lib.c: New file.
15716 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15718 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15722 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15725 * math/w_tgamma.c: Include <errno.h>.
15726 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15727 * math/w_tgammaf.c: Include <errno.h>.
15728 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15729 * math/w_tgammal.c: Include <errno.h>.
15730 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15731 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15732 underflow. Add more tgamma tests.
15733 * math/auto-libm-test-out: Regenerated.
15734 * sysdeps/i386/fpu/libm-test-ulps: Update.
15735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15737 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15738 sin, sinh, tan, tanh, tgamma, y0 and y1.
15739 * math/auto-libm-test-out: Regenerated.
15740 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15741 (TEST_COND_x86): Likewise.
15742 (M_E2l): Remove macro.
15744 (M_2_SQRT_PIl): Likewise.
15745 (M_SQRT_PIl): Likewise.
15746 (M_1_DIV_El): Likewise.
15747 (log_test_data): Use AUTO_TESTS_f_f.
15748 (log10_test_data): Likewise.
15749 (log1p_test_data): Likewise.
15750 (log2_test_data): Likewise.
15751 (sin_test_data): Likewise.
15752 (sin_tonearest_test_data): Likewise.
15753 (sin_towardzero_test_data): Likewise.
15754 (sin_downward_test_data): Likewise.
15755 (sin_upward_test_data): Likewise.
15756 (sinh_test_data): Likewise.
15757 (sinh_tonearest_test_data): Likewise.
15758 (sinh_towardzero_test_data): Likewise.
15759 (sinh_downward_test_data): Likewise.
15760 (sinh_upward_test_data): Likewise.
15761 (tan_test_data): Likewise.
15762 (tan_tonearest_test_data): Likewise.
15763 (tan_towardzero_test_data): Likewise.
15764 (tan_downward_test_data): Likewise.
15765 (tan_upward_test_data): Likewise.
15766 (tanh_test_data): Likewise.
15767 (tgamma_test_data): Likewise.
15768 (y0_test_data): Likewise.
15769 (y1_test_data): Likewise.
15770 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15771 (special_real_inputs): Add pi/4.
15772 * sysdeps/i386/fpu/libm-test-ulps: Update.
15773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15775 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15777 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15778 "longjmp_target" static probes.
15779 (__longjmp): Rename to __longjmp_symbol.
15780 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15781 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15782 on which longjmp to generate.
15783 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15784 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15786 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15787 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15788 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15789 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15790 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15791 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15793 __longjmp_symbol based on which __longjmp to generate.
15794 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15796 (setjmp): Rename to setjmp_symbol.
15797 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15798 (_setjmp): Rename to _setjmp_symbol.
15799 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15800 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15801 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15802 which setjmp to generate.
15803 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15804 "longjmp_target" static probes.
15806 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15808 * benchtests/README: Add note about output arguments.
15809 * benchtests/bench-sincos.c: Remove file.
15810 * benchtests/sincos-inputs: New file.
15811 * scripts/bench.pl: Identify output arguments and define
15812 static variables for them.
15814 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15817 * Makefile (INSTALL): Add install-plain.texi as the primary
15819 * manual/install-plain.texi: New file.
15820 * manual/install.texi: Include node directive only for
15821 non-plaintext output.
15823 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15825 * stdlib/longlong.h: Update from GCC.
15829 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15830 * math/w_j0f.c (y0f): Likewise.
15831 * math/w_j0l.c (__y0l): Likewise.
15832 * math/w_j1.c (y1): Likewise.
15833 * math/w_j1f.c (y1f): Likewise.
15834 * math/w_j1l.c (__y1l): Likewise
15835 * math/w_jn.c (yn): Likewise.
15836 * math/w_jnf.c (ynf): Likewise.
15837 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15838 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15839 value for Bessel function domain errors outside _SVID_ mode.
15840 Adjust sign of return value for yn (negative integer, 0).
15841 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15842 by zero in return for negative x and set sign appropriately for
15844 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15845 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15846 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15847 expectations in error cases.
15848 (y1_test_data): Likewise.
15849 (yn_test_data): Likewise.
15850 * sysdeps/i386/fpu/libm-test-ulps: Update.
15851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15853 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15855 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15856 "64" to "64-v1". Add "64-v2".
15857 (abi-64-options): Rename to ...
15858 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15859 (abi-64-condition): Rename to ...
15860 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15861 (abi-64-ld-soname): Rename to ...
15862 (abi-64-v1-ld-soname): ... this.
15863 (abi-64-v2-options): Define.
15864 (abi-64-v2-condition): Likewise.
15865 (abi-64-v2-ld-soname): Likewise.
15866 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15867 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15872 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15873 Alan Modra <amodra@gmail.com>
15875 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15876 New versions for use with the ELFv2 ABI.
15877 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15878 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15880 (struct La_ppc64v2_retval): Likewise.
15881 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15882 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15883 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15884 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15885 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15886 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15887 Do not save or restore CR.
15888 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15889 (_dl_profile_resolve): Do no save or restore CR. Support extended
15890 return values for ELFv2 ABI. Fix location of FPR return registers.
15891 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15892 updated values for _CALL_ELF == 2.
15893 (La_regs, La_retval, int_retval): Likewise.
15895 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15897 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15898 (FRAME_MIN_SIZE_PARM): Likewise.
15899 (FRAME_BACKCHAIN): Likewise.
15900 (FRAME_CR_SAVE): Likewise.
15901 (FRAME_LR_SAVE): Likewise.
15902 (FRAME_TOC_SAVE): Likewise.
15903 (FRAME_PARM_SAVE): Likewise.
15904 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15905 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15906 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15907 (call_mcount_parm_offset): New macro.
15908 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15909 (PROF): Use symbolic stack frame offsets.
15910 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15911 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15912 Redefine in terms of FRAME_MIN_SIZE.
15913 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15914 (_dl_profile_resolve): Likewise. Update comment.
15915 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15916 symbols stack frame offsets.
15917 (__sigsetjmp): Likewise.
15918 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15919 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15920 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15921 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15924 (FRAME_BACKCHAIN): Remove.
15925 (FRAME_CR_SAVE): Likewise.
15926 (FRAME_LR_SAVE): Likewise.
15927 (FRAME_COMPILER_DW): Likewise.
15928 (FRAME_LINKER_DW): Likewise.
15929 (FRAME_TOC_SAVE): Likewise.
15930 (FRAME_PARM_SAVE): Likewise.
15931 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15932 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15933 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15935 (CHECK_SP): Use symbolic stack frame offsets.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15937 zone" instead of caller's parameter save area for temp storage.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15939 Likewise. Also, use symbolic stack frame offsets.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15941 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15942 our own stack frame instead of the caller's.
15943 (__socket): Use symbolic stack frame offsets.
15945 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15946 Alan Modra <amodra@gmail.com>
15948 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15950 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15951 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15952 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15954 (elf_machine_fixup_plt): Call it.
15955 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15957 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15958 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15959 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15960 r2 before calling target.
15962 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15963 Alan Modra <amodra@gmail.com>
15965 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15966 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15967 versions of macros to support ELFv2 ABI.
15968 (LOCALENTRY): New macro.
15969 (ENTRY, EALIGN): Use it.
15970 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15971 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15972 fall through into ENTRY entry point.
15973 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15974 Only define if _CALL_ELF != 2.
15976 (elf_machine_matches_host): Verify ABI version matches.
15977 (RTLD_START): Use LOCALENTRY.
15978 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15979 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15980 (PLT_ENTRY_WORDS): New macro.
15981 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15982 (elf_machine_runtime_setup): Support ELFv2 ABI.
15983 (elf_machine_fixup_plt): Likewise.
15984 (elf_machine_plt_conflict): Likewise.
15985 (resolve_ifunc): Likewise.
15986 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15987 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15990 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15992 (makecontext): Support ELFv2 ABI.
15993 * elf/elf.h (EF_PPC64_ABI): Define.
15995 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15997 * sysdeps/powerpc/powerpc64/sysdep.h
15998 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15999 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16000 (ENTRY) [ASSEMBLER]: ... but instead here ...
16001 (EALIGN) [ASSEMBLER]: ... and here.
16002 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16003 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16004 (ENTRY_2) [!ASSEMBLER]: Use it.
16005 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16006 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
16007 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16008 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
16009 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16011 Use PPC64_LOAD_FUNCPTR.
16013 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16015 2013-12-04 Alan Modra <amodra@gmail.com>
16017 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16018 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16019 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16020 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16023 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16024 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16025 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16026 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16027 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16029 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16032 (__makecontext): Fix incorrect CFI when backtracing out of
16033 context created via makecontext.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16035 (__setcontext): Fix incorrect CFI during switch to new context.
16036 (__novec_setcontext): Likewise.
16038 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16041 * time/strptime_l.c (__strptime_internal): Allow modifiers
16043 * time/tst-strptime.c (day_tests): Add testcase.
16045 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16047 * scripts/bench.pl: Skip over blank lines.
16049 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16052 * manual/time.texi (Calendar Time): Clarify what timezone functions
16055 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16059 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
16061 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16063 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16064 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16065 * debug/memset_chk.c (__memset_chk): Likewise.
16066 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16067 * debug/strncpy_chk.c: Likewise.
16069 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16073 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16074 (__ieee754_exp): For possibly underflowing results, check size of
16075 result and force underflow exception if required.
16076 * math/auto-libm-test-in: Add more tests of exp.
16077 * math/auto-libm-test-out: Regenerated.
16078 * sysdeps/i386/fpu/libm-test-ulps: Update.
16079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16082 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16083 * math/w_exp2f.c (__exp2f): Likewise.
16084 * math/w_exp2l.c (__exp2l): Likewise.
16085 * math/auto-libm-test-in: Do not allow missing errno on exp2
16087 * math/auto-libm-test-out: Regenerated.
16089 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16092 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16093 handle filename validation.
16094 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16097 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16100 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16101 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16102 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16104 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16105 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16106 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16107 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16108 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16110 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16111 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16112 Add more erfc tests.
16113 * math/auto-libm-test-out: Regenerated.
16114 * sysdeps/i386/fpu/libm-test-ulps: Update.
16115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16117 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16118 exp2, expm1, j0 and j1.
16119 * math/auto-libm-test-out: Regenerated.
16120 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16121 (erfc_test_data): Likewise.
16122 (exp_test_data): Likewise.
16123 (exp_tonearest_test_data): Likewise.
16124 (exp_towardzero_test_data): Likewise.
16125 (exp_downward_test_data): Likewise.
16126 (exp_upward_test_data): Likewise.
16127 (exp10_test_data): Likewise.
16128 (exp2_test_data): Likewise.
16129 (expm1_test_data): Likewise.
16130 (j0_test_data): Likewise.
16131 (j1_test_data): Likewise.
16132 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16133 (input_flag_type): Add flag_xfail_rounding.
16134 (input_flags): Add xfail-rounding.
16135 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16136 (output_for_one_input_case): Handle flag_xfail_rounding.
16137 * sysdeps/i386/fpu/libm-test-ulps: Update.
16138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16140 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16143 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16146 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16149 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16150 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16151 (STAP_PROBE0): New macro.
16152 (STAP_PROBE1): Likewise.
16153 (STAP_PROBE2): Likewise.
16154 (STAP_PROBE3): Likewise.
16155 (STAP_PROBE4): Likewise.
16157 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16159 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16161 2013-12-02 Steve Ellcey <sellcey@mips.com>
16163 * benchtests/Makefile (bench): Add sqrt.
16164 (LDLIBS-bench-sqrt): New.
16165 * benchtests/sqrt-input: New.
16167 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16169 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16170 (GAIH_EAI): Likewise.
16171 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16172 (gaih_inet): Likewise.
16173 (getaddrinfo): Don't use GAIH_EAI.
16175 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16176 (struct gaih): Remove definition.
16178 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16180 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16181 Use HERRNOP directly.
16183 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16187 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16189 * math/gen-auto-libm-tests.c (test_functions): Add more
16190 single-argument functions.
16191 (special_fill_pi_2): New function.
16192 (special_fill_minus_pi_2): Likewise.
16193 (special_fill_pi_6): Likewise.
16194 (special_fill_minus_pi_6): Likewise.
16195 (special_fill_pi_3): Likewise.
16196 (special_fill_2pi_3): Likewise.
16197 (special_fill_e): Likewise.
16198 (special_fill_1_e): Likewise.
16199 (special_fill_e_minus_1): Likewise.
16200 (special_real_inputs): Add more special inputs.
16201 (output_for_one_input_case): Do not require ERANGE on underflow to
16202 zero if round-to-nearest result does not underflow to zero, unless
16203 exact results required.
16204 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16205 atan, atanh, cbrt, cos and cosh.
16206 * math/auto-libm-test-out: Regenerated.
16207 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16208 (acos_tonearest_test_data): Likewise.
16209 (acos_towardzero_test_data): Likewise.
16210 (acos_downward_test_data): Likewise.
16211 (acos_upward_test_data): Likewise.
16212 (acosh_test_data): Likewise.
16213 (asin_test_data): Likewise.
16214 (asin_tonearest_test_data): Likewise.
16215 (asin_towardzero_test_data): Likewise.
16216 (asin_upward_test_data): Likewise.
16217 (asinh_test_data): Likewise.
16218 (atan_test_data): Likewise.
16219 (atanh_test_data): Likewise.
16220 (cbrt_test_data): Likewise.
16221 (cos_test_data): Likewise.
16222 (cos_tonearest_test_data): Likewise.
16223 (cos_towardzero_test_data): Likewise.
16224 (cos_downward_test_data): Likewise.
16225 (cos_upward_test_data): Likewise.
16226 (cosh_test_data): Likewise.
16227 (cosh_tonearest_test_data): Likewise.
16228 (cosh_towardzero_test_data): Likewise.
16229 (cosh_downward_test_data): Likewise.
16230 (cosh_upward_test_data): Likewise.
16231 * sysdeps/i386/fpu/libm-test-ulps: Update.
16232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16234 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16237 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16238 * math/w_exp10f.c (__exp10f): Likewise.
16239 * math/w_exp10l.c (__exp10l): Likewise.
16240 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16241 errno settings in existing tests.
16244 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16245 precision control set to double precision.
16246 * sysdeps/i386/fpu/w_sqrt.c: New file.
16247 * math/auto-libm-test-in: Add more tests.
16248 * math/auto-libm-test-out: Update.
16250 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16251 (sqrt_test_tonearest): New function.
16252 (sqrt_towardzero_test_data): New variable.
16253 (sqrt_test_towardzero): New function.
16254 (sqrt_downward_test_data): New variable.
16255 (sqrt_test_downward): New function.
16256 (sqrt_upward_test_data): New variable.
16257 (sqrt_test_upward): New function.
16258 (main): Call the new functions.
16260 * math/gen-auto-libm-tests.c: New file.
16261 * math/auto-libm-test-in: Likewise.
16262 * math/auto-libm-test-out: New generated file.
16263 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16265 (%beautify): Add generated representations of zero.
16266 (top level): Set $auto_input and call parse_auto_input.
16267 (beautify): Remove trailing "f" from hex float constants.
16268 (parse_args): Handle XFAIL_TEST.
16269 (convert_condition): New function.
16270 (or_value): Likewise.
16271 (or_cond_value): Likewise.
16272 (generate_testfile): Handle AUTO_TESTS_* lines.
16273 (parse_auto_input): New function.
16274 * math/libm-test.inc (XFAIL_TEST): New macro.
16275 (ERRNO_UNCHANGED): Update value.
16276 (ERRNO_EDOM): Likewise.
16277 (ERRNO_ERANGE): Likewise.
16278 (IGNORE_RESULT): Likewise.
16279 (TEST_COND_flt_32): New macro.
16280 (TEST_COND_dbl_64): Likewise.
16281 (TEST_COND_ldbl_96_intel): Likewise.
16282 (TEST_COND_ldbl_96_m68k): Likewise.
16283 (TEST_COND_ldbl_128): Likewise.
16284 (TEST_COND_ldbl_128ibm): Likewise.
16285 (TEST_COND_long32): Likewise.
16286 (TEST_COND_long64): Likewise.
16287 (TEST_COND_before_rounding): Likewise.
16288 (TEST_COND_after_rounding): Likewise.
16289 (enable_test): Handle XFAIL_TEST flag.
16290 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16291 with finite results.
16292 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16293 auto-libm-test-out.
16295 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16296 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16299 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16300 __tls_get_addr_internal instead of __tls_get_offset in order to
16301 avoid GOT pointer dependency. Make rtld export
16302 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16303 __tls_get_addr since we are a __tls_get_offset platform.
16304 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16305 GOT pointer being set up before.
16306 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16308 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16310 * manual/math.texi (Errors in Math Functions): Document accuracy
16314 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16315 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16318 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16320 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16321 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16331 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16332 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16333 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16334 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16335 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16337 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16339 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16341 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16342 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16343 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16344 atomic-feupdateenv and flt-rounds.
16345 * sysdeps/powerpc/nofpu/Versions (libc): Add
16346 __atomic_feholdexcept, __atomic_feclearexcept,
16347 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16348 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16349 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16350 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16351 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16356 * manual/arith.texi (FP Exceptions): Document that exceptions may
16357 not be raised when matherr is used.
16358 (Math Error Reporting): Document overflow in directed rounding
16359 modes. Document that errno may not be set when finite values are
16360 returned on overflow. Document intent to set errno on underflow
16361 only for underflow to zero.
16364 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16365 round-to-nearest then adjust result for other rounding modes.
16366 * include/fenv.h (fegetround): Use libm_hidden_proto.
16367 * math/fegetround.c (fegetround): Use libm_hidden_def.
16368 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16369 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16370 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16371 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16373 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16374 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16375 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16376 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16378 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16381 * nss/Versions (libnss_files): Add
16382 _nss_files_gethostbyname3_r.
16383 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16385 (HOST_DB_LOOKUP): Remove macro.
16386 (_nss_files_gethostbyname_r): Implement function without the
16387 HOST_DB_LOOKUP macro.
16388 (_nss_files_gethostbyname2_r): Likewise.
16390 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16392 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16394 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16396 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16397 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16400 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16402 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16403 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16404 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16405 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16406 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16407 __fe_nomask_env_priv and attribute_hidden.
16408 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16409 (libc_feupdateenv_test_ppc): Likewise.
16410 (libc_feresetround_ppc): Likewise.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16412 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16413 compat_symbol macro.
16414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16415 (__fe_nomask_env): Likewise.
16416 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16418 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16420 * string/Makefile: Remove ifunc tests.
16421 * string/test-string.h: Define TEST_IFUNC.
16422 * string/test-bcopy-ifunc.c: Remove.
16423 * string/test-bzero-ifunc.c: Likewise.
16424 * string/test-memccpy-ifunc.c: Likewise.
16425 * string/test-memchr-ifunc.c: Likewise.
16426 * string/test-memcmp-ifunc.c: Likewise.
16427 * string/test-memcpy-ifunc.c: Likewise.
16428 * string/test-memmem-ifunc.c: Likewise.
16429 * string/test-memmove-ifunc.c: Likewise.
16430 * string/test-mempcpy-ifunc.c: Likewise.
16431 * string/test-memrchr-ifunc.c: Likewise.
16432 * string/test-memset-ifunc.c: Likewise.
16433 * string/test-rawmemchr-ifunc.c: Likewise.
16434 * string/test-stpcpy-ifunc.c: Likewise.
16435 * string/test-stpncpy-ifunc.c: Likewise.
16436 * string/test-strcasecmp-ifunc.c: Likewise.
16437 * string/test-strcasestr-ifunc.c: Likewise.
16438 * string/test-strcat-ifunc.c: Likewise.
16439 * string/test-strchr-ifunc.c: Likewise.
16440 * string/test-strchrnul-ifunc.c: Likewise.
16441 * string/test-strcmp-ifunc.c: Likewise.
16442 * string/test-strcpy-ifunc.c: Likewise.
16443 * string/test-strcspn-ifunc.c: Likewise.
16444 * string/test-strlen-ifunc.c: Likewise.
16445 * string/test-strncasecmp-ifunc.c: Likewise.
16446 * string/test-strncat-ifunc.c: Likewise.
16447 * string/test-strncmp-ifunc.c: Likewise.
16448 * string/test-strncpy-ifunc.c: Likewise.
16449 * string/test-strnlen-ifunc.c: Likewise.
16450 * string/test-strpbrk-ifunc.c: Likewise.
16451 * string/test-strrchr-ifunc.c: Likewise.
16452 * string/test-strspn-ifunc.c: Likewise.
16453 * string/test-strstr-ifunc.c: Likewise.
16455 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16457 * benchtests/Makefile: Remove ifunc tests.
16458 * benchtests/bench-string.h: Define TEST_IFUNC.
16459 * benchtests/bench-bcopy-ifunc.c: Remove.
16460 * benchtests/bench-bzero-ifunc.c: Likewise.
16461 * benchtests/bench-memccpy-ifunc.c: Likewise.
16462 * benchtests/bench-memchr-ifunc.c: Likewise.
16463 * benchtests/bench-memcmp-ifunc.c: Likewise.
16464 * benchtests/bench-memcpy-ifunc.c: Likewise.
16465 * benchtests/bench-memmem-ifunc.c: Likewise.
16466 * benchtests/bench-memmove-ifunc.c: Likewise.
16467 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16468 * benchtests/bench-memrchr-ifunc.c: Likewise.
16469 * benchtests/bench-memset-ifunc.c: Likewise.
16470 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16471 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16472 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16473 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16474 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16475 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16476 * benchtests/bench-strcat-ifunc.c: Likewise.
16477 * benchtests/bench-strchr-ifunc.c: Likewise.
16478 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16479 * benchtests/bench-strcmp-ifunc.c: Likewise.
16480 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16481 * benchtests/bench-strcpy-ifunc.c: Likewise.
16482 * benchtests/bench-strcspn-ifunc.c: Likewise.
16483 * benchtests/bench-strlen-ifunc.c: Likewise.
16484 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16485 * benchtests/bench-strncat-ifunc.c: Likewise.
16486 * benchtests/bench-strncmp-ifunc.c: Likewise.
16487 * benchtests/bench-strncpy-ifunc.c: Likewise.
16488 * benchtests/bench-strnlen-ifunc.c: Likewise.
16489 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16490 * benchtests/bench-strrchr-ifunc.c: Likewise.
16491 * benchtests/bench-strsep-ifunc.c: Likewise.
16492 * benchtests/bench-strspn-ifunc.c: Likewise.
16493 * benchtests/bench-strstr-ifunc.c: Likewise.
16495 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16497 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16499 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16501 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16502 * rt/aio.h: Likewise.
16503 * sysdeps/gnu/bits/utmp.h: Likewise.
16504 * sysdeps/gnu/bits/utmpx.h: Likewise.
16505 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16506 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16507 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16508 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16509 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16510 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16511 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16512 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16513 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16515 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16516 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16517 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16519 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16520 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16521 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16522 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16523 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16524 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16525 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16526 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16527 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16528 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16529 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16531 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16532 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16533 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16534 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16535 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16536 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16537 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16538 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16539 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16540 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16541 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16542 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16543 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16544 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16545 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16546 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16548 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16551 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16552 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16554 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16556 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16557 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16560 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16562 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16563 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16564 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16565 (__fesetround): Remove define.
16566 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16567 rounding and exceptions handling.
16568 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16569 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16570 (__fe_nomask_env): Likewise.
16571 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16572 __fegetround instead of fegetround.
16573 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16574 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16576 2013-11-21 Roland McGrath <roland@hack.frob.com>
16578 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16581 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16583 2013-11-21 Meador Inge <meadori@codesourcery.com>
16586 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16587 (encrypt_r): Likewise.
16588 * malloc/obstack.h (obstack_free): Likewise.
16589 * posix/unistd.h (encrypt): Likewise.
16591 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16593 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16594 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16595 DL_CALL_DT_FINI() that call the functions directly.
16596 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16597 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16598 * elf/dl-fini.c: Likewise.
16600 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16602 * malloc/hooks.c (memalign_check): Add alignment rounding.
16603 * malloc/malloc.c (_mid_memalign): New function.
16604 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16605 Implement by calling _mid_memalign.
16606 * manual/probes.texi (Memory Allocation Probes): Remove
16607 memory_valloc_retry and memory_pvalloc_retry.
16609 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16611 * locale/programs/locarchive.c (open_archive): Add const
16612 qualifier to ARCHIVEFNAME and copy default fname to
16616 * libio/tst-widetext.input: Rename Oriya to Odia.
16617 * locale/iso-639.def: Likewise.
16619 * manual/probes.texi (Mathematical Function Probes): Add
16620 documentation for sin, cos, asin and acos probes.
16621 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16622 (__sin32): Add slowasin probe.
16623 (__cos32): Add slowacos probe.
16624 (__mpsin): Add slowsin probe.
16625 (__mpcos): Add slowcos probe.
16627 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16630 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16631 thread-local __sim_exceptions_thread and global
16632 __sim_exceptions_global.
16633 (__sim_disabled_exceptions): Change to thread-local
16634 __sim_disabled_exceptions_thread and global
16635 __sim_disabled_exceptions_global.
16636 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16637 and global __sim_round_mode_global.
16638 (__simulate_exceptions): Use thread-local floating-point state and
16639 set global state from it as needed.
16640 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16641 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16642 __sim_round_mode_thread.
16643 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16644 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16645 and global __sim_exceptions_global.
16646 (__sim_disabled_exceptions): Change to thread-local
16647 __sim_disabled_exceptions_thread and global
16648 __sim_disabled_exceptions_global.
16649 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16650 and global __sim_round_mode_global.
16651 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16652 (SIM_SET_GLOBAL): Likewise.
16653 * sysdeps/powerpc/soft-fp/sfp-machine.h
16654 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16655 __sim_round_mode_thread.
16656 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16657 __sim_disabled_exceptions_thread.
16658 (__sim_exceptions): Change to __sim_exceptions_thread.
16659 (__sim_disabled_exceptions): Change to
16660 __sim_disabled_exceptions_thread.
16661 (__sim_round_mode): Change to __sim_round_mode_thread.
16662 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16663 thread-local floating-point state and set global state from it as
16665 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16666 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16667 (__sim_disabled_exceptions): Remove extern declaration.
16668 (feenableexcept): Use thread-local floating-point state and set
16669 global state from it as needed.
16670 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16671 extern declaration.
16672 (__sim_disabled_exceptions): Likewise.
16673 (__sim_round_mode): Likewise.
16674 (__fegetenv): Use thread-local floating-point state.
16675 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16676 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16677 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16678 floating-point state and set global state from it as needed.
16679 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16680 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16681 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16683 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16684 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16686 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16687 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16688 Use __sim_round_mode_thread.
16689 * math/test-fenv-tls.c: New file.
16690 * math/Makefile (tests): Add test-fenv-tls.
16691 ($(objpfx)test-fenv-tls): Depend on
16692 $(common-objpfx)nptl/libpthread.so.
16694 2013-11-19 Andreas Schwab <schwab@suse.de>
16696 * locale/programs/locale.c (show_info): Decode wordarray elements.
16697 * locale/categories.def (LC_MONETARY): Add element for
16698 _NL_MONETARY_CRNCYSTR.
16699 * locale/C-monetary.c (conversion_rate): New variable.
16700 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16703 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16705 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16706 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16708 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16710 * elf/Makefile (tst-auxv): New test.
16711 * elf/tst-auxv.c: New
16712 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16714 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16716 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16717 (hidden_proto): Caller changed.
16718 (hidden_tls_proto): New macro.
16719 (libc_hidden_tls_proto): Likewise.
16720 (rtld_hidden_tls_proto): Likewise.
16721 (libm_hidden_tls_proto): Likewise.
16722 (libresolv_hidden_tls_proto): Likewise.
16723 (librt_hidden_tls_proto): Likewise.
16724 (libdl_hidden_tls_proto): Likewise.
16725 (libnss_files_hidden_tls_proto): Likewise.
16726 (libnsl_hidden_tls_proto): Likewise.
16727 (libnss_nisplus_hidden_tls_proto): Likewise.
16728 (libutil_hidden_tls_proto): Likewise.
16730 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16733 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16734 (decompose_rpath): Defer expansion to fillin_rpath.
16735 (_dl_init_paths): Pass linkmap to fillin_rpath.
16737 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16739 * benchtests/Makefile: Add strsep.
16740 * benchtests/bench-strsep.c: New file: strsep benchtest.
16741 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16743 2013-11-18 Andreas Schwab <schwab@suse.de>
16745 * locale/programs/locale.c (show_info) [case byte]: Check for
16746 '\377' instead of '\177'.
16747 * locale/C-monetary.c (not_available): Always use "\377".
16748 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16749 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16750 detect unavailable sign_posn locale elements.
16751 * locale/localeconv.c (__localeconv): For grouping and
16752 mon_grouping handle "\177" and "\377" like no grouping.
16753 (INT_ELEM): New macro. Use it to set all numeric members.
16754 * locale/programs/ld-monetary.c (monetary_read)
16755 <tok_mon_grouping>: Normalize single -1 to the empty string.
16756 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16759 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16762 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16763 when we match (nil).
16764 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16766 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16768 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16769 (NO_TEST_INLINE): Update value.
16770 (ERRNO_UNCHANGED): Likewise.
16771 (ERRNO_EDOM): Likewise.
16772 (ERRNO_ERANGE): Likewise.
16773 (IGNORE_RESULT): Likewise.
16774 (check_float_internal): Check signs of NaN results if
16775 TEST_NAN_SIGN used.
16776 (check_complex): Pass TEST_NAN_SIGN flag through to second
16777 check_float_internal call.
16778 (copysign_test_data): Add tests with quiet NaNs as second
16779 argument. Use TEST_NAN_SIGN.
16780 (fabs_test_data): Add test of negative quiet NaN argument. Use
16782 (signbit_test_data): Add tests of quiet NaN argument.
16783 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16785 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16787 (parse_args): Handle function results specified as IGNORE.
16788 * math/libm-test.inc (IGNORE_RESULT): New macro.
16789 (check_float_internal): Do not check numerical result if flag
16791 (check_complex): Pass through IGNORE_RESULT to second
16792 check_float_internal call.
16793 (check_int): Do not check numerical result if flag IGNORE_RESULT
16795 (check_long): Likewise.
16796 (check_bool): Likewise.
16797 (check_longlong): Likewise.
16798 (lrint_test_data): Add tests of infinite and NaN arguments.
16799 (lrint_tonearest_test_data): Likewise.
16800 (lrint_towardzero_test_data): Likewise.
16801 (lrint_downward_test_data): Likewise.
16802 (lrint_upward_test_data): Likewise.
16803 (llrint_test_data): Likewise.
16804 (llrint_tonearest_test_data): Likewise.
16805 (llrint_towardzero_test_data): Likewise.
16806 (llrint_downward_test_data): Likewise.
16807 (llrint_upward_test_data): Likewise.
16808 (lround_test_data): Likewise.
16809 (llround_test_data): Likewise.
16811 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16812 (ERRNO_UNCHANGED): Update value.
16813 (ERRNO_EDOM): Likewise.
16814 (ERRNO_ERANGE): Likewise.
16815 (NO_TEST_INLINE_FLOAT): New macro.
16816 (NO_TEST_INLINE_DOUBLE): Likewise.
16817 (enable_test): New function.
16818 (RUN_TEST_f_f): Check enable_test before running test.
16819 (RUN_TEST_2_f): Likewise.
16820 (RUN_TEST_fff_f): Likewise.
16821 (RUN_TEST_c_f): Likewise.
16822 (RUN_TEST_f_f1): Likewise.
16823 (RUN_TEST_fF_f1): Likewise.
16824 (RUN_TEST_fI_f1): Likewise.
16825 (RUN_TEST_ffI_f1): Likewise.
16826 (RUN_TEST_c_c): Likewise.
16827 (RUN_TEST_cc_c): Likewise.
16828 (RUN_TEST_f_i): Likewise.
16829 (RUN_TEST_f_i_tg): Likewise.
16830 (RUN_TEST_ff_i_tg): Likewise.
16831 (RUN_TEST_f_b): Likewise.
16832 (RUN_TEST_f_b_tg): Likewise.
16833 (RUN_TEST_f_l): Likewise.
16834 (RUN_TEST_f_L): Likewise.
16835 (RUN_TEST_fFF_11): Likewise.
16836 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16838 (cosh_test_data): Likewise.
16839 (exp_test_data): Likewise.
16840 (expm1_test_data): Likewise.
16841 (hypot_test_data): Likewise.
16842 (pow_test_data): Likewise.
16843 (sinh_test_data): Likewise.
16844 (tanh_test_data): Likewise.
16845 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16848 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16849 tests with quiet NaN input and output.
16850 (acosh_test_data): Likewise.
16851 (asin_test_data): Likewise.
16852 (asinh_test_data): Likewise.
16853 (atan_test_data): Likewise.
16854 (atanh_test_data): Likewise.
16855 (atan2_test_data): Likewise.
16856 (cbrt_test_data): Likewise.
16857 (cos_test_data): Likewise.
16858 (cosh_test_data): Likewise.
16859 (erf_test_data): Likewise.
16860 (erfc_test_data): Likewise.
16861 (exp_test_data): Likewise.
16862 (exp10_test_data): Likewise.
16863 (exp2_test_data): Likewise.
16864 (expm1_test_data): Likewise.
16865 (hypot_test_data): Likewise.
16866 (j0_test_data): Likewise.
16867 (j1_test_data): Likewise.
16868 (jn_test_data): Likewise.
16869 (lgamma_test_data): Likewise.
16870 (log_test_data): Likewise.
16871 (log10_test_data): Likewise.
16872 (log1p_test_data): Likewise.
16873 (log2_test_data): Likewise.
16874 (pow_test_data): Likewise.
16875 (scalb_test_data): Likewise.
16876 (sin_test_data): Likewise.
16877 (sincos_test_data): Likewise.
16878 (sinh_test_data): Likewise.
16879 (tan_test_data): Likewise.
16880 (tanh_test_data): Likewise.
16881 (tgamma_test_data): Likewise.
16882 (y0_test_data): Likewise.
16883 (y1_test_data): Likewise.
16884 (yn_test_data): Likewise.
16887 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16888 argument being NaN and avoid computations with second argument in
16890 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16891 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16892 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16894 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16896 * locale/iso-639.def: Add Chitwani Tharu (the).
16898 2013-11-14 Andreas Schwab <schwab@suse.de>
16900 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16901 word instead of empty string.
16903 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16906 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16908 (__fe_nomask_env): Likewise.
16910 2013-11-13 Steve Ellcey <sellcey@mips.com>
16912 * benchtests/bench-timing.h: Include time.h.
16914 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16917 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16919 * sysdeps/unix/sysv/linux/configure: Regenerated.
16921 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16924 * stdlib/strtod_l.c (round_and_return): Do not consider
16925 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16926 exponent one less than half the least subnormal exponent.
16927 * stdlib/test-strtod-round-data: Add more tests.
16928 * stdlib/tst-strtod-round.c (tests): Regenerated.
16930 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16933 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16934 (__fe_mask_env): Likewise.
16935 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16936 libm_hidden_proto and add function prototype.
16937 (__fe_mask_env): Add function prototype.
16938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16939 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16941 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16943 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16945 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16947 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16948 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16950 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16952 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16953 of htab_find_slot().
16955 2013-11-11 David S. Miller <davem@davemloft.net>
16958 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16959 symbol in the non-vis3 case in static builds.
16960 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16961 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16962 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16963 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16965 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16968 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16971 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16973 * benchtests/Makefile: Add bench-strtod.
16974 * benchtests/bench-strtod.c: New file: strtod benchtest
16976 2013-11-11 Andreas Schwab <schwab@suse.de>
16979 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16980 terminating NUL in key length.
16982 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16984 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16985 Add artificial ODP entry for vDSO symbol for PPC64.
16986 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16987 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16989 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16992 * nss/getent.c (services_keys): Recognize services starting with digit.
16994 2013-11-06 David S. Miller <davem@davemloft.net>
16997 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16998 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17000 2013-11-06 Will Newton <will.newton@linaro.org>
17002 * manual/memory.texi (Malloc Examples): Remove register
17003 keyword from examples.
17005 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
17007 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
17009 2013-11-04 Joseph Myers <joseph@codesourcery.com>
17012 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17013 depending on [__GCC_IEC_559 > 0].
17014 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17015 depending on [__GCC_IEC_559_COMPLEX > 0].
17017 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
17019 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17022 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
17024 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17026 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
17029 * malloc/malloc (malloc_info): Do not handle first bin as
17032 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
17034 * locale/iso-639.def: Add Central Nahuatl (nhn).
17036 2013-11-01 Bruno Haible <bruno@clisp.org>
17039 * manual/math.texi (BSD Random): Specify range upper bound as
17042 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
17044 * locale/iso-639.def: Add Meadow Mari (mhr).
17046 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
17048 [BZ #14752], [BZ #15763]
17049 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17051 * rt/tst_shm.c: Add test for escaping directory.
17053 2013-10-31 Andreas Schwab <schwab@suse.de>
17056 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17057 followed by 'x' as part of digit sequence.
17058 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17060 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17063 * configure.ac: allow GNU Make 4.0 and greater.
17064 * configure: Regenerated.
17066 2013-10-30 Will Newton <will.newton@linaro.org>
17069 * malloc/hooks.c (memalign_check): Limit alignment to the
17070 maximum representable power of two.
17071 * malloc/malloc.c (__libc_memalign): Likewise.
17072 * malloc/tst-memalign.c (do_test): Add test for very
17073 large alignment values.
17074 * malloc/tst-posix_memalign.c (do_test): Likewise.
17076 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17079 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17080 (munmap_chunk): Likewise.
17081 (mremap_chunk): Likewise.
17083 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17086 * stdlib/div.c (div): Remove obsolete code.
17087 * stdlib/ldiv.c (ldiv): Likewise.
17088 * stdlib/lldiv.c (lldiv): Likewise.
17090 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17093 * nss/nss_files/files-XXX.c (get_contents_ret): New
17095 (get_contents): New function.
17096 (internal_getent): Use it. Expand size of LINEBUFLEN.
17098 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17100 * configure.in: Moved to ...
17101 * configure.ac: ... here. Change reference to configure.in
17103 * sysdeps/arm/preconfigure.ac: ... here.
17104 configure.in to configure.ac.
17105 * sysdeps/gnu/configure.in: Moved to ...
17106 * sysdeps/gnu/configure.ac: ... here.
17107 * sysdeps/i386/configure.in: Moved to ...
17108 * sysdeps/i386/configure.ac: ... here.
17109 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17110 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17111 * sysdeps/mach/configure.in: Moved to ...
17112 * sysdeps/mach/configure.ac: ... here.
17113 * sysdeps/mach/hurd/configure.in: Moved to ...
17114 * sysdeps/mach/hurd/configure.ac: ... here.
17115 * sysdeps/powerpc/configure.in: Moved to ...
17116 * sysdeps/powerpc/configure.ac: ... here.
17117 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17118 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17119 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17120 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17121 * sysdeps/s390/s390-32/configure.in: Moved to ...
17122 * sysdeps/s390/s390-32/configure.ac: ... here.
17123 * sysdeps/s390/s390-64/configure.in: Moved to ...
17124 * sysdeps/s390/s390-64/configure.ac: ... here.
17125 * sysdeps/sh/configure.in: Moved to ...
17126 * sysdeps/sh/configure.ac: ... here.
17127 * sysdeps/sparc/configure.in: Moved to ...
17128 * sysdeps/sparc/configure.ac: ... here.
17129 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17130 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17131 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17132 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17133 * sysdeps/x86_64/configure.in: Moved to ...
17134 * sysdeps/x86_64/configure.ac: ... here.
17135 * sysdeps/x86_64/preconfigure.in: Moved to ...
17136 * sysdeps/x86_64/preconfigure.ac: ... here.
17137 * aclocal.m4: Change reference to configure.in to configure.ac.
17138 * config.h.in: Likewise.
17139 * manual/install.texi: Likewise.
17140 * manual/maint.texi: Likewise.
17141 * Makefile: Likewise.
17142 * malloc/Makefile: Likewise.
17143 * nscd/Makefile: Likewise.
17144 * Makeconfig: Change reference to configure.in and
17145 preconfigure.in to configure.ac and preconfigure.ac
17147 * INSTALL: Regenerated.
17148 * configure: Likewise.
17149 * sysdeps/gnu/configure: Likewise.
17150 * sysdeps/i386/configure: Likewise.
17151 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17152 * sysdeps/mach/configure: Likewise.
17153 * sysdeps/mach/hurd/configure: Likewise.
17154 * sysdeps/powerpc/configure: Likewise.
17155 * sysdeps/powerpc/powerpc32/configure: Likewise.
17156 * sysdeps/powerpc/powerpc64/configure: Likewise.
17157 * sysdeps/s390/s390-32/configure: Likewise.
17158 * sysdeps/s390/s390-64/configure: Likewise.
17159 * sysdeps/sh/configure: Likewise.
17160 * sysdeps/sparc/configure: Likewise.
17161 * sysdeps/unix/sysv/linux/configure: Likewise.
17162 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17163 * sysdeps/x86_64/configure: Likewise.
17164 * sysdeps/x86_64/preconfigure: Likewise.
17166 2013-10-29 Andreas Schwab <schwab@suse.de>
17168 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17170 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17172 * benchtests/pow-inputs: Add new inputs.
17174 * benchtests/exp-inputs: Add new inputs.
17176 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17177 conditional check for return value.
17178 (__cos32): Likewise.
17180 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17182 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17183 to provide a boost for large inputs with word alignment.
17184 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17185 implementation based on optimized PPC64 strcpy.
17186 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17187 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17188 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17189 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17191 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17194 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17196 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17199 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17200 * time/tst-strptime.c (day_tests): Add testcase.
17202 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17205 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17207 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17210 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17211 MAP_FAILED on error.
17213 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17216 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17217 heap for large requests.
17219 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17222 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17223 result if the result has no associated interface.
17224 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17225 interface for all 127.X.Y.Z addresses.
17227 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17229 * locale/iso-639.def: Add Ligurian (lij)
17231 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17234 * sunrpc/rpc_main.c: Document rpcgen -5.
17236 2013-10-19 Michael Stahl <mstahl@redhat.com>
17238 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17240 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17243 * posix/glob.c: Match only directories when trailing slash is present.
17244 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17245 (main): Add testcase.
17247 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17250 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17252 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17254 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17255 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17256 AUTH_DES and cindex for FIPS 140-2.
17257 (DES Encryption): Add cindex FIPS 46-3.
17259 * locale/locarchive.h (struct locarhandle): Add fname.
17260 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17261 if an optional argument was specified to --list-archive,
17263 * locale/programs/locarchive.c (show_archive_content): Take new
17264 argument fname and pass it via ah.fname to open_archive.
17265 * locale/programs/localedef.h: Update decl.
17266 (open_archive): If AH->fname is non-null, open that file
17267 rather than the default file name, and don't ignore ENOENT.
17268 (create_archive): Set AH.fname to NULL.
17269 (delete_locales_from_archive): Likewise.
17270 (add_locales_to_archive): Likewise.
17271 * locale/programs/locfile.c (write_all_categories): Likewise.
17273 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17274 Aldy Hernandez <aldyh@redhat.com>
17276 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17277 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17278 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17279 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17280 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17281 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17282 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17283 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17284 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17285 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17286 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17287 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17288 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17289 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17290 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17292 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17294 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17296 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17298 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17299 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17301 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17302 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17303 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17304 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17306 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17307 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17308 * sysdeps/powerpc/preconfigure: Likewise.
17309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17311 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17312 Replace contents of file by #include of <fenv_libc.h>.
17313 * sysdeps/powerpc/soft-fp/sfp-machine.h
17314 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17316 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17317 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17318 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17319 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17320 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17321 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17323 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17324 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17325 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17326 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17327 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17329 Allow copysignl PLT reference to be missing.
17331 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17332 Joseph Myers <joseph@codesourcery.com
17335 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17337 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17339 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17341 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17342 * elf/tst-tls1.c: Likewise.
17343 * elf/tst-tls10.h: Likewise.
17344 * elf/tst-tls14.c: Likewise.
17345 * elf/tst-tls2.c: Likewise.
17346 * elf/tst-tls3.c: Likewise.
17347 * elf/tst-tls4.c: Likewise.
17348 * elf/tst-tls5.c: Likewise.
17349 * elf/tst-tls6.c: Likewise.
17350 * elf/tst-tls7.c: Likewise.
17351 * elf/tst-tls8.c: Likewise.
17352 * elf/tst-tls9.c: Likewise.
17353 * elf/tst-tlsmod1.c: Likewise.
17354 * elf/tst-tlsmod13.c: Likewise.
17355 * elf/tst-tlsmod13a.c: Likewise.
17356 * elf/tst-tlsmod14a.c: Likewise.
17357 * elf/tst-tlsmod16a.c: Likewise.
17358 * elf/tst-tlsmod16b.c: Likewise.
17359 * elf/tst-tlsmod2.c: Likewise.
17360 * elf/tst-tlsmod3.c: Likewise.
17361 * elf/tst-tlsmod4.c: Likewise.
17362 * elf/tst-tlsmod5.c: Likewise.
17363 * elf/tst-tlsmod6.c: Likewise.
17365 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17368 * malloc/malloc.c: remove checks for statistics.
17370 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17373 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17374 * inet/tst-network.c: Add testcase.
17376 2013-10-17 Andreas Schwab <schwab@suse.de>
17379 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17380 to determine canonical name.
17382 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17384 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17385 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17386 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17387 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17389 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17391 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17393 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17394 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17395 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17396 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17397 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17398 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17399 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17401 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17402 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17403 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17404 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17406 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17407 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17408 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17409 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17410 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17411 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17412 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17413 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17414 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17415 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17416 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17417 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17418 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17419 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17420 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17421 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17422 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17424 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17425 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17426 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17427 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17428 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17429 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17430 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17431 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17432 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17433 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17434 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17435 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17436 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17437 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17438 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17439 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17441 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17443 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17446 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17447 make result into a quiet NaN.
17449 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17451 * soft-fp/adddf3.c: Fix horizontal whitespace.
17452 * soft-fp/addsf3.c: Likewise.
17453 * soft-fp/addtf3.c: Likewise.
17454 * soft-fp/divdf3.c: Likewise.
17455 * soft-fp/divsf3.c: Likewise.
17456 * soft-fp/divtf3.c: Likewise.
17457 * soft-fp/double.h: Likewise.
17458 * soft-fp/eqdf2.c: Likewise.
17459 * soft-fp/eqsf2.c: Likewise.
17460 * soft-fp/eqtf2.c: Likewise.
17461 * soft-fp/extenddftf2.c: Likewise.
17462 * soft-fp/extended.h: Likewise.
17463 * soft-fp/extendsfdf2.c: Likewise.
17464 * soft-fp/extendsftf2.c: Likewise.
17465 * soft-fp/extendxftf2.c: Likewise.
17466 * soft-fp/fixdfdi.c: Likewise.
17467 * soft-fp/fixdfsi.c: Likewise.
17468 * soft-fp/fixdfti.c: Likewise.
17469 * soft-fp/fixsfdi.c: Likewise.
17470 * soft-fp/fixsfsi.c: Likewise.
17471 * soft-fp/fixsfti.c: Likewise.
17472 * soft-fp/fixtfdi.c: Likewise.
17473 * soft-fp/fixtfsi.c: Likewise.
17474 * soft-fp/fixtfti.c: Likewise.
17475 * soft-fp/fixunsdfdi.c: Likewise.
17476 * soft-fp/fixunsdfsi.c: Likewise.
17477 * soft-fp/fixunsdfti.c: Likewise.
17478 * soft-fp/fixunssfdi.c: Likewise.
17479 * soft-fp/fixunssfsi.c: Likewise.
17480 * soft-fp/fixunssfti.c: Likewise.
17481 * soft-fp/fixunstfdi.c: Likewise.
17482 * soft-fp/fixunstfsi.c: Likewise.
17483 * soft-fp/fixunstfti.c: Likewise.
17484 * soft-fp/floatdidf.c: Likewise.
17485 * soft-fp/floatdisf.c: Likewise.
17486 * soft-fp/floatditf.c: Likewise.
17487 * soft-fp/floatsidf.c: Likewise.
17488 * soft-fp/floatsisf.c: Likewise.
17489 * soft-fp/floatsitf.c: Likewise.
17490 * soft-fp/floattidf.c: Likewise.
17491 * soft-fp/floattisf.c: Likewise.
17492 * soft-fp/floattitf.c: Likewise.
17493 * soft-fp/floatundidf.c: Likewise.
17494 * soft-fp/floatundisf.c: Likewise.
17495 * soft-fp/floatunditf.c: Likewise.
17496 * soft-fp/floatunsidf.c: Likewise.
17497 * soft-fp/floatunsisf.c: Likewise.
17498 * soft-fp/floatunsitf.c: Likewise.
17499 * soft-fp/floatuntidf.c: Likewise.
17500 * soft-fp/floatuntisf.c: Likewise.
17501 * soft-fp/floatuntitf.c: Likewise.
17502 * soft-fp/fmadf4.c: Likewise.
17503 * soft-fp/fmasf4.c: Likewise.
17504 * soft-fp/fmatf4.c: Likewise.
17505 * soft-fp/gedf2.c: Likewise.
17506 * soft-fp/gesf2.c: Likewise.
17507 * soft-fp/getf2.c: Likewise.
17508 * soft-fp/ledf2.c: Likewise.
17509 * soft-fp/lesf2.c: Likewise.
17510 * soft-fp/letf2.c: Likewise.
17511 * soft-fp/muldf3.c: Likewise.
17512 * soft-fp/mulsf3.c: Likewise.
17513 * soft-fp/multf3.c: Likewise.
17514 * soft-fp/negdf2.c: Likewise.
17515 * soft-fp/negsf2.c: Likewise.
17516 * soft-fp/negtf2.c: Likewise.
17517 * soft-fp/op-1.h: Likewise.
17518 * soft-fp/op-2.h: Likewise.
17519 * soft-fp/op-4.h: Likewise.
17520 * soft-fp/op-8.h: Likewise.
17521 * soft-fp/op-common.h: Likewise.
17522 * soft-fp/quad.h: Likewise.
17523 * soft-fp/single.h: Likewise.
17524 * soft-fp/soft-fp.h: Likewise.
17525 * soft-fp/sqrtdf2.c: Likewise.
17526 * soft-fp/sqrtsf2.c: Likewise.
17527 * soft-fp/sqrttf2.c: Likewise.
17528 * soft-fp/subdf3.c: Likewise.
17529 * soft-fp/subsf3.c: Likewise.
17530 * soft-fp/subtf3.c: Likewise.
17531 * soft-fp/truncdfsf2.c: Likewise.
17532 * soft-fp/trunctfdf2.c: Likewise.
17533 * soft-fp/trunctfsf2.c: Likewise.
17534 * soft-fp/trunctfxf2.c: Likewise.
17535 * soft-fp/unorddf2.c: Likewise.
17536 * soft-fp/unordsf2.c: Likewise.
17537 * soft-fp/unordtf2.c: Likewise.
17539 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17541 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17542 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17544 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17546 * elf/dl-libc.c: Clear initfini list after freeing.
17548 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17550 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17551 * soft-fp/addsf3.c: Likewise.
17552 * soft-fp/addtf3.c: Likewise.
17553 * soft-fp/divdf3.c: Likewise.
17554 * soft-fp/divsf3.c: Likewise.
17555 * soft-fp/divtf3.c: Likewise.
17556 * soft-fp/double.h: Likewise.
17557 * soft-fp/eqdf2.c: Likewise.
17558 * soft-fp/eqsf2.c: Likewise.
17559 * soft-fp/eqtf2.c: Likewise.
17560 * soft-fp/extenddftf2.c: Likewise.
17561 * soft-fp/extended.h: Likewise.
17562 * soft-fp/extendsfdf2.c: Likewise.
17563 * soft-fp/extendsftf2.c: Likewise.
17564 * soft-fp/extendxftf2.c: Likewise.
17565 * soft-fp/fixdfdi.c: Likewise.
17566 * soft-fp/fixdfsi.c: Likewise.
17567 * soft-fp/fixdfti.c: Likewise.
17568 * soft-fp/fixsfdi.c: Likewise.
17569 * soft-fp/fixsfsi.c: Likewise.
17570 * soft-fp/fixsfti.c: Likewise.
17571 * soft-fp/fixtfdi.c: Likewise.
17572 * soft-fp/fixtfsi.c: Likewise.
17573 * soft-fp/fixtfti.c: Likewise.
17574 * soft-fp/fixunsdfdi.c: Likewise.
17575 * soft-fp/fixunsdfsi.c: Likewise.
17576 * soft-fp/fixunsdfti.c: Likewise.
17577 * soft-fp/fixunssfdi.c: Likewise.
17578 * soft-fp/fixunssfsi.c: Likewise.
17579 * soft-fp/fixunssfti.c: Likewise.
17580 * soft-fp/fixunstfdi.c: Likewise.
17581 * soft-fp/fixunstfsi.c: Likewise.
17582 * soft-fp/fixunstfti.c: Likewise.
17583 * soft-fp/floatdidf.c: Likewise.
17584 * soft-fp/floatdisf.c: Likewise.
17585 * soft-fp/floatditf.c: Likewise.
17586 * soft-fp/floatsidf.c: Likewise.
17587 * soft-fp/floatsisf.c: Likewise.
17588 * soft-fp/floatsitf.c: Likewise.
17589 * soft-fp/floattidf.c: Likewise.
17590 * soft-fp/floattisf.c: Likewise.
17591 * soft-fp/floattitf.c: Likewise.
17592 * soft-fp/floatundidf.c: Likewise.
17593 * soft-fp/floatundisf.c: Likewise.
17594 * soft-fp/floatunsidf.c: Likewise.
17595 * soft-fp/floatunsisf.c: Likewise.
17596 * soft-fp/floatuntidf.c: Likewise.
17597 * soft-fp/floatuntisf.c: Likewise.
17598 * soft-fp/floatuntitf.c: Likewise.
17599 * soft-fp/fmadf4.c: Likewise.
17600 * soft-fp/fmasf4.c: Likewise.
17601 * soft-fp/fmatf4.c: Likewise.
17602 * soft-fp/gedf2.c: Likewise.
17603 * soft-fp/gesf2.c: Likewise.
17604 * soft-fp/getf2.c: Likewise.
17605 * soft-fp/ledf2.c: Likewise.
17606 * soft-fp/lesf2.c: Likewise.
17607 * soft-fp/letf2.c: Likewise.
17608 * soft-fp/muldf3.c: Likewise.
17609 * soft-fp/mulsf3.c: Likewise.
17610 * soft-fp/multf3.c: Likewise.
17611 * soft-fp/negdf2.c: Likewise.
17612 * soft-fp/negsf2.c: Likewise.
17613 * soft-fp/negtf2.c: Likewise.
17614 * soft-fp/op-1.h: Likewise.
17615 * soft-fp/op-2.h: Likewise.
17616 * soft-fp/op-4.h: Likewise.
17617 * soft-fp/op-8.h: Likewise.
17618 * soft-fp/op-common.h: Likewise.
17619 * soft-fp/quad.h: Likewise.
17620 * soft-fp/single.h: Likewise.
17621 * soft-fp/soft-fp.h: Likewise.
17622 * soft-fp/sqrtdf2.c: Likewise.
17623 * soft-fp/sqrtsf2.c: Likewise.
17624 * soft-fp/sqrttf2.c: Likewise.
17625 * soft-fp/subdf3.c: Likewise.
17626 * soft-fp/subsf3.c: Likewise.
17627 * soft-fp/subtf3.c: Likewise.
17628 * soft-fp/truncdfsf2.c: Likewise.
17629 * soft-fp/trunctfdf2.c: Likewise.
17630 * soft-fp/trunctfsf2.c: Likewise.
17631 * soft-fp/trunctfxf2.c: Likewise.
17632 * soft-fp/unorddf2.c: Likewise.
17633 * soft-fp/unordsf2.c: Likewise.
17634 * soft-fp/unordtf2.c: Likewise.
17636 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17639 * misc/error.c (error_tail): Fix possible buffer overflow.
17641 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17644 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17647 2013-10-14 P. J. McDermott <pj@pehjota.net>
17650 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17651 testing pipefail option.
17653 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17655 * soft-fp/double.h: Indent preprocessor directives inside #if.
17656 * soft-fp/extended.h: Likewise.
17657 * soft-fp/op-2.h: Likewise.
17658 * soft-fp/op-4.h: Likewise.
17659 * soft-fp/op-common.h: Likewise.
17660 * soft-fp/quad.h: Likewise.
17661 * soft-fp/single.h: Likewise.
17662 * soft-fp/soft-fp.h: Likewise.
17664 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17666 * iconv/iconv_prog.c: Fix typos.
17667 * stdio-common/psiginfo-data.h: Likewise.
17669 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17672 * locale/setlocale.c: Fix typo.
17674 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17677 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17678 signaling NaN arguments.
17679 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17680 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17683 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17684 unordered operands.
17685 * soft-fp/gesf2.c (__gesf2): Likewise.
17686 * soft-fp/getf2.c (__getf2): Likewise.
17687 * soft-fp/ledf2.c (__ledf2): Likewise.
17688 * soft-fp/lesf2.c (__lesf2): Likewise.
17689 * soft-fp/letf2.c (__letf2): Likewise.
17691 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17692 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17693 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17694 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17695 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17696 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17697 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17698 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17699 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17700 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17701 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17702 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17703 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17704 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17705 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17706 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17707 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17708 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17709 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17710 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17711 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17712 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17713 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17714 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17715 * soft-fp/floattidf.c (__floattidf): Likewise.
17716 * soft-fp/floattisf.c (__floattisf): Likewise.
17717 * soft-fp/floattitf.c (__floattitf): Likewise.
17718 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17719 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17720 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17721 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17722 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17723 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17724 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17725 * soft-fp/gesf2.c (__gesf2): Likewise.
17726 * soft-fp/getf2.c (__getf2): Likewise.
17727 * soft-fp/ledf2.c (__ledf2): Likewise.
17728 * soft-fp/lesf2.c (__lesf2): Likewise.
17729 * soft-fp/letf2.c (__letf2): Likewise.
17731 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17732 Undefine and redefine.
17733 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17734 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17735 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17736 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17737 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17738 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17739 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17740 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17741 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17742 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17743 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17744 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17745 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17746 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17747 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17750 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17751 without decrementing exponent if mantissa >= that for the
17752 denominator, not >.
17753 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17754 denominator, not >. Decrement exponent in < case instead of
17755 incrementing in >= case.
17756 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17757 without decrementing exponent if mantissa >= that for the
17758 denominator, not >.
17760 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17761 computing saturated result for unsigned overflow.
17763 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17764 Jeff Law <law@redhat.com>
17766 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17767 (atan2Mp): Add systemtap probe marker.
17768 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17769 (__ieee754_log): Add systemtap probe marker.
17770 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17771 (atanMp): Add systemtap probe marker.
17772 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17773 (tanMp): Add systemtap probe marker.
17774 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17775 (__slowexp): Add systemtap probe marker.
17776 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17777 (__slowpow): Add systemtap probe marker.
17778 * manual/probes.texi: Document probes.
17780 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17783 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17785 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17787 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17788 written to buffer but not flushed.
17789 * libio/iofwrite_u.c: Likewise.
17790 * libio/iopadn.c: Return bytes returned even if EOF was
17792 * libio/iowpadn.c: Likewise.
17793 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17794 if _IO_padn does not write the whole buffer.
17795 [!COMPILE_WPRINTF] (PAD): Likewise.
17797 2013-10-10 David S. Miller <davem@davemloft.net>
17799 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17802 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17804 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17805 instead of FSF address.
17806 * soft-fp/fixdfti.c: Likewise.
17807 * soft-fp/fixsfti.c: Likewise.
17808 * soft-fp/fixtfti.c: Likewise.
17809 * soft-fp/fixunsdfti.c: Likewise.
17810 * soft-fp/fixunssfti.c: Likewise.
17811 * soft-fp/fixunstfti.c: Likewise.
17812 * soft-fp/floattidf.c: Likewise.
17813 * soft-fp/floattisf.c: Likewise.
17814 * soft-fp/floattitf.c: Likewise.
17815 * soft-fp/floatuntidf.c: Likewise.
17816 * soft-fp/floatuntisf.c: Likewise.
17817 * soft-fp/floatuntitf.c: Likewise.
17818 * soft-fp/trunctfxf2.c: Likewise.
17820 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17821 * soft-fp/fixdfti.c: Likewise.
17822 * soft-fp/fixsfti.c: Likewise.
17823 * soft-fp/fixtfti.c: Likewise.
17824 * soft-fp/fixunsdfti.c: Likewise.
17825 * soft-fp/fixunssfti.c: Likewise.
17826 * soft-fp/fixunstfti.c: Likewise.
17827 * soft-fp/floattidf.c: Likewise.
17828 * soft-fp/floattisf.c: Likewise.
17829 * soft-fp/floattitf.c: Likewise.
17830 * soft-fp/floatuntidf.c: Likewise.
17831 * soft-fp/floatuntisf.c: Likewise.
17832 * soft-fp/floatuntitf.c: Likewise.
17833 * soft-fp/trunctfxf2.c: Likewise.
17835 2013-10-10 David S. Miller <davem@davemloft.net>
17837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17839 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17841 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17842 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17843 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17844 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17845 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17846 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17847 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17850 for NaNs before doing comparisons on argument.
17851 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17854 2013-10-10 Will Newton <will.newton@linaro.org>
17856 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17857 passed to _int_memalign does not overflow.
17859 2013-10-10 Torvald Riegel <triegel@redhat.com>
17861 * scripts/bench.pl: Add include-sources directive.
17862 * benchtests/README: Update documentation.
17864 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17866 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17867 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17868 instead of FP_INIT_ROUNDMODE.
17869 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17870 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17873 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17874 copy class of input value.
17875 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17876 not handle exceptions.
17877 * soft-fp/negsf2.c (__negsf2): Likewise.
17878 * soft-fp/negtf2.c (__negtf2): Likewise.
17879 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17881 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17883 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17884 semicolon. From Linux kernel.
17886 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17888 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17890 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17893 * manual/socket.texi: Added statement about buffer
17894 for gethostbyname2_r.
17896 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17898 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17899 Use .p2align directive instead, throughout.
17900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17901 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17902 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17903 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17904 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17905 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17906 * sysdeps/x86_64/strchr.S: Likewise.
17907 * sysdeps/x86_64/strrchr.S: Likewise.
17909 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17911 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17913 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17915 * sysdeps/generic/math_private.h (__mpsin1): Remove
17917 (__mpcos1): Likewise.
17918 (__mpsin): New argument __range_reduce.
17919 (__mpcos): Likewise.
17920 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17921 (slow): Use __mpsin and __mpcos.
17925 (sloww1): Likewise.
17926 (sloww2): Likewise.
17927 (bsloww): Likewise.
17928 (bsloww1): Likewise.
17929 (bsloww2): Likewise.
17930 (cslow2): Likewise.
17931 (csloww): Likewise.
17932 (csloww1): Likewise.
17933 (csloww2): Likewise.
17934 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17935 range_reduce. Merge in __mpsin1.
17936 (__mpcos): Likewise.
17937 (__mpsin1): Remove.
17938 (__mpcos1): Likewise.
17940 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17942 * locale/loadlocale.c (_nl_intern_locale_data): Use
17944 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17945 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17946 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17947 obstack data is appropriately aligned.
17948 (obstack_int32_grow_fast): Likewise.
17949 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17950 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17951 (add_locale_uint32_array): Likewise.
17953 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17955 * benchtests/Makefile: Remove ARGLIST and RET variables.
17956 ($(objpfx)bench-%.c): Pass only function name to the script.
17957 * benchtests/README: Update documentation.
17958 * benchtests/acos-inputs: Add new directives.
17959 * benchtests/acosh-inputs: Likewise.
17960 * benchtests/asin-inputs: Likewise.
17961 * benchtests/asinh-inputs: Likewise.
17962 * benchtests/atan-inputs: Likewise.
17963 * benchtests/atanh-inputs: Likewise.
17964 * benchtests/cos-inputs: Likewise.
17965 * benchtests/cosh-inputs: Likewise.
17966 * benchtests/exp-inputs: Likewise.
17967 * benchtests/log-inputs: Likewise.
17968 * benchtests/pow-inputs: Likewise.
17969 * benchtests/rint-inputs: Likewise.
17970 * benchtests/sin-inputs: Likewise.
17971 * benchtests/sinh-inputs: Likewise.
17972 * benchtests/tan-inputs: Likewise.
17973 * benchtests/tanh-inputs: Likewise.
17974 * scripts/bench.pl: Add support for new directives.
17976 2013-10-07 Alan Modra <amodra@gmail.com>
17978 * README: Fix careless merge.
17980 2013-10-05 Alan Modra <amodra@gmail.com>
17982 * NEWS: Mention powerpc64le support and bugs fixed.
17983 * README: Both big-endian and little-endian powerpc64 supported.
17985 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17987 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17988 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17989 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17990 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17992 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17994 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17997 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17999 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18000 Move -mhard-float appending from
18001 ports/sysdeps/powerpc/powerpc32/Makefile.
18002 [$(with-fp) = yes] (ASFLAGS): Likewise.
18003 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18004 * sysdeps/powerpc/nofpu: Move directory from
18005 ports/sysdeps/powerpc/nofpu.
18006 * sysdeps/powerpc/soft-fp: Move directory from
18007 ports/sysdeps/powerpc/soft-fp.
18008 * sysdeps/powerpc/powerpc32/405: Move directory from
18009 ports/sysdeps/powerpc/powerpc32/405.
18010 * sysdeps/powerpc/powerpc32/440: Move directory from
18011 ports/sysdeps/powerpc/powerpc32/440.
18012 * sysdeps/powerpc/powerpc32/464: Move directory from
18013 ports/sysdeps/powerpc/powerpc32/464.
18014 * sysdeps/powerpc/powerpc32/476: Move directory from
18015 ports/sysdeps/powerpc/powerpc32/476.
18016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18017 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18019 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18021 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18023 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18025 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18026 * README: Update for powerpc-*-linux-gnu software floating point
18029 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18030 case to powerpc/powerpc32*.
18031 * sysdeps/unix/sysv/linux/configure: Regenerated.
18033 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18034 (_FPU_MASK_OM): Define as 0x04.
18035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18036 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18038 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18043 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18046 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18049 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18050 and setcontext_e500.
18052 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18054 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18056 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18058 * manual/threads.texi (Default Thread Attributes): Fix typo.
18060 2013-10-04 Will Newton <will.newton@linaro.org>
18062 * malloc/Makefile: Add tst-memalign.
18063 * malloc/tst-memalign.c: New file.
18065 * malloc/tst-posix_memalign.c: Add comments.
18066 (do_test): Add comments and call free on all potentially
18067 allocated pointers. Add space after cast.
18069 * malloc/tst-pvalloc.c: Add comments.
18070 (do_test): Add comments and call free on all potentially
18071 allocated pointers. Remove duplicate check for NULL pointer.
18072 Add space after cast.
18074 * malloc/tst-valloc.c: Add comments.
18075 (do_test): Add comments and call free on all potentially
18076 allocated pointers. Remove duplicate check for NULL pointer.
18077 Add space after cast.
18079 2013-10-04 Alan Modra <amodra@gmail.com>
18081 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18082 Use stdint types in rather than __attribute__((mode())).
18083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18085 2013-10-04 Alan Modra <amodra@gmail.com>
18087 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18088 Correct handling of unaligned relocs for little-endian.
18089 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18091 2013-10-04 Alan Modra <amodra@gmail.com>
18093 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18094 * configure: Regenerate.
18095 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18096 * shlib-versions: Likewise.
18098 2013-10-04 Alan Modra <amodra@gmail.com>
18100 * string/tester.c (test_memrchr): Increment reported test cycle.
18102 2013-10-04 Alan Modra <amodra@gmail.com>
18104 * string/test-memcpy.c (do_one_test): When reporting errors, print
18105 string address and don't overrun end of string.
18107 2013-10-04 Alan Modra <amodra@gmail.com>
18109 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18110 insrdi. Make better use of reg selection to speed exit slightly.
18111 Schedule entry path a little better. Remove useless "are we done"
18112 checks on entry to main loop. Handle wrapping around zero address.
18113 Correct main loop count. Handle single left-over word from main
18114 loop inline rather than by using loop_small. Remove extra word
18115 case in loop_small caused by wrong loop count. Add little-endian
18117 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18118 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18120 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18121 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18122 support. Avoid rlwimi.
18123 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18125 2013-10-04 Alan Modra <amodra@gmail.com>
18127 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18128 insrdi. Formatting.
18129 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18130 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18131 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18132 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18133 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18134 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18136 2013-10-04 Alan Modra <amodra@gmail.com>
18138 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18139 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18140 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18141 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18142 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18143 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18144 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18145 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18146 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18147 use of regs. Use power7 mtocrf. Tidy function tails.
18149 2013-10-04 Alan Modra <amodra@gmail.com>
18151 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18152 Formatting. Consistently use rXXX register defines or rN defines.
18153 Use early exit labels that avoid restoring unused non-volatile regs.
18154 Make cr field use more consistent with rWORDn compares. Rename
18155 regs used as shift registers for unaligned loop, using rN defines
18156 for short lifetime/multiple use regs.
18157 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18158 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18159 addi 1,1,64 to pop stack frame. Simplify return value code.
18160 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18162 2013-10-04 Alan Modra <amodra@gmail.com>
18164 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18165 support. Correct typos, formatting. Optimize tail. Use insrdi
18166 rather than rlwimi.
18167 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18168 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18169 little-endian support. Correct typos.
18170 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18171 rather than rlwimi.
18172 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18173 in loop and entry code to keep "and." results.
18174 (strchr): Add little-endian support. Comment. Move cntlzd
18176 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18178 2013-10-04 Alan Modra <amodra@gmail.com>
18180 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18181 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18182 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18183 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18185 2013-10-04 Alan Modra <amodra@gmail.com>
18187 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18188 (rTMP): Define as r11.
18189 (strcmp): Add little-endian support. Optimise tail.
18190 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18191 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18192 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18193 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18194 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18195 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18198 2013-10-04 Alan Modra <amodra@gmail.com>
18200 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18201 little-endian support. Remove unnecessary "are we done" tests.
18202 Handle "s" wrapping around zero and extremely large "size".
18203 Correct main loop count. Handle single left-over word from main
18204 loop inline rather than by using small_loop. Correct comments.
18205 Delete "zero" tail, use "end_max" instead.
18206 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18208 2013-10-04 Alan Modra <amodra@gmail.com>
18210 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18211 support. Don't branch over align.
18212 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18213 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18214 support. Rearrange tmp reg use to suit. Comment.
18215 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18217 2013-10-04 Alan Modra <amodra@gmail.com>
18219 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18221 2013-10-04 Alan Modra <amodra@gmail.com>
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18224 conditional form of branch and link when obtaining pc.
18225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18227 2013-10-04 Alan Modra <amodra@gmail.com>
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18234 2013-10-04 Alan Modra <amodra@gmail.com>
18236 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18237 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18238 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18239 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18240 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18241 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18242 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18243 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18244 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18245 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18247 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18248 Alistair Popple <alistair@ozlabs.au.ibm.com>
18249 Alan Modra <amodra@gmail.com>
18252 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18253 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18254 _dl_hwcap access for little-endian.
18255 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18256 destroy vmx regs when saving unaligned.
18257 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18258 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18259 destroy vmx regs when saving unaligned.
18261 2013-10-04 Alan Modra <amodra@gmail.com>
18263 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18264 Don't use a union to pack hi/low value.
18266 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18268 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18270 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18271 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18272 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18273 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18274 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18276 2013-10-04 Alan Modra <amodra@gmail.com>
18278 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18279 constants to usual value for .cst8 section, and remove redundant
18281 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18282 constant for 0x1p52. Load little-endian words of double from
18283 correct stack offsets.
18285 2013-10-04 Alan Modra <amodra@gmail.com>
18287 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18288 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18289 words of double from correct stack offsets.
18290 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18291 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18292 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18294 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18296 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18297 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18298 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18299 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18300 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18301 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18302 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18303 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18304 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18305 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18306 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18308 2013-10-04 Alan Modra <amodra@gmail.com>
18310 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18311 64-bit int/double union.
18312 (_FPU_SETCW): Likewise.
18313 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18314 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18316 2013-10-04 Alan Modra <amodra@gmail.com>
18318 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18319 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18321 2013-10-04 Alan Modra <amodra@gmail.com>
18323 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18324 use vector int constants.
18325 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18327 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18329 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18330 array with long long.
18331 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18332 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18333 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18334 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18335 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18336 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18337 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18338 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18339 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18340 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18341 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18342 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18343 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18345 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18347 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18348 (__signbit): Likewise. Correct for little-endian.
18349 (__signbitl): Call __signbit.
18350 (lrint): Correct for little-endian.
18351 (lrintf): Call lrint.
18353 2013-10-04 Alan Modra <amodra@gmail.com>
18355 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18356 union 32-bit int array member with 64-bit int array.
18357 (t515, tm256): Double rather than long double.
18358 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18360 2013-10-04 Alan Modra <amodra@gmail.com>
18362 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18364 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18366 version of math_ldbl.h.
18368 2013-10-04 Alan Modra <amodra@gmail.com>
18370 [BZ #15734], [BZ #15735]
18371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18372 all uses of ieee875 long double macros and unions. Simplify test
18373 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18374 ldbl_extract_mantissa value for ix,iy exponents. Properly
18375 normalize after ldbl_extract_mantissa, and don't add hidden bit
18376 already handled. Don't treat low word of ieee854 mantissa like
18377 low word of IBM long double and mask off bit when testing for
18379 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18380 all uses of ieee875 long double macros and unions. Simplify tests
18381 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18382 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18383 two1022, instead use their values. Recognise that tests for large
18384 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18385 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18386 Rewrite all uses of ieee875 long double macros and unions. Simplify
18387 test for 0.0L and nan. Correct negation.
18388 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18389 ieee875 long double macros and unions. Correct output for large
18390 magnitude x. Correct absolute value calculation.
18391 (__erfcl): Likewise.
18392 * math/libm-test.inc: Add tests for errors discovered in IBM long
18393 double versions of fmodl, remainderl, erfl and erfcl.
18395 2013-10-04 Alan Modra <amodra@gmail.com>
18397 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18398 all uses of ieee854 long double macros and unions. Simplify tests
18399 for long doubles that are fully specified by the high double.
18400 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18402 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18403 Remove dead code too.
18404 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18405 (__ieee754_ynl): Likewise.
18406 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18407 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18409 Remove dead code too.
18410 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18411 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18412 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18413 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18415 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18417 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18418 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18419 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18420 Comment on variable precision.
18421 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18422 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18424 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18425 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18426 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18427 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18428 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18430 2013-10-04 Alan Modra <amodra@gmail.com>
18432 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18433 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18434 all uses of ieee854 long double macros and unions.
18435 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18436 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18437 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18438 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18439 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18440 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18442 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18446 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18447 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18448 Simplify sign and nan test too.
18449 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18450 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18451 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18452 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18454 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18455 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18457 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18458 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18459 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18460 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18461 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18462 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18464 2013-10-04 Alan Modra <amodra@gmail.com>
18466 * stdio-common/printf_size.c (__printf_size): Don't use
18467 union ieee854_long_double in fpnum union.
18468 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18469 signbit macro to retrieve sign from long double.
18470 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18471 retrieve sign from long double.
18472 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18473 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18474 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18475 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18476 * math/test-misc.c (main): Don't use union ieee854_long_double.
18478 2013-10-04 Alan Modra <amodra@gmail.com>
18481 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18482 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18483 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18484 calculation. Remove unnecessary test for denormal exponent.
18485 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18486 Correct handling of denormals. Avoid undefined shift behaviour.
18487 Correct normalisation of low mantissa when low double is denormal.
18488 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18489 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18490 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18491 Correct normalisation of low mantissa. Test for overflow of high
18492 mantissa and normalise.
18493 (ldbl_nearbyint): Use more readable constant for two52.
18494 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18495 (__mpn_construct_long_double): Fix test for overflow of high
18496 mantissa and correct normalisation. Avoid undefined shift.
18498 2013-10-04 Alan Modra <amodra@gmail.com>
18500 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18501 (union ibm_extended_long_double): Define as an array of ieee754_double.
18502 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18503 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18504 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18505 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18506 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18507 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18508 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18509 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18510 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18511 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18512 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18514 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18516 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18517 page size instead of calling getpagesize.
18519 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18520 (LOCFILE_ALIGN_MASK): Likewise.
18521 (LOCFILE_ALIGN_UP): Likewise.
18522 (LOCFILE_ALIGNED_P): Likewise.
18523 * locale/programs/ld-collate.c (collate_output): Use the new
18524 macros instead of __alignof__ (int32_t).
18525 * locale/weight.h (findidx): Likewise.
18527 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18530 * manual/string.texi: Fix strncat and wcsncat.
18532 2013-10-03 Brooks Moses <bmoses@google.com>
18535 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18536 * Makerules: ...here, and adjust associated comments.
18538 2013-10-02 Will Newton <will.newton@linaro.org>
18540 * malloc/Makefile: Add tst-pvalloc.
18541 * malloc/tst-pvalloc.c: New file.
18543 2013-10-02 Will Newton <will.newton@linaro.org>
18545 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18546 improve test coverage.
18548 2013-10-02 Will Newton <will.newton@linaro.org>
18550 * malloc/Makefile: Add tst-posix_memalign.
18551 * malloc/tst-posix_memalign.c: New file.
18553 2013-10-01 Eric Blake <eblake@redhat.com>
18555 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18556 Use __THROWNL rather than __THROW on static functions.
18558 2013-09-30 Petr Machata <pmachata@redhat.com>
18560 * elf/elf.h (R_AARCH64_ABS16): New macro.
18561 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18562 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18563 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18564 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18565 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18566 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18567 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18568 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18569 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18570 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18571 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18572 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18573 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18574 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18575 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18576 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18577 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18578 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18579 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18580 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18581 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18582 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18583 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18584 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18585 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18586 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18587 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18588 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18589 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18590 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18591 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18592 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18593 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18594 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18595 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18596 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18597 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18598 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18599 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18600 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18601 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18602 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18603 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18604 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18605 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18606 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18607 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18608 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18609 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18610 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18611 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18612 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18613 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18614 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18615 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18616 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18617 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18618 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18619 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18620 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18621 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18622 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18623 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18624 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18625 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18626 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18627 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18628 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18629 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18630 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18631 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18632 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18633 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18634 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18635 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18636 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18637 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18638 (R_AARCH64_TLSDESC_LDR): Likewise.
18639 (R_AARCH64_TLSDESC_ADD): Likewise.
18640 (R_AARCH64_TLSDESC_CALL): Likewise.
18642 2013-09-30 Andreas Schwab <schwab@suse.de>
18645 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18646 the nss database lookup.
18647 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18650 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18652 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18654 2013-09-28 P. J. McDermott <pj@pehjota.net>
18656 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18657 ${Bash-specific parameter/pattern/string} parameter expansion.
18658 * sysdeps/unix/make-syscalls.sh: Likewise.
18660 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18662 * sysdeps/sh/stackguard-macros.h: New file.
18664 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18667 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18668 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18669 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18670 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18671 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18673 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18675 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18676 Fix thread ID register.
18678 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18680 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18681 [POSIX || UNIX98]: Require rather than permitting all symbols from
18683 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18684 element of struct sched_param.
18685 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18686 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18687 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18688 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18691 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18693 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18694 argument calculation.
18696 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18698 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18700 [POSIX] (pthread_attr_t): Do not require type.
18701 [POSIX] (pthread_cond_t): Likewise.
18702 [POSIX] (pthread_condattr_t): Likewise.
18703 [POSIX] (pthread_key_t): Likewise.
18704 [POSIX] (pthread_mutex_t): Likewise.
18705 [POSIX] (pthread_mutexattr_t): Likewise.
18706 [POSIX] (pthread_once_t): Likewise.
18707 [POSIX] (pthread_t): Likewise.
18708 [POSIX-based standards] (pthread_atfork): Expect function.
18710 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18711 Richard Sandiford <richard@codesourcery.com>
18713 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18714 (swap_endianness_p): New extern variable.
18715 (set_big_endian): New inline function.
18716 (maybe_swap_uint32): Likewise.
18717 (maybe_swap_uint32_array): Likewise.
18718 (maybe_swap_uint32_obstack): Likewise.
18719 * locale/programs/locfile.c: Include <stdbool.h>.
18720 (swap_endianness_p): New variable.
18721 (add_locale_uint32): Call maybe_swap_uint32.
18722 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18723 (write_locale_data): Call maybe_swap_uint32_array.
18724 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18726 (obstack_int32_grow_fast): Likewise.
18727 (output_weightwc): Call maybe_swap_uint32_obstack.
18728 (collate_output): Likewise.
18729 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18730 (OPT_LITTLE_ENDIAN): Likewise.
18731 (options): Add --little-endian and --big-endian options.
18732 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18733 * locale/programs/locarchive.c: Include "locfile.h".
18737 (create_archive): Use the new macros to access fields of
18738 structures directly mapped from or written to locale archives.
18739 (oldlocrecentcmp): Likewise.
18740 (enlarge_archive): Likewise.
18741 (insert_name): Likewise.
18742 (add_alias): Likewise.
18743 (add_locale): Likewise.
18744 (delete_locales_from_archive): Likewise.
18745 (show_archive_content): Likewise.
18746 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18749 2013-09-24 Roland McGrath <roland@hack.frob.com>
18751 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18752 http://www.gnu.org/doc/freemanuals.texi.
18753 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18755 2013-09-24 Will Newton <will.newton@linaro.org>
18757 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18760 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18762 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18765 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18767 * manual/threads.texi (POSIX Threads): Fix a typo.
18769 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18772 * string/tst-strcoll-overflow.c: New test case.
18773 * string/Makefile (xtests): Add tst-strcoll-overflow.
18774 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18775 cache if string sizes may cause integer overflow.
18778 * string/strcoll_l.c (coll_seq): New members rule, idx,
18779 save_idx and back_us.
18780 (get_next_seq_nocache): New function.
18781 (do_compare_nocache): New function.
18782 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18785 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18788 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18789 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18790 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18793 * elf/Makefile (tests): Add tst-ptrguard1.
18794 (tests-static): Add tst-ptrguard1-static.
18795 (tst-ptrguard1-ARGS): Define.
18796 (tst-ptrguard1-static-ARGS): Define.
18797 * elf/tst-ptrguard1.c: New file.
18798 * elf/tst-ptrguard1-static.c: New file.
18799 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18800 * sysdeps/i386/stackguard-macros.h: Likewise.
18801 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18802 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18803 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18804 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18805 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18806 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18808 2013-09-23 Hector Marco <hecmargi@upv.es>
18809 Ismael Ripoll <iripoll@disca.upv.es>
18810 Carlos O'Donell <carlos@redhat.com>
18813 * sysdeps/generic/stackguard-macros.h: Define
18814 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18815 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18816 Define __pointer_chk_guard_local.
18817 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18818 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18820 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18823 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18825 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18827 * include/string.h (__ffs): Declare as hidden.
18828 * string/ffs.c (__ffs): Define as hidden.
18829 * sysdeps/i386/ffs.c (__ffs): Likewise.
18830 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18831 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18832 * sysdeps/s390/ffs.c (__ffs): Likewise.
18833 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18835 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18837 * NEWS: Mention malloc probes.
18839 * malloc/arena.c (new_heap): New memory_heap_new probe.
18840 (grow_heap): New memory_heap_more probe.
18841 (shrink_heap): New memory_heap_less probe.
18842 (heap_trim): New memory_heap_free probe.
18843 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18844 (systrim): New memory_sbrk_less probe.
18845 * manual/probes.texi: Document them.
18847 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18848 * manual/probes.texi: Document it.
18850 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18851 (__libc_realloc): Add memory_realloc_retry probe.
18852 (__libc_memalign): Add memory_memalign_retry probe.
18853 (__libc_valloc): Add memory_valloc_retry probe.
18854 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18855 (__libc_calloc): Add memory_calloc_retry probe.
18856 * manual/probes.texi: Document them.
18858 * malloc/arena.c (get_free_list): Add probe
18859 memory_arena_reuse_free_list.
18860 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18861 and memory_arena_reuse.
18862 (arena_get2) [!PER_THREAD]: Likewise.
18863 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18864 memory_arena_reuse_realloc.
18865 * manual/probes.texi: Document them.
18867 * malloc/malloc.c (__libc_free): Add
18868 memory_mallopt_free_dyn_thresholds probe.
18869 (__libc_mallopt): Add multiple memory_mallopt probes.
18870 * manual/probes.texi: Document them.
18872 * malloc/malloc.c: Include stap-probe.h.
18873 (__libc_mallopt): Add memory_mallopt probe.
18874 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18875 * manual/probes.texi: New.
18876 * manual/Makefile (chapters): Add probes.
18877 * manual/threads.texi: Set next node.
18879 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18881 [BZ #15963, #13985]
18882 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18883 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18884 Add `Chinese' to `nan' entry name.
18886 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18888 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18889 (POLYNOMIAL): Likewise.
18890 (TAYLOR_SINCOS): Likewise.
18891 (TAYLOR_SLOW): Likewise.
18892 (__sin): Use TAYLOR_SINCOS.
18894 (slow): Use TAYLOR_SLOW.
18896 (bsloww): Likewise.
18897 (csloww): Likewise.
18899 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18901 * stdlib/strtod_l.c: Fix buffer overrun.
18903 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18905 * benchtests/Makefile (bench): Add sincos.
18906 * benchtests/bench-sincos.c: New file.
18908 * math/libm-test.inc (cos_test_data): New test inputs.
18909 (sin_test_data): Likewise.
18911 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18917 (sloww1): Likewise.
18918 (sloww2): Likewise.
18919 (bsloww1): Likewise.
18920 (bsloww2): Likewise.
18921 (cslow2): Likewise.
18922 (csloww1): Likewise.
18923 (csloww2): Likewise.
18925 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18930 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18934 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18936 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18937 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18938 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18939 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18940 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18941 * elf/cache.c (print_entry): Handle the new cache flags.
18943 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18944 Aldy Hernandez <aldyh@redhat.com>
18946 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18947 Change condition to [_SOFT_FLOAT].
18948 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18949 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18950 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18951 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18952 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18953 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18954 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18955 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18956 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18957 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18958 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18959 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18960 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18963 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18966 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18968 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18969 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18970 (__longjmp): Use LOAD_GP to load saved GPRs.
18971 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18972 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18973 (__sigsetjmp): Use SAVE_GP to save GPRs.
18975 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18976 Do not append -msoft-float.
18977 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18979 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18981 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18983 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18986 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18987 (_FPU_GETCW): Use initial "__" on variable and field names but not
18988 on macro parameter name.
18989 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18990 parentheses around reference to macro parameter.
18992 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18994 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18996 (ctype_startup): Use uint32_t in cast and sizeof for
18999 2013-09-11 Jia Liu <proljc@gmail.com>
19001 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19003 [__FreeBSD__]: Likewise.
19005 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
19007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19008 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19009 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19010 (strchr): Remove __strchr_sse42 ifunc selection.
19011 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19012 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19014 2013-09-11 Will Newton <will.newton@linaro.org>
19016 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19017 parameter to RES. Remove hardcoded 1000 value.
19018 * benchtests/bench-skeleton.c (main): Pass RES parameter
19019 to TIMING_INIT and multiply result by 1000.
19021 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19025 2013-09-11 Andreas Schwab <schwab@suse.de>
19027 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19029 (O_TMPFILE) [__USE_GNU]: Define.
19030 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19033 2013-09-11 Will Newton <will.newton@linaro.org>
19036 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19039 2013-09-11 Will Newton <will.newton@linaro.org>
19042 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19045 2013-09-11 Will Newton <will.newton@linaro.org>
19048 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19051 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
19053 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19055 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19056 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19057 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19059 2013-09-10 Allan McRae <allan@archlinux.org>
19062 * manual/arith.texi (Parsing of Floats): Clarify
19066 * manual/install.texi (Running make install): Mention
19068 * INSTALL: Regenerated.
19070 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19072 * csu/init-first.c (_init): Remove the !SHARED condition around
19073 FPU control word initialization.
19074 * elf/dl-support.c (_dl_fpu_control): New variable.
19075 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19076 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19077 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19078 * math/test-fpucw-static.c: New file.
19079 * math/test-fpucw-ieee.c: New file.
19080 * math/test-fpucw-ieee-static.c: New file.
19081 * math/Makefile (tests): Add `test-fpucw-ieee' and
19083 (tests-static): New variable.
19084 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19086 [($(build-shared),yes)]
19087 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19089 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19092 2013-09-09 Allan McRae <allan@archlinux.org>
19095 * manual/string.texi (Collation Functions): Fix typo in
19097 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19100 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19103 * libio/memstream.c (open_memstream): Fix memory leak.
19104 * libio/wmemstream.c (open_wmemstream): Likewise.
19107 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19109 2013-09-09 Will Newton <will.newton@linaro.org>
19111 * malloc/Makefile: Add tst-realloc to tests.
19112 * malloc/tst-realloc.c: New file.
19114 2013-09-09 Allan McRae <allan@archlinux.org>
19117 * COPYING: Update from GNU website to fix FSF address.
19118 * COPYING.LIB: Likewise.
19120 2013-09-06 David S. Miller <davem@davemloft.net>
19122 * po/zh_TW.po: Update Chinese (traditional) translation from
19123 translation project.
19125 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19126 Joseph Myers <joseph@codesourcery.com>
19128 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19130 (obstack_chunk_alloc): New macro.
19131 (obstack_chunk_free): Likewise.
19132 (record_offset): New function.
19133 (init_locale_data): Likewise.
19134 (align_locale_data): Likewise.
19135 (add_locale_empty): Likewise.
19136 (add_locale_raw_data): Likewise.
19137 (add_locale_raw_obstack): Likewise.
19138 (add_locale_string): Likewise.
19139 (add_locale_wstring): Likewise.
19140 (add_locale_uint32): Likewise.
19141 (add_locale_uint32_array): Likewise.
19142 (add_locale_char): Likewise.
19143 (start_locale_structure): Likewise.
19144 (end_locale_structure): Likewise.
19145 (start_locale_prelude): Likewise.
19146 (end_locale_prelude): Likewise.
19147 (write_locale_data): Take locale_file structure rather than an
19149 * locale/programs/locfile.h: Include "obstack.h".
19150 (struct locale_file): Change to store locale file contents instead
19152 (init_locale_data): New prototype.
19153 (align_locale_data): Likewise.
19154 (add_locale_empty): Likewise.
19155 (add_locale_raw_data): Likewise.
19156 (add_locale_raw_obstack): Likewise.
19157 (add_locale_string): Likewise.
19158 (add_locale_wstring): Likewise.
19159 (add_locale_uint32): Likewise.
19160 (add_locale_uint32_array): Likewise.
19161 (add_locale_char): Likewise.
19162 (start_locale_structure): Likewise.
19163 (end_locale_structure): Likewise.
19164 (start_locale_prelude): Likewise.
19165 (end_locale_prelude): Likewise.
19166 (write_locale_data): Update prototype.
19167 * locale/programs/3level.h (struct TABLE): Remove result field.
19168 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19169 Use new locale_file interface.
19170 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19171 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19172 * locale/programs/ld-address.c (address_output): Use new
19173 locale_file interface.
19174 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19176 (collate_finish): Don't call collseq_table_finalize.
19177 (collate_output): Use new locale_file interface.
19178 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19180 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19181 (TABLE): Move defines earlier in file.
19182 (ELEMENT): Likewise.
19183 (DEFAULT): Likewise.
19184 (wctrans_table_add): Move macro and inline function earlier in
19186 (struct wctype_table): Move type earlier in file.
19187 (add_locale_wctype_table): New static prototype.
19188 (struct locale_ctype_t): Use logical types instead of struct iovec
19189 pointers for members.
19190 (ctype_output): Use new locale_file interface.
19191 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19192 new locale_file interface.
19193 (allocate_arrays): Update for use of new locale_file interface.
19194 * locale/programs/ld-identification.c (identification_output): Use
19195 new locale_file interface.
19196 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19197 * locale/programs/ld-messages.c (messages_output): Likewise.
19198 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19199 * locale/programs/ld-name.c (name_output): Likewise.
19200 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19201 * locale/programs/ld-paper.c (paper_output): Likewise.
19202 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19203 * locale/programs/ld-time.c (time_output): Likewise.
19205 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19207 * benchtests/Makefile: Add memrchr benchmark.
19208 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19209 benchmark as memrchr.
19210 * benchtests/bench-memrchr-ifunc.c: New file.
19211 * benchtests/bench-memrchr.c: New file.
19213 2013-09-06 Will Newton <will.newton@linaro.org>
19215 * benchtests/Makefile (string-bench): Add memcpy.
19217 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19218 Cong Wang <amwang@redhat.com>
19221 * sysdeps/unix/sysv/linux/bits/in.h
19222 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19223 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19224 before __USE_KERNEL_IPV6_DEFS uses.
19225 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19227 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19228 sockaddr_in6, or ipv6_mreq.
19230 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19232 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19233 memory access for final bytes in some large inputs.
19234 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19236 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19238 * string/test-memrchr.c: New file.
19239 * string/test-memrchr-ifunc.c: New file.
19240 * string/Makefile: Add new memrchr testcase.
19242 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19244 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19245 fanotify_init returns EPERM.
19247 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19249 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19251 (top level): Treat second token from macro or constant entries for
19252 allowed headers as allowed.
19253 * include/complex.h: Condition internal declarations on
19255 * include/fenv.h: Condition include of <stdbool.h> and internal
19256 declarations on [!_ISOMAC].
19258 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19261 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19263 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19265 * configure.in (--enable-versioning): Remove configure option.
19266 (libc_cv_asm_symver_directive): Remove configure test.
19267 (libc_cv_ld_version_script_option): Likewise.
19268 (VERSIONING): Remove variable and AC_SUBST.
19269 (DO_VERSIONING): Remove AC_DEFINE.
19270 * configure: Regenerated.
19271 * config.h.in (DO_VERSIONING): Remove macro.
19272 * Makerules [$(versioning) = yes]: Change conditionals to
19273 [$(build-shared) = yes].
19274 * config.make.in (versioning): Remove variable.
19275 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19276 [$(build-shared) = yes].
19277 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19278 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19279 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19280 [$(build-shared) = yes].
19281 * extra-lib.mk [$(versioning) = yes]: Likewise.
19282 * hurd/Makefile [$(versioning) = yes]: Likewise.
19283 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19285 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19287 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19288 [SHARED && !NO_HIDDEN].
19289 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19291 [SHARED && DO_VERSIONING]: Likewise..
19292 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19293 [$(build-shared) = yes].
19294 * manual/install.texi (--disable-versioning): Remove
19296 * INSTALL: Regenerated.
19297 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19299 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19300 [$(build-shared) = yes].
19301 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19302 * sysdeps/i386/i686/multiarch/strstr-c.c
19303 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19304 [SHARED && !NO_HIDDEN].
19305 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19306 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19307 * sysdeps/powerpc/powerpc32/dl-machine.c
19308 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19309 * sysdeps/powerpc/powerpc32/sysdep.h
19310 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19311 to [SHARED && PIC && !NO_HIDDEN].
19312 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19313 conditional to [SHARED].
19315 2013-09-04 Will Newton <will.newton@linaro.org>
19317 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19318 * benchtests/bench-string.h: Include bench-timing.h instead
19319 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19320 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19321 call to HP_TIMING_DIFF_INIT.
19322 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19323 instead of hp-timing.h macros.
19324 * benchtests/bench-memchr.c: Likewise.
19325 * benchtests/bench-memcmp.c: Likewise.
19326 * benchtests/bench-memcpy.c: Likewise.
19327 * benchtests/bench-memmem.c: Likewise.
19328 * benchtests/bench-memmove.c: Likewise.
19329 * benchtests/bench-memset.c: Likewise.
19330 * benchtests/bench-rawmemchr.c: Likewise.
19331 * benchtests/bench-strcasecmp.c: Likewise.
19332 * benchtests/bench-strcasestr.c: Likewise.
19333 * benchtests/bench-strcat.c: Likewise.
19334 * benchtests/bench-strchr.c: Likewise.
19335 * benchtests/bench-strcmp.c: Likewise.
19336 * benchtests/bench-strcpy.c: Likewise.
19337 * benchtests/bench-strcpy_chk.c: Likewise.
19338 * benchtests/bench-strlen.c: Likewise.
19339 * benchtests/bench-strncasecmp.c: Likewise.
19340 * benchtests/bench-strncat.c: Likewise.
19341 * benchtests/bench-strncmp.c: Likewise.
19342 * benchtests/bench-strncpy.c: Likewise.
19343 * benchtests/bench-strnlen.c: Likewise.
19344 * benchtests/bench-strpbrk.c: Likewise.
19345 * benchtests/bench-strrchr.c: Likewise.
19346 * benchtests/bench-strspn.c: Likewise.
19347 * benchtests/bench-strstr.c: Likewise.
19349 2013-09-04 Will Newton <will.newton@linaro.org>
19351 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19353 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19356 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19357 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19358 * math/libm-test.inc (lgamma_test_data): Add more tests.
19359 * sysdeps/i386/fpu/libm-test-ulps: Update.
19360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19362 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19364 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19368 Add strcmp-sse2-unaligned
19369 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19371 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19373 * Versions.def (libc): Add GLIBC_2.19.
19375 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19377 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19378 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19380 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19383 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19384 intermediate calculations in recurrence.
19385 (__ieee754_ynf): Likewise.
19386 * math/libm-test.inc (jn_test_data): Do not allow spurious
19387 underflow exception. Add more tests.
19388 (yn_test_data): Add more tests.
19389 * sysdeps/i386/fpu/libm-test-ulps: Update.
19390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19392 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19396 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19398 * csu/init-first.c: Fix then/than typos.
19399 * locale/programs/ld-collate.c: Likewise.
19400 * locale/programs/linereader.h: Likewise.
19401 * manual/charset.texi: Likewise.
19402 * manual/filesys.texi: Likewise.
19403 * manual/stdio.texi: Likewise.
19404 * manual/string.texi: Likewise.
19405 * stdlib/fmtmsg.c: Likewise.
19406 * sysdeps/i386/stpncpy.S: Likewise.
19407 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19408 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19409 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19410 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19412 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19414 * elf/dl-open.c: Fix typos.
19415 * iconvdata/gbbig5.c: Likewise.
19416 * iconvdata/iso-2022-jp.c: Likewise.
19417 * iconv/gconv_int.h: Likewise.
19418 * iconv/loop.c: Likewise.
19419 * nis/rpcsvc/nis.h: Likewise.
19420 * resolv/ns_name.c: Likewise.
19421 * stdio-common/vfscanf.c: Likewise.
19422 * streams/stropts.h: Likewise.
19423 * sunrpc/rpc_thread.c: Likewise.
19424 * sysdeps/i386/strpbrk.S: Likewise.
19425 * sysdeps/ieee754/k_standard.c: Likewise.
19426 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19428 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19429 * sysdeps/mach/hurd/profil.c: Likewise.
19430 * sysdeps/s390/dl-procinfo.h: Likewise.
19431 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19432 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19433 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19434 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19437 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19439 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19442 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19444 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19445 aix specific files.
19446 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19447 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19448 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19449 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19450 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19451 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19452 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19453 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19455 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19456 Roland McGrath <roland@hack.frob.com>
19458 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19459 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19461 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19463 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19464 __executable_start symbol instead of _start.
19466 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19468 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19469 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19471 * sysdeps/gnu/ldsodefs.h: ... this new file.
19473 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19474 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19475 instead of ELFOSABI_LINUX.
19477 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19478 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19479 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19480 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19482 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19483 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19484 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19486 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19487 (ibm_extended_long_double): Add ieee_nan member.
19488 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19489 (do_test): New function.
19491 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19493 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19494 functions, renamed from truncdfsf_test, trunctfsf_test,
19496 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19498 (do_test): Run all these.
19500 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19502 * argp/argp-help.c: Fix typos.
19503 * argp/argp-parse.c: Likewise.
19504 * debug/backtracesyms.c: Likewise.
19505 * elf/elf.h: Likewise.
19506 * malloc/malloc.c: Likewise.
19507 * nis/nis_print.c: Likewise.
19508 * resolv/res_comp.c: Likewise.
19509 * stdlib/stdlib.h: Likewise.
19510 * sunrpc/clnt_tcp.c: Likewise.
19511 * sunrpc/clnt_udp.c: Likewise.
19512 * sunrpc/clnt_unix.c: Likewise.
19513 * sysdeps/unix/bsd/ptsname.c: Likewise.
19514 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19522 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19524 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19526 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19529 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19532 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19533 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19534 ($(objpfx)bug-dl-leaf): New rule.
19535 ($(objpfx)bug-dl-leaf.so): Likewise.
19536 ($(objpfx)bug-dl-leaf.out): Likewise.
19537 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19538 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19539 * dlfcn/bug-dl-leaf.c: New test.
19540 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19541 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19542 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19543 (dlclose): Likewise.
19544 (dlmopen): Likewise.
19546 2013-08-27 Roland McGrath <roland@hack.frob.com>
19548 * include/netdb.h [!_ISOMAC]:
19549 Don't include <tls.h>.
19550 (h_errno, __libc_h_errno): Move declaration and macros out of
19553 * include/resolv.h [_RESOLV_H_]:
19554 Don't include <tls.h>.
19555 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19556 * resolv/res_libc.c: Don't include <tls.h>.
19557 (_res): Use __attribute__ ((nocommon)) in place of
19558 __attribute__ ((section (".bss"))).
19560 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19561 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19563 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19565 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19566 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19568 * resolv/res_mkquery.c: Include <sys/time.h>.
19570 * inet/ifreq.c: Moved to ...
19571 * sysdeps/unix/ifreq.c: ... here.
19572 * inet/ifreq.c: New file, true stub version.
19574 * socket/sa_len.c: New file.
19575 * socket/Makefile (aux): Add it.
19576 * sysdeps/unix/sysv/linux/Makefile
19577 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19578 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19579 and #include <socket/sa_len.c>.
19580 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19581 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19583 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19584 * bits/socket.h: ... here.
19586 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19587 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19588 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19590 2013-08-27 Andreas Schwab <schwab@suse.de>
19593 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19594 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19595 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19596 * string/test-strcasecmp.c (test_main): Run tests in several
19598 * string/test-strncasecmp.c (test_main): Likewise.
19600 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19601 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19602 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19604 (__strncasecmp_ssse3) [PIC]: Likewise.
19606 2013-08-26 Roland McGrath <roland@hack.frob.com>
19608 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19610 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19611 instead of explicitly declaring xdecrypt.
19612 * nis/nss_nis/nis-publickey.c: Likewise.
19614 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19617 * nscd/aicache.c: Include res_hconf.h.
19618 (addhstaiX): Initialize res_hconf.
19620 2013-08-26 Andreas Schwab <schwab@suse.de>
19622 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19623 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19625 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19627 * nscd/aicache.c (addhstaiX): Fix indentation.
19629 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19631 * configure.ac: Quote $build_pt_chown test.
19632 * configure: Regenerated.
19634 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19637 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19638 * math/s_cexpf.c (__cexpf): Likewise.
19639 * math/s_cexpl.c (__cexpl): Likewise.
19640 * math/libm-test.inc (cexp_test_data): Correct expected return
19641 value for NaN + i0. Add another test.
19643 2013-08-22 David S. Miller <davem@davemloft.net>
19645 * po/ca.po: Update Catalan translation from translation project.
19646 * po/uk.po: Add Ukrainian translations from translation project.
19648 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19651 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19652 is infinite, not alongside NaN test.
19653 * math/s_fdimf.c (__fdimf): Likewise.
19654 * math/s_fdiml.c (__fdiml): Likewise.
19655 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19656 errno is unchanged.
19658 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19660 * argp/argp-help.c: Fix typos.
19661 * crypt/speeds.c: Likewise.
19662 * csu/check_fds.c: Likewise.
19663 * elf/dl-load.c: Likewise.
19664 * elf/dl-open.c: Likewise.
19665 * elf/reldep3.c: Likewise.
19666 * elf/reldep.c: Likewise.
19667 * elf/sprof.c: Likewise.
19668 * iconv/iconv_charmap.c: Likewise.
19669 * iconv/skeleton.c: Likewise.
19670 * iconv/strtab.c: Likewise.
19671 * io/lockf64.c: Likewise.
19672 * libio/libioP.h: Likewise.
19673 * resolv/gai_notify.c: Likewise.
19674 * resolv/ns_name.c: Likewise.
19675 * resolv/ns_samedomain.c: Likewise.
19676 * resolv/res_send.c: Likewise.
19677 * stdlib/random.c: Likewise.
19678 * sunrpc/rpc/xdr.h: Likewise.
19679 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19680 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19681 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19682 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19683 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19684 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19685 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19686 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19687 * sysdeps/mach/hurd/check_fds.c: Likewise.
19688 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19689 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19691 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19692 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19693 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19694 * sysdeps/pthread/aio_notify.c: Likewise.
19695 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19696 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19697 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19698 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19699 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19701 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19703 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19704 version if bit_Slow_SSE4_2 is set.
19705 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19706 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19708 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19711 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19712 trampoline stack frame information.
19713 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19714 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19715 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19716 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19717 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19718 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19719 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19720 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19722 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19723 interrupting a syscall and set with option SA_SIGINFO.
19725 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19728 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19729 argument is infinite.
19730 * math/s_cprojf.c (__cprojf): Likewise.
19731 * math/s_cprojl.c (__cprojl): Likewise.
19732 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19733 * math/libm-test.inc (cproj_test_data): Add more tests.
19735 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19737 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19738 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19739 size. Use __ffs to determine corresponding shift.
19741 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19742 Roland McGrath <roland@hack.frob.com>
19744 * Makefile (INSTALL): Remove trailing blank lines from output of
19747 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19749 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19750 Align 32 bit compat elf_greg to 8 bytes.
19752 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19754 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19756 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19758 * string/strcoll_l.c (coll_seq): New structure.
19759 (get_next_seq_cached): New function.
19760 (get_next_seq): New function.
19761 (do_compare): New function.
19762 (STRCOLL): Use GNU style definition. Simplify implementation
19763 by using get_next_seq, get_next_seq_cached and do_compare.
19765 2013-08-16 Florian Weimer <fweimer@redhat.com>
19769 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19771 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19773 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19774 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19775 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19777 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19778 GETDENTS_64BIT_ALIGNED.
19779 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19780 * manual/filesys.texi (Reading/Closing Directory): Document
19781 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19783 * manual/conf.texi (Limits for Files): Add portability note to
19784 NAME_MAX, PATH_MAX.
19785 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19787 2013-08-13 Andreas Schwab <schwab@suse.de>
19790 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19792 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19793 LDBL_MAX_EXP >= 16384]: Add tests for it.
19795 2013-08-12 David S. Miller <davem@davemloft.net>
19797 * version.h (RELEASE): Set to "development".
19798 (VERSION): Set to "2.18.90".
19799 * NEWS: Add 2.19 section.
19801 2013-08-03 David S. Miller <davem@davemloft.net>
19803 * po/ko.po: Update Korean translation from translation project.
19805 2013-08-01 David S. Miller <davem@davemloft.net>
19807 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19808 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19811 2013-07-30 David S. Miller <davem@davemloft.net>
19813 * po/fr.po: Update French translation from translation project.
19815 2013-07-28 David S. Miller <davem@davemloft.net>
19817 * po/cs.po: Update Czech translation from translation project.
19819 * po/sv.po: Update Swedish translation from translation project.
19821 2013-07-27 David S. Miller <davem@davemloft.net>
19823 * po/eo.po: Update Esperanto translation from translation project.
19825 * po/vi.po: Update Vietnamese translation from translation project.
19827 * po/de.po: Update German translation from translation project.
19829 2013-07-26 David S. Miller <davem@davemloft.net>
19831 * po/bg.po: Update Bulgarian translation from translation project.
19833 * po/nl.po: Update Dutch translation from translation project.
19834 * po/pl.po: Update Polish translation from translation project.
19835 * po/ru.po: Update Russian translation from translation project.
19837 2013-07-24 David S. Miller <davem@davemloft.net>
19839 * po/libc.pot: Update.
19841 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19843 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19844 variable page size.
19845 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19846 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19847 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19849 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19851 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19853 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19854 Andreas Schwab <schwab@suse.de>
19855 Roland McGrath <roland@hack.frob.com>
19856 Joseph Myers <joseph@codesourcery.com>
19857 Carlos O'Donell <carlos@redhat.com>
19860 * config.h.in: Define HAVE_PT_CHOWN.
19861 * config.make.in (build-pt-chown): New variable.
19862 * configure.in (--enable-pt_chown): New configure option.
19863 * configure: Regenerate.
19864 * login/Makefile: Include Makeconfig. Build pt_chown only if
19865 build-pt-chown is enabled.
19866 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19867 pt_chown to fix pty ownership.
19868 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19870 * manual/install.texi (Configuring and compiling): Mention
19871 --enable-pt_chown. Add @findex for grantpt.
19872 * INSTALL: Regenerate.
19874 2013-07-20 David S. Miller <davem@davemloft.net>
19876 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19877 difference between 32-bit and 64-bit.
19879 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19882 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19883 Avoid system header dependency with -ffreestanding.
19884 ($(objpfx)bits/syscall%d): Likewise.
19886 2013-07-13 David S. Miller <davem@davemloft.net>
19888 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19889 underflows from atanl/atan2l due to bug 15319.
19890 (casinh_test_data): Likewise.
19892 2013-07-07 David S. Miller <davem@davemloft.net>
19894 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19896 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19898 * sysdeps/i386/fpu/libm-test-ulps: Update.
19899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19901 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19903 * configure.in (--enable-lock-elision): Fix message text.
19904 * INSTALL: Regenerate.
19905 * configure: Regenerate.
19907 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19911 2013-07-03 Andreas Jaeger <aj@suse.de>
19913 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19915 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19916 (ptrace_peeksiginfo_args): Add.
19917 (__ptrace_peeksiginfo_flags): Add.
19918 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19920 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19922 2013-07-03 Allan McRae <allan@archlinux.org>
19924 * sysdeps/i386/fpu/libm-test-ulps: Update.
19926 2013-07-02 David S. Miller <davem@davemloft.net>
19928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19930 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19934 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19936 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939 2013-07-02 Andi Kleen <ak@linux.intel.com>
19941 * config.h.in (ENABLE_LOCK_ELISION): Add.
19942 * configure.in (--enable-lock-elision): Add option.
19943 * manual/install.texi: Document --enable lock elision.
19944 * configure: Regenerate
19945 * INSTALL: Regenerate.
19947 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19949 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19950 SSE4.2 strcasecmp for libc.a.
19951 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19953 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19956 * soft-fp/op-common.h (_FP_FMA): New macro.
19957 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19958 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19959 (_FP_MUL_MEAT_1_imm): ... here.
19960 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19961 (_FP_MUL_MEAT_1_wide): ... here.
19962 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19963 (_FP_MUL_MEAT_1_hard): ... here.
19964 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19965 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19966 (_FP_MUL_MEAT_2_wide): ... here.
19967 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19968 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19969 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19970 (_FP_MUL_MEAT_2_gmp): ... here.
19971 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19972 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19973 (_FP_MUL_MEAT_4_wide): ... here.
19974 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19975 (_FP_MUL_MEAT_4_gmp): ... here.
19976 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19977 (_FP_WFRACBITS_DW_S): Likewise.
19978 (_FP_WFRACXBITS_DW_S): Likewise.
19979 (_FP_HIGHBIT_DW_S): Likewise.
19980 (FP_FMA_S): Likewise.
19981 (_FP_FRAC_HIGH_DW_S): Likewise.
19982 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19983 (_FP_WFRACBITS_DW_D): Likewise.
19984 (_FP_WFRACXBITS_DW_D): Likewise.
19985 (_FP_HIGHBIT_DW_D): Likewise.
19986 (FP_FMA_D): Likewise.
19987 (_FP_FRAC_HIGH_DW_D): Likewise.
19988 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19989 (_FP_WFRACBITS_DW_E): Likewise.
19990 (_FP_WFRACXBITS_DW_E): Likewise.
19991 (_FP_HIGHBIT_DW_E): Likewise.
19992 (FP_FMA_E): Likewise.
19993 (_FP_FRAC_HIGH_DW_E): Likewise.
19994 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19995 (_FP_WFRACBITS_DW_Q): Likewise.
19996 (_FP_WFRACXBITS_DW_Q): Likewise.
19997 (_FP_HIGHBIT_DW_Q): Likewise.
19998 (FP_FMA_Q): Likewise.
19999 (_FP_FRAC_HIGH_DW_Q): Likewise.
20000 * soft-fp/fmasf4.c: New file.
20001 * soft-fp/fmadf4.c: Likewise.
20002 * soft-fp/fmatf4.c: Likewise.
20004 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20007 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20009 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20011 (index_Slow_SSE4_2): Likewise.
20012 (index_Prefer_PMINUB_for_stringop): Likewise.
20013 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20014 bit_Slow_SSE4_2 is set.
20015 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20016 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20018 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20020 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20021 rtld_global._dl_hwcap2.
20022 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20024 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20025 POWER8 feature descriptions defined in _dl_hwcap2.
20026 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20027 string handling for POWER8 feature bits.
20028 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20029 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20030 _dl_powerpc_cap_flags.
20031 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20032 * sysdeps/powerpc/rtld-global-offsets.sym
20033 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20034 _dl_hwcap2 in the rtld_global_ro structure.
20036 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20038 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20039 hardware capabilities in support of AT_HWCAP2.
20040 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20041 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20043 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20044 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20045 explicitly the unknown a_type display mechanism is used.
20046 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20047 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20049 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20050 to macro prototype for AT_HWCAP2 support.
20051 * sysdeps/i386/dl-procinfo.h: Likewise.
20052 * sysdeps/s390/dl-procinfo.h: Likewise.
20053 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20054 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20055 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20056 return -1 for unknown a_type display fallback.
20057 * sysdeps/sparc/dl-procinfo.h: Likewise.
20058 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20059 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20061 2013-06-28 Joseph Myers <joseph@codesourcery.com>
20063 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20064 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20066 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20069 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20070 mprotect making __stack_prot writable.
20072 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20073 Joseph Myers <joseph@codesourcery.com>
20075 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20076 as being properly aligned.
20078 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20080 * dlfcn/modstatic5.c: New file.
20081 * dlfcn/tststatic5.c: New file.
20082 * dlfcn/Makefile (tests): Add tststatic5.
20083 (tests-static): Likewise.
20084 (modules-names): Add modstatic5.
20085 (tststatic5-ENV): New variable.
20086 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20089 * elf/dl-support.c (_dl_main_map): New variable.
20090 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20091 (_dl_nns, _dl_load_adds): Set to 1.
20092 (_dl_initial_searchlist): Refer to _dl_main_map.
20093 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20094 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20095 call to _dl_get_origin.
20096 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20098 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20099 * dlfcn/modstatic3.c: New file.
20100 * dlfcn/tststatic3.c: New file.
20101 * dlfcn/tststatic4.c: New file.
20102 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20103 (tests-static): Likewise.
20104 (modules-names): Add modstatic3.
20105 (tststatic3-ENV, tststatic4-ENV): New variables.
20106 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20107 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20109 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20111 * configure.in (CC): Require GCC version 4.4 or later.
20112 * configure: Regenerated.
20113 * manual/install.texi (Tools for Compilation): Update GCC version
20115 * INSTALL: Regenerated.
20117 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20120 * string/test-memcmp.c (check2): New.
20121 (main): Call check2.
20123 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20125 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20128 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20130 (dl_open_worker) [!SHARED]: ... here.
20132 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20134 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20136 2013-06-25 Richard Henderson <rth@redhat.com>
20138 * locale/programs/locarchive.c: Include <libc-internal.h>
20140 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20142 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20143 trailing whitespace removed.
20145 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20148 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20149 * locale/programs/locarchive.c: Include libc-mmap.h.
20150 (prepare_address_space): Take two new outputs (the mmap base and len).
20151 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20153 (create_archive): Declare new mmap base and len values for
20154 prepare_address_space, and store the result in ah.
20155 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20156 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20157 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20158 Declare new mmap base and len values for
20159 prepare_address_space, and store the result in new_ah.
20160 (open_archive): Declare new mmap base and len values for
20161 prepare_address_space, and store the result in ah.
20162 (close_archive): If ah->mmap_base is not NULL, use that and
20163 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20164 * sysdeps/generic/libc-mmap.h: New file.
20166 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20168 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20169 (ALIGN_UP): Likewise.
20170 (PTR_ALIGN_DOWN): Likewise.
20171 (PTR_ALIGN_UP): Likewise.
20173 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20175 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20176 entry mapped to PPC_PLATFORM_POWER8.
20177 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20179 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20180 (_dl_string_platform): Add case for exporting platform position for
20182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20183 search path to sysdeps/powerpc/powerpc32/power8 directory.
20184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20185 search path to sysdeps/powerpc/powerpc64/power8 directory.
20186 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20187 power7 directories.
20188 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20189 power7 directories.
20191 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20193 * INSTALL: Regenerate.
20195 * nscd/connections.c (nscd_init): Fix comment.
20197 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20199 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20202 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20203 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20205 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20207 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20209 (DL_DST_REQ_STATIC): Remove macro.
20211 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20214 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20215 with a shift of 0 bits.
20217 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20219 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20222 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20225 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20227 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20229 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20230 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20231 accepts -fno-tree-loop-distribute-patterns.
20232 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20233 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20235 * string/memset.c (memset): Likewise.
20236 * string/test-memmove.c (simple_memmove): Disable loop transformation
20238 * string/test-memset.c (simple_memset): Likewise.
20239 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20240 * benchtests/bench-memset.c (simple_memset): Likewise.
20241 * configure: Regenerated.
20243 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20245 * math/test-misc.c (main): Ignore fesetround failure when failures
20246 of subsequent rounding tests would be ignored.
20249 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20250 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20251 * math/fegetenv.c (__fegetenv): Return 0.
20252 * math/fegetexcept.c (fegetexcept): Return 0.
20253 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20255 * math/feholdexcpt.c (feholdexcept): Return 0.
20256 * math/fesetenv.c (__fesetenv): Return 0.
20257 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20258 argument FE_TONEAREST.
20259 * math/feupdateenv.c (__feupdateenv): Return 0.
20260 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20262 2013-06-18 Roland McGrath <roland@hack.frob.com>
20264 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20265 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20266 ($(objpfx)rtld-%.os rules): Use them.
20268 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20270 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20273 2013-06-17 Roland McGrath <roland@hack.frob.com>
20275 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20276 length of target pattern, then descending length of dependency pattern.
20277 * configure.in (AWK): Require gawk 3.1.2 or newer.
20278 * manual/install.texi (Tools for Compilation): Say that we do.
20279 * configure: Regenerated.
20281 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20282 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20283 * scripts/sysd-rules.awk: ... this new script.
20284 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20285 than a glob-style pattern.
20287 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20289 * math/test-misc.c (main): Do not treat incorrectly rounded
20290 conversions as failure unless ROUNDING_TESTS passes.
20292 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20295 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20296 restore exception state around main square root computation, then
20297 check for inexactness explicitly.
20299 * math/libm-test.inc (fma_test_data): Add another test.
20301 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20303 * manual/threads.texi (Non-POSIX Extensions): New document
20304 node. Document pthread_getattr_default_np and
20305 pthread_setattr_default_np.
20307 * Versions.def (libpthread): Add GLIBC_2.18.
20308 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20317 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20319 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20328 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20330 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20331 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20333 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20334 H.J. Lu <hjl.tools@gmail.com>
20337 * sysdeps/x86_64/rtld-memset.c: Remove file.
20338 * sysdeps/x86_64/rtld-memset.S: New file.
20340 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20342 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20343 (test_in_one_mode): Take arguments for whether the rounding mode
20344 is supported for each floating-point type.
20345 (do_test): Pass new arguments to test_in_one_mode using
20348 2013-06-13 Roland McGrath <roland@hack.frob.com>
20350 * posix/tst-waitid.c (do_test): Distinguish different instances of
20351 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20352 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20353 before entering the kernel for waitpid.
20355 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20357 * NEWS: Fix note on clock function precision. Text by Roland
20360 2013-06-13 Roland McGrath <roland@hack.frob.com>
20362 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20363 it into place only when and if the sanity check passes.
20365 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20367 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20368 output for whether conversion result is exact. Take argument
20369 indicating whether type is IBM long double.
20370 (round_for_all): Change need_exact field to ibm_ld.
20371 * stdlib/tst-strtod-round.c (struct exactness): New type.
20372 (struct test): Change bool ld_ok field to struct exactness exact.
20373 (TEST): Update all definitions for change to field.
20374 (tests): Regenerate array contents.
20375 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20376 field value. Check for IBM long double here.
20377 (do_test): Update calls to test_in_one_mode.
20379 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20382 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20383 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20385 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20388 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20389 generated by the compiler on loop optimizations.
20390 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20391 general definitions.
20393 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20395 * math/bug-nextafter.c: Include <math-tests.h>.
20396 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20398 * math/bug-nexttoward.c: Include <math-tests.h>.
20399 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20401 * math/test-misc.c: Include <math-tests.h>.
20402 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20405 2013-06-12 Andreas Jaeger <aj@suse.de>
20407 * po/ia.po: Update Interlingua translation from translation
20410 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20412 * include/fenv.h: Include stdbool.h.
20413 (struct rm_ctx): New structure.
20414 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20416 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20417 (SET_RESTORE_ROUNDF): Likewise.
20418 (SET_RESTORE_ROUNDL): Likewise.
20419 (SET_RESTORE_ROUND_NOEX): Likewise.
20420 (SET_RESTORE_ROUND_NOEXF): Likewise.
20421 (SET_RESTORE_ROUND_NOEXL): Likewise.
20422 (SET_RESTORE_ROUND_53BIT): Likewise.
20423 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20424 (libc_feresetround_noexf_ctx): Likewise.
20425 (libc_feresetround_noexl_ctx): Likewise.
20426 (libc_feholdsetround_53bit_ctx): Likewise.
20427 (libc_feresetround_53bit_ctx): Likewise.
20428 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20429 (libc_feholdexcept_setround_sse_ctx): New function.
20430 (libc_fesetenv_sse_ctx): Likewise.
20431 (libc_feupdateenv_sse_ctx): Likewise.
20432 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20433 (libc_feholdexcept_setround_387_ctx): Likewise.
20434 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20435 (libc_feholdsetround_387_prec_ctx): Likewise.
20436 (libc_feholdsetround_387_ctx): Likewise.
20437 (libc_feholdsetround_387_53bit_ctx): Likewise.
20438 (libc_feholdsetround_sse_ctx): Likewise.
20439 (libc_feresetround_sse_ctx): Likewise.
20440 (libc_feresetround_387_ctx): Likewise.
20441 (libc_feupdateenv_387_ctx): Likewise.
20442 (libc_feholdexcept_setroundf_ctx): Define macro.
20443 (libc_fesetenvf_ctx): Likewise.
20444 (libc_feupdateenvf_ctx): Likewise.
20445 (libc_feholdsetroundf_ctx): Likewise.
20446 (libc_feresetroundf_ctx): Likewise.
20447 (libc_feholdexcept_setround_ctx): Likewise.
20448 (libc_fesetenv_ctx): Likewise.
20449 (libc_feupdateenv_ctx): Likewise.
20450 (libc_feholdsetround_ctx): Likewise.
20451 (libc_feresetround_ctx): Likewise.
20452 (libc_feholdexcept_setroundl_ctx): Likewise.
20453 (libc_feupdateenvl_ctx): Likewise.
20454 (libc_feholdsetroundl_ctx): Likewise.
20455 (libc_feresetroundl_ctx): Likewise.
20456 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20457 (libc_feresetround_53bit_ctx): Likewise.
20459 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20461 * locale/iso-639.def: Convert to UTF-8.
20463 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20465 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20466 (EXCEPTION_TESTS_double): Likewise.
20467 (EXCEPTION_TESTS_long_double): Likewise.
20468 (EXCEPTION_TESTS): Likewise.
20469 * math/libm-test.inc (test_exceptions): Only test exceptions if
20470 EXCEPTION_TESTS (FLOAT).
20472 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20474 * benchtests/Makefile (string-bench): Add strcpy_chk and
20476 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20477 * benchtests/bench-stpcpy_chk.c: New file.
20478 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20479 * benchtests/bench-strcpy_chk.c: New file.
20480 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20482 (do_test): Likewise.
20484 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20486 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20487 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20488 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20489 with tabs where appropriate.
20490 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20492 [PPC_PLATFORM_PPC440]: Likewise.
20493 [PPC_PLATFORM_PPC464]: Likewise.
20494 [PPC_PLATFORM_PPC476]: Likewise.
20495 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20496 ppc464, and ppc476 platform strings merging from ports/
20499 2013-06-11 Andreas Schwab <schwab@suse.de>
20502 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20503 (from_ucs4_idx): Regenerate.
20504 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20505 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20506 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20507 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20508 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20509 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20510 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20511 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20512 from FROM_LOOP and TO_LOOP specific macros.
20513 (BODY): Handle combining characters.
20514 * iconvdata/BIG5HKSCS.irreversible: Update.
20515 * iconvdata/BIG5HKSCS.precomposed: New file.
20516 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20518 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20520 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20522 * include/sys/time.h: Fix indentation and add copyright header.
20524 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20525 (do_test): Likewise.
20526 * string/test-memchr.c (do_one_test): Likewise.
20527 (do_test): Likewise.
20528 * string/test-memcmp.c (do_one_test): Likewise.
20529 (do_test): Likewise.
20530 * string/test-memcpy.c (do_one_test): Likewise.
20531 (do_test): Likewise.
20532 * string/test-memmem.c (do_one_test): Likewise.
20533 (do_test): Likewise.
20534 (do_random_tests): Likewise.
20535 * string/test-memmove.c (do_one_test): Likewise.
20536 (do_test): Likewise.
20537 * string/test-memset.c (do_one_test): Likewise.
20538 (do_test): Likewise.
20539 * string/test-rawmemchr.c (do_one_test): Likewise.
20540 (do_test): Likewise.
20541 * string/test-strcasecmp.c (do_one_test): Likewise.
20542 (do_test): Likewise.
20543 * string/test-strcasestr.c (do_one_test): Likewise.
20544 (do_test): Likewise.
20545 * string/test-strcat.c (do_one_test): Likewise.
20546 (do_test): Likewise.
20547 * string/test-strchr.c (do_one_test): Likewise.
20548 (do_test): Likewise.
20549 * string/test-strcmp.c (do_one_test): Likewise.
20550 (do_test): Likewise.
20551 * string/test-strcpy.c (do_one_test): Likewise.
20552 (do_test): Likewise.
20553 * string/test-string.h: Likewise.
20554 (test_init): Likewise.
20555 * string/test-strlen.c (do_one_test): Likewise.
20556 (do_test): Likewise.
20557 * string/test-strncasecmp.c (do_one_test): Likewise.
20558 (do_test): Likewise.
20559 * string/test-strncat.c (do_one_test): Likewise.
20560 (do_test): Likewise.
20561 * string/test-strncmp.c (do_one_test): Likewise.
20562 (do_test_limit): Likewise.
20563 (do_test): Likewise.
20564 * string/test-strncpy.c (do_one_test): Likewise.
20565 (do_test): Likewise.
20566 * string/test-strnlen.c (do_one_test): Likewise.
20567 (do_test): Likewise.
20568 * string/test-strpbrk.c (do_one_test): Likewise.
20569 (do_test): Likewise.
20570 * string/test-strrchr.c (do_one_test): Likewise.
20571 (do_test): Likewise.
20572 * string/test-strspn.c (do_one_test): Likewise.
20573 (do_test): Likewise.
20574 * string/test-strstr.c (do_one_test): Likewise.
20575 (do_test): Likewise.
20577 * benchtests/Makefile (string-bench): Add string benchmarks.
20578 * benchtests/bench-bcopy-ifunc.c: New file.
20579 * benchtests/bench-bcopy.c: New file.
20580 * benchtests/bench-bzero-ifunc.c: New file.
20581 * benchtests/bench-bzero.c: New file.
20582 * benchtests/bench-memccpy-ifunc.c: New file.
20583 * benchtests/bench-memccpy.c: New file.
20584 * benchtests/bench-memchr-ifunc.c: New file.
20585 * benchtests/bench-memchr.c: New file.
20586 * benchtests/bench-memcmp-ifunc.c: New file.
20587 * benchtests/bench-memcmp.c: New file.
20588 * benchtests/bench-memmem-ifunc.c: New file.
20589 * benchtests/bench-memmem.c: New file.
20590 * benchtests/bench-memmove-ifunc.c: New file.
20591 * benchtests/bench-memmove.c: New file.
20592 * benchtests/bench-mempcpy-ifunc.c: New file.
20593 * benchtests/bench-mempcpy.c: New file.
20594 * benchtests/bench-memset-ifunc.c: New file.
20595 * benchtests/bench-memset.c: New file.
20596 * benchtests/bench-rawmemchr-ifunc.c: New file.
20597 * benchtests/bench-rawmemchr.c: New file.
20598 * benchtests/bench-stpcpy-ifunc.c: New file.
20599 * benchtests/bench-stpcpy.c: New file.
20600 * benchtests/bench-stpncpy-ifunc.c: New file.
20601 * benchtests/bench-stpncpy.c: New file.
20602 * benchtests/bench-strcasecmp-ifunc.c: New file.
20603 * benchtests/bench-strcasecmp.c: New file.
20604 * benchtests/bench-strcasestr-ifunc.c: New file.
20605 * benchtests/bench-strcasestr.c: New file.
20606 * benchtests/bench-strcat-ifunc.c: New file.
20607 * benchtests/bench-strcat.c: New file.
20608 * benchtests/bench-strchr-ifunc.c: New file.
20609 * benchtests/bench-strchr.c: New file.
20610 * benchtests/bench-strchrnul-ifunc.c: New file.
20611 * benchtests/bench-strchrnul.c: New file.
20612 * benchtests/bench-strcmp-ifunc.c: New file.
20613 * benchtests/bench-strcmp.c: New file.
20614 * benchtests/bench-strcpy-ifunc.c: New file.
20615 * benchtests/bench-strcpy.c: New file.
20616 * benchtests/bench-strcspn-ifunc.c: New file.
20617 * benchtests/bench-strcspn.c: New file.
20618 * benchtests/bench-strlen-ifunc.c: New file.
20619 * benchtests/bench-strlen.c: New file.
20620 * benchtests/bench-strncasecmp-ifunc.c: New file.
20621 * benchtests/bench-strncasecmp.c: New file.
20622 * benchtests/bench-strncat-ifunc.c: New file.
20623 * benchtests/bench-strncat.c: New file.
20624 * benchtests/bench-strncmp-ifunc.c: New file.
20625 * benchtests/bench-strncmp.c: New file.
20626 * benchtests/bench-strncpy-ifunc.c: New file.
20627 * benchtests/bench-strncpy.c: New file.
20628 * benchtests/bench-strnlen-ifunc.c: New file.
20629 * benchtests/bench-strnlen.c: New file.
20630 * benchtests/bench-strpbrk-ifunc.c: New file.
20631 * benchtests/bench-strpbrk.c: New file.
20632 * benchtests/bench-strrchr-ifunc.c: New file.
20633 * benchtests/bench-strrchr.c: New file.
20634 * benchtests/bench-strspn-ifunc.c: New file.
20635 * benchtests/bench-strspn.c: New file.
20636 * benchtests/bench-strstr-ifunc.c: New file.
20637 * benchtests/bench-strstr.c: New file.
20639 * benchtests/Makefile: Disable parallel execution of targets.
20640 (string-bench): Add memcpy.
20641 (benchset): New variable to store a list of benchmark sets.
20642 (bench-func): Renamed from bench.
20643 (bench-set): New target.
20644 (bench): Depend on bench-func and bench-set.
20645 * benchtests/README: Add section on benchmark sets.
20646 * benchtests/bench-memcpy-ifunc.c: New file.
20647 * benchtests/bench-memcpy.c: New file.
20648 * benchtests/bench-string.h: New file.
20650 2013-06-11 Andreas Schwab <schwab@suse.de>
20653 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20654 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20655 values in the triple.
20656 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20657 terminator in the group key.
20659 2013-06-11 Andreas Jaeger <aj@suse.de>
20661 * po/zh_TW.po: Update Chinese (traditional) translation from
20662 translation project.
20664 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20666 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20667 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20668 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20669 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20670 (clock_getcpuclockid): Likewise.
20671 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20672 Add weak_alias and libc_hidden_def.
20673 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20674 * rt/clock_gettime.c (clock_gettime): Rename to
20675 __clock_gettime. Add weak_alias and libc_hidden_def.
20676 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20677 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20678 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20679 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20680 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20682 * rt/clock_settime.c (clock_settime): Rename to
20683 __clock_settime. Add weak_alias and libc_hidden_def.
20684 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20686 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20688 * mach/err_boot.sub: Remove trailing whitespace.
20689 * mach/err_ipc.sub: Likewise.
20690 * mach/err_mach.sub: Likewise.
20692 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20693 (ROUNDING_TESTS_double): Likewise.
20694 (ROUNDING_TESTS_long_double): Likewise.
20695 (ROUNDING_TESTS): Likewise.
20696 * math/libm-test.inc: Include <math-tests.h>.
20697 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20698 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20699 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20700 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20702 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20704 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20707 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20709 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20710 otherwise empty TRANS lines.
20711 * sysdeps/gnu/errlist.c: Regenerated.
20713 * catgets/gencat.c (error_print): Use (void) in function
20715 * crypt/crypt_util.c (__init_des): Likewise.
20716 * crypt/speeds.c (Stop): Likewise.
20718 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20719 * inet/ruserpass.c (token): Likewise.
20720 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20721 * intl/localealias.c (extend_alias_table): Likewise.
20722 * intl/plural-exp.c (init_germanic_plural): Likewise.
20723 * libio/fcloseall.c (__fcloseall): Likewise.
20724 * libio/genops.c (_IO_flush_all): Likewise.
20725 (_IO_flush_all_linebuffered): Likewise.
20726 (_IO_cleanup): Likewise.
20727 (_IO_iter_begin): Likewise.
20728 (_IO_iter_end): Likewise.
20729 (_IO_list_lock): Likewise.
20730 (_IO_list_unlock): Likewise.
20731 (_IO_list_resetlock): Likewise.
20732 * libio/getchar.c (getchar): Likewise.
20733 * libio/getchar_u.c (getchar_unlocked): Likewise.
20734 * libio/getwchar.c (getwchar): Likewise.
20735 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20736 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20737 * login/getpt.c (__getpt): Likewise.
20738 * login/tst-utmp.c (main): Likewise.
20739 * malloc/hooks.c (__malloc_check_init): Likewise.
20740 * malloc/malloc.c (__malloc_stats): Likewise.
20741 * malloc/mtrace.c (tr_break): Likewise.
20742 (mtrace): Likewise.
20743 (muntrace): Likewise.
20744 * misc/fstab.c (endfsent): Likewise.
20745 * misc/getclktck.c (__getclktck): Likewise.
20746 * misc/getdtsz.c (__getdtablesize): Likewise.
20747 * misc/gethostid.c (gethostid): Likewise.
20748 * misc/getpagesize.c (__getpagesize): Likewise.
20749 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20750 (__get_nprocs): Likewise.
20751 (__get_phys_pages): Likewise.
20752 (__get_avphys_pages): Likewise.
20753 * misc/getttyent.c (getttyent): Likewise.
20754 (setttyent): Likewise.
20755 (endttyent): Likewise.
20756 * misc/getusershell.c (getusershell): Likewise.
20757 (endusershell): Likewise.
20758 (setusershell): Likewise.
20759 (initshells): Likewise.
20760 * misc/hsearch.c (__hdestroy): Likewise.
20761 * misc/sync.c (sync): Likewise.
20762 * misc/syslog.c (closelog_internal): Likewise.
20763 (closelog): Likewise.
20764 * misc/ttyslot.c (ttyslot): Likewise.
20765 * misc/vhangup.c (vhangup): Likewise.
20766 * posix/fork.c (__fork): Likewise.
20767 * posix/getegid.c (__getegid): Likewise.
20768 * posix/geteuid.c (__geteuid): Likewise.
20769 * posix/getgid.c (__getgid): Likewise.
20770 * posix/getpid.c (__getpid): Likewise.
20771 * posix/getppid.c (__getppid): Likewise.
20772 * posix/getuid.c (__getuid): Likewise.
20773 * posix/pause.c (pause): Likewise.
20774 * posix/setpgrp.c (setpgrp): Likewise.
20775 * posix/setsid.c (__setsid): Likewise.
20776 * posix/test-vfork.c (noop): Likewise.
20777 * resolv/gethnamaddr.c (_endhtent): Likewise.
20778 (_gethtent): Likewise.
20779 (ht_endhostent): Likewise.
20780 (gethostent): Likewise.
20781 (dns_service): Likewise.
20782 * stdlib/drand48.c (drand48): Likewise.
20783 * stdlib/lrand48.c (lrand48): Likewise.
20784 * stdlib/mrand48.c (mrand48): Likewise.
20785 * stdlib/rand.c (rand): Likewise.
20786 * stdlib/random.c (__random): Likewise.
20787 * stdlib/setenv.c (clearenv): Likewise.
20788 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20789 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20790 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20791 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20792 (__get_nprocs): Likewise.
20793 (__get_phys_pages): Likewise.
20794 (__get_avphys_pages): Likewise.
20795 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20796 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20797 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20798 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20799 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20800 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20801 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20802 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20803 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20804 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20805 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20806 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20807 * sysdeps/posix/clock.c (clock): Likewise.
20808 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20809 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20810 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20811 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20812 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20813 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20814 (__get_nprocs_conf): Likewise.
20815 (__get_phys_pages): Likewise.
20816 (__get_avphys_pages): Likewise.
20817 * time/clock.c (clock): Likewise.
20818 * time/tzset.c (__tzname_max): Likewise.
20820 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20822 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20823 (__bswap_32): Do not use "register".
20824 * crypt/crypt.c (_ufc_doit_r): Likewise.
20825 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20826 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20827 * gmon/gmon.c (__monstartup): Likewise.
20828 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20829 * hurd/hurdmalloc.c (more_memory): Likewise.
20830 (malloc): Likewise.
20832 (realloc): Likewise.
20833 (malloc_fork_prepare): Likewise.
20834 (malloc_fork_parent): Likewise.
20835 (malloc_fork_child): Likewise.
20836 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20837 (_svcauth_des): Likewise.
20838 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20839 * inet/inet_net.c (inet_network): Likewise.
20840 * inet/inet_netof.c (inet_netof): Likewise.
20841 * inet/rcmd.c (__validuser2_sa): Likewise.
20842 * io/fts.c (fts_open): Likewise.
20843 (fts_load): Likewise.
20844 (fts_close): Likewise.
20845 (fts_read): Likewise.
20846 (fts_children): Likewise.
20847 (fts_build): Likewise.
20848 (fts_stat): Likewise.
20849 (fts_sort): Likewise.
20850 (fts_alloc): Likewise.
20851 (fts_lfree): Likewise.
20852 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20853 (_IO_file_xsgetn): Likewise.
20854 (_IO_file_xsgetn_mmap): Likewise.
20855 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20856 (_IO_cookie_write): Likewise.
20857 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20858 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20859 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20860 * malloc/obstack.c (_obstack_begin): Likewise.
20861 (_obstack_begin_1): Likewise.
20862 (_obstack_newchunk): Likewise.
20863 (_obstack_allocated_p): Likewise.
20864 (obstack_free): Likewise.
20865 (_obstack_memory_used): Likewise.
20866 * misc/getttyent.c (getttynam): Likewise.
20867 (getttyent): Likewise.
20870 * misc/getusershell.c (initshells): Likewise.
20871 * misc/syslog.c (__vsyslog_chk): Likewise.
20872 * misc/ttyslot.c (ttyslot): Likewise.
20873 * nis/nis_hash.c (__nis_hash): Likewise.
20874 * posix/fnmatch_loop.c (FCT): Likewise.
20875 * posix/getconf.c (print_all): Likewise.
20877 * posix/getopt.c (exchange): Likewise.
20878 * posix/glob.c (globfree): Likewise.
20879 (prefix_array): Likewise.
20880 (__glob_pattern_type): Likewise.
20881 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20882 (NS_GET32): Likewise.
20883 (NS_PUT16): Likewise.
20884 (NS_PUT32): Likewise.
20885 * resolv/gethnamaddr.c (getanswer): Likewise.
20886 (gethostbyname2): Likewise.
20887 (gethostbyaddr): Likewise.
20888 (_gethtent): Likewise.
20889 (_gethtbyname2): Likewise.
20890 (_gethtbyaddr): Likewise.
20891 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20892 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20893 * resolv/res_init.c (__res_vinit): Likewise.
20894 (net_mask): Likewise.
20895 * resolv/res_mkquery.c (outchar): Likewise.
20897 * stdio-common/printf_fp.c (outchar): Likewise.
20899 * stdio-common/printf_fphex.c (outchar): Likewise.
20901 * stdio-common/printf_size.c (outchar): Likewise.
20903 * stdio-common/test_rdwr.c (main): Likewise.
20904 * stdio-common/tfformat.c (matches): Likewise.
20905 * stdio-common/vfprintf.c (outchar): Likewise.
20906 (printf_unknown): Likewise.
20907 (buffered_vfprintf): Likewise.
20908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20909 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20910 (ReadFile): Likewise.
20911 * stdlib/qsort.c (SWAP): Likewise.
20912 (_quicksort): Likewise.
20913 * stdlib/setenv.c (__add_to_environ): Likewise.
20914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20915 * stdlib/strtol_l.c (__strtol_l): Likewise.
20916 * stdlib/tst-strtod.c (main): Likewise.
20917 * stdlib/tst-strtol.c (main): Likewise.
20918 * stdlib/tst-strtoll.c (main): Likewise.
20919 * string/bits/string2.h (__strcmp_cc): Likewise.
20920 (__strcmp_cg): Likewise.
20921 (__strcspn_c1): Likewise.
20922 (__strcspn_c2): Likewise.
20923 (__strcspn_c3): Likewise.
20924 (__strspn_c1): Likewise.
20925 (__strspn_c2): Likewise.
20926 (__strspn_c3): Likewise.
20927 (__strsep_1c): Likewise.
20928 (__strsep_2c): Likewise.
20929 (__strsep_3c): Likewise.
20930 * string/memccpy.c (__memccpy): Likewise.
20931 * string/stpcpy.c (__stpcpy): Likewise.
20932 * string/strcmp.c (strcmp): Likewise.
20933 * string/strrchr.c (strrchr): Likewise.
20934 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20936 * sysdeps/mach/hurd/getcwd.c
20937 (_hurd_canonicalize_directory_name_internal): Likewise.
20938 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20939 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20940 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20941 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20942 Likewise, in both definitions.
20943 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20945 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20946 64] (__bswap_64): Likewise.
20947 * time/test_time.c (main): Likewise.
20948 * time/tzfile.c (__tzfile_read): Likewise.
20949 (__tzfile_compute): Likewise.
20950 * time/tzset.c (__tzset_parse_tz): Likewise.
20951 (tzset_internal): Likewise.
20952 (compute_change): Likewise.
20953 * wcsmbs/wcscat.c (__wcscat): Likewise.
20954 * wcsmbs/wcschr.c (wcschr): Likewise.
20955 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20956 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20957 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20958 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20959 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20960 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20961 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20962 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20963 * wcsmbs/wmemset.c (wmemset): Likewise.
20965 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20967 * scripts/config.guess: Update to version 2013-05-16.
20968 * scripts/config.sub: Update to version 2013-04-24.
20969 * scripts/install-sh: Update to version 2011-11-20.07.
20970 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20971 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20973 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20975 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20976 * elf/sln.c: Likewise.
20977 * hurd/hurd/ioctl.h: Likewise.
20978 * hurd/hurdmalloc.c: Likewise.
20979 * hurd/xattr.c: Likewise.
20980 * include/shlib-compat.h: Likewise.
20981 * inet/ruserpass.c: Likewise.
20982 * libio/iofgets_u.c: Likewise.
20983 * libio/iofgetws_u.c: Likewise.
20984 * locale/programs/ld-identification.c: Likewise.
20985 * locale/programs/ld-time.c: Likewise.
20986 * mach/msg-destroy.c: Likewise.
20987 * nss/nss_files/files-netgrp.c: Likewise.
20988 * resolv/res_data.c: Likewise.
20989 * soft-fp/op-1.h: Likewise.
20990 * soft-fp/op-2.h: Likewise.
20991 * soft-fp/op-4.h: Likewise.
20992 * soft-fp/op-common.h: Likewise.
20993 * stdio-common/printf_fphex.c: Likewise.
20994 * stdlib/strtod_l.c: Likewise.
20995 * sunrpc/rpc/clnt.h: Likewise.
20996 * sysdeps/generic/framestate.c: Likewise.
20997 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20998 * sysdeps/i386/bsd-setjmp.S: Likewise.
20999 * sysdeps/i386/__longjmp.S: Likewise.
21000 * sysdeps/i386/setjmp.S: Likewise.
21001 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21002 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21003 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21004 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21005 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21006 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21007 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21009 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21010 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21012 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21013 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21014 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21015 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21016 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21017 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21019 * sysdeps/ieee754/support.c: Likewise.
21020 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21021 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21022 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21023 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21024 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21025 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21026 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21027 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21028 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21029 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21030 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21031 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21032 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21033 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21034 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21035 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21036 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21039 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
21041 * posix/transbug.c: Remove executable mode.
21043 2013-06-05 Joseph Myers <joseph@codesourcery.com>
21045 * crypt/speeds.c: Remove trailing whitespace.
21046 * dlfcn/default.c: Likewise.
21047 * elf/ifuncdep2.c: Likewise.
21048 * elf/ifuncmain1.c: Likewise.
21049 * elf/ifuncmain1vis.c: Likewise.
21050 * elf/testobj.h: Likewise.
21051 * elf/tst-stackguard1.c: Likewise.
21052 * gmon/sys/gmon.h: Likewise.
21053 * hurd/hurdmsg.c: Likewise.
21054 * hurd/new-fd.c: Likewise.
21055 * hurd/ports-get.c: Likewise.
21056 * iconvdata/ibm1008_420.c: Likewise.
21057 * inet/tst-getni1.c: Likewise.
21058 * inet/tst-getni2.c: Likewise.
21059 * libio/ioungetc.c: Likewise.
21060 * libio/wfiledoalloc.c: Likewise.
21061 * manual/libm-err-tab.pl: Likewise.
21062 * math/w_dremf.c: Likewise.
21063 * misc/ftruncate.c: Likewise.
21064 * posix/bug-glob2.c: Likewise.
21065 * posix/tst-pcre.c: Likewise.
21066 * posix/wait4.c: Likewise.
21067 * resolv/README: Likewise.
21068 * resolv/res_debug.h: Likewise.
21069 * resolv/tst-inet_ntop.c: Likewise.
21070 * setjmp/bug269-setjmp.c: Likewise.
21071 * soft-fp/extended.h: Likewise.
21072 * soft-fp/op-1.h: Likewise.
21073 * soft-fp/op-2.h: Likewise.
21074 * soft-fp/op-4.h: Likewise.
21075 * soft-fp/op-8.h: Likewise.
21076 * soft-fp/testit.c: Likewise.
21077 * stdio-common/bug16.c: Likewise.
21078 * stdlib/random.c: Likewise.
21079 * sunrpc/rpcsvc/rquota.x: Likewise.
21080 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21081 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21082 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21083 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21084 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21085 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21086 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21087 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21088 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21089 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21090 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21091 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21092 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21093 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21094 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21095 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21096 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21098 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21099 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21100 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21101 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21102 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21103 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21104 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21106 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21107 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21108 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21109 * sysdeps/ieee754/s_lib_version.c: Likewise.
21110 * sysdeps/mach/hurd/check_fds.c: Likewise.
21111 * sysdeps/mach/hurd/getsockname.c: Likewise.
21112 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21113 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21114 * sysdeps/powerpc/bits/link.h: Likewise.
21115 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21116 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21117 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21118 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21119 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21120 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21121 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21122 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21123 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21124 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21125 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21126 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21127 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21128 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21129 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21130 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21131 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21132 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21133 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21134 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21135 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21136 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21137 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21138 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21139 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21140 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21141 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21142 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21143 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21144 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21145 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21146 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21147 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21149 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21150 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21151 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21152 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21153 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21154 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21155 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21156 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21157 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21158 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21159 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21160 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21161 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21162 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21163 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21164 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21167 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21168 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21169 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21170 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21171 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21174 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21175 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21176 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21177 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21178 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21179 * sysdeps/powerpc/sysdep.h: Likewise.
21180 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21181 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21182 * sysdeps/sh/dl-trampoline.S: Likewise.
21183 * sysdeps/sh/memset.S: Likewise.
21184 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21185 * sysdeps/sh/strlen.S: Likewise.
21186 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21187 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21188 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21189 * sysdeps/sparc/sparc32/rem.S: Likewise.
21190 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21191 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21192 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21193 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21194 * sysdeps/sparc/sparc32/urem.S: Likewise.
21195 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21196 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21197 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21198 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21200 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21201 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21202 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21203 * sysdeps/unix/bsd/times.c: Likewise.
21204 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21205 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21209 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21210 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21211 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21212 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21213 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21214 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21215 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21216 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21217 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21218 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21219 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21220 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21221 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21222 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21223 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21224 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21225 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21226 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21227 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21228 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21229 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21230 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21231 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21232 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21233 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21234 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21235 * sysdeps/x86_64/strcspn.S: Likewise.
21237 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21239 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21240 generated file. Regenerate properly from gen-translit.pl.
21241 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21242 locale/C-translit.h.
21244 2013-06-05 Andreas Schwab <schwab@suse.de>
21247 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21248 week as 6 instead of -1.
21249 * time/tst-strptime.c (day_tests): Add test case.
21251 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21253 * sysdeps/generic/math_private.h
21254 (libc_feholdexcept_setround_53bit): Replace with
21255 libc_feholdsetround_53bit.
21256 (libc_feupdateenv_53bit): Replace with
21257 libc_feresetround_53bit.
21258 (SET_RESTORE_ROUND_53BIT): Adjust.
21260 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21262 * string/test-strchrnul.c: Add copyright header.
21264 * posix/tst-getaddrinfo4.c: Increase test timeout.
21266 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21269 * math/libm-test.inc (MAX_EXP): Remove
21271 (ulp): Use MIN_EXP - MANT_DIG.
21272 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21274 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21276 * po/be.po: Revert last change.
21277 * po/zh_CN.po: Likewise.
21278 * po/header.pot: Likewise.
21280 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21282 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21283 link-libc-deps to empty as target-specific variable.
21284 * Makerules (link-libc-args): New variable.
21285 (libc-for-link): Likewise.
21286 (link-libc-deps): Likewise.
21287 (lib%.so): Depend on $(link-libc-deps). Link with
21289 (build-module): Link with $(link-libc-args).
21290 (build-module-asneeded): Likewise.
21291 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21293 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21294 target-specific variable.
21295 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21296 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21297 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21299 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21301 ($(objpfx)libpcprofile.so): Likewise.
21302 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21304 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21305 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21306 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21308 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21309 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21310 * login/Makefile ($(objpfx)libutil.so): Likewise.
21311 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21312 * math/Makefile ($(objpfx)libm.so): Likewise.
21313 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21314 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21315 variable instead of depending directly on libc.
21316 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21317 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21319 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21321 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21322 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21323 ($(objpfx)libanl.so): Likewise.
21324 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21326 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21328 * sysdeps/i386/fpu/Makefile: Remove file.
21329 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21330 ($(objpfx)libm.so): Remove dependency on ld.so.
21332 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21335 * nis/yp_xdr.c (XDRMAXNAME): Define.
21336 (XDRMAXRECORD): Define.
21337 (xdr_domainname): Use XDRMAXNAME.
21338 (xdr_mapname): Likewise.
21339 (xdr_peername): Likewise.
21340 (xdr_keydat): Use XDRMAXRECORD.
21341 (xdr_valdat): Likewise.
21343 2013-05-30 Jeff Law <law@redhat.com>
21346 * manual/errno.texi (ESTALE): Update to account for more than
21347 just NFS file systems.
21348 * sysdeps/gnu/errlist.c: Regenerated.
21350 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21353 * elf/Makefile (tests): Add tst-null-argv.
21354 (modules-names): Add tst-null-argv-lib.
21355 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21356 (tst-null-argv-ENV): Set environment for tst-null-argv.
21357 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21358 (RTLD_PROGNAME): New macro.
21359 * elf/tst-null-argv.c: New test case.
21360 * elf/tst-null-argv-lib.c: Library for test case.
21361 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21362 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21363 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21364 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21365 * elf/dl-init.c (call_init): Likewise.
21366 (_dl_init): Likewise.
21367 * elf/dl-load.c (print_search_path): Likewise.
21368 (_dl_map_object): Likewise.
21369 * elf/dl-lookup.c (do_lookup_x): Likewise.
21370 (add_dependency): Likewise.
21371 (_dl_lookup_symbol_x): Likewise.
21372 (_dl_debug_bindings): Likewise.
21373 * elf/dl-open.c (_dl_show_scope): Likewise.
21374 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21375 * elf/dl-version.c (match_symbol): Likewise.
21376 (_dl_check_map_versions): Likewise.
21377 * elf/rtld.c (dl_main): Likewise.
21378 (print_unresolved): Use RTLD_PROGNAME.
21379 (print_missing_version): Likewise.
21380 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21381 (elf_machine_rela): Likewise.
21382 * sysdeps/powerpc/powerpc32/dl-machine.c
21383 (__process_machine_rela): Likewise.
21384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21386 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21388 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21390 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21393 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21397 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21399 * po/be.po: Add descriptive title.
21400 * po/zh_CN.po: Likewise.
21401 * po/header.pot: Likewise.
21403 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21405 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21407 (enlarge_archive): Likewise.
21409 2013-05-28 Ben North <ben@redfrontdoor.org>
21411 * manual/arith.texi (frexp): It is the magnitude of the return
21412 value which lies in [0.5, 1), not the return value itself.
21414 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21418 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21420 * stdio-common/bug26.c (main): Correct fscanf template.
21422 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21423 declare _dl_skip_args.
21425 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21428 * manual/platform.texi: Add missing @end deftypefun.
21430 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21433 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21434 bit of mantissa of 2^16382.
21435 * math/libm-test.inc (hypot_test_data): Add more tests.
21437 * math/libm-test.inc: Add drem and pow10 to list of tested
21439 (pow10_test): New function.
21440 (drem_test): Likewise.
21441 (drem_test_tonearest): Likewise.
21442 (drem_test_towardzero): Likewise.
21443 (drem_test_downward): Likewise.
21444 (drem_test_upward): Likewise.
21445 (main): Call the new functions.
21447 * math/libm-test.inc (finite_test_data): Remove.
21448 (finite_test): Run tests from isfinite_test_data.
21449 (gamma_test_data): Remove.
21450 (gamma_test): Run tests from lgamma_test_data.
21451 * sysdeps/i386/fpu/libm-test-ulps: Update.
21452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21454 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21456 * manual/platform.texi: Add PowerPC PPR function set documentation.
21457 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21460 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21462 * math/libm-test.inc (MAX_EXP): Define.
21464 (ulp): New function.
21465 (check_float_internal): Use ULPDIFF.
21466 (cpow_test): Disable failing test.
21467 (check_ulp): Test ulp() implemetnation.
21468 (main): Call check_ulp before starting tests.
21470 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21472 * math/gen-libm-test.pl (generate_testfile): Do not handle
21473 START_DATA and END_DATA.
21474 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21476 (acos_tonearest_test_data): Likewise.
21477 (acos_towardzero_test_data): Likewise.
21478 (acos_downward_test_data): Likewise.
21479 (acos_upward_test_data): Likewise.
21480 (acosh_test_data): Likewise.
21481 (asin_test_data): Likewise.
21482 (asin_tonearest_test_data): Likewise.
21483 (asin_towardzero_test_data): Likewise.
21484 (asin_downward_test_data): Likewise.
21485 (asin_upward_test_data): Likewise.
21486 (asinh_test_data): Likewise.
21487 (atan_test_data): Likewise.
21488 (atanh_test_data): Likewise.
21489 (atan2_test_data): Likewise.
21490 (cabs_test_data): Likewise.
21491 (cacos_test_data): Likewise.
21492 (cacosh_test_data): Likewise.
21493 (carg_test_data): Likewise.
21494 (casin_test_data): Likewise.
21495 (casinh_test_data): Likewise.
21496 (catan_test_data): Likewise.
21497 (catanh_test_data): Likewise.
21498 (cbrt_test_data): Likewise.
21499 (ccos_test_data): Likewise.
21500 (ccosh_test_data): Likewise.
21501 (ceil_test_data): Likewise.
21502 (cexp_test_data): Likewise.
21503 (cimag_test_data): Likewise.
21504 (clog_test_data): Likewise.
21505 (clog10_test_data): Likewise.
21506 (conj_test_data): Likewise.
21507 (copysign_test_data): Likewise.
21508 (cos_test_data): Likewise.
21509 (cos_tonearest_test_data): Likewise.
21510 (cos_towardzero_test_data): Likewise.
21511 (cos_downward_test_data): Likewise.
21512 (cos_upward_test_data): Likewise.
21513 (cosh_test_data): Likewise.
21514 (cosh_tonearest_test_data): Likewise.
21515 (cosh_towardzero_test_data): Likewise.
21516 (cosh_downward_test_data): Likewise.
21517 (cosh_upward_test_data): Likewise.
21518 (cpow_test_data): Likewise.
21519 (cproj_test_data): Likewise.
21520 (creal_test_data): Likewise.
21521 (csin_test_data): Likewise.
21522 (csinh_test_data): Likewise.
21523 (csqrt_test_data): Likewise.
21524 (ctan_test_data): Likewise.
21525 (ctan_tonearest_test_data): Likewise.
21526 (ctan_towardzero_test_data): Likewise.
21527 (ctan_downward_test_data): Likewise.
21528 (ctan_upward_test_data): Likewise.
21529 (ctanh_test_data): Likewise.
21530 (ctanh_tonearest_test_data): Likewise.
21531 (ctanh_towardzero_test_data): Likewise.
21532 (ctanh_downward_test_data): Likewise.
21533 (ctanh_upward_test_data): Likewise.
21534 (erf_test_data): Likewise.
21535 (erfc_test_data): Likewise.
21536 (exp_test_data): Likewise.
21537 (exp_tonearest_test_data): Likewise.
21538 (exp_towardzero_test_data): Likewise.
21539 (exp_downward_test_data): Likewise.
21540 (exp_upward_test_data): Likewise.
21541 (exp10_test_data): Likewise.
21542 (exp2_test_data): Likewise.
21543 (expm1_test_data): Likewise.
21544 (fabs_test_data): Likewise.
21545 (fdim_test_data): Likewise.
21546 (finite_test_data): Likewise.
21547 (floor_test_data): Likewise.
21548 (fma_test_data): Likewise.
21549 (fma_towardzero_test_data): Likewise.
21550 (fma_downward_test_data): Likewise.
21551 (fma_upward_test_data): Likewise.
21552 (fmax_test_data): Likewise.
21553 (fmin_test_data): Likewise.
21554 (fmod_test_data): Likewise.
21555 (fpclassify_test_data): Likewise.
21556 (frexp_test_data): Likewise.
21557 (gamma_test_data): Likewise.
21558 (hypot_test_data): Likewise.
21559 (ilogb_test_data): Likewise.
21560 (isfinite_test_data): Likewise.
21561 (isgreater_test_data): Likewise.
21562 (isgreaterequal_test_data): Likewise.
21563 (isinf_test_data): Likewise.
21564 (isless_test_data): Likewise.
21565 (islessequal_test_data): Likewise.
21566 (islessgreater_test_data): Likewise.
21567 (isnan_test_data): Likewise.
21568 (isnormal_test_data): Likewise.
21569 (issignaling_test_data): Likewise.
21570 (isunordered_test_data): Likewise.
21571 (j0_test_data): Likewise.
21572 (j1_test_data): Likewise.
21573 (jn_test_data): Likewise.
21574 (ldexp_test_data): Likewise.
21575 (lgamma_test_data): Likewise.
21576 (lrint_test_data): Likewise.
21577 (lrint_tonearest_test_data): Likewise.
21578 (lrint_towardzero_test_data): Likewise.
21579 (lrint_downward_test_data): Likewise.
21580 (lrint_upward_test_data): Likewise.
21581 (llrint_test_data): Likewise.
21582 (llrint_tonearest_test_data): Likewise.
21583 (llrint_towardzero_test_data): Likewise.
21584 (llrint_downward_test_data): Likewise.
21585 (llrint_upward_test_data): Likewise.
21586 (log_test_data): Likewise.
21587 (log10_test_data): Likewise.
21588 (log1p_test_data): Likewise.
21589 (log2_test_data): Likewise.
21590 (logb_test_data): Likewise.
21591 (logb_downward_test_data): Likewise.
21592 (lround_test_data): Likewise.
21593 (llround_test_data): Likewise.
21594 (modf_test_data): Likewise.
21595 (nearbyint_test_data): Likewise.
21596 (nextafter_test_data): Likewise.
21597 (nexttoward_test_data): Likewise.
21598 (pow_test_data): Likewise.
21599 (pow_tonearest_test_data): Likewise.
21600 (pow_towardzero_test_data): Likewise.
21601 (pow_downward_test_data): Likewise.
21602 (pow_upward_test_data): Likewise.
21603 (remainder_test_data): Likewise.
21604 (remainder_tonearest_test_data): Likewise.
21605 (remainder_towardzero_test_data): Likewise.
21606 (remainder_downward_test_data): Likewise.
21607 (remainder_upward_test_data): Likewise.
21608 (remquo_test_data): Likewise.
21609 (rint_test_data): Likewise.
21610 (rint_tonearest_test_data): Likewise.
21611 (rint_towardzero_test_data): Likewise.
21612 (rint_downward_test_data): Likewise.
21613 (rint_upward_test_data): Likewise.
21614 (round_test_data): Likewise.
21615 (scalb_test_data): Likewise.
21616 (scalbn_test_data): Likewise.
21617 (scalbln_test_data): Likewise.
21618 (signbit_test_data): Likewise.
21619 (sin_test_data): Likewise.
21620 (sin_tonearest_test_data): Likewise.
21621 (sin_towardzero_test_data): Likewise.
21622 (sin_downward_test_data): Likewise.
21623 (sin_upward_test_data): Likewise.
21624 (sincos_test_data): Likewise.
21625 (sinh_test_data): Likewise.
21626 (sinh_tonearest_test_data): Likewise.
21627 (sinh_towardzero_test_data): Likewise.
21628 (sinh_downward_test_data): Likewise.
21629 (sinh_upward_test_data): Likewise.
21630 (sqrt_test_data): Likewise.
21631 (tan_test_data): Likewise.
21632 (tan_tonearest_test_data): Likewise.
21633 (tan_towardzero_test_data): Likewise.
21634 (tan_downward_test_data): Likewise.
21635 (tan_upward_test_data): Likewise.
21636 (tanh_test_data): Likewise.
21637 (tgamma_test_data): Likewise.
21638 (trunc_test_data): Likewise.
21639 (y0_test_data): Likewise.
21640 (y1_test_data): Likewise.
21641 (yn_test_data): Likewise.
21642 (significand_test_data): Likewise.
21644 * math/gen-libm-test.pl (@functions): Remove variable.
21645 (generate_testfile): Don't handle START and END lines.
21646 * math/libm-test.inc (START): New macro.
21648 (END_COMPLEX): Likewise.
21649 (acos_test): Use END macro without arguments.
21650 (acos_test_tonearest): Likewise.
21651 (acos_test_towardzero): Likewise.
21652 (acos_test_downward): Likewise.
21653 (acos_test_upward): Likewise.
21654 (acosh_test): Likewise.
21655 (asin_test): Likewise.
21656 (asin_test_tonearest): Likewise.
21657 (asin_test_towardzero): Likewise.
21658 (asin_test_downward): Likewise.
21659 (asin_test_upward): Likewise.
21660 (asinh_test): Likewise.
21661 (atan_test): Likewise.
21662 (atanh_test): Likewise.
21663 (atan2_test): Likewise.
21664 (cabs_test): Likewise.
21665 (cacos_test): Use END_COMPLEX macro without arguments.
21666 (cacosh_test): Likewise.
21667 (carg_test): Use END macro without arguments.
21668 (casin_test): Use END_COMPLEX macro without arguments.
21669 (casinh_test): Likewise.
21670 (catan_test): Likewise.
21671 (catanh_test): Likewise.
21672 (cbrt_test): Use END macro without arguments.
21673 (ccos_test): Use END_COMPLEX macro without arguments.
21674 (ccosh_test): Likewise.
21675 (ceil_test): Use END macro without arguments.
21676 (cexp_test): Use END_COMPLEX macro without arguments.
21677 (cimag_test): Use END macro without arguments.
21678 (clog_test): Use END_COMPLEX macro without arguments.
21679 (clog10_test): Likewise.
21680 (conj_test): Likewise.
21681 (copysign_test): Use END macro without arguments.
21682 (cos_test): Likewise.
21683 (cos_test_tonearest): Likewise.
21684 (cos_test_towardzero): Likewise.
21685 (cos_test_downward): Likewise.
21686 (cos_test_upward): Likewise.
21687 (cosh_test): Likewise.
21688 (cosh_test_tonearest): Likewise.
21689 (cosh_test_towardzero): Likewise.
21690 (cosh_test_downward): Likewise.
21691 (cosh_test_upward): Likewise.
21692 (cpow_test): Use END_COMPLEX macro without arguments.
21693 (cproj_test): Likewise.
21694 (creal_test): Use END macro without arguments.
21695 (csin_test): Use END_COMPLEX macro without arguments.
21696 (csinh_test): Likewise.
21697 (csqrt_test): Likewise.
21698 (ctan_test): Likewise.
21699 (ctan_test_tonearest): Likewise.
21700 (ctan_test_towardzero): Likewise.
21701 (ctan_test_downward): Likewise.
21702 (ctan_test_upward): Likewise.
21703 (ctanh_test): Likewise.
21704 (ctanh_test_tonearest): Likewise.
21705 (ctanh_test_towardzero): Likewise.
21706 (ctanh_test_downward): Likewise.
21707 (ctanh_test_upward): Likewise.
21708 (erf_test): Use END macro without arguments.
21709 (erfc_test): Likewise.
21710 (exp_test): Likewise.
21711 (exp_test_tonearest): Likewise.
21712 (exp_test_towardzero): Likewise.
21713 (exp_test_downward): Likewise.
21714 (exp_test_upward): Likewise.
21715 (exp10_test): Likewise.
21716 (exp2_test): Likewise.
21717 (expm1_test): Likewise.
21718 (fabs_test): Likewise.
21719 (fdim_test): Likewise.
21720 (finite_test): Likewise.
21721 (floor_test): Likewise.
21722 (fma_test): Likewise.
21723 (fma_test_towardzero): Likewise.
21724 (fma_test_downward): Likewise.
21725 (fma_test_upward): Likewise.
21726 (fmax_test): Likewise.
21727 (fmin_test): Likewise.
21728 (fmod_test): Likewise.
21729 (fpclassify_test): Likewise.
21730 (frexp_test): Likewise.
21731 (gamma_test): Likewise.
21732 (hypot_test): Likewise.
21733 (ilogb_test): Likewise.
21734 (isfinite_test): Likewise.
21735 (isgreater_test): Likewise.
21736 (isgreaterequal_test): Likewise.
21737 (isinf_test): Likewise.
21738 (isless_test): Likewise.
21739 (islessequal_test): Likewise.
21740 (islessgreater_test): Likewise.
21741 (isnan_test): Likewise.
21742 (isnormal_test): Likewise.
21743 (issignaling_test): Likewise.
21744 (isunordered_test): Likewise.
21745 (j0_test): Likewise.
21746 (j1_test): Likewise.
21747 (jn_test): Likewise.
21748 (ldexp_test): Likewise.
21749 (lgamma_test): Likewise.
21750 (lrint_test): Likewise.
21751 (lrint_test_tonearest): Likewise.
21752 (lrint_test_towardzero): Likewise.
21753 (lrint_test_downward): Likewise.
21754 (lrint_test_upward): Likewise.
21755 (llrint_test): Likewise.
21756 (llrint_test_tonearest): Likewise.
21757 (llrint_test_towardzero): Likewise.
21758 (llrint_test_downward): Likewise.
21759 (llrint_test_upward): Likewise.
21760 (log_test): Likewise.
21761 (log10_test): Likewise.
21762 (log1p_test): Likewise.
21763 (log2_test): Likewise.
21764 (logb_test): Likewise.
21765 (logb_test_downward): Likewise.
21766 (lround_test): Likewise.
21767 (llround_test): Likewise.
21768 (modf_test): Likewise.
21769 (nearbyint_test): Likewise.
21770 (nextafter_test): Likewise.
21771 (nexttoward_test): Likewise.
21772 (pow_test): Likewise.
21773 (pow_test_tonearest): Likewise.
21774 (pow_test_towardzero): Likewise.
21775 (pow_test_downward): Likewise.
21776 (pow_test_upward): Likewise.
21777 (remainder_test): Likewise.
21778 (remainder_test_tonearest): Likewise.
21779 (remainder_test_towardzero): Likewise.
21780 (remainder_test_downward): Likewise.
21781 (remainder_test_upward): Likewise.
21782 (remquo_test): Likewise.
21783 (rint_test): Likewise.
21784 (rint_test_tonearest): Likewise.
21785 (rint_test_towardzero): Likewise.
21786 (rint_test_downward): Likewise.
21787 (rint_test_upward): Likewise.
21788 (round_test): Likewise.
21789 (scalb_test): Likewise.
21790 (scalbn_test): Likewise.
21791 (scalbln_test): Likewise.
21792 (signbit_test): Likewise.
21793 (sin_test): Likewise.
21794 (sin_test_tonearest): Likewise.
21795 (sin_test_towardzero): Likewise.
21796 (sin_test_downward): Likewise.
21797 (sin_test_upward): Likewise.
21798 (sincos_test): Likewise.
21799 (sinh_test): Likewise.
21800 (sinh_test_tonearest): Likewise.
21801 (sinh_test_towardzero): Likewise.
21802 (sinh_test_downward): Likewise.
21803 (sinh_test_upward): Likewise.
21804 (sqrt_test): Likewise.
21805 (tan_test): Likewise.
21806 (tan_test_tonearest): Likewise.
21807 (tan_test_towardzero): Likewise.
21808 (tan_test_downward): Likewise.
21809 (tan_test_upward): Likewise.
21810 (tanh_test): Likewise.
21811 (tgamma_test): Likewise.
21812 (trunc_test): Likewise.
21813 (y0_test): Likewise.
21814 (y1_test): Likewise.
21815 (yn_test): Likewise.
21816 (significand_test): Likewise.
21818 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21821 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21823 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21826 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21827 __ppc_mdoio and __ppc_mdoom.
21828 * manual/platform.texi: Document new functions __ppc_yield,
21829 __ppc_mdoio and __ppc_mdoom.
21831 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21833 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21834 (main): Mention "tls" pseudo-hwcap is legacy.
21835 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21837 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21839 * math/gen-libm-test.pl (parse_args): Output only string of
21840 arguments as text for test name, not full call or descriptions of
21841 tests for extra outputs.
21842 (generate_testfile): Do not pass function name to parse_args.
21843 Generate this_func variable from START.
21844 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21846 (struct test_ff_f_data): Likewise.
21847 (test_ff_f_data_nexttoward): Likewise.
21848 (struct test_fi_f_data): Likewise.
21849 (struct test_fl_f_data): Likewise.
21850 (struct test_if_f_data): Likewise.
21851 (struct test_fff_f_data): Likewise.
21852 (struct test_c_f_data): Likewise.
21853 (struct test_f_f1_data): Likewise. Remove field extra_name.
21854 (struct test_fF_f1_data): Likewise.
21855 (struct test_ffI_f1_data): Likewise.
21856 (struct test_c_c_data): Rename test_name field to arg_str.
21857 (struct test_cc_c_data): Likewise.
21858 (struct test_f_i_data): Likewise.
21859 (struct test_ff_i_data): Likewise.
21860 (struct test_f_l_data): Likewise.
21861 (struct test_f_L_data): Likewise.
21862 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21864 (COMMON_TEST_SETUP): New macro.
21865 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21866 (COMMON_TEST_CLEANUP): Likewise.
21867 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21868 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21870 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21871 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21873 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21874 (RUN_TEST_fff_f): Take argument string. Call new setup and
21876 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21877 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21879 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21880 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21882 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21883 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21885 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21886 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21888 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21889 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21891 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21892 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21894 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21895 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21897 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21898 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21900 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21901 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21903 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21904 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21906 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21907 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21909 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21910 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21912 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21913 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21915 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21916 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21918 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21919 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21921 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21923 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21925 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21926 to _sifields.sigfault.
21927 (si_addr_lsb): Define new macro.
21928 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21929 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21930 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21932 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21935 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21937 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21939 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21940 loading the domain.
21942 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21944 * math/gen-libm-test.pl (parse_args): Do not include expected
21945 result in test name.
21946 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21947 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21948 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21949 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21950 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21953 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21955 * benchtests/Makefile: Sort function entries.
21957 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21958 tanh, asinh, acosh, atanh.
21959 * benchtests/acos-inputs: New file.
21960 * benchtests/acosh-inputs: New file.
21961 * benchtests/asin-inputs: New file.
21962 * benchtests/asinh-inputs: New file.
21963 * benchtests/atanh-inputs: New file.
21964 * benchtests/cosh-inputs: New file.
21965 * benchtests/log-inputs: New file.
21966 * benchtests/sinh-inputs: New file.
21967 * benchtests/tanh-inputs: New file.
21969 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21972 * posix/tst-getaddrinfo4.c: New test.
21973 * posix/Makefile (tests): Add it.
21975 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21978 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21979 when no services were used.
21980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21981 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21983 2013-05-21 Andreas Schwab <schwab@suse.de>
21986 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21987 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21989 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21990 redundant variable declarations and reallocation of buffer when
21991 parsing as IPv6 address. Always set NSS status when called from
21992 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21993 buffer too small. Correct computation of needed size.
21994 * nss/Makefile (tests): Add test-digits-dots.
21995 * nss/test-digits-dots.c: New test.
21997 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21999 * benchtests/Makefile: Remove instructions for adding
22001 * benchtests/README: New file to explain how to execute and
22002 enhance the benchmark tests.
22004 2013-05-21 Andreas Schwab <schwab@suse.de>
22007 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22008 * setjmp/tst-sigsetjmp.c: New test.
22010 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22012 * sysdeps/x86_64/memset.S (memset): New implementation.
22013 (__bzero): Likewise.
22014 (__memset_tail): New function.
22016 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
22018 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22019 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22020 __memcpy_sse2_unaligned ifunc selection.
22021 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22022 Add memcpy-sse2-unaligned.S.
22023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22024 Add: __memcpy_sse2_unaligned.
22026 2013-05-19 Joseph Myers <joseph@codesourcery.com>
22029 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22030 math_force_eval before restoring floating-point envrionment.
22031 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22032 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22034 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22036 (__nearbyintl): Use math_force_eval before restoring
22037 floating-point environment.
22038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22040 * math/gen-libm-test.pl (special_functions): Remove.
22041 (parse_args): Don't handle TEST_extra. Handle functions with no
22043 * math/libm-test.inc (struct test_sincos_data): Replace with
22044 struct test_fFF_11_data.
22045 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22046 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22047 (sincos_test_data): Change element type to struct
22048 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22049 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22050 RUN_TEST_LOOP_sincos.
22051 * math/README.libm-test: Don't mention special handling of
22052 individual functions.
22053 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22054 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22055 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22056 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22057 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060 * math/gen-libm-test.pl (get_variable): Remove function.
22061 (parse_args): Don't show pointer parameters to call in test
22062 names. Use "extra output N" in test names for extra outputs
22063 rather than naming variables.
22065 2013-05-18 Joseph Myers <joseph@codesourcery.com>
22068 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22069 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22070 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22072 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22074 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22077 * math/gen-libm-test.pl (@tests): Remove variable.
22078 ($count): Likewise.
22079 (new_test): Remove function.
22080 (show_exceptions): New function.
22081 (special_functions): Use show_exceptions instead of new_test.
22082 (parse_args): Likewise.
22083 (generate_testfile): Pass only function name in generated call to
22084 print_max_error or print_complex_max_error.
22085 (get_ulps): Do not handle complex tests specially.
22086 (output_test): Rename to ...
22087 (get_all_ulps_for_test): ... this. Return a string rather than
22088 printing to a file. Require ulps to be present.
22089 (output_ulps): Generate arrays rather than #defines.
22090 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22091 (struct ulp_data): New type.
22092 (BUILD_COMPLEX_ULP): Remove macro.
22093 (compare_ulp_data): New function.
22094 (find_ulps): Likewise.
22095 (find_test_ulps): Likewise.
22096 (find_function_ulps): Likewise.
22097 (find_complex_function_ulps): Likewise.
22098 (print_max_error): Determine allowed ulps using
22099 find_function_ulps.
22100 (print_complex_max_error): Determine allowed ulps using
22101 find_complex_function_ulps.
22102 (check_float_internal): Determine max ulps using find_test_ulps.
22103 (check_float): Do not take max_ulp parameter. Update call to
22104 check_float_internal.
22105 (check_complex): Likewise.
22106 (check_int): Do not take max_ulp parameter.
22107 (check_long): Likewise.
22108 (check_bool): Likewise.
22109 (check_longlong): Likewise.
22110 (struct test_f_f_data): Remove max_ulp field.
22111 (struct test_ff_f_data): Likewise.
22112 (struct test_ff_f_data_nexttoward): Likewise.
22113 (struct test_fi_f_data): Likewise.
22114 (struct test_fl_f_data): Likewise.
22115 (struct test_if_f_data): Likewise.
22116 (struct test_fff_f_data): Likewise.
22117 (struct test_c_f_data): Likewise.
22118 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22119 (struct test_fF_f1_data): Likewise.
22120 (struct test_ffI_f1_data): Likewise.
22121 (struct test_c_c_data): Remove max_ulp field.
22122 (struct test_cc_c_data): Likewise.
22123 (struct test_f_i_data): Likewise.
22124 (struct test_ff_i_data): Likewise.
22125 (struct test_f_l_data): Likewise.
22126 (struct test_f_L_data): Likewise.
22127 (struct test_sincos_data): Likewise.
22128 (RUN_TEST_f_f): Do not handle ulps.
22129 (RUN_TEST_LOOP_f_f): Likewise.
22130 (RUN_TEST_2_f): Likewise.
22131 (RUN_TEST_LOOP_2_f): Likewise.
22132 (RUN_TEST_fff_f): Likewise.
22133 (RUN_TEST_LOOP_fff_f): Likewise.
22134 (RUN_TEST_c_f): Likewise.
22135 (RUN_TEST_LOOP_c_f): Likewise.
22136 (RUN_TEST_f_f1): Likewise.
22137 (RUN_TEST_LOOP_f_f1): Likewise.
22138 (RUN_TEST_fF_f1): Likewise.
22139 (RUN_TEST_LOOP_fF_f1): Likewise.
22140 (RUN_TEST_fI_f1): Likewise.
22141 (RUN_TEST_LOOP_fI_f1): Likewise.
22142 (RUN_TEST_ffI_f1): Likewise.
22143 (RUN_TEST_LOOP_ffI_f1): Likewise.
22144 (RUN_TEST_c_c): Likewise.
22145 (RUN_TEST_LOOP_c_c): Likewise.
22146 (RUN_TEST_cc_c): Likewise.
22147 (RUN_TEST_LOOP_cc_c): Likewise.
22148 (RUN_TEST_f_i): Likewise.
22149 (RUN_TEST_LOOP_f_i): Likewise.
22150 (RUN_TEST_f_i_tg): Likewise.
22151 (RUN_TEST_LOOP_f_i_tg): Likewise.
22152 (RUN_TEST_ff_i_tg): Likewise.
22153 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22154 (RUN_TEST_f_b): Likewise.
22155 (RUN_TEST_LOOP_f_b): Likewise.
22156 (RUN_TEST_f_b_tg): Likewise.
22157 (RUN_TEST_LOOP_f_b_tg): Likewise.
22158 (RUN_TEST_f_l): Likewise.
22159 (RUN_TEST_LOOP_f_l): Likewise.
22160 (RUN_TEST_f_L): Likewise.
22161 (RUN_TEST_LOOP_f_L): Likewise.
22162 (RUN_TEST_sincos): Likewise.
22163 (RUN_TEST_LOOP_sincos): Likewise.
22165 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22169 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22170 main case of finite arguments, set rounding mode to FE_TONEAREST
22171 and discard exceptions.
22172 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22174 (remainder_tonearest_test_data): New variable.
22175 (remainder_test_tonearest): New function.
22176 (remainder_towardzero_test_data): New variable.
22177 (remainder_test_towardzero): New function.
22178 (remainder_downward_test_data): New variable.
22179 (remainder_test_downward): New function.
22180 (remainder_upward_test_data): New variable.
22181 (remainder_test_upward): New function.
22182 (main): Call the new test functions.
22184 * math/libm-test.inc (struct test_f_f1_data): Remove field
22186 (struct test_fF_f1_data): Likewise.
22187 (struct test_ffI_f1_data): Likewise.
22188 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22189 based on value of EXTRA_EXPECTED.
22190 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22191 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22192 EXTRA_VAR based on value of EXTRA_EXPECTED.
22193 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22194 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22195 EXTRA_VAR based on value of EXTRA_EXPECTED.
22196 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22197 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22198 EXTRA_VAR based on value of EXTRA_EXPECTED.
22199 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22200 * math/gen-libm-test.pl (parse_args): Don't output initializers
22201 for extra output values.
22203 * math/libm-test.inc (check_int): Expect result to be exactly
22204 equal to expected value and do not handle ulps.
22205 (check_long): Likewise.
22206 (check_longlong): Likewise.
22208 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22210 (cimag_test_data): Likewise.
22211 (conj_test_data): Likewise.
22212 (copysign_test_data): Likewise.
22213 (cproj_test_data): Likewise.
22214 (creal_test_data): Likewise.
22215 (fabs_test_data): Likewise.
22216 (fdim_test_data): Likewise.
22217 (finite_test_data): Likewise.
22218 (floor_test_data): Likewise.
22219 (fmax_test_data): Likewise.
22220 (fmin_test_data): Likewise.
22221 (fmod_test_data): Likewise.
22222 (fpclassify_test_data): Likewise.
22223 (frexp_test_data): Likewise.
22224 (ilogb_test_data): Likewise.
22225 (isfinite_test_data): Likewise.
22226 (isgreater_test_data): Likewise.
22227 (isgreaterequal_test_data): Likewise.
22228 (isinf_test_data): Likewise.
22229 (isless_test_data): Likewise.
22230 (islessequal_test_data): Likewise.
22231 (islessgreater_test_data): Likewise.
22232 (isnan_test_data): Likewise.
22233 (isnormal_test_data): Likewise.
22234 (issignaling_test_data): Likewise.
22235 (isunordered_test_data): Likewise.
22236 (ldexp_test_data): Likewise.
22237 (lrint_test_data): Likewise.
22238 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22239 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22240 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22241 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22242 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22243 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22245 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22246 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22247 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22248 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22250 (lrint_downward_test_data): Test for "inexact" exceptions.
22251 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22252 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22253 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22255 (lrint_upward_test_data): Test for "inexact" exceptions.
22256 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22258 (llrint_test_data): Test for "inexact" exceptions.
22259 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22260 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22261 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22262 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22263 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22264 (llrint_downward_test_data): Test for "inexact" exceptions.
22265 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22266 (llrint_upward_test_data): Test for "inexact" exceptions.
22267 (logb_test_data): Likewise.
22268 (logb_downward_test_data): Likewise.
22269 (nextafter_test_data): Likewise.
22270 (nexttoward_test_data): Likewise.
22271 (remainder_test_data): Likewise.
22272 (remquo_test_data): Likewise.
22273 (scalbn_test_data): Likewise.
22274 (scalbln_test_data): Likewise.
22275 (signbit_test_data): Likewise.
22276 (sqrt_test_data): Likewise.
22277 (significand_test_data): Likewise.
22279 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22282 * benchtests/bench-modf.c (struct args): Mark arg0 as
22284 * scripts/bench.pl: Mark members of struct args as volatile.
22286 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22289 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22290 negative infinity on POWER6 or lower.
22291 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22293 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22296 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22297 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22298 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22299 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22300 (_FP_SETQNAN): New macro.
22301 (_FP_SETQNAN_SEMIRAW): Likewise.
22302 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22303 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22304 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22305 (FP_EXTEND): Use _FP_FRAC_SNANP.
22306 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22307 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22309 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22311 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22314 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22316 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22317 with DIVIDE_BY_ZERO_EXCEPTION.
22318 (gamma_test_data): Likewise.
22319 (lgamma_test_data): Likewise.
22320 (log_test_data): Likewise.
22321 (log10_test_data): Likewise.
22322 (log2_test_data): Likewise.
22323 (tgamma_test_data): Likewise.
22325 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22326 (acos_test_tonearest): Likewise.
22327 (acos_test_towardzero): Likewise.
22328 (acos_test_downward): Likewise.
22329 (acos_test_upward): Likewise.
22330 (acosh_test): Likewise.
22331 (asin_test): Likewise.
22332 (asin_test_tonearest): Likewise.
22333 (asin_test_towardzero): Likewise.
22334 (asin_test_downward): Likewise.
22335 (asin_test_upward): Likewise.
22336 (asinh_test): Likewise.
22337 (atan_test): Likewise.
22338 (atanh_test): Likewise.
22339 (atan2_test): Likewise.
22340 (cabs_test): Likewise.
22341 (cacos_test): Likewise.
22342 (cacosh_test): Likewise.
22343 (casin_test): Likewise.
22344 (casinh_test): Likewise.
22345 (catan_test): Likewise.
22346 (catanh_test): Likewise.
22347 (cbrt_test): Likewise.
22348 (ccos_test): Likewise.
22349 (ccosh_test): Likewise.
22350 (cexp_test): Likewise.
22351 (clog_test): Likewise.
22352 (clog10_test): Likewise.
22353 (cos_test): Likewise.
22354 (cos_test_tonearest): Likewise.
22355 (cos_test_towardzero): Likewise.
22356 (cos_test_downward): Likewise.
22357 (cos_test_upward): Likewise.
22358 (cosh_test): Likewise.
22359 (cosh_test_tonearest): Likewise.
22360 (cosh_test_towardzero): Likewise.
22361 (cosh_test_downward): Likewise.
22362 (cosh_test_upward): Likewise.
22363 (cpow_test): Likewise.
22364 (csin_test): Likewise.
22365 (csinh_test): Likewise.
22366 (csqrt_test): Likewise.
22367 (ctan_test): Likewise.
22368 (ctan_test_tonearest): Likewise.
22369 (ctan_test_towardzero): Likewise.
22370 (ctan_test_downward): Likewise.
22371 (ctan_test_upward): Likewise.
22372 (ctanh_test): Likewise.
22373 (ctanh_test_tonearest): Likewise.
22374 (ctanh_test_towardzero): Likewise.
22375 (ctanh_test_downward): Likewise.
22376 (ctanh_test_upward): Likewise.
22377 (erf_test): Likewise.
22378 (erfc_test): Likewise.
22379 (exp_test): Likewise.
22380 (exp_test_tonearest): Likewise.
22381 (exp_test_towardzero): Likewise.
22382 (exp_test_downward): Likewise.
22383 (exp_test_upward): Likewise.
22384 (exp10_test): Likewise.
22385 (exp2_test): Likewise.
22386 (expm1_test): Likewise.
22387 (fmod_test): Likewise.
22388 (gamma_test): Likewise.
22389 (hypot_test): Likewise.
22390 (j0_test): Likewise.
22391 (j1_test): Likewise.
22392 (jn_test): Likewise.
22393 (lgamma_test): Likewise.
22394 (log_test): Likewise.
22395 (log10_test): Likewise.
22396 (log1p_test): Likewise.
22397 (log2_test): Likewise.
22398 (logb_test_downward): Likewise.
22399 (pow_test): Likewise.
22400 (pow_test_tonearest): Likewise.
22401 (pow_test_towardzero): Likewise.
22402 (pow_test_downward): Likewise.
22403 (pow_test_upward): Likewise.
22404 (remainder_test): Likewise.
22405 (remquo_test): Likewise.
22406 (sin_test): Likewise.
22407 (sin_test_tonearest): Likewise.
22408 (sin_test_towardzero): Likewise.
22409 (sin_test_downward): Likewise.
22410 (sin_test_upward): Likewise.
22411 (sincos_test): Likewise.
22412 (sinh_test): Likewise.
22413 (sinh_test_tonearest): Likewise.
22414 (sinh_test_towardzero): Likewise.
22415 (sinh_test_downward): Likewise.
22416 (sinh_test_upward): Likewise.
22417 (sqrt_test): Likewise.
22418 (tan_test): Likewise.
22419 (tan_test_tonearest): Likewise.
22420 (tan_test_towardzero): Likewise.
22421 (tan_test_downward): Likewise.
22422 (tan_test_upward): Likewise.
22423 (tanh_test): Likewise.
22424 (tgamma_test): Likewise.
22425 (y0_test): Likewise.
22426 (y1_test): Likewise.
22427 (yn_test): Likewise.
22429 * math/gen-libm-test.pl (adjust_arg): Remove function.
22430 (special_function): Remove argument $in_func. Only handle
22431 generating output for tables of tests, not inside functions.
22432 (parse_args): Likewise.
22433 (generate_testfile): Remove variable $in_func. Update call to
22435 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22436 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22437 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22438 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22439 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22440 (MAX_VALUE_INIT): Rename macro to max_value.
22441 (MIN_VALUE_INIT): Rename macro to min_value.
22442 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22443 (plus_zero): Remove variable.
22444 (minus_zero): Likewise.
22445 (plus_infty): Likewise.
22446 (minus_infty): Likewise.
22447 (qnan_value): Likewise.
22448 (max_value): Likewise.
22449 (min_value): Likewise.
22450 (min_subnorm_value): Likewise.
22452 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22454 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22455 uint64_t or uint32_t usage.
22456 * crypt/sha256-block.c: Likewise.
22457 * crypt/sha256-crypt.c: Likewise.
22458 * crypt/sha256.c: Likewise.
22459 * crypt/sha512-block.c: Likewise.
22460 * crypt/sha512-crypt.c: Likewise.
22461 * crypt/sha512.c: Likewise.
22462 * debug/backtrace-tst.c: Likewise.
22463 * debug/pcprofiledump.c: Likewise.
22464 * elf/cache.c: Likewise.
22465 * elf/dl-cache.c: Likewise.
22466 * elf/dl-misc.c: Likewise.
22467 * elf/dl-profile.c: Likewise.
22468 * elf/dl-support.c: Likewise.
22469 * elf/ldconfig.c: Likewise.
22470 * elf/sprof.c: Likewise.
22471 * iconv/dummy-repertoire.c: Likewise.
22472 * iconv/iconv_charmap.c: Likewise.
22473 * iconv/skeleton.c: Likewise.
22474 * iconvdata/8bit-generic.c: Likewise.
22475 * iconvdata/cp737.h: Likewise.
22476 * iconvdata/cp775.h: Likewise.
22477 * iconvdata/ibm1008.h: Likewise.
22478 * iconvdata/ibm1025.h: Likewise.
22479 * iconvdata/ibm1046.h: Likewise.
22480 * iconvdata/ibm1097.h: Likewise.
22481 * iconvdata/ibm1112.h: Likewise.
22482 * iconvdata/ibm1122.h: Likewise.
22483 * iconvdata/ibm1123.h: Likewise.
22484 * iconvdata/ibm1124.h: Likewise.
22485 * iconvdata/ibm1129.h: Likewise.
22486 * iconvdata/ibm1130.h: Likewise.
22487 * iconvdata/ibm1132.h: Likewise.
22488 * iconvdata/ibm1133.h: Likewise.
22489 * iconvdata/ibm1137.h: Likewise.
22490 * iconvdata/ibm1140.h: Likewise.
22491 * iconvdata/ibm1141.h: Likewise.
22492 * iconvdata/ibm1142.h: Likewise.
22493 * iconvdata/ibm1143.h: Likewise.
22494 * iconvdata/ibm1144.h: Likewise.
22495 * iconvdata/ibm1145.h: Likewise.
22496 * iconvdata/ibm1146.h: Likewise.
22497 * iconvdata/ibm1147.h: Likewise.
22498 * iconvdata/ibm1148.h: Likewise.
22499 * iconvdata/ibm1149.h: Likewise.
22500 * iconvdata/ibm1153.h: Likewise.
22501 * iconvdata/ibm1154.h: Likewise.
22502 * iconvdata/ibm1155.h: Likewise.
22503 * iconvdata/ibm1156.h: Likewise.
22504 * iconvdata/ibm1157.h: Likewise.
22505 * iconvdata/ibm1158.h: Likewise.
22506 * iconvdata/ibm1160.h: Likewise.
22507 * iconvdata/ibm1161.h: Likewise.
22508 * iconvdata/ibm1162.h: Likewise.
22509 * iconvdata/ibm1163.h: Likewise.
22510 * iconvdata/ibm1164.h: Likewise.
22511 * iconvdata/ibm1166.h: Likewise.
22512 * iconvdata/ibm1167.h: Likewise.
22513 * iconvdata/ibm12712.h: Likewise.
22514 * iconvdata/ibm1390.h: Likewise.
22515 * iconvdata/ibm1399.h: Likewise.
22516 * iconvdata/ibm16804.h: Likewise.
22517 * iconvdata/ibm4517.h: Likewise.
22518 * iconvdata/ibm4899.h: Likewise.
22519 * iconvdata/ibm4909.h: Likewise.
22520 * iconvdata/ibm4971.h: Likewise.
22521 * iconvdata/ibm5347.h: Likewise.
22522 * iconvdata/ibm803.h: Likewise.
22523 * iconvdata/ibm856.h: Likewise.
22524 * iconvdata/ibm901.h: Likewise.
22525 * iconvdata/ibm902.h: Likewise.
22526 * iconvdata/ibm9030.h: Likewise.
22527 * iconvdata/ibm9066.h: Likewise.
22528 * iconvdata/ibm921.h: Likewise.
22529 * iconvdata/ibm922.h: Likewise.
22530 * iconvdata/ibm9448.h: Likewise.
22531 * iconvdata/isiri-3342.h: Likewise.
22532 * iconvdata/jis0201.h: Likewise.
22533 * include/link.h: Likewise.
22534 * include/netdb.h: Likewise.
22535 * inet/check_native.c: Likewise.
22536 * inet/check_pf.c: Likewise.
22537 * inet/getipv4sourcefilter.c: Likewise.
22538 * inet/getnameinfo.c: Likewise.
22539 * inet/getsourcefilter.c: Likewise.
22540 * inet/htonl.c: Likewise.
22541 * inet/setipv4sourcefilter.c: Likewise.
22542 * inet/setsourcefilter.c: Likewise.
22543 * inet/test-inet6_opt.c: Likewise.
22544 * inet/tst-network.c: Likewise.
22545 * locale/C-collate.c: Likewise.
22546 * locale/C-ctype.c: Likewise.
22547 * locale/C-time.c: Likewise.
22548 * locale/C-translit.h: Likewise.
22549 * locale/loadarchive.c: Likewise.
22550 * locale/programs/3level.h: Likewise.
22551 * locale/programs/charmap.c: Likewise.
22552 * locale/programs/charmap.h: Likewise.
22553 * locale/programs/ld-address.c: Likewise.
22554 * locale/programs/ld-collate.c: Likewise.
22555 * locale/programs/ld-ctype.c: Likewise.
22556 * locale/programs/ld-identification.c: Likewise.
22557 * locale/programs/ld-measurement.c: Likewise.
22558 * locale/programs/ld-messages.c: Likewise.
22559 * locale/programs/ld-monetary.c: Likewise.
22560 * locale/programs/ld-name.c: Likewise.
22561 * locale/programs/ld-numeric.c: Likewise.
22562 * locale/programs/ld-paper.c: Likewise.
22563 * locale/programs/ld-telephone.c: Likewise.
22564 * locale/programs/ld-time.c: Likewise.
22565 * locale/programs/linereader.c: Likewise.
22566 * locale/programs/locale.c: Likewise.
22567 * locale/programs/locarchive.c: Likewise.
22568 * locale/programs/locfile.h: Likewise.
22569 * locale/programs/repertoire.c: Likewise.
22570 * locale/programs/simple-hash.c: Likewise.
22571 * locale/programs/simple-hash.h: Likewise.
22572 * malloc/memusage.c: Likewise.
22573 * malloc/memusagestat.c: Likewise.
22574 * nis/nis_defaults.c: Likewise.
22575 * nis/nis_hash.c: Likewise.
22576 * nis/nis_print.c: Likewise.
22577 * nis/nis_xdr.c: Likewise.
22578 * nscd/connections.c: Likewise.
22579 * nscd/hstcache.c: Likewise.
22580 * nscd/nscd_gethst_r.c: Likewise.
22581 * nscd/nscd_getserv_r.c: Likewise.
22582 * nscd/nscd_helper.c: Likewise.
22583 * nscd/servicescache.c: Likewise.
22584 * nss/makedb.c: Likewise.
22585 * nss/nss_db/db-XXX.c: Likewise.
22586 * nss/nss_db/db-initgroups.c: Likewise.
22587 * nss/nss_db/db-netgrp.c: Likewise.
22588 * nss/nss_files/files-network.c: Likewise.
22589 * nss/nss_files/files-parse.c: Likewise.
22590 * posix/bug-regex5.c: Likewise.
22591 * posix/fnmatch_loop.c: Likewise.
22592 * posix/regcomp.c: Likewise.
22593 * posix/regexec.c: Likewise.
22594 * posix/tst-rfc3484-2.c: Likewise.
22595 * posix/tst-rfc3484-3.c: Likewise.
22596 * posix/tst-rfc3484.c: Likewise.
22597 * resolv/nss_dns/dns-canon.c: Likewise.
22598 * resolv/nss_dns/dns-network.c: Likewise.
22599 * resolv/res_init.c: Likewise.
22600 * resolv/res_mkquery.c: Likewise.
22601 * resolv/tst-aton.c: Likewise.
22602 * stdlib/cxa_atexit.c: Likewise.
22603 * stdlib/cxa_finalize.c: Likewise.
22604 * stdlib/gen-fpioconst.c: Likewise.
22605 * stdlib/strtol_l.c: Likewise.
22606 * string/tst-endian.c: Likewise.
22607 * sunrpc/auth_des.c: Likewise.
22608 * sunrpc/clnt_udp.c: Likewise.
22609 * sunrpc/rtime.c: Likewise.
22610 * sunrpc/svcauth_des.c: Likewise.
22611 * sunrpc/xdr.c: Likewise.
22612 * sunrpc/xdr_intXX_t.c: Likewise.
22613 * sunrpc/xdr_rec.c: Likewise.
22614 * sysdeps/generic/ldconfig.h: Likewise.
22615 * sysdeps/generic/ldsodefs.h: Likewise.
22616 * sysdeps/generic/memusage.h: Likewise.
22617 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22620 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22627 * sysdeps/posix/getaddrinfo.c: Likewise.
22628 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22630 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22631 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22632 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22633 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22634 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22635 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22636 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22637 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22638 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22639 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22640 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22641 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22642 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22643 * sysdeps/x86_64/dl-tls.h: Likewise.
22644 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22645 * time/alt_digit.c: Likewise.
22646 * time/era.c: Likewise.
22647 * wcsmbs/tst-c16c32-1.c: Likewise.
22649 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22651 * math/libm-test.inc (struct test_sincos_data): New type.
22652 (RUN_TEST_LOOP_sincos): New macro.
22653 (sincos_test_data): New variable.
22654 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22656 2013-05-16 Richard Henderson <rth@redhat.com>
22658 * math/atest-exp2.c (LIMB64): New macro.
22659 (CONSTSZ): New macro.
22660 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22662 (print_mpn_fp): ... to function scope.
22663 (read_mpn_hex): Remove.
22664 (get_log2): Remove.
22665 (exp2_mpn): Use mp_log2.
22666 (main): Use mp_exp1.
22668 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22670 * math/libm-test.inc: Remove comment about not testing "inexact"
22672 (INEXACT_EXCEPTION): New macro.
22673 (NO_INEXACT_EXCEPTION): Likewise.
22674 (INVALID_EXCEPTION_OK): Update value.
22675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22676 (OVERFLOW_EXCEPTION_OK): Likewise.
22677 (UNDERFLOW_EXCEPTION_OK): Likewise.
22678 (IGNORE_ZERO_INF_SIGN): Likewise.
22679 (ERRNO_UNCHANGED): Likewise.
22680 (ERRNO_EDOM): Likewise.
22681 (ERRNO_ERANGE): Likewise.
22682 (test_exceptions): Handle testing "inexact" exceptions.
22683 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22684 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22685 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22686 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22688 (rint_towardzero_test_data): Likewise.
22689 (rint_downward_test_data): Likewise.
22690 (rint_upward_test_data): Likewise.
22692 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22693 with OVERFLOW_EXCEPTION.
22694 (exp10_test_data): Likewise.
22695 (exp2_test_data): Likewise.
22696 (expm1_test_data): Likewise.
22697 (lgamma_test_data): Likewise.
22698 (pow_test_data): Likewise.
22699 (tgamma_test_data): Likewise.
22700 (yn_test_data): Remove duplicate test of overflow.
22702 * math/libm-test.inc (struct test_cc_c_data): New type.
22703 (RUN_TEST_LOOP_cc_c): New macro.
22704 (cpow_test_data): New variable.
22705 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22707 * math/libm-test.inc (struct test_f_L_data): New type.
22708 (RUN_TEST_LOOP_f_L): New macro.
22709 (llrint_test_data): New variable.
22710 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22711 (llrint_tonearest_test_data): New variable.
22712 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22713 (llrint_towardzero_test_data): New variable.
22714 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22715 (llrint_downward_test_data): New variable.
22716 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22717 (llrint_upward_test_data): New variable.
22718 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22719 (llround_test_data): New variable.
22720 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22722 2013-05-13 Peter Collingbourne <pcc@google.com>
22724 * math/atest-exp2.c (get_log2): Remove const attribute.
22726 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22728 * math/libm-test.inc (struct test_f_l_data): New type.
22729 (RUN_TEST_LOOP_f_l): New macro.
22730 (lrint_test_data): New variable.
22731 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22732 (lrint_tonearest_test_data): New variable.
22733 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22734 (lrint_towardzero_test_data): New variable.
22735 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22736 (lrint_downward_test_data): New variable.
22737 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22738 (lrint_upward_test_data): New variable.
22739 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22740 (lround_test_data): New variable.
22741 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22743 2013-05-15 Peter Collingbourne <pcc@google.com>
22745 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22746 (EXTRACT_WORDS64) Use where appropriate.
22747 (INSERT_WORDS64) Likewise.
22749 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22750 constraints with x constraints.
22751 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22753 * malloc/obstack.c (_obstack_compat): Add initializer.
22755 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22757 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22758 si_trapno and add si_addr_lsb to _sifields.sigfault.
22759 (si_trapno): Remove macro.
22760 (si_addr_lsb): Define new macro.
22761 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22763 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22765 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22766 instead of TEST_f_l.
22767 (llrint_test_tonearest): Likewise.
22768 (llrint_test_towardzero): Likewise.
22769 (llrint_test_downward): Likewise.
22770 (llrint_test_upward): Likewise.
22771 (llround_test): Likewise.
22773 * math/libm-test.inc (struct test_f_i_data): Add comment.
22774 (RUN_TEST_LOOP_f_b): New macro.
22775 (RUN_TEST_LOOP_f_b_tg): Likewise.
22776 (finite_test_data): New variable.
22777 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22778 (isfinite_test_data): New variable.
22779 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22780 (isinf_test_data): New variable.
22781 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22782 (isnan_test_data): New variable.
22783 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22784 (isnormal_test_data): New variable.
22785 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22786 (issignaling_test_data): New variable.
22787 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22788 (signbit_test_data): New variable.
22789 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22791 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22792 with INVALID_EXCEPTION.
22793 (acosh_test_data): Likewise.
22794 (asin_test_data): Likewise.
22795 (atanh_test_data): Likewise.
22796 (fmod_test_data): Likewise.
22797 (log_test_data): Likewise.
22798 (log10_test_data): Likewise.
22799 (log2_test_data): Likewise.
22800 (pow_test_data): Likewise.
22801 (sqrt_test_data): Likewise.
22802 (y0_test_data): Likewise.
22803 (y1_test_data): Likewise.
22804 (yn_test_data): Likewise.
22806 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22809 * math/libm-test.inc (struct test_ff_i_data): New type.
22810 (RUN_TEST_LOOP_ff_i_tg): New macro.
22811 (isgreater_test_data): New variable.
22812 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22813 (isgreaterequal_test_data): New variable.
22814 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22815 (isless_test_data): New variable.
22816 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22817 (islessequal_test_data): New variable.
22818 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22819 (islessgreater_test_data): New variable.
22820 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22821 (isunordered_test_data): New variable.
22822 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22824 2013-05-14 David S. Miller <davem@davemloft.net>
22826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22828 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22830 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22832 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22834 (struct test_f_i_data): Change type of max_ulp to int.
22836 * math/libm-test.inc (test_ffI_f1_data): New type.
22837 (RUN_TEST_LOOP_ffI_f1): New macro.
22838 (remquo_test_data): New variable.
22839 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22841 * setjmp/tst-setjmp-fp.c: New file.
22842 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22843 (link-libm): New variable.
22844 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22846 * math/libm-test.inc (struct test_f_i_data): New type.
22847 (RUN_TEST_LOOP_f_i): New macro.
22848 (RUN_TEST_LOOP_f_i_tg): Likewise.
22849 (fpclassify_test_data): New variable.
22850 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22851 (ilogb_test_data): New variable.
22852 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22854 * math/libm-test.inc (scalbln_test): Correct function name in END
22857 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22858 (RUN_TEST_LOOP_fI_f1): New macro.
22859 (frexp_test_data): New variable.
22860 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22862 * math/libm-test.inc (struct test_fF_f1_data): New type.
22863 (RUN_TEST_LOOP_fF_f1): New macro.
22864 (modf_test_data): New variable.
22865 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22867 * math/libm-test.inc (struct test_f_f1_data): New type.
22868 (RUN_TEST_LOOP_f_f1): New macro.
22869 (gamma_test_data): New variable.
22870 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22871 (lgamma_test_data): New variable.
22872 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22874 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22876 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22877 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22878 (main): Comment "tls" pseudo-hwcap.
22880 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22882 * math/libm-test.inc (struct test_fl_f_data): New type.
22883 (RUN_TEST_LOOP_fl_f): New variable.
22884 (scalbln_test_data): New variable.
22885 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22887 * math/libm-test.inc (struct test_fi_f_data): New type.
22888 (RUN_TEST_LOOP_fi_f): New macro.
22889 (ldexp_test_data): New variable.
22890 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22891 (scalbn_test_data): New variable.
22892 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22894 * math/libm-test.inc (struct test_c_f_data): New type.
22895 (RUN_TEST_LOOP_c_f): New macro.
22896 (cabs_test_data): New variable.
22897 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22898 (carg_test_data): New variable.
22899 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22900 (cimag_test_data): New variable.
22901 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22902 (creal_test_data): New variable.
22903 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22905 * math/libm-test.inc (struct test_if_f_data): New type.
22906 (RUN_TEST_LOOP_if_f): New macro.
22907 (jn_test_data): New variable.
22908 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22909 (yn_test_data): New variable.
22910 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22912 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22914 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22916 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22917 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22919 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22921 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22922 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22923 (bench-deps): Add bench-timing.h.
22924 * benchtests-bench-skeleton.c: Include bench-timing.h.
22925 (main): Use TIMING_* macros instead of clock_gettime.
22926 * benchtests/bench-timing.h: New file.
22929 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22930 Renamed from _LIB_VERSION.
22931 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22933 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22935 * math/libm-test.inc (struct test_fff_f_data): New type.
22936 (RUN_TEST_LOOP_fff_f): New macro.
22937 (fma_test_data): New variable.
22938 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22939 (fma_towardzero_test_data): New variable.
22940 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22941 (fma_downward_test_data): New variable.
22942 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22943 (fma_upward_test_data): New variable.
22944 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22946 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22947 (struct test_c_c_data): New type.
22948 (RUN_TEST_LOOP_c_c): New macro.
22949 (cacos_test_data): New variable.
22950 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22951 (cacosh_test_data): New variable.
22952 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22953 (casin_test_data): New variable.
22954 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22955 (casinh_test_data): New variable.
22956 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22957 (catan_test_data): New variable.
22958 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22959 (catanh_test_data): New variable.
22960 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22961 (ccos_test_data): New variable.
22962 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22963 (ccosh_test_data): New variable.
22964 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22965 (cexp_test_data): New variable.
22966 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22967 (clog_test_data): New variable.
22968 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22969 (clog10_test_data): New variable.
22970 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22971 (conj_test_data): New variable.
22972 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22973 (cproj_test_data): New variable.
22974 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22975 (csin_test_data): New variable.
22976 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22977 (csinh_test_data): New variable.
22978 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22979 (csqrt_test_data): New variable.
22980 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22981 (ctan_test_data): New variable.
22982 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22983 (ctan_tonearest_test_data): New variable.
22984 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22985 (ctan_towardzero_test_data): New variable.
22986 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22987 (ctan_downward_test_data): New variable.
22988 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22989 (ctan_upward_test_data): New variable.
22990 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22991 (ctanh_test_data): New variable.
22992 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22993 (ctanh_tonearest_test_data): New variable.
22994 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22995 (ctanh_towardzero_test_data): New variable.
22996 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22997 (ctanh_downward_test_data): New variable.
22998 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22999 (ctanh_upward_test_data): New variable.
23000 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23001 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23004 * math/libm-test.inc (struct test_ff_f_data): New type.
23005 (struct test_ff_f_data_nexttoward): Likewise.
23006 (RUN_TEST_LOOP_2_f): New macro.
23007 (RUN_TEST_LOOP_ff_f): Likewise.
23008 (atan2_test_data): New variable.
23009 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23010 (copysign_test_data): New variable.
23011 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23012 (fdim_test_data): New variable.
23013 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23014 (fmax_test_data): New variable.
23015 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23016 (fmin_test_data): New variable.
23017 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23018 (fmod_test_data): New variable.
23019 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23020 (hypot_test_data): New variable.
23021 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23022 (nextafter_test_data): New variable.
23023 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23024 (nexttoward_test_data): New variable.
23025 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23026 (pow_test_data): New variable.
23027 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23028 (pow_tonearest_test_data): New variable.
23029 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23030 (pow_towardzero_test_data): New variable.
23031 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23032 (pow_downward_test_data): New variable.
23033 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23034 (pow_upward_test_data): New variable.
23035 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23036 (remainder_test_data): New variable.
23037 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23038 (scalb_test_data): New variable.
23039 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23040 * sysdeps/i386/fpu/libm-test-ulps: Update.
23042 2013-05-11 Joseph Myers <joseph@codesourcery.com>
23044 * math/libm-test.inc (fma_test): Use max_value instead of local
23046 (nextafter_test): Likewise.
23048 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23049 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23050 (acos_downward_test_data): New variable.
23051 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23052 (acos_upward_test_data): New variable.
23053 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23054 (acosh_test_data): New variable.
23055 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23056 (asin_test_data): New variable.
23057 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23058 (asin_tonearest_test_data): New variable.
23059 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23060 (asin_towardzero_test_data): New variable.
23061 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23062 (asin_downward_test_data): New variable.
23063 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23064 (asin_upward_test_data): New variable.
23065 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23066 (asinh_test_data): New variable.
23067 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23068 (atan_test_data): New variable.
23069 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23070 (atanh_test_data): New variable.
23071 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23072 (cbrt_test_data): New variable.
23073 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23074 (ceil_test_data): New variable.
23075 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23076 (cos_test_data): New variable.
23077 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23078 (cos_tonearest_test_data): New variable.
23079 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23080 (cos_towardzero_test_data): New variable.
23081 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23082 (cos_downward_test_data): New variable.
23083 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23084 (cos_upward_test_data): New variable.
23085 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23086 (cosh_test_data): New variable.
23087 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23088 (cosh_tonearest_test_data): New variable.
23089 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23090 (cosh_towardzero_test_data): New variable.
23091 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23092 (cosh_downward_test_data): New variable.
23093 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23094 (cosh_upward_test_data): New variable.
23095 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23096 (erf_test_data): New variable.
23097 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23098 (erfc_test_data): New variable.
23099 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23100 (exp_test_data): New variable.
23101 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23102 (exp_tonearest_test_data): New variable.
23103 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23104 (exp_towardzero_test_data): New variable.
23105 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23106 (exp_downward_test_data): New variable.
23107 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23108 (exp_upward_test_data): New variable.
23109 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23110 (exp10_test_data): New variable.
23111 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23112 (exp2_test_data): New variable.
23113 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23114 (expm1_test_data): New variable.
23115 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23116 (fabs_test_data): New variable.
23117 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23118 (floor_test_data): New variable.
23119 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23120 (j0_test_data): New variable.
23121 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23122 (j1_test_data): New variable.
23123 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23124 (log_test_data): New variable.
23125 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23126 (log10_test_data): New variable.
23127 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23128 (log1p_test_data): New variable.
23129 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23130 (log2_test_data): New variable.
23131 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23132 (logb_test_data): New variable.
23133 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23134 (logb_downward_test_data): New variable.
23135 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23136 (nearbyint_test_data): New variable.
23137 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23138 (rint_test_data): New variable.
23139 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23140 (rint_tonearest_test_data): New variable.
23141 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23142 (rint_towardzero_test_data): New variable.
23143 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23144 (rint_downward_test_data): New variable.
23145 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23146 (rint_upward_test_data): New variable.
23147 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23148 (round_test_data): New variable.
23149 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23150 (sin_test_data): New variable.
23151 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23152 (sin_tonearest_test_data): New variable.
23153 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23154 (sin_towardzero_test_data): New variable.
23155 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23156 (sin_downward_test_data): New variable.
23157 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23158 (sin_upward_test_data): New variable.
23159 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23160 (sinh_test_data): New variable.
23161 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23162 (sinh_tonearest_test_data): New variable.
23163 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23164 (sinh_towardzero_test_data): New variable.
23165 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23166 (sinh_downward_test_data): New variable.
23167 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23168 (sinh_upward_test_data): New variable.
23169 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23170 (sqrt_test_data): New variable.
23171 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23172 (tan_test_data): New variable.
23173 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23174 (tan_tonearest_test_data): New variable.
23175 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23176 (tan_towardzero_test_data): New variable.
23177 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23178 (tan_downward_test_data): New variable.
23179 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23180 (tan_upward_test_data): New variable.
23181 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23182 (tanh_test_data): New variable.
23183 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23184 (tgamma_test_data): New variable.
23185 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23186 (trunc_test_data): New variable.
23187 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23188 (y0_test_data): New variable.
23189 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23190 (y1_test_data): New variable.
23191 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23192 (significand_test_data): New variable.
23193 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23195 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23198 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23200 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23202 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23204 2013-05-10 Andreas Jaeger <aj@suse.de>
23207 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23208 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23210 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23212 * math/gen-libm-test.pl (adjust_arg): New function.
23213 (special_functions): Handle generating output in both functions
23215 (parse_args): Likewise.
23216 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23217 $in_func argument to parse_args.
23218 * math/libm-test.inc (struct test_f_f_data): New type.
23219 (IF_ROUND_INIT_): New macro.
23220 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23221 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23222 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23223 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23224 (ROUND_RESTORE_): Likewise.
23225 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23226 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23227 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23228 (ROUND_RESTORE_FE_UPWARD): Likewise.
23229 (RUN_TEST_LOOP_f_f): New macro.
23230 (acos_test_data): New variable.
23231 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23232 (acos_tonearest_test_data): New variable.
23233 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23235 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23237 * benchtests/bench-skeleton.c (startup): Fix coding style.
23239 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23242 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23243 negative infinity argument.
23244 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23245 negative infinity argument.
23246 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23247 negative infinity argument.
23248 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23251 2013-05-10 Florian Weimer <fweimer@redhat.com>
23253 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23254 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23255 * iconv/iconv_prog.c (main): Likewise.
23256 * locale/programs/charmap-dir.c (charmap_readdir)
23257 (fopen_uncompressed): Likewise.
23258 * locale/programs/locfile.c (siblings_uncached)
23259 (write_locale_data): Use lstat64 instead of lstat.
23260 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23263 2013-05-10 Andreas Jaeger <aj@suse.de>
23266 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23268 Include <locale.h>.
23270 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23272 * elf/dl-close.c (_dl_close_worker): Add comments.
23274 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23277 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23279 (__ieee754_rem_pio2l): Update comments.
23282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23284 (__ieee754_rem_pio2l): Update comments.
23286 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23287 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23289 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23292 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23293 (M_PI_34_LOG10El): Likewise.
23294 (M_PI2_LOG10El): Likewise.
23295 (M_PI4_LOG10El): Likewise.
23296 (M_PI_LOG10El): Likewise.
23298 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23302 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23304 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23305 (MINUS_ZERO_INIT): Likewise.
23306 (PLUS_INFTY_INIT): Likewise.
23307 (MINUS_INFTY_INIT): Likewise.
23308 (QNAN_VALUE_INIT): Likewise.
23309 (MAX_VALUE_INIT): Likewise.
23310 (MIN_VALUE_INIT): Likewise.
23311 (MIN_SUBNORM_VALUE_INIT): Likewise.
23312 (plus_zero): Initialize with PLUS_ZERO_INIT.
23313 (minus_zero): Initialize with MINUS_ZERO_INIT.
23314 (plus_infty): Initialize with PLUS_INFTY_INIT.
23315 (minus_infty): Initialize with MINUS_INFTY_INIT.
23316 (qnan_value): Initialize with QNAN_VALUE_INIT.
23317 (max_value): Initialize with MAX_VALUE_INIT.
23318 (min_value): Initialize with MIN_VALUE_INIT.
23319 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23321 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23322 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23323 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23324 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23326 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23327 (RUN_TEST_2_f): Likewise.
23328 (RUN_TEST_ff_f): Likewise.
23329 (RUN_TEST_fi_f): Likewise.
23330 (RUN_TEST_fl_f): Likewise.
23331 (RUN_TEST_fff_f): Likewise.
23332 (RUN_TEST_c_f): Likewise.
23333 (RUN_TEST_f_f1): Likewise.
23334 (RUN_TEST_fF_f1): Likewise.
23335 (RUN_TEST_fI_f1): Likewise.
23336 (RUN_TEST_ffI_f1): Likewise.
23337 (RUN_TEST_c_c): Likewise.
23338 (RUN_TEST_cc_c): Likewise.
23339 (RUN_TEST_f_i): Likewise.
23340 (RUN_TEST_f_i_tg): Likewise.
23341 (RUN_TEST_ff_i_tg): Likewise.
23342 (RUN_TEST_f_b): Likewise.
23343 (RUN_TEST_f_b_tg): Likewise.
23344 (RUN_TEST_f_l): Likewise.
23345 (RUN_TEST_f_L): Likewise.
23346 (RUN_TEST_sincos): Likewise.
23347 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23348 whether to show exceptions. Do not include ");\n" in return
23350 (special_functions): Output call to RUN_TEST_sincos instead of
23351 check_float calls. Update calls to new_test.
23352 (parse_args): Output call to single RUN_TEST_* macro instead of
23353 check_* calls and other assignments. Update calls to new_test.
23359 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23360 input to result for tgamma overflow.
23361 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23362 (gamma_coeff): New variable.
23363 (NCOEFF): New macro.
23364 (gamma_positive): New function.
23365 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23366 underflow here. Use gamma_positive instead of exp (lgamma) for
23368 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23369 (gamma_coeff): New variable.
23370 (NCOEFF): New macro.
23371 (gammaf_positive): New function.
23372 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23373 underflow here. Use gamma_positive instead of exp (lgamma) for
23375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23376 (gamma_coeff): New variable.
23377 (NCOEFF): New macro.
23378 (gammal_positive): New function.
23379 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23380 underflow here. Use gamma_positive instead of exp (lgamma) for
23382 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23383 (gamma_coeff): New variable.
23384 (NCOEFF): New macro.
23385 (gammal_positive): New function.
23386 (__ieee754_gammal_r): Handle positive infinity, overflow and
23387 underflow here. Handle NaN the same as positive infinity. Remove
23388 check x < 0xffffffff for negative integers. Use gamma_positive
23389 instead of exp (lgamma) for other arguments.
23390 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23391 (gamma_coeff): New variable.
23392 (NCOEFF): New macro.
23393 (gammal_positive): New function.
23394 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23395 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23396 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23397 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23398 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23399 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23400 * sysdeps/generic/math_private.h (__gamma_productf): New
23402 (__gamma_product): Likewise.
23403 (__gamma_productl): Likewise.
23404 * math/Makefile (libm-calls): Add gamma_product.
23405 * math/libm-test.inc (tgamma_test): Add more tests.
23406 * sysdeps/i386/fpu/libm-test-ulps: Update.
23407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23409 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23411 * benchtests/bench-skeleton.c (main): Preheat CPU.
23413 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23415 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23417 2013-05-07 Roland McGrath <roland@hack.frob.com>
23419 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23420 and _dl_skip_args_internal.
23422 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23424 * manual/message.texi (Message Translation): Talk about users.
23425 Message to key mapping impacts design.
23427 2013-05-06 Roland McGrath <roland@hack.frob.com>
23429 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23431 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23433 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23434 * sysdeps/wordsize-64/glob64.c: ... here.
23436 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23437 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23440 * debug/getlogin_r_chk.c: Moved to ...
23441 * login/getlogin_r_chk.c: ... here.
23442 * debug/Makefile (routines): Move getlogin_r_chk to ...
23443 * login/Makefile (routines): ... here.
23444 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23445 * login/Versions (libc: GLIBC_2.4): ... here.
23447 * io/poll.c (__poll): Renamed from poll.
23448 Add libc_hidden_def.
23449 (poll): Define as weak alias.
23451 * debug/ptsname_r_chk.c: Moved to ...
23452 * login/ptsname_r_chk.c: ... here.
23453 * debug/Makefile (routines): Move ptsname_r_chk to ...
23454 * login/Makefile (routines): ... here.
23455 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23456 * login/Versions (libc: GLIBC_2.4): ... here.
23458 * posix/getlogin.c: Moved to ...
23459 * login/getlogin.c: ... here.
23460 * posix/getlogin_r.c: Moved to ...
23461 * login/getlogin_r.c: ... here.
23462 * posix/getlogin_r.c: Moved to ...
23463 * login/getlogin_r.c: ... here.
23464 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23465 * login/Makefile (routines): ... here.
23466 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23467 * login/Versions (libc: GLIBC_2.0): ... here.
23469 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23470 (setrlimit): Define as weak alias.
23472 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23473 Call __ names for open, ftruncate, and close.
23474 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23475 (truncate): Define as weak alias.
23477 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23479 * math/gen-libm-test.pl (parse_args): Initialize x before each
23480 test of frexp, modf and remquo.
23482 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23483 test signgam value.
23485 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23489 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23491 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23493 2013-05-06 Roland McGrath <roland@hack.frob.com>
23495 * elf/dl-writev.h: New file.
23496 * elf/dl-misc.c: Include it.
23497 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23498 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23500 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23502 * math/libm-test.inc (noXFails): Remove variable.
23503 (noXPasses): Likewise.
23504 (BUILD_COMPLEX_INT): Remove macro.
23505 (print_screen): Remove xfail argument.
23506 (print_screen_max_error): Likewise.
23507 (update_stats): Likewise.
23508 (print_max_error): Likewise. Update calls to other affected
23510 (print_complex_max_error): Likewise.
23511 (test_single_exception): Update calls to print_screen.
23512 (test_single_errno): Likewise.
23513 (check_float_internal): Remove xfail argument. Update calls to
23514 other affected functions.
23515 (check_float): Likewise.
23516 (check_complex): Likewise.
23517 (check_int): Likewise.
23518 (check_long): Likewise.
23519 (check_bool): Likewise.
23520 (check_longlong): Likewise.
23521 (main): Don't print noXFails and noXPasses.
23522 * math/gen-libm-test.pl (top level): Don't mention expected
23523 failure handling in comment.
23524 (new_test): Don't handle expected failures.
23525 (parse_args): Don't mention expected failure handling in comment.
23526 (generate_testfile): Don't handle expected failures.
23527 (parse_ulps): Likewise.
23528 (print_ulps_file): Likewise.
23529 (get_failure): Remove function.
23530 (output_test): Don't handle expected failures.
23531 * make/README.libm-test: Don't mention expected failure handling.
23533 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23534 (minus_zero): Likewise.
23535 (plus_infty): Likewise.
23536 (minus_infty): Likewise.
23537 (qnan_value): Likewise.
23538 (max_value): Likewise.
23539 (min_value): Likewise.
23540 (min_subnorm_value): Likewise.
23541 (initialize): Do not initialize those variables dynamically.
23543 2013-05-03 Roland McGrath <roland@hack.frob.com>
23545 * io/open.c (__open_2): Moved to ...
23546 * io/open_2.c: ... this new file.
23547 * io/open64.c (__open64_2): Moved to ...
23548 * io/open64_2.c: ... this new file.
23549 * io/openat.c (__openat_2): Moved to ...
23550 * io/openat_2.c: ... this new file.
23551 * io/openat64.c (__openat64_2): Moved to ...
23552 * io/openat64_2.c: ... this new file.
23553 * io/Makefile (routines): Add them.
23554 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23555 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23556 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23557 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23558 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23559 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23560 (__openat64): Add hidden_ver.
23561 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23562 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23564 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23565 Separately conditionalize setting of GLRO(dl_sysinfo) so
23566 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23567 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23569 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23571 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23572 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23574 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23575 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23576 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23577 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23578 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23580 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23582 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23583 test signgam value.
23585 * math/libm-test.inc (hypot_test): Do not use
23586 IGNORE_ZERO_INF_SIGN.
23588 2013-05-03 Andreas Jaeger <aj@suse.de>
23590 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23592 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23593 (PF_MAX): Adjust for VSOCK change.
23595 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23599 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23602 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23603 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23604 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23606 2013-05-02 David S. Miller <davem@davemloft.net>
23608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23610 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23612 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23614 2013-05-01 Roland McGrath <roland@hack.frob.com>
23616 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23618 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23621 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23622 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23623 Use __attribute__ ((__gnu_inline__)).
23624 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23625 Don't use __attribute__ ((__gnu_inline__)).
23627 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23630 * math/s_catan.c (__catan): Handle small real or imaginary part of
23631 input specially to avoid spurious underflow.
23632 * math/s_catanf.c (__catanf): Likewise.
23633 * math/s_catanh.c (__catanh): Likewise.
23634 * math/s_catanhf.c (__catanhf): Likewise.
23635 * math/s_catanhl.c (__catanhl): Likewise.
23636 * math/s_catanl.c (__catanl): Likewise.
23637 * math/libm-test.inc (catan_test): Add more tests.
23638 (catanh_test): Likewise.
23639 * sysdeps/i386/fpu/libm-test-ulps: Update.
23640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23642 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23646 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23649 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23650 accurately for denominator in atan2.
23651 * math/s_catanf.c (__catanf): Likewise.
23652 * math/s_catanh.c (__catanh): Likewise.
23653 * math/s_catanhf.c (__catanhf): Likewise.
23654 * math/s_catanhl.c (__catanhl): Likewise.
23655 * math/s_catanl.c (__catanl): Likewise.
23656 * math/libm-test.inc (catan_test): Add more tests.
23657 (catanh_test): Likewise.
23658 * sysdeps/i386/fpu/libm-test-ulps: Update.
23659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23661 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23663 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23665 * benchtests/Makefile (bench): Remove slow benchmarks.
23666 * benchtests/atan-inputs: Add slow benchmark inputs.
23667 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23668 (BENCH_FUNC): Accept variant offset.
23670 * benchtests/bench-skeleton.c (main): Run benchmark for each
23672 * benchtests/cos-inputs: Add slow benchmark inputs.
23673 * benchtests/exp-inputs: Likewise.
23674 * benchtests/pow-inputs: Likewise.
23675 * benchtests/sin-inputs: Likewise.
23676 * benchtests/slowatan-inputs: Remove.
23677 * benchtests/slowatan.c: Remove.
23678 * benchtests/slowcos-inputs: Remove.
23679 * benchtests/slowcos.c: Remove.
23680 * benchtests/slowexp-inputs: Remove.
23681 * benchtests/slowexp.c: Remove.
23682 * benchtests/slowpow-inputs: Remove.
23683 * benchtests/slowpow.c: Remove.
23684 * benchtests/slowsin-inputs: Remove.
23685 * benchtests/slowsin.c: Remove.
23686 * benchtests/slowtan-inputs: Remove.
23687 * benchtests/slowtan.c: Remove.
23688 * benchtests/tan-inputs: Add slow benchmark inputs.
23689 * scripts/bench.pl: Parse comments and directives.
23691 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23693 ($(objpfx)bench-%.c): Remove *-ITER.
23694 * benchtests/bench-modf.c: Remove definition of ITER.
23695 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23696 (main): Loop for DURATION seconds instead of fixed number of
23698 * scripts/bench.pl: Don't expect iterations in parameters.
23700 2013-04-29 Roland McGrath <roland@hack.frob.com>
23702 * io/fchdir.c (__fchdir): Renamed from fchdir.
23703 (fchdir): Define as weak alias.
23705 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23707 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23708 (ERRNO_EDOM): Likewise.
23709 (ERRNO_ERANGE): Likewise.
23710 (noErrnoTests): New variable.
23711 (init_max_error): Set errno to 0.
23712 (test_single_errno): New function.
23713 (test_errno): Likewise.
23714 (check_float_internal): Call test_errno. Set errno to 0.
23715 (check_complex): Refer to errno tests in comment.
23716 (check_int): Call test_errno. Set errno to 0.
23717 (check_long): Likewise.
23718 (check_bool): Likewise.
23719 (check_longlong): Likewise.
23720 (cos_test): Use ERRNO_* flags for errno tests instead of
23722 (expm1_test): Likewise.
23723 (fmod_test): Likewise.
23724 (ilogb_test): Likewise.
23725 (lgamma_test): Likewise.
23726 (pow_test): Likewise.
23727 (remainder_test): Likewise.
23728 (sin_test): Likewise.
23729 (tan_test): Likewise.
23730 (yn_test): Likewise.
23731 (initialize): Set errno to 0.
23732 (main): Print number of errno tests.
23733 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23735 2013-04-29 Andreas Jaeger <aj@suse.de>
23738 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23742 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23743 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23747 * stdlib/random.c (__initstate): Return NULL if
23751 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23752 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23755 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23759 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23761 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23762 of individual tests.
23763 (casin_test): Likewise.
23764 (casinh_test): Likewise.
23766 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23769 * math/s_catan.c (__catan): Handle arguments with large real or
23770 imaginary part separately without squaring.
23771 * math/s_catanf.c (__catanf): Likewise.
23772 * math/s_catanh.c (__catanh): Likewise.
23773 * math/s_catanhf.c (__catanhf): Likewise.
23774 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23776 (__catanhl): Handle arguments with large real or imaginary part
23777 separately without squaring.
23778 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23780 (__catanl): Handle arguments with large real or imaginary part
23781 separately without squaring.
23782 * math/libm-test.inc (catan_test): Add more tests.
23783 (catanh_test): Likewise.
23784 * sysdeps/i386/fpu/libm-test-ulps: Update.
23785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23787 2013-04-27 Andreas Jaeger <aj@suse.de>
23790 * stdlib/stdlib.h: Update guards for qecvt.
23791 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23794 2013-04-27 Allan McRae <allan@archlinux.org>
23796 * sysdeps/i386/fpu/libm-test-ulps: Update.
23798 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23801 * math/s_catan.c: Include <float.h>.
23802 (__catan): Ensure underflow exception occurs for underflowed
23804 * math/s_catanf.c: Include <float.h>.
23805 (__catanf): Ensure underflow exception occurs for underflowed
23807 * math/s_catanh.c: Include <float.h>.
23808 (__catanh): Ensure underflow exception occurs for underflowed
23810 * math/s_catanhf.c: Include <float.h>.
23811 (__catanhf): Ensure underflow exception occurs for underflowed
23813 * math/s_catanhl.c: Include <float.h>.
23814 (__catanhl): Ensure underflow exception occurs for underflowed
23816 * math/s_catanl.c: Include <float.h>.
23817 (__catanl): Ensure underflow exception occurs for underflowed
23819 * math/libm-test.inc (catan_test): Add more tests.
23820 (catanh_test): Likewise.
23823 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23824 underflowed result.
23825 * math/s_ccoshf.c (__ccoshf): Likewise.
23826 * math/s_ccoshl.c (__ccoshl): Likewise.
23827 * math/s_csin.c (__csin): Likewise.
23828 * math/s_csinf.c (__csinf): Likewise.
23829 * math/s_csinh.c (__csinh): Likewise.
23830 * math/s_csinhf.c (__csinhf): Likewise.
23831 * math/s_csinhl.c (__csinhl): Likewise.
23832 * math/s_csinl.c (__csinl): Likewise.
23833 * math/libm-test.inc (ccos_test): Add more tests.
23834 (ccosh_test): Likewise.
23835 (csin_test): Likewise.
23836 (csinh_test): Likewise.
23838 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23840 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23841 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23842 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23843 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23844 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23845 powerpc/power5+/fpu folders.
23846 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23849 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23853 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23855 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23856 additions to variable.
23857 [$(config-machine) = x86_64] (modules-names): Likewise.
23858 ($(objpfx)tst-audit3): Remove dependency.
23859 ($(objpfx)tst-audit3.out): Likewise.
23860 ($(objpfx)tst-audit4): Likewise.
23861 ($(objpfx)tst-audit4.out): Likewise.
23862 ($(objpfx)tst-audit5): Likewise.
23863 ($(objpfx)tst-audit5.out): Likewise.
23864 ($(objpfx)tst-audit6): Likewise.
23865 ($(objpfx)tst-audit6.out): Likewise.
23866 ($(objpfx)tst-audit7): Likewise.
23867 ($(objpfx)tst-audit7.out): Likewise.
23868 (tst-audit3-ENV): Remove variable.
23869 (tst-audit4-ENV): Likewise.
23870 (tst-audit5-ENV): Likewise.
23871 (tst-audit6-ENV): Likewise.
23872 (tst-audit7-ENV): Likewise.
23873 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23874 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23875 addition to variable.
23876 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23877 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23878 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23879 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23880 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23881 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23882 tst-audit3, tst-audit4 and tst-audit5.
23883 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23884 tst-audit6 and tst-audit7.
23885 [$(subdir) = elf] (modules-names): Add audit modules for those
23887 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23888 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23889 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23890 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23891 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23892 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23893 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23894 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23895 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23896 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23897 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23898 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23899 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23900 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23901 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23902 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23904 [$(subdir) = elf && $(config-cflags-avx) = yes]
23905 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23906 [$(subdir) = elf && $(config-cflags-avx) = yes]
23907 (CFLAGS-tst-auditmod4a.c): Likewise.
23908 [$(subdir) = elf && $(config-cflags-avx) = yes]
23909 (CFLAGS-tst-auditmod4b.c): Likewise.
23910 [$(subdir) = elf && $(config-cflags-avx) = yes]
23911 (CFLAGS-tst-auditmod6b.c): Likewise.
23912 [$(subdir) = elf && $(config-cflags-avx) = yes]
23913 (CFLAGS-tst-auditmod6c.c): Likewise.
23914 [$(subdir) = elf && $(config-cflags-avx) = yes]
23915 (CFLAGS-tst-auditmod7b.c): Likewise.
23916 * elf/tst-audit3.c: Move to ...
23917 * sysdeps/x86_64/tst-audit3.c: ... here.
23918 * elf/tst-audit4.c: Move to ...
23919 * sysdeps/x86_64/tst-audit4.c: ... here.
23920 * elf/tst-audit5.c: Move to ...
23921 * sysdeps/x86_64/tst-audit5.c: ... here.
23922 * elf/tst-audit6.c: Move to ...
23923 * sysdeps/x86_64/tst-audit6.c: ... here.
23924 * elf/tst-audit7.c: Move to ...
23925 * sysdeps/x86_64/tst-audit7.c: ... here.
23926 * elf/tst-auditmod3a.c: Move to ...
23927 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23928 * elf/tst-auditmod3b.c: Move to ...
23929 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23930 * elf/tst-auditmod4a.c: Move to ...
23931 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23932 * elf/tst-auditmod4b.c: Move to ...
23933 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23934 * elf/tst-auditmod5a.c: Move to ...
23935 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23936 * elf/tst-auditmod5b.c: Move to ...
23937 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23938 * elf/tst-auditmod6a.c: Move to ...
23939 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23940 * elf/tst-auditmod6b.c: Move to ...
23941 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23942 * elf/tst-auditmod6c.c: Move to ...
23943 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23944 * elf/tst-auditmod7a.c: Move to ...
23945 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23946 * elf/tst-auditmod7b.c: Move to ...
23947 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23949 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23952 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23953 define unconditionally.
23954 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23955 define unconditionally.
23956 (INT8_C, INT16_C, etc.): Likewise.
23958 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23960 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23961 __ehdr_start with hidden visibility.
23963 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23965 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23967 * math/libm-test.inc (cos_test): Use accurate hex constants.
23968 (sincost_test): Likewise.
23970 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23972 * math/libm-test.inc (catan_test): Add more tests.
23973 (catanh_test): Likewise.
23975 * math/s_catanf.c (__catanf): Use suffixed floating-point
23977 * math/s_catanhf.c (__catanhf): Likewise.
23978 * math/s_catanhl.c (__catanhl): Likewise.
23979 * math/s_catanl.c (__catanl): Likewise.
23982 * math/s_catan.c (__catan): Calculate imaginary part of result
23983 with log1p not log unless computing log of number close to 0.
23984 * math/s_catanf.c (__catanf): Likewise.
23985 * math/s_catanl.c (__catanl): Likewise.
23986 * math/s_catanh.c (__catanh): Calculate real part of result with
23987 log1p not log unless computing log of number close to 0.
23988 * math/s_catanhf.c (__catanhf): Likewise.
23989 * math/s_catanhl.c (__catanhl): Likewise.
23990 * math/libm-test.inc (catan_test): Add more tests.
23991 (catanh_test): Likewise.
23992 * sysdeps/i386/fpu/libm-test-ulps: Update.
23993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23995 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23997 * benchtests/Makefile: Mention files in which fast and slow
23998 paths of math functions are implemented.
24000 2013-04-23 Roland McGrath <roland@hack.frob.com>
24002 * sysdeps/posix/timespec_get.c: New file.
24004 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24006 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24008 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24010 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24011 powerpc/power5/fpu folders.
24012 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24013 * benchtests/Makefile: Add modf testcase.
24014 * benchtests/bench-modf.c: New file: Benchmark test for mo
24016 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24019 * time/Makefile (tests): Add tst-strptime-whitespace.
24020 * time/strptime_l.c (get_number): Use ISSPACE.
24021 (__strptime_internal): Likewise.
24022 * time/tst-strptime-whitespace.c: New test case.
24024 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24026 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24028 (_nss_files_init): Set it here.
24030 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24032 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24033 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24036 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24038 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24040 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24045 2013-04-21 David S. Miller <davem@davemloft.net>
24047 * po/ru.po: Update Russion translation from translation project.
24049 2013-04-17 Adam Conrad <adconrad@0c3.net>
24051 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24054 2013-04-17 Carlos O'Donell <carlos@redhat.com>
24056 * configure.in: Remove i386 configure warning. Remove i386 case.
24057 * configure: Regenerate.
24058 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
24059 Add example to error message.
24060 * sysdeps/i386/configure: Regenerate.
24062 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24064 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24066 * benchtests/cos-inputs: New file.
24067 * benchtests/slowcos-inputs: New file.
24068 * benchtests/slowcos.c: New file.
24069 * benchtests/slowtan-inputs: New file.
24070 * benchtests/slowtan.c: New file.
24071 * benchtests/tan-inputs: New file.
24073 2013-04-16 Roland McGrath <roland@hack.frob.com>
24075 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24078 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24080 * benchtests/Makefile: Include cppflags-iterator.mk to add
24081 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24083 * Makefile.in (bench-clean): New target.
24084 * benchtests/Makefile (bench-clean): Likewise.
24086 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24088 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24090 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24092 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24094 2013-04-15 Andreas Schwab <schwab@suse.de>
24096 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24098 * nscd/pwdcache.c (cache_addpw): Likewise.
24099 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24102 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24104 * benchtests/Makefile (bench): Write all output to
24105 bench-out.tmp together.
24107 2013-04-15 Andreas Schwab <schwab@suse.de>
24109 * nscd/nscd.c (main): Don't fork again after closing files.
24111 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24113 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24115 * benchtests/Rules (bench-deps): Collect dependencies into a
24116 single variable. Add Makefile to dependencies.
24117 ($(objpfx)bench-%.c): Depend on bench-deps.
24119 2013-04-12 Roland McGrath <roland@hack.frob.com>
24120 Xavier Roche <roche+kml2@exalead.com>
24123 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24124 just that it's a file descriptor.
24125 * manual/llio.texi (Synchronizing AIO Operations): Update description
24126 for EBADF error from aio_fsync.
24128 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24130 * Rules (bench): Move target definition...
24131 * benchtests/Makefile: ... here.
24133 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24135 * math/libm-test.inc (cos_test): Fix PI/2 test.
24136 (sincos_test): Likewise.
24137 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24138 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24140 2013-04-11 Andreas Schwab <schwab@suse.de>
24143 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24144 accept exponent character only when digits were seen.
24145 * stdio-common/Makefile (tests): Add bug26.
24146 * stdio-common/bug26.c: New file.
24149 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24152 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24154 * Makeconfig (rtld-prefix): Define built linker prefix.
24155 * Rules (run-bench): Use it.
24156 * math/Makefile (run-regen-ulps): Likewise.
24158 * Rules (bench): Remove eval.
24160 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24161 Roland McGrath <roland@hack.frob.com>
24162 Ondrej Bilka <neleai@seznam.cz>
24165 * time/getdate.c: Include ctype.h and alloca.h.
24166 (__getdate_r): Trim leading and trailing spaces of input.
24167 * time/tst-getdate.c (tests): Add tests with leading and
24170 2013-04-08 Roland McGrath <roland@hack.frob.com>
24173 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24174 when computing value.
24176 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24178 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24179 Use testrun.sh to run libm tests.
24182 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24184 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24187 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24189 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24191 * Makefile.in (regen-ulps): New target.
24192 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24193 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24194 [ifneq (no,$(PERL)] (regen-ulps): New target.
24195 [ifeq (no,$(PERL)] (regen-ulps): New target.
24196 * math/libm-test.inc (ulps_file_name): Define.
24197 (output_dir): New variable.
24198 (options): Add "output-dir" option.
24199 (parse_opt): Handle 'o' case.
24200 (main): If output_dir is non-NULL use it as a prefix
24202 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24204 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24206 [BZ #10060, #10062]
24207 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24208 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24209 fail configure if __sync_val_compare_and_swap is not inlined.
24210 * sysdeps/i386/configure: Regenerate.
24211 * configure.in: Build for i686 when configured for i386.
24212 * configure: Regenerate.
24213 * README: Remove i386 reference.
24215 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24217 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24218 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24220 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24222 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24223 (lmsnanval): New variables.
24224 (F): Add conversion tests.
24225 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24226 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24228 * stdio-common/tstdiomisc.c (F): Properly collect individual
24231 [BZ #14686, #15336]
24232 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24233 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24234 Instead, use input NaN values or generate a qNaN by arithmetic
24235 operation. Also fix bugs to comply with the standard.
24236 * math/libm-test.inc (remainder_test): Add more tests.
24238 [BZ #15335, #15342]
24239 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24240 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24241 input NaN values or generate a qNaN by arithmetic operation.
24243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24246 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24249 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24252 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24253 underflowed result.
24254 * math/s_cexpf.c (__cexpf): Likewise.
24255 * math/s_cexpl.c (__cexpl): Likewise.
24256 * math/libm-test.inc (cexp_test): Add more tests.
24258 2013-04-03 Andreas Schwab <schwab@suse.de>
24261 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24262 order arrays from heap if bigger than alloca cutoff.
24264 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24266 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24267 (SNAN_TESTS_double): Refer to GCC PR56831.
24268 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24271 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24273 * Rules (bench): Move bench.out after the run is complete.
24275 * Rules (bench): Echo currently running benchmark.
24277 * benchtests/Makefile (bench): Add atan and slowatan.
24278 * benchtests/atan-inputs: New file.
24279 * benchtests/slowatan-inputs: New file.
24280 * benchtests/slowatan.c: New file.
24282 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24287 * sysdeps/unix/sysv/linux/kernel-features.h
24288 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24289 __ASSUME_XFS_RESTRICTED_CHOWN.
24290 * sysdeps/unix/sysv/linux/pathconf.c
24291 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24292 Save and restore errno.
24294 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24297 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24298 arguments using __kernel_casinh.
24299 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24300 arguments using __kernel_casinhf.
24301 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24302 arguments using __kernel_casinhl.
24303 * math/libm-test.inc (cacosh_test): Add more tests.
24304 * sysdeps/i386/fpu/libm-test-ulps: Update.
24305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24307 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24309 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24312 * bench/Makefile (bench): Add sin and slowsin.
24313 * benchtests/sin-inputs: New file.
24314 * benchtests/slowsin-inputs: New file.
24315 * benchtests/slowsin.c: New file.
24317 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24318 (bench): Add slowexp and slowpow.
24319 (exp-ITER): Increase iterations.
24320 (pow-ITER): Likewise.
24321 * benchtests/exp-inputs: Change input.
24322 * benchtests/pow-inputs: Likewise.
24323 * benchtests/slowexp-inputs: New file.
24324 * benchtests/slowexp.c: New file.
24325 * benchtests/slowpow-inputs: New file.
24326 * benchtests/slowpow.c: New file.
24328 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24330 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24332 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24333 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24334 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24335 * benchtests/Makefile: Add rint benchtest.
24336 * benchtests/rint-inputs: Input for rint benchtest.
24338 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24340 * Versions.def (libm): Add GLIBC_2.18.
24341 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24342 hidden libm prototypes.
24343 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24344 * math/Makefile (libm-calls): Add s_issignaling.
24345 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24346 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24347 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24349 * math/math.h [__USE_GNU] (issignaling): New macro.
24350 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24351 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24352 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24353 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24356 * manual/arith.texi (issignaling): New section.
24357 * manual/libm-err-tab.pl (@all_functions): Update comment.
24358 * math/gen-libm-test.pl (parse_args): Apply special handling for
24360 * math/libm-test.inc (print_float, issignaling_test): New
24362 (check_float_internal): Add issignaling checks.
24363 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24364 default definition.
24365 * sysdeps/powerpc/math-tests.h: New file.
24366 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24368 * math/test-snan.c (TEST_FUNC): Likewise.
24370 2013-03-30 David S. Miller <davem@davemloft.net>
24372 * po/de.po: Update from translation team.
24374 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24378 imaginary part less than 1.0 and real part less than 0.5
24380 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24381 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24382 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24383 (cacos_test): Add more tests.
24384 (casin_test): Likewise.
24385 (casinh_test): Likewise.
24386 * sysdeps/i386/fpu/libm-test-ulps: Update.
24387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24389 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24391 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24392 ONE with its value.
24394 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24395 (__pow_mp): Replace ONE and MONE with their values.
24396 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24397 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24398 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24399 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24400 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24401 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24403 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24405 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24406 (__pow_mp): Replace ZERO and MZERO with their values.
24407 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24409 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24411 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24412 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24415 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24417 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24419 2013-03-28 Roland McGrath <roland@hack.frob.com>
24421 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24422 Declare with __attribute__ ((weak)).
24423 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24424 Call __call_tls_dtors only if it's not NULL.
24426 2013-03-28 Roland McGrath <roland@hack.frob.com>
24428 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24429 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24430 magic __ehdr_start linker symbol if it's defined.
24431 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24432 them up here if it was already done.
24434 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24435 (_dl_aux_init): Use const in cast when setting it.
24436 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24437 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24438 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24440 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24442 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24443 * csu/libc-tls.c: Nor here.
24444 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24446 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24447 (__libc_message): Never call vsyslog.
24449 2013-03-28 Alan Modra <amodra@gmail.com>
24451 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24453 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24456 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24459 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24463 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24466 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24467 Don't add gid passed as argument.
24469 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24471 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24474 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24475 imaginary part between 1.0 and 1.5 and real part less than 0.5
24477 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24478 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24479 * math/libm-test.inc (cacos_test): Add more tests.
24480 (casin_test): Likewise.
24481 (casinh_test): Likewise.
24482 * sysdeps/i386/fpu/libm-test-ulps: Update.
24483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24485 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24487 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24490 (denorm): Likewise.
24491 (__dbl_mp): Likewise.
24492 (add_magnitudes): Likewise.
24493 (sub_magnitudes): Likewise.
24501 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24503 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24504 (__dubcos): Likewise.
24505 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24506 (__ieee754_acos): Likewise.
24507 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24508 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24509 (__exp1): Likewise.
24510 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24513 (my_log2): Likewise.
24514 (checkint): Likewise.
24515 * sysdeps/ieee754/dbl-64/e_remainder.c
24516 (__ieee754_remainder): Likewise.
24517 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24519 (bsloww): Likewise.
24520 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24522 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24523 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24524 MANTISSA_STORE_T to store computations on mantissa. Use
24525 macros for rounding and division.
24526 (denorm): Likewise.
24527 (__dbl_mp): Likewise.
24528 (add_magnitudes): Likewise.
24529 (sub_magnitudes): Likewise.
24532 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24533 powers of two in terms of TWOPOW macro.
24534 (mp_no): Make type of mantissa as MANTISSA_T.
24535 [!RADIXI]: Define RADIXI.
24536 [!TWO52]: Define TWO52.
24537 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24539 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24541 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24542 llroundl symbol when building for PPC32.
24544 2013-03-24 Mark H Weaver <mhw@netris.org>
24546 * manual/arith.texi (Normalization Functions): Fix prototypes for
24547 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24549 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24552 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24553 high value to check if expl overflow.
24554 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24555 to check for underflow and overflow.
24556 * math/libm-test.inc: Add exp test.
24558 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24561 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24564 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24566 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24569 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24571 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24572 wrap blocks consisting of several statements.
24574 * sysdeps/generic/math-tests.h: New file.
24575 * sysdeps/i386/fpu/math-tests.h: Likewise.
24576 * math/test-snan.c: Include it.
24577 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24579 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24582 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24583 (__ieee754_j0l): Do not improve calculations using cos of twice
24584 input for inputs above LDBL_MAX / 2.0L.
24585 (__ieee754_y0l): Likewise.
24586 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24587 (__ieee754_j1l): Do not improve calculations using cos of twice
24588 input for inputs above LDBL_MAX / 2.0L.
24589 (__ieee754_y1l): Likewise.
24590 * math/libm-test.inc (j0_test): Add another test.
24591 (j1_test): Likewise.
24592 (y0_test): Likewise.
24593 (y1_test): Likewise.
24594 * sysdeps/i386/fpu/libm-test-ulps: Update.
24596 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24598 * Rules ($(objpfx)bench-%.c): Include code from a C source
24601 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24604 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24605 imaginary part 1.0 and real part less than 0.5 specially.
24606 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24607 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24608 * math/libm-test.inc (cacos_test): Add more tests.
24609 (casin_test): Likewise.
24610 (casinh_test): Likewise.
24611 * sysdeps/i386/fpu/libm-test-ulps: Update.
24612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24614 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24616 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24617 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24619 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24621 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24622 * config.make.in (config-cflags-sse4): Remove variable.
24623 (config-cflags-avx): Likewise.
24624 (config-cflags-sse2avx): Likewise.
24625 (config-cflags-novzeroupper): Likewise.
24626 (config-asflags-i686): Likewise.
24627 (have-mfma4): Likewise.
24628 (have-as-vis3): Likewise.
24630 * configure.in (MIG): Do not AC_SUBST.
24631 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24632 (libc_cv_cc_sse4): Do not AC_SUBST.
24633 (libc_cv_cc_avx): Likewise.
24634 (libc_cv_cc_sse2avx): Likewise.
24635 (libc_cv_cc_novzeroupper): Likewise.
24636 (libc_cv_cc_fma4): Likewise.
24637 (libc_cv_as_i686): Likewise.
24638 (libc_cv_sparc_as_vis3): Likewise.
24639 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24641 (config-asflags-i686): Likewise.
24642 (config-cflags-avx): Likewise.
24643 (config-cflags-sse2avx): Likewise.
24644 (have-mfma4): Likewise.
24645 (config-cflags-novzeroupper): Likewise.
24646 * sysdeps/mach/configure.in (MIG): Likewise.
24647 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24648 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24650 (config-cflags-avx): Likewise.
24651 (config-cflags-sse2avx): Likewise.
24652 (have-mfma4): Likewise.
24653 (config-cflags-novzeroupper): Likewise.
24654 * configure: Regenerated.
24655 * sysdeps/i386/configure: Likewise.
24656 * sysdeps/mach/configure: Likewise.
24657 * sysdeps/sparc/configure: Likewise.
24658 * sysdeps/x86_64/configure: Likewise.
24660 2013-03-20 Roland McGrath <roland@hack.frob.com>
24663 * locale/programs/localedef.c (options): Put N_ translation marker
24664 on argument names, not just descriptions.
24666 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24668 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24670 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24673 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24675 2013-03-19 Roland McGrath <roland@hack.frob.com>
24677 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24678 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24679 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24680 [!BEFORE_ABORT] (before_abort): New function.
24681 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24682 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24683 (writev_for_fatal): New function.
24684 (WRITEV_FOR_FATAL): New macro; call that.
24685 (backtrace_and_maps): New function.
24686 (BEFORE_ABORT): New macro; call that.
24687 (struct str_list): Type removed.
24688 (__libc_message, __libc_fatal): Functions removed.
24689 Include <sysdeps/posix/libc_fatal.c> instead.
24691 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24693 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24695 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24698 2013-03-19 Andreas Schwab <schwab@suse.de>
24700 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24701 * sysdeps/gnu/configure: Regenerate.
24703 * configure.in: Substitute libc_cv_rtlddir.
24704 * configure: Regenerate.
24705 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24706 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24707 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24708 * elf/Makefile (install-others, CFLAGS-interp.c)
24709 (ldso_install, common-ldd-rewrite): Likewise.
24710 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24711 $(inst_slibdir)/$(rtld-installed-name).
24712 * scripts/rellns-sh: Add -p option.
24713 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24716 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24718 * manual/nptl.texi: Renamed to ...
24719 * manual/threads.texi: ... this.
24720 * manual/Makefile (chapters): Update.
24722 2013-03-18 Roland McGrath <roland@hack.frob.com>
24725 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24726 on argument names, not just descriptions.
24727 * malloc/memusagestat.c (options): Likewise.
24728 * nss/getent.c (options): Likewise.
24730 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24733 * iconv/iconv_prog.c (options): Put N_ translation marker
24734 on argument names, not just descriptions.
24735 * iconv/iconvconfig.c (options): Likewise.
24737 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24739 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24740 implementation which is faster on all x86_64 architectures.
24741 Tested on AMD, Intel Nehalem, SNB, IVB.
24742 * sysdeps/x86_64/strnlen.S: Likewise.
24744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24745 Remove all multiarch strlen and strnlen versions.
24746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24747 Remove strlen and strnlen related parts.
24749 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24750 Inline strlen part.
24751 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24753 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24754 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24755 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24756 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24757 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24758 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24760 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24762 * manual/memory.texi (Malloc Tunable Parameters):
24763 Sort parameters alphabetically. Add comments for missing entries.
24765 2013-03-17 David S. Miller <davem@davemloft.net>
24767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24769 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24772 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24773 for arguments at most half maximum finite value.
24774 * math/libm-test.inc (j0_test): Add more tests.
24775 (j1_test): Likewise.
24776 (y0_test): Likewise.
24777 (y1_test): Likewise.
24778 * sysdeps/i386/fpu/libm-test-ulps: Update.
24779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24782 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24783 1 / x and functions P and Q for arguments above 0x1p256L.
24784 (__ieee754_y0l): Likewise.
24785 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24786 (__ieee754_y1l): Likewise.
24787 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24788 (j1_test): Likewise.
24789 (y0_test): Likewise.
24790 (y1_test): Likewise.
24792 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24794 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24797 2013-03-15 Roland McGrath <roland@hack.frob.com>
24799 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24800 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24801 zero since it's initialized to EXEC_PAGESIZE.
24803 * sysdeps/unix/sysv/linux/ldsodefs.h
24804 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24805 * sysdeps/generic/ldsodefs.h: ... here.
24807 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24809 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24811 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24813 * math/test-snan.c: Renamed from
24814 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24815 * math/Makefile (tests): Add test-snan.
24816 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24819 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24820 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24822 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24823 __builtin_nan family of functions.
24824 * math/libm-test.inc (initialize): Initialize qnan_value with
24825 __builtin_nan family of functions.
24826 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24828 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24830 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24831 storage class. Initialize qNaN_var and sNaN_var with
24832 __builtin_nan and __builtin_nans families of functions,
24835 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24836 (sqrt_test): Remove duplicate test with qNaN input.
24837 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24838 (round_test, signbit_test, significand_test): Note missing +/-Inf
24839 as well as qNaN tests.
24841 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24842 qNaN_var. Fix a few strings, too.
24843 * math/libm-test.inc (nan_value): Rename to qnan_value.
24844 * math/gen-libm-test.pl (%beautify): Adjust to that.
24845 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24846 * math/test-misc.c (main): Likewise.
24847 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24848 to __qnan_bytes, and __qnan_union, respectively.
24849 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24851 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24852 and lqnanval, respectively.
24853 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24854 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24855 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24856 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24858 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24859 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24862 * math/test-misc.c (main): Fix copy'n'pastos.
24863 * misc/tst-efgcvt.c (special): Likewise.
24865 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24866 Remove declarations.
24868 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24870 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24871 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24872 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24873 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24875 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24877 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24878 macro to return vdso values correctly in IFUNC implementations.
24879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24880 Optimization by using IFUNC.
24882 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24883 Richard Henderson <rth@redhat.com>
24884 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24886 * Makefile.in (bench): New target.
24887 * NEWS: Mention the benchmark framework.
24888 * Rules (bench): Likewise.
24889 (binaries-bench): Generate binaries for functions to
24891 * benchtests/Makefile: New makefile for benchmark tests.
24892 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24894 * benchtests/exp-inputs: New input file for EXP function.
24895 * benchtests/pow-inputs: New input file for POW function.
24896 * scripts/bench.pl: New script to generate source files for
24897 benchmark programs.
24899 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24901 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24902 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24903 computations on mantissa. Use macros for rounding and
24905 (denorm): Likewise.
24906 (__dbl_mp): Likewise.
24907 (add_magnitudes): Likewise.
24908 (sub_magnitudes): Likewise.
24911 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24912 powers of two in terms of TWOPOW macro.
24913 (mp_no): Make type of mantissa as MANTISSA_T.
24914 [!RADIXI]: Define RADIXI.
24915 [!TWO52]: Define TWO52.
24916 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24918 * manual/nptl.texi (cindex): Modify threads to pthreads.
24920 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24922 * sysdeps/x86_64/preconfigure: Regenerated.
24924 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24927 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24929 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24930 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24932 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24933 * math/libm-test.inc (j0_test): Do not allow one spurious
24934 underflow exception.
24935 (y1_test): Likewise.
24937 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24939 * manual/Makefile (chapters): Add nptl.
24940 * manual/debug.texi (Debugging Support): Add link to Threads
24942 * manual/nptl.texi: New file.
24944 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24946 2013-03-14 Petr Baudis <pasky@ucw.cz>
24948 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24949 for non-NULL pointer before the memory validity test. Pointed
24950 out by Holger Brunck <holger.brunck@keymile.com>.
24952 2013-03-13 Andreas Schwab <schwab@suse.de>
24954 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24957 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24959 * timezone/zic.c: Update from tzcode 2013b.
24961 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24963 * manual/install.texi (Configuring and compiling):
24964 Mention i686 and i586.
24965 * INSTALL: Regenerate.
24967 2013-03-12 Roland McGrath <roland@hack.frob.com>
24969 * sysdeps/init_array/elf-init.c: New file.
24971 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24972 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24974 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24975 __gmon_start__ as global, but as static with a .preinit_array pointer.
24976 * sysdeps/init_array/gmon-start.c: New file. Use that.
24977 * sysdeps/init_array/crti.S: New file, empty except for comments.
24978 * sysdeps/init_array/crtn.S: Likewise.
24980 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24982 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24985 Remove Prefer_SSE_for_memop.
24986 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24987 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24988 HAS_PREFER_SSE_FOR_MEMOP.
24989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24991 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24992 Remove bzero, memset ifunc support.
24993 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24994 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24995 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24996 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24998 2013-03-11 Andreas Schwab <schwab@suse.de>
25001 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25004 (GLIBC_2.16): Remove pthread_atfork.
25006 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25008 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25009 (ptestcases.h): Likewise.
25011 2013-03-08 Roland McGrath <roland@hack.frob.com>
25013 * Makeconfig ($(common-objpfx)config.status): Depend on
25014 sysdeps/*/preconfigure{,.in} too.
25016 2013-03-08 Joseph Myers <joseph@codesourcery.com>
25018 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25019 (__free_hook): Use void * instead of __malloc_ptr_t.
25020 (__malloc_hook): Likewise.
25021 (__realloc_hook): Likewise.
25022 (__memalign_hook): Likewise.
25023 (__after_morecore_hook): Likewise.
25024 * malloc/arena.c (save_malloc_hook): Likewise.
25025 (save_free_hook): Likewise.
25026 * malloc/hooks.c (malloc_hook_ini): Likewise.
25027 (realloc_hook_ini): Likewise.
25028 (memalign_hook_ini): Likewise.
25029 * malloc/malloc.c (malloc_hook_ini): Likewise.
25030 (realloc_hook_ini): Likewise.
25031 (memalign_hook_ini): Likewise.
25032 (__free_hook): Likewise.
25033 (__malloc_hook): Likewise.
25034 (__realloc_hook): Likewise.
25035 (__memalign_hook): Likewise.
25036 (__libc_malloc): Likewise.
25037 (__libc_free): Likewise.
25038 (__libc_realloc): Likewise.
25039 (__libc_memalign): Likewise.
25040 (__libc_valloc): Likewise.
25041 (__libc_pvalloc): Likewise.
25042 (__libc_calloc): Likewise.
25043 (__posix_memalign): Likewise.
25044 * malloc/morecore.c (__sbrk): Likewise.
25045 (__default_morecore): Likewise.
25047 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25049 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25050 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25051 __malloc_ptrdiff_t.
25053 * malloc/malloc.h (__malloc_size_t): Remove macro.
25054 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25056 (old_memalign_hook): Likewise.
25057 (old_realloc_hook): Likewise.
25058 (struct hdr): Likewise.
25060 (mallochook): Likewise.
25061 (memalignhook): Likewise.
25062 (reallochook): Likewise.
25063 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25064 (tr_old_realloc_hook): Likewise.
25065 (tr_old_memalign_hook): Likewise.
25066 (tr_mallochook): Likewise.
25067 (tr_reallochook): Likewise.
25068 (tr_memalignhook): Likewise.
25070 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25072 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25073 default_ldbl_pack and using as default implementation.
25074 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25076 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25077 redundant definition.
25078 (ldbl_insert_mantissa): Likewise.
25079 (ldbl_canonicalize): Likewise.
25080 (ldbl_nearbyint): Likewise.
25081 (ldbl_pack): Rename to ldbl_pack_ppc.
25082 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25083 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25084 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25086 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25089 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25090 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25091 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25093 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25094 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25095 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25097 2013-03-07 Andreas Jaeger <aj@suse.de>
25099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25102 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25104 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25105 Include mpa.h and declare __MPEXP.
25106 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25107 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25108 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25109 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25110 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25111 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25112 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25114 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25115 (__slowpow): Use long double EXPL and LOGL functions to
25117 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25118 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25119 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25120 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25121 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25122 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25125 intermediate variable to calculate exponent.
25127 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25131 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25132 [!NO__SQR]: Define __sqr.
25133 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25134 and NO__SQR. Remove all code except __mul and __sqr. Include
25135 sysdeps/ieee754/dbl-64/mpa.c.
25136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25139 * posix/Makefile (tests): Add tst-pathconf.
25140 * posix/tst-pathconf.c: New test case.
25141 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25143 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25145 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25147 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25149 2013-03-06 Andreas Jaeger <aj@suse.de>
25151 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25152 definition via __MAP_ANONYMOUS.
25154 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25155 it's not part of Linux headers.
25157 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25158 (MAP_HUGE_MASK): Define.
25160 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25162 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25163 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25165 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25166 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25168 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25171 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25173 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25174 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25175 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25176 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25177 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25178 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25180 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25184 Handle f2fs and efivarfs.
25186 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25189 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25190 (EFIVARFS_MAGIC): Add.
25191 (F2FS_LINK_MAX): Add.
25193 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25195 * stdio-common/vfprintf.c: Replace __builtin_expect with
25198 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25201 * sysdeps/generic/bp-sym.h: Remove file.
25202 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25203 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25204 <bp-sym.h> and <bp-asm.h>.
25205 (__longjmp): Don't use BP_SYM.
25206 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25208 (memcpy): Don't use BP_SYM.
25209 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25210 <bp-sym.h> and <bp-asm.h>.
25211 (memcpy): Don't use BP_SYM.
25212 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25214 (memcpy): Don't use BP_SYM.
25215 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25217 (memset): Don't use BP_SYM.
25218 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25219 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25220 (__bzero): Don't use BP_SYM.
25221 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25222 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25223 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25224 <bp-sym.h> and <bp-asm.h>.
25225 (memcmp): Don't use BP_SYM. Remove comment about bounded
25227 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25228 <bp-sym.h> and <bp-asm.h>.
25229 (memcpy): Don't use BP_SYM.
25230 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25231 <bp-sym.h> and <bp-asm.h>.
25232 (memset): Don't use BP_SYM.
25233 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25234 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25235 (__bzero): Don't use BP_SYM.
25236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25238 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25239 <bp-sym.h> and <bp-asm.h>.
25240 (strncmp): Don't use BP_SYM. Remove comment about bounded
25242 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25243 <bp-sym.h> and <bp-asm.h>.
25244 (memcpy): Don't use BP_SYM.
25245 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25246 <bp-sym.h> and <bp-asm.h>.
25247 (memset): Don't use BP_SYM.
25248 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25249 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25250 (__bzero): Don't use BP_SYM.
25251 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25252 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25254 <bp-sym.h> and <bp-asm.h>.
25255 (__memchr): Don't use BP_SYM.
25256 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25257 <bp-sym.h> and <bp-asm.h>.
25258 (memcmp): Don't use BP_SYM. Remove comment about bounded
25260 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25261 <bp-sym.h> and <bp-asm.h>.
25262 (memcpy): Don't use BP_SYM.
25263 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25264 <bp-sym.h> and <bp-asm.h>.
25265 (__mempcpy): Don't use BP_SYM.
25266 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25267 <bp-sym.h> and <bp-asm.h>.
25268 (__memrchr): Don't use BP_SYM.
25269 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25270 <bp-sym.h> and <bp-asm.h>.
25271 (memset): Don't use BP_SYM.
25272 (__bzero): Likewise.
25273 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25274 <bp-sym.h> and <bp-asm.h>.
25275 (__rawmemchr): Don't use BP_SYM.
25276 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25277 <bp-sym.h> and <bp-asm.h>.
25278 (__STRCMP): Don't use BP_SYM.
25279 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25280 <bp-sym.h> and <bp-asm.h>.
25281 (strchr): Don't use BP_SYM.
25282 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25283 <bp-sym.h> and <bp-asm.h>.
25284 (__strchrnul): Don't use BP_SYM.
25285 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25286 <bp-sym.h> and <bp-asm.h>.
25287 (strlen): Don't use BP_SYM.
25288 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25289 <bp-sym.h> and <bp-asm.h>.
25290 (strncmp): Don't use BP_SYM. Remove comment about bounded
25292 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25293 <bp-sym.h> and <bp-asm.h>.
25294 (__strnlen): Don't use BP_SYM.
25295 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25296 <bp-sym.h> and <bp-asm.h>.
25297 (__GI__setjmp): Don't use BP_SYM.
25298 (_setjmp): Likewise.
25299 (__sigsetjmp): Likewise.
25300 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25301 (L(start_addresses)): Don't use BP_SYM.
25302 (_start): Likewise.
25303 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25305 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25306 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25307 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25308 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25309 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25311 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25312 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25313 about bounded pointers.
25314 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25315 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25316 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25318 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25319 about bounded pointers. Remove GKM FIXME comments.
25320 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25321 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25323 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25324 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25325 Remove GKM FIXME comments.
25326 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25327 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25328 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25330 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25331 about bounded pointers. Remove GKM FIXME comment.
25332 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25334 (strncmp): Don't use BP_SYM. Remove comment about bounded
25336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25337 <bp-sym.h> and <bp-asm.h>.
25338 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25340 <bp-sym.h> and <bp-asm.h>.
25341 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25344 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25346 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25349 2013-03-05 David S. Miller <davem@davemloft.net>
25351 * po/es.po: Update from translation team.
25353 2013-03-05 Andreas Jaeger <aj@suse.de>
25355 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25356 <bits/mman-linux.h>.
25357 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25359 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25360 <bits/mman-linux.h> to end of file.
25361 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25363 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25364 <bits/mman-linux.h> to end of file.
25365 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25368 <bits/mman-linux.h> to end of file.
25370 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25371 (MCL_CURRENT, MCL_FUTURE): Define here.
25373 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25376 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25378 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25380 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25382 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25383 fourth parameter needed for rt_sigprocmask syscall.
25384 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25385 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25386 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25387 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25388 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25389 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25391 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25394 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25395 comment about bounded pointers.
25396 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25397 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25399 2013-03-04 Andreas Jaeger <aj@suse.de>
25401 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25402 common definitions.
25404 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25405 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25406 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25407 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25409 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25411 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25414 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25415 __ieee754_sqrl instead of __sqrl.
25417 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25419 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25420 * sysdeps/powerpc/fpu_control.h: ... here.
25421 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25422 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25423 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25424 * sysdeps/powerpc/bits/mathinline.h: ... here.
25426 2013-03-01 Roland McGrath <roland@hack.frob.com>
25428 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25429 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25430 to just [NEED_DL_SYSINFO_DSO].
25431 * elf/dl-support.c: Likewise.
25432 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25433 * elf/rtld.c (dl_main): Likewise.
25434 * elf/setup-vdso.h (setup_vdso): Likewise.
25435 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25436 * sysdeps/unix/sysv/linux/dl-sysdep.c
25437 (_dl_discover_osversion): Likewise.
25439 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25441 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25442 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25444 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25446 * NEWS: Mention libm performance improvements and non-x86 PI
25449 * csu/libc-start.c (__pthread_initialize_minimal): Change
25450 function arguments.
25451 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25453 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25456 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25457 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25458 <bp-sym.h> and <bp-asm.h>.
25459 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25460 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25462 (memcpy): Don't use BP_SYM.
25463 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25465 (__mpn_add_n): Don't use BP_SYM.
25466 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25467 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25469 (__mpn_addmul_1): Don't use BP_SYM.
25470 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25471 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25473 (_setjmp): Don't use BP_SYM.
25474 (__novmx_setjmp): Likewise.
25475 (__GI__setjmp): Likewise.
25476 (__vmx_setjmp): Likewise.
25477 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25479 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25480 (__bzero): Don't use BP_SYM.
25481 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25482 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25483 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25484 <bp-sym.h> and <bp-asm.h>.
25485 (memcpy): Don't use BP_SYM.
25486 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25487 <bp-sym.h> and <bp-asm.h>.
25488 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25490 <bp-sym.h> and <bp-asm.h>.
25491 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25492 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25494 (__mpn_lshift): Don't use BP_SYM.
25495 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25496 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25498 (memset): Don't use BP_SYM.
25499 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25500 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25501 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25503 (__mpn_mul_1): Don't use BP_SYM.
25504 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25505 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25506 <bp-sym.h> and <bp-asm.h>.
25507 (memcmp): Don't use BP_SYM.
25508 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25509 <bp-sym.h> and <bp-asm.h>.
25510 (memcpy): Don't use BP_SYM.
25511 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25512 <bp-sym.h> and <bp-asm.h>.
25513 (memset): Don't use BP_SYM.
25514 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25515 <bp-sym.h> and <bp-asm.h>.
25516 (strncmp): Don't use BP_SYM.
25517 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25518 <bp-sym.h> and <bp-asm.h>.
25519 (memcpy): Don't use BP_SYM.
25520 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25521 <bp-sym.h> and <bp-asm.h>.
25522 (memset): Don't use BP_SYM.
25523 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25524 <bp-sym.h> and <bp-asm.h>.
25525 (__memchr): Don't use BP_SYM.
25526 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25527 <bp-sym.h> and <bp-asm.h>.
25528 (memcmp): Don't use BP_SYM.
25529 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25530 <bp-sym.h> and <bp-asm.h>.
25531 (memcpy): Don't use BP_SYM.
25532 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25533 <bp-sym.h> and <bp-asm.h>.
25534 (__mempcpy): Don't use BP_SYM.
25535 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25536 <bp-sym.h> and <bp-asm.h>.
25537 (__memrchr): Don't use BP_SYM.
25538 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25539 <bp-sym.h> and <bp-asm.h>.
25540 (memset): Don't use BP_SYM.
25541 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25542 <bp-sym.h> and <bp-asm.h>.
25543 (__rawmemchr): Don't use BP_SYM.
25544 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25545 <bp-sym.h> and <bp-asm.h>.
25546 (__STRCMP): Don't use BP_SYM.
25547 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25548 <bp-sym.h> and <bp-asm.h>.
25549 (strchr): Don't use BP_SYM.
25550 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25551 <bp-sym.h> and <bp-asm.h>.
25552 (__strchrnul): Don't use BP_SYM.
25553 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25554 <bp-sym.h> and <bp-asm.h>.
25555 (strlen): Don't use BP_SYM.
25556 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25557 <bp-sym.h> and <bp-asm.h>.
25558 (strncmp): Don't use BP_SYM.
25559 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25560 <bp-sym.h> and <bp-asm.h>.
25561 (__strnlen): Don't use BP_SYM.
25562 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25564 (__mpn_rshift): Don't use BP_SYM.
25565 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25566 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25567 <bp-sym.h> and <bp-asm.h>.
25568 (__sigsetjmp): Don't use BP_SYM.
25569 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25570 (L(start_addresses)): Don't use BP_SYM.
25571 (_start): Likewise.
25572 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25574 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25575 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25576 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25577 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25579 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25580 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25581 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25582 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25584 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25586 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25587 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25589 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25591 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25592 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25593 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25595 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25597 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25599 (strncmp): Don't use BP_SYM,
25600 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25602 (__mpn_sub_n): Don't use BP_SYM.
25603 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25604 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25606 (__mpn_submul_1): Don't use BP_SYM.
25607 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25609 <bp-sym.h> and <bp-asm.h>.
25610 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25612 <bp-sym.h> and <bp-asm.h>.
25613 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25616 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25619 Use ZK to minimize writes to Z.
25620 (sub_magnitudes): Simplify code a bit.
25621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25622 Use ZK to minimize writes to Z.
25623 (sub_magnitudes): Simplify code a bit.
25625 2013-02-27 Roland McGrath <roland@hack.frob.com>
25627 * csu/gmon-start.c: Add special exception to license text.
25629 2013-02-27 Richard Henderson <rth@redhat.com>
25631 * scripts/config.guess: Update from config.git.
25632 * scripts/config.sub: Likewise.
25634 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25636 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25638 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25640 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25642 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25644 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25646 2013-02-26 Roland McGrath <roland@hack.frob.com>
25648 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25649 [$(build-shared = yes].
25651 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25653 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25654 (__mul): Reduce iterations for calculating mantissa.
25656 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25658 (__mpranred): Likewise.
25661 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25662 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25664 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25666 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25667 Define __attribute__.
25669 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25671 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25673 * posix/regex_internal.h (__attribute): Remove.
25674 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25675 (re_string_context_at): Likewise.
25676 (bitset_not): Use __attribute__ and mark function as possibly
25678 (bitset_merge): Likewise.
25679 (bitset_mask): Likewise.
25680 (re_string_char_size_at): Likewise.
25681 (re_string_wchar_at): Likewise.
25682 (re_string_elem_size_at): Likewise.
25684 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25686 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25690 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25694 (denorm): Likewise.
25695 (__dbl_mp): Likewise.
25696 (add_magnitudes): Likewise.
25697 (sub_magnitudes): Likewise.
25701 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25704 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25707 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25711 up changes with default code.
25712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25715 2013-02-24 Allan McRae <allan@archlinux.org>
25717 * manual/socket.texi (The Internet Namespace): Order menu items
25718 to match that in the file.
25720 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25721 node listing of the info page menu.
25723 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25726 * sysdeps/i386/bp-asm.h: Remove file.
25727 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25728 (PARMS): Do not use macros from bp-asm.h.
25732 (__mpn_add_n): Do not use BP_SYM
25733 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25735 (PARMS): Do not use macros from bp-asm.h.
25738 (__mpn_addmul_1): Do not use BP_SYM
25739 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25741 (PARMS): Do not use macros from bp-asm.h.
25742 (SIGMSK): Likewise.
25743 (_setjmp): Likewise. Do not use BP_SYM.
25744 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25746 (PARMS): Do not use macros from bp-asm.h.
25747 (SIGMSK): Likewise.
25748 (setjmp): Likewise. Do not use BP_SYM.
25749 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25751 (PARMS): Do not use macros from bp-asm.h.
25752 (__frexp): Do not use BP_SYM.
25754 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25756 (PARMS): Do not use macros from bp-asm.h.
25757 (__frexpf): Do not use BP_SYM.
25758 (frexpf): Likewise.
25759 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25761 (PARMS): Do not use macros from bp-asm.h.
25762 (__frexpl): Do not use BP_SYM.
25763 (frexpl): Likewise.
25764 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25766 (PARMS): Do not use macros from bp-asm.h.
25767 (__remquo): Do not use BP_SYM.
25768 (remquo): Likewise.
25769 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25771 (PARMS): Do not use macros from bp-asm.h.
25772 (__remquof): Do not use BP_SYM.
25773 (remquof): Likewise.
25774 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25776 (PARMS): Do not use macros from bp-asm.h.
25777 (__remquol): Do not use BP_SYM.
25778 (remquol): Likewise.
25779 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25781 (PARMS): Do not use macros from bp-asm.h.
25784 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25785 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25787 (PARMS): Do not use macros from bp-asm.h.
25788 (strlen): Do not use BP_SYM.
25789 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25791 (PARMS): Do not use macros from bp-asm.h.
25795 (__mpn_add_n): Do not use BP_SYM.
25796 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25798 (PARMS): Do not use macros from bp-asm.h.
25801 (__mpn_addmul_1): Do not use BP_SYM.
25802 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25805 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25807 (PARMS): Do not use macros from bp-asm.h.
25810 (__mpn_lshift): Do not use BP_SYM.
25811 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25813 (PARMS): Do not use macros from bp-asm.h.
25817 (memcpy): Likewise. Do not use BP_SYM.
25818 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25819 libc_hidden_def and weak_alias.
25820 (mempcpy): Do not use BP_SYM in weak_alias.
25821 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25823 (PARMS): Do not use macros from bp-asm.h.
25826 [!BZERO_P] (CHR): Likewise.
25827 (memset): Likewise. Do not use BP_SYM.
25828 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25830 (PARMS): Do not use macros from bp-asm.h.
25833 (__mpn_mul_1): Do not use BP_SYM.
25834 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25836 (PARMS): Do not use macros from bp-asm.h.
25839 (__mpn_rshift): Do not use BP_SYM.
25840 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25842 (PARMS): Do not use macros from bp-asm.h.
25845 (strchr): Likewise. Do not use BP_SYM.
25846 (index): Do not use BP_SYM in weak_alias.
25847 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25849 (PARMS): Do not use macros from bp-asm.h.
25852 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25853 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25855 (PARMS): Do not use macros from bp-asm.h.
25856 (strlen): Do not use BP_SYM.
25857 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25859 (PARMS): Do not use macros from bp-asm.h.
25863 (__mpn_sub_n): Do not use BP_SYM.
25864 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25866 (PARMS): Do not use macros from bp-asm.h.
25869 (__mpn_submul_1): Do not use BP_SYM.
25870 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25872 (PARMS): Do not use macros from bp-asm.h.
25876 (__mpn_add_n): Do not use BP_SYM.
25877 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25880 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25882 (PARMS): Do not use macros from bp-asm.h.
25885 (memcmp): Do not use BP_SYM.
25886 (bcmp): Do not use BP_SYM in weak_alias.
25887 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25889 (PARMS): Do not use macros from bp-asm.h.
25893 (memcpy): Likewise. Do not use BP_SYM.
25894 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25896 (PARMS): Do not use macros from bp-asm.h.
25900 (memmove): Likewise. Do not use BP_SYM.
25901 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25903 (PARMS): Do not use macros from bp-asm.h.
25907 (__mempcpy): Likewise. Do not use BP_SYM.
25908 (mempcpy): Do not use BP_SYM in weak_alias.
25909 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25911 (PARMS): Do not use macros from bp-asm.h.
25914 [!BZERO_P] (CHR): Likewise.
25915 (memset): Likewise. Do not use BP_SYM.
25916 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25918 (PARMS): Do not use macros from bp-asm.h.
25920 (strcmp): Do not use BP_SYM.
25921 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25923 (PARMS): Do not use macros from bp-asm.h.
25926 [USE_AS_STRTOK_R] (SAVE): Likewise.
25927 (FUNCTION): Likewise. Do not use BP_SYM.
25928 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25930 (strtok_r): Likewise.
25931 (__GI___strtok_r): Likewise.
25932 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25933 (PARMS): Do not use macros from bp-asm.h.
25936 (__mpn_lshift): Do not use BP_SYM.
25937 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25938 (PARMS): Do not use macros from bp-asm.h.
25941 (__memchr): Do not use BP_SYM.
25942 (memchr): Do not use BP_SYM in weak_alias.
25943 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25944 (PARMS): Do not use macros from bp-asm.h.
25947 (memcmp): Do not use BP_SYM.
25948 (bcmp): Do not use BP_SYM in weak_alias.
25949 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25950 (PARMS): Do not use macros from bp-asm.h.
25953 (__mpn_mul_1): Do not use BP_SYM.
25954 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25956 (PARMS): Do not use macros from bp-asm.h.
25959 (__rawmemchr): Do not use BP_SYM.
25960 (rawmemchr): Do not use BP_SYM in weak_alias.
25961 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25962 (PARMS): Do not use macros from bp-asm.h.
25965 (__mpn_rshift): Do not use BP_SYM.
25966 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25967 (PARMS): Do not use macros from bp-asm.h.
25968 (SIGMSK): Likewise.
25969 (__sigsetjmp): Likewise. Do not use BP_SYM.
25970 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25971 (_start): Do not use BP_SYM.
25972 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25973 (PARMS): Do not use macros from bp-asm.h.
25976 (__stpcpy): Likewise. Do not use BP_SYM.
25977 (stpcpy): Do not use BP_SYM in weak_alias.
25978 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25980 (PARMS): Do not use macros from bp-asm.h.
25984 (__stpncpy): Likewise. Do not use BP_SYM.
25985 (stpncpy): Do not use BP_SYM in weak_alias.
25986 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25987 (PARMS): Do not use macros from bp-asm.h.
25990 (strchr): Likewise. Do not use BP_SYM.
25991 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25993 (PARMS): Do not use macros from bp-asm.h.
25996 (__strchrnul): Likewise. Do not use BP_SYM.
25997 (strchrnul): Do not use BP_SYM in weak_alias.
25998 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26000 (PARMS): Do not use macros from bp-asm.h.
26002 (strcspn): Do not use BP_SYM.
26003 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26005 (PARMS): Do not use macros from bp-asm.h.
26008 (strpbrk): Likewise. Do not use BP_SYM.
26009 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26011 (PARMS): Do not use macros from bp-asm.h.
26014 (strrchr): Likewise. Do not use BP_SYM.
26015 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26016 (PARMS): Do not use macros from bp-asm.h.
26018 (strspn): Do not use BP_SYM.
26019 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26020 (PARMS): Do not use macros from bp-asm.h.
26024 (FUNCTION): Likewise. Do not use BP_SYM.
26025 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26027 (strtok_r): Likewise.
26028 (__GI___strtok_r): Likewise.
26029 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26030 (PARMS): Do not use macros from bp-asm.h.
26034 (__mpn_sub_n): Do not use BP_SYM.
26035 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26037 (PARMS): Do not use macros from bp-asm.h.
26040 (__mpn_submul_1): Do not use BP_SYM.
26041 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26043 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26045 (PARMS): Do not use macros from bp-asm.h.
26050 (__clone): Do not use BP_SYM.
26051 (clone): Do not use BP_SYM in weak_alias.
26052 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26054 (PARMS): Do not use macros from bp-asm.h.
26056 (__mmap64): Do not use BP_SYM.
26057 (mmap64): Do not use BP_SYM in weak_alias.
26058 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26059 <bp-sym.h> and <bp-asm.h>.
26060 (PARMS): Do not use macros from bp-asm.h.
26061 (__posix_fadvise64_l64): Do not use BP_SYM.
26062 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26063 (PARMS): Do not use macros from bp-asm.h.
26065 (semtimedop): Do not use BP_SYM.
26066 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26069 2013-02-21 Allan McRae <allan@archlinux.org>
26071 * manual/message.texi (Charset conversion in gettext):
26072 Move @end statement to beginning of line.
26074 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26076 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26081 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26082 (denorm): Likewise.
26083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26086 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26088 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26089 tail-call to the resolved function if pltexit isn't needed.
26091 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26094 or Y being zero as being unlikely.
26095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26098 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26100 * manual/nss.texi (System Databases and Name Service Switch):
26101 Remove frobnicate @pxref.
26103 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26105 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26106 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26108 2013-02-20 Petr Machata <pmachata@redhat.com>
26110 * elf/elf.h (R_ARM_TARGET1): New macro.
26111 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26112 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26113 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26114 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26115 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26116 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26117 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26118 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26119 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26120 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26121 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26122 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26123 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26124 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26125 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26126 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26127 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26128 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26129 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26130 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26131 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26132 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26133 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26134 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26135 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26136 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26137 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26138 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26139 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26140 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26141 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26142 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26143 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26144 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26145 (R_ARM_THM_GOT_BREL12): Likewise.
26146 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26147 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26148 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26149 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26150 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26151 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26152 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26153 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26154 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26156 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26158 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26159 __attribute_used__ to __attribute__ ((unused)).
26161 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26163 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26166 comment formatting.
26167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26169 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26172 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26174 (ENTER): Remove both macro definitions.
26176 (CHECK_BOUNDS_LOW): Likewise.
26177 (CHECK_BOUNDS_HIGH): Likewise.
26178 (CHECK_BOUNDS_BOTH): Likewise.
26179 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26180 (RETURN_BOUNDED_POINTER): Likewise.
26181 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26182 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26183 (POP_ERRNO_LOCATION_RETURN): Likewise.
26184 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26185 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26186 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26188 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26189 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26190 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26191 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26192 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26193 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26194 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26195 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26196 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26197 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26198 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26199 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26200 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26201 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26203 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26204 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26206 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26207 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26208 * sysdeps/i386/i586/memset.S (memset): Likewise.
26209 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26210 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26211 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26213 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26214 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26215 Change uses of L(2) to L(out).
26216 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26217 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26218 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26219 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26220 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26222 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26223 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26225 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26226 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26227 (RETURN): Do not use macro LEAVE.
26228 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26229 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26230 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26231 * sysdeps/i386/i686/memset.S (memset): Likewise.
26232 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26233 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26234 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26235 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26237 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26238 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26239 L(1_2) and L(1_3) into L(1).
26240 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26241 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26242 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26243 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26244 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26245 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26246 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26247 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26248 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26250 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26251 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26252 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26253 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26254 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26255 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26256 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26257 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26258 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26259 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26260 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26261 * sysdeps/i386/strspn.S (strspn): Likewise.
26262 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26264 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26265 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26266 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26267 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26268 L(1_3) into L(1_1).
26269 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26270 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26271 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26273 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26275 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26277 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26280 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26282 * math/atest-exp.c (exp_mpn): Remove ROUND.
26283 * math/atest-exp2.c (exp_mpn): Likewise.
26284 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26286 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26287 * stdlib/tst-tls-atexit-lib.c: Likewise.
26288 * stdlib/tst-tls-atexit.c: Likewise.
26290 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26292 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26293 and __attribute_alloc_size__.
26295 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26297 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26298 __attribute_alloc_size__.
26299 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26300 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26302 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26304 * include/programs/xmalloc.h: New file.
26305 * catgets/gencat.c: Include it.
26306 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26307 * elf/pldd.c: Likewise.
26308 * iconv/iconv_charmap.c: Likewise.
26309 * iconv/iconvconfig.c: Likewise.
26310 * iconv/strtab.c: Likewise.
26311 * locale/programs/locale.c: Likewise.
26312 * locale/programs/localedef.h: Likewise.
26313 * locale/programs/simple-hash.c: Likewise.
26314 * nscd/nscd.h: Likewise.
26315 * nss/makedb.c: Likewise.
26316 * sysdeps/generic/ldconfig.h: Likewise.
26318 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26320 * Versions.def: Add GLIBC_2.18.
26321 * include/link.h (struct link_map): New member l_tls_dtor_count.
26322 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26323 (__call_tls_dtors): Likewise.
26324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26325 __cxa_thread_atexit_impl.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26342 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26343 (tests): Add test case tst-tls-atexit.
26344 (modules-names): Add shared library for tst-tls-atexit.
26345 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26346 (GLIBC_PRIVATE): Add __call_tls_dtors.
26347 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26349 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26350 * stdlib/tst-tls-atexit.c: New test case.
26351 * stdlib/tst-tls-atexit-lib.c: New test case.
26353 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26355 * elf/Versions (ld): Add _dl_find_dso_for_object.
26356 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26357 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26358 (dl_open_worker): Use _dl_find_dso_for_object.
26359 * elf/dl-sym.c (do_sym): Likewise.
26360 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26362 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26364 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26365 Syntactic changes only.
26366 (_dl_runtime_profile): Do a tail-call to the resolved function.
26368 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26371 * sysdeps/x86_64/bp-asm.h: Remove file.
26372 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26373 <bp-sym.h> and <bp-asm.h>.
26374 (__clone): Do not use BP_SYM.
26375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26376 <bp-sym.h> and <bp-asm.h>.
26377 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26378 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26380 (_setjmp): Do not use BP_SYM.
26381 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26383 (setjmp): Do not use BP_SYM.
26384 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26386 (mempcpy): Do not use BP_SYM in weak_alias.
26387 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26389 (strchr): Do not use BP_SYM.
26390 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26392 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26393 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26394 (_start): Do not use BP_SYM.
26395 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26397 (strcat): Do not use BP_SYM.
26398 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26400 (STRCMP): Do not use BP_SYM.
26401 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26403 (STRCPY): Do not use BP_SYM.
26404 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26406 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26408 (FUNCTION): Do not use BP_SYM.
26409 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26411 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26413 2013-02-17 Andreas Jaeger <aj@suse.de>
26415 * time/Versions: Sort entries.
26416 * string/Versions: Likewise.
26417 * resolv/Versions: Likewise.
26418 * posix/Versions: Likewise.
26419 * iconv/Versions: Likewise.
26420 * elf/Versions: Likewise.
26421 * wcsmbs/Versions: Likewise.
26423 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26426 loop termination condition.
26428 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26429 variable to calculate EZ.
26432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26433 the lower precision input.
26435 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26438 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26439 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26440 (run-via-rtld-prefix): Do not handle %-bp tests.
26441 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26442 (all-object-suffixes): Remove .ob.
26443 (bppfx): Remove variable.
26444 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26445 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26446 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26447 [$(build-bounded) = yes] (libtype.ob): Likewise.
26448 * Makerules (elide-routines.ob): Remove variable.
26449 (do-tests-clean): Do not handle *-bp.out.
26450 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26451 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26452 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26453 (tests): Do not include $(tests-bp.out).
26454 (xtests): Do not include $(xtests-bp.out).
26455 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26456 [$(build-bounded) = yes] ($(addprefix
26457 $(objpfx),$(binaries-bounded))): Remove rule.
26458 ($(objpfx)%-bp.out): Remove rule.
26459 * config.make.in (build-bounded): Remove variable.
26460 * crypt/Makefile [$(build-bounded) = yes]
26461 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26462 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26463 append to variable.
26464 [$(build-bounded) = yes] (install-lib): Likewise.
26465 [$(build-bounded) = yes] (generated): Likewise.
26466 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26468 * intl/Makefile [$(build-bounded) = yes]
26469 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26470 * math/Makefile [$(build-bounded) = yes]
26471 ($(tests:%=$(objpfx)%-bp): Likewise.
26472 * misc/Makefile [$(build-bounded) = yes]
26473 ($(objpfx)tst-tsearch-bp): Likewise.
26474 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26475 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26477 * string/Makefile (o-objects.ob): Remove variable.
26478 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26479 (CFLAGS-.ob): Remove variable.
26480 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26481 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26482 both definitions of variable.
26483 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26484 (ASFLAGS-.ob): Remove variable.
26486 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26489 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26490 Remove __BOUNDED_POINTERS__ from condition.
26491 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26492 * string/bits/string2.h [!__NO_STRING_INLINES &&
26493 !__BOUNDED_POINTERS__]: Likewise.
26494 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26496 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26497 Remove conditional code.
26498 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26499 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26500 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26504 * csu/libc-start.c: Do not include <bp-sym.h>.
26505 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26506 * elf/dl-open.c: Do not include <bp-sym.h>.
26507 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26508 * math/fegetenv.c: Do not include <bp-sym.h>.
26509 (fegetenv): Do not use BP_SYM in versioned symbols.
26510 * nptl/sysdeps/pthread/bits/libc-lockP.h
26511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26513 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26514 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26515 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26516 (__pthread_mutex_destroy): Likewise.
26517 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26518 (__pthread_mutex_lock): Likewise.
26519 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26520 (__pthread_mutex_trylock): Likewise.
26521 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26522 (__pthread_mutex_unlock): Likewise.
26523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26524 (__pthread_mutexattr_init): Likewise.
26525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26526 (__pthread_mutexattr_destroy): Likewise.
26527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26528 (__pthread_mutexattr_settype): Likewise.
26529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26530 (__pthread_rwlock_init): Likewise.
26531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26532 (__pthread_rwlock_destroy): Likewise.
26533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26534 (__pthread_rwlock_rdlock): Likewise.
26535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26536 (__pthread_rwlock_tryrdlock): Likewise.
26537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26538 (__pthread_rwlock_wrlock): Likewise.
26539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26540 (__pthread_rwlock_trywrlock): Likewise.
26541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26542 (__pthread_rwlock_unlock): Likewise.
26543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26544 (__pthread_key_create): Likewise.
26545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26546 (__pthread_setspecific): Likewise.
26547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26548 (__pthread_getspecific): Likewise.
26549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26552 (_pthread_cleanup_push_defer): Likewise.
26553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26554 (_pthread_cleanup_pop_restore): Likewise.
26555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26556 (pthread_setcancelstate): Likewise.
26557 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26559 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26560 (memchr): Do not use BP_SYM in weak_alias.
26561 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26562 (fegetenv): Do not use BP_SYM in versioned symbols.
26563 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26564 (fesetenv): Do not use BP_SYM in versioned symbols.
26565 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26566 (feupdateenv): Do not use BP_SYM in versioned symbols.
26567 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26568 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26569 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26570 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26571 (open64): Do not use BP_SYM in weak_alias.
26572 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26573 (fegetenv): Do not use BP_SYM in versioned symbols.
26574 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26575 (fesetenv): Do not use BP_SYM in versioned symbols.
26576 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26577 (feupdateenv): Do not use BP_SYM in versioned symbols.
26578 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26579 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26580 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26581 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26582 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26583 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26584 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26586 (__libc_start_main): Do not use BP_SYM.
26588 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26591 redundant return line.
26593 (denorm): Likewise.
26594 (dbl_mp): Likewise.
26595 (sub_magnitudes): Likewise.
26601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26603 (denorm): Likewise.
26604 (dbl_mp): Likewise.
26605 (sub_magnitudes): Likewise.
26612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26614 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26615 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26618 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26619 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26621 of __mul for squares.
26622 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26626 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26627 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26629 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26632 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26634 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26635 prototype or function definition. Rename ubp_* variables and
26636 parameters. Remove argv definitions conditional on
26637 [__BOUNDED_POINTERS__].
26638 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26639 * elf/dl-runtime.c (_dl_fixup): Likewise.
26640 * include/set-hooks.h (RUN_HOOK): Likewise.
26641 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26643 * string/strcpy.c (strcpy): Do not use __unbounded.
26644 * sysdeps/generic/frame.h (struct layout): Likewise.
26645 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26646 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26647 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26648 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26649 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26650 (__backtrace): Likewise.
26651 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26653 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26654 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26655 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26657 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26658 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26659 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26660 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26661 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26662 Do not use __unbounded.
26663 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26664 Rename __unboundedrlimits parameter to rlimits in prototype.
26665 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26666 Do not use __unbounded.
26667 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26668 not use __ptrvalue.
26669 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26670 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26671 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26672 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26673 __ptrvalue or __unbounded.
26674 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26675 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26677 (__new_msgctl): Do not use __ptrvalue.
26678 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26680 (__libc_msgrcv): Do not use __ptrvalue.
26681 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26682 startup_info): Do not use __unbounded.
26683 (__libc_start_main): Likewise. Rename ubp_* variables and
26684 parameters. Remove argv definitions conditional on
26685 [__BOUNDED_POINTERS__].
26686 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26688 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26690 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26692 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26694 (__new_shmctl): Do not use __ptrvalue.
26695 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26696 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26698 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26699 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26700 (__libc_sigaction): Likewise.
26701 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26702 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26704 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26706 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26708 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26710 * string/mempcpy.c: Implement by calling memcpy.
26712 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26719 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26720 values in the mantissa.
26722 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26723 minimize writes to Z.
26724 (sub_magnitudes): Simplify code a bit.
26726 2013-02-12 Roland McGrath <roland@hack.frob.com>
26728 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26729 from the message. The linker prefixes all warnings with that already.
26731 2013-02-12 Andreas Schwab <schwab@suse.de>
26734 * posix/regexec.c (extend_buffers): Add parameter min_len.
26735 (check_matching): Pass minimum needed length.
26736 (clean_state_log_if_needed): Likewise.
26737 (get_subexp): Likewise.
26738 * posix/Makefile (tests): Add bug-regex34.
26739 (bug-regex34-ENV): Define.
26740 * posix/bug-regex34.c: New file.
26743 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26744 elements compare against the byte sequence of it, not its name.
26745 * posix/Makefile (tests): Add bug-regex35.
26746 (bug-regex35-ENV): Define.
26747 * posix/bug-regex35.c: New file.
26749 2013-02-11 Tom de Vries <tom@codesourcery.com>
26751 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26753 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26754 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26755 (CHECK_EOL): Add undef.
26757 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26759 * bits/stdlib-bsearch.h: New file.
26760 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26761 * stdlib/stdlib.h: Likewise.
26763 2013-02-11 Roland McGrath <roland@hack.frob.com>
26765 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26766 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26768 * manual/search.texi (Array Search Function): Add missing const in
26770 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26771 declaration to use rlim_t.
26772 (Basic Scheduling Functions): Remove erroneous const from
26773 sched_getparam prototype. Remove erroneous * from
26774 sched_get_priority_max and sched_get_priority_min prototypes.
26775 (Resource Usage): Fix summary @comment on vtimes to refer to
26776 sys/vtimes.h rather than vtimes.h.
26777 Add missing *s in vtimes prototype.
26778 (Limits on Resources): Fix ulimit prototype to return long int.
26779 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26780 prototypes to use long int rather than double.
26781 (BSD Random): Fix initstate and setstate to use char *, not void *.
26782 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26783 prototype to make second argument 'struct aiocb64 *const[]'.
26784 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26785 (Status of AIO Operations): Remove erroneous const in aio_return and
26786 aio_return64 prototypes.
26787 (Synchronizing I/O): Fix sync prototype to return void.
26788 * manual/startup.texi (Suboptions): Remove an erroneous const in
26789 getsubopt prototype.
26790 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26791 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26792 use size_t rather than int.
26793 (Scanning All Users): Likewise for getpwent_r.
26794 (Setting Groups): Add missing const to setgroups prototype.
26795 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26796 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26797 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26798 'const void *' rather than 'const char *'.
26799 (Host Address Functions): Likewise for inet_ntop.
26800 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26801 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26802 ssize_t for return value.
26803 (Sending Data): Likewise for send, sendto, sendmsg.
26804 (Socket Option Functions): Add a missing const in setsockopt prototype.
26805 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26806 use wchar_t for the argument.
26807 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26808 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26810 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26811 double/float/long double for second argument.
26812 Fix return types of significand, significandf, significandl.
26813 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26814 argument in fchmod prototype.
26815 (File Owner): Use uid_t and gid_t in fchown prototype.
26816 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26817 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26818 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26819 use 'const struct dirent **' as argument types to CMP function pointer
26821 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26822 (File Times): Fix summary magic @comment for struct utimbuf and utime
26823 to refer to utime.h, not time.h.
26824 * manual/string.texi (Argz Functions): Add missing const in
26825 argz_extract and argz_next prototypes.
26826 (Finding Tokens in a String): Likewise for basename.
26827 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26828 (Copying and Concatenation): Fix typo in wmemmove prototype.
26829 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26830 (Signal Stack): Remove erroneous const in sigstack prototype.
26831 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26833 (Simple Calendar Time): Likewise for stime.
26834 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26836 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26837 say sys/sysctl.h instead.
26838 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26839 and vsyslog prototypes.
26841 2013-02-11 Tom de Vries <tom@codesourcery.com>
26843 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26846 2013-02-11 Roland McGrath <roland@hack.frob.com>
26848 * misc/sys/mman.h: Fix typo in mremap comment.
26850 2013-02-08 Roland McGrath <roland@hack.frob.com>
26852 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26853 the '\0' terminator.
26855 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26858 * debug/segfault.c: Don't include <bp-checks.h>.
26859 * sysdeps/generic/bp-checks.h: Remove file.
26860 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26861 (__GETDENTS): Don't use CHECK_N.
26862 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26863 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26864 (__getgroups): Don't use CHECK_N.
26865 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26866 (setgroups): Don't use CHECK_N.
26867 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26868 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26869 (__libc_msgrcv): Don't use CHECK_N.
26870 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26871 (__libc_msgsnd): Don't use CHECK_N.
26872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26874 (__libc_pread): Don't use CHECK_N.
26875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26876 include <bp-checks.h>.
26877 (__libc_pread64): Don't use CHECK_N.
26878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26879 include <bp-checks.h>.
26880 (__libc_pwrite): Don't use CHECK_N.
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26882 include <bp-checks.h>.
26883 (__libc_pwrite64): Don't use CHECK_N.
26884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26886 (__libc_pread): Don't use CHECK_N.
26887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26888 include <bp-checks.h>.
26889 (__libc_pread64): Don't use CHECK_N.
26890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26891 include <bp-checks.h>.
26892 (__libc_pwrite): Don't use CHECK_N.
26893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26894 include <bp-checks.h>.
26895 (__libc_pwrite64): Don't use CHECK_N.
26896 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26897 (do_pread): Don't use CHECK_N.
26898 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26899 (do_pread64): Don't use CHECK_N.
26900 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26901 (do_pwrite): Don't use CHECK_N.
26902 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26903 (do_pwrite64): Don't use CHECK_N.
26904 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26905 (__libc_readv): Don't use CHECK_N.
26906 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26907 (semop): Don't use CHECK_N.
26908 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26910 (semtimedop): Don't use CHECK_N.
26911 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26912 (__libc_pread): Don't use CHECK_N.
26913 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26915 (__libc_pread64): Don't use CHECK_N.
26916 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26918 (__libc_pwrite): Don't use CHECK_N.
26919 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26921 (__libc_pwrite64): Don't use CHECK_N.
26922 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26924 (__libc_msgrcv): Don't use CHECK_N.
26925 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26926 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26927 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26928 (__libc_writev): Don't use CHECK_N.
26930 2013-02-08 Roland McGrath <roland@hack.frob.com>
26932 * string/strcpy.c: Removed unused variable.
26934 * Makeconfig (+sysdep-includes): Define with := rather than =.
26935 Use an existing include/ subdir of each sysdeps dir before it.
26937 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26939 * nscd/connection.c (register_traced_file): Comment function.
26940 [HAVE_INOTIFY] (union __inev): Define.
26941 [HAVE_INOTIFY] (inotify_check_files): New function.
26942 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26943 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26945 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26947 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26949 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26950 loaded if not already and that a failure is permanent.
26952 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26955 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26956 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26958 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26961 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26962 (CHECK_1_NULL_OK): Likewise.
26963 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26964 (__fxstat): Do not use CHECK_1.
26965 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26967 (___fxstat64): Do not use CHECK_1.
26968 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26970 (__fxstatat): Do not use CHECK_1.
26971 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26973 (__fxstatat64): Do not use CHECK_1.
26974 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26976 (__fxstat): Do not use CHECK_1.
26977 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26979 (__fxstatat): Do not use CHECK_1.
26980 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26982 (__getresgid): Do not use CHECK_1.
26983 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26985 (__getresuid): Do not use CHECK_1.
26986 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26988 (__lxstat): Do not use CHECK_1.
26989 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26991 (__old_msgctl): Do not use CHECK_1.
26992 (__new_msgctl): Likewise.
26993 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26995 (__new_setrlimit): Do not use CHECK_1.
26996 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26998 (__old_shmctl): Do not use CHECK_1.
26999 (__new_shmctl): Likewise.
27000 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27002 (__xstat): Do not use CHECK_1.
27003 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27004 (__lxstat): Do not use CHECK_1.
27005 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27007 (___lxstat64): Do not use CHECK_1.
27008 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27009 (__old_msgctl): Do not use CHECK_1.
27010 (__new_msgctl): Likewise.
27011 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27013 (__gettimeofday): Do not use CHECK_1.
27014 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27015 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27016 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27018 (__gettimeofday): Do not use CHECK_1.
27019 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27020 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27021 (__new_shmctl): Do not use CHECK_1.
27022 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27024 (do_sigtimedwait): Do not use CHECK_1.
27025 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27027 (do_sigwaitinfo): Do not use CHECK_1.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27030 (msgctl): Do not use CHECK_1.
27031 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27033 (shmctl): Do not use CHECK_1.
27034 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27035 (ustat): Do not use CHECK_1.
27036 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27038 (__fxstat): Do not use CHECK_1.
27039 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27041 (__fxstatat): Do not use CHECK_1.
27042 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27044 (__lxstat): Do not use CHECK_1.
27045 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27047 (__xstat): Do not use CHECK_1.
27048 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27049 (__xstat): Do not use CHECK_1.
27050 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27051 (___xstat64): Do not use CHECK_1.
27054 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27056 (CHECK_BOUNDS_HIGH): Likewise.
27057 * string/strcpy.c: Do not include <bp-checks.h>.
27058 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27060 2013-02-07 Roland McGrath <roland@hack.frob.com>
27062 * nscd/nscd-client.h (__nscd_drop_map_ref):
27063 Add __attribute__ ((unused)).
27064 * nis/nss-nisplus.h (niserr2nss): Likewise.
27066 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27067 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27069 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27070 Remove inline keyword.
27071 * include/rounding-mode.h (round_away): Likewise.
27072 * libio/wfileops.c (adjust_wide_data): Likewise.
27073 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27074 (__m128i_strloadu_tolower): Likewise.
27075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27076 (__m128i_strloadu_tolower): Likewise.
27077 * time/mktime.c (ydhms_diff): Likewise.
27078 * locale/elem-hash.h (elem_hash): Likewise.
27079 * locale/setlocale.c (setdata): Likewise.
27080 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27081 (re_string_wchar_at): Likewise.
27082 (bitset_not, bitset_merge, bitset_mask): Likewise.
27083 [!(__GNUC__ > 3)] (inline): Remove macro.
27084 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27085 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27086 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27087 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27088 * string/memcmp.c (memcmp_bytes): Likewise.
27089 * locale/programs/locarchive.c (compute_hashval): Likewise.
27090 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27091 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27092 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27093 * nss/getent.c (print_rpc, print_protocols): Likewise.
27094 (print_passwd, print_group, print_aliases): Likewise.
27095 * nis/nss-nisplus.h (niserr2nss): Likewise.
27096 * nscd/connections.c (restart_p): Likewise.
27097 Change return type to bool.
27099 2013-02-05 Roland McGrath <roland@hack.frob.com>
27101 * Makeconfig (all-Depend-files): Add existing
27102 $(sorted-subdirs:=/Depend) files.
27103 (all-subdirs): Remove nss.
27104 * sysdeps/unix/inet/Subdirs: Add it here instead.
27105 * hesiod/Depend: New file.
27107 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27108 instead of calling alloca.
27110 * io/lseek.c (__lseek): Rename to __libc_lseek.
27111 Define __lseek as an alias.
27113 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27115 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27117 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27118 else clause and remove check for non-standard endianness.
27120 2013-02-04 David S. Miller <davem@davemloft.net>
27122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27124 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27127 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27128 (__ubp_memchr): Remove prototype.
27129 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27130 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27131 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27132 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27133 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27135 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27136 (__ubp_memchr): Likewise.
27137 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27138 (__ubp_memchr): Likewise.
27139 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27140 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27141 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27142 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27144 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27145 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27146 (__getcwd): Do not use CHECK_STRING.
27147 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27149 (__real_chown): Do not use CHECK_STRING.
27150 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27152 (fchownat): Do not use CHECK_STRING.
27153 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27155 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27157 (__lchown): Do not use CHECK_STRING.
27158 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27159 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27160 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27161 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27163 include <bp-checks.h>.
27164 (truncate64): Do not use CHECK_STRING.
27165 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27167 (__real_chown): Do not use CHECK_STRING.
27168 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27170 (__lchown): Do not use CHECK_STRING.
27171 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27173 (__chown): Do not use CHECK_STRING.
27174 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27176 (truncate64): Do not use CHECK_STRING.
27177 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27179 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27180 (__xmknod): Do not use CHECK_STRING.
27181 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27183 (__xmknodat): Do not use CHECK_STRING.
27184 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27185 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27187 2013-02-04 Andreas Schwab <schwab@suse.de>
27190 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27191 * include/netdb.h: Likewise for h_errno.
27192 * elf/tst-stackguard1.c: Include <tls.h>.
27194 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27196 * elf/link.h (struct link_map): Extend the l_addr comment.
27197 * include/link.h (struct link_map): Likewise.
27199 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27202 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27203 (BOUNDED_1): Remove macro.
27204 * debug/backtrace.c: Don't include <bp-checks.h>.
27205 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27206 (__backtrace): Likewise.
27207 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27209 (__backtrace): Don't use BOUNDED_1.
27210 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27212 (__backtrace): Don't use BOUNDED_1.
27213 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27214 (__backtrace): Don't use BOUNDED_1.
27215 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27216 (shmat): Don't use BOUNDED_N.
27218 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27221 * sysdeps/generic/bp-start.h: Remove file.
27222 * csu/libc-start.c: Don't include <bp-start.h>.
27223 (LIBC_START_MAIN): Set up __environ directly instead of using
27224 INIT_ARGV_and_ENVIRON.
27225 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27229 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27231 (CHECK_FCNTL): Likewise.
27232 (CHECK_N_PAGES): Likewise.
27235 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27237 (CHECK_SIGSET_NULL_OK): Likewise.
27238 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27240 (sigpending): Don't use CHECK_SIGSET.
27241 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27243 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27244 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27246 (do_sigsuspend): Don't use CHECK_SIGSET.
27247 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27249 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27250 (do_sigwait): Don't use CHECK_SIGSET.
27251 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27253 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27254 include <bp-checks.h>.
27255 (sigpending): Don't use CHECK_SIGSET.
27256 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27257 include <bp-checks.h>.
27258 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27259 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27261 (sigpending): Don't use CHECK_SIGSET.
27262 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27264 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27267 * sysdeps/generic/bp-semctl.h: Remove file.
27268 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27269 <bp-checks.h> and <bp-semctl.h>.
27270 (__old_semctl): Don't use CHECK_SEMCTL.
27271 (__new_semctl): Likewise.
27272 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27274 (__old_semctl): Don't use CHECK_SEMCTL.
27275 (__new_semctl): Likewise.
27276 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27277 <bp-checks.h> and <bp-semctl.h>.
27278 (__old_semctl): Don't use CHECK_SEMCTL.
27279 (__new_semctl): Likewise.
27280 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27281 <bp-checks.h> and <bp-semctl.h>.
27282 (semctl): Don't use CHECK_SEMCTL.
27285 * Makerules (elide-bp-thunks): Remove variable.
27286 (elide-routines.oS): Don't use $(elide-bp-thunks).
27287 (elide-routines.os): Likewise.
27288 (elide-routines.o): Likewise.
27289 (elide-routines.op): Likewise.
27290 (elide-routines.og): Likewise.
27291 (objects): Don't use $(bp-thunks).
27292 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27294 (common-generated): Do not add s-proto-bp.d.
27295 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27298 Do not generate makefile rules for bounded-pointer thunks.
27299 * sysdeps/generic/bp-thunks.h: Remove file.
27300 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27301 * sysdeps/unix/s-proto-bp.S: Likewise.
27304 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27305 parts of result separately when argument is not close to line from
27306 -i to i and one part of argument is small.
27307 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27308 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27309 * math/libm-test.inc (cacos_test): Add more tests.
27310 (casin_test): Likewise.
27311 (casinh_test): Likewise.
27312 * sysdeps/i386/fpu/libm-test-ulps: Update.
27313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27315 2013-01-31 David S. Miller <davem@davemloft.net>
27317 * po/de.po: Update from translation team.
27319 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27321 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27323 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27325 * configure.in (_AC_PROG_CC_C89): New definition.
27326 * configure: Regenerate.
27328 * configure.in (AC_PROG_CPP): New definition.
27329 * configure: Regenerate.
27331 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27333 * debug/tst-backtrace.h: New file.
27334 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27335 (ret): Remove variable.
27337 (FAIL): Remove macro.
27338 (NO_INLINE): Likewise.
27339 (fn1): Use match function instead of strstr.
27340 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27341 (ret): Remove variable.
27343 (FAIL): Remove macro.
27344 (NO_INLINE): Likewise.
27345 (fn): Use match function instead of strstr.
27346 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27347 (ret): Remove variable.
27349 (FAIL): Remove macro.
27350 (NO_INLINE): Likewise.
27351 (handle_signal): Use match function instead of strstr.
27352 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27353 (ret): Remove variable.
27355 (FAIL): Remove macro.
27356 (NO_INLINE): Likewise.
27357 (handle_signal): Use match function instead of strstr.
27359 2013-01-23 Roland McGrath <roland@hack.frob.com>
27361 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27363 2013-01-23 David S. Miller <davem@davemloft.net>
27365 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27366 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27367 argument of CAS if possible.
27368 * sysdeps/sparc/sparc64/bits/atomic.h
27369 (__arch_compare_and_exchange_val_32_acq): Likewise.
27370 (__arch_compare_and_exchange_val_64_acq): Likewise.
27372 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27374 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27375 * sysdeps/posix/ulimit.c: ... this.
27376 Include <limits.h>.
27377 * sysdeps/unix/bsd/ulimit.c: Remove file.
27379 2013-01-23 Adam Conrad <adconrad@0c3.net>
27381 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27382 (LDFLAGS-tst-array5): Likewise.
27384 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27387 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27388 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27389 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27390 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27392 2013-01-21 David S. Miller <davem@davemloft.net>
27394 * sysdeps/sparc/backtrace.c: New file.
27395 * sysdeps/sparc/sparc32/backtrace.h: New file.
27396 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27397 * sysdeps/sparc/sparc64/backtrace.h: New file.
27398 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27399 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27402 2013-01-21 Andreas Schwab <schwab@suse.de>
27405 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27408 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27414 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27415 Mark Mitchell <mark@codesourcery.com>
27416 Tom de Vries <tom@codesourcery.com>
27417 Paul Pluzhnikov <ppluzhnikov@google.com>
27419 * debug/tst-backtrace2.c: New file.
27420 * debug/tst-backtrace3.c: Likewise.
27421 * debug/tst-backtrace4.c: Likewise.
27422 * debug/tst-backtrace5.c: Likewise.
27423 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27424 (CFLAGS-tst-backtrace3.c): Likewise.
27425 (CFLAGS-tst-backtrace4.c): Likewise.
27426 (CFLAGS-tst-backtrace5.c): Likewise.
27427 (LDFLAGS-tst-backtrace2): Likewise.
27428 (LDFLAGS-tst-backtrace3): Likewise.
27429 (LDFLAGS-tst-backtrace4): Likewise.
27430 (LDFLAGS-tst-backtrace5): Likewise.
27431 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27432 tst-backtrace4 and tst-backtrace5.
27434 2013-01-18 Anton Blanchard <anton@samba.org>
27435 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27437 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27438 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27439 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27440 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27442 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27443 "+r" and remove output regs list as redundant. Add explicit inline
27444 asm to specify register of return val to work around compiler codegen
27445 bug. Remove (int) cast on return value. Add return type parameter to
27446 use in macro so that this macro does not truncate return value for
27448 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27449 pass to INTERNAL_VSYSCALL_NCS.
27450 (INLINE_VSYSCALL): Add 'long int' as return type to
27451 INTERNAL_VSYSCALL_NCS macro invocation.
27452 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27453 INTERNAL_VSYSCALL_NCS macro invocation.
27454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27456 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27459 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27460 Fix application of SIMD FP exception mask.
27462 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27463 mp_no from a power of two.
27464 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27465 __mpexp_twomm1. Use __pow_mp.
27467 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27470 2013-01-17 David S. Miller <davem@davemloft.net>
27472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27474 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27477 * include/complex.h: Condition contents on [!_COMPLEX_H].
27478 (__kernel_casinhf): New prototype.
27479 (__kernel_casinh): Likewise.
27480 (__kernel_casinhl): Likewise.
27481 * math/Makefile (libm_calls): Add k_casinh.
27482 * math/k_casinh.c: New file.
27483 * math/k_casinhf.c: Likewise.
27484 * math/k_casinhl.c: Likewise.
27485 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27486 finite nonzero arguments.
27487 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27488 finite nonzero arguments.
27489 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27490 finite nonzero arguments.
27491 * math/s_casinh.c: Do not include <float.h>.
27492 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27493 * math/s_casinhf.c: Do not include <float.h>.
27494 (__casinhf): Move code for finite nonzero arguments to
27496 * math/s_casinhl.c: Do not include <float.h>.
27497 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27499 (__casinhl): Move code for finite nonzero arguments to
27501 * math/libm-test.inc (cacos_test): Add more tests.
27502 * sysdeps/i386/fpu/libm-test-ulps: Update.
27503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27505 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27507 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27508 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27509 [!HAVE_MREMAP]: Remove [defined linux] case.
27510 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27512 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27514 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27516 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27518 * elf/elf.h (R_386_SIZE32): New relocation.
27519 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27521 (elf_machine_rela): Likewise.
27522 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27523 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27525 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27527 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27528 (FP_FAST_FMA): Do not define.
27529 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27530 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27531 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27532 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27533 !_SOFT_FLOAT]: Likewise.
27534 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27535 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27537 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27538 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27539 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27540 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27541 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27542 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27545 2013-01-16 Andreas Schwab <schwab@suse.de>
27548 * include/stdlib.h (__mktemp): Add declaration.
27549 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27550 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27552 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27554 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27556 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27557 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27558 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27560 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27561 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27563 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27565 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27566 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27567 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27569 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27570 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27572 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27574 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27576 2013-01-15 David S. Miller <davem@davemloft.net>
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27579 trunc{,f} to libm-sysdep_routes.
27580 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27590 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27591 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27592 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27593 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27594 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27595 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27598 nearbyint{,f} to libm-sysdep_routes.
27599 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27610 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27612 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27615 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27616 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27617 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27619 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27620 libc_feholdexcept and libc_fesetenv.
27622 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27624 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27626 2013-01-14 David S. Miller <davem@davemloft.net>
27628 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27629 (SPARC_ASM_VIS2_IFUNC): Likewise.
27630 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27632 use of 'siam' instruction.
27633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27641 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27642 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27666 routines to libm-sysdep_routines.
27667 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27670 fdim/fdimf to libm-sysdep_routines.
27671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27679 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27680 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27681 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27682 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27684 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27686 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27687 to optimize copies.
27689 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27691 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27694 local variable MPTWO.
27695 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27698 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27700 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27703 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27705 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27707 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27709 * manual/pattern.texi (glob_t): Document gl_flags.
27710 (glob64_t): Likewise.
27712 2013-01-11 David S. Miller <davem@davemloft.net>
27714 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27715 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27716 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27717 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27718 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27719 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27720 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27721 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27722 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27723 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27724 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27725 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27726 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27728 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27729 sparc V9 rather than using V8 code.
27730 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27731 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27733 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27735 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27738 2013-01-11 Roland McGrath <roland@hack.frob.com>
27740 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27741 not in the main loop.
27742 * configure: Regenerated.
27744 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27746 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27747 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27749 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27750 [!__GLIBC_HAVE_LONG_LONG] case.
27751 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27752 condition to just #else.
27753 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27754 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27755 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27756 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27758 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27759 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27760 #elif condition to just #else.
27761 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27762 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27763 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27764 #elif condition to just #else.
27766 2013-01-11 Steve Ellcey <sellcey@mips.com>
27768 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27769 (EF_MIPS_ARCH_64): Fix value.
27770 (EF_MIPS_ARCH_32R2): New.
27771 (EF_MIPS_ARCH_64R2): New.
27773 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27775 * Makeconfig (+link-pie-before-libc): New.
27776 (+link-pie-after-libc): Likewise.
27777 (+link-pie-tests): Likewise.
27778 (+link-pie): Rewritten.
27779 (link-before-libc): Remove $(config-LDFLAGS).
27780 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27781 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27782 (config-LDFLAGS): Renamed to ...
27783 (rtld-LDFLAGS): This.
27784 (rtld-tests-LDFLAGS): New macro.
27785 (link-libc-rpath-link): Likewise.
27786 (link-libc-tests-rpath-link): Likewise.
27787 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27788 (link-libc): Prepand $(link-libc-rpath-link).
27789 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27790 (test-program-prefix): New macro.
27791 (test-via-rtld-prefix): Likewise.
27792 (test-program-cmd): Likewise.
27793 (host-test-program-cmd): Likewise.
27794 * Makefile ($(common-objpfx)testrun.sh): Replace
27795 $(run-program-prefix) with $(test-program-prefix).
27796 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27798 ($(common-objpfx)shlib.lds): Likewise.
27799 (build-module-helper): Likewise.
27800 ($(common-objpfx)format.lds): Likewise.
27801 * Rules (binaries-pie-tests): New.
27802 (binaries-pie-notests): Likewise.
27803 (binaries-pie): Rewritten.
27804 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27805 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27806 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27807 (make-test-out): Replace $(host-built-program-cmd) with
27808 $(host-test-program-cmd).
27809 * config.make.in (build-hardcoded-path-in-tests): New variable.
27810 * configure.in (--enable-hardcoded-path-in-tests): New configure
27812 (hardcoded_path_in_tests): New AC_SUBST.
27813 * configure: Regenerated.
27814 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27815 $(built-program-cmd) with $(test-program-cmd).
27816 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27817 (test_program_cmd): This.
27818 * elf/Makefile ($(objpfx)order.out): Run test with
27819 $(test-program-prefix).
27820 ($(objpfx)order2.out): Likewise.
27821 ($(objpfx)tst-initorder.out): Likewise.
27822 ($(objpfx)tst-initorder2.out): Likewise.
27823 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27824 $(test-program-cmd).
27825 ($(objpfx)tst-array1-static.out): Likewise.
27826 ($(objpfx)tst-array2.out): Likewise.
27827 ($(objpfx)tst-array3.out): Likewise.
27828 ($(objpfx)tst-array4.out): Likewise.
27829 ($(objpfx)tst-array5.out): Likewise.
27830 ($(objpfx)tst-array5-static.out): Likewise.
27831 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27832 $(test-program-cmd).
27833 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27834 $(run-program-prefix) with $(test-program-prefix).
27835 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27836 (test_program_prefix): This.
27837 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27838 $(run-program-prefix) with $(test-program-prefix).
27839 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27840 (test_program_prefix): This.
27841 * iconvdata/tst-tables.sh: Likewise.
27842 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27843 $(run-program-prefix) with $(test-program-prefix).
27844 ($(objpfx)tst-translit.out): Likewise.
27845 ($(objpfx)tst-gettext2.out): Likewise.
27846 ($(objpfx)tst-gettext4.out): Likewise.
27847 ($(objpfx)tst-gettext6.out): Likewise.
27848 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27849 (test_program_prefix): This.
27850 * intl/tst-gettext2.sh: Likewise.
27851 * intl/tst-gettext4.sh Likewise.
27852 * intl/tst-gettext6.sh: Likewise.
27853 * intl/tst-translit.sh: Likewise.
27854 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27855 with $(test-program-cmd).
27856 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27857 $(run-program-prefix) with $(test-program-prefix).
27858 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27859 (test_program_prefix): This.
27860 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27861 $(run-program-prefix) with $(test-program-prefix).
27862 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27863 (test_program_prefix): This.
27864 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27865 * posix/Makefile ($(objpfx)globtest.out): Replace
27866 $(run-via-rtld-prefix) and $(test-wrapper) with
27867 $(test-program-prefix) and $(test-via-rtld-prefix).
27868 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27869 $(test-program-prefix).
27870 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27871 $(host-test-program-cmd).
27872 (tst-spawn-ARGS): Likewise.
27873 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27874 $(test-program-prefix).
27875 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27876 (test_via_rtld_prefix): This.
27877 (test_wrapper): Renamed to ...
27878 (test_program_prefix): This.
27879 (run_program_prefix): Replaced by test_program_prefix.
27880 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27881 (test_program_prefix): This.
27882 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27883 with $(host-test-program-cmd).
27884 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27885 $(run-program-prefix) with $(test-program-prefix).
27886 ($(objpfx)tst-printf.out): Likewise.
27887 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27888 $(test-program-cmd).
27889 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27890 (test_program_prefix): This.
27891 * stdio-common/tst-unbputc.sh: Likewise.
27892 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27893 $(run-program-prefix) with $(test-program-prefix).
27894 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27895 (test_program_prefix): This.
27896 * string/Makefile ($(objpfx)tst-svc.out): Replace
27897 $(built-program-cmd) with $(test-program-cmd).
27899 2013-01-11 Andreas Jaeger <aj@suse.de>
27902 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27903 value. Sync with Linux 3.7.
27905 2013-01-10 David S. Miller <davem@davemloft.net>
27907 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27908 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27909 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27911 2013-01-10 Roland McGrath <roland@hack.frob.com>
27913 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27915 * configure: Regenerated.
27917 2013-01-10 David S. Miller <davem@davemloft.net>
27919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27920 sparc V9 rather than using V8 code.
27921 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27922 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27924 2013-01-10 Roland McGrath <roland@hack.frob.com>
27926 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27927 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27928 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27929 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27930 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27931 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27932 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27933 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27934 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27935 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27936 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27937 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27938 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27939 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27940 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27941 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27942 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27943 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27944 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27945 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27946 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27947 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27948 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27949 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27950 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27951 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27952 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27954 2013-01-10 David S. Miller <davem@davemloft.net>
27956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27958 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27960 * posix/Makefile (tests-static): New variable.
27961 (tests): Add $(tests-static).
27962 (tst-exec-static-ARGS): New variable.
27963 (tst-spawn-static-ARGS): Likewise.
27964 * posix/tst-exec-static.c: New file.
27965 * posix/tst-spawn-static.c: Likewise.
27966 * posix/tst-exec.c: Support run directly.
27967 * posix/tst-spawn.c: Likewise.
27969 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27971 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27973 * math/bits/mathcalls.h (llrint): Likewise.
27974 (llround): Likewise.
27975 * stdlib/stdlib.h (struct drand48_data): Likewise.
27976 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27977 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27978 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27980 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27982 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27983 (elf_greg_t): Likewise.
27984 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27985 (__jmp_buf): Likewise.
27986 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27988 (llrint): Likewise, for all definitions.
27989 (llrintl): Likewise.
27991 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27992 Remove [__GNUC__] condition.
27993 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27994 condition to just [__USE_ISOC99].
27995 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27997 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28000 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28001 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28003 (_POSIX_V6_ILP32_OFF32): Likewise.
28004 (_XBS5_ILP32_OFF32): Likewise.
28005 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28006 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28008 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28010 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28012 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28013 doubles __mpexp_twomm1. Adjust usage.
28014 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28017 2013-01-10 Andreas Schwab <schwab@suse.de>
28020 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28021 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28023 2013-01-09 David S. Miller <davem@davemloft.net>
28026 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28027 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28028 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28029 (TCP_FASTOPEN): Define.
28030 (tcp_repair_opt): New structure.
28031 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28033 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28034 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28035 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
28036 (tcp_cookie_transactions): New structure.
28038 2013-01-09 Anton Blanchard <anton@samba.org>
28040 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28041 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28042 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28043 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28045 2013-01-09 Joseph Myers <joseph@codesourcery.com>
28047 * include/features.h (__USE_ANSI): Remove.
28049 2013-01-09 Roland McGrath <roland@hack.frob.com>
28051 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28053 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28055 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28057 * sysdeps/s390/fpu/libm-test-ulps: Update.
28059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28061 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28065 (denorm): Likewise.
28066 (__mp_dbl): Likewise.
28067 (__dbl_mp): Likewise.
28068 (add_magnitudes): Likewise.
28069 (sub_magnitudes): Likewise.
28075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28079 (denorm): Likewise.
28080 (__mp_dbl): Likewise.
28081 (__dbl_mp): Likewise.
28082 (add_magnitudes): Likewise.
28083 (sub_magnitudes): Likewise.
28089 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28093 (denorm): Likewise.
28094 (__mp_dbl): Likewise.
28095 (__dbl_mp): Likewise.
28096 (add_magnitudes): Likewise.
28097 (sub_magnitudes): Likewise.
28104 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28106 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28107 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28108 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28109 2 && __USE_EXTERN_INLINES]: Likewise.
28111 2013-01-08 Andreas Jaeger <aj@suse.de>
28114 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28116 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28117 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28119 2013-01-07 Anton Blanchard <anton@samba.org>
28121 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28122 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28123 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28124 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28125 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28126 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28127 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28128 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28129 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28130 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28131 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28132 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28133 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28134 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28135 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28136 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28137 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28138 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28139 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28140 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28141 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28143 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28144 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28145 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28146 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28147 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28148 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28150 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28151 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28153 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28154 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28155 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28156 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28157 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28158 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28159 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28160 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28161 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28162 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28163 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28165 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28167 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28168 (__MALLOC_PMT): Likewise.
28169 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28170 [__GNUC__], only on [_LIBC].
28171 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28172 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28173 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28174 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28175 forward declaration.
28176 (realloc_hook_ini): Likewise.
28177 (memalign_hook_ini): Likewise.
28178 (__libc_memalign): Do not use __MALLOC_PMT in variable
28180 (__libc_valloc): Likewise.
28181 (__libc_pvalloc): Likewise.
28182 (__libc_calloc): Likewise.
28183 (__posix_memalign): Likewise.
28186 * math/s_casinh.c: Include <float.h>.
28187 (__casinh): Do not do computation with squaring and square root
28188 for large arguments.
28189 * math/s_casinhf.c: Include <float.h>.
28190 (__casinhf): Do not do computation with squaring and square root
28191 for large arguments.
28192 * math/s_casinhl.c: Include <float.h>.
28193 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28194 (__casinhl): Do not do computation with squaring and square root
28195 for large arguments.
28196 * math/libm-test.inc (casin_test): Add more tests.
28197 (casinh_test): Likewise.
28198 * sysdeps/i386/fpu/libm-test-ulps: Update.
28199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28201 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28203 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28204 (__x86_64_raw_data_cache_size): Likewise.
28205 (__x86_64_data_cache_size_half): Likewise.
28206 (__x86_64_raw_data_cache_size_half): Likewise.
28207 (__x86_64_shared_cache_size): Likewise.
28208 (__x86_64_raw_shared_cache_size): Likewise.
28209 (__x86_64_shared_cache_size_half): Likewise.
28210 (__x86_64_raw_shared_cache_size_half): Likewise.
28211 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28213 (__x86_data_cache_size): This.
28214 (__x86_64_raw_data_cache_size): Renamed to ...
28215 (__x86_raw_data_cache_size): This.
28216 (__x86_64_data_cache_size_half): Renamed to ...
28217 (__x86_data_cache_size_half): This.
28218 (__x86_64_raw_data_cache_size_half): Renamed to ...
28219 (__x86_raw_data_cache_size_half): This.
28220 (__x86_64_shared_cache_size): Renamed to ...
28221 (__x86_shared_cache_size): This.
28222 (__x86_64_raw_shared_cache_size): Renamed to ...
28223 (__x86_raw_shared_cache_size): This.
28224 (__x86_64_shared_cache_size_half): Renamed to ...
28225 (__x86_shared_cache_size_half): This.
28226 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28227 (__x86_raw_shared_cache_size_half): This.
28228 * sysdeps/x86_64/memcpy.S: Updated.
28229 * sysdeps/x86_64/memset.S: Likewise.
28230 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28231 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28232 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28234 2013-01-04 David S. Miller <davem@davemloft.net>
28236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28238 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28240 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28241 1 to avoid redefinition warning.
28242 (__USE_GNU): Don't define.
28243 (init_signaling_nan): Protoize.
28245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28247 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28249 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28251 (__cpymn): Likewise.
28252 (norm): Remove commented code.
28253 (denorm): Likewise.
28254 (__mp_dbl): Likewise.
28256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28257 (__cpymn): Likewise.
28258 (norm): Remove commented code.
28259 (denorm): Likewise.
28260 (__mp_dbl): Likewise.
28263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28264 mp_no value for 1.0 and 2.0.
28265 (norm): Use RADIXI instead of radixi.d.
28266 (denorm): Likewise.
28267 (__mul): Use 0.0 instead of zero.d.
28268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28269 mp_no value for 1.0 and 2.0.
28270 (norm): Use RADIXI instead of radixi.d.
28271 (denorm): Likewise.
28272 (__mul): Use 0.0 instead of zero.d.
28274 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28277 * math/s_casinh.c (__casinh): Reduce finite argument to first
28278 quadrant then set signs of results at the end.
28279 * math/s_casinhf.c (__casinhf): Likewise.
28280 * math/s_casinhl.c (__casinhl): Likewise.
28281 * math/libm-test.inc (casin_test): Add more tests.
28282 (casinh_test): Likewise.
28283 * sysdeps/i386/fpu/libm-test-ulps: Update.
28284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28286 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28288 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28290 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28292 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28294 (denorm): Likewise.
28295 (__mp_dbl): Likewise.
28298 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28299 and adjust the header comment.
28301 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28302 variable name from declaration.
28304 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28307 Initialize COMMON_CPUID_INDEX_7 element.
28308 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28309 (CPUID_RTM): Likewise.
28310 (HAS_RTM): Likewise.
28311 (COMMON_CPUID_INDEX_7): New enum.
28313 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28316 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28317 size is zero, record memory as freed.
28319 2013-01-03 Andreas Jaeger <aj@suse.de>
28321 * po/ia.po: Add new Interlingua translation.
28323 2012-01-03 Allan McRae <allan@archlinux.org>
28325 * locale/programs/localedef.c: Fix description of '--posix' flag.
28327 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28329 * NEWS: Update dates in second copyright notice.
28330 * README: Update copyright dates in example.
28331 * manual/libc.texinfo: Update copyright dates.
28332 * scripts/test-installation.pl: Update copyright date in --version
28335 * hurd/ctty-input.c: Fix copyright notice formatting.
28336 * hurd/ctty-output.c: Likewise.
28337 * hurd/dtable.c: Likewise.
28338 * hurd/hurd-raise.c: Likewise.
28339 * hurd/hurdprio.c: Likewise.
28340 * hurd/msgportdemux.c: Likewise.
28341 * misc/sys/file.h: Likewise.
28342 * misc/sys/ioctl.h: Likewise.
28343 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28344 * sysdeps/mach/hurd/chdir.c: Likewise.
28345 * sysdeps/mach/hurd/fchdir.c: Likewise.
28346 * sysdeps/mach/hurd/rename.c: Likewise.
28347 * sysdeps/mach/hurd/rmdir.c: Likewise.
28348 * sysdeps/mach/hurd/seekdir.c: Likewise.
28349 * sysdeps/mach/hurd/setsid.c: Likewise.
28350 * sysdeps/posix/wait3.c: Likewise.
28352 * All files with FSF copyright notices: Update copyright dates
28353 using scripts/update-copyrights.
28354 * intl/plural.c: Regenerated.
28355 * locale/programs/charmap-kw.h: Likewise.
28356 * locale/programs/locfile-kw.h: Likewise.
28358 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28360 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28364 calculation loop and add branch prediction.
28366 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28367 check access beyond bounds of m1np.
28369 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28371 (__inv): Remove local variable MPTWO to use the global
28373 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28374 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28376 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28377 MP3HALFS static const.
28379 2013-01-01 David S. Miller <davem@davemloft.net>
28381 * po/ca.po: Update from translation team.
28383 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28385 * scripts/update-copyrights: New file.
28386 * Makeconfig: Reformat copyright notice.
28387 * ctype/ctype.h: Likewise.
28388 * debug/swprintf_chk.c: Likewise.
28389 * elf/dl-cache.c: Likewise.
28390 * elf/dl-debug.c: Likewise.
28391 * elf/dl-object.c: Likewise.
28392 * grp/initgroups.c: Likewise.
28393 * hurd/Makefile: Likewise.
28394 * hurd/hurd/signal.h: Likewise.
28395 * hurd/hurdfault.c: Likewise.
28396 * hurd/hurdioctl.c: Likewise.
28397 * hurd/hurdlookup.c: Likewise.
28398 * hurd/intr-msg.c: Likewise.
28399 * iconv/gconv_open.c: Likewise.
28400 * libio/swprintf.c: Likewise.
28401 * locale/lc-ctype.c: Likewise.
28402 * locale/nl_langinfo.c: Likewise.
28403 * mach/Machrules: Likewise.
28404 * mach/Makefile: Likewise.
28405 * malloc/obstack.h: Likewise.
28406 * manual/Makefile: Likewise.
28407 * manual/tsort.awk: Likewise.
28408 * misc/bits/stab.def: Likewise.
28409 * nis/nis_print_group_entry.c: Likewise.
28410 * nis/nis_table.c: Likewise.
28411 * nis/nss_compat/compat-pwd.c: Likewise.
28412 * nis/nss_compat/compat-spwd.c: Likewise.
28413 * po/Makefile: Likewise.
28414 * posix/fnmatch.c: Likewise.
28415 * posix/regex.h: Likewise.
28416 * resolv/Makefile: Likewise.
28417 * resolv/nss_dns/dns-network.c: Likewise.
28418 * resolv/res_hconf.c: Likewise.
28419 * scripts/gen-sorted.awk: Likewise.
28420 * soft-fp/soft-fp.h: Likewise.
28421 * stdio-common/printf.h: Likewise.
28422 * stdlib/monetary.h: Likewise.
28423 * stdlib/random.c: Likewise.
28424 * stdlib/random_r.c: Likewise.
28425 * sysdeps/generic/Makefile: Likewise.
28426 * sysdeps/gnu/Makefile: Likewise.
28427 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28450 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28451 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28453 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28454 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28455 * sysdeps/mach/hurd/errnos.awk: Likewise.
28456 * sysdeps/mach/hurd/fork.c: Likewise.
28457 * sysdeps/mach/hurd/getcwd.c: Likewise.
28458 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28459 * sysdeps/mach/hurd/mmap.c: Likewise.
28460 * sysdeps/mach/hurd/utimes.c: Likewise.
28461 * sysdeps/mach/hurd/xmknod.c: Likewise.
28462 * sysdeps/posix/profil.c: Likewise.
28463 * sysdeps/posix/readdir_r.c: Likewise.
28464 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28465 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28466 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28467 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28468 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28469 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28471 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28473 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28474 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28475 * sysdeps/pthread/lio_listio.c: Likewise.
28476 * sysdeps/sparc/dl-procinfo.h: Likewise.
28477 * sysdeps/unix/i386/sysdep.S: Likewise.
28478 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28479 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28480 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28481 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28483 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28484 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28485 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28486 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28487 * sysdeps/wordsize-32/divdi3.c: Likewise.
28488 * time/sys/time.h: Likewise.
28489 * wcsmbs/Makefile: Likewise.
28491 2013-01-01 David S. Miller <davem@davemloft.net>
28493 * po/fr.po: Update from translation team.
28495 * catgets/gencat.c: Update copyright year.
28496 * csu/version.c: Likewise.
28497 * debug/catchsegv.sh: Likewise.
28498 * debug/pcprofiledump.c: Likewise.
28499 * debug/xtrace.sh: Likewise.
28500 * elf/ldconfig.c: Likewise.
28501 * elf/ldd.bash.in: Likewise.
28502 * elf/pldd.c: Likewise.
28503 * elf/sotruss.ksh: Likewise.
28504 * elf/sprof.c: Likewise.
28505 * iconv/iconv_prog.c: Likewise.
28506 * iconv/iconvconfig.c: Likewise.
28507 * locale/programs/locale.c: Likewise.
28508 * locale/programs/localedef.c: Likewise.
28509 * login/programs/pt_chown.c: Likewise.
28510 * malloc/memusage.sh: Likewise.
28511 * malloc/memusagestat.c: Likewise.
28512 * malloc/mtrace.pl: Likewise.
28513 * nscd/nscd.c: Likewise.
28514 * nss/getent.c: Likewise.
28515 * nss/makedb.c: Likewise.
28516 * posix/getconf.c: Likewise.
28518 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28520 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28523 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28525 * math/bits/mathcalls.h (modf): Use __nonnull.
28527 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28529 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28530 (split): Use macro CN instead of the bare value.
28531 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28534 instead of the bare value.
28535 (power1): Likewise.
28537 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28539 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28541 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28543 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28545 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28546 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28547 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28548 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28550 2012-12-28 Andreas Jaeger <aj@suse.de>
28552 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28553 values are from Linux 3.7.
28555 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28556 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28558 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28560 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28563 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28565 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28566 variables with preprocessor constants.
28567 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28568 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28569 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28571 2012-12-27 Bruno Haible <bruno@clisp.org>
28574 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28577 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28580 and use variable directly.
28581 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28583 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28585 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28586 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28588 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28589 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28590 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28591 include directive. Remove local variable MPONE.
28592 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28593 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28594 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28596 2012-12-25 David S. Miller <davem@davemloft.net>
28598 * version.h (RELEASE): Set to "development".
28599 (VERSION): Set to "2.17.90".
28600 * NEWS: Add 2.18 section.
28602 2012-12-21 David S. Miller <davem@davemloft.net>
28604 * po/hr.po: Update from translation team.
28606 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28608 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28610 2012-12-19 Steve Ellcey <sellcey@mips.com>
28612 * NEWS: Mention new memcpy for MIPS.
28614 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28616 * manual/contrib.texi (Contributors): Spelling correction.
28618 2012-12-15 David S. Miller <davem@davemloft.net>
28620 * po/ru.po: Update from translation team.
28622 2012-12-13 David S. Miller <davem@davemloft.net>
28624 * NEWS: Mention IFUNC testsuite enhancements.
28626 * po/pl.po: Update from translation team.
28627 * po/bg.po: Likewise.
28629 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28630 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28632 2012-12-11 David S. Miller <davem@davemloft.net>
28634 * po/sv.po: Update from translation team.
28636 * po/vi.po: Update from translation team.
28638 * po/cs.po: Update from translation team.
28640 * po/de.po: Update from translation team.
28641 * po/eo.po: Likewise.
28642 * po/nl.po: Likewise.
28644 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28647 * manual/argp.texi (Argp Helper Functions): Move node to follow
28648 Argp Parsing State.
28651 * manual/conf.texi (Limits on File System Capacity): Mention if
28652 terminating null is included in the max size.
28654 2012-12-10 Andreas Jaeger <aj@suse.de>
28656 * po/cs.po: Update from translation team.
28658 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28660 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28661 void pointer and cast to uintptr_t.
28662 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28664 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28665 * sysdeps/s390/s390-64/memset.S: Likewise.
28667 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28670 * menual/message.texi (Message Translation): Fix typos.
28671 (Helper programs for gettext): Likewise.
28673 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28676 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28679 2012-12-07 David S. Miller <davem@davemloft.net>
28681 * po/libc.pot: Update.
28683 2012-12-07 Richard Henderson <rth@redhat.com>
28686 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28687 normal/normal case to before the switch.
28688 (_FP_DIV): Likewise.
28690 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28691 Mike Frysinger <vapier@gentoo.org>
28693 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28694 check for __NR_fadvise64_64.
28696 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28698 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28699 0, not just to plain "0" as a statement.
28700 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28703 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28705 * NEWS: Use sourceware.org in Bugzilla URL.
28707 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28710 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28712 * stdio-common/tst-put-error.c (do_test): Add newline to the
28713 padded test to ensure flush.
28715 2012-12-05 Jeff Law <law@redhat.com>
28717 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28719 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28721 * README: Don't refer to ports add-on as distributed separately.
28722 Mention AArch64 in list of systems supported in the ports add-on.
28724 * LICENSES: Add more non-FSF copyright and license notices.
28726 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28729 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28731 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28732 10000 as width of padded output.
28734 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28736 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28738 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28739 variable LX with __attribute__ ((unused)).
28740 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28744 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28745 with __attribute__ ((unused)).
28747 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28749 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28751 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28753 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28754 (CFLAGS-nldbl-acos.c): New variable.
28755 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28756 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28757 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28758 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28759 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28760 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28761 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28762 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28763 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28764 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28765 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28766 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28767 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28768 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28769 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28770 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28771 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28772 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28773 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28774 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28775 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28776 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28777 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28778 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28779 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28780 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28781 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28782 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28783 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28784 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28785 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28786 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28787 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28788 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28789 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28790 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28791 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28792 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28793 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28794 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28795 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28796 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28797 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28798 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28799 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28800 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28801 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28802 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28803 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28804 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28805 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28806 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28807 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28808 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28809 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28810 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28811 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28812 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28813 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28814 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28815 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28816 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28817 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28818 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28819 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28820 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28821 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28822 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28823 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28824 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28825 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28826 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28827 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28828 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28829 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28830 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28831 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28832 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28833 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28834 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28835 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28836 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28837 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28838 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28839 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28840 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28841 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28842 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28843 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28844 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28845 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28846 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28847 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28848 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28849 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28850 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28851 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28854 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28857 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28858 whole low double instead of just low 47 bits when splitting values
28861 2012-12-03 Allan McRae <allan@archlinux.org>
28863 * manual/stdio.texi (Predefined Printf Handlers): Remove
28864 @hsep and @vsep usage.
28866 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28868 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28869 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28871 2012-12-03 Jeff Law <law@redhat.com>
28873 * time/sys/time.h (settimeofday): Do not mark TV argument
28876 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28878 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28879 when currently writing and seek to current position when not.
28880 * libio/Makefile (tests): Remove bug-fclose1.
28881 * libio/bug-fclose1.c: Delete.
28883 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28885 * manual/arith.texi (feenableexcept): Fix typo.
28886 (fedisableexcept): Likewise.
28888 2012-11-30 Roland McGrath <roland@hack.frob.com>
28890 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28891 second, differently-typed declaration, rather than a cast.
28893 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28895 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28896 * include/rpc/svc.h: ... here.
28898 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28901 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28902 depending n and resplen2 to catch cases where answer
28905 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28907 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28908 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28910 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28912 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28914 2012-11-29 Roland McGrath <roland@hack.frob.com>
28916 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28918 2012-11-28 Jeff Law <law@redhat.com>
28921 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28922 dataset_temporary. Track alloca usage into alloca_used.
28923 If dataset is large allocate and release it via malloc/free.
28925 2012-06-04 Florian Weimer <fweimer@redhat.com>
28928 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28930 2012-11-28 David S. Miller <davem@davemloft.net>
28932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28934 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28937 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28938 of pi/2 rounded to nearest to 64 bits.
28939 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28940 nearest to 64 bits.
28941 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28944 2012-11-28 Jeff Law <law@redhat.com>
28945 Martin Osvald <mosvald@redhat.com>
28948 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28949 * sunrpc/svc.c: Include time.h.
28950 (__svc_accept_failed): New function.
28951 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28952 any reason other than EINTR, call __svc_accept_failed.
28953 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28954 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28956 2012-11-28 Andreas Schwab <schwab@suse.de>
28958 * scripts/abilist.awk: Also handle indirect functions in .opd
28961 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28964 * sysdeps/x86/fpu/powl_helper.c: New file.
28965 * sysdeps/x86/fpu/Makefile: Likewise.
28966 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28968 (__ieee754_powl): Use __powl_helper for finite arguments except
28969 integer exponents below 8.
28970 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28972 (__ieee754_powl): Use __powl_helper for finite arguments except
28973 integer exponents below 8.
28974 * math/libm-test.inc (pow_test): Add more tests and enable some
28975 previously disabled tests.
28976 * sysdeps/i386/fpu/libm-test-ulps: Update.
28977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28979 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28980 Carlos O'Donell <carlos_odonell@mentor.com>
28982 * nss/makedb.c (is_prime): Assert that input is odd and greater
28983 than 4. Note that fact in a comment too.
28984 (next_prime): Add 4 to input.
28986 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28989 * libio/Makefile (tests): Add test case tst-fwrite-error.
28990 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28991 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28992 * libio/tst-fwrite-error.c: New test case.
28994 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28996 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28997 before casting to void *.
28998 * include/libc-internal.h (__pointer_type): New macro.
28999 (__integer_if_pointer_type_sub): Likewise.
29000 (__integer_if_pointer_type): Likewise.
29001 (cast_to_integer): Likewise.
29002 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29003 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29004 before casting to atomic64_t.
29005 (atomic_exchange_acq): Likewise.
29006 (__arch_exchange_and_add_body): Likewise.
29007 (__arch_add_body): Likewise.
29008 (atomic_add_negative): Likewise.
29009 (atomic_add_zero): Likewise.
29011 2012-11-26 Joseph Myers <joseph@codesourcery.com>
29013 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29014 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29015 (add_fdes): Likewise.
29016 (linear_search_fdes): Likewise.
29017 (binary_search_unencoded_fdes): Likewise.
29019 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29021 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29023 2012-11-24 Adam Conrad <adconrad@0c3.net>
29025 * configure.in: Autodetect C++ header directories.
29026 * configure: Regenerated.
29028 2012-11-23 Mike Frysinger <vapier@gentoo.org>
29030 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29032 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29034 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29036 2012-11-22 Joseph Myers <joseph@codesourcery.com>
29038 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29039 LDBL_MANT_DIG == 106]: Disable some tests.
29040 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29042 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29047 input for small inputs. Return +/- pi/2 for large inputs.
29048 * math/libm-test.inc (atan_test): Add more tests.
29050 * sysdeps/generic/unwind-dw2-fde-glibc.c
29051 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29052 __attribute__ ((unused)).
29055 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29056 x * y if x and y are nonzero and z is zero.
29059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29060 nonzero exponents with absolute value below 0x1p-117 to +/-
29064 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29065 up arguments below 2**-450, not just those below 2**-500.
29066 * math/libm-test.inc (hypot_test): Add another test.
29069 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29070 Return a+b for ratio over 2**120, not 2**60.
29071 * math/libm-test.inc (hypot_test): Add another test.
29073 * math/libm-test.inc (clog_test): Use
29074 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29075 (clog10_test): Likewise.
29078 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29080 2012-11-22 Andreas Schwab <schwab@suse.de>
29082 * sysdeps/i386/fpu/libm-test-ulps: Update.
29084 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29086 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29087 printf output with newline.
29089 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29092 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29093 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29094 -z nodlopen, -z initfirst and -z execstack support.
29095 * configure: Regenerated.
29097 * elf/elf.h (DF_1_NODIRECT): New macro.
29098 (DF_1_IGNMULDEF): Likewise.
29099 (DF_1_NOKSYMS): Likewise.
29100 (DF_1_NOHDR): Likewise.
29101 (DF_1_EDITED): Likewise.
29102 (DF_1_NORELOC): Likewise.
29103 (DF_1_SYMINTPOSE): Likewise.
29104 (DF_1_GLOBAUDIT): Likewise.
29105 (DF_1_SINGLETON): Likewise.
29106 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29107 DT_1_SUPPORTED_MASK bits.
29108 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29110 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29112 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29114 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29116 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29119 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29120 (sendmmsg): Move declarations...
29121 * socket/sys/socket.h: ... here.
29122 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29123 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29125 * socket/recvmmsg.c: ... this new file.
29126 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29127 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29128 definition of __sendmmsg hidden.
29129 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29130 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29131 Move ENOSYS stub into and include it from...
29132 * socket/sendmmsg.c: ... this new file.
29133 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29134 (sysdep_routines): Move recvmmsg and sendmmsg...
29135 * socket/Makefile (routines): ... here.
29136 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29137 (GLIBC_PRIVATE): Add __sendmmsg.
29138 * include/sys/socket.h (__sendmmsg): Add declarations.
29139 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29142 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29145 variable I1 with __attribute__ ((unused)).
29146 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29148 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29150 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29151 DUMMY variables with __attribute__ ((unused)).
29153 * bits/byteswap.h: Include <bits/types.h>.
29154 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29156 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29158 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29159 string_t. Do not manually set errno.
29160 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29161 length with __strnlen. Make sure to both set errno and return it on
29164 2012-11-19 David S. Miller <davem@davemloft.net>
29166 With help from Joseph Myers.
29167 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29168 very large arguments properly.
29169 * math/libm-test.inc (atan_test): New tests.
29170 (atan2_test): New tests.
29171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29174 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29177 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29180 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29181 [POSIX] (EADDRNOTAVAIL): Likewise.
29182 [POSIX] (EAFNOSUPPORT): Likewise.
29183 [POSIX] (EALREADY): Likewise.
29184 [POSIX] (ECONNABORTED): Likewise.
29185 [POSIX] (ECONNREFUSED): Likewise.
29186 [POSIX] (ECONNRESET): Likewise.
29187 [POSIX] (EDESTADDRREQ): Likewise.
29188 [POSIX] (EDQUOT): Likewise.
29189 [POSIX] (EHOSTUNREACH): Likewise.
29190 [POSIX] (EIDRM): Likewise.
29191 [POSIX] (EISCONN): Likewise.
29192 [POSIX] (ELOOP): Likewise.
29193 [POSIX] (EMULTIHOP): Likewise.
29194 [POSIX] (ENETDOWN): Likewise.
29195 [POSIX] (ENETUNREACH): Likewise.
29196 [POSIX] (ENOBUFS): Likewise.
29197 [POSIX] (ENODATA): Likewise.
29198 [POSIX] (ENOLINK): Likewise.
29199 [POSIX] (ENOMSG): Likewise.
29200 [POSIX] (ENOPROTOOPT): Likewise.
29201 [POSIX] (ENOSR): Likewise.
29202 [POSIX] (ENOSTR): Likewise.
29203 [POSIX] (ENOTCONN): Likewise.
29204 [POSIX] (ENOTSOCK): Likewise.
29205 [POSIX] (EOPNOTSUPP): Likewise.
29206 [POSIX] (EOVERFLOW): Likewise.
29207 [POSIX] (EPROTO): Likewise.
29208 [POSIX] (EPROTONOSUPPORT): Likewise.
29209 [POSIX] (EPROTOTYPE): Likewise.
29210 [POSIX] (ESTALE): Likewise.
29211 [POSIX] (ETIME): Likewise.
29212 [POSIX] (ETXTBSY): Likewise.
29213 [POSIX] (EWOULDBLOCK): Likewise.
29214 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29215 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29216 [POSIX] (SEEK_CUR): Likewise.
29217 [POSIX] (SEEK_END): Likewise.
29218 [POSIX || UNIX98] (mode_t): Do not require.
29219 [POSIX] (off_t): Likewise.
29220 [POSIX] (pid_t): Likewise.
29221 [POSIX] (sys/stat.h): Do not allow header.
29222 [POSIX] (unistd.h): Likewise.
29223 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29224 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29225 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29226 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29228 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29229 sigevent): Specify elements.
29230 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29232 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29233 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29235 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29236 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29237 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29238 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29239 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29240 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29241 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29242 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29243 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29244 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29245 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29246 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29247 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29248 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29250 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29252 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29254 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29256 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29257 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29258 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29259 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29260 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29261 Specify lower bound on value.
29262 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29263 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29264 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29265 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29266 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29267 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29268 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29269 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29271 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29273 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29274 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29275 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29276 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29277 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29278 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29279 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29280 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29281 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29282 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29283 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29284 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29285 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29286 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29287 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29288 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29290 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29292 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29293 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29294 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29295 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29296 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29297 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29299 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29300 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29301 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29302 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29303 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29304 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29305 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29307 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29308 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29309 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29310 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29311 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29312 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29313 specify as optional.
29314 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29315 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29316 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29317 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29318 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29319 [XPG3] (NL_LANGMAX): Likewise.
29320 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29321 [POSIX || XPG3] (NL_NMAX): Likewise.
29322 [POSIX || XPG3] (NL_SETMAX): Likewise.
29323 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29324 [XPG3] (NZERO): Likewise.
29325 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29326 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29327 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29328 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29329 (REG_ERANGE): Expect.
29330 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29332 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29333 Use (void) in prototype.
29334 [POSIX] (*_t): Allow.
29335 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29336 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29337 (WRDE_BADVAL): Expect.
29339 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29341 [XPG3 || XPG4] (O_RSYNC): Likewise.
29342 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29344 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29345 [XPG3 || XPG4] (sigqueue): Likewise.
29346 [XPG3 || XPG4] (sigtimedwait): Likewise.
29347 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29348 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29349 [XPG3 || XPG4] (vsnprintf): Likewise.
29350 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29352 [XPG3 || XPG4] (blksize_t): Likewise.
29353 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29355 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29356 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29357 [XPG3 || XPG4] (struct itimerspec): Likewise.
29358 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29359 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29360 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29361 [XPG3 || XPG4] (clockid_t): Likewise.
29362 [XPG3 || XPG4] (timer_t): Likewise.
29363 [XPG3 || XPG4] (clock_getres): Likewise.
29364 [XPG3 || XPG4] (clock_gettime): Likewise.
29365 [XPG3 || XPG4] (clock_settime): Likewise.
29366 [XPG3 || XPG4] (nanosleep): Likewise.
29367 [XPG3 || XPG4] (timer_create): Likewise.
29368 [XPG3 || XPG4] (timer_delete): Likewise.
29369 [XPG3 || XPG4] (timer_gettime): Likewise.
29370 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29371 [XPG3 || XPG4] (timer_settime): Likewise.
29372 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29373 [XPG3 || XPG4] (getlogin_r): Likewise.
29374 [XPG3 || XPG4] (pread): Likewise.
29375 [XPG3 || XPG4] (pthread_atfork): Likewise.
29376 [XPG3 || XPG4] (pwrite): Likewise.
29379 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29382 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29384 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29385 finalizing MALLSTREAM.
29387 * sysdeps/mach/hurd/syncfs.c: New file.
29389 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29392 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29393 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29394 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29395 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29396 (_nss_dns_gethostbyname4_r): Likewise.
29397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29398 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29400 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29403 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29405 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29407 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29408 * elf/cache.c (print_entry): Print ",AArch64" for
29411 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29412 * elf/cache.c (print_entry): Print ",hard-float" for
29415 2012-11-18 David S. Miller <davem@davemloft.net>
29417 With help from Joseph Myers.
29418 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29420 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29422 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29423 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29425 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29426 * math/libm-test.inc (y0_test): New tests.
29427 (y1_test): New tests.
29428 * sysdeps/i386/fpu/libm-test-ulps: Update.
29429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29432 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29434 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29436 * configure: Regenerated.
29438 2012-11-17 David S. Miller <davem@davemloft.net>
29441 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29442 nonzero exponents with absolute value below 0x1p-128 to +/-
29445 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29447 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29449 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29451 * posix/getconf-speclist.c: New file.
29452 * posix/posix-envs.def: Likewise.
29453 * posix/confstr.c (START_ENV_GROUP): New macro.
29454 (END_ENV_GROUP): Likewise.
29455 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29456 (KNOWN_PRESENT_ENV_STRING): Likewise.
29457 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29458 (UNKNOWN_ENVIRONMENT): Likewise.
29459 (confstr): Include posix-envs.def instead of handling
29460 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29461 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29462 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29463 (END_ENV_GROUP): Likewise.
29464 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29465 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29466 (UNKNOWN_ENVIRONMENT): Likewise.
29467 (__sysconf): Include posix-envs.def instead of handling associated
29468 cases directly here.
29469 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29470 preprocessing getconf-speclist.c rather than running getconf or
29471 generating empty file.
29473 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29475 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29477 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29480 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29482 2012-11-16 David S. Miller <davem@davemloft.net>
29484 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29485 smaller than LDBL_EPSILON/2.0L, just return xm1.
29487 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29489 * elf/tst-array1.c (init): Set constructor priority to 1000.
29490 (fini): Set destructor priority to 1000.
29491 * elf/tst-array2dep.c: Likewise.
29493 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29496 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29497 (_IO_new_file_xsputn): Also return EOF if none of the input
29498 data was written when overflow failed.
29499 * libio/iopadn.c (_IO_padn): Likewise.
29500 * libio/iowpadn.c (_IO_wpadn): Likewise.
29501 * stdio-common/tst-put-error.c: Add copyright notice.
29502 (do_test): Add case for printing padded string.
29503 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29504 _IO_padn returned error.
29505 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29506 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29509 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29511 * libio/libioP.h: Add comment note that the references to C++
29512 bits are now obsolete.
29514 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29516 * math/libm-test.inc (check_complex): Use asprintf.
29518 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29520 * debug/pcprofiledump.c (print_version): Update copyright year.
29521 * malloc/memusagestat.c (print_version): Likewise.
29523 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29526 * elf/Makefile (tests): Add tst-audit8.
29527 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29528 ($(objpfx)tst-audit8.out): New target.
29529 (tst-audit8-ENV): New variable.
29530 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29531 audit if l_reloc_result is NULL.
29532 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29533 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29534 * elf/tst-audit8.c: New file.
29536 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29538 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29539 * misc/Makefile (CFLAGS-select.c): Define.
29540 * posix/Makefile (CFLAGS-pause.c): Define.
29542 2012-11-13 David S. Miller <davem@davemloft.net>
29544 * crypt/Makefile: Move test targets after toplevel Rules
29545 inclusion. Grab any necessary sysdep routines when linking.
29546 * crypt/md5.c (md5_process_block): Remove define, we will always
29547 name it __md5_process_block.
29548 (md5_finish_ctx): Update md5_process_block call.
29549 (md5_stream): Likewise.
29550 (md5_process_bytes): Likewise.
29551 (md5_process_block): Rename to __md5_process_block and move to ...
29552 * crypt/md5-block.c: ... here.
29553 * crypt/sha256.c (sha256_process_block): Move to ...
29554 * crypt/sha256-block.c: ... here.
29555 * crypt/sha512.c (sha512_process_block): Move to ...
29556 * crypt/sha512-block.c: ... here.
29557 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29559 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29560 * sysdeps/sparc/sparc64/multiarch/Makefile
29561 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29563 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29564 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29566 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29567 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29568 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29569 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29570 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29571 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29572 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29573 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29574 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29576 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29577 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29579 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29581 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29583 * timezone/tzselect.ksh: Update from tzcode git revision
29584 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29585 * timezone/zdump.c: Likewise.
29586 * timezone/zic.c: Likewise.
29587 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29588 in TZVERSION setting, not $(PKGVERSION).
29589 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29590 REPORT_BUGS_TO settings.
29593 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29596 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29598 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29599 detection to immediately after _FP_ROUND().
29600 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29603 2012-11-11 David S. Miller <davem@davemloft.net>
29605 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29607 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29608 __close rather than their public counterparts.
29610 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29612 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29614 [UNIX98] (sem_timedwait): Do not expect.
29615 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29616 [XPG4 || UNIX98] (sockatmark): Do not expect.
29617 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29618 (clock_getcpuclockid): Do not expect.
29619 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29620 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29622 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29623 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29624 [UNIX98] (vwscanf): Likewise.
29625 [UNIX98] (vswscanf): Likewise.
29627 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29629 * timezone/version.h: Remove file.
29630 * timezone/README: Do not refer to version.h.
29631 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29632 $(objpfx)version.h.
29633 ($(objpfx)zdump.o): Likewise.
29634 ($(objpfx)version.h): New target.
29636 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29638 * timezone/README: Don't mention modification to tzselect.ksh.
29639 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29640 work on unmodified tzselect.ksh. Substitute version numbers in
29643 * Makefile (format-me): Remove.
29644 (INSTALL): Adjust indentation. Use commands directly instead of
29645 using $(format-me).
29647 * aclocal.m4 (ACX_PKGVERSION): New macro.
29648 (ACX_BUGURL): Likewise.
29649 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29650 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29651 (REPORT_BUGS_TO): Likewise.
29652 * configure: Regenerated.
29653 * config.h.in (PKGVERSION): New macro.
29654 (REPORT_BUGS_TO): Likewise.
29655 * config.make.in (PKGVERSION): New variable.
29656 (PKGVERSION_TEXI): Likewise.
29657 (REPORT_BUGS_TO): Likewise.
29658 (REPORT_BUGS_TEXI): Likewise.
29659 * Makefile (format-me): Use -I$(common-objpfx)manual.
29660 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29661 ($(common-objpfx)manual/%): New target.
29662 (manual/%): Remove target.
29663 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29664 (print_version): Use PKGVERSION.
29665 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29666 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29667 and REPORT_BUGS_TO.
29668 ($(objpfx)xtrace): Likewise.
29669 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29670 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29671 (print_version): Use PKGVERSION.
29672 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29673 (do_version): Use PKGVERSION.
29674 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29676 (common-ldd-rewrite): Likewise.
29677 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29678 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29679 (print_version): Use PKGVERSION.
29680 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29681 * elf/pldd.c (argp_program_bug_address): Remove variable.
29682 (more_help): New function.
29683 (argp): Use more_help.
29684 (print_version): Use PKGVERSION.
29685 * elf/sln.c (main): Use PKGVERSION.
29686 (usage): Use REPORT_BUGS_TO.
29687 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29688 (top level): Use PKGVERSION.
29689 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29690 (print_version): Use PKGVERSION.
29691 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29692 (print_version): Use PKGVERSION.
29693 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29694 (print_version): Use PKGVERSION.
29695 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29696 (print_version): Use PKGVERSION.
29697 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29698 (print_version): Use PKGVERSION.
29699 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29700 (print_version): Use PKGVERSION.
29701 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29703 ($(objpfx)memusage): Likewise.
29704 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29705 (do_version): Use PKGVERSION.
29706 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29707 (print_version): Use PKGVERSION.
29708 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29709 ($PKGVERSION): New variable.
29710 ($REPORT_BUGS_TO): Likewise.
29711 (usage): Use $REPORT_BUGS_TO.
29712 (top level): Use $PKGVERSION.
29713 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29714 ($(objpfx)pkgvers.texi): New rule.
29715 ($(objpfx)stamp-pkgvers): Likewise.
29716 * manual/install.texi: Include pkgvers.texi.
29717 (--with-pkgversion): Document new configure option.
29718 (--with-bugurl): Likewise.
29719 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29720 than necessarily for this particular distribution. Use
29721 REPORT_BUGS_TO for where to report bugs.
29722 * INSTALL: Regenerated.
29723 * manual/libc.texinfo: Include pkgvers.texi.
29724 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29725 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29726 (print_version): Use PKGVERSION.
29727 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29728 (print_version): Use PKGVERSION.
29729 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29730 (print_version): Use PKGVERSION.
29731 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29732 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29734 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29735 (print_version): Use PKGVERSION.
29736 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29737 (print_version): Use PKGVERSION.
29738 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29741 * timezone/checktab.awk: Update from tzcode 2012i.
29742 * timezone/ialloc.c: Likewise.
29743 * timezone/private.h: Likewise.
29744 * timezone/scheck.c: Likewise.
29745 * timezone/tzfile.h: Likewise.
29746 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29747 (TZVERSION): Hardcode tzcode version number.
29748 * timezone/zdump.c: Update from tzcode 2012i.
29749 * timezone/zic.c: Likewise.
29750 * timezone/version.h: New file.
29751 * timezone/README: Describe version.h. Update upstream location.
29754 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29755 (mktemp): Enable declaration.
29756 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29757 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29758 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29759 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29761 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29763 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29765 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29767 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29773 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29774 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29775 for copies of such integer values.
29776 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29777 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29779 2012-11-09 Andreas Jaeger <aj@suse.de>
29781 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29782 definitions and declarations that are provided by
29783 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29785 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29787 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29788 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29789 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29792 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29794 * elf/elf.h: Update comment before AArch64 relocations.
29796 2012-11-07 David S. Miller <davem@davemloft.net>
29798 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29799 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29800 (__start_context): Declare.
29801 (__makecontext_ret): Delete.
29802 (__makecontext): Hook up __start_context instead of
29804 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29805 (sysdep_routines): Add __start_context when in stdlib.
29807 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29809 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29810 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29811 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29813 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29814 (READELF): New variable. Use it instead of hardcoded "readelf".
29816 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29818 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29819 * sysdeps/x86/Makefile: Here.
29820 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29821 * sysdeps/x86/tst-xmmymm.sh: This.
29823 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29825 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29827 [UNIX98] (pthread_barrier_t): Do not expect.
29828 [UNIX98] (pthread_barrierattr_t): Likewise.
29829 [UNIX98] (pthread_spinlock_t): Likewise.
29830 [UNIX98] (pthread_barrier_destroy): Likewise.
29831 [UNIX98] (pthread_barrier_init): Likewise.
29832 [UNIX98] (pthread_barrier_wait): Likewise.
29833 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29834 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29835 [UNIX98] (pthread_barrierattr_init): Likewise.
29836 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29837 [UNIX98] (pthread_getcpuclockid): Likewise.
29838 [UNIX98] (pthread_mutex_timedlock): Likewise.
29839 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29840 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29841 [UNIX98] (pthread_sigmask): Likewise.
29842 [UNIX98] (pthread_spin_destroy): Likewise.
29843 [UNIX98] (pthread_spin_init): Likewise.
29844 [UNIX98] (pthread_spin_lock): Likewise.
29845 [UNIX98] (pthread_spin_trylock): Likewise.
29846 [UNIX98] (pthread_spin_unlock): Likewise.
29847 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29849 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29850 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29851 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29852 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29853 [XPG3 || XPG4] (pthread_key_t): Likewise.
29854 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29855 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29856 [XPG3 || XPG4] (pthread_once_t): Likewise.
29857 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29858 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29859 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29860 [XPG3 || XPG4] (pthread_t): Likewise.
29862 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29864 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29866 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29867 Change function return type to int.
29869 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29870 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29871 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29872 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29873 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29874 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29875 [!POSIX] (posix_madvise): Likewise.
29876 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29878 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29879 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29880 (mode_t): Likewise.
29881 (posix_mem_offset): Likewise.
29882 (posix_typed_mem_get_info): Likewise.
29883 (posix_typed_mem_open): Likewise.
29885 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29886 Change condition to [XOPEN2K8].
29888 * conform/conformtest.pl: Preprocess allow-header data with -x c
29889 instead of from stdin.
29890 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29891 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29892 [C99-based standards] (cerfc): Likewise.
29893 [C99-based standards] (cexp2): Likewise.
29894 [C99-based standards] (cexpm1): Likewise.
29895 [C99-based standards] (clog10): Likewise.
29896 [C99-based standards] (clog1p): Likewise.
29897 [C99-based standards] (clog2): Likewise.
29898 [C99-based standards] (clgamma): Likewise.
29899 [C99-based standards] (ctgamma): Likewise.
29900 [C99-based standards] (cerff): Likewise.
29901 [C99-based standards] (cerfcf): Likewise.
29902 [C99-based standards] (cexp2f): Likewise.
29903 [C99-based standards] (cexpm1f): Likewise.
29904 [C99-based standards] (clog10f): Likewise.
29905 [C99-based standards] (clog1pf): Likewise.
29906 [C99-based standards] (clog2f): Likewise.
29907 [C99-based standards] (clgammaf): Likewise.
29908 [C99-based standards] (ctgammaf): Likewise.
29909 [C99-based standards] (cerfl): Likewise.
29910 [C99-based standards] (cerfcl): Likewise.
29911 [C99-based standards] (cexp2l): Likewise.
29912 [C99-based standards] (cexpm1l): Likewise.
29913 [C99-based standards] (clog10l): Likewise.
29914 [C99-based standards] (clog1pl): Likewise.
29915 [C99-based standards] (clog2l): Likewise.
29916 [C99-based standards] (clgammal): Likewise.
29917 [C99-based standards] (ctgammal): Likewise.
29918 * conform/data/inttypes.h-data [C99-based standards]: Include
29919 stdint.h-data. Remove all expectations for stdint.h contents.
29920 [C99-based standards] (PRI*): Do not allow.
29921 [C99-based standards] (SCN*): Likewise.
29922 [C99-based standards] (*_t): Likewise.
29923 [C99-based-standards] (PRId8): Expect macro.
29924 [C99-based-standards] (PRIi8): Likewise.
29925 [C99-based-standards] (PRIo8): Likewise.
29926 [C99-based-standards] (PRIu8): Likewise.
29927 [C99-based-standards] (PRIx8): Likewise.
29928 [C99-based-standards] (PRIX8): Likewise.
29929 [C99-based-standards] (SCNd8): Likewise.
29930 [C99-based-standards] (SCNi8): Likewise.
29931 [C99-based-standards] (SCNo8): Likewise.
29932 [C99-based-standards] (SCNu8): Likewise.
29933 [C99-based-standards] (SCNx8): Likewise.
29934 [C99-based-standards] (PRIdLEAST8): Likewise.
29935 [C99-based-standards] (PRIiLEAST8): Likewise.
29936 [C99-based-standards] (PRIoLEAST8): Likewise.
29937 [C99-based-standards] (PRIuLEAST8): Likewise.
29938 [C99-based-standards] (PRIxLEAST8): Likewise.
29939 [C99-based-standards] (PRIXLEAST8): Likewise.
29940 [C99-based-standards] (SCNdLEAST8): Likewise.
29941 [C99-based-standards] (SCNiLEAST8): Likewise.
29942 [C99-based-standards] (SCNoLEAST8): Likewise.
29943 [C99-based-standards] (SCNuLEAST8): Likewise.
29944 [C99-based-standards] (SCNxLEAST8): Likewise.
29945 [C99-based-standards] (PRIdFAST8): Likewise.
29946 [C99-based-standards] (PRIiFAST8): Likewise.
29947 [C99-based-standards] (PRIoFAST8): Likewise.
29948 [C99-based-standards] (PRIuFAST8): Likewise.
29949 [C99-based-standards] (PRIxFAST8): Likewise.
29950 [C99-based-standards] (PRIXFAST8): Likewise.
29951 [C99-based-standards] (SCNdFAST8): Likewise.
29952 [C99-based-standards] (SCNiFAST8): Likewise.
29953 [C99-based-standards] (SCNoFAST8): Likewise.
29954 [C99-based-standards] (SCNuFAST8): Likewise.
29955 [C99-based-standards] (SCNxFAST8): Likewise.
29956 [C99-based-standards] (PRId16): Likewise.
29957 [C99-based-standards] (PRIi16): Likewise.
29958 [C99-based-standards] (PRIo16): Likewise.
29959 [C99-based-standards] (PRIu16): Likewise.
29960 [C99-based-standards] (PRIx16): Likewise.
29961 [C99-based-standards] (PRIX16): Likewise.
29962 [C99-based-standards] (SCNd16): Likewise.
29963 [C99-based-standards] (SCNi16): Likewise.
29964 [C99-based-standards] (SCNo16): Likewise.
29965 [C99-based-standards] (SCNu16): Likewise.
29966 [C99-based-standards] (SCNx16): Likewise.
29967 [C99-based-standards] (PRIdLEAST16): Likewise.
29968 [C99-based-standards] (PRIiLEAST16): Likewise.
29969 [C99-based-standards] (PRIoLEAST16): Likewise.
29970 [C99-based-standards] (PRIuLEAST16): Likewise.
29971 [C99-based-standards] (PRIxLEAST16): Likewise.
29972 [C99-based-standards] (PRIXLEAST16): Likewise.
29973 [C99-based-standards] (SCNdLEAST16): Likewise.
29974 [C99-based-standards] (SCNiLEAST16): Likewise.
29975 [C99-based-standards] (SCNoLEAST16): Likewise.
29976 [C99-based-standards] (SCNuLEAST16): Likewise.
29977 [C99-based-standards] (SCNxLEAST16): Likewise.
29978 [C99-based-standards] (PRIdFAST16): Likewise.
29979 [C99-based-standards] (PRIiFAST16): Likewise.
29980 [C99-based-standards] (PRIoFAST16): Likewise.
29981 [C99-based-standards] (PRIuFAST16): Likewise.
29982 [C99-based-standards] (PRIxFAST16): Likewise.
29983 [C99-based-standards] (PRIXFAST16): Likewise.
29984 [C99-based-standards] (SCNdFAST16): Likewise.
29985 [C99-based-standards] (SCNiFAST16): Likewise.
29986 [C99-based-standards] (SCNoFAST16): Likewise.
29987 [C99-based-standards] (SCNuFAST16): Likewise.
29988 [C99-based-standards] (SCNxFAST16): Likewise.
29989 [C99-based-standards] (PRId32): Likewise.
29990 [C99-based-standards] (PRIi32): Likewise.
29991 [C99-based-standards] (PRIo32): Likewise.
29992 [C99-based-standards] (PRIu32): Likewise.
29993 [C99-based-standards] (PRIx32): Likewise.
29994 [C99-based-standards] (PRIX32): Likewise.
29995 [C99-based-standards] (SCNd32): Likewise.
29996 [C99-based-standards] (SCNi32): Likewise.
29997 [C99-based-standards] (SCNo32): Likewise.
29998 [C99-based-standards] (SCNu32): Likewise.
29999 [C99-based-standards] (SCNx32): Likewise.
30000 [C99-based-standards] (PRIdLEAST32): Likewise.
30001 [C99-based-standards] (PRIiLEAST32): Likewise.
30002 [C99-based-standards] (PRIoLEAST32): Likewise.
30003 [C99-based-standards] (PRIuLEAST32): Likewise.
30004 [C99-based-standards] (PRIxLEAST32): Likewise.
30005 [C99-based-standards] (PRIXLEAST32): Likewise.
30006 [C99-based-standards] (SCNdLEAST32): Likewise.
30007 [C99-based-standards] (SCNiLEAST32): Likewise.
30008 [C99-based-standards] (SCNoLEAST32): Likewise.
30009 [C99-based-standards] (SCNuLEAST32): Likewise.
30010 [C99-based-standards] (SCNxLEAST32): Likewise.
30011 [C99-based-standards] (PRIdFAST32): Likewise.
30012 [C99-based-standards] (PRIiFAST32): Likewise.
30013 [C99-based-standards] (PRIoFAST32): Likewise.
30014 [C99-based-standards] (PRIuFAST32): Likewise.
30015 [C99-based-standards] (PRIxFAST32): Likewise.
30016 [C99-based-standards] (PRIXFAST32): Likewise.
30017 [C99-based-standards] (SCNdFAST32): Likewise.
30018 [C99-based-standards] (SCNiFAST32): Likewise.
30019 [C99-based-standards] (SCNoFAST32): Likewise.
30020 [C99-based-standards] (SCNuFAST32): Likewise.
30021 [C99-based-standards] (SCNxFAST32): Likewise.
30022 [C99-based-standards] (PRId64): Likewise.
30023 [C99-based-standards] (PRIi64): Likewise.
30024 [C99-based-standards] (PRIo64): Likewise.
30025 [C99-based-standards] (PRIu64): Likewise.
30026 [C99-based-standards] (PRIx64): Likewise.
30027 [C99-based-standards] (PRIX64): Likewise.
30028 [C99-based-standards] (SCNd64): Likewise.
30029 [C99-based-standards] (SCNi64): Likewise.
30030 [C99-based-standards] (SCNo64): Likewise.
30031 [C99-based-standards] (SCNu64): Likewise.
30032 [C99-based-standards] (SCNx64): Likewise.
30033 [C99-based-standards] (PRIdLEAST64): Likewise.
30034 [C99-based-standards] (PRIiLEAST64): Likewise.
30035 [C99-based-standards] (PRIoLEAST64): Likewise.
30036 [C99-based-standards] (PRIuLEAST64): Likewise.
30037 [C99-based-standards] (PRIxLEAST64): Likewise.
30038 [C99-based-standards] (PRIXLEAST64): Likewise.
30039 [C99-based-standards] (SCNdLEAST64): Likewise.
30040 [C99-based-standards] (SCNiLEAST64): Likewise.
30041 [C99-based-standards] (SCNoLEAST64): Likewise.
30042 [C99-based-standards] (SCNuLEAST64): Likewise.
30043 [C99-based-standards] (SCNxLEAST64): Likewise.
30044 [C99-based-standards] (PRIdFAST64): Likewise.
30045 [C99-based-standards] (PRIiFAST64): Likewise.
30046 [C99-based-standards] (PRIoFAST64): Likewise.
30047 [C99-based-standards] (PRIuFAST64): Likewise.
30048 [C99-based-standards] (PRIxFAST64): Likewise.
30049 [C99-based-standards] (PRIXFAST64): Likewise.
30050 [C99-based-standards] (SCNdFAST64): Likewise.
30051 [C99-based-standards] (SCNiFAST64): Likewise.
30052 [C99-based-standards] (SCNoFAST64): Likewise.
30053 [C99-based-standards] (SCNuFAST64): Likewise.
30054 [C99-based-standards] (SCNxFAST64): Likewise.
30055 [C99-based-standards] (PRIdMAX): Likewise.
30056 [C99-based-standards] (PRIiMAX): Likewise.
30057 [C99-based-standards] (PRIoMAX): Likewise.
30058 [C99-based-standards] (PRIuMAX): Likewise.
30059 [C99-based-standards] (PRIxMAX): Likewise.
30060 [C99-based-standards] (PRIXMAX): Likewise.
30061 [C99-based-standards] (SCNdMAX): Likewise.
30062 [C99-based-standards] (SCNiMAX): Likewise.
30063 [C99-based-standards] (SCNoMAX): Likewise.
30064 [C99-based-standards] (SCNuMAX): Likewise.
30065 [C99-based-standards] (SCNxMAX): Likewise.
30066 [C99-based-standards] (PRIdPTR): Likewise.
30067 [C99-based-standards] (PRIiPTR): Likewise.
30068 [C99-based-standards] (PRIoPTR): Likewise.
30069 [C99-based-standards] (PRIuPTR): Likewise.
30070 [C99-based-standards] (PRIxPTR): Likewise.
30071 [C99-based-standards] (PRIXPTR): Likewise.
30072 [C99-based-standards] (SCNdPTR): Likewise.
30073 [C99-based-standards] (SCNiPTR): Likewise.
30074 [C99-based-standards] (SCNoPTR): Likewise.
30075 [C99-based-standards] (SCNuPTR): Likewise.
30076 [C99-based-standards] (SCNxPTR): Likewise.
30077 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30079 * conform/data/stdint.h-data: Update comments to clarify
30081 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30083 [C99-based standards] (INT8_MAX): Likewise.
30084 [C99-based standards] (INT16_MIN): Likewise.
30085 [C99-based standards] (INT16_MAX): Likewise.
30086 [C99-based standards] (INT32_MIN): Likewise.
30087 [C99-based standards] (INT32_MAX): Likewise.
30088 [C99-based standards] (INT64_MIN): Likewise.
30089 [C99-based standards] (INT64_MAX): Likewise.
30090 [C99-based standards] (UINT8_MAX): Likewise.
30091 [C99-based standards] (UINT16_MAX): Likewise.
30092 [C99-based standards] (UINT32_MAX): Likewise.
30093 [C99-based standards] (UINT64_MAX): Likewise.
30094 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30095 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30096 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30097 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30098 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30099 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30100 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30101 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30102 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30103 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30104 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30105 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30106 [C99-based standards] (INT_FAST8_MIN): Likewise.
30107 [C99-based standards] (INT_FAST8_MAX): Likewise.
30108 [C99-based standards] (INT_FAST16_MIN): Likewise.
30109 [C99-based standards] (INT_FAST16_MAX): Likewise.
30110 [C99-based standards] (INT_FAST32_MIN): Likewise.
30111 [C99-based standards] (INT_FAST32_MAX): Likewise.
30112 [C99-based standards] (INT_FAST64_MIN): Likewise.
30113 [C99-based standards] (INT_FAST64_MAX): Likewise.
30114 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30115 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30116 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30117 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30118 [C99-based standards] (INTPTR_MIN): Likewise.
30119 [C99-based standards] (INTPTR_MAX): Likewise.
30120 [C99-based standards] (UINTPTR_MAX): Likewise.
30121 [C99-based standards] (INTMAX_MIN): Likewise.
30122 [C99-based standards] (INTMAX_MAX): Likewise.
30123 [C99-based standards] (UINTMAX_MAX): Likewise.
30124 [C99-based standards] (PTRDIFF_MIN): Likewise.
30125 [C99-based standards] (PTRDIFF_MAX): Likewise.
30126 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30127 [C99-based standards] (SIZE_MAX): Likewise.
30128 [C99-based standards] (WCHAR_MAX): Likewise.
30129 [C99-based standards] (WINT_MAX): Likewise.
30130 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30131 constraint on value.
30132 [C99-based standards] (WCHAR_MIN): Likewise.
30133 [C99-based standards] (WINT_MIN): Likewise.
30134 [C99-based standards] (*_t): Allow.
30135 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30136 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30137 Include math.h-data and complex.h-data. Remove all expectations
30138 of math.h and complex.h contents.
30139 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30141 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30142 (struct tm): Expect tag.
30143 [C99-based-standards] (wcstof): Expect function.
30144 [C99-based-standards] (wcstold): Likewise.
30145 [C99-based-standards] (wcstoll): Likewise.
30146 [C99-based-standards] (wcstoull): Likewise.
30147 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30148 macro-int-constant. Specify type.
30149 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30150 constraint on value.
30151 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30153 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30155 [ISO C standards]: Do not allow headers.
30156 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30157 wcs[abcdefghijklmnopqrstuvwxyz]*.
30158 [ISO C standards] (*_t): Do not allow.
30159 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30161 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30162 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30164 [ISO C standards]: Do not allow headers.
30165 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30166 is[abcdefghijklmnopqrstuvwxyz]*.
30167 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30168 to[abcdefghijklmnopqrstuvwxyz]*.
30169 [ISO C standards] (*_t): Do not allow.
30170 * conform/data/stdalign.h-data: New file.
30171 * conform/data/stdbool.h-data: Likewise.
30172 * conform/data/stdnoreturn.h-data: Likewise.
30174 2012-11-07 Roland McGrath <roland@hack.frob.com>
30177 * manual/filesys.texi (Directory Entries): Typo fix.
30178 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30180 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30182 * elf/elf.h (EM_AARCH64): New macro.
30183 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30184 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30185 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30186 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30187 (R_AARCH64_TLSDESC): Likewise.
30188 (NT_ARM_TLS): Likewise.
30189 (NT_ARM_HW_BREAK): Likewise.
30190 (NT_ARM_HW_WATCH): Likewise.
30192 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30195 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30196 (__ieee754_powl): Saturate nonzero exponents with absolute value
30197 below 0x1p-79 to +/- 0x1p-79.
30198 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30199 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30200 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30201 nonzero exponents with absolute value below 0x1p-32 to +/-
30203 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30204 (__ieee754_powl): Saturate nonzero exponents with absolute value
30205 below 0x1p-79 to +/- 0x1p-79.
30206 * math/libm-test.inc (pow_test): Add more tests.
30208 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30210 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30211 _dl_s390_cap_flags with kernel. Increase string length.
30212 (_dl_s390_platforms): Add z196 and zEC12.
30214 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30216 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30217 Change XOPEN21K to XOPEN2K.
30219 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30221 * string/memmove.c: Use memcpy when possible.
30223 2012-11-06 Andreas Jaeger <aj@suse.de>
30225 * po/eo.po: Update from translation team.
30227 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30231 exponent and small x and y exponents, scale x or y up. Increase
30232 by 2 the exponent used in scaling up.
30233 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30234 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30235 * math/libm-test.inc (fma_test): Add more tests.
30236 (fma_test_towardzero): Likewise.
30237 (fma_test_downward): Likewise.
30238 (fma_test_upward): Likewise.
30240 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30243 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30247 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30248 namespace for names of struct fields.
30249 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30251 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30252 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30254 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30257 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30259 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30261 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30265 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30268 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30272 definitely overflow as x * y not x * y + z.
30273 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30274 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30275 * math/libm-test.inc (fma_test): Add more tests.
30276 (fma_test_towardzero): Likewise.
30277 (fma_test_downward): Likewise.
30278 (fma_test_upward): Likewise.
30280 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30284 * include/stub-tag.h: Remove file.
30285 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30287 * manual/maint.texi (Porting): Don't reference it.
30288 * Makerules ($(objpfx)stubs): Likewise.
30289 * dirent/closedir.c: Don't include <stub-tag.h>.
30290 * dirent/dirfd.c: Likewise.
30291 * dirent/fdopendir.c: Likewise.
30292 * dirent/getdents.c: Likewise.
30293 * dirent/getdents64.c: Likewise.
30294 * dirent/opendir.c: Likewise.
30295 * dirent/readdir.c: Likewise.
30296 * dirent/readdir64.c: Likewise.
30297 * dirent/readdir64_r.c: Likewise.
30298 * dirent/readdir_r.c: Likewise.
30299 * dirent/rewinddir.c: Likewise.
30300 * dirent/seekdir.c: Likewise.
30301 * dirent/telldir.c: Likewise.
30302 * gmon/profil.c: Likewise.
30303 * grp/setgroups.c: Likewise.
30304 * inet/if_index.c: Likewise.
30305 * io/access.c: Likewise.
30306 * io/chdir.c: Likewise.
30307 * io/chmod.c: Likewise.
30308 * io/chown.c: Likewise.
30309 * io/close.c: Likewise.
30310 * io/dup.c: Likewise.
30311 * io/dup2.c: Likewise.
30312 * io/dup3.c: Likewise.
30313 * io/euidaccess.c: Likewise.
30314 * io/faccessat.c: Likewise.
30315 * io/fchdir.c: Likewise.
30316 * io/fchmod.c: Likewise.
30317 * io/fchmodat.c: Likewise.
30318 * io/fchown.c: Likewise.
30319 * io/fchownat.c: Likewise.
30320 * io/fcntl.c: Likewise.
30321 * io/flock.c: Likewise.
30322 * io/fstatfs.c: Likewise.
30323 * io/fstatfs64.c: Likewise.
30324 * io/fstatvfs.c: Likewise.
30325 * io/fstatvfs64.c: Likewise.
30326 * io/futimens.c: Likewise.
30327 * io/fxstat.c: Likewise.
30328 * io/fxstat64.c: Likewise.
30329 * io/fxstatat.c: Likewise.
30330 * io/fxstatat64.c: Likewise.
30331 * io/getcwd.c: Likewise.
30332 * io/isatty.c: Likewise.
30333 * io/lchmod.c: Likewise.
30334 * io/lchown.c: Likewise.
30335 * io/link.c: Likewise.
30336 * io/linkat.c: Likewise.
30337 * io/lseek.c: Likewise.
30338 * io/lseek64.c: Likewise.
30339 * io/lxstat64.c: Likewise.
30340 * io/mkdir.c: Likewise.
30341 * io/mkdirat.c: Likewise.
30342 * io/mkfifo.c: Likewise.
30343 * io/mkfifoat.c: Likewise.
30344 * io/open.c: Likewise.
30345 * io/open64.c: Likewise.
30346 * io/openat.c: Likewise.
30347 * io/openat64.c: Likewise.
30348 * io/pipe.c: Likewise.
30349 * io/pipe2.c: Likewise.
30350 * io/poll.c: Likewise.
30351 * io/posix_fadvise.c: Likewise.
30352 * io/posix_fadvise64.c: Likewise.
30353 * io/posix_fallocate.c: Likewise.
30354 * io/posix_fallocate64.c: Likewise.
30355 * io/read.c: Likewise.
30356 * io/readlink.c: Likewise.
30357 * io/readlinkat.c: Likewise.
30358 * io/rmdir.c: Likewise.
30359 * io/sendfile.c: Likewise.
30360 * io/sendfile64.c: Likewise.
30361 * io/statfs.c: Likewise.
30362 * io/statfs64.c: Likewise.
30363 * io/statvfs.c: Likewise.
30364 * io/statvfs64.c: Likewise.
30365 * io/symlink.c: Likewise.
30366 * io/symlinkat.c: Likewise.
30367 * io/ttyname.c: Likewise.
30368 * io/ttyname_r.c: Likewise.
30369 * io/umask.c: Likewise.
30370 * io/unlink.c: Likewise.
30371 * io/unlinkat.c: Likewise.
30372 * io/utime.c: Likewise.
30373 * io/utimensat.c: Likewise.
30374 * io/write.c: Likewise.
30375 * io/xmknod.c: Likewise.
30376 * io/xmknodat.c: Likewise.
30377 * io/xstat.c: Likewise.
30378 * io/xstat64.c: Likewise.
30379 * login/getpt.c: Likewise.
30380 * login/grantpt.c: Likewise.
30381 * login/unlockpt.c: Likewise.
30382 * math/e_acoshl.c: Likewise.
30383 * math/e_acosl.c: Likewise.
30384 * math/e_asinl.c: Likewise.
30385 * math/e_atan2l.c: Likewise.
30386 * math/e_atanhl.c: Likewise.
30387 * math/e_coshl.c: Likewise.
30388 * math/e_expl.c: Likewise.
30389 * math/e_fmodl.c: Likewise.
30390 * math/e_gammal_r.c: Likewise.
30391 * math/e_hypotl.c: Likewise.
30392 * math/e_j0l.c: Likewise.
30393 * math/e_j1l.c: Likewise.
30394 * math/e_jnl.c: Likewise.
30395 * math/e_lgammal_r.c: Likewise.
30396 * math/e_log10l.c: Likewise.
30397 * math/e_log2l.c: Likewise.
30398 * math/e_logl.c: Likewise.
30399 * math/e_powl.c: Likewise.
30400 * math/e_rem_pio2l.c: Likewise.
30401 * math/e_sinhl.c: Likewise.
30402 * math/e_sqrtl.c: Likewise.
30403 * math/fclrexcpt.c: Likewise.
30404 * math/fedisblxcpt.c: Likewise.
30405 * math/feenablxcpt.c: Likewise.
30406 * math/fegetenv.c: Likewise.
30407 * math/fegetexcept.c: Likewise.
30408 * math/fegetround.c: Likewise.
30409 * math/feholdexcpt.c: Likewise.
30410 * math/fesetenv.c: Likewise.
30411 * math/fesetround.c: Likewise.
30412 * math/feupdateenv.c: Likewise.
30413 * math/fgetexcptflg.c: Likewise.
30414 * math/fraiseexcpt.c: Likewise.
30415 * math/fsetexcptflg.c: Likewise.
30416 * math/ftestexcept.c: Likewise.
30417 * math/k_cosl.c: Likewise.
30418 * math/k_rem_pio2l.c: Likewise.
30419 * math/k_sinl.c: Likewise.
30420 * math/k_tanl.c: Likewise.
30421 * math/s_asinhl.c: Likewise.
30422 * math/s_atanl.c: Likewise.
30423 * math/s_cbrtl.c: Likewise.
30424 * math/s_erfl.c: Likewise.
30425 * math/s_expm1l.c: Likewise.
30426 * math/s_log1pl.c: Likewise.
30427 * math/s_tanhl.c: Likewise.
30428 * misc/acct.c: Likewise.
30429 * misc/brk.c: Likewise.
30430 * misc/chflags.c: Likewise.
30431 * misc/chroot.c: Likewise.
30432 * misc/fchflags.c: Likewise.
30433 * misc/fgetxattr.c: Likewise.
30434 * misc/flistxattr.c: Likewise.
30435 * misc/fremovexattr.c: Likewise.
30436 * misc/fsetxattr.c: Likewise.
30437 * misc/fsync.c: Likewise.
30438 * misc/ftruncate.c: Likewise.
30439 * misc/futimes.c: Likewise.
30440 * misc/futimesat.c: Likewise.
30441 * misc/getdomain.c: Likewise.
30442 * misc/getdtsz.c: Likewise.
30443 * misc/gethostid.c: Likewise.
30444 * misc/gethostname.c: Likewise.
30445 * misc/getloadavg.c: Likewise.
30446 * misc/getpagesize.c: Likewise.
30447 * misc/getsysstats.c: Likewise.
30448 * misc/getxattr.c: Likewise.
30449 * misc/gtty.c: Likewise.
30450 * misc/ioctl.c: Likewise.
30451 * misc/lgetxattr.c: Likewise.
30452 * misc/listxattr.c: Likewise.
30453 * misc/llistxattr.c: Likewise.
30454 * misc/lremovexattr.c: Likewise.
30455 * misc/lsetxattr.c: Likewise.
30456 * misc/lutimes.c: Likewise.
30457 * misc/madvise.c: Likewise.
30458 * misc/mincore.c: Likewise.
30459 * misc/mlock.c: Likewise.
30460 * misc/mlockall.c: Likewise.
30461 * misc/mmap.c: Likewise.
30462 * misc/mprotect.c: Likewise.
30463 * misc/msync.c: Likewise.
30464 * misc/munlock.c: Likewise.
30465 * misc/munlockall.c: Likewise.
30466 * misc/munmap.c: Likewise.
30467 * misc/preadv.c: Likewise.
30468 * misc/preadv64.c: Likewise.
30469 * misc/ptrace.c: Likewise.
30470 * misc/pwritev.c: Likewise.
30471 * misc/pwritev64.c: Likewise.
30472 * misc/readv.c: Likewise.
30473 * misc/reboot.c: Likewise.
30474 * misc/remap_file_pages.c: Likewise.
30475 * misc/removexattr.c: Likewise.
30476 * misc/revoke.c: Likewise.
30477 * misc/select.c: Likewise.
30478 * misc/setdomain.c: Likewise.
30479 * misc/setegid.c: Likewise.
30480 * misc/seteuid.c: Likewise.
30481 * misc/sethostid.c: Likewise.
30482 * misc/sethostname.c: Likewise.
30483 * misc/setregid.c: Likewise.
30484 * misc/setreuid.c: Likewise.
30485 * misc/setxattr.c: Likewise.
30486 * misc/sstk.c: Likewise.
30487 * misc/stty.c: Likewise.
30488 * misc/swapoff.c: Likewise.
30489 * misc/swapon.c: Likewise.
30490 * misc/sync.c: Likewise.
30491 * misc/syncfs.c: Likewise.
30492 * misc/syscall.c: Likewise.
30493 * misc/truncate.c: Likewise.
30494 * misc/ualarm.c: Likewise.
30495 * misc/usleep.c: Likewise.
30496 * misc/ustat.c: Likewise.
30497 * misc/utimes.c: Likewise.
30498 * misc/vhangup.c: Likewise.
30499 * misc/writev.c: Likewise.
30500 * posix/_exit.c: Likewise.
30501 * posix/alarm.c: Likewise.
30502 * posix/execve.c: Likewise.
30503 * posix/fexecve.c: Likewise.
30504 * posix/fork.c: Likewise.
30505 * posix/fpathconf.c: Likewise.
30506 * posix/getaddrinfo.c: Likewise.
30507 * posix/getegid.c: Likewise.
30508 * posix/geteuid.c: Likewise.
30509 * posix/getgid.c: Likewise.
30510 * posix/getgroups.c: Likewise.
30511 * posix/getlogin.c: Likewise.
30512 * posix/getlogin_r.c: Likewise.
30513 * posix/getpgid.c: Likewise.
30514 * posix/getpid.c: Likewise.
30515 * posix/getppid.c: Likewise.
30516 * posix/getresgid.c: Likewise.
30517 * posix/getresuid.c: Likewise.
30518 * posix/getsid.c: Likewise.
30519 * posix/getuid.c: Likewise.
30520 * posix/glob64.c: Likewise.
30521 * posix/nanosleep.c: Likewise.
30522 * posix/pathconf.c: Likewise.
30523 * posix/pause.c: Likewise.
30524 * posix/posix_madvise.c: Likewise.
30525 * posix/pread.c: Likewise.
30526 * posix/pread64.c: Likewise.
30527 * posix/pwrite.c: Likewise.
30528 * posix/pwrite64.c: Likewise.
30529 * posix/sched_getaffinity.c: Likewise.
30530 * posix/sched_getp.c: Likewise.
30531 * posix/sched_gets.c: Likewise.
30532 * posix/sched_primax.c: Likewise.
30533 * posix/sched_primin.c: Likewise.
30534 * posix/sched_rr_gi.c: Likewise.
30535 * posix/sched_setaffinity.c: Likewise.
30536 * posix/sched_setp.c: Likewise.
30537 * posix/sched_sets.c: Likewise.
30538 * posix/sched_yield.c: Likewise.
30539 * posix/setgid.c: Likewise.
30540 * posix/setlogin.c: Likewise.
30541 * posix/setpgid.c: Likewise.
30542 * posix/setresgid.c: Likewise.
30543 * posix/setresuid.c: Likewise.
30544 * posix/setsid.c: Likewise.
30545 * posix/setuid.c: Likewise.
30546 * posix/sleep.c: Likewise.
30547 * posix/spawni.c: Likewise.
30548 * posix/sysconf.c: Likewise.
30549 * posix/times.c: Likewise.
30550 * posix/wait.c: Likewise.
30551 * posix/wait3.c: Likewise.
30552 * posix/wait4.c: Likewise.
30553 * posix/waitpid.c: Likewise.
30554 * resolv/gai_sigqueue.c: Likewise.
30555 * resource/getpriority.c: Likewise.
30556 * resource/getrlimit.c: Likewise.
30557 * resource/getrusage.c: Likewise.
30558 * resource/nice.c: Likewise.
30559 * resource/setpriority.c: Likewise.
30560 * resource/setrlimit.c: Likewise.
30561 * resource/ulimit.c: Likewise.
30562 * rt/aio_cancel.c: Likewise.
30563 * rt/aio_fsync.c: Likewise.
30564 * rt/aio_read.c: Likewise.
30565 * rt/aio_sigqueue.c: Likewise.
30566 * rt/aio_suspend.c: Likewise.
30567 * rt/aio_write.c: Likewise.
30568 * rt/clock_getres.c: Likewise.
30569 * rt/clock_gettime.c: Likewise.
30570 * rt/clock_nanosleep.c: Likewise.
30571 * rt/clock_settime.c: Likewise.
30572 * rt/lio_listio.c: Likewise.
30573 * rt/mq_close.c: Likewise.
30574 * rt/mq_getattr.c: Likewise.
30575 * rt/mq_notify.c: Likewise.
30576 * rt/mq_open.c: Likewise.
30577 * rt/mq_receive.c: Likewise.
30578 * rt/mq_send.c: Likewise.
30579 * rt/mq_setattr.c: Likewise.
30580 * rt/mq_timedreceive.c: Likewise.
30581 * rt/mq_timedsend.c: Likewise.
30582 * rt/mq_unlink.c: Likewise.
30583 * rt/shm_open.c: Likewise.
30584 * rt/shm_unlink.c: Likewise.
30585 * rt/timer_create.c: Likewise.
30586 * rt/timer_delete.c: Likewise.
30587 * rt/timer_getoverr.c: Likewise.
30588 * rt/timer_gettime.c: Likewise.
30589 * rt/timer_settime.c: Likewise.
30590 * setjmp/__longjmp.c: Likewise.
30591 * setjmp/setjmp.c: Likewise.
30592 * signal/kill.c: Likewise.
30593 * signal/killpg.c: Likewise.
30594 * signal/raise.c: Likewise.
30595 * signal/sigaction.c: Likewise.
30596 * signal/sigaltstack.c: Likewise.
30597 * signal/sigblock.c: Likewise.
30598 * signal/sigignore.c: Likewise.
30599 * signal/sigintr.c: Likewise.
30600 * signal/signal.c: Likewise.
30601 * signal/sigpause.c: Likewise.
30602 * signal/sigpending.c: Likewise.
30603 * signal/sigqueue.c: Likewise.
30604 * signal/sigreturn.c: Likewise.
30605 * signal/sigset.c: Likewise.
30606 * signal/sigsetmask.c: Likewise.
30607 * signal/sigstack.c: Likewise.
30608 * signal/sigsuspend.c: Likewise.
30609 * signal/sigtimedwait.c: Likewise.
30610 * signal/sigvec.c: Likewise.
30611 * signal/sigwait.c: Likewise.
30612 * signal/sigwaitinfo.c: Likewise.
30613 * signal/sysv_signal.c: Likewise.
30614 * socket/accept.c: Likewise.
30615 * socket/accept4.c: Likewise.
30616 * socket/bind.c: Likewise.
30617 * socket/connect.c: Likewise.
30618 * socket/getpeername.c: Likewise.
30619 * socket/getsockname.c: Likewise.
30620 * socket/getsockopt.c: Likewise.
30621 * socket/isfdtype.c: Likewise.
30622 * socket/listen.c: Likewise.
30623 * socket/recv.c: Likewise.
30624 * socket/recvfrom.c: Likewise.
30625 * socket/recvmsg.c: Likewise.
30626 * socket/send.c: Likewise.
30627 * socket/sendmsg.c: Likewise.
30628 * socket/sendto.c: Likewise.
30629 * socket/setsockopt.c: Likewise.
30630 * socket/shutdown.c: Likewise.
30631 * socket/sockatmark.c: Likewise.
30632 * socket/socket.c: Likewise.
30633 * socket/socketpair.c: Likewise.
30634 * stdio-common/ctermid.c: Likewise.
30635 * stdio-common/cuserid.c: Likewise.
30636 * stdio-common/remove.c: Likewise.
30637 * stdio-common/rename.c: Likewise.
30638 * stdio-common/renameat.c: Likewise.
30639 * stdio-common/tempname.c: Likewise.
30640 * stdlib/getcontext.c: Likewise.
30641 * stdlib/makecontext.c: Likewise.
30642 * stdlib/setcontext.c: Likewise.
30643 * stdlib/swapcontext.c: Likewise.
30644 * stdlib/system.c: Likewise.
30645 * streams/fattach.c: Likewise.
30646 * streams/fdetach.c: Likewise.
30647 * streams/getmsg.c: Likewise.
30648 * streams/getpmsg.c: Likewise.
30649 * streams/putmsg.c: Likewise.
30650 * streams/putpmsg.c: Likewise.
30651 * sysdeps/unix/bsd/getpt.c: Likewise.
30652 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30653 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30654 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30657 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30658 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30659 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30660 * sysvipc/msgctl.c: Likewise.
30661 * sysvipc/msgget.c: Likewise.
30662 * sysvipc/msgrcv.c: Likewise.
30663 * sysvipc/msgsnd.c: Likewise.
30664 * sysvipc/semctl.c: Likewise.
30665 * sysvipc/semget.c: Likewise.
30666 * sysvipc/semop.c: Likewise.
30667 * sysvipc/semtimedop.c: Likewise.
30668 * sysvipc/shmat.c: Likewise.
30669 * sysvipc/shmctl.c: Likewise.
30670 * sysvipc/shmdt.c: Likewise.
30671 * sysvipc/shmget.c: Likewise.
30672 * termios/tcdrain.c: Likewise.
30673 * termios/tcflow.c: Likewise.
30674 * termios/tcflush.c: Likewise.
30675 * termios/tcgetattr.c: Likewise.
30676 * termios/tcgetpgrp.c: Likewise.
30677 * termios/tcsendbrk.c: Likewise.
30678 * termios/tcsetattr.c: Likewise.
30679 * termios/tcsetpgrp.c: Likewise.
30680 * time/adjtime.c: Likewise.
30681 * time/clock.c: Likewise.
30682 * time/getitimer.c: Likewise.
30683 * time/gettimeofday.c: Likewise.
30684 * time/setitimer.c: Likewise.
30685 * time/settimeofday.c: Likewise.
30686 * time/stime.c: Likewise.
30687 * time/time.c: Likewise.
30689 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30691 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30694 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30696 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30698 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30701 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30702 FE_TONEAREST before applying Dekker multiplication and Knuth
30703 addition. Clear inexact exceptions and check for exact zero
30704 results afterwards.
30705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30707 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30708 * math/libm-test.inc (fma_test): Add more tests.
30709 (fma_test_towardzero): Likewise.
30710 (fma_test_downward): Likewise.
30711 (fma_test_upward): Likewise.
30712 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30714 (libc_fesetround): New macro.
30715 (libc_fesetroundf): Likewise.
30716 (libc_fesetroundl): Likewise.
30717 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30719 (libc_fesetround_387): Likewise.
30720 (libc_fesetroundf): New macro.
30721 (libc_fesetround): Likewise.
30722 (libc_fesetroundl): Likewise.
30723 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30725 (libc_fesetroundf): New macro.
30726 (libc_fesetround): Likewise.
30727 (libc_fesetroundl): Likewise.
30728 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30729 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30730 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30732 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30733 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30735 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30736 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30738 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30742 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30743 integer constant usable in #if and use that to give value to enum
30745 (FE_DIVBYZERO): Likewise.
30746 (FE_UNDERFLOW): Likewise.
30747 (FE_OVERFLOW): Likewise.
30748 (FE_INVALID): Likewise.
30749 (FE_INVALID_SNAN): Likewise.
30750 (FE_INVALID_ISI): Likewise.
30751 (FE_INVALID_IDI): Likewise.
30752 (FE_INVALID_ZDZ): Likewise.
30753 (FE_INVALID_IMZ): Likewise.
30754 (FE_INVALID_COMPARE): Likewise.
30755 (FE_INVALID_SOFTWARE): Likewise.
30756 (FE_INVALID_SQRT): Likewise.
30757 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30758 (FE_TONEAREST): Likewise.
30759 (FE_TOWARDZERO): Likewise.
30760 (FE_UPWARD): Likewise.
30761 (FE_DOWNWARD): Likewise.
30762 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30763 (FE_DIVBYZERO): Likewise.
30764 (FE_OVERFLOW): Likewise.
30765 (FE_UNDERFLOW): Likewise.
30766 (FE_INEXACT): Likewise.
30767 (FE_TONEAREST): Likewise.
30768 (FE_DOWNWARD): Likewise.
30769 (FE_UPWARD): Likewise.
30770 (FE_TOWARDZERO): Likewise.
30771 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30772 (FE_UNDERFLOW): Likewise.
30773 (FE_OVERFLOW): Likewise.
30774 (FE_DIVBYZERO): Likewise.
30775 (FE_INVALID): Likewise.
30776 (FE_TONEAREST): Likewise.
30777 (FE_TOWARDZERO): Likewise.
30778 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30779 (FE_OVERFLOW): Likewise.
30780 (FE_UNDERFLOW): Likewise.
30781 (FE_DIVBYZERO): Likewise.
30782 (FE_INEXACT): Likewise.
30783 (FE_TONEAREST): Likewise.
30784 (FE_TOWARDZERO): Likewise.
30785 (FE_UPWARD): Likewise.
30786 (FE_DOWNWARD): Likewise.
30787 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30788 (FE_DIVBYZERO): Likewise.
30789 (FE_OVERFLOW): Likewise.
30790 (FE_UNDERFLOW): Likewise.
30791 (FE_INEXACT): Likewise.
30792 (FE_TONEAREST): Likewise.
30793 (FE_DOWNWARD): Likewise.
30794 (FE_UPWARD): Likewise.
30795 (FE_TOWARDZERO): Likewise.
30797 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30799 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30801 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30803 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30804 commands. Quote $PWD.
30805 (blacklist_exports): Don't use remove_newlines. Replace "declare
30807 (remove_newlines): Remove.
30809 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30811 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30812 * stdlib/stdlib.h (atof): Moved to ...
30813 * include/bits/stdlib-float.h: Here. New file.
30814 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30815 * stdlib/bits/stdlib-float.h: New file.
30816 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30818 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30821 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30823 * conform/conformtest.pl (@headers): Add fenv.h.
30824 * conform/data/fenv.h-data: New file.
30825 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30826 include of <math/fenv.h>.
30828 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30829 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30830 && !UNIX98]. Enables tests for XOPEN2K8.
30831 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30832 POSIX2008]: Likewise.
30834 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30835 (struct rusage): Do not expect type or its members.
30838 * math/math.h (FP_NAN): Define macro to integer constant usable in
30839 #if and use that to give value to enum constant.
30840 (FP_INFINITE): Likewise.
30841 (FP_ZERO): Likewise.
30842 (FP_SUBNORMAL): Likewise.
30843 (FP_NORMAL): Likewise.
30845 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30847 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30848 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30851 2012-11-02 Roland McGrath <roland@hack.frob.com>
30853 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30854 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30855 autoconf-time if not.
30856 * configure.in: Remove AC_PREREQ.
30858 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30860 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30861 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30862 of the internal implementation.
30864 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30866 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30867 except include of <misc/sys/syslog.h>.
30869 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30872 function returns with a NULL context exit with zero.
30874 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30876 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30878 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30880 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30881 (run_program_cmd): This.
30882 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30883 (tst_langinfo): New variable. Use it.
30885 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30887 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30888 floating point opcodes.
30890 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30892 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30895 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30897 * sysdeps/mach/hurd/powerpc: Remove directory.
30898 * sysdeps/mach/powerpc: Likewise.
30900 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30902 * scripts/check-local-headers.sh: Ignore c++ headers.
30904 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30906 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30907 __libc_cleanup_region_start argument.
30909 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30914 x * y using scaling, not as x * y + z.
30915 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30917 * math/libm-test.inc (fma_test): Add more tests.
30918 (fma_test_towardzero): Likewise.
30919 (fma_test_downward): Likewise.
30920 (fma_test_upward): Likewise.
30922 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30924 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30926 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30928 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30931 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30933 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30935 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30942 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30945 Fix the order of the list for glibc 2.17.
30946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30949 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30953 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30956 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30957 for low part of x being zero before using __atanl (y).
30958 * math/libm-test.inc (atan2_test): Add another test.
30960 * manual/install.texi (Configuring and compiling): Document
30961 general use of test-wrapper and test-wrapper-env.
30962 * INSTALL: Regenerated.
30964 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30965 (__fma): Do not extract and scale down low bits on after-rounding
30966 systems when result rounded to normal precision would have normal
30968 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30969 (__fmal): Do not extract and scale down low bits on after-rounding
30970 systems when result rounded to normal precision would have normal
30972 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30973 (__fmal): Do not extract and scale down low bits on after-rounding
30974 systems when result rounded to normal precision would have normal
30976 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30978 (fma_test): Add more tests.
30979 (fma_test_towardzero): Likewise.
30980 (fma_test_downward): Likewise.
30981 (fma_test_upward): Likewise.
30983 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30985 * sysdeps/i386/tininess.h: Renamed to ...
30986 * sysdeps/x86/tininess.h: This.
30987 * sysdeps/x86_64/tininess.h: Removed.
30989 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30991 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30992 input. Use $(build-program-cmd).
30993 ($(objpfx)tst-array1-static.out): Likewise.
30994 ($(objpfx)tst-array2.out): Likewise.
30995 ($(objpfx)tst-array3.out): Likewise.
30996 ($(objpfx)tst-array4.out): Likewise.
30997 ($(objpfx)tst-array5.out): Likewise.
30998 ($(objpfx)tst-array5-static.out): Likewise.
31000 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31002 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31005 * nss/nsswitch.h (nss_interface_function): Provide new
31006 macro for use with NSS functions.
31007 * grp/initgroups.c: Use new macro.
31008 * nss/getXXbyYY.c: Likewise.
31009 * nss/getXXbyYY_r.c: Likewise.
31010 * nss/getXXent.c: Likewise.
31011 * nss/getXXent_r.c: Likewise.
31012 * sysdeps/posix/getaddrinfo.c: Likewise.
31014 2012-10-30 Andreas Jaeger <aj@suse.de>
31016 * po/ru.po: Update Russion translation from translation project.
31018 2012-10-30 Joseph Myers <joseph@codesourcery.com>
31022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31023 result and shift together with sticky bit instead of replicating
31024 round-to-nearest rounding.
31025 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31026 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31027 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31028 missing underflow exceptions.
31029 (fma_test_towardzero): Add more tests.
31030 (fma_test_downward): Likewise.
31031 (fma_test_upward): Likewise.
31034 * sysdeps/generic/tininess.h: New file.
31035 * sysdeps/i386/tininess.h: Likewise.
31036 * sysdeps/sh/tininess.h: Likewise.
31037 * sysdeps/x86_64/tininess.h: Likewise.
31038 * stdlib/tst-strtod-underflow.c: Likewise.
31039 * stdlib/tst-tininess.c: Likewise.
31040 * stdlib/strtod_l.c: Include <tininess.h>.
31041 (round_and_return): Do not set errno for exact underflow cases.
31042 Force an underflow exception when setting errno for underflow.
31043 Determine underflow based on rounding to normal precision if
31044 TININESS_AFTER_ROUNDING.
31045 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31046 ERANGE for exact underflow cases.
31047 * stdlib/Makefile (tests): Add tst-tininess and
31048 tst-strtod-underflow.
31049 ($(objpfx)tst-tininess): Use $(link-libm).
31050 ($(objpfx)tst-strtod-underflow): Likewise.
31052 2012-10-30 Andreas Jaeger <aj@suse.de>
31055 * elf/Makefile (tests): Remove conditional for have-initfini-array
31056 since this is now always required and the variable does not exist
31058 (tests-static): Likewise.
31059 (modules-names): Likewise.
31061 * po/eo.po: Add Esperanto translation from translation project.
31063 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31064 merged with constructor/destructor.
31065 (init_array): Likewise.
31066 * elf/tst-array2dep.c (fini_array): Likewise.
31067 (init_array): Likewise.
31069 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31071 * manual/message.texi: Delete @cartouche tags.
31073 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31075 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31077 * sysdeps/mach/hurd/fsync.c: Likewise.
31079 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31080 [_POSIX_REALTIME_SIGNALS]: Change condition to
31081 [_POSIX_REALTIME_SIGNALS > 0].
31083 2012-10-27 Andreas Jaeger <aj@suse.de>
31085 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31086 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31088 [__WORDSIZE != 64]: Likewise.
31090 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31092 * iconvdata/tst-table.sh: Remove ${SHELL}.
31093 * iconvdata/tst-tables.sh: Likewise.
31095 2012-10-25 David S. Miller <davem@davemloft.net>
31097 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31098 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31104 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31105 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31108 2012-10-25 Roland McGrath <roland@hack.frob.com>
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31111 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31114 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31115 Jim Blandy <jimb@codesourcery.com>
31117 * scripts/cross-test-ssh.sh: New file.
31118 * manual/install.texi (Configuring and compiling): Document use of
31120 * INSTALL: Regenerated.
31122 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31124 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31127 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31129 * Makeconfig (run-program-prefix): Fix comment.
31131 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31132 Jim Blandy <jimb@codesourcery.com>
31134 * Makeconfig (test-wrapper): New variable,
31135 (test-wrapper-env): Likewise.
31136 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31137 (run-built-tests): Define to yes.
31138 (run-program-prefix): Use $(test-wrapper).
31139 (built-program-cmd): Likewise.
31140 * Rules (make-test-out): Use $(test-wrapper-env) and
31141 $(host-built-program-cmd).
31142 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31143 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31145 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31146 $(test-wrapper-env) to tst-rtld-load-self.sh.
31147 ($(objpfx)order2.out): Use $(test-wrapper).
31148 ($(objpfx)tst-initorder.out): Likewise.
31149 ($(objpfx)tst-initorder2.out): Likewise.
31150 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31151 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31152 (test_wrapper_env): New variable. Use it to run ld.so.
31153 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31154 Use it to run ld.so.
31155 (test_wrapper_env): Likewise.
31156 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31157 $(test-wrapper) to run-iconv-test.sh.
31158 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31159 (ICONV): Use $test_wrapper.
31160 * posix/Makefile ($(objpfx)globtest.out): Pass
31161 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31162 globtest.sh, not $(run-program-prefix).
31163 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31164 (test_wrapper): Likewise.
31165 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31166 set together with run_via_rtld_prefix.
31167 (run_program_prefix): Define in terms of test_wrapper and
31168 run_via_rtld_prefix.
31170 2012-10-24 Roland McGrath <roland@hack.frob.com>
31172 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31173 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31177 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31178 Declare __clock_getres, __clock_gettime, __clock_settime,
31179 __clock_nanosleep, and __clock_getcpuclockid.
31180 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31181 Remove librt_hidden_def (clock_gettime).
31182 * sysdeps/unix/clock_gettime.c: Likewise.
31183 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31184 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31185 * rt/clock_getres.c: Define __clock_getres as an alias.
31186 * sysdeps/posix/clock_getres.c: Likewise.
31187 * rt/clock_settime.c: Define __clock_settime as an alias.
31188 * sysdeps/unix/clock_settime.c: Likewise.
31189 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31190 * sysdeps/unix/clock_nanosleep.c: Likewise.
31191 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31192 * rt/clock-compat.c: New file.
31193 * rt/Makefile (librt-routines): Add clock-compat and move
31194 $(clock-routines) to ...
31195 (routines): ... here, new variable.
31196 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31197 Don't add get_clockfreq here.
31198 * rt/Versions (libc: GLIBC_2.17): New version set.
31199 Add clock_* symbols here.
31200 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31201 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31202 (GLIBC_2.17): Add clock_* symbols.
31203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31205 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31214 * NEWS: Mention the move.
31216 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31217 Use __open, __read, __close rather than their public counterparts.
31218 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31219 (__get_clockfreq_via_cpuinfo): Likewise.
31220 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31221 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31223 * config.h.in (HAVE_IFUNC): New #undef.
31224 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31226 * configure: Regenerated.
31228 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31230 * configure.in: Move READELF check to start of file.
31231 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31232 libc_cv_asm_gnu_indirect_function in the process.
31233 * configure: Regenerated.
31235 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31237 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31238 send the output to /dev/null.
31239 (libc_cv_cc_with_libunwind): Likewise.
31240 (libc_cv_as_noexecstack): Likewise.
31241 * configure: Regenerate.
31243 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31245 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31247 * posix/globtest.sh (TMPDIR): Do not set.
31248 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31249 (testout): Likewise.
31251 2012-10-24 Andreas Jaeger <aj@suse.de>
31253 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31254 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31255 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31256 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31257 posix_fadvise64, posix_fallocate64.
31259 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31260 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31261 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31263 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31265 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31268 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31269 <bits/fcntl-linux.h>.
31270 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31273 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31274 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31275 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31276 [__WORDSIZE != 64]: Likewise.
31278 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31280 * Makeconfig (run-built-tests): New variable.
31281 * Rules [$(cross-compiling) = yes]: Change condition to
31282 [$(run-built-tests) = no].
31283 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31284 to [$(run-built-tests) = yes].
31285 * elf/Makefile [$(cross-compiling) = no]: Likewise
31286 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31287 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31288 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31289 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31290 * io/Makefile [$(cross-compiling) = no]: Likewise.
31291 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31292 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31293 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31294 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31295 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31296 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31297 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31298 * string/Makefile [$(cross-compiling) = no]: Likewise.
31300 * posix/Makefile ($(objpfx)globtest.out): Pass
31301 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31302 $(rtld-installed-name).
31303 * posix/globtest.sh (elf_objpfx): Remove variable.
31304 (rtld_installed_name): Likewise.
31305 (library_path): Likewise.
31306 (run_program_prefix): New variable. Use for running globtest
31309 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31310 Joseph Myers <joseph@codesourcery.com>
31312 * Makeconfig (host-built-program-cmd): New variable.
31313 * elf/Makefile (tst-stackguard1-ARGS): Use
31314 $(host-built-program-cmd).
31315 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31316 (tst-spawn-ARGS): Likewise.
31317 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31319 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31320 Jim Blandy <jimb@codesourcery.com>
31322 * Makeconfig (run-via-rtld-prefix): New variable.
31323 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31324 (built-program-cmd): Likewise.
31326 2012-10-22 Andreas Jaeger <aj@suse.de>
31328 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31329 __O_RSYNC if it exists, otherwise to O_SYNC.
31331 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31332 Joseph Myers <joseph@codesourcery.com>
31334 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31336 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31338 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31341 2012-10-22 Andreas Jaeger <aj@suse.de>
31343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31348 bits/fcntl-linux.h.
31350 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31351 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31358 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31359 Joseph Myers <joseph@codesourcery.com>
31361 * config.make.in (NM): New variable.
31363 2012-10-21 Andreas Jaeger <aj@suse.de>
31365 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31366 definitions and declarations that are provided by
31367 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31369 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31372 * elf/Makefile (tests-static): Add tst-leaks1-static.
31373 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31374 ($(objpfx)tst-leaks1-static): New rule.
31375 ($(objpfx)tst-leaks1-static-mem): Likewise.
31376 (tst-leaks1-static-ENV): New macro.
31377 * elf/dl-open.c (dl_open_worker): Check the main application
31378 only if SHARED is defined.
31379 * elf/tst-leaks1-static.c: New file.
31381 2012-10-20 Andreas Jaeger <aj@suse.de>
31383 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31384 generic values for Linux.
31385 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31386 and declarations that are provided by <bits/fcntl-linux.h> and
31387 include <bits/fcntl-linux.h>.
31388 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31389 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31391 2012-10-20 Roland McGrath <roland@hack.frob.com>
31393 * io/fcntl.h: Move include of <bits/types.h> to the top and
31394 include it unconditionally.
31396 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31398 * wcsmbs/Makefile (tests-ifunc): New variable.
31399 (tests): Add $(tests-ifunc).
31400 * wcsmbs/test-wcschr-ifunc.c: New file.
31401 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31402 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31403 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31404 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31405 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31407 * string/Makefile (tests-ifunc): New variable.
31408 (tests): Add $(tests-ifunc).
31409 * string/test-memccpy.c (TEST_NAME): New macro.
31410 * string/test-memchr.c (TEST_NAME): Likewise.
31411 * string/test-memcmp.c (TEST_NAME): Likewise.
31412 * string/test-memcpy.c (TEST_NAME): Likewise.
31413 * string/test-memmem.c (TEST_NAME): Likewise.
31414 * string/test-memmove.c (TEST_NAME): Likewise.
31415 * string/test-memset.c (TEST_NAME): Likewise.
31416 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31417 * string/test-stpcpy.c (TEST_NAME): Likewise.
31418 * string/test-stpncpy.c (TEST_NAME): Likewise.
31419 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31420 * string/test-strcasestr.c (TEST_NAME): Likewise.
31421 * string/test-strcat.c (TEST_NAME): Likewise.
31422 * string/test-strchr.c (TEST_NAME): Likewise.
31423 * string/test-strcmp.c(TEST_NAME): Likewise.
31424 * string/test-strcpy.c (TEST_NAME): Likewise.
31425 * string/test-strcspn.c (TEST_NAME): Likewise.
31426 * string/test-strlen.c (TEST_NAME): Likewise.
31427 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31428 * string/test-strncmp.c (TEST_NAME): Likewise.
31429 * string/test-strncpy.c (TEST_NAME): Likewise.
31430 * string/test-strnlen.c (TEST_NAME): Likewise.
31431 * string/test-strpbrk.c (TEST_NAME): Likewise.
31432 * string/test-strrchr.c (TEST_NAME): Likewise.
31433 * string/test-strspn.c (TEST_NAME): Likewise.
31434 * string/test-strstr.c (TEST_NAME): Likewise.
31435 * string/test-bcopy-ifunc.c: New file.
31436 * string/test-bzero-ifunc.c: Likewise.
31437 * string/test-memccpy-ifunc.c: Likewise.
31438 * string/test-memchr-ifunc.c: Likewise.
31439 * string/test-memcmp-ifunc.c: Likewise.
31440 * string/test-memcpy-ifunc.c: Likewise.
31441 * string/test-memmem-ifunc.c: Likewise.
31442 * string/test-memmove-ifunc.c: Likewise.
31443 * string/test-mempcpy-ifunc.c: Likewise.
31444 * string/test-memset-ifunc.c: Likewise.
31445 * string/test-rawmemchr-ifunc.c: Likewise.
31446 * string/test-stpcpy-ifunc.c: Likewise.
31447 * string/test-stpncpy-ifunc.c: Likewise.
31448 * string/test-strcasecmp-ifunc.c: Likewise.
31449 * string/test-strcasestr-ifunc.c: Likewise.
31450 * string/test-strcat-ifunc.c: Likewise.
31451 * string/test-strchr-ifunc.c: Likewise.
31452 * string/test-strchrnul-ifunc.c: Likewise.
31453 * string/test-strcmp-ifunc.c: Likewise.
31454 * string/test-strcpy-ifunc.c: Likewise.
31455 * string/test-strcspn-ifunc.c: Likewise.
31456 * string/test-strlen-ifunc.c: Likewise.
31457 * string/test-strncasecmp-ifunc.c: Likewise.
31458 * string/test-strncat-ifunc.c: Likewise.
31459 * string/test-strncmp-ifunc.c: Likewise.
31460 * string/test-strncpy-ifunc.c: Likewise.
31461 * string/test-strnlen-ifunc.c: Likewise.
31462 * string/test-strpbrk-ifunc.c: Likewise.
31463 * string/test-strrchr-ifunc.c: Likewise.
31464 * string/test-strspn-ifunc.c: Likewise.
31465 * string/test-strstr-ifunc.c: Likewise.
31467 * debug/Makefile (tests-ifunc): New variable.
31468 (tests): Add $(tests-ifunc).
31469 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31470 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31471 * debug/test-stpcpy_chk-ifunc.c: New file.
31472 * debug/test-strcpy_chk-ifunc.c: Likewise.
31474 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31477 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31478 header is not read in.
31480 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31482 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31483 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31484 directly. Pass built executable to script as
31485 $(built-program-cmd).
31486 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31487 $testprogram without using LD_LIBRARY_PATH and $ldso.
31489 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31490 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31491 $(rtld-installed-name).
31492 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31493 (rtld_installed_name): Likewise.
31494 (library_path): Likewise.
31495 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31496 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31497 $(run-program-prefix) to tst-tables.sh.
31498 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31499 it to run tst-table-from and tst-table-to.
31500 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31501 Pass it to tst-table.sh.
31502 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31503 $(run-program-prefix) to tst-gettext.sh.
31504 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31506 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31508 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31509 to run tst-gettext.
31510 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31511 to run tst-gettext2.
31512 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31513 to run tst-translit.
31514 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31515 $(run-program-prefix) to tst-mtrace.sh.
31516 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31518 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31519 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31520 $(rtld-installed-name).
31521 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31522 (rtld_installed_name): Likewise.
31523 (run_program_prefix): New variable. Use it to run wordexp-test.
31525 * Makeconfig (ARCH): Remove all definitions.
31526 (machine): Likewise.
31527 [ARCH]: Remove conditional code.
31528 [!objdir]: Give error.
31529 [!objdir] (objpfx): Remove.
31530 [!objdir] (common-objpfx): Likewise.
31531 [!objdir] (common-objdir): Likewise.
31532 * configure.in (config_makefile): Remove. Hardcode Makefile in
31533 AC_CONFIG_FILES call.
31534 * configure: Regenerated.
31537 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31539 (testout): Likewise.
31541 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31542 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31543 $(rtld-installed-name).
31544 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31545 (rtld_installed_name): Likwise.
31546 (runit): Remove function.
31547 (run_getconf): New variable, Use it for running getconf binary.
31549 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31552 * string/test-memmem.c (check_result): New function.
31553 (do_one_test): Use it.
31554 (check1): New function.
31555 (test_main): Use it.
31557 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31559 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31561 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31563 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31564 (_G_LSEEK64): Likewise.
31565 (_G_MMAP64): Likewise.
31566 (_G_FSTAT64): Likewise.
31567 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31568 (_G_LSEEK64): Likewise.
31569 (_G_MMAP64): Likewise.
31570 (_G_FSTAT64): Likewise.
31571 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31572 unconditional. Call __mmap64 directly.
31573 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31574 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31575 __lseek64 directly.
31576 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31577 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31579 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31580 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31581 __lseek64 directly.
31582 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31583 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31584 __lseek64 directly.
31585 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31586 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31587 __lseek64 directly.
31588 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31589 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31590 __fxstat64 directly.
31591 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31592 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31594 (freopen64) [!_G_OPEN64]: Remove conditional code.
31595 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31597 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31598 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31600 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31601 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31603 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31604 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31606 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31607 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31609 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31610 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31612 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31613 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31615 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31617 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31620 * manual/memory.texi (Malloc Tunable Parameters): Add note
31621 about free list pointers overwriting some perturb bytes.
31622 Wording suggested by Roland McGrath.
31624 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31626 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31627 (lgamma_test): Likewise.
31628 (tgamma_test): Likewise.
31630 2012-10-16 Florian Weimer <fweimer@redhat.com>
31633 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31634 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31636 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31638 * NEWS: Mention BZ #14716.
31639 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31640 when removing AVAILABLE1_USES_J macro.
31642 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31644 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31645 (__bswap_64): __uint64_t for unsigned 64-bit int.
31647 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31649 * include/string.h (memmem): Declare libc hidden alias.
31650 * string/memmem.c (memmem): Define libc hidden alias.
31651 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31652 __read, __close instead of open, read, close.
31654 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31656 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31657 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31659 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31660 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31661 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31663 (__rawmemchr_sse2): Likewise.
31664 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31665 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31666 (__strchr_sse2): Likewise.
31667 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31668 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31669 (__strcasecmp_sse2): Likewise.
31670 (__strncasecmp_sse2): Likewise.
31671 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31672 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31673 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31674 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31675 (__strrchr_sse2): Likewise.
31676 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31678 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31679 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31680 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31681 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31682 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31683 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31684 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31685 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31686 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31687 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31688 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31689 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31690 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31691 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31692 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31693 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31694 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31695 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31696 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31697 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31698 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31699 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31700 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31701 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31702 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31703 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31704 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31705 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31706 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31707 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31709 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31711 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31712 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31713 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31714 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31716 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31718 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31719 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31720 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31721 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31723 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31724 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31725 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31726 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31727 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31728 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31729 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31730 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31731 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31732 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31733 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31734 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31735 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31736 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31737 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31738 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31739 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31740 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31741 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31742 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31743 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31744 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31745 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31746 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31747 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31748 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31749 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31750 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31751 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31752 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31753 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31754 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31755 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31756 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31757 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31758 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31759 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31760 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31761 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31762 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31763 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31765 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31766 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31767 * include/ifunc-impl-list.h: New file.
31768 * misc/ifunc-impl-list.c: Likewise.
31769 * misc/Makefile (routines): Add ifunc-impl-list.
31770 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31771 * string/test-string.h: Include <ifunc-impl-list.h>.
31772 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31773 TEST_NAME]: New variables.
31774 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31776 (test_init): Call __libc_ifunc_impl_list to initialize
31777 func_list if TEST_IFUNC and TEST_NAME are defined.
31779 * string/Makefile (strop-tests): Add bcopy and bzero.
31780 * string/test-bcopy.c: New file.
31781 * string/test-bzero.c: Likewise.
31782 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31784 * string/test-memset.c: Support bzero test if TEST_BZERO is
31786 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31788 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31790 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31793 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31795 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31796 * configure: Regenerated.
31798 * Makeconfig (+link-static-before-libc): Don't include
31799 $(link-static-libc).
31801 * libio/libio.h (_IO_pos_t): Remove.
31803 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31805 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31808 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31810 * crypt/crypt-entry.c: Include fips-private.h.
31811 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31812 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31813 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31814 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31816 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31818 * crypt/crypt-private.h: Include stdbool.h.
31819 (_ufc_setup_salt_r): Return bool.
31820 * crypt/crypt-entry.c: Include errno.h.
31821 (__crypt_r): Return NULL with EINVAL for bad salt.
31822 * crypt/crypt_util.c (bad_for_salt): New.
31823 (_ufc_setup_salt_r): Check that salt is long enough and within
31824 the specified alphabet.
31825 * crypt/badsalttest.c: New file.
31826 * crypt/Makefile (tests): Add it.
31827 ($(objpfx)badsalttest): New.
31829 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31831 * NEWS: Add entry for BZ #14602.
31833 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31835 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31837 * math/libm-test.inc: Update comment listing what functions and
31839 (isgreater_test): New function.
31840 (isgreaterequal_test): Likewise.
31841 (isless_test): Likewise.
31842 (islessequal_test): Likewise.
31843 (islessgreater_test): Likewise.
31844 (isunordered_test): Likewise.
31845 (main): Call the new functions.
31847 2012-10-09 Roland McGrath <roland@hack.frob.com>
31849 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31850 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31851 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31852 * sysdeps/i386/configure: Regenerated.
31853 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31854 * sysdeps/mach/configure: Regenerated.
31855 * sysdeps/mach/hurd/configure: Regenerated.
31856 * sysdeps/powerpc/configure: Regenerated.
31857 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31858 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31859 * sysdeps/s390/s390-32/configure: Regenerated.
31860 * sysdeps/s390/s390-64/configure: Regenerated.
31861 * sysdeps/sh/configure: Regenerated.
31862 * sysdeps/sparc/configure: Regenerated.
31863 * sysdeps/unix/sysv/linux/configure: Regenerated.
31864 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31865 * sysdeps/x86_64/configure: Regenerated.
31867 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31868 defined. Don't check if MAP is NULL.
31870 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31872 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31873 (_G_stat64): Likewise.
31874 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31875 (_G_stat64): Likewise.
31876 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31877 instead of struct _G_stat64.
31878 * libio/fileops.c (mmap_remap_check): Likewise.
31879 (decide_maybe_mmap): Likewise.
31880 (_IO_new_file_seekoff): Likewise.
31881 (_IO_file_stat): Likewise.
31882 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31884 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31885 instead of struct _G_stat64.
31886 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31888 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31891 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31893 (CHECK_EOL): New macro.
31894 (two_way_short_needle): Check beginning of haystack for EOL. Use
31896 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31897 Replace with CHECK_EOL.
31898 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31899 Replace with CHECK_EOL.
31901 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31903 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31905 * math/libm-test.inc: Update comment listing what functions and
31907 (finite_test): New function.
31908 (isinf_test): Likewise.
31909 (isnan_test): Likewise.
31910 (fpclassify_test): Test subnormal input.
31911 (isfinite_test): Likewise.
31912 (isnormal_test): Likewise.
31913 (main): Call the new functions.
31915 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31918 * Makerules (%.dynsym): Force C locale when running
31919 $(OBJDUMP) --dynamic-syms.
31921 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31923 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31926 2012-10-06 David S. Miller <davem@davemloft.net>
31928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31929 upper 32-bits of the length value in %o2 since we use branch-on-register
31930 tests which consider the entire 64-bit register.
31932 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31934 * string/test-strstr.c (check2): Add a test for page boundary.
31936 2012-10-05 David S. Miller <davem@davemloft.net>
31938 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31941 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31944 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31945 and bzero when HWCAP_SPARC_CRYPTO is present.
31947 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31950 * string/test-strstr.c (check2): New function.
31951 (test_main): Call check2.
31953 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31955 * string/bug-strcasestr1.c (do_test): Moved to ...
31956 * string/test-strcasestr.c (check1): Here. New function.
31957 (do_one_test): Break out result checking code into ...
31958 (check_result): This. New function.
31959 (do_one_test): Call check_result.
31960 (test_main): Call check1.
31961 * string/bug-strchr1.c (do_test): Moved to ...
31962 * string/test-strchr.c (check1): Here. New function.
31963 (do_one_test): Break out result checking code into ...
31964 (check_result): This. New function.
31965 (do_one_test): Call check_result.
31966 (test_main): Call check1.
31967 * string/bug-strstr1.c (main): Moved to ...
31968 * string/test-strstr.c (check1): Here. New function.
31969 (do_one_test): Break out result checking code into ...
31970 (check_result): This. New function.
31971 (do_one_test): Call check_result.
31972 (test_main): Call check1.
31973 * string/bug-strcasestr1.c: Removed.
31974 * string/bug-strchr1.c: Likewise.
31975 * string/bug-strstr1.c: Likewise.
31977 * elf/Makefile (dl-routines): Add hwcaps.
31978 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31979 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31980 (_dl_important_hwcaps): Moved to ...
31981 * elf/dl-hwcaps.c: Here. New file.
31982 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31985 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31986 if IS_IN_rtld isn't defined.
31988 * elf/dl-support.c (_dl_sysinfo_map): New.
31989 Include "get-dynamic-info.h" and "setup-vdso.h".
31990 (_dl_non_dynamic_init): Call setup_vdso.
31991 * elf/dynamic-link.h: Don't include <assert.h>.
31992 (elf_get_dynamic_info): Moved to ...
31993 * elf/get-dynamic-info.h: Here. New file.
31994 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31995 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31996 * elf/setup-vdso.h: Here. New file.
31997 * elf/rtld.c: Include "setup-vdso.h".
31998 (dl_main): Call setup_vdso.
32000 2012-10-05 Joseph Myers <joseph@codesourcery.com>
32002 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32003 creal in comment listing functions tested. List finite, isinf,
32004 isnan, isless, islessequal, isgreater, isgreaterequal,
32005 islessgreater, isunordered, lgamma_r and pow10 as functions and
32006 macros not tested. Mention which functions not tested are aliases
32007 for other functions. Fix typo. Note that signs of NaNs are not
32010 * scripts/config.guess: Update from config.git.
32011 * scripts/config.sub: Likewise.
32013 2012-10-04 Roland McGrath <roland@hack.frob.com>
32015 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32016 * misc/madvise.c (madvise): Renamed to __madvise.
32017 Make madvise a weak alias.
32018 * include/sys/mman.h: Declare __madvise.
32019 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32020 * sysdeps/unix/syscalls.list
32021 (madvise): Make __madvise the strong name, and madvise a weak alias.
32022 * sysdeps/unix/sysv/linux/syscalls.list
32023 (madvise, mmap): Remove redundant entries.
32024 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32025 * malloc/malloc.c (mtrim): Likewise.
32026 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32028 2012-10-03 Roland McGrath <roland@hack.frob.com>
32030 * sysdeps/mach/hurd/dl-cache.c: File removed.
32031 * config.h.in (USE_LDCONFIG): New #undef.
32032 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32033 * configure: Regenerated.
32034 * elf/Makefile (dl-routines): Add dl-cache only under
32035 [$(use-ldconfig) = yes].
32036 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32037 cache on [USE_LDCONFIG].
32038 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32040 * elf/rtld.c (dl_main): Likewise.
32042 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32044 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32045 _SC_LEVEL4_CACHE_LINESIZE.
32047 2012-10-03 Roland McGrath <roland@hack.frob.com>
32049 * sysdeps/unix/bsd/confstr.h: File removed.
32051 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
32053 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32056 2012-10-02 Roland McGrath <roland@hack.frob.com>
32058 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32059 Make 'mapoff' field ElfW(Off) rather than off_t.
32061 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32063 * nscd/Makefile: Remove nscd-cflags and all its users.
32064 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32065 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32068 * malloc.c (malloc_printerr): Clarify error message.
32070 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32074 Set bit_FMA_Usable if FMA is supported.
32075 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32077 (bit_FMA4_Usable): Updated.
32078 (index_FMA_Usable): New macro.
32079 (CPUID_FMA): Likewise
32080 (HAS_FMA): Defined with bit_FMA_Usable.
32082 2012-10-01 Roland McGrath <roland@hack.frob.com>
32084 * bits/types.h (__swblk_t): Type removed.
32085 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32086 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32087 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32088 (__SWBLK_T_TYPE): Likewise.
32089 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32090 (__SWBLK_T_TYPE): Likewise.
32091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32092 (__SWBLK_T_TYPE): Likewise.
32093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32094 (__SWBLK_T_TYPE): Likewise.
32096 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32097 Honza Horak <hhorak@redhat.com>
32099 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32100 (xdr_mapname): Use YPMAXMAP as maxsize.
32101 (xdr_peername): Use YPMAXPEER as maxsize.
32102 (xdr_keydat): Use YPAXRECORD as maxsize.
32103 (xdr_valdat): Use YPMAXRECORD as maxsize.
32105 2012-10-01 Roland McGrath <roland@hack.frob.com>
32107 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32109 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32110 * csu/init-first.c: ... here.
32111 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32112 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32113 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32114 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32115 * sysdeps/i386/init-first.c: File removed.
32116 * sysdeps/sh/init-first.c: File removed.
32118 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32122 if x * y might underflow to zero and z is zero.
32123 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32124 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32125 * math/libm-test.inc (min_subnorm_value): New variable.
32126 (fma_test): Add more tests.
32127 (fma_test_towardzero): Likewise.
32128 (fma_test_downward): Likewise
32129 (fma_test_upward): Likewise.
32130 (initialize): Set min_subnorm_value.
32132 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32137 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32138 mode for addition resulting in exact zero.
32139 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32142 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32143 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32144 * math/libm-test.inc (fma_test): Add more tests.
32145 (fma_test_towardzero): New function.
32146 (fma_test_downward): Likewise.
32147 (fma_test_upward): Likewise.
32148 (main): Call the new functions.
32150 2012-09-28 David S. Miller <davem@davemloft.net>
32152 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32154 2012-09-28 Roland McGrath <roland@hack.frob.com>
32156 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32157 instead of SIGALRM.
32159 * sysdeps/gnu/_G_config.h: Moved to ...
32160 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32161 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32162 * sysdeps/generic/_G_config.h: ... here.
32164 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32166 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32168 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32169 Conditionalize target on [libnss_test1.so-version].
32171 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32173 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32174 (elfobjdir): Move out of conditionals.
32176 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32177 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32178 (__nss_lookup_function): Conditionalize label remove_from_tree on
32179 [!DO_STATIC_NSS || SHARED], matching its only use.
32181 2012-09-28 David S. Miller <davem@davemloft.net>
32183 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32184 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32186 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32188 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32190 when HWCAP_SPARC_CRYPTO is present.
32192 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32194 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32196 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32199 * stdio-common/vfprintf.c (process_string_arg): Revert
32202 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32204 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32206 * stdio-common/tst-sprintf.c: Include <locale.h>
32207 (main): Test sprintf's handling of incomplete multibyte
32210 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32212 * elf/dl-runtime.c (VERSYMIDX): Removed.
32213 * elf/dl-version.c (VERSYMIDX): Likewise.
32214 * elf/do-rel.h (VERSYMIDX): Likewise.
32215 (VALIDX): Likewise.
32216 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32217 * elf/rtld.c (VALIDX): Likewise.
32218 (ADDRIDX): Likewise.
32219 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32220 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32221 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32222 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32223 (VALIDX): Likewise.
32224 (ADDRIDX): Likewise.
32226 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32228 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32230 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32233 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32235 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32236 addresses are in the same scope as 192.0.2/24.
32237 * posix/gai.conf: Document new scope table defaults.
32239 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32242 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32243 for ftell. Compute offsets from write pointers instead.
32244 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32246 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32249 * libio/Makefile (tests): New test case tst-fseek.
32250 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32251 combination works in wide mode.
32252 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32253 state when the external buffer state changes.
32255 2012-09-27 David S. Miller <davem@davemloft.net>
32258 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32259 pass reloc->r_addend in as the 'high' argument to
32260 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32264 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32266 * rt/tst-aio2.c: Include <pthread.h>.
32267 * rt/tst-aio3.c: Likewise.
32269 2012-09-27 Steve Ellcey <sellcey@mips.com>
32271 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32273 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32275 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32276 contents on [SHARED].
32278 2012-09-26 Marek Polacek <polacek@redhat.com>
32282 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32283 for C++ and GCC <4.3 as well as for non GCC compilers.
32285 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32289 2012-09-25 Roland McGrath <roland@hack.frob.com>
32291 * Makefile.in (all, install): Declare with .PHONY.
32292 Reported by Michael Hope <michael.hope@linaro.org>.
32294 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32296 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32297 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32299 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32301 (sydep_routines): Add the new and the internal functions.
32302 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32303 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32305 (GLIBC_2.17): Add the new function.
32306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32307 (GLIBC_2.17): Likewise.
32308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32309 (GLIBC_2.17): Likewise.
32310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32311 (GLIBC_2.17): Likewise.
32312 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32314 2012-09-25 Alan Modra <amodra@gmail.com>
32316 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32317 Add release barrier before setting once_control to say
32318 initialisation is done. Add hints on lwarx. Use macro in
32320 (clear_once_control): Add release barrier.
32322 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32325 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32327 * math/s_clog10.c (__clog10): Likewise.
32328 * math/s_clog10f.c (__clog10f): Likewise.
32329 * math/s_clog10l.c (__clog10l): Likewise.
32330 * math/s_clogf.c (__clogf): Likewise.
32331 * math/s_clogl.c (__clogl): Likewise.
32332 * math/Makefile (libm-calls): Add x2y2m1.
32333 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32334 (__x2y2m1): Likewise.
32335 (__x2y2m1l): Likewise.
32336 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32337 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32338 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32339 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32340 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32341 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32342 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32343 * sysdeps/i386/fpu/libm-test-ulps: Update.
32344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32347 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32348 int as type of variable DEPTH.
32349 (glob): Use size_t instead of int as type of variables NEWCOUNT
32352 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32354 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32355 Add s_sincosf-sse2.
32356 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32357 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32358 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32359 macros for using routine as __sincosf_ia32.
32360 Use macro for function declaration and weak_alias.
32361 * sysdeps/i386/fpu/libm-test-ulps: Update.
32363 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32366 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32367 subnormal argument.
32368 * math/s_cexpf.c (__cexpf): Likewise.
32369 * math/s_csinf.c (__csinf): Likewise.
32370 * math/s_csinhf.c (__csinhf): Likewise.
32371 * math/s_ctanf.c (__ctanf): Likewise.
32372 * math/s_ctanhf.c (__ctanhf): Likewise.
32373 * math/s_ccosh.c (__ccoshf): Likewise.
32374 * math/s_cexp.c (__cexpl): Likewise.
32375 * math/s_csin.c (__csin): Likewise.
32376 * math/s_csinh.c (__csinh): Likewise.
32377 * math/s_ctan.c (__ctan): Likewise.
32378 * math/s_ctanh.c (ctanh): Likewise.
32379 * math/s_ccoshl.c (__ccoshl): Likewise.
32380 * math/s_cexpl.c (__cexpl): Likewise.
32381 * math/s_csinl.c (__csinl): Likewise.
32382 * math/s_csinhl.c (__csinhl): Likewise.
32383 * math/s_ctanl.c (__ctanl): Likewise.
32384 * math/s_ctanhl.c (__ctanhl): Likewise.
32386 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32388 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32389 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32390 (_IO_off_t): Define to __off_t, not _G_off_t.
32391 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32392 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32393 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32394 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32395 type of __dummy and __dummy2 fields.
32396 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32397 (_G_ssize_t): Likewise.
32398 (_G_off_t): Likewise.
32399 (_G_pid_t): Likewise.
32400 (_G_uid_t): Likewise.
32401 (_G_wchar_t): Likewise.
32402 (_G_wint_t): Likewise.
32403 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32404 (_G_ssize_t): Likewise.
32405 (_G_off_t): Likewise.
32406 (_G_pid_t): Likewise.
32407 (_G_uid_t): Likewise.
32408 (_G_wchar_t): Likewise.
32409 (_G_wint_t): Likewise.
32410 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32411 (_G_ssize_t): Likewise.
32412 (_G_off_t): Likewise.
32413 (_G_pid_t): Likewise.
32414 (_G_uid_t): Likewise.
32415 (_G_wchar_t): Likewise.
32416 (_G_wint_t): Likewise.
32418 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32420 * malloc/arena.c: Include malloc-sysdep.h.
32421 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32422 is sufficient to shrink the heap or an unmap is needed.
32423 * sysdeps/generic/malloc-sysdep.h: New file. Define
32424 new function check_may_shrink_heap.
32425 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32426 new function check_may_shrink_heap.
32428 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32430 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32433 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32435 * catgets/test-gencat.sh: Add "set -e".
32436 * elf/tst-pathopt.sh: Likewise.
32437 * grp/tst_fgetgrent.sh: Likewise.
32438 * iconvdata/run-iconv-test.sh: Likewise.
32439 * intl/tst-gettext.sh: Likewise.
32440 * intl/tst-gettext2.sh: Likewise.
32441 * intl/tst-gettext4.sh: Likewise.
32442 * intl/tst-gettext6.sh: Likewise.
32443 * intl/tst-translit.sh: Likewise.
32444 * io/ftwtest-sh: Likewise.
32445 * libio/test-freopen.sh: Likewise.
32446 * malloc/tst-mtrace.sh: Likewise.
32447 * posix/globtest.sh: Likewise.
32448 * posix/tst-getconf.sh: Likewise.
32449 * posix/wordexp-tst.sh: Likewise.
32450 * stdio-common/tst-printf.sh: Likewise.
32451 * stdio-common/tst-unbputc.sh: Likewise.
32452 * stdlib/tst-fmtmsg.sh: Likewise.
32453 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32454 * catgets/Makefile: Do not specify -e option when running
32455 testsuite shell scripts.
32456 * elf/Makefile: Likewise.
32457 * grp/Makefile: Likewise.
32458 * iconvdata/Makefile: Likewise.
32459 * intl/Makefile: Likewise.
32460 * io/Makefile: Likewise.
32461 * libio/Makefile: Likewise.
32462 * malloc/Makefile: Likewise.
32463 * posix/Makefile: Likewise.
32464 * stdio-common/Makefile: Likewise.
32465 * stdlib/Makefile: Likewise.
32466 * sysdeps/x86_64/Makefile: Likewise.
32468 * io/ftwtest-sh: Add copyright header.
32469 * posix/globtest.sh: Likewise.
32470 * posix/tst-getconf.sh: Likewise.
32471 * posix/wordexp-tst.sh: Likewise.
32472 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32474 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32477 * Makeconfig (+link): Defined as $(+link-static) if
32478 $(build-shared) isn't yes.
32479 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32481 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32483 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32486 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32487 new chunk size with MALLOC_ALIGN_MASK.
32489 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32492 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32494 (__printf_fphex): Determine rounding using get_rounding_mode and
32496 * stdio-common/tst-printf-round.c (struct hex_test): New
32498 (hex_tests): New variable.
32499 (test_hex_in_one_mode): New function.
32500 (do_test): Also run tests for hex float output.
32502 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32504 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32505 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32506 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32507 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32508 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32509 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32510 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32511 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32513 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32515 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32516 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32517 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32518 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32520 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32523 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32525 * elf/tst-rtld-load-self.sh: New test.
32526 * elf/Makefile: Run it.
32528 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32530 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32531 (tst-writev-ENV): Remove.
32532 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32534 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32536 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32538 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32540 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32542 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32544 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32545 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32546 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32549 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32552 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32553 * config.make.in (have-cpp-asm-debuginfo): Removed.
32554 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32555 * configure: Regenerated.
32557 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32560 * stdio-common/printf_fp.c: Include <stdbool.h> and
32562 (___printf_fp): Determine rounding using get_rounding_mode and
32564 * stdio-common/tst-printf-round.c: New file.
32565 * stdio-common/Makefile (tests): Add tst-printf-round.
32566 (link-libm): New variable.
32567 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32569 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32572 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32573 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32575 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32578 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32580 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32581 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32582 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32583 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32585 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32588 * include/rounding-mode.h: New file.
32589 * sysdeps/generic/get-rounding-mode.h: Likewise.
32590 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32591 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32592 (MAX_VALUE): New macro.
32593 (MIN_VALUE): Likewise.
32594 (overflow_value): New function.
32595 (underflow_value): Likewise.
32596 (round_and_return): Use overflow_value and underflow_value to
32597 determine return values in overflow and underflow cases. Use
32598 round_away to determine rounding depending on rounding mode.
32599 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32600 determine return values in overflow and underflow cases.
32601 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32602 (struct test_results): New structure.
32603 (struct test): Use struct test_results to store expected results
32604 for all rounding modes.
32605 (TEST): Include expected results for all rounding modes.
32606 (test_in_one_mode): New function.
32607 (do_test): Use test_in_one_mode to compute and check results.
32608 Check results for all rounding modes.
32609 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32612 2012-12-09 Allan McRae <allan@archlinux.org>
32614 * sysdeps/i386/fpu/libm-test-ulps: Update
32616 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32618 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32619 (_G_int32_t): Likewise.
32620 (_G_uint16_t): Likewise.
32621 (_G_uint32_t): Likewise.
32622 (_G_HAVE_BOOL): Likewise.
32623 (_G_HAVE_ATEXIT): Likewise.
32624 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32625 (_G_HAVE_IO_FILE_OPEN): Likewise.
32626 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32627 (_G_int32_t): Likewise.
32628 (_G_uint16_t): Likewise.
32629 (_G_uint32_t): Likewise.
32630 (_G_HAVE_BOOL): Likewise.
32631 (_G_HAVE_ATEXIT): Likewise.
32632 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32633 (_G_HAVE_IO_FILE_OPEN): Likewise.
32634 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32635 (_G_int32_t): Likewise.
32636 (_G_uint16_t): Likewise.
32637 (_G_uint32_t): Likewise.
32638 (_G_HAVE_BOOL): Likewise.
32639 (_G_HAVE_ATEXIT): Likewise.
32640 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32641 (_G_HAVE_IO_FILE_OPEN): Likewise.
32643 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32645 * csu/libc-tls.c: Update copyright years.
32647 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32649 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32650 [!_G_USING_THUNKS]: Remove conditional code.
32651 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32652 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32654 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32655 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32656 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32657 (_G_VTABLE_LABEL_PREFIX): Likewise.
32658 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32659 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32660 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32661 (_G_VTABLE_LABEL_PREFIX): Likewise.
32662 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32663 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32664 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32665 (_G_VTABLE_LABEL_PREFIX): Likewise.
32666 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32668 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32670 * libio/Makefile: Include ../Makeconfig before tests.
32671 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32672 only if $(build-shared) is yes.
32674 * iconv/gconv_db.c: Update copyright years.
32676 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32678 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32679 unwind info if defined PIC. Fix special cases description.
32680 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32682 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32684 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32686 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32688 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32690 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32693 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32694 (LDLIBS-tst-chk4): This.
32695 (LDFLAGS-tst-chk5): Renamed to ...
32696 (LDLIBS-tst-chk5): This.
32697 (LDFLAGS-tst-chk6): Renamed to ...
32698 (LDLIBS-tst-chk6): This.
32699 (LDFLAGS-tst-lfschk4): Renamed to ...
32700 (LDLIBS-tst-lfschk4): This.
32701 (LDFLAGS-tst-lfschk5): Renamed to ...
32702 (LDLIBS-tst-lfschk5): This.
32703 (LDFLAGS-tst-lfschk6): Renamed to ...
32704 (LDLIBS-tst-lfschk6): This.
32706 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32707 on $(common-objpfx)soversions.mk.
32709 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32712 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32715 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32717 * malloc/arena.c (arena_get_retry): New function that gets
32718 another arena for the caller to try its request on.
32719 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32720 current arena cannot fulfill the request.
32721 (__libc_memalign): Likewise.
32722 (__libc_memalign): Likewise.
32723 (__libc_pvalloc): Likewise.
32724 (__libc_calloc): Likewise.
32726 2012-09-05 John Tobey <john.tobey@gmail.com>
32729 * manual/arith.texi (Operations on Complex): Fix description
32730 of carg branch cut.
32732 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32735 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32739 * manual/memory.texi (Memory): Make order of menu items match
32742 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32744 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32745 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32746 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32748 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32750 * csu/libc-tls.c (static_dtv): Renamed to ...
32751 (_dl_static_dtv): This. Make it global.
32752 (_dl_initial_dtv): Removed.
32753 (__libc_setup_tls): Updated.
32754 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32755 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32758 2012-09-06 Petr Machata <pmachata@redhat.com>
32760 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32761 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32762 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32763 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32765 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32768 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32769 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32772 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32775 * Makeconfig (link-static-before-libc): Replace $(+prector)
32777 (link-static-after-libc): Replace $(+postctor) with
32779 (link-bounded): Replace $(+prector)/$(+postctor) with
32780 $(+prectorT)/$(+postctorT).
32781 (+prectorT): New macro.
32782 (+postctorT): Likewise.
32784 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32786 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32787 (round_str): Handle values above the maximum for IBM long double
32789 * stdlib/tst-strtod-round.c (tests): Regenerated.
32791 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32793 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32795 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32796 zarch_nohighgprs around the zarch optimized routines.
32797 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32798 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32799 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32802 2012-09-05 David S. Miller <davem@davemloft.net>
32804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32806 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32807 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32808 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32809 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32812 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32814 * malloc/arena.c: Fold copyright years.
32815 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32817 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32819 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32821 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32823 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32825 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32827 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32828 change internal state upon failure.
32830 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32832 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32833 * malloc/memusage.c (mmap): Likewise.
32834 (mmap64, mremap): Likewise. Adjust name in comment.
32836 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32838 * libio/fileops.c: Fix typos in comments.
32839 * libio/oldfileops.c: Likewise.
32840 * libio/wfileops.c: Likewise.
32842 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32845 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32846 (tst-malloc-usable-ENV): Set environment for test case.
32847 * malloc/hooks.c (malloc_check_get_size): New function to get
32849 * malloc/malloc.c (musable): Use malloc_check_get_size.
32850 * malloc/tst-malloc-usable.c: New test case.
32852 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32854 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32856 2012-09-05 Allan McRae <allan@archlinux.org>
32859 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32860 determine header location.
32861 * configure: Regenerated.
32863 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32865 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32867 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32868 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32870 (test): Regenerate.
32872 2012-09-04 David S. Miller <davem@davemloft.net>
32874 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32875 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32876 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32878 2012-09-04 Florian Weimer <fweimer@redhat.com>
32880 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32883 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32885 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32888 * libio/iogetdelim.c: Include <limits.h>.
32889 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32890 + len + 1 would overflow.
32892 2012-09-03 Andreas Jaeger <aj@suse.de>
32894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32895 * sysdeps/i386/fpu/libm-test-ulps: Update.
32897 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32899 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32900 Add s_sinf-sse2, s_conf-sse2.
32902 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32903 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32904 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32905 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32907 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32908 for using routine as __sinf_ia32.
32909 Use macro for function declaration and weak_alias.
32910 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32911 for using routine as __cosf_ia32.
32912 Use macro for function declaration and weak_alias.
32914 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32915 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32917 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32918 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32921 * math/libm-test.inc (cos_test): Add more test cases.
32922 (sin_test): Likewise.
32923 (sincos_test): Likewise.
32925 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32927 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32928 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32930 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32932 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32935 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32936 first element of the GOT.
32937 (elf_machine_load_address): Return the difference between
32938 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32940 2012-09-01 Allan McRae <allan@archlinux.org>
32943 * configure.in (AWK): Require gawk version 3.0 or later.
32944 * configure: Regenerated.
32946 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32948 * sysdeps/unix/sysv/linux/kernel-features.h
32949 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32950 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32951 [__NR_clock_getres]: Make code unconditional.
32952 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32953 (clock_getcpuclockid): Remove code left unreachable by removal of
32955 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32956 code unconditional.
32957 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32958 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32959 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32960 Make code unconditional.
32961 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32962 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32963 * sysdeps/unix/sysv/linux/clock_settime.c
32964 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32966 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32967 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32969 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32972 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32973 scripts/test-installation.pl.
32975 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32976 and $ld_so_version if it is set.
32978 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32982 failure if reading from procfs failed.
32983 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32985 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32987 * sysdeps/unix/sysv/linux/kernel-features.h
32988 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32989 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32990 Remove conditional code.
32991 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32992 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32993 Remove conditional code.
32994 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32995 * sysdeps/unix/sysv/linux/i386/fxstat.c
32996 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32997 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32998 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32999 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33000 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33001 * sysdeps/unix/sysv/linux/i386/lxstat.c
33002 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33003 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33004 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33005 Remove conditional code.
33006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33007 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33008 Remove conditional code.
33009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33010 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33011 <kernel-features.h>.
33012 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33014 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33015 Remove conditional code.
33016 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33017 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33018 Remove conditional.
33020 2012-08-27 Mike Frysinger <vapier@gentoo.org>
33023 * NEWS: Add fixed bug number.
33025 2012-08-27 Joseph Myers <joseph@codesourcery.com>
33028 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33029 underflowing exponent in case of negative sign.
33030 * stdlib/tst-strtod-round-data: Add more tests.
33031 * stdlib/tst-strtod-round.c (tests): Regenerated.
33034 * stdlib/strtod_l.c (NDIG): Remove.
33035 (HEXNDIG): Likewise.
33036 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33037 smallest representable value.
33038 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33039 lie within an exact representation of 1/2 ulp of the result.
33040 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33042 (TENS_P9_IDX): Define unconditionally.
33043 (TENS_P9_SIZE): Likewise.
33044 (TENS_P10_IDX): Likewise.
33045 (TENS_P10_SIZE): Likewise.
33046 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33047 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33048 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33049 entries for 10^2^13 and 10^2^14.
33050 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33051 (TENS_P13_IDX): Define.
33052 (TENS_P13_SIZE): Likewise.
33053 (TENS_P14_IDX): Likewise.
33054 (TENS_P14_SIZE): Likewise.
33055 (_fpioconst_pow10): Change array size to
33056 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33058 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33059 1024]: Add entries for 10^2^13 and 10^2^14.
33060 [LAST_POW10 > _LAST_POW10]: Remove #error.
33061 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33062 (_fpioconst_pow10): Change array size to
33063 FPIOCONST_POW10_ARRAY_SIZE.
33064 * stdlib/gen-fpioconst.c: New file.
33065 * stdlib/gen-tst-strtod-round.c: Likewise.
33066 * stdlib/tst-strtod-round-data: Likewise.
33067 * stdlib/tst-strtod-round.c: Likewise.
33068 * stdlib/Makefile (tests): Add tst-strtod-round.
33071 * stdlib/strtod_l.c: Include <stdint.h>.
33072 (NDEBUG): Do not define.
33073 (round_and_return): Change EXPONENT parameter to type intmax_t.
33074 Rearrange calculations to avoid internal overflow possibilities.
33075 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33076 Rearrange calculations to avoid internal overflow possibilities.
33077 Assert that number fits inside MPNSIZE limbs.
33078 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33079 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33080 calculations and add assertions to avoid internal overflow
33081 possibilities. Add casts to avoid signed/unsigned operations.
33082 * stdlib/tst-strtod-overflow.c: New file.
33083 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33085 2012-08-25 Marek Polacek <polacek@redhat.com>
33087 * time/time.h: Fix some typos in comments.
33089 2012-08-23 Roland McGrath <roland@hack.frob.com>
33091 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33092 * posix/tst-rfc3484-2.c: Likewise.
33093 * posix/tst-rfc3484-3.c: Likewise.
33095 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33097 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33098 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33100 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33102 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33103 #include of fxstatat64.c.
33105 2012-08-22 Roland McGrath <roland@hack.frob.com>
33107 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33108 * shadow/getspent_r.c: Likewise.
33109 * shadow/getspnam.c: Likewise.
33110 * shadow/getspnam_r.c: Likewise.
33111 * gshadow/getsgent.c: Likewise.
33112 * gshadow/getsgent_r.c: Likewise.
33113 * gshadow/getsgnam.c: Likewise.
33114 * gshadow/getsgnam_r.c: Likewise.
33115 * inet/getnetbyad.c: Likewise.
33116 * inet/getnetbyad_r.c: Likewise.
33117 * inet/getnetbynm.c: Likewise.
33118 * inet/getnetbynm_r.c: Likewise.
33119 * inet/getnetent.c: Likewise.
33120 * inet/getnetent_r.c: Likewise.
33121 * inet/getproto.c: Likewise.
33122 * inet/getproto_r.c: Likewise.
33123 * inet/getprtent.c: Likewise.
33124 * inet/getprtent_r.c: Likewise.
33125 * inet/getprtname.c: Likewise.
33126 * inet/getprtname_r.c: Likewise.
33127 * inet/getrpcbyname.c: Likewise.
33128 * inet/getrpcbyname_r.c: Likewise.
33129 * inet/getrpcbynumber.c: Likewise.
33130 * inet/getrpcbynumber_r.c: Likewise.
33131 * inet/getrpcent.c: Likewise.
33132 * inet/getrpcent_r.c: Likewise.
33133 * inet/getaliasent.c: Likewise.
33134 * inet/getaliasent_r.c: Likewise.
33135 * inet/getaliasname.c: Likewise.
33136 * inet/getaliasname_r.c: Likewise.
33137 * nscd/getgrgid_r.c: Likewise.
33138 * nscd/getgrnam_r.c: Likewise.
33139 * nscd/gethstbyad_r.c: Likewise.
33140 * nscd/gethstbynm3_r.c: Likewise.
33141 * nscd/getpwnam_r.c: Likewise.
33142 * nscd/getpwuid_r.c: Likewise.
33143 * nscd/getsrvbynm_r.c: Likewise.
33144 * nscd/getsrvbypt_r.c: Likewise.
33145 * nscd/gai.c: Likewise.
33147 * configure.in (build_nscd): New substituted variable, set
33148 by --disable-build-nscd and defaults to $use_nscd.
33149 * configure: Regenerated.
33150 * config.make.in (build-nscd): New substituted variable.
33151 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33152 Change conditional to require [$(build-nscd) = yes] as well.
33153 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33156 * configure.in (use_nscd): New substituted variable, set by
33157 --disable-nscd. If enabled, define USE_NSCD.
33158 * configure: Regenerated.
33159 * config.h.in: Add USE_NSCD.
33160 * config.make.in (use-nscd): New substituted variable.
33161 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33162 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33163 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33164 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33165 (CFLAGS-getgrnam_r.c): Likewise.
33166 (CFLAGS-initgroups.c): Likewise.
33167 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33168 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33170 * inet/getnetgrent_r.c
33171 (nscd_setnetgrent): New function, broken out of ...
33172 (setnetgrent): ... here. Call it.
33173 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33174 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33175 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33176 * nscd/Makefile (routines, aux): Move definitions after include of
33177 Makeconfig. Conditionalize on [$(use-nscd) != no].
33178 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33179 Conditionalize on [USE_NSCD].
33180 (is_nscd, nscd_init_cb): Likewise.
33181 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33182 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33183 * nss/nss_db/db-init.c: Likewise.
33184 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33186 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33187 (make_request): Use it.
33188 (cache_valid_p): New function.
33189 (__check_pf): Use it.
33190 * NEWS: Add item for --disable-nscd.
33192 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33194 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33195 to support sed >= 4.2.1-20-ga9bf076.
33196 * configure: Regenerated.
33198 2012-08-22 Roland McGrath <roland@hack.frob.com>
33200 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33201 Conditionalize whole body on [IREL].
33203 2012-08-22 Jeff Law <law@redhat.com>
33206 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33207 if the family is PF_UNSPEC.
33209 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33211 * Makerules (lib-version): Rename from V.
33212 (install-lib-nosubdir): Change V to lib-version.
33214 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33217 * powerpc32/power6/wcschr.c: New file.
33218 * powerpc32/power6/wcscpy.c: New file.
33219 * powerpc32/power6/wcsrchr.c: New file.
33220 * powerpc64/power6/wcschr.c: New file.
33221 * powerpc64/power6/wcscpy.c: New file.
33222 * powerpc64/power6/wcsrchr.c: New file.
33224 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33226 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33227 (two_way_short_needle): Use it.
33228 * string/strstr.c (AVAILABLE1_USES_J): Define.
33229 * string/strcasestr.c: Likewise.
33231 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33233 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33236 * NEWS: Add an entry.
33237 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33238 define their defaults.
33239 (two_way_short_needle): Detect end-of-string on-the-fly.
33240 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33241 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33242 * string/bug-strcasestr1.c: New test.
33243 * string/Makefile: Run it.
33245 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33248 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33249 the first character.
33251 2012-08-21 Roland McGrath <roland@hack.frob.com>
33253 * csu/elf-init.c (__libc_csu_irel): Function removed.
33254 * csu/libc-start.c (apply_irel): New function.
33255 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33257 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33259 * sysdeps/unix/sysv/linux/kernel-features.h
33260 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33261 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33262 <kernel-features.h>.
33263 [__NR_fadvise64_64]: Make code unconditional.
33264 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33265 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33266 !__NR_fadvise64_64)]: Likewise.
33267 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33268 !__NR_fadvise64_64))]: Likewise.
33269 [__NR_fadvise64]: Make code unconditional.
33270 [!__NR_fadvise64]: Remove conditional code.
33271 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33272 <kernel-features.h>.
33273 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33275 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33278 not include <kernel-features.h>.
33279 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33281 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33283 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33284 include <kernel-features.h>.
33285 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33287 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33290 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33293 slight instruction rearrangements per scrollpipe analysis.
33294 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33296 2012-08-20 Roland McGrath <roland@hack.frob.com>
33298 * manual/syslog.texi (syslog; vsyslog, closelog):
33299 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33300 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33302 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33303 DSOCAPS to match condition on defining it.
33305 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33307 * sysdeps/unix/sysv/linux/kernel-features.h
33308 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33310 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33311 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33313 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33314 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33316 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33317 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33319 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33320 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33322 * sysdeps/unix/sysv/linux/kernel-features.h
33323 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33324 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33326 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33327 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33328 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33329 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33330 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33331 Make code unconditional.
33332 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33333 (__mmap64) [!__NR_mmap2]: Likewise.
33334 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33335 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33336 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33337 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33338 [__NR_mmap2]: Make code unconditional.
33339 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33340 (__mmap64) [!__NR_mmap2]: Likewise.
33342 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33344 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33346 2012-08-18 Andreas Jaeger <aj@suse.de>
33348 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33350 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33352 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33353 * include/unistd.h (__have_sock_cloexec): Likewise.
33354 (__have_pipe2): Likewise.
33355 (__have_dup3): Likewise.
33357 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33360 * include/unistd.h (__have_pipe2): Change define into an extern int.
33361 (__have_dup3): Likewise.
33362 * socket/have_sock_cloexec.c: Include fcntl.h.
33363 (__have_pipe2): New variable.
33364 (__have_dup3): Likewise.
33366 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33368 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33370 2012-08-17 Marek Polacek <polacek@redhat.com>
33372 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33373 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33375 2012-08-17 Roland McGrath <roland@hack.frob.com>
33377 * configure.in: Add AC_SUBST for sysheaders.
33378 * configure: Regenerated.
33379 * config.make.in (sysheaders): New substituted variable.
33381 * sysdeps/unix/mkfifo.c: Moved ...
33382 * sysdeps/posix/mkfifo.c: ... here.
33383 * sysdeps/unix/mkfifoat.c: Moved ...
33384 * sysdeps/posix/mkfifoat.c: ... here.
33386 * sysdeps/unix/utime.c: Moved ...
33387 * sysdeps/posix/utime.c: ... here.
33389 * sysdeps/unix/time.c: Moved ...
33390 * sysdeps/posix/time.c: ... here.
33391 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33392 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33394 * sysdeps/unix/nice.c: Moved ...
33395 * sysdeps/posix/nice.c: ... here.
33397 * sysdeps/unix/alarm.c: Moved ...
33398 * sysdeps/posix/alarm.c: ... here.
33400 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33402 2012-08-17 Jeff Law <law@redhat.com>
33404 * intl/Makefile (codeset_mo): New variable.
33405 ($(codeset_mo)): New target.
33406 (tst-codeset.out): Depend on that. Remove explicit rule.
33407 (tst-gettext3.out, tst-gettext5.out): Likewise.
33408 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33409 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33410 * intl/tst-codeset.sh: Remove.
33411 * intl/tst-gettext3.sh: Likewise.
33412 * intl/tst-gettext5.sh: Likewise.
33414 2012-08-17 Roland McGrath <roland@hack.frob.com>
33416 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33417 * sysdeps/unix/syscalls.list: ... here.
33419 * sysdeps/posix/getaddrinfo.c
33420 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33421 (gaiconf_init, gaiconf_reload): Use them.
33422 [!_STATBUF_ST_NSEC]
33423 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33424 Define using time_t rather than struct timespec.
33426 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33427 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33429 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33431 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33432 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33435 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33436 __libc_cleanup_push argument.
33438 * bits/param.h: New file.
33439 * misc/sys/param.h: New file.
33440 * include/sys/param.h: New file.
33441 * misc/Makefile (headers): Add bits/param.h.
33442 * sysdeps/generic/sys/param.h: File removed.
33443 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33444 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33445 * sysdeps/mach/hurd/bits/param.h: New file.
33446 * sysdeps/mach/hurd/sys/param.h: File removed.
33448 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33451 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33453 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33454 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33457 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33458 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33459 rather than -D_IO_MTSAFE_IO conditionally.
33460 * stdio-common/Makefile (CPPFLAGS): Likewise.
33461 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33462 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33463 Use $(libio-mtsafe).
33464 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33465 of -D_IO_MTSAFE_IO.
33466 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33467 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33468 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33469 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33470 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33471 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33472 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33473 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33474 (CFLAGS-fread_u_chk.c): Likewise.
33475 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33476 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33477 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33478 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33479 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33480 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33481 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33482 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33483 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33485 * libio/Makefile: Test [$(libc-reentrant) = yes]
33486 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33489 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33490 * sysdeps/pthread/configure: File removed.
33491 * sysdeps/pthread/Makeconfig: New file.
33492 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33493 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33495 2012-08-16 Gary Benson <gbenson@redhat.com>
33497 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33498 unmapping the first object in a namespace.
33500 2012-08-16 Roland McGrath <roland@hack.frob.com>
33502 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33503 (__internal_setnetgrent): ... this. Add internal_function to
33504 definition. Add libc_hidden_def.
33505 (setnetgrent): Update caller.
33506 (internal_endnetgrent): Renamed to ...
33507 (__internal_endnetgrent): ... this. Add internal_function to
33508 definition. Add libc_hidden_def.
33509 (endnetgrent): Update caller.
33510 (internal_getnetgrent_r): Renamed to ...
33511 (__internal_getnetgrent_r): ... this. Add internal_function to
33512 definition. Add libc_hidden_def.
33513 (__getnetgrent_r): Update caller.
33514 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33516 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33518 * stdlib/longlong.h: Update from GCC.
33520 2012-08-16 Roland McGrath <roland@hack.frob.com>
33522 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33523 on _QL, which is set by umul_ppmm but never used.
33524 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33525 variables, which are set by GMP macros but never used.
33526 * stdio-common/_itowa.c (_itowa): Likewise.
33527 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33528 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33530 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33532 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33533 struct La_sh_regs is not constant.
33534 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33535 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33536 and struct La_sparc64_regs are not constant.
33538 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33540 * sysdeps/unix/sysv/linux/kernel-features.h
33541 (__ASSUME_POSIX_TIMERS): Remove.
33542 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33543 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33544 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33545 Make code unconditional.
33546 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33547 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33548 Make code unconditional.
33549 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33550 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33551 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33552 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33553 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33554 Make code unconditional.
33555 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33556 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33557 (__libc_missing_posix_timers): Remove.
33559 2012-08-15 Roland McGrath <roland@hack.frob.com>
33561 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33562 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33564 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33566 * elf/dl-sym.c: Include <stdlib.h>.
33568 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33569 constants, which avoids warnings in 32-bit builds.
33571 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33572 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33574 * misc/lseek.c: File moved to ...
33575 * io/lseek.c: ... here.
33577 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33579 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33580 shifting LEN more than 31 bits at once.
33582 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33585 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33586 segmentation fault for a case of two empty input strings.
33587 * string/test-strncasecmp.c (check1): Renamed to...
33588 (bz12205): ...this.
33589 (bz14195): Add new testcase for two empty input strings and N > 0.
33590 (test_main): Call new testcase, adapt for renamed function.
33592 2012-08-15 Andreas Jaeger <aj@suse.de>
33595 * crypt/md5test2.c: New test, based on test supplied by Serge
33596 Belyshev <belyshev@depni.sinp.msu.ru>.
33597 * crypt/Makefile (xtests): Add md5test-giant..
33598 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33600 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33603 * crypt/md5.c (md5_process_block): Don't assume the buffer
33604 length is less than 2**32.
33605 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33606 length is less than 2**64.
33608 2012-08-15 Roland McGrath <roland@hack.frob.com>
33610 * string/str-two-way.h: Include <sys/param.h>.
33611 (MAX): Macro removed.
33613 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33614 Move #define and #undef of memmove to just before and after
33615 including <string.h>.
33617 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33618 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33619 and after including <string.h>. Move declarations of
33620 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33621 to before #include "string/memmove.c".
33623 * include/dirent.h: Declare __getdirentries.
33625 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33626 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33628 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33630 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33631 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33632 * sysdeps/i386/configure: Regenerated.
33633 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33634 STABS_CURRENT_FILE, and STABS_FUN.
33635 (END): Remove call to STABS_FUN_END.
33636 (STABS_CURRENT_FILE1): Delete.
33637 (STABS_CURRENT_FILE): Likewise.
33638 (STABS_FUN): Likewise.
33639 (STABS_FUN_END): Likewise.
33640 (STABS_FUN2): Likewise.
33641 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33642 * sysdeps/x86_64/configure: Regenerated.
33644 2012-08-14 Roland McGrath <roland@hack.frob.com>
33646 * elf/dl-open.c: Include <atomic.h>.
33647 * elf/dl-lookup.c: Likewise.
33649 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33651 * sysdeps/unix/sysv/linux/kernel-features.h
33652 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33653 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33655 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33657 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33658 condition on __ASSUME_CLONE_THREAD_FLAGS.
33660 2012-08-14 Andreas Jaeger <aj@suse.de>
33662 * sysdeps/i386/fpu/libm-test-ulps: Update.
33664 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33666 * include/atomic.h (atomic_exchange_and_add): Split into ...
33667 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33670 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33674 2012-08-13 Jeff Law <law@redhat.com>
33676 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33677 null byte in the output string.
33679 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33681 * sysdeps/unix/sysv/linux/kernel-features.h
33682 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33683 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33684 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33685 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33686 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33687 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33688 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33690 2012-08-09 Jeff Law <law@redhat.com>
33693 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33694 When avoid_arena is set, don't retry in the that arena. Pick the
33695 next one, whatever it might be.
33696 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33697 (arena_lock): Pass in new parameter to arena_get2.
33698 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33700 (__libc_malloc): Unify retrying after main arena failure with
33701 __libc_memalign version.
33702 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33704 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33707 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33708 to __redirect_strstr.
33709 (__strstr_sse42): Use typeof __redirect_strstr.
33710 (__strstr_ia32): Likewise.
33711 (__libc_strstr): New prototype.
33712 (strstr): Renamed to ...
33713 (__libc_strstr): This.
33714 (strstr): New strong alias of __libc_strstr.
33715 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33716 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33719 (__libc_time): New prototype.
33720 (time_ifunc): Replace time with __libc_time.
33721 (time): New strong alias and hidden definition of __libc_time.
33722 (__GI_time): Remove strong alias.
33723 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33724 Include <stddef.h>.
33725 (memmove): Redefined to __redirect_memmove.
33726 (__memmove_sse2): Use typeof __redirect_memmove.
33727 (__memmove_ssse3): Likewise.
33728 (__memmove_ssse3_back): Likewise.
33729 (__libc_memmove): New prototype.
33730 (memmove): Renamed to ...
33731 (__libc_memmove): This.
33732 (memmove): New strong alias of __libc_memmove.
33734 2012-08-08 Mark Salter <msalter@redhat.com>
33737 (R_MN10300_TLS_GD): Define.
33738 (R_MN10300_TLS_LD): Likewise.
33739 (R_MN10300_TLS_LDO): Likewise.
33740 (R_MN10300_TLS_GOTIE): Likewise.
33741 (R_MN10300_TLS_IE): Likewise.
33742 (R_MN10300_TLS_LE): Likewise.
33743 (R_MN10300_TLS_DTPMOD): Likewise.
33744 (R_MN10300_TLS_DTPOFF): Likewise.
33745 (R_MN10300_TLS_TPOFF): Likewise.
33746 (R_MN10300_SYM_DIFF): Likewise.
33747 (R_MN10300_ALIGN): Likewise.
33748 (R_MN10300_NUM): Update.
33750 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33752 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33755 2012-08-08 Roland McGrath <roland@hack.frob.com>
33757 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33759 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33760 sysdeps/unix -> sysdeps/posix move.
33761 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33763 2012-08-07 Allan McRae <allan@archlinux.org>
33766 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33767 (SUNOS_CPP): Likewise.
33768 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33770 (open_input): Call CPP using execvp.
33772 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33774 * sysdeps/unix/sysv/linux/kernel-features.h
33775 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33776 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33777 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33778 (__ASSUME_WAITID_SYSCALL): Likewise.
33779 * sysdeps/unix/sysv/linux/dl-execstack.c
33780 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33781 code unconditional.
33782 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33784 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33785 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33786 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33788 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33790 [__ASSUME_WAITID_SYSCALL]: Likewise.
33791 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33793 2012-08-07 Roland McGrath <roland@hack.frob.com>
33795 * sysdeps/unix/closedir.c: Renamed to ...
33796 * sysdeps/posix/closedir.c: ... here.
33797 * sysdeps/unix/dirfd.c: Renamed to ...
33798 * sysdeps/posix/dirfd.c: ... here.
33799 * sysdeps/unix/dirstream.h: Renamed to ...
33800 * sysdeps/posix/dirstream.h: ... here.
33801 * sysdeps/unix/fdopendir.c: Renamed to ...
33802 * sysdeps/posix/fdopendir.c: ... here.
33803 * sysdeps/unix/opendir.c: Renamed to ...
33804 * sysdeps/posix/opendir.c: ... here.
33805 * sysdeps/unix/readdir.c: Renamed to ...
33806 * sysdeps/posix/readdir.c: ... here.
33807 * sysdeps/unix/readdir_r.c: Renamed to ...
33808 * sysdeps/posix/readdir_r.c: ... here.
33809 * sysdeps/unix/rewinddir.c: Renamed to ...
33810 * sysdeps/posix/rewinddir.c: ... here.
33811 * sysdeps/unix/seekdir.c: Renamed to ...
33812 * sysdeps/posix/seekdir.c: ... here.
33813 * sysdeps/unix/telldir.c: Renamed to ...
33814 * sysdeps/posix/telldir.c: ... here.
33815 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33816 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33817 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33818 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33820 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33821 * bits/fcntl.h: ... here.
33823 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33825 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33826 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33827 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33828 (struct flock): Move l_start, l_len to the beginning.
33829 Use __pid_t for l_pid.
33830 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33831 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33832 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33833 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33834 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33835 [__USE_LARGEFILE64] (struct flock64): New type.
33836 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33838 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33839 * bits/dirent.h: ... here.
33841 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33842 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33844 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33846 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33847 Change from 2.6.0 to 2.6.16.
33848 * sysdeps/unix/sysv/linux/configure: Regenerated.
33849 * sysdeps/unix/sysv/linux/kernel-features.h
33850 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33851 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33853 (__ASSUME_UTIMES): Likewise.
33854 (__ASSUME_CLONE_STOPPED): Remove.
33855 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33856 architectures, not kernel version.
33857 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33858 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33859 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33860 (__ASSUME_WAITID_SYSCALL): Likewise.
33861 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33862 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33863 * README: State 2.6.16 as minimum Linux kernel version. Do not
33864 refer to older versions.
33866 2012-08-06 Roland McGrath <roland@hack.frob.com>
33868 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33869 Define alphasort64 as an alias.
33870 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33871 Define versionsort64 as an alias.
33872 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33873 Define scandir64 as an alias.
33874 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33875 Define scandirat64 as an alias.
33876 * dirent/alphasort64.c (alphasort64):
33877 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33878 * dirent/versionsort64.c: Likewise.
33879 * dirent/scandir64.c: Likewise.
33880 * dirent/scandirat64.c: Likewise.
33881 * sysdeps/wordsize-64/alphasort.c: File removed.
33882 * sysdeps/wordsize-64/alphasort64.c: File removed.
33883 * sysdeps/wordsize-64/scandir.c: File removed.
33884 * sysdeps/wordsize-64/scandir64.c: File removed.
33885 * sysdeps/wordsize-64/scandirat.c: File removed.
33886 * sysdeps/wordsize-64/scandirat64.c: File removed.
33887 * sysdeps/wordsize-64/versionsort.c: File removed.
33888 * sysdeps/wordsize-64/versionsort64.c: File removed.
33889 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33890 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33891 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33892 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33893 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33894 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33896 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33898 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33900 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33902 [defined __arch64__ || defined __sparcv9]
33903 (__INO_T_MATCHES_INO64_T): New macro.
33904 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33905 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33906 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33907 * sysdeps/unix/sysv/linux/bits/dirent.h
33908 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33909 (_DIRENT_MATCHES_DIRENT64): New macro.
33911 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33912 Define lockf64 as an alias.
33913 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33914 Define fseeko64 as an alias.
33915 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33916 Define ftello64 as an alias.
33917 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33918 Define _IO_fgetpos64 and fgetpos64 as aliases.
33919 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33920 Define _IO_fsetpos64 and fsetpos64 as aliases.
33921 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33922 Conditionalize body on this.
33923 * libio/fseeko64.c: Likewise.
33924 * libio/ftello64.c: Likewise.
33925 * libio/iofgetpos64.c: Likewise.
33926 * libio/iofsetpos64.c: Likewise.
33927 * sysdeps/wordsize-64/lockf.c: File removed.
33928 * sysdeps/wordsize-64/lockf64.c: File removed.
33929 * sysdeps/wordsize-64/fseeko.c: File removed.
33930 * sysdeps/wordsize-64/fseeko64.c: File removed.
33931 * sysdeps/wordsize-64/ftello.c: File removed.
33932 * sysdeps/wordsize-64/ftello64.c: File removed.
33933 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33934 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33935 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33936 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33937 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33938 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33939 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33940 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33941 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33942 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33943 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33944 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33945 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33946 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33948 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33950 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33952 [defined __arch64__ || defined __sparcv9]
33953 (__OFF_T_MATCHES_OFF64_T): New macro.
33954 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33955 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33956 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33957 (__OFF_T_MATCHES_OFF64_T): New macro.
33959 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33961 * stdlib/secure-getenv.c (__secure_getenv): Replace
33962 GLIBC_2_16 with GLIBC_2_17.
33964 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33966 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33967 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33969 2012-08-03 David S. Miller <davem@davemloft.net>
33971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33973 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33975 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33977 (__ASSUME_CORRECT_SI_PID): Likewise.
33978 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33979 (__ASSUME_TMPFS_NAME): Likewise.
33980 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33981 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33982 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33983 (HAVE_AUX_SECURE): Make definition unconditional.
33984 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33985 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33987 2012-08-03 Roland McGrath <roland@hack.frob.com>
33989 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33990 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33991 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33992 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33993 __eloop_threshold instead of SYMLOOP_MAX.
33995 * sysdeps/generic/eloop-threshold.h: New file.
33996 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33998 * elf/chroot_canon.c (chroot_canon): Likewise.
34000 2012-08-03 Joseph Myers <joseph@codesourcery.com>
34003 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34004 Change to 2.6.0 everywhere.
34005 * sysdeps/unix/sysv/linux/configure: Regenerated.
34006 * sysdeps/unix/sysv/linux/kernel-features.h
34007 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34008 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34010 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34011 (__ASSUME_FUTEX_REQUEUE): Remove.
34012 (__ASSUME_STATFS64): Define unconditionally.
34013 (__ASSUME_AT_SECURE): Likewise.
34014 (__ASSUME_CORRECT_SI_PID): Likewise.
34015 (__ASSUME_TGKILL): Define without depending on kernel version for
34017 (__ASSUME_UTIMES): Likewise.
34018 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34020 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34021 (__ASSUME_TMPFS_NAME): Likewise.
34022 * README: Update reference to Linux kernel versions.
34024 2012-08-02 Marek Polacek <polacek@redhat.com>
34027 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34028 libc_cv_asm_type_prefix with %.
34029 * configure: Regenerated.
34030 * include/libc-symbols.h: Remove comment about
34031 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34032 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34033 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34034 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34035 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34036 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34037 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34038 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34039 * elf/tst-unique2mod1.c: Likewise.
34040 * elf/tst-unique1mod2.c: Likewise.
34041 * elf/tst-unique1mod1.c: Likewise.
34042 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34043 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34044 Replace ASM_TYPE_DIRECTIVE with .type.
34045 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34046 * sysdeps/i386/sysdep.h: Likewise.
34047 * sysdeps/x86_64/sysdep.h: Likewise.
34048 * sysdeps/sh/sysdep.h: Likewise.
34049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34050 Do not define ASM_TYPE_DIRECTIVE.
34051 * sysdeps/powerpc/sysdep.h: Likewise.
34052 * sysdeps/powerpc/powerpc32/sysdep.h:
34053 Replace ASM_TYPE_DIRECTIVE with .type.
34054 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34055 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34056 * sysdeps/i386/fpu/e_powf.S: Likewise.
34057 * sysdeps/i386/fpu/e_expl.S: Likewise.
34058 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34059 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34060 * sysdeps/i386/fpu/e_pow.S: Likewise.
34061 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34063 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34064 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34065 * sysdeps/i386/fpu/e_log2.S: Likewise.
34066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34067 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34068 * sysdeps/i386/fpu/e_powl.S: Likewise.
34069 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34070 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34071 * sysdeps/i386/fpu/e_logl.S: Likewise.
34072 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34073 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34074 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34075 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34076 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34077 * sysdeps/i386/fpu/e_log.S: Likewise.
34078 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34079 * sysdeps/i386/fpu/e_logf.S: Likewise.
34080 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34081 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34082 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34083 * sysdeps/i386/fpu/e_log10.S: Likewise.
34084 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34085 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34086 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34087 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34088 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34089 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34090 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34091 * sysdeps/i386/i686/strtok.S: Likewise.
34092 * sysdeps/i386/i386-mcount.S: Likewise.
34093 * sysdeps/i386/strtok.S: Likewise.
34094 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34095 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34096 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34097 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34098 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34099 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34100 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34101 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34102 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34103 * sysdeps/x86_64/_mcount.S: Likewise.
34104 * sysdeps/x86_64/strtok.S: Likewise.
34105 * sysdeps/sh/_mcount.S: Likewise.
34107 2012-08-01 Roland McGrath <roland@hack.frob.com>
34109 * libio/iofopen.c: Include <fcntl.h>.
34110 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34111 (_IO_fopen64, fopen64): Define as aliases.
34112 * libio/iofopen64.c: Include <fcntl.h>.
34113 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34114 Conditionalize body on this.
34115 * sysdeps/wordsize-64/iofopen.c: File removed.
34116 * sysdeps/wordsize-64/iofopen64.c: File removed.
34118 2012-08-01 Marek Polacek <polacek@redhat.com>
34120 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34121 Use dlfcn directly instead of a variable.
34122 (binfmt-subdir): Do not define.
34125 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34127 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34128 Remove all definitions.
34129 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34130 <kernel-features.h>.
34131 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34132 (miss_F_GETOWN_EX): Remove all definitions.
34133 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34135 [!__ASSUME_FCNTL64]: Remove conditional code.
34136 [__ASSUME_FCNTL64]: Make code unconditional.
34137 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34138 <kernel-features.h>.
34139 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34140 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34141 (lockf64) [__NR_fcntl64]: Make code unconditional.
34142 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34144 * sysdeps/unix/sysv/linux/kernel-features.h
34145 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34146 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34147 Make code unconditional.
34148 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34149 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34151 [__NR_vfork]: Make code unconditional.
34152 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34153 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34155 [__NR_vfork]: Make code unconditional.
34156 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34157 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34159 2012-08-01 Roland McGrath <roland@hack.frob.com>
34161 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34162 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34164 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34165 Define mkstemp64 as an alias.
34166 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34167 Define mkstemps64 as an alias.
34168 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34169 Define mkostemp64 as an alias.
34170 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34171 Define mkostemps64 as an alias.
34172 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34173 Conditionalize body on this.
34174 * misc/mkostemp64.c: Likewise.
34175 * misc/mkostemps64.c: Likewise.
34176 * misc/mkstemps64.c: Likewise.
34177 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34178 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34179 * sysdeps/wordsize-64/mkostemp.c: File removed.
34180 * sysdeps/wordsize-64/mkstemp.c: File removed.
34181 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34182 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34183 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34184 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34187 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34188 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34189 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34190 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34192 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34193 compat_symbol macros from <shlib-compat.h> rather than the underlying
34194 default_symbol_version and symbol_version macros, so that DEFAULT
34195 lines in shlib-versions are respected.
34196 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34198 2012-08-01 Florian Weimer <fweimer@redhat.com>
34200 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34201 Declare with warn_unused_result.
34202 (setgid, setregid, setegid, setresgid): Likewise.
34203 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34205 * WUR-REPORT: Remove set*id functions.
34207 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34209 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34211 2012-07-31 Roland McGrath <roland@hack.frob.com>
34214 * include/sys/socket.h (__libc_accept, __libc_accept4):
34215 Add attribute_hidden.
34216 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34218 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34220 * inet/getnetgrent_r.c (setup): Likewise.
34222 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34224 2012-07-31 David S. Miller <davem@davemloft.net>
34226 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34228 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34231 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34232 value between 1.0 and 2.0 and smaller part has absolute value less
34234 * math/s_clog10.c (__clog10): Likewise.
34235 * math/s_clog10f.c (__clog10f): Likewise.
34236 * math/s_clog10l.c (__clog10l): Likewise.
34237 * math/s_clogf.c (__clogf): Likewise.
34238 * math/s_clogl.c (__clogl): Likewise.
34239 * math/libm-test.inc (clog_test): Add more tests.
34240 (clog10_test): Likewise.
34241 * sysdeps/i386/fpu/libm-test-ulps: Update.
34242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34244 2012-07-31 Florian Weimer <fweimer@redhat.com>
34246 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34247 Exit with zero in case no suitable GID is found, and write a
34248 message to standard error.
34250 2012-07-30 Roland McGrath <roland@hack.frob.com>
34252 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34254 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34255 (MAXPATHLEN): Removed.
34256 (NOGROUP, NODEV): New macros.
34257 (setbit, clrbit, isset, isclr): New macros.
34258 (howmany, roundup, powerof2): New macros.
34259 (DEV_BSIZE): New macro.
34261 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34262 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34264 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34265 definition on [!__NO_LONG_DOUBLE_MATH].
34267 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34268 PTR_MANGLE and PTR_DEMANGLE.
34270 * socket/accept4.c (accept4): Rename to __libc_accept4.
34271 Define accept4 as a weak alias.
34273 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34274 on [_DIRENT_HAVE_D_TYPE].
34275 * io/ftw.c (ftw_dir): Likewise.
34277 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34279 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34281 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34282 Use the BSD numbers rather than the arbitrary ones we had.
34283 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34284 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34285 (SIGXCPU, SIGXFSZ): New macros.
34288 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34289 initializer on [_LIBC_REENTRANT].
34291 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34292 definitions inside [_POSIX_MAPPED_FILES].
34294 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34296 * dirent/opendir.c: Include <fcntl.h>.
34298 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34299 (__libc_getspecific): Likewise.
34300 (__libc_key_create): Likewise.
34302 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34303 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34304 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34305 (tmpfile64): Define as alias.
34306 * sysdeps/wordsize-64/tmpfile.c: File removed.
34307 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34308 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34309 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34311 * stdio-common/vfscanf.c: Include <stdbool.h>.
34312 * nss/makedb.c: Likewise.
34313 * stdio-common/_i18n_number.h: Likewise.
34314 * argp/argp-help.c: Likewise.
34315 * posix/wordexp.c: Likewise.
34316 * sysdeps/posix/spawni.c: Likewise.
34317 * nss/nss_files/files-initgroups.c: Likewise.
34318 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34319 * nss/nss_files/files-initgroups.c: Likewise.
34320 * nss/nss_db/db-netgrp.c: Likewise.
34321 * nss/nss_db/db-initgroups.c: Likewise.
34322 * io/fchmodat.c: Include <sys/stat.h>.
34324 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34325 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34327 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34330 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34331 Add multiple inclusion protection.
34333 2012-07-27 David S. Miller <davem@davemloft.net>
34335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34337 2012-07-27 Gary Benson <gbenson@redhat.com>
34340 * elf/rtld.c: Include <stap-probe.h>.
34341 (dl_main): Added static probes "init_start" and "init_complete".
34342 * elf/dl-load.c: Include <stap-probe.h>.
34343 (lose): Take new parameter "nsid".
34344 Added static probe "map_failed".
34345 (_dl_map_object_from_fd): Pass namespace id to lose.
34346 Added static probe "map_start".
34347 (open_verify): Pass namespace id to lose.
34348 * elf/dl-open.c: Include <stap-probe.h>.
34349 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34350 and "reloc_complete".
34351 * elf/dl-close.c: Include <stap-probe.h>.
34352 (_dl_close_worker): Added static probes "unmap_start" and
34354 * elf/rtld-debugger-interface.txt: New file documenting the above.
34356 2012-07-26 Roland McGrath <roland@hack.frob.com>
34358 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34359 rather than a string variable.
34360 * sunrpc/rpc_main.c (h_output): Likewise.
34361 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34363 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34365 * inet/check_native.c: New file.
34367 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34370 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34371 if larger part has absolute value 1.0.
34372 * math/s_clog10.c (__clog10): Likewise.
34373 * math/s_clog10f.c (__clog10f): Likewise.
34374 * math/s_clog10l.c (__clog10l): Likewise.
34375 * math/s_clogf.c (__clogf): Likewise.
34376 * math/s_clogl.c (__clogl): Likewise.
34377 * math/libm-test.inc (clog_test): Add more tests.
34378 (clog10_test): Likewise.
34379 * sysdeps/i386/fpu/libm-test-ulps: Update.
34380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34382 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34383 (pltexit): Likewise.
34384 (La_regs): Likewise.
34385 (La_retval): Likewise.
34386 (int_retval): Likewise.
34387 Update #error for removed macros to refer only to definitions in
34389 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34391 (pltexit): Likewise.
34392 (La_regs): Likewise.
34393 (La_retval): Likewise.
34394 (int_retval): Likewise.
34395 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34397 (pltexit): Likewise.
34398 (La_regs): Likewise.
34399 (La_retval): Likewise.
34400 (int_retval): Likewise.
34401 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34403 (pltexit): Likewise.
34404 (La_regs): Likewise.
34405 (La_retval): Likewise.
34406 (int_retval): Likewise.
34407 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34409 (pltexit): Likewise.
34410 (La_regs): Likewise.
34411 (La_retval): Likewise.
34412 (int_retval): Likewise.
34413 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34415 (pltexit): Likewise.
34416 (La_regs): Likewise.
34417 (La_retval): Likewise.
34418 (int_retval): Likewise.
34419 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34421 (pltexit): Likewise.
34422 (La_regs): Likewise.
34423 (La_retval): Likewise.
34424 (int_retval): Likewise.
34425 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34426 macro definitions in tst-audit.h.
34427 * sysdeps/i386/tst-audit.h: New file.
34428 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34429 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34430 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34431 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34432 * sysdeps/sh/tst-audit.h: Likewise.
34433 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34434 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34435 * sysdeps/x86_64/tst-audit.h: Likewise.
34437 2012-07-26 Andreas Jaeger <aj@suse.de>
34439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34442 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34443 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34444 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34446 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34447 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34448 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34450 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34453 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34455 (si_call_addr, si_syscall, si_arch): Define new macro.
34456 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34458 (si_call_addr, si_syscall, si_arch): Define new marcro.
34459 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34461 (si_call_addr, si_syscall, si_arch): Define new macro.
34462 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34464 (si_call_addr, si_syscall, si_arch): Define new macro.
34466 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34470 Change to 2.4.21 where previously 2.4.1.
34471 * sysdeps/unix/sysv/linux/configure: Regenerated.
34472 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34473 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34474 Linux kernel version.
34475 (__ASSUME_STD_AUXV): Remove.
34476 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34478 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34479 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34480 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34481 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34482 (__ASSUME_NETLINK_SUPPORT): Likewise.
34483 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34484 (__no_netlink_support): Remove conditional definition.
34485 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34487 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34488 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34489 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34490 (if_nameindex_ioctl): Remove.
34491 (if_nameindex_netlink): Do not handle __no_netlink_support.
34492 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34494 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34495 Remove conditional code.
34496 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34498 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34500 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34501 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34502 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34504 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34505 [!__ASSUME_STD_AUXV]: Remove conditional code.
34506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34507 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34508 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34510 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34511 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34513 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34515 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34516 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34518 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34520 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34523 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34526 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34527 code unconditional.
34528 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34530 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34532 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34535 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34537 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34540 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34541 code unconditional.
34542 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34544 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34546 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34549 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34550 code unconditional.
34551 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34553 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34555 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34558 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34560 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34561 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34562 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34563 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34564 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34565 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34566 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34567 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34568 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34569 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34570 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34571 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34572 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34573 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34574 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34575 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34576 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34577 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34578 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34579 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34580 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34581 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34584 2012-07-25 Florian Weimer <fweimer@redhat.com>
34586 * Versions.def: Add GLIBC_2.17.
34587 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34588 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34589 Introduce __libc_secure_getenv.
34590 * stdlib/Versions (2.17): Add secure_getenv
34591 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34592 * stdlib/secure-getenv.c: Rename __secure_getenv to
34593 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34594 symbol __secure_getenv for GLIBC_2.0.
34595 * stdlib/tst-secure-getenv.c: New.
34596 * stdlib/Makefile (tests): Add testcase.
34597 * manual/startup.texi (Environment Access): Document
34599 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34600 __libc_secure_getenv.
34601 * inet/ruserpass.c (ruserpass): Likewise.
34602 * malloc/mtrace.c (mtrace): Likewise.
34603 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34604 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34605 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34606 * sysdeps/posix/tempname.c: Likewise. Evaluate
34607 HAVE_SECURE_GETENV.
34608 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34609 __secure_getenv to __libc_secure_getenv.
34610 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34617 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34620 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34623 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34625 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34626 (struct La_i86_retval): Likewise.
34627 (struct La_x86_64_regs): Likewise.
34628 (struct La_x86_64_retval): Likewise.
34629 (struct La_x32_regs): Likewise.
34630 (struct La_x32_retval): Likewise.
34631 (struct La_ppc32_regs): Likewise.
34632 (struct La_ppc32_retval): Likewise.
34633 (struct La_ppc64_regs): Likewise.
34634 (struct La_ppc64_retval): Likewise.
34635 (struct La_sh_regs): Likewise.
34636 (struct La_sh_retval): Likewise.
34637 (struct La_s390_32_regs): Likewise.
34638 (struct La_s390_32_retval): Likewise.
34639 (struct La_s390_64_regs): Likewise.
34640 (struct La_s390_64_retval): Likewise.
34641 (struct La_sparc32_regs): Likewise.
34642 (struct La_sparc32_retval): Likewise.
34643 (struct La_sparc64_regs): Likewise.
34644 (struct La_sparc64_retval): Likewise.
34645 (struct audit_ifaces): Remove architecture-specific pltenter and
34647 * sysdeps/i386/ldsodefs.h: New file.
34648 * sysdeps/powerpc/ldsodefs.h: Likewise.
34649 * sysdeps/s390/ldsodefs.h: Likewise.
34650 * sysdeps/sh/ldsodefs.h: Likewise.
34651 * sysdeps/sparc/ldsodefs.h: Likewise.
34652 * sysdeps/x86_64/ldsodefs.h: Likewise.
34654 2012-07-25 Marek Polacek <polacek@redhat.com>
34657 * math/libm-test.inc (yn_test): Add another test.
34658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34659 to ERANGE when the result is +-Inf.
34660 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34661 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34662 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34663 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34665 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34667 * conform/data/time.h-data (NULL): Use macro-constant. Require
34669 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34671 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34673 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34675 * configure.in <sysdeps resolving>: Correct printing
34677 * configure: Regenerate.
34679 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34681 * math/w_ilogb.c: Include <limits.h>.
34682 * math/w_ilogbl.c: Likewise.
34684 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34686 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34687 va_copy. Document allowing for unavailable va_copy only as
34688 pre-C99 compatibility.
34689 * manual/string.texi (Copying and Concatenation): Use va_copy
34690 instead of __va_copy in concat example.
34692 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34694 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34695 (__sendto): Use create_address_port. Initialize APORT and deallocate
34698 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34699 with O_NOLINK passed to __file_name_lookup.
34701 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34702 with O_NOLINK passed to __file_name_lookup.
34704 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34705 negative N or less than NGIDS.
34707 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34708 type to string_t. Set ERANGE as errno and return it if NAME is not big
34709 enough. Use memcpy instead of strncpy.
34711 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34713 * elf/Makefile (check-data): Remove.
34714 (localplt.data): New vpath directive.
34715 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34716 instead of $(check-data).
34717 * scripts/data/localplt-generic.data: Move to ...
34718 * sysdeps/generic/localplt.data: ... here.
34719 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34720 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34721 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34724 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34727 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34730 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34733 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34736 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34740 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34742 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34743 PPC32 and PPC64 files.
34744 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34745 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34747 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34749 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34750 __makecontext_ret to ...
34751 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34752 ... here and call exit if uc_link is NULL. New file.
34753 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34754 __makecontext_ret.S.
34755 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34756 __makecontext_ret to ...
34757 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34758 ... here and call exit if uc_link is NULL. New file.
34759 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34760 __makecontext_ret.S.
34762 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34764 * elf/elf.h (R_390_IRELATIVE): New definition.
34765 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34766 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34767 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34768 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34769 (elf_machine_lazy_rel): Likewise.
34770 * sysdeps/s390/dl-irel.h: New file.
34771 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34772 * sysdeps/s390/s390-64/memset.S: New asm code.
34773 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34774 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34775 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34776 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34777 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34778 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34779 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34780 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34781 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34782 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34783 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34784 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34785 * sysdeps/s390/s390-32/memset.S: New asm code.
34786 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34788 2012-07-17 Marek Polacek <polacek@redhat.com>
34791 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34792 * sysdeps/s390/s390-64/configure.in: Likewise.
34793 * sysdeps/sparc/configure.in: Likewise.
34794 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34795 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34796 * sysdeps/i386/configure.in: Likewise.
34797 * sysdeps/x86_64/configure.in: Likewise.
34798 * sysdeps/sh/configure.in: Likewise.
34799 * sysdeps/s390/s390-32/configure: Regenerated.
34800 * sysdeps/s390/s390-64/configure: Likewise.
34801 * sysdeps/x86_64/configure: Likewise.
34802 * sysdeps/sh/configure: Likewise.
34803 * sysdeps/powerpc/powerpc64/configure: Likewise.
34804 * sysdeps/powerpc/powerpc32/configure: Likewise.
34805 * sysdeps/sparc/configure: Likwise.
34806 * sysdeps/i386/configure: Likewise.
34808 * elf/dl-open.c: Comment fixes.
34810 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34812 * Makefile [CXX] (check-data): Remove.
34813 [CXX] (c++-types.data): New vpath directive.
34814 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34815 vpath. Do not allow for C++ type data being missing.
34816 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34817 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34818 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34819 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34820 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34821 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34822 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34825 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34828 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34831 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34834 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34835 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34837 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34838 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34840 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34843 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34846 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34847 definitions to architecture-specific files.
34848 (TLS_IE): Likewise.
34849 (TLS_LD): Likewise.
34850 (TLS_GD): Likewise.
34851 * sysdeps/i386/tls-macros.h: New file.
34852 * sysdeps/powerpc/tls-macros.h: Likewise.
34853 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34854 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34855 * sysdeps/sh/tls-macros.h: Likewise.
34856 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34857 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34858 * sysdeps/x86_64/tls-macros.h: Likewise.
34860 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34862 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34863 zero value for regular exit case.
34865 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34866 (__start_context): Preserve zero value for regular exit case.
34868 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34869 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34871 * manual/setjmp.texi (setcontext): Clarify normal process
34872 termination when uc_link is the null pointer.
34873 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34876 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34878 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34879 preprocessor. Test for each exception mask separately.
34881 2012-07-16 Andreas Jaeger <aj@suse.de>
34883 * po/ru.po: Update from translation team.
34885 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34887 * conform/data/string.h-data (NULL): Use macro-constant. Require
34889 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34890 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34891 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34892 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34895 2012-07-13 Andreas Jaeger <aj@suse.de>
34897 * po/fr.po: Update from translation team.
34899 2012-07-12 Marek Polacek <polacek@redhat.com>
34902 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34903 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34906 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34909 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34910 Change to 2.4.1 where previously 2.4.0.
34911 * sysdeps/unix/sysv/linux/configure: Regenerated.
34912 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34913 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34915 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34916 (__ASSUME_AT_CLKTCK): Remove.
34917 (__ASSUME_AT_PAGESIZE): Likewise.
34918 (__ASSUME_AT_XID): Likewise.
34919 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34920 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34921 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34923 (HAVE_AUX_PAGESIZE): Likewise.
34924 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34925 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34926 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34928 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34932 the temporary buffer used to invoke __gethostbyname2_r,
34933 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34934 host_data / struct gaih_addrtuple.
34935 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34936 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34937 header file nss/nsswitch.h.
34938 * nss/nsswitch.h (global scope): Add definition of implementation
34939 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34940 resolv/nss_dns/dns-host.c).
34942 2012-07-11 Andreas Jaeger <aj@suse.de>
34944 * po/fr.po: Update from translation team.
34946 * po/sv.po: Update from translation team
34947 * po/fr.po: Another update from translation team.
34949 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34951 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34952 for subnormals or multiply small sinh result by itself.
34953 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34956 2012-07-11 David S. Miller <davem@davemloft.net>
34958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34960 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34963 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34964 (INTERNAL_MARK): Shift it here.
34966 2012-07-10 Marek Polacek <polacek@redhat.com>
34969 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34970 libc_cv_asm_global_directive with .globl.
34971 * configure: Regenerated.
34972 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34974 * sysdeps/i386/configure: Regenerated.
34975 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34977 * sysdeps/x86_64/configure: Regenerated.
34978 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34979 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34980 * elf/tst-unique2mod2.c: Likewise.
34981 * elf/tst-unique2mod1.c: Likewise.
34982 * elf/tst-unique1mod2.c: Likewise.
34983 * elf/tst-unique1mod1.c: Likewise.
34984 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34985 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34986 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34988 * sysdeps/mach/sysdep.h: Likewise.
34989 * sysdeps/i386/sysdep.h: Likewise.
34990 * sysdeps/i386/i386-mcount.S: Likewise.
34991 * sysdeps/x86_64/_mcount.S: Likewise.
34992 * sysdeps/x86_64/sysdep.h: Likewise.
34993 * sysdeps/sh/_mcount.S: Likewise.
34994 * sysdeps/sh/sysdep.h: Likewise.
34995 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34996 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34997 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34998 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34999 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35000 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35001 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35002 * locale/localeinfo.h: Likewise.
35003 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35004 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35006 2012-07-09 Roland McGrath <roland@hack.frob.com>
35009 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35011 * manual/message.texi (The Uniforum approach): Likewise.
35012 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35013 (glibc iconv Implementation): Likewise.
35015 2012-07-09 Joseph Myers <joseph@codesourcery.com>
35018 * math/s_clog.c (__clog): Avoid scaling a value down where that
35019 could result in underflow.
35020 * math/s_clog10.c (__clog10): Likewise.
35021 * math/s_clog10f.c (__clog10f): Likewise.
35022 * math/s_clog10l.c (__clog10l): Likewise.
35023 * math/s_clogf.c (__clogf): Likewise.
35024 * math/s_clogl.c (__clogl): Likewise.
35025 * math/libm-test.inc (clog_test): Add more tests.
35026 (clog10_test): Likewise.
35027 * sysdeps/i386/fpu/libm-test-ulps: Update.
35028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35030 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35033 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35034 by 7 not 8 to examine high bit of fractional part.
35037 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35038 for call to __mcount_internal.
35039 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35040 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35041 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35043 2012-07-06 Joseph Myers <joseph@codesourcery.com>
35046 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35047 approximation for values within 0x1p-13f of an odd multiple of
35049 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35050 exception. Add more tests.
35051 * sysdeps/i386/fpu/libm-test-ulps: Update.
35054 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35055 inputs and return -1 for them. Do not check for +Inf in case not
35056 reachable for +Inf.
35057 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35058 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35059 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35060 and return -1 for them. Do not check for +Inf in case not
35061 reachable for +Inf.
35062 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35064 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35065 and return -1 for them. Do not check for +Inf in case not
35066 reachable for +Inf.
35067 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35068 spurious underflow.
35069 * sysdeps/i386/fpu/libm-test-ulps: Update.
35070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35072 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35074 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35076 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35080 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35081 could result in spurious underflow. Scale down values above
35082 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35083 * math/s_csqrtf.c (__csqrtf): Likewise.
35084 * math/s_csqrtl.c (__csqrtl): Likewise.
35085 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35086 spurious underflow.
35087 * sysdeps/i386/fpu/libm-test-ulps: Update.
35088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35090 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35092 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35094 * catgets/xopen-msg.awk: New file.
35095 * catgets/xopen-msg.sed: Removed.
35097 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35099 * intl/po2test.awk: New file.
35100 * intl/po2test.sed: Removed.
35102 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35105 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35106 or multiply small sinh result by itself.
35107 * math/s_ctanf.c (__ctanf): Likewise.
35108 * math/s_ctanh.c (__ctanh): Likewise.
35109 * math/s_ctanhf.c (__ctanhf): Likewise.
35110 * math/s_ctanhl.c (__ctanhl): Likewise.
35111 * math/s_ctanl.c (__ctanl): Likewise.
35112 * math/libm-test.inc (ctan_test_tonearest): New function.
35113 (ctan_test_towardzero): Likewise.
35114 (ctan_test_downward): Likewise.
35115 (ctan_test_upward): Likewise.
35116 (ctanh_test_tonearest): Likewise.
35117 (ctanh_test_towardzero): Likewise.
35118 (ctanh_test_downward): Likewise.
35119 (ctanh_test_upward): Likewise.
35120 (main): Call these new functions.
35121 * sysdeps/i386/fpu/libm-test-ulps: Update.
35122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35124 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35126 * .gitignore: Delete /ports entry.
35128 2012-07-03 Andreas Jaeger <aj@suse.de>
35130 * po/bg.po: Update from translation team.
35131 * po/cs.po: Likewise.
35132 * po/de.po: Likewise.
35133 * po/hr.po: Likewise.
35134 * po/nl.pl: Likewise.
35135 * po/pl.po: Likewise.
35136 * po/vi.po: Likewise.
35138 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35140 * Makeconfig [!+link] (+link-before-libc): New variable.
35141 [!+link] (+link-after-libc): Likewise.
35142 [!+link] (+link-tests): Likewise.
35143 [!+link] (+link): Define in terms of $(+link-before-libc) and
35144 $(+link-after-libc).
35145 [!+link-static] (+link-static-before-libc): New variable.
35146 [!+link-static] (+link-static-after-libc): Likewise.
35147 [!+link-static] (+link-static-tests): Likewise.
35148 [!+link-static] (+link-static): Define in terms of
35149 $(+link-static-before-libc) and $(+link-static-after-libc).
35150 [build-shared] (link-libc-before-gnulib): New variable.
35151 [build-shared] (link-libc-tests): Likewise.
35152 [build-shared] (link-libc): Define in terms of
35153 $(link-libc-before-gnulib).
35154 [!build-shared] (link-libc-tests): New variable.
35155 (link-libc-static-tests): New variable.
35156 [!gnulib] (gnulib-arch): New variable.
35157 [!gnulib] (gnulib-tests): Likewise.
35158 [!gnulib] (static-gnulib-arch): Likewise.
35159 [!gnulib] (static-gnulib-tests): Likewise.
35160 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35161 Define with "=" instead of ":=".
35162 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35163 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35164 * Rules (binaries-all-notests): New variable.
35165 (binaries-all-tests): Likewise.
35166 (binaries-static-notests): Likewise.
35167 (binaries-static-tests): Likewise.
35168 (binaries-all): Define using $(binaries-all-notests) and
35169 $(binaries-all-tests).
35170 (binaries-static): Define using $(binaries-static-notests) and
35171 $(binaries-static-tests).
35172 (binaries-shared-tests): New variable.
35173 (binaries-shared-notests): Likewise.
35174 (binaries-shared): Remove variable.
35175 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35176 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35177 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35178 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35179 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35180 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35181 * elf/Makefile (sln-modules): New variable.
35182 (extra-objs): Add $(sln-modules:=.o).
35183 (ldconfig-modules): Add static-stubs.
35184 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35185 * elf/static-stubs.c: New file.
35188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35189 by 7 not 8 to examine high bit of fractional part. Use volatile
35190 variables when splitting into final array of floats if
35191 __FLT_EVAL_METHOD__ != 0.
35192 * math/libm-test.inc (cos_test): Add another test.
35193 (sin_test): Likewise.
35194 * sysdeps/i386/fpu/libm-test-ulps: Update.
35197 * math/libm-test.inc (cosh_test): Add more tests.
35199 * version.h (RELEASE): Set to "development".
35200 (VERSION): Set to "2.16.90".
35202 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35204 * NEWS: Update copyright. Remove last-updated date.
35205 Mention math library bug fixes and timezone data changes.
35206 * README: Mention GNU/Hurd, x32, and HPPA support status.
35208 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35210 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35212 2012-06-27 Andreas Jaeger <aj@suse.de>
35214 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35216 2012-06-25 Andreas Jaeger <aj@suse.de>
35218 * sysdeps/s390/fpu/libm-test-ulps: Update.
35220 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35221 Thomas Schwinge <thomas@codesourcery.com>
35223 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35224 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35225 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35228 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35230 * sysdeps/mach/start.c: Remove file.
35231 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35232 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35233 * sysdeps/sh/init-first.c: Likewise.
35235 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35236 registers for frame unwinding purposes, add CFI directives.
35237 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35238 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35239 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35242 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35243 __fortify_fail returning.
35244 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35246 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35247 sysdeps/sh/____longjmp_chk.S.
35248 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35249 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35250 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35251 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35253 * sysdeps/sh/abort-instr.h: New file.
35254 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35255 process in case exit returns.
35257 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35258 initialize the GOT register before use.
35260 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35261 calculation of ARGC > 4.
35263 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35264 meaningful names to some local labels.
35266 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35267 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35269 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35270 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35271 (__arch_compare_and_exchange_val_16_acq): Likewise.
35272 (__arch_compare_and_exchange_val_32_acq): Likewise.
35273 (atomic_exchange_and_add): Fix gUSA sequence.
35274 (atomic_add): Likewise.
35275 (atomic_add_negative): Likewise.
35276 (atomic_add_zero): Likewise.
35277 (atomic_bit_test_set): Likewise.
35279 2012-06-22 Andreas Schwab <schwab@redhat.com>
35282 * include/link.h (struct link_map): Add l_free_initfini.
35283 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35285 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35286 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35287 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35290 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35292 * configure.in: Use AC_LANG_SOURCE.
35293 * configure: Regenerate.
35295 2012-06-22 Roland McGrath <roland@hack.frob.com>
35297 * configure.in (libc_cv_localstatedir): New substituted variable.
35298 * configure: Regenerated.
35299 * config.make.in (localstatedir): New variable, substituted from
35300 libc_cv_localstatedir.
35301 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35302 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35303 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35304 * sysdeps/gnu/configure: Regenerated.
35306 2012-06-21 Jeff Law <law@redhat.com>
35309 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35310 free. Simplify list management for _LIBC case.
35312 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35315 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35316 Clear sign bit of 64-bit integer value before comparing against
35319 * sysdeps/mach/configure: Regenerated.
35321 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35324 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35326 2012-06-21 Jeff Law <law@redhat.com>
35329 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35330 uint16_t for elements in the "seen" array to avoid char overflows.
35331 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35332 * elf/dl-open.c (dl_open_worker): Likewise.
35334 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35336 * scripts/list-sources.sh: Scan PORTS for translations.
35337 * po/libc.pot: Regenerated.
35339 2012-06-21 Andreas Jaeger <aj@suse.de>
35342 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35344 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35345 * bits/byteswap-16.h (__bswap_16): Likewise.
35346 * bits/byteswap.h (__bswap_constant_16): Likewise.
35348 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35351 * sysdeps/i386/fpu_control.h: Removed.
35352 * sysdeps/x86_64/fpu_control.h: Moved to ...
35353 * sysdeps/x86/fpu_control.h: Here.
35355 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35356 (_FPU_SETCW): Likewise.
35358 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35361 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35362 * sysdeps/x86/fpu/bits/mathinline.h: This.
35363 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35367 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35368 functions if __x86_64__ is defined.
35370 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35372 * string/endian.h: Add !__ASSEMBLER__ condition for including
35373 conversion interfaces.
35375 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35379 of ABS(x) in calculating zero to negative powers other than odd
35381 * math/libm-test.inc (pow_test): Add more tests.
35383 2012-06-15 Andreas Jaeger <aj@suse.de>
35385 * manual/contrib.texi (Contributors): Update entry of Liubov
35386 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35389 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35391 * string/string.h: Add __wur to GNU version of strerror_r.
35393 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35396 * string/Makefile (tests): Add tst-strtok_r.
35397 * string/tst-strtok_r.c: New file.
35398 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35399 RAX_LP/RDX_LP on SAVE_PTR.
35401 2012-06-14 Roland McGrath <roland@hack.frob.com>
35403 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35405 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35407 * libm_test.inc (csqrt_test): Allow more spurious underflow
35409 (j0_test): Likewise.
35410 (j1_test): Likewise.
35411 (y0_test): Likewise.
35412 (y1_test): Likewise.
35414 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35416 * po/Makefile (libc.pot): Use UTF-8 charset.
35418 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35421 Suppress sign-conversion warning from FD_SET.
35422 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35423 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35424 not unsigned long int.
35425 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35427 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35431 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35432 __extern_always_inline instead of __extern_inline.
35433 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35434 (__signbit): Likewise.
35435 (__signbitl): Support C++ namespace.
35436 (lrintf): New inline function.
35438 (llrintf): Likewise.
35439 (llrint): Likewise.
35449 (floorf): Likewise.
35450 (nearbyint): Likewise.
35451 (nearbyintf): Likewise.
35453 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35455 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35456 non-default versions.
35458 2012-06-11 Roland McGrath <roland@hack.frob.com>
35461 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35463 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35465 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35466 (FE_UPWARD, FE_DOWNWARD): Don't define.
35467 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35468 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35470 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35472 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35473 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35475 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35477 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35478 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35479 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35480 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35482 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35485 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35486 * sysdeps/i386/fpu/Implies: New file.
35487 * sysdeps/x86_64/fpu/Implies: Likewise.
35488 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35489 * sysdeps/x86/fpu/bits/fenv.h: This.
35491 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35494 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35497 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35498 character 0xffff that matches the last element of the
35501 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35503 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35506 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35508 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35509 values higher than 25.6283.
35511 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35513 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35514 subnormal exponent extraction and add some __builtin_expect.
35515 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35516 Fix for subnormal mantissa calculation.
35518 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35520 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35521 cpu2 is -1 and errno is not ENOSYS.
35523 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35526 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35527 * sysdeps/x86/bits/string.h: This.
35528 * sysdeps/x86_64/bits/string.h: Removed.
35530 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35531 if not compiling for x86-64, but compiling for >= i486.
35533 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35534 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35536 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35537 New macro from Linux kernel 3.4.0.
35538 (FP_XSTATE_MAGIC2): Likewise.
35539 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35540 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35541 (struct _fpx_sw_bytes): New struct.
35542 (struct _xsave_hdr): Likewise.
35543 (struct _ymmh_state): Likewise.
35544 (struct _xstate): Likewise.
35546 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35547 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35548 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35549 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35550 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35551 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35553 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35554 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35555 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35556 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35557 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35558 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35560 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35563 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35564 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35565 (sysdep_headers): Include sys/platform/ppc.h.
35566 * sysdeps/powerpc/test-gettimebase.c: Test for
35567 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35568 * manual/Makefile (appendices): Include platform.texi.
35569 * manual/contrib.texi (Contributors): Update @node pointers.
35570 * manual/maint.texi (Maintenance): Likewise.
35571 (Platform): New node.
35572 * manual/platform.texi: New file. Document the new features.
35574 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35575 Jakub Jelinek <jakub@redhat.com>
35578 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35579 where __builtin_expect is unavailable.
35581 2012-06-03 David S. Miller <davem@davemloft.net>
35583 * stdlib/longlong.h: Updated from GCC.
35585 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35588 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35589 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35592 (GLIBC_2.16): Likewise.
35594 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35596 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35598 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35601 (default-abi): New variable.
35602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35603 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35605 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35607 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35609 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35612 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35613 definition. Document in comment.
35615 2012-06-01 David S. Miller <davem@davemloft.net>
35617 * stdlib/longlong.h: Updated from GCC.
35619 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35622 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35623 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35624 sys/debugreg.h sys/io.h here.
35625 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35626 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35628 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35629 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35630 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35631 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35632 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35633 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35635 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35636 Define only if __x86_64__ is defined.
35638 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35641 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35642 Use int64_t for variable i.
35643 * math/libm-test.inc (fmod_test): Add more tests.
35645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35646 z computation is not scheduled after fetestexcept.
35647 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35648 Use math_force_eval instead of asm to ensure calculation scheduled
35649 before exception test.
35650 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35651 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35653 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35655 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35656 computation is not scheduled after fetestexcept.
35658 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35661 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35662 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35664 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35666 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35667 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35669 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35672 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35674 (__WCHAR_MIN): Support __WORDSIZE == 64.
35675 (__WCHAR_MAX): Likewise.
35677 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35678 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35681 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35682 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35685 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35686 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35688 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35689 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35692 Defined to 1 if __x86_64__ isn't defined.
35693 (_STAT_VER_LINUX_OLD): New.
35694 (st_atime): Remove duplicate.
35695 (st_mtime): Likewise.
35696 (st_ctime): Likewise.
35698 2012-05-31 David S. Miller <davem@davemloft.net>
35700 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35703 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35705 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35709 * elf/dl-reloc.c: Include <_itoa.h>.
35710 (_dl_reloc_bad_type): Remove use of INTUSE.
35711 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35712 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35713 * stdio-common/psiginfo.c (psiginfo): Likewise.
35714 * stdio-common/psignal.c (psignal): Likewise.
35715 * string/strsignal.c (strsignal): Likewise.
35716 * include/signal.h (_sys_siglist): Declare hidden proto.
35717 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35718 INTVARDEF with libc_hidden_data_def.
35719 * stdio-common/itoa-udigits.c: Likewise.
35720 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35721 (_itoa_lower_digits_internal): Remove declaration.
35722 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35723 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35724 (_sys_sigabbrev_internal): Remove aliases.
35725 (_sys_siglist): Define hidden alias.
35727 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35732 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35735 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35736 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35738 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35739 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35740 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35741 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35743 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35745 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35746 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35747 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35749 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35757 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35759 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35762 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35763 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35764 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35765 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35766 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35768 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35769 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35771 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35772 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35774 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35775 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35776 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35778 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35779 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35781 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35783 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35784 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35785 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35787 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35789 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35791 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35793 * math/math.h (M_El): Use two more decimal places.
35794 (M_LOG2El): Likewise.
35795 (M_LOG10El): Likewise.
35796 (M_LN2l): Likewise.
35797 (M_LN10l): Likewise.
35799 (M_PI_2l): Likewise.
35800 (M_PI_4l): Likewise.
35801 (M_1_PIl): Likewise.
35802 (M_2_PIl): Likewise.
35803 (M_2_SQRTPIl): Likewise.
35804 (M_SQRT2l): Likewise.
35805 (M_SQRT1_2l): Likewise.
35807 2012-05-31 David S. Miller <davem@davemloft.net>
35809 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35810 values between float registers.
35811 * sysdeps/sparc/sparc64/memset.S: Likewise.
35812 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35814 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35816 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35817 -D_FORTIFY_SOURCE=1.
35818 (CPPFLAGS-tst-longjmp_chk.c): Define.
35819 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35820 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35821 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35822 CFLAGS-tst-wchar-h.c.
35824 2012-05-31 Marek Polacek <polacek@redhat.com>
35827 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35828 __endmntent_internal): Remove declaration.
35829 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35830 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35831 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35833 2012-05-30 David S. Miller <davem@davemloft.net>
35835 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35836 (___Q_simulate_exceptions): Use real FP ops rather than writing
35838 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35841 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35844 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35845 * sysdeps/x86/bits/xtitypes.h: This.
35847 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35848 * sysdeps/x86/bits/wordsize.h: This.
35850 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35851 * sysdeps/x86/bits/huge_vall.h: This.
35853 * sysdeps/i386/bits/select.h: Removed.
35854 * sysdeps/x86_64/bits/select.h: Renamed to ...
35855 * sysdeps/x86/bits/select.h: This.
35857 * sysdeps/i386/bits/setjmp.h: Removed.
35858 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35859 * sysdeps/x86/bits/setjmp.h: This.
35861 * sysdeps/i386/bits/mathdef.h: Removed.
35862 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35863 * sysdeps/x86/bits/mathdef.h: This.
35865 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35868 * include/sys/socket.h (__connect_internal)
35869 (__libc_sa_len_internal): Remove declaration.
35870 (__connect, __libc_sa_len): Declare hidden_proto.
35871 (SA_LEN): Remove use of INTUSE.
35872 * socket/connect.c: Add libc_hidden_def.
35873 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35874 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35875 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35877 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35878 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35879 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35880 of adding _internal alias.
35882 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35885 * sysdeps/i386/bits/link.h: Removed.
35886 * sysdeps/i386/bits/linkmap.h: Likewise.
35887 * sysdeps/x86_64/bits/link.h: Renamed to ...
35888 * sysdeps/x86/bits/link.h: This.
35889 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35890 * sysdeps/x86/bits/linkmap.h: This.
35892 * sysdeps/i386/bits/endian.h: Removed.
35893 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35894 * sysdeps/x86/bits/endian.h: This.
35896 * sysdeps/i386/bits/byteswap.h: Removed.
35897 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35898 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35899 * sysdeps/x86/bits/byteswap.h: This.
35900 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35901 * sysdeps/x86/bits/byteswap-16.h: This.
35902 * sysdeps/i386/Implies: Add x86.
35903 * sysdeps/x86_64/Implies: Likewise.
35905 2012-05-30 David S. Miller <davem@davemloft.net>
35907 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35908 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35909 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35910 (FP_TRAPPING_EXCEPTIONS): Define.
35911 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35912 (FP_TRAPPING_EXCEPTIONS): Define.
35913 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35914 subnormals only when inexact has been signalled or underflow
35915 exceptions are enabled.
35916 (_FP_PACK_CANONICAL): Likewise.
35918 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35921 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35922 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35924 2012-05-30 Richard Henderson <rth@twiddle.net>
35926 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35927 with #ifndef NOT_IN_libc.
35929 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35930 marked to avoid plt entry.
35932 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35935 * Makeconfig (default-abi): New macro.
35936 (abi-includes): Likewise.
35937 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35938 $(abi-$(default-abi)-lib-soname) for soname if defined.
35939 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35941 * Makefile (installed-stubs): Likewise.
35942 * include/stubs-biarch.h: Removed.
35943 * scripts/lib-names.awk: Only handle one library at a time.
35944 * scripts/soversions.awk: Remove WORDSIZE support.
35945 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35947 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35949 (syscall-list-default-condition): Likewise.
35950 (syscall-list-default-condition): Likewise.
35951 (syscall-list-includes): Likewise.
35952 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35953 syscall-list-* with abi-*. Handle undefined abi-variants.
35954 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35955 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35956 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35957 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35958 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35959 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35961 (syscall-list-32-options): Likewise.
35962 (syscall-list-32-condition): Likewise.
35963 (syscall-list-64-options): Likewise.
35964 (syscall-list-64-condition): Likewise.
35965 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35967 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35970 (abi-64-ld-soname): New macro.
35971 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35972 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35975 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35976 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35978 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35980 * sysdeps/unix/sysv/linux/kernel-features.h
35981 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35982 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35983 include <kernel-features.h>.
35984 [!__NR_ftruncate64]: Remove conditional code.
35985 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35986 [__NR_ftruncate64]: Make code unconditional.
35987 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35988 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35989 include <kernel-features.h>.
35990 [!__NR_ftruncate64]: Remove conditional code.
35991 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35992 [__NR_ftruncate64]: Make code unconditional.
35993 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35995 include <kernel-features.h>.
35996 [!__NR_ftruncate64]: Remove conditional code.
35997 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35998 [__NR_ftruncate64]: Make code unconditional.
35999 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36001 include <kernel-features.h>.
36002 [!__NR_ftruncate64]: Remove conditional code.
36003 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36004 [__NR_ftruncate64]: Make code unconditional.
36005 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36007 * configure.in (libc_cv_fpie): Weaken to a compile test using
36008 LIBC_TRY_CC_OPTION.
36009 * configure: Regenerated.
36011 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36026 2012-05-27 David S. Miller <davem@davemloft.net>
36028 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36030 (__Q_simulate_exceptions): Return void. Change to simulate
36031 exceptions by writing into the %fsr.
36032 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36033 (__Qp_handle_exceptions): Likewise.
36035 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36036 __Qp_handle_exceptions.
36037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36038 __Qp_handle_exceptions.
36039 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36040 as unused and give dummy FP_RND_NEAREST initializer.
36041 (FP_INHIBIT_RESULTS): Define.
36042 (___Q_simulate_exceptions): Update declaration.
36043 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36045 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36046 as unused and give dummy FP_RND_NEAREST initializer.
36047 (__Qp_handle_exceptions): Update declaration.
36048 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36051 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36053 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36054 the temporary FPU control word.
36055 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36056 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36057 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36058 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36059 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36060 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36061 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36062 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36063 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36064 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36065 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36067 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36069 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36072 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36074 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36075 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36076 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36077 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36079 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36080 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36083 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36085 * po/h.po: Update from translation team.
36087 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36089 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36091 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36092 handling of denormals.
36093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36094 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36095 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36096 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36097 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36098 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36102 2012-05-26 Marek Polacek <polacek@redhat.com>
36105 * math/libm-test.inc (fma_test): Don't always expect underflow
36108 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36111 * elf/tst-execstack.c: Include stackinfo.h.
36112 (do_test): Adjust test case to ensure that pthread_getattr_np
36113 behaviour remains the same after marking stack executable.
36115 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36117 * sysdeps/unix/sysv/linux/kernel-features.h
36118 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36119 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36121 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36122 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36123 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36125 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36126 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36128 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36130 * configure.in: Define the default includes to being none.
36131 * configure: Regenerated.
36133 2012-05-25 Roland McGrath <roland@hack.frob.com>
36135 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36136 * sysdeps/x86_64/setjmp.S: Likewise.
36137 * sysdeps/i386/bsd-setjmp.S: Likewise.
36138 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36139 * sysdeps/i386/setjmp.S: Likewise.
36140 * sysdeps/i386/__longjmp.S: Likewise.
36141 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36142 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36144 * include/stap-probe.h: New file.
36145 * configure.in: Handle --enable-systemtap.
36146 * configure: Regenerated.
36147 * config.h.in (USE_STAP_PROBE): New #undef.
36148 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36149 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36150 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36152 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36155 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36156 to 2.4.0 where earlier.
36157 * sysdeps/unix/sysv/linux/configure: Regenerated.
36158 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36159 <kernel-features.h>.
36160 [__ASSUME_32BITUIDS]: Make code unconditional.
36161 [!__ASSUME_32BITUIDS]: Remove conditional code.
36162 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36163 <kernel-features.h>.
36164 [__ASSUME_32BITUIDS]: Make code unconditional.
36165 [!__ASSUME_32BITUIDS]: Remove conditional code.
36166 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36167 [__ASSUME_32BITUIDS]: Make code unconditional.
36168 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36169 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36170 <kernel-features.h>.
36171 [__ASSUME_32BITUIDS]: Make code unconditional.
36172 [!__ASSUME_32BITUIDS]: Remove conditional code.
36173 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36174 <kernel-features.h>.
36175 [__ASSUME_32BITUIDS]: Make code unconditional.
36176 [!__ASSUME_32BITUIDS]: Remove conditional code.
36177 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36178 <kernel-features.h>.
36179 [__ASSUME_32BITUIDS]: Make code unconditional.
36180 [!__ASSUME_32BITUIDS]: Remove conditional code.
36181 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36182 <kernel-features.h>.
36183 [__ASSUME_32BITUIDS]: Make code unconditional.
36184 [!__ASSUME_32BITUIDS]: Remove conditional code.
36185 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36186 <kernel-features.h>.
36187 [__ASSUME_32BITUIDS]: Make code unconditional.
36188 [!__ASSUME_32BITUIDS]: Remove conditional code.
36189 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36190 <kernel-features.h>.
36191 [__ASSUME_32BITUIDS]: Make code unconditional.
36192 [!__ASSUME_32BITUIDS]: Remove conditional code.
36193 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36194 <kernel-features.h>.
36195 [__ASSUME_32BITUIDS]: Make code unconditional.
36196 [!__ASSUME_32BITUIDS]: Remove conditional code.
36197 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36198 <kernel-features.h>.
36199 [__ASSUME_32BITUIDS]: Make code unconditional.
36200 [!__ASSUME_32BITUIDS]: Remove conditional code.
36201 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36202 <kernel-features.h>.
36203 [__ASSUME_32BITUIDS]: Make code unconditional.
36204 [!__ASSUME_32BITUIDS]: Remove conditional code.
36205 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36206 <kernel-features.h>.
36207 [__ASSUME_32BITUIDS]: Make code unconditional.
36208 [!__ASSUME_32BITUIDS]: Remove conditional code.
36209 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36210 <kernel-features.h>.
36211 [__NR_setresgid] (__setresgid): Do not declare.
36212 [__ASSUME_32BITUIDS]: Make code unconditional.
36213 [!__ASSUME_32BITUIDS]: Remove conditional code.
36214 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36215 <kernel-features.h>.
36216 [__NR_setresuid] (__setresuid): Do not declare.
36217 [__ASSUME_32BITUIDS]: Make code unconditional.
36218 [!__ASSUME_32BITUIDS]: Remove conditional code.
36219 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36220 <kernel-features.h>.
36221 [__ASSUME_32BITUIDS]: Make code unconditional.
36222 [!__ASSUME_32BITUIDS]: Remove conditional code.
36223 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36224 <kernel-features.h>.
36225 [__ASSUME_32BITUIDS]: Make code unconditional.
36226 [!__ASSUME_32BITUIDS]: Remove conditional code.
36227 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36228 <kernel-features.h>.
36229 [__ASSUME_32BITUIDS]: Make code unconditional.
36230 [!__ASSUME_32BITUIDS]: Remove conditional code.
36231 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36232 <kernel-features.h>.
36233 [__ASSUME_32BITUIDS]: Make code unconditional.
36234 [!__ASSUME_32BITUIDS]: Remove conditional code.
36235 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36236 <kernel-features.h>.
36237 [__ASSUME_32BITUIDS]: Make code unconditional.
36238 [!__ASSUME_32BITUIDS]: Remove conditional code.
36239 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36240 <kernel-features.h>.
36241 [__ASSUME_32BITUIDS]: Make code unconditional.
36242 [!__ASSUME_32BITUIDS]: Remove conditional code.
36243 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36244 <kernel-features.h>.
36245 [__ASSUME_32BITUIDS]: Make code unconditional.
36246 [!__ASSUME_32BITUIDS]: Remove conditional code.
36247 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36248 <kernel-features.h>.
36249 [__ASSUME_32BITUIDS]: Make code unconditional.
36250 [!__ASSUME_32BITUIDS]: Remove conditional code.
36251 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36252 <kernel-features.h>.
36253 [__ASSUME_32BITUIDS]: Make code unconditional.
36254 [!__ASSUME_32BITUIDS]: Remove conditional code.
36255 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36256 <kernel-features.h>.
36257 [__ASSUME_32BITUIDS]: Make code unconditional.
36258 [!__ASSUME_32BITUIDS]: Remove conditional code.
36259 * sysdeps/unix/sysv/linux/kernel-features.h
36260 (__ASSUME_SETRESUID_SYSCALL): Remove.
36261 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36262 (__ASSUME_32BITUIDS): Likewise.
36263 (__ASSUME_LDT_WORKS): Likewise.
36264 (__ASSUME_O_DIRECTORY): Likewise.
36265 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36266 architecture but not kernel version.
36267 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36268 (__ASSUME_MMAP2_SYSCALL): Likewise.
36269 (__ASSUME_STAT64_SYSCALL): Likewise.
36270 (__ASSUME_IPC64): Likewise.
36271 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36272 <kernel-features.h>.
36273 [__ASSUME_32BITUIDS]: Make code unconditional.
36274 [!__ASSUME_32BITUIDS]: Remove conditional code.
36275 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36276 <kernel-features.h>.
36277 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36278 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36279 132096]: Remove conditional code.
36280 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36281 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36282 <kernel-features.h>.
36283 [__ASSUME_32BITUIDS]: Make code unconditional.
36284 [!__ASSUME_32BITUIDS]: Remove conditional code.
36285 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36286 <kernel-features.h>.
36287 [__ASSUME_32BITUIDS]: Make code unconditional.
36288 [!__ASSUME_32BITUIDS]: Remove conditional code.
36289 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36290 <kernel-features.h>.
36291 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36293 (__setresgid): Do not declare.
36294 [__ASSUME_32BITUIDS]: Make code unconditional.
36295 [!__ASSUME_32BITUIDS]: Remove conditional code.
36296 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36297 <kernel-features.h>.
36298 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36300 (__setresuid): Do not declare.
36301 [__ASSUME_32BITUIDS]: Make code unconditional.
36302 [!__ASSUME_32BITUIDS]: Remove conditional code.
36303 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36304 <kernel-features.h>.
36305 [__ASSUME_32BITUIDS]: Make code unconditional.
36306 [!__ASSUME_32BITUIDS]: Remove conditional code.
36307 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36308 <kernel-features.h>.
36309 [__ASSUME_32BITUIDS]: Make code unconditional.
36310 [!__ASSUME_32BITUIDS]: Remove conditional code.
36312 2012-05-25 Richard Henderson <rth@twiddle.net>
36314 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36315 dl_hwcap to ifunc resolver.
36316 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36319 dl_hwcap to ifunc resolver.
36320 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36322 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36325 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36326 for |x| <= 2**-26, not 2**-57.
36327 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36330 2012-05-24 Jeff Law <law@redhat.com>
36332 * stdio-common/Makefile (tests): Add bug25.
36333 * stdio-common/bug25.c: New test.
36335 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36338 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36339 multiple of MALLOC_ALIGNMENT in size.
36340 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36342 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36344 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36346 (FILENAME_MAX): Use macro-int-constant.
36347 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36348 (_IOFBF): Use macro-int-constant.
36349 (_IOLBF): Likewise.
36350 (_IONBF): Likewise.
36351 (SEEK_CUR): Likewise.
36352 (SEEK_END): Likewise.
36353 (SEEK_SET): Likewise.
36354 (TMP_MAX): Likewise.
36355 (EOF): Use macro-int-constant. Require < 0.
36356 (NULL): Use macro-constant. Require == 0.
36357 (stdin): Require type to be FILE *.
36358 (stdout): Likewise.
36359 (stderr): Likewise.
36360 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36361 macro-int-constant.
36362 (EXIT_SUCCESS): Likewise.
36363 (NULL): Use macro-constant. Require == 0.
36364 (RAND_MAX): Use macro-int-constant.
36365 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36366 [C99-based standards] (strtof): Require function.
36367 [C99-based standards] (strtold): Likewise.
36368 [C99-based standards] (strtoll): Likewise.
36369 [C99-based standards] (strtoull): Likewise.
36370 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36371 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36372 [ISO || ISO99 || ISO11] (math.h): Likewise.
36373 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36374 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36375 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36377 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36380 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36381 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36382 * intl/dgettext.c (DCGETTEXT): Likewise.
36383 * intl/gettext.c (DCGETTEXT): Likewise.
36384 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36385 * posix/regex_internal.h (gettext): Likewise.
36386 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36387 Remove declaration.
36388 * include/argz.h (__argz_count_internal)
36389 (__argz_stringify_internal): Remove declaration.
36390 (__argz_count, __argz_stringify): Declare hidden proto.
36391 * intl/dcgettext.c: Remove use of INTDEF.
36392 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36393 * string/argz-stringify.c: Likewise.
36394 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36395 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36396 Declare hidden proto.
36397 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36398 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36399 Declare hidden proto.
36400 * include/stdio.h (__asprintf_internal): Don't declare.
36401 (__asprintf): Don't define as macro. Declare hidden proto.
36402 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36403 (__fsetlocking): Declare hidden proto.
36404 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36405 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36407 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36408 (_IO_setlinebuf): Remove use of INTUSE.
36409 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36410 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36411 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36412 Remove declaration.
36413 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36414 (_IO_do_flush): Remove use of INTUSE.
36415 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36416 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36417 (_IO_adjust_column, _IO_least_wmarker)
36418 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36419 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36420 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36421 (_IO_default_doallocate, _IO_wdefault_doallocate)
36422 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36423 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36424 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36425 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36426 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36427 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36428 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36429 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36430 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36431 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36432 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36433 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36434 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36436 (_IO_flush_all_internal, _IO_adjust_column_internal)
36437 (_IO_default_uflow_internal, _IO_default_finish_internal)
36438 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36439 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36440 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36441 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36442 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36443 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36444 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36445 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36446 (_IO_file_close_internal, _IO_file_close_it_internal)
36447 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36448 (_IO_file_init_internal, _IO_file_attach_internal)
36449 (_IO_file_fopen_internal, _IO_file_read_internal)
36450 (_IO_file_sync_internal, _IO_file_seek_internal)
36451 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36452 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36453 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36454 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36455 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36456 (_IO_list_all_internal, _IO_link_in_internal)
36457 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36458 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36459 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36460 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36461 (_IO_do_write_internal, _IO_padn_internal)
36462 (_IO_getline_info_internal, _IO_getline_internal)
36463 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36464 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36465 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36466 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36467 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36468 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36469 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36470 with libc_hidden_ver, remove use of INTUSE.
36471 * libio/genops.c: Likewise.
36472 * libio/freopen.c: Likewise.
36473 * libio/freopen64.c: Likewise.
36474 * libio/iofclose.c: Likewise.
36475 * libio/iofdopen.c: Likewise.
36476 * libio/iofflush.c: Likewise.
36477 * libio/iofflush_u.c: Likewise.
36478 * libio/iofgets.c: Likewise.
36479 * libio/iofgets_u.c: Likewise.
36480 * libio/iofopen.c: Likewise.
36481 * libio/iofopncook.c: Likewise.
36482 * libio/iofread.c: Likewise.
36483 * libio/iofread_u.c: Likewise.
36484 * libio/ioftell.c: Likewise.
36485 * libio/iofwrite.c: Likewise.
36486 * libio/iogetline.c: Likewise.
36487 * libio/iogets.c: Likewise.
36488 * libio/iogetwline.c: Likewise.
36489 * libio/iopadn.c: Likewise.
36490 * libio/iopopen.c: Likewise.
36491 * libio/ioseekoff.c: Likewise.
36492 * libio/ioseekpos.c: Likewise.
36493 * libio/iosetbuffer.c: Likewise.
36494 * libio/iosetvbuf.c: Likewise.
36495 * libio/ioungetc.c: Likewise.
36496 * libio/ioungetwc.c: Likewise.
36497 * libio/iovdprintf.c: Likewise.
36498 * libio/iovsprintf.c: Likewise.
36499 * libio/iovsscanf.c: Likewise.
36500 * libio/memstream.c: Likewise.
36501 * libio/obprintf.c: Likewise.
36502 * libio/oldfileops.c: Likewise.
36503 * libio/oldiofclose.c: Likewise.
36504 * libio/oldiofdopen.c: Likewise.
36505 * libio/oldiofopen.c: Likewise.
36506 * libio/oldiopopen.c: Likewise.
36507 * libio/oldstdfiles.c: Likewise.
36508 * libio/putc.c: Likewise.
36509 * libio/setbuf.c: Likewise.
36510 * libio/setlinebuf.c: Likewise.
36511 * libio/stdfiles.c: Likewise.
36512 * libio/strops.c: Likewise.
36513 * libio/vasprintf.c: Likewise.
36514 * libio/vscanf.c: Likewise.
36515 * libio/vsnprintf.c: Likewise.
36516 * libio/vswprintf.c: Likewise.
36517 * libio/wfiledoalloc.c: Likewise.
36518 * libio/wfileops.c: Likewise.
36519 * libio/wgenops.c: Likewise.
36520 * libio/wmemstream.c: Likewise.
36521 * libio/wstrops.c: Likewise.
36522 * libio/__fpurge.c: Likewise.
36523 * libio/__fsetlocking.c: Likewise.
36524 * assert/assert.c: Likewise.
36525 * debug/fgets_chk.c: Likewise.
36526 * debug/fgets_u_chk.c: Likewise.
36527 * debug/fread_chk.c: Likewise.
36528 * debug/fread_u_chk.c: Likewise.
36529 * debug/gets_chk.c: Likewise.
36530 * debug/obprintf_chk.c: Likewise.
36531 * debug/vasprintf_chk.c: Likewise.
36532 * debug/vdprintf_chk.c: Likewise.
36533 * debug/vsnprintf_chk.c: Likewise.
36534 * debug/vsprintf_chk.c: Likewise.
36535 * malloc/mtrace.c: Likewise.
36536 * misc/error.c: Likewise.
36537 * misc/syslog.c: Likewise.
36538 * stdio-common/asprintf.c: Likewise.
36539 * stdio-common/fxprintf.c: Likewise.
36540 * stdio-common/getw.c: Likewise.
36541 * stdio-common/isoc99_fscanf.c: Likewise.
36542 * stdio-common/isoc99_scanf.c: Likewise.
36543 * stdio-common/isoc99_vfscanf.c: Likewise.
36544 * stdio-common/isoc99_vscanf.c: Likewise.
36545 * stdio-common/isoc99_vsscanf.c: Likewise.
36546 * stdio-common/printf-prs.c: Likewise.
36547 * stdio-common/printf_fp.c: Likewise.
36548 * stdio-common/printf_fphex.c: Likewise.
36549 * stdio-common/printf_size.c: Likewise.
36550 * stdio-common/putw.c: Likewise.
36551 * stdio-common/scanf.c: Likewise.
36552 * stdio-common/sprintf.c: Likewise.
36553 * stdio-common/tmpfile.c: Likewise.
36554 * stdio-common/vfprintf.c: Likewise.
36555 * stdio-common/vfscanf.c: Likewise.
36556 * stdlib/strfmon_l.c: Likewise.
36557 * sunrpc/openchild.c: Likewise.
36558 * sunrpc/xdr_stdio.c: Likewise.
36559 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36560 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36562 2012-05-24 Roland McGrath <roland@hack.frob.com>
36564 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36566 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36567 in the third column, to generate for the shared library an IFUNC
36568 that uses _dl_vdso_vsym.
36569 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36570 * Makeconfig (object-suffixes-noshared): New variable.
36572 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36573 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36574 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36575 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36578 * include/sys/time.h (__gettimeofday): Remove macro.
36579 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36580 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36582 (__gettimeofday): Add libc_hidden_def.
36583 (gettimeofday): Add libc_hidden_weak.
36584 * sysdeps/mach/gettimeofday.c: Likewise.
36585 * sysdeps/posix/gettimeofday.c: Likewise.
36586 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36587 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36589 (__gettimeofday_internal): Remove strong_alias.
36590 (__gettimeofday): Add libc_hidden_def.
36591 (gettimeofday): Add libc_hidden_weak.
36592 * sysdeps/unix/syscalls.list (gettimeofday):
36593 Remove __gettimeofday_internal alias.
36595 2012-05-24 Daniel Jacobowitz <drow@false.org>
36596 H.J. Lu <hongjiu.lu@intel.com>
36599 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36600 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36601 (largebin_index_32_big): New.
36602 (largebin_index): Use it for 16-byte alignment.
36603 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36604 correction with front_misalign.
36606 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36634 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36635 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36637 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36641 * math/libm-test.inc (exp_test): Add test from bug 14036.
36642 (pow_test): Add test from bug 10846.
36644 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36646 (special_function): Do not include flags in test name.
36647 (parse_args): Likewise.
36648 * sysdeps/i386/fpu/libm-test-ulps: Update.
36649 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36650 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36651 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36654 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36656 * math/libm-test.inc ("Philosophy"): Update comment about
36658 (UNDERFLOW_EXCEPTION): New macro.
36659 (UNDERFLOW_EXCEPTION_OK): Likewise.
36660 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36661 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36662 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36663 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36664 (INVALID_EXCEPTION_OK): Update value.
36665 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36666 (OVERFLOW_EXCEPTION_OK): Likewise.
36667 (IGNORE_ZERO_INF_SIGN): Likewise.
36668 (test_exceptions): Handle underflow exceptions.
36669 (acos_test): Update for underflow exception expectations.
36670 (cexp_test): Likewise.
36671 (clog_test): Likewise.
36672 (clog10_test): Likewise.
36673 (csqrt_test): Likewise.
36674 (ctan_test): Likewise.
36675 (ctanh_test): Likewise.
36676 (exp_test): Likewise.
36677 (exp10_test): Likewise.
36678 (exp2_test): Likewise.
36679 (expm1_test): Likewise.
36680 (fma_test): Likewise.
36681 (j0_test): Likewise.
36682 (jn_test): Likewise.
36683 (nexttoward_test): Likewise.
36684 (pow_test): Likewise.
36685 (scalbn_test): Likewise.
36686 (scalbln_test): Likewise.
36687 (tan_test): Likewise.
36688 (y1_test): Likewise.
36689 * sysdeps/i386/fpu/libm-test-ulps: Update.
36690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36692 2012-05-23 David S. Miller <davem@davemloft.net>
36694 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36695 (__libc_sigaction): Remove unused local variables.
36697 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36699 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36701 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36703 mktime: avoid signed integer overflow
36704 * time/mktime.c (__mktime_internal): Do not mishandle the case
36705 where diff == INT_MIN.
36707 mktime: simplify computation of average
36708 * time/mktime.c (ranged_convert): Use new time_t_avg function
36709 instead of rolling our own (probably-slower) code.
36711 mktime: do not assume signed right shift propagates sign bit
36712 * time/mktime.c (isdst_differ): New static function.
36713 (__mktime_internal): No need to normalize tm_isdst now.
36714 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36717 mktime: merge another wrapv change from gnulib
36718 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36719 from some compilers.
36721 mktime: remove incorrect attempt at unusual arithmetics
36722 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36723 The code didn't really work on such machines anyway.
36724 (TYPE_MINIMUM): Assume two's complement.
36725 (twos_complement_arithmetic): Verify that long_int and time_t
36726 are two's complement (or unsigned, in the latter case).
36728 mktime: check signed shifts on long_int and time_t, too
36729 * time/mktime.c (SHR): Check that shifts work as desired
36730 on the types long_int and time_t too, as SHR is used on
36733 mktime: do not assume 'long' is wide enough
36734 * time/mktime.c (verify): Move decl up.
36735 (long_int): New type.
36736 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36737 to remove assumption in the code that 'long' is wide enough to
36738 store year values. This assumption is not true on x32 and on
36739 some non-glibc platforms.
36741 mktime: merge wrapv change from gnulib
36742 * time/mktime.c (WRAPV): New macro.
36743 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36744 (guess_time_tm, __mktime_internal): Do not assume that signed
36745 integer overflow wraps around; modern compilers generate code
36746 where this assumption is no longer valid.
36748 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36750 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36751 Replace "jmp L(pseudo_end)" with "ret".
36752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36755 2012-05-23 Andreas Jaeger <aj@suse.de>
36757 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36758 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36760 2012-05-23 Andreas Jaeger <aj@suse.de>
36761 Maximilian Attems <max@stro.at>
36763 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36766 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36768 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36769 code so that pseudo_end is just ret and the stack pointer is
36770 correct also for static library in error case.
36772 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36774 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36775 move to syscalls.list.
36776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36781 * manual/install.texi (Running make install): Do not mention Linux
36782 kernel version for which pt_chown is not needed.
36783 (Linux): Do not mention problems with nscd with 2.0 kernels.
36784 * INSTALL: Regenerated.
36786 2012-05-23 Andreas Jaeger <aj@suse.de>
36788 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36789 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36791 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36792 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36793 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36794 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36795 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36796 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36798 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36799 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36800 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36801 * sysdeps/unix/sysv/linux/bits/in.h
36802 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36804 2012-05-22 Roland McGrath <roland@hack.frob.com>
36806 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36807 (PREPARE_VERSION): Just use assert instead, it will be elided
36808 under [NDEBUG] anyway.
36810 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36812 * sysdeps/unix/sysv/linux/Makefile: Include
36813 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36814 (sysdep_routines): Remove sysctl.
36815 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36816 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36817 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36818 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36819 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36821 2012-05-22 Andreas Jaeger <aj@suse.de>
36823 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36824 that pseudo_end is just ret and the stack pointer is correct also
36825 for static library in error case.
36827 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36830 * nss/nsswitch.c (defconfig_entries): New variable.
36831 (__nss_database_lookup): Don't leak defconfig entries.
36832 (nss_parse_service_list): Don't leak on error paths.
36833 (free_database_entries): New function.
36834 (free_defconfig): New function.
36835 (free_mem): Move common code to free_database_entries.
36837 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36839 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36841 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36843 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36844 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36847 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36848 (INTERNAL_SYSCALL_TYPES): Likewise.
36849 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36850 (LOAD_REGS_TYPES_[1-6]): Likewise.
36851 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36852 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36854 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36856 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36857 copysignl for GLIBC_2_0.
36858 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36859 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36861 logbl for GLIBC_2_0.
36862 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36863 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36865 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36870 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36873 * time/mktime.c: Update copyright years.
36875 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36877 mktime: merge comment-quoting-style change from gnulib
36878 * time/mktime.c: Quote 'like this' in comments.
36879 The GNU coding standards suggest that we no longer quote `like this',
36880 as "`" and "'" are typically rendered asymmetrically nowadays.
36881 The typical gnulib style is to quote 'like this' when quoting
36882 code, and "like this" when quoting English.
36884 * time/mktime.c (compile-command): Add "-I.".
36886 mktime: merge mktime-internal.h change from gnulib
36887 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36889 mktime: merge time_r change from gnulib
36890 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36892 mktime: merge DEBUG change from gnulib
36893 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36894 case system <time.h> has a #define.
36896 mktime: merge <sys/types.h> change from gnulib
36897 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36898 since <time.t> is now guaranteed to define time_t.
36900 mktime: merge HAVE_CONFIG_H change from gnulib
36901 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36903 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36908 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36910 (struct rusage): Use anonymous union to pad each field to
36913 2012-05-21 David S. Miller <davem@davemloft.net>
36915 * Makefules (o-iterator): Remove .s cases.
36916 (compile-command.s): Delete.
36917 (COMPILE.s): Delete.
36918 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36920 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36922 * configure.in (libc_cv_predef_stack_protector): Only consider
36923 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36924 * configure: Regenerated.
36926 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36929 New macro. Use R*LP on int and pointer.
36930 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36931 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36932 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36933 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36935 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36936 [__WORDSIZE_TIME64_COMPAT32] instead of
36937 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36938 (struct utmp): Likewise.
36939 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36940 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36942 (__WORDSIZE_TIME64_COMPAT32): This.
36943 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36944 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36945 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36946 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36947 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36948 (__WORDSIZE_TIME64_COMPAT32): New macro.
36950 2012-05-21 Andreas Jaeger <aj@suse.de>
36952 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36953 only if [SHARED]. Add prototype for __wcschr_ia32.
36955 2012-05-21 Roland McGrath <roland@hack.frob.com>
36957 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36958 of %rbp unmolested in the jmp_buf while mangling the low bits.
36959 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36960 unmolested high bits of %rbp while demangling the low bits.
36961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36963 2012-05-21 Andreas Jaeger <aj@suse.de>
36965 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36966 * sunrpc/svc_simple.c: Use it for registerrpc.
36967 * sunrpc/xcrypt.c: Use it for passwd2des.
36969 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36971 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36973 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36974 Don't define if [__SYSCALL_WORDSIZE != 32].
36975 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36978 2012-05-21 Bruno Haible <bruno@clisp.org>
36979 Andreas Jaeger <aj@suse.de>
36981 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36982 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36983 inptr and inend for must_buffer_ch.
36984 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36985 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36986 * stdio-common/Makefile (tests): Remove bug15.
36987 (bug15-ENV): Remove macro.
36988 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36991 2012-05-19 Andreas Jaeger <aj@suse.de>
36992 Roland McGrath <roland@hack.frob.com>
36994 * manual/contrib.texi: Completely rewritten. It contains now an
36995 alphabetical list of contributors and their contributions.
36997 2012-05-21 Richard Henderson <rth@twiddle.net>
36999 * misc/getauxval.c (__getauxval): Use unsigned long int.
37000 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37001 (getauxval): Use unsigned long int.
37003 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37005 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37007 2012-05-21 Roland McGrath <roland@hack.frob.com>
37009 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37010 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37011 __alignof__ (long double).
37013 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37017 2012-05-20 Richard Henderson <rth@twiddle.net>
37019 * misc/getauxval.c: New file.
37020 * misc/sys/auxv.h: New file.
37021 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37022 (routines): Add getauxval.
37023 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37024 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37025 * elf/dl-sysdep.c (_dl_auxv): Remove.
37026 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37027 * elf/dl-support.c (_dl_auxv): New variable.
37028 (_dl_aux_init): Initialize it.
37029 * manual/startup.texi (Auxiliary Vector): New node.
37030 * sysdeps/generic/bits/hwcap.h: New file.
37031 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37032 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37033 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37034 * sysdeps/sparc/sysdep.h: ... here. Include it.
37035 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37036 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
37037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37042 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37048 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37052 2012-05-19 David S. Miller <davem@davemloft.net>
37054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37056 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37059 * math/s_ccosh.c: Include <float.h>
37060 (__ccosh): Avoid internal overflow calculating sinh and cosh
37061 values before multiplying by sin and cos values.
37062 * math/s_ccoshf.c: Likewise.
37063 * math/s_ccoshl.c: Likewise.
37064 * math/s_csin.c: Likewise.
37065 * math/s_csinf.c: Likewise.
37066 * math/s_csinl.c: Likewise.
37067 * math/s_csinh.c: Likewise.
37068 * math/s_csinhf.c: Likewise.
37069 * math/s_csinhl.c: Likewise.
37070 * math/libm-test.inc (ccos_test): Add more tests.
37071 (ccosh_test): Likewise.
37072 (csin_test): Likewise.
37073 (csinh_test): Likewise.
37074 * sysdeps/i386/fpu/libm-test-ulps: Update.
37075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37077 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37079 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37080 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37082 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37084 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37086 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37087 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37088 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37089 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37090 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37091 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37092 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37093 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37094 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37095 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37096 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37097 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37098 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37099 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37100 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37101 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37102 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37103 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37104 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37105 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37106 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37107 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37108 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37109 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37110 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37111 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37112 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37113 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37114 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37115 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37116 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37118 2012-05-18 Andreas Jaeger <aj@suse.de>
37120 * csu/.gitignore: Delete.
37122 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37124 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37125 (timex): Use __syscall_slong_t.
37127 2012-05-18 Andreas Jaeger <aj@suse.de>
37128 Carlos O'Donell <carlos_odonell@mentor.com>
37130 * manual/install.texi (Configuring and compiling): Update
37131 description about files modified in the source directory.
37132 * INSTALL: Regenerated.
37134 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37136 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37137 value. Use "or" to set return value to -1.
37138 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37139 negate return value.
37141 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37143 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37144 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37145 failure if the compiler has Graphite support disabled.
37146 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37148 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37149 (CFLAGS-memmove.c): Likewise.
37150 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37153 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37155 * sysdeps/x86_64/x32/_itoa.h: New file.
37157 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37158 getdents system call only if kernel and user dirents have the
37159 same d_ino and d_off.
37161 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37162 LLONG_MAX != LONG_MAX.
37163 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37164 (_fitoa_word): Likewise.
37166 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37169 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37170 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37172 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37173 include <bits/wordsize.h>. Check __x86_64__ instead of
37175 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37176 if __x86_64__ is defined. Use anonymous union on fpstate.
37178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37181 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37183 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37184 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37185 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37186 Refer to _rtld_local_ro instead of _rtld_global_ro.
37187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37189 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37191 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37193 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37194 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37195 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37197 * sysdeps/powerpc/powerpc32/dl-machine.c
37198 (__elf_machine_runtime_setup) [PROF]: Don't reference
37201 2012-05-18 Andreas Jaeger <aj@suse.de>
37203 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37204 function only available for GCCs before 3.4 since GCC 3.4
37205 introduced a builtin.
37207 (llrintf): Likewise.
37208 (llrint): Likewise.
37215 (nearbyint): Likewise.
37216 (nearbyintf): Likewise.
37220 (floorf): Likewise.
37222 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37224 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37225 on both fields and cast pointer to __syscall_ulong_t.
37227 * bits/types.h (__fsword_t): New type.
37228 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37229 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37230 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37231 (__FSWORD_T_TYPE): Likewise.
37232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37233 (__FSWORD_T_TYPE): Likewise.
37234 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37235 (__FSWORD_T_TYPE): Likewise.
37236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37237 (__FSWORD_T_TYPE): Likewise.
37238 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37239 __SWORD_TYPE with __fsword_t.
37240 (statfs64): Likewise.
37242 2012-05-17 David S. Miller <davem@davemloft.net>
37244 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37246 2012-05-17 Andreas Jaeger <aj@suse.de>
37248 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37251 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37253 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37255 2012-05-17 Andreas Jaeger <aj@suse.de>
37257 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37260 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37262 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37264 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37266 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37267 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37269 2012-05-17 Andreas Jaeger <aj@suse.de>
37270 Carlos O'Donell <carlos_odonell@mentor.com>
37273 * sysdeps/x86_64/multiarch/init-arch.h
37274 (bit_YMM_Usable): Rename to...
37275 (bit_AVX_Usable): ... this.
37276 (bit_FMA4_Usable): New macro.
37277 (bit_XMM_state): New macro.
37278 (bit_YMM_state): New macro.
37279 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37280 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37281 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37282 (CPUID_OSXSAVE): New macro.
37283 (CPUID_AVX): New macro.
37284 (CPUID_FMA4): New macro.
37285 (index_YMM_Usable): Rename to...
37286 (index_AVX_Usable): ... this.
37287 (HAS_AVX): Use HAS_ARCH_FEATURE.
37288 (HAS_FMA4): Likewise.
37289 (HAS_YMM_USABLE): Remove.
37290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37291 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37293 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37294 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37295 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37296 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37297 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37299 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37301 * math/libm-test.c: Support platforms without multiple rounding modes.
37302 * math/bug-nextafter.c: Support platforms without FP exceptions.
37303 * math/bug-nexttoward.c: Likewise.
37304 * math/test-fenv.c: Likewise.
37305 * math/test-misc.c: Likewise.
37306 * stdlib/bug-getcontext.c: Likewise.
37308 2012-05-17 Andreas Jaeger <aj@suse.de>
37310 * manual/examples/search.c (critter_cmp): Change signature to
37312 * manual/string.texi (Collation Functions): Likewise.
37314 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37316 * bits/types.h: Fold copyright years.
37317 * bits/typesizes.h: Likewise.
37318 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37320 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37322 * time/time.h: Likewise.
37324 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37327 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37328 in instead of returning them. Return void.
37329 (__libc_mallinfo): Accumulate over all arenas.
37330 (__malloc_stats): Adjust for change in int_mallinfo interface.
37332 2012-05-16 Roland McGrath <roland@hack.frob.com>
37335 * configure.in (NM): Add AC_CHECK_TOOL for it.
37336 (libc_extra_cflags): New substituted variable.
37337 Check for -fstack-protector being used implicitly.
37338 * configure: Regenerated.
37339 * config.make.in (config-extra-cflags): New variable,
37340 gets @libc_extra_cflags@.
37341 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37344 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37345 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37346 * configure: Regenerated.
37347 * config.make.in (CPPUNDEFS): New substituted variable.
37348 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37349 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37350 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37352 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37354 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37355 (mq_attr): Use __syscall_slong_t.
37357 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37359 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37360 Check __x86_64__ instead of __WORDSIZE.
37361 (_STAT_VER_LINUX): Likewise.
37362 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37363 __syscall_ulong_t and __syscall_slong_t.
37364 (stat64): Likewise.
37366 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37368 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37370 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37372 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37374 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37376 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37379 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37380 include <bits/wordsize.h>. Check __x86_64__ instead of
37382 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37384 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37386 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37387 include <bits/wordsize.h>. Check __x86_64__ instead of
37389 (user_regs_struct): Use "__extension__ unsigned long long"
37390 instead of "unsigned long" if __x86_64__ is defined.
37391 (user): Likewise. Pad after pointer field if __ILP32__ is
37394 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37396 * configure.in (makeinfo): Require version 4.5 or later. Allow
37398 * configure: Regenerated.
37399 * manual/install.texi (texinfo): Increase version requirement to
37401 * INSTALL: Regenerated.
37403 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37405 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37407 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37409 * sysdeps/x86_64/x32/ffs.c: New file.
37411 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37413 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37414 defined. Use __syscall_ulong_t.
37415 (shminfo): Use __syscall_ulong_t.
37416 (shm_info): Likewise.
37418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37421 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37423 (msgqnum_t): Use __syscall_ulong_t.
37424 (msglen_t): Likewise.
37425 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37428 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37429 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37431 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37433 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37434 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37436 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37440 include <bits/wordsize.h>. Check __x86_64__ instead of
37443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37444 "unsigned long long int" if __x86_64__ is defined.
37445 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37447 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37448 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37449 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37451 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37453 (GET_PC): Cast to uintptr_t first.
37454 (GET_FRAME): Likewise.
37455 (GET_STACK): Likewise.
37457 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37458 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37459 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37460 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37461 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37462 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37463 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37464 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37465 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37466 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37467 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37468 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37469 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37470 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37471 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37472 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37473 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37474 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37476 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37478 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37480 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37482 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37483 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37485 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37487 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37489 * Makerules (+depfiles): Also collect depfiles from .oS in
37491 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37492 .oS, $(libnldbl-routines)).
37494 * Makerules (native-compile-mkdep-flags): Define.
37495 * sunrpc/Makefile (extra-objs): Add $(addprefix
37496 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37497 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37498 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37499 calling $(make-target-directory).
37501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37503 * bits/types.h (__snseconds_t): Removed.
37504 * time/time.h (struct timespec): Replace __snseconds_t with
37506 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37507 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37510 (__SNSECONDS_T_TYPE): Likewise.
37511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37512 (__SNSECONDS_T_TYPE): Likewise.
37513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37514 (__SNSECONDS_T_TYPE): Likewise.
37516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37518 * sysdeps/mach/hurd/bits/typesizes.h
37519 (__SYSCALL_SLONG_TYPE): New macro.
37520 (__SYSCALL_ULONG_TYPE): Likewise.
37522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37524 * bits/types.h (__syscall_slong_t): New type.
37525 (__syscall_ulong_t): Likewise.
37527 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37528 (__SYSCALL_ULONG_TYPE): Likewise.
37529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37530 (__SYSCALL_SLONG_TYPE): Likewise.
37531 (__SYSCALL_ULONG_TYPE): Likewise.
37532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37533 (__SYSCALL_SLONG_TYPE): Likewise.
37534 (__SYSCALL_ULONG_TYPE): Likewise.
37535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37536 (__SYSCALL_SLONG_TYPE): Likewise.
37537 (__SYSCALL_ULONG_TYPE): Likewise.
37539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37541 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37542 Add sigaltstack-offsets.sym.
37543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37544 <sigaltstack-offsets.h>.
37545 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37546 longjmp_msg pointer.
37547 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37548 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37550 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37552 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37554 * elf/stackguard-macros.h: Remove file.
37555 * sysdeps/generic/stackguard-macros.h: New file.
37556 * sysdeps/i386/stackguard-macros.h: Likewise.
37557 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37558 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37559 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37560 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37561 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37562 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37563 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37564 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37565 <elf/stackguard-macros.h>.
37568 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37569 __aligned__ in attribute.
37570 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37571 (gregset_t): Likewise.
37573 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37575 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37576 * sysdeps/x86_64/64/Implies-after: Here. New file.
37577 * sysdeps/x86_64/x32/Implies-after: New file.
37579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37581 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37582 and access return value for _dl_profile_fixup. Use R10_LP to
37585 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37587 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37591 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37592 * sysdeps/x86_64/x32/sysdep.h: New file.
37594 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37596 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37597 * sysdeps/x86_64/setjmp.S: Likewise.
37599 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37601 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37603 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37605 remove unused global constant.
37607 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37609 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37610 include of <not-cancel.h>.
37612 2012-05-15 Roland McGrath <roland@hack.frob.com>
37614 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37616 2012-05-15 Jeff Law <law@redhat.com>
37617 Andreas Jaeger <aj@suse.de>
37620 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37622 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37623 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37624 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37625 code changing __hst_map_handle.map.
37627 2012-05-15 Roland McGrath <roland@hack.frob.com>
37629 * configure.in (sysnames): Look for Implies-before and Implies-after
37631 * configure: Regenerated.
37633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37635 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37636 8-byte data alignment with LP_SIZE alignment.
37638 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37640 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37643 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37645 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37649 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37650 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37651 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37653 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37657 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37658 (stackinfo_sub_sp): Likewise.
37660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37667 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37672 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37677 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37679 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37681 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37682 into R11_LP and load __x86_64_shared_cache_size_half into
37685 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37687 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37690 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37698 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37699 powerpc32/power7/fpu/s_logb.c via #include.
37700 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37701 powerpc32/power7/fpu/s_logbf.c via #include.
37702 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37703 powerpc32/power7/fpu/s_logbl.c via #include.
37705 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37707 * README.libm: Remove file.
37709 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37711 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37712 count for x32. Use R*_LP and omit operand-size suffix.
37714 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37716 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37717 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37718 * sysdeps/x86_64/x32/shlib-versions: New file.
37720 2012-05-14 Roland McGrath <roland@hack.frob.com>
37722 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37723 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37724 Use _dl_fatal_printf instead.
37726 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37728 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37729 set if not set by the user. Do not allow for being unset.
37730 * sysdeps/unix/sysv/linux/configure: Regenerated.
37732 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37734 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37735 the `q' suffix from lea and replace .quad with ASM_ADDR.
37737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37740 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37742 (PTR_DEMANGLE): Likewise.
37744 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37746 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37748 (ASM_ADDR): Likewise.
37749 (RAX_LP): Likewise.
37750 (RBP_LP): Likewise.
37751 (RBX_LP): Likewise.
37752 (RCX_LP): Likewise.
37753 (RDI_LP): Likewise.
37754 (RSI_LP): Likewise.
37755 (RSP_LP): Likewise.
37758 (R10_LP): Likewise.
37759 (R10_LP): Likewise.
37760 (R11_LP): Likewise.
37761 (R12_LP): Likewise.
37762 (R13_LP): Likewise.
37763 (R14_LP): Likewise.
37764 (R15_LP): Likewise.
37766 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37768 * sysdeps/x86_64/x32/dl-machine.h: New file.
37770 2012-05-14 Andreas Jaeger <aj@suse.de>
37772 * manual/Makefile (subdir): Remove export of subdir.
37773 (all): Remove target.
37774 (.PHONY): Remove all from list.
37775 (mkinstalldirs): Remove.
37776 (.PHONY): Remove installdirs from list.
37777 ($(inst_infodir)/libc.info): Use make-target-directory.
37778 (installdirs): Remove.
37779 (subdir_%): Remove.
37780 (glibc-targets): Remove.
37783 ($(objpfx)stubs ../po/manual.pot): Remove.
37784 ($(objpfx)stamp%): Remove.
37785 (make-target-directory): Remove.
37786 (subdir_install): Remove.
37787 (routines): Remove.
37794 * manual/.gitignore: Remove, it's not needed anymore.
37795 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37797 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37799 (texis): Renamed to $(objpfx)texis.
37800 (texis-path): New, contains path to generated files.
37801 (chapters.%): Use texis-path for complete path, add extra argument
37803 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37804 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37805 (summary,texi, stamp-summary): Use complete path of
37806 files. Generate files in build dir.
37807 (dir-add.texi): Build in build dir.
37808 (libm-err.texi,stamp-libm-err): Likewise.
37809 (version.texi, stamp-version): Likewise.
37810 (.%c.texi): Likewise.
37811 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37812 (mostlyclean): Remove target.
37813 (realclean): Remove target.
37814 (generated): Add new variable with contents from mostlyclean and
37815 realclean, remove entries duplicated in common-mostlyclean, add
37816 stamp-libm-err and stamp-version.
37817 (generated-dirs): Add libc directory.
37818 ($(inst_infodir)/libc.info): Install files from build dir.
37820 * manual/install.texi (Configuring and compiling): Adjust since
37821 the info files are not part of the tar ball anymore.
37823 2012-05-14 Andreas Jaeger <aj@suse.de>
37825 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37828 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37831 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37832 to 2.2.0 where earlier.
37833 * sysdeps/unix/sysv/linux/configure: Regenerated.
37834 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37835 Remove conditional code.
37836 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37837 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37838 Remove conditional code.
37839 [!__NR_lchown]: Likewise.
37840 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37841 [__NR_lchown]: Likewise.
37842 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37843 comment referencing __ASSUME_LCHOWN_SYSCALL.
37844 * sysdeps/unix/sysv/linux/i386/sigaction.c
37845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37847 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37848 Remove conditional code.
37849 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37850 (__protocol_available): Remove #if 0 code.
37851 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37853 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37854 * sysdeps/unix/sysv/linux/kernel-features.h
37855 (__ASSUME_GETCWD_SYSCALL): Don't define.
37856 (__ASSUME_REALTIME_SIGNALS): Likewise.
37857 (__ASSUME_PREAD_SYSCALL): Likewise.
37858 (__ASSUME_PWRITE_SYSCALL): Likewise.
37859 (__ASSUME_POLL_SYSCALL): Likewise.
37860 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37861 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37863 (__ASSUME_SIOCGIFNAME): Don't define.
37864 (__ASSUME_MSG_NOSIGNAL): Likewise.
37865 (__ASSUME_SENDFILE): Define unconditionally.
37866 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37867 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37869 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37870 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37871 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37872 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37873 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37874 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37875 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37877 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37880 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37881 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37886 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37887 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37900 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37901 Remove conditional code.
37902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37903 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37904 Remove conditional code.
37905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37906 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37907 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37908 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37909 Remove conditional code.
37910 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37911 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37912 Remove conditional code.
37913 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37914 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37915 Remove conditional code.
37916 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37917 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37918 Remove conditional code.
37919 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37920 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37921 Remove conditional code.
37922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37923 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37924 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37926 * sysdeps/unix/sysv/linux/sigaction.c
37927 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37928 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37929 * sysdeps/unix/sysv/linux/sigpending.c
37930 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37931 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37932 * sysdeps/unix/sysv/linux/sigprocmask.c
37933 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37934 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37935 * sysdeps/unix/sysv/linux/sigsuspend.c
37936 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37937 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37938 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37939 (__libc_missing_rt_sigs): Remove.
37940 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37941 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37942 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37943 Remove conditional code.
37944 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37945 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37947 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37948 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37950 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37952 2012-05-14 Andreas Jaeger <aj@suse.de>
37954 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37955 it's not used in glibc.
37956 (__coshm1): Likewise.
37957 (__acosh1p): Likewise.
37960 * manual/string.texi (Copying and Concatenation): Add missing
37961 variable in concat example.
37962 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37964 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37968 __builtin_clzl with __builtin_clzll.
37970 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37973 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37976 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37978 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37979 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37980 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37981 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37983 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37985 * NEWS: Update ia64 info.
37987 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37989 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37992 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37994 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37995 * sysdeps/unix/syscalls.list (dup3): Likewise.
37996 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37997 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37999 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38001 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38002 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38004 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38006 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38008 (TLS_IE): Use mov/add instead of movq/addq to load thread
38010 (TLS_GD_PREFIX): New.
38013 2012-05-11 David S. Miller <davem@davemloft.net>
38015 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38016 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38017 (_FPU_SETCW): Likewise.
38019 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38021 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38022 is 32-byte aligned.
38024 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38027 * iconvdata/gb18030.c: Update tables.
38028 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38029 characters specially.
38030 (BODY for TO_LOOP): Add encoding of missing ranges.
38032 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38035 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38036 * sysdeps/mach/hurd/dup3.c: Likewise.
38037 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38038 * sysdeps/powerpc/memmove.c:: Likewise.
38040 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38042 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38043 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38045 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38047 * elf/elf.h (R_X86_64_RELATIVE64): New.
38048 (R_X86_64_NUM): Updated.
38049 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38050 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38051 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38052 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38053 tst-quad1pie tst-quad2pie
38054 (modules-names): Add tst-quadmod1 tst-quadmod2.
38055 ($(objpfx)tst-quad1): New dependency.
38056 ($(objpfx)tst-quad2): Likewise.
38057 ($(objpfx)tst-quad1pie): Likewise.
38058 ($(objpfx)tst-quad2pie): Likewise.
38059 * sysdeps/x86_64/tst-quad1.c: New file.
38060 * sysdeps/x86_64/tst-quad1pie.c: New file.
38061 * sysdeps/x86_64/tst-quad2.c: Likewise.
38062 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38063 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38064 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38065 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38066 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38070 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38071 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38072 * streams/stropts.h (t_scalar_t): Define type.
38074 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38075 (_PATH_PRESERVE): Set to "/var/lib".
38076 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38078 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38081 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38082 if __dir_mkfile succeeded.
38084 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38085 checking for _hurd_dtablesize. Unlock it right after having
38086 finished _hurd_dtable allocation.
38088 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38090 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38091 * sysdeps/mach/hurd/configure: Regenerated.
38092 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38093 special-casing to...
38094 * sysdeps/gnu/configure.in: ... this new file.
38095 * sysdeps/unix/sysv/linux/configure: Regenerated.
38096 * sysdeps/gnu/configure: New generated file.
38098 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38099 for Linux: use nsec instead of usec, as well as:
38100 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38101 members of type struct timespec.
38102 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38104 (struct stat64): Likewise.
38105 (_STATBUF_ST_NSEC): New macro.
38106 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38108 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38109 __strtoul_internal rather than strtoul.
38111 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38113 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38116 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38118 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38119 which preserves existing values.
38120 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38122 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38124 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38125 TIMEOUT values. Return EINVAL for NFDS values either negative or
38126 greater than FD_SETSIZE.
38128 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38130 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38131 allocated, call __vm_protect to finish enabling the existing space, and
38132 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38133 allocate the remainder.
38135 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38137 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38138 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38140 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38142 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38143 sysdeps/mach/hurd/readlink.c.
38145 * posix/tst-sysconf.c (posix_options): Only use
38146 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38147 _POSIX_SYNCHRONIZED_IO when they are defined
38148 * sysdeps/mach/hurd/bits/posix_opt.h:
38149 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38150 (_XOPEN_REALTIME): Undefine macro.
38151 (_XOPEN_REALTIME_THREADS): Undefine macro.
38152 (_XOPEN_SHM): Undefine macro.
38153 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38155 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38157 (_POSIX_ASYNC_IO): Undefine macro.
38158 (_POSIX_PRIORITIZED_IO): Undefine macro.
38159 (_POSIX_SPIN_LOCKS): Define macro to -1.
38161 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38162 SA_NODEFER, SA_RESETHAND.
38163 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38164 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38167 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38169 * elf/Makefile (pldd-modules): Define unconditionally.
38171 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38173 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38177 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38178 Return ENOENT when name is empty.
38179 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38181 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38183 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38185 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38187 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38189 Fix mlock in all cases except non-readable pages.
38190 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38191 instead of VM_PROT_ALL as parameter to __vm_wire function.
38193 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38194 (__mkdir): When path is `/', just fail with EEXIST.
38195 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38197 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38199 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38200 <sys/uio.h> (for writev).
38201 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38202 and <sys/param.h> (for MIN).
38204 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38206 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38207 REQUESTED_TIME. Properly set the remaining time and return EINTR
38210 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38212 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38213 Depend on against $(link-rpcuserlibs).
38215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38217 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38218 (__libc_stack_end): Do not use attribute_relro.
38219 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38220 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38221 to libthread-provided value.
38222 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38225 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38228 * bits/libc-lock.h (__libc_once_get): New macro.
38229 * sysdeps/mach/bits/libc-lock.h: Likewise.
38230 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38231 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38232 instead of using implementation details.
38234 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38235 * libio/freopen.c: Likewise.
38236 * libio/freopen64.c: Likewise.
38237 * misc/syslog.c: Likewise.
38238 * nscd/connections.c: Likewise.
38239 * nscd/netgroupcache.c: Likewise.
38240 * sysdeps/posix/getcwd.c: Likewise.
38242 2012-05-10 Roland McGrath <roland@hack.frob.com>
38244 * math/w_ilogbf.c: Add #include <limits.h>.
38246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38248 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38249 path instead of returning without unlocking.
38251 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38252 immediate-write ioctls.
38253 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38255 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38257 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38258 __builtin_frame_address instead of making assumptions about the
38259 location of the return address relative to DATA. Force early load of
38260 the return address.
38261 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38262 __builtin_frame_address.
38265 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38266 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38267 implement dup3 and do some further code clean-ups.
38268 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38269 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38271 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38273 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38275 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38276 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38277 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38278 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38279 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38282 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38283 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38284 when handler == SIG_ERR, not when handler != SIG_ERR.
38286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38288 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38289 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38292 accept4 for GNU Hurd.
38293 * include/sys/socket.h (__libc_accept4): New prototype.
38294 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38295 to implement __libc_accept4.
38296 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38298 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38300 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38301 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38302 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38303 signal-defines.sym.
38305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38307 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38309 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38311 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38312 assertion on O_CLOEXEC flag.
38313 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38314 * hurd/intern-fd.c: Likewise.
38315 * hurd/port2fd.c: Likewise.
38317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38320 * bits/in.h (IPV6_PKTINFO): Define new macro.
38321 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38323 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38328 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38329 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38330 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38331 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38333 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38334 * math/libm-test.inc (logb_test) : Additional logb tests.
38336 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38337 Andreas Jaeger <aj@suse.de>
38339 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38340 * configure: Regenerated.
38341 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38342 * config.make.in (link-obsolete-rpc): New substituted variable.
38343 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38344 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38345 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38346 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38347 so that libc.a contains the symbols.
38348 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38349 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38350 * sunrpc/auth_none.c: Likewise.
38351 * sunrpc/auth_unix.c: Likewise.
38352 * sunrpc/authdes_prot.c: Likewise.
38353 * sunrpc/authuxprot.c: Likewise.
38354 * sunrpc/clnt_gen.c: Likewise.
38355 * sunrpc/clnt_perr.c: Likewise.
38356 * sunrpc/clnt_raw.c: Likewise.
38357 * sunrpc/clnt_simp.c: Likewise.
38358 * sunrpc/clnt_tcp.c: Likewise.
38359 * sunrpc/clnt_udp.c: Likewise.
38360 * sunrpc/clnt_unix.c: Likewise.
38361 * sunrpc/des_crypt.c: Likewise.
38362 * sunrpc/des_soft.c: Likewise.
38363 * sunrpc/get_myaddr.c: Likewise.
38364 * sunrpc/key_call.c: Likewise.
38365 * sunrpc/key_prot.c: Likewise.
38366 * sunrpc/netname.c: Likewise.
38367 * sunrpc/pm_getmaps.c: Likewise.
38368 * sunrpc/pm_getport.c: Likewise.
38369 * sunrpc/pmap_clnt.c: Likewise.
38370 * sunrpc/pmap_prot.c: Likewise.
38371 * sunrpc/pmap_prot2.c: Likewise.
38372 * sunrpc/pmap_rmt.c: Likewise.
38373 * sunrpc/publickey.c: Likewise.
38374 * sunrpc/rpc_cmsg.c: Likewise.
38375 * sunrpc/rpc_common.c: Likewise.
38376 * sunrpc/rpc_dtable.c: Likewise.
38377 * sunrpc/rpc_prot.c: Likewise.
38378 * sunrpc/rpc_thread.c: Likewise.
38379 * sunrpc/rtime.c: Likewise.
38380 * sunrpc/svc.c: Likewise.
38381 * sunrpc/svc_auth.c: Likewise.
38382 * sunrpc/svc_raw.c: Likewise.
38383 * sunrpc/svc_run.c: Likewise.
38384 * sunrpc/svc_tcp.c: Likewise.
38385 * sunrpc/svc_udp.c: Likewise.
38386 * sunrpc/svc_unix.c: Likewise.
38387 * sunrpc/svcauth_des.c: Likewise.
38388 * sunrpc/xcrypt.c: Likewise.
38389 * sunrpc/xdr.c: Likewise.
38390 * sunrpc/xdr_array.c: Likewise.
38391 * sunrpc/xdr_float.c: Likewise.
38392 * sunrpc/xdr_intXX_t.c: Likewise.
38393 * sunrpc/xdr_mem.c: Likewise.
38394 * sunrpc/xdr_rec.c: Likewise.
38395 * sunrpc/xdr_ref.c: Likewise.
38396 * sunrpc/xdr_sizeof.c: Likewise.
38397 * sunrpc/xdr_stdio.c: Likewise.
38399 2012-05-10 Roland McGrath <roland@hack.frob.com>
38401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38402 change. Update copyright years.
38404 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38406 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38408 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38409 Joseph Myers <joseph@codesourcery.com>
38410 Paul Pluzhnikov <ppluzhnikov@google.com>
38413 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38415 [cross-compiling] (extra-libs): Likewise.
38416 [cross-compiling] (extra-libs-others): Likewise.
38417 [cross-compiling] (librpcsvc-routines): Likewise.
38418 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38419 [cross-compiling] (omit-deps): Likewise.
38420 (sunrpc-CPPFLAGS): New variable.
38421 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38422 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38423 (cross-rpcgen-objs): New variable.
38424 (extra-objs): Append $(cross-rpcgen-objs).
38425 ($(cross-rpcgen-objs)): New rule.
38426 ($(objpfx)cross-rpcgen): Likewise.
38427 (rpcgen-cmd): Define to use $(built-program-file). Expand
38429 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38430 ($(objpfx)x%.stmp): Likewise.
38431 * sunrpc/proto.h [IS_IN_build] (_): Define.
38432 [IS_IN_build] (_libc_intl_domainname): Likewise.
38434 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38436 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38437 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38438 and R_X86_64_TPOFF64.
38440 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38442 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38443 sysdeps/unix/sysv/syscalls.list.
38446 * sysdeps/unix/sysv/syscalls.list: Remove file.
38448 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38451 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38452 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38453 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38454 (__LC_IDENTIFICATION): Make these macros useful in #if
38455 expressions, as required by C99.
38457 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38459 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38460 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38463 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38465 * stdlib/longlong.h: Updated from GCC.
38467 2012-05-09 Andreas Jaeger <aj@suse.de>
38469 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38470 default is first entry.
38471 (run_mode): Set type.
38472 (main): Remove informal message about syslog.
38473 (options): Fix typo.
38476 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38479 (llrintf): Likewise.
38480 (llrint): Likewise.
38483 (nearbyint): Likewise.
38484 (nearbyintf): Likewise.
38486 2012-05-09 Andreas Jaeger <aj@suse.de>
38487 Pedro Alves <palves@redhat.com>
38489 * nscd/nscd.c (run_mode): Use enum.
38490 (main): Cleanup coding style issue.
38492 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38493 Andreas Jaeger <aj@suse.de>
38495 * nscd/nscd.c (go_background): Replaced with...
38496 (run_mode): ... this.
38497 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38498 (options): Add -F --foreground.
38499 (main): Implement it.
38500 (parse_opt): Parse it.
38502 2012-05-09 Andreas Jaeger <aj@suse.de>
38505 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38506 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38507 -Wconversion warning.
38508 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38511 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38513 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38515 (LC_ALL): Use macro-int-constant.
38516 (LC_COLLATE): Likewise.
38517 (LC_CTYPE): Likewise.
38518 (LC_MESSAGES): Likewise.
38519 (LC_MONETARY): Likewise.
38520 (LC_NUMERIC): Likewise.
38521 (LC_TIME): Likewise.
38522 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38523 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38525 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38527 [C99-based standards] (float_t): Expect type.
38528 [C99-based standards] (double_t): Expect type.
38529 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38531 [C99-based standards] (HUGE_VALL): Likewise.
38532 [C99-based standards] (INFINITY): Likewise.
38533 [C99-based standards] (NAN): Likewise.
38534 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38535 [C99-based standards] (FP_NAN): Likewise.
38536 [C99-based standards] (FP_NORMAL): Likewise.
38537 [C99-based standards] (FP_SUBNORMAL): Likewise.
38538 [C99-based standards] (FP_ZERO): Likewise.
38539 [C99-based standards] (FP_FAST_FMA): Use
38540 optional-macro-int-constant. Specify type. Require == 1.
38541 [C99-based standards] (FP_FAST_FMAF): Likewise.
38542 [C99-based standards] (FP_FAST_FMAL): Likewise.
38543 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38544 [C99-based standards] (FP_ILOGBNAN): Likewise.
38545 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38547 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38548 [C99-based standards] (math_errhandling): Specify type.
38549 [ISO99 || ISO11] (signgam): Do not allow.
38550 [non-C99-based standards] (copysignf): Do not allow.
38551 [non-C99-based standards] (exp2f): Likewise.
38552 [non-C99-based standards] (log2f): Likewise.
38553 [non-C99-based standards] (modff): Allow.
38554 [non-C99-based standards] (erff): Do not allow.
38555 [non-C99-based standards] (erfcf): Likewise.
38556 [non-C99-based standards] (gammaf): Likewise.
38557 [non-C99-based standards] (hypotf): Likewise.
38558 [non-C99-based standards] (j0f): Likewise.
38559 [non-C99-based standards] (j1f): Likewise.
38560 [non-C99-based standards] (jnf): Likewise.
38561 [non-C99-based standards] (lgammaf): Likewise.
38562 [non-C99-based standards] (tgammaf): Likewise.
38563 [non-C99-based standards] (y0f): Likewise.
38564 [non-C99-based standards] (y1f): Likewise.
38565 [non-C99-based standards] (ynf): Likewise.
38566 [non-C99-based standards] (isnanf): Likewise.
38567 [non-C99-based standards] (acoshf): Likewise.
38568 [non-C99-based standards] (asinhf): Likewise.
38569 [non-C99-based standards] (atanhf): Likewise.
38570 [non-C99-based standards] (cbrtf): Likewise.
38571 [non-C99-based standards] (expm1f): Likewise.
38572 [non-C99-based standards] (ilogbf): Likewise.
38573 [non-C99-based standards] (log1pf): Likewise.
38574 [non-C99-based standards] (logbf): Likewise.
38575 [non-C99-based standards] (nextafterf): Likewise.
38576 [non-C99-based standards] (remainderf): Likewise.
38577 [non-C99-based standards] (rintf): Likewise.
38578 [non-C99-based standards] (scalbf): Likewise.
38579 [non-C99-based standards] (copysignl): Likewise.
38580 [non-C99-based standards] (exp2l): Likewise.
38581 [non-C99-based standards] (log2l): Likewise.
38582 [non-C99-based standards] (modfl): Allow.
38583 [non-C99-based standards] (erfl): Do not allow.
38584 [non-C99-based standards] (erfcl): Likewise.
38585 [non-C99-based standards] (gammal): Likewise.
38586 [non-C99-based standards] (hypotl): Likewise.
38587 [non-C99-based standards] (j0l): Likewise.
38588 [non-C99-based standards] (j1l): Likewise.
38589 [non-C99-based standards] (jnl): Likewise.
38590 [non-C99-based standards] (lgammal): Likewise.
38591 [non-C99-based standards] (tgammal): Likewise.
38592 [non-C99-based standards] (y0l): Likewise.
38593 [non-C99-based standards] (y1l): Likewise.
38594 [non-C99-based standards] (ynl): Likewise.
38595 [non-C99-based standards] (isnanl): Likewise.
38596 [non-C99-based standards] (acoshl): Likewise.
38597 [non-C99-based standards] (asinhl): Likewise.
38598 [non-C99-based standards] (atanhl): Likewise.
38599 [non-C99-based standards] (cbrtl): Likewise.
38600 [non-C99-based standards] (expm1l): Likewise.
38601 [non-C99-based standards] (ilogbl): Likewise.
38602 [non-C99-based standards] (log1pl): Likewise.
38603 [non-C99-based standards] (logbl): Likewise.
38604 [non-C99-based standards] (nextafterl): Likewise.
38605 [non-C99-based standards] (remainderl): Likewise.
38606 [non-C99-based standards] (rintl): Likewise.
38607 [non-C99-based standards] (scalbl): Likewise.
38608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38609 [non-C99-based standards] (FP_*): Do not allow.
38610 [C99-based standards] (FP_*): Change to
38611 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38612 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38614 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38615 (SIG_ERR): Likewise.
38616 [X/Open-based standards] (SIG_HOLD): Likewise.
38617 (SIG_IGN): Likewise.
38618 (SIGABRT): Use macro-int-constant. Specify type. Require
38620 (SIGFPE): Likewise.
38621 (SIGILL): Likewise.
38622 (SIGINT): Likewise.
38623 (SIGSEGV): Likewise.
38624 (SIGTER): Likewise.
38625 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38626 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38627 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38628 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38629 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38630 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38631 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38632 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38633 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38634 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38635 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38636 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38637 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38638 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38639 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38640 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38641 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38642 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38643 [X/Open-based standards] (SIGTRAP): Likewise.
38644 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38645 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38646 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38647 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38648 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38651 2012-05-08 Ian Wienand <ianw@vmware.com>
38654 * time/tzset.c (__tzset_parse_tz): Update default rules for
38655 daylight time changes in the Energy Policy Act of 2005.
38657 2012-05-09 Andreas Jaeger <aj@suse.de>
38660 * elf/ldconfig.c (parse_conf): Change string to make clear that
38661 ldconfig only issued a warning if ld.so.conf does not exist.
38663 2012-05-08 David S. Miller <davem@davemloft.net>
38665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38666 movxtod instead of popping the value on the stack.
38668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38670 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38672 * config.h.in: Add HAVE_ARM_PCS_VFP.
38674 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38677 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38678 checking but the checks are disabled for any reason.
38680 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38682 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38683 and ELF64_R_TYPE with ELFW(R_TYPE).
38685 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38687 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38688 (ulimit): Likewise.
38690 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38691 (settimeofday): Likewise.
38693 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38695 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38696 a struct th_u2 inside the union, and move tu_block/tu_code into
38697 a new th_u3 union of tu_block/tu_code inside of that. Move
38698 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38699 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38700 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38701 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38702 (th_stuff): Change to th_u1.tu_stuff.
38704 (th_msg): Change to th_u1.th_u2.tu_data.
38706 2012-05-07 David S. Miller <davem@davemloft.net>
38708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38711 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38712 (SETUP_PIC_REG): Use it.
38713 (SETUP_PIC_REG_LEAF): Use it.
38715 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38719 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38721 (EXPL_FINITE): Likewise.
38722 (FLDLOG): Likewise.
38723 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38724 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38728 (EXPL_FINITE): Likewise.
38729 (FLDLOG): Likewise.
38730 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38731 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38733 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38734 test of -max_value argument for long double.
38735 * sysdeps/i386/fpu/libm-test-ulps: Update.
38736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38738 2012-05-06 David S. Miller <davem@davemloft.net>
38740 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38741 quad soft-float symbols whose references which are compiler
38743 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38745 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38749 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38751 (EXPL_FINITE): Likewise.
38752 (FLDLOG): Likewise.
38755 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38756 Adjust comments for base varying.
38757 (__expl_finite): Change alias to EXPL_FINITE.
38758 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38760 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38761 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38763 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38764 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38766 (EXPL_FINITE): Likewise.
38767 (FLDLOG): Likewise.
38770 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38771 Adjust comments for base varying.
38772 (__expl_finite): Change alias to EXPL_FINITE.
38773 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38778 * math/libm-test.inc (check_float_internal): Correct ulp
38779 calculation for subnormal expected results.
38781 2012-05-06 Andreas Jaeger <aj@suse.de>
38783 * Makeconfig (+math-flags): New, set to -frounding-math.
38784 (+cflags): Add +math-flags so that all of glibc gets compiled with
38787 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38789 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38791 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38797 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38798 (__ieee754_expl): Allow for and saturate large arguments.
38799 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38800 (u_threshold): Likewise.
38801 (__exp): Call __ieee754_exp before checking for overflow and
38803 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38804 (u_threshold): Likewise.
38805 (__expf): Call __ieee754_expf before checking for overflow and
38807 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38808 (u_threshold): Likewise.
38809 (__expl): Call __ieee754_expl before checking for overflow and
38811 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38812 (__ieee754_expl): Allow for and saturate large arguments.
38813 * math/libm-test.inc (exp_test): Add another test. Do not allow
38814 missing overflow exception on overflow.
38815 (expm1_test): Do not allow missing overflow exception on overflow.
38817 * sysdeps/i386/fpu/e_expl.c: Move to ...
38818 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38819 rather than using inline asm.
38820 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38821 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38822 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38824 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38827 (signal): Likewise.
38831 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38833 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38834 sysdeps/unix/common/syscalls.list.
38835 (fchmod): Likewise.
38836 (fchown): Likewise.
38837 (ftruncate): Likewise.
38838 (getrusage): Likewise.
38839 (gettimeofday): Likewise.
38840 (setpgid): Likewise.
38841 (setregid): Likewise.
38842 (setreuid): Likewise.
38843 (sigaction): Likewise.
38844 (truncate): Likewise.
38845 (vhangup): Likewise.
38846 * sysdeps/unix/common/syscalls.list: Remove file.
38847 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38848 * sysdeps/unix/sysv/linux/Implies: Likewise.
38850 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38852 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38854 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38858 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38861 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38864 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38867 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38870 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38873 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38876 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38880 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38884 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38886 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38887 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38891 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38893 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38895 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38897 * sysdeps/unix/common/bits/dirent.h: Remove file.
38898 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38900 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38901 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38902 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38903 * sysdeps/unix/bsd/isatty.c: Likewise.
38904 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38905 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38906 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38908 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38911 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38912 long double comparison inaccuracies.
38913 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38916 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38918 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38921 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38924 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38925 nonzero digits before rounding a hex value.
38926 * stdlib/tst-strtod.c (tests): Add another test.
38928 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38930 * sysdeps/s390/fpu/libm-test-ulps: Update.
38932 2012-05-03 Andreas Jaeger <aj@suse.de>
38934 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38935 does not get optimized out.
38936 (malloc_opt_barrier): New.
38938 2012-05-03 Andreas Jaeger <aj@suse.de>
38939 Roland McGrath <roland@hack.frob.com>
38941 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38942 intermediate file deletion.
38943 (generated): Add .symlist files.
38945 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38948 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38949 Redirect under this condition.
38950 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38951 [__USE_GNU] (__dprintf_chk): Not under this condition.
38952 [__USE_GNU] (__vdprintf_chk): Likewise.
38953 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38954 under this condition.
38955 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38956 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38957 [__USE_XOPEN2K8] (vdprintf): Likewise.
38958 [__USE_GNU] (__dprintf_chk): Not under this condition.
38959 [__USE_GNU] (__vdprintf_chk): Likewise.
38960 [__USE_GNU] (dprintf): Likewise.
38961 [__USE_GNU] (vdprintf): Likewise.
38963 2012-05-03 Roland McGrath <roland@hack.frob.com>
38965 * elf/Makefile (common-generated): Set this instead of generated for
38966 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38967 $(all-built-dso)-derived lists.
38969 2012-05-03 Andreas Jaeger <aj@suse.de>
38971 * sysdeps/i386/fpu/libm-test-ulps: Update.
38974 * FAQ.in: Likewise.
38975 * scripts/gen-FAQ.pl: Likewise.
38976 * manual/install.texi (Installation): Point to online location of
38978 * Makefile (files-for-dist): Remove FAQ.
38981 2012-05-02 Allan McRae <allan@archlinux.org>
38983 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38984 (LDFLAGS-reldepmod5.so): Likewise.
38985 (LDFLAGS-reldep6mod1.so): Likewise.
38986 (LDFLAGS-reldep6mod4.so): Likewise.
38987 (LDFLAGS-reldep8mod3.so): Likewise.
38988 (LDFLAGS-unload4mod1.so): Likewise.
38989 (LDFLAGS-unload4mod2.so): Likewise.
38990 (LDFLAGS-tst-initorder): Likewise.
38991 (LDFLAGS-tst-initordera2.so): Likewise.
38992 (LDFLAGS-tst-initordera3.so): Likewise.
38993 (LDFLAGS-tst-initordera4.so): Likewise.
38994 (LDFLAGS-tst-initorderb2.so): Likewise.
38995 (LDFLAGS-noload): Likewise.
38996 (LDFLAGS-next): Likewise.
38997 (LDFLAGS-order2mod1.so): Likewise.
38998 (LDFLAGS-order2mod2.so): Likewise.
38999 (LDFLAGS-tst-initorder2): Likewise.
39000 (LDFLAGS-tst-initorder2a.so): Likewise.
39001 (LDFLAGS-tst-initorder2b.so): Likewise.
39002 (LDFLAGS-tst-initorder2c.so): Likewise.
39003 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39005 2012-05-02 David S. Miller <davem@davemloft.net>
39007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39009 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39012 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39014 2012-05-02 Andreas Jaeger <aj@suse.de>
39016 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39017 since we manipulate rounding mode.
39018 (CPPFLAGS-test-idouble.c): Likewise.
39019 (CPPFLAGS-test-ifloat.c): Likewise.
39020 (CFLAGS-test-ldouble.c): Likewise.
39021 (CFLAGS-test-double.c): Likewise.
39022 (CFLAGS-test-float.c): Likewise.
39023 (CFLAGS-test-misc.c): Likewise.
39024 (CFLAGS-test-test-fenv.c): Likewise.
39026 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39030 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39031 comparisons to determine direction to adjust input.
39033 2012-05-01 Roland McGrath <roland@hack.frob.com>
39035 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39036 output to the target.
39038 * scripts/localplt.awk: New file.
39039 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39040 (check-localplt-CFLAGS): Variable removed.
39041 ($(all-built-dso:=.jmprel)): New static pattern rule.
39042 (generated): Add those targets.
39043 (localplt-built-dso): New variable.
39044 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39046 * elf/check-localplt.c: File removed.
39048 * scripts/check-execstack.awk: New file.
39049 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39050 (check-execstack-CFLAGS): Variable removed.
39051 ($(objpfx)check-execstack.h): Target removed.
39052 ($(objpfx)execstack-default): New target.
39053 (generated): Add that instead of check-execstack.h.
39054 ($(all-built-dso:=.phdr)): New static pattern rule.
39055 (generated): Add those targets.
39056 * elf/check-execstack.c: File removed.
39058 * scripts/check-textrel.awk: New file.
39059 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39060 (check-textrel-CFLAGS): Variable removed.
39061 (all-built-dso): Use := to define.o
39062 ($(all-built-dso:=.dyn)): New static pattern rule.
39063 (generated): Add those targets.
39064 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39065 * config.make.in (READELF): New substituted variable.
39066 * elf/check-textrel.c: File removed.
39068 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39070 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39072 * conform/data/ctype.h-data [C99-based standards] (isblank):
39074 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39075 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39076 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39077 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39078 Specify type. Require positive value.
39079 (EILSEQ): Likewise.
39080 (ERANGE): Likewise.
39081 [ISO || POSIX] (EILSEQ): Do not expect.
39082 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39083 Specify type. Require positive value.
39084 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39085 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39086 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39087 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39088 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39089 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39090 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39091 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39092 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39093 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39094 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39095 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39096 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39097 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39098 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39099 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39100 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39101 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39102 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39103 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39104 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39105 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39106 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39107 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39108 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39109 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39110 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39111 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39112 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39113 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39114 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39115 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39116 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39117 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39118 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39119 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39120 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39121 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39122 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39123 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39124 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39125 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39126 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39127 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39128 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39129 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39130 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39131 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39132 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39133 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39134 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39135 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39136 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39137 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39138 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39139 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39140 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39141 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39142 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39143 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39144 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39145 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39146 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39147 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39148 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39149 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39150 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39151 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39152 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39153 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39154 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39155 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39156 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39157 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39158 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39159 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39160 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39162 (FLT_ROUNDS): Expect as macro, not constant.
39163 (FLT_MANT_DIG): Use macro-int-constant.
39164 (DBL_MANT_DIG): Likewise.
39165 (LDBL_MANT_DIG): Likewise.
39166 (FLT_DIG): Likewise.
39167 (DBL_DIG): Likewise.
39168 (LDBL_DIG): Likewise.
39169 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39170 (DBL_MIN_EXP): Likewise.
39171 (LDBL_MIN_EXP): Likewise.
39172 (FLT_MAX_EXP): Use macro-int-constant.
39173 (DBL_MAX_EXP): Likewise.
39174 (LDBL_MAX_EXP): Likewise.
39175 (FLT_MAX_10_EXP): Likewise.
39176 (DBL_MAX_10_EXP): Likewise.
39177 (LDBL_MAX_10_EXP): Likewise.
39178 (FLT_MAX): Use macro-constant.
39179 (DBL_MAX): Likewise.
39180 (LDBL_MAX): Likewise.
39181 (FLT_EPSILON): Use macro-constant. Give upper bound.
39182 (DBL_EPSILON): Likewise.
39183 (LDBL_EPSILON): Likewise.
39184 (FLT_MIN): Likewise.
39185 (DBL_MIN): Likewise.
39186 (LDBL_MIN): Likewise.
39187 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39188 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39189 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39190 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39191 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39192 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39193 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39194 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39195 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39196 [ISO11] (FLT_TRUE_MIN): Likewise.
39197 [ISO11] (LDBL_TRUE_MIN): Likewise.
39198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39199 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39200 (SCHAR_MIN): Use macro-int-constant. Specify type.
39201 (SCHAR_MAX): Likewise.
39202 (UCHAR_MAX): Likewise.
39203 (CHAR_MIN): Likewise.
39204 (CHAR_MAX): Likewise.
39205 (MB_LEN_MAX): Use macro-int-constant.
39206 (SHRT_MIN): Use macro-int-constant. Specify type.
39207 (SHRT_MAX): Likewise.
39208 (USHRT_MAX): Likewise.
39209 (INT_MAX): Likewise.
39210 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39212 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39214 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39216 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39217 bound negative. Suffix upper bound with "L".
39218 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39220 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39222 [C99-based standards] (LLONG_MAX): Likewise.
39223 [C99-based standards] (ULLONG_MAX): Likewise.
39224 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39226 [ISO11] (max_align_t): Require type.
39227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39229 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39230 from $CFLAGS, without defining away __attribute__ calls.
39231 (checknamespace): Use $CFLAGS_namespace.
39233 * conform/conformtest.pl (@keywords): Only include C99 keywords
39234 for standards based on C99 or C11.
39236 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39238 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39241 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39242 usability of symbols in #if.
39244 * conform/conformtest.pl: If macro or constant types start
39245 "promoted:", expect the symbol to be of the following type
39246 promoted by the integer promotions.
39248 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39249 in one place. Also handle "macro-constant".
39251 * conform/conformtest.pl: Only accept expected macro values with
39252 "==". Parse all "macro" lines in one place.
39253 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39255 * conform/conformtest.pl: Handle braced types on "constant" lines
39256 instead of handling "typed-constant".
39257 * conform/data/signal.h-data: Use "constant" instead of
39260 * conform/conformtest.pl: Handle "optional-" at start of lines in
39261 one place rather than duplicating several cases. Handle each
39262 format of "macro" line with initial "optional-".
39264 * conform/conformtest.pl: Only accept expected constant or
39265 optional-constant values with "==". Parse all "constant" lines in
39266 one place. Parse all "optional-constant" lines in one place.
39267 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39268 * conform/data/fmtmsg.h-data: Likewise.
39269 * conform/data/netinet/in.h-data: Likewise.
39270 * conform/data/tar.h-data: Likewise.
39271 * conform/data/limits.h-data: Use "==" form on "constant" and
39272 "optional-constant" lines.
39274 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39275 Use -std=c99 for XOPEN2K.
39276 (@knownproblems): Remove.
39277 (newtoken): Don't check %isknown.
39279 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39280 Do not expect macro.
39281 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39282 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39283 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39284 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39285 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39286 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39287 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39288 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39289 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39290 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39291 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39292 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39293 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39294 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39295 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39296 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39297 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39298 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39299 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39300 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39301 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39302 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39303 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39304 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39305 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39306 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39307 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39308 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39309 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39310 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39311 [XPG3] (acosh): Likewise.
39312 [XPG3] (asinh): Likewise.
39313 [XPG3] (atanh): Likewise.
39314 [XPG3] (cbrt): Likewise.
39315 [XPG3] (expm1): Likewise.
39316 [XPG3] (ilogb): Likewise.
39317 [XPG3] (log1p): Likewise.
39318 [XPG3] (logb): Likewise.
39319 [XPG3] (nextafter): Likewise.
39320 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39321 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39322 [XPG3] (remainder): Likewise.
39323 [XPG3] (rint): Likewise.
39324 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39325 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39326 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39327 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39328 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39329 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39330 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39331 [UNIX98 || XOPEN2K] (scalb): Expect.
39332 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39333 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39334 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39335 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39336 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39337 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39338 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39339 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39340 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39341 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39342 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39343 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39344 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39345 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39346 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39347 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39348 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39349 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39350 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39351 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39352 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39353 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39354 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39355 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39356 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39357 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39358 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39359 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39360 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39362 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39363 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39372 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39373 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39380 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39381 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39382 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39383 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39384 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39385 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39386 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39387 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39388 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39390 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39391 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39392 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39393 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39397 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39400 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39401 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39402 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39403 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39404 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39405 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39406 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39407 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39408 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39409 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39410 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39411 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39412 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39413 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39414 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39415 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39416 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39417 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39418 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39419 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39420 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39421 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39422 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39423 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39424 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39425 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39426 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39427 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39428 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39429 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39430 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39431 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39432 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39433 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39434 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39435 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39436 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39437 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39438 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39439 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39440 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39441 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39442 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39443 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39444 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39445 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39446 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39447 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39448 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39449 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39450 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39451 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39452 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39453 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39454 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39455 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39456 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39457 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39458 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39459 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39460 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39461 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39462 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39463 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39464 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39465 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39466 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39467 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39468 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39470 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39471 _XOPEN_SOURCE_EXTENDED for XPG4.
39473 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39475 * Makeconfig (localtime): Remove variable.
39476 (inst_localtime-file): Likewise.
39478 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39499 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39503 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39504 comparisons to determine direction to adjust input.
39505 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39506 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39507 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39509 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39511 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39513 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39514 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39516 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39518 * math/libm-test.inc (nexttoward_test): Add more tests.
39520 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39523 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39524 in version GLIBC_2.1, not GLIBC_2.0.
39525 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39528 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39531 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39533 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39534 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39535 * math/libm-test.inc (acos_test): Add more tests.
39536 (asin_test): Likewise.
39537 * sysdeps/i386/fpu/libm-test-ulps: Update.
39538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39541 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39543 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39544 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39545 * math/libm-test.inc (acos_test_tonearest): New function.
39546 (acos_test_towardzero): Likewise.
39547 (acos_test_downward): Likewise.
39548 (acos_test_upward): Likewise.
39549 (asin_test_tonearest): Likewise.
39550 (asin_test_towardzero): Likewise.
39551 (asin_test_downward): Likewise.
39552 (asin_test_upward): Likewise.
39553 (main): Call the new functions.
39554 * sysdeps/i386/fpu/libm-test-ulps: Update.
39555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39559 * math/e_exp10.c: Include <float.h>.
39560 (__ieee754_exp10): Handle underflow here rather than multiplying
39561 large negative argument by M_LN10.
39562 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39564 * math/e_exp10l.c: Include <float.h>.
39565 (__ieee754_exp10l): Handle underflow here rather than multiplying
39566 large negative argument by M_LN10l.
39567 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39568 spurious overflow exception on underflow.
39570 2012-04-29 Marek Polacek <polacek@redhat.com>
39572 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39573 (__fortify_function): New macro.
39574 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39575 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39576 __extern_always_inline.
39577 * libio/bits/stdio2.h: Likewise.
39578 * libio/bits/stdio.h: Likewise.
39579 * string/string.h: Likewise.
39580 * string/bits/string3.h: Likewise.
39581 * include/stdio.h: Likewise.
39582 * stdlib/bits/stdlib.h: Likewise.
39583 * stdlib/stdlib.h: Likewise.
39584 * rt/bits/mqueue2.h: Likewise.
39585 * rt/mqueue.h: Likewise.
39586 * posix/bits/unistd.h: Likewise.
39587 * posix/unistd.h: Likewise.
39588 * io/bits/poll2.h: Likewise.
39589 * io/bits/fcntl2.h: Likewise.
39590 * io/fcntl.h: Likewise.
39591 * io/sys/poll.h: Likewise.
39592 * misc/bits/syslog.h: Likewise.
39593 * misc/bits/syslog-ldbl.h: Likewise.
39594 * misc/sys/syslog.h: Likewise.
39595 * socket/bits/socket2.h: Likewise.
39596 * socket/sys/socket.h: Likewise.
39597 * debug/tst-chk1.c: Likewise.
39598 * wcsmbs/bits/wchar2.h: Likewise.
39599 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39600 * wcsmbs/wchar.h: Likewise.
39602 2012-04-29 Andreas Jaeger <aj@suse.de>
39604 * Makerules (tests): Remove enable-check-abi protection.
39605 (check-abi-warn): Remove.
39606 (check-abi-%): Remove check-abi-warn usage.
39608 * configure.in: Remove check-abi configure option.
39609 * configure: Regenerated.
39610 * config.make.in (enable-check-abi): Remove.
39612 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39615 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39616 double functions to double *_finite functions.
39619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39620 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39622 * stdio-common/Makefile (tests): Add tst-sprintf3.
39623 * stdio-common/tst-sprintf3.c: New file.
39625 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39626 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39628 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39630 * conform/conformtest.pl: Remove duplicate typed-constant
39633 2012-04-28 David S. Miller <davem@davemloft.net>
39635 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39636 (check-abi-%): Remove AWK script prerequisite and explicit
39638 (check-abi): Rewrite to just diff the symlist with the abilist.
39639 (config-tls, config-abi-config): Delete, no longer used.
39640 (update-abi-%): Remove AWK script and explicit abilist directory.
39641 (update-abi): Rewrite to simply compare and conditionally copy the
39642 symlist and the sysdep abilist file. Remove update-abi-config
39644 * abilist/ld.abilist: Remove.
39645 * abilist/libBrokenLocale.abilist: Remove.
39646 * abilist/libanl.abilist: Remove.
39647 * abilist/libcrypt.abilist: Remove.
39648 * abilist/libdl.abilist: Remove.
39649 * abilist/librt.abilist: Remove.
39650 * abilist/libthread_db.abilist: Remove.
39651 * abilist/libutil.abilist: Remove.
39652 * scripts/extract-abilist.awk: Remove.
39653 * scripts/merge-abilist.awk: Remove.
39654 * sysdeps/generic/libcidn.abilist: New file.
39655 * sysdeps/generic/libnss_compat.abilist: New file.
39656 * sysdeps/generic/libnss_db.abilist: New file.
39657 * sysdeps/generic/libnss_dns.abilist: New file.
39658 * sysdeps/generic/libnss_files.abilist: New file.
39659 * sysdeps/generic/libnss_hesiod.abilist: New file.
39660 * sysdeps/generic/libnss_nis.abilist: New file.
39661 * sysdeps/generic/libnss_nisplus.abilist: New file.
39662 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39663 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39664 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39666 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39667 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39668 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39669 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39670 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39671 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39672 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39673 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39674 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39676 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39677 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39678 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39679 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39681 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39682 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39683 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39684 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39685 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39686 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39688 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39689 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39690 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39692 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39745 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39770 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39795 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39796 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39797 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39800 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39801 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39802 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39803 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39804 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39805 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39806 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39807 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39808 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39860 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39862 * conform/conformtest.pl: Fix typo in handling typed-constant from
39865 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39867 * README: Cut down references to pre-2.6 Linux kernels and
39868 Linuxthreads. Update lists of configurations in libc and ports
39869 and sort alphabetically. Say "or newer" with Linux kernel version
39872 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39874 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39877 * math/libm-test.inc (logb_test_downward): New test to expose
39878 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39881 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39884 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39886 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39887 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39889 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39891 * sysdeps/unix/i386/brk.S: Remove file.
39892 * sysdeps/unix/i386/dl-brk.S: Likewise.
39893 * sysdeps/unix/i386/pipe.S: Likewise.
39894 * sysdeps/unix/i386/sigreturn.S: Likewise.
39895 * sysdeps/unix/i386/syscall.S: Likewise.
39896 * sysdeps/unix/i386/vfork.S: Likewise.
39897 * sysdeps/unix/i386/wait.S: Likewise.
39899 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39900 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39902 * configure.in (arm*-none*): Do not allow without
39903 --enable-hacker-mode.
39904 (netbsd*): Remove case setting base_os.
39905 (386bsd*): Likewise.
39906 (freebsd*): Likewise.
39909 (sunos*): Likewise.
39910 (ultrix*): Likewise.
39911 (newsos*): Likewise.
39912 (dynix*): Likewise.
39918 (minix*): Likewise.
39919 (irix4*): Likewise.
39920 (irix6*): Likewise.
39921 (solaris[2-9]*): Likewise.
39923 * configure: Regenerated.
39925 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39928 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39929 overflow or cancellation in calculating denominator.
39930 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39932 down expression to avoid unexpected rounding in newer GCCs.
39933 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39935 2012-04-26 David S. Miller <davem@davemloft.net>
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39938 long-double compat symbols.
39939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39953 2012-04-25 David S. Miller <davem@davemloft.net>
39955 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39956 HWCAP_* values only after the memory barriers have been defined.
39957 (atomic_full_barrier): Define.
39958 (atomic_read_barrier): Define.
39959 (atomic_write_barrier): Define.
39961 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39963 * shlib-versions: Add libgcc_s version information.
39964 * sysdeps/generic/libgcc_s.h: Remove.
39965 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39967 * sysdeps/gnu/unwind-resume.c: Likewise.
39968 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39970 2012-04-25 David S. Miller <davem@davemloft.net>
39972 * sysdeps/unix/sparc/brk.S: Delete.
39973 * sysdeps/unix/sparc/dl-brk.S: Delete.
39974 * sysdeps/unix/sparc/pipe.S: Delete.
39975 * sysdeps/unix/sparc/sysdep.S: Delete.
39976 * sysdeps/unix/sparc/sysdep.h: Delete.
39977 * sysdeps/unix/sparc/vfork.S: Delete.
39978 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39979 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39980 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39981 (ret_ERRVAL, r0, r1, MOVE): Define.
39982 (JUMPTARGET): Remove.
39983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39984 sysdeps/unix/sparc/sysdep.h
39985 (ENTRY, END): Remove.
39986 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39988 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39990 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39991 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39994 * timezone/README: Update upstream location and email address for
39996 * timezone/zdump.c: Update from tzcode 2012b.
39997 * timezone/zic.c: Likewise.
39999 * configure.in (libc_cv_as_needed): Remove test.
40000 * configure: Regenerated.
40001 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40002 conditional definition.
40003 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40004 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40005 * config.make.in (have-as-needed): Remove variable.
40007 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40008 Paul Pluzhnikov <ppluzhnikov@google.com>
40010 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40013 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40015 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40016 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40017 * sysdeps/sh/strlen.S: Likewise.
40019 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40021 * sysdeps/unix/fork.S: Remove file.
40022 * sysdeps/unix/i386/fork.S: Likewise.
40023 * sysdeps/unix/sparc/fork.S: Likewise.
40025 * sysdeps/unix/system.c: Remove file.
40026 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40028 * sysdeps/unix/getegid.S: Remove file.
40029 * sysdeps/unix/geteuid.S: Likewise.
40031 2012-04-24 Roland McGrath <roland@hack.frob.com>
40033 * scripts/check-localplt.awk: New file.
40034 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40036 * scripts/data/localplt-generic.data: Add a comment.
40038 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40039 NODE when __dir_mkfile failed.
40040 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40041 Reported by Ludovic Courtès <ludo@gnu.org>.
40043 2012-04-24 Andreas Jaeger <aj@suse.de>
40045 * Makerules (common-clean): Also remove gen-as-const-headers
40048 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40050 * Makerules (native-compile): Do not change working directory for
40051 build. Use $(OUTPUT_OPTION) in command.
40052 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40054 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40057 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40058 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40059 * math/libm-test.inc (floor_test): Add more tests.
40060 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40062 2012-04-24 Joseph Myers <joseph@codesourcery.com>
40064 * sysdeps/unix/getdents.c: Remove file.
40065 * sysdeps/unix/sysv/getdents.c: Likewise.
40066 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40068 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40069 sysdeps/unix/mman/syscalls.list.
40071 (mprotect): Likewise.
40073 (munmap): Likewise.
40074 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40075 * sysdeps/unix/mman/syscalls.list: Remove.
40076 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40078 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40079 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40080 * configure: Regenerated.
40081 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40082 $(libgcc_s_suffix).
40083 * config.make.in (libgcc_s_suffix): Remove variable.
40085 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40087 * sysdeps/unix/sysv/gethostname.c: Move to ...
40088 * sysdeps/posix/gethostname.c: ... here.
40090 * sysdeps/unix/execve.S: Remove file.
40092 * sysdeps/unix/_exit.S: Remove file.
40094 2012-04-23 Andreas Jaeger <aj@suse.de>
40097 * manual/Makefile: Remove make dist support, there's no
40098 need for a stand-alone documentation tar ball.
40099 (TEXI2DVI): Define always, it's not in Makeconfig.
40102 (edition): Removed.
40103 (glibc-doc-$(edition).tar): Removed
40107 (ETAGS): Remove, it's in Makeconfig.
40108 (move-if-change): Remove, it's in Makeconfig.
40110 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40113 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40114 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40115 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40116 (strtod_l, strtof_l, strtold_l): Remove __wur.
40117 It is not necessarily an error to ignore strtol's return value.
40118 One can reliably look at the stored endptr to decide whether
40119 the number had valid syntax.
40121 2012-04-21 Andreas Jaeger <aj@suse.de>
40124 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40126 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40128 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40129 * sysdeps/unix/sysv/Versions: Remove file.
40131 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40136 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40139 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40140 version from __vm86.
40142 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40144 * sysdeps/unix/common/lxstat.c: Remove file.
40145 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40147 * sysdeps/unix/sysv/Makefile: Remove file.
40149 * sysdeps/unix/sysv/direct.h: Remove file.
40151 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40152 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40153 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40154 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40155 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40156 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40157 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40159 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40161 * sysdeps/unix/xmknod.c: Remove file.
40162 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40164 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40166 * sysdeps/unix/sysv/i386/time.S: Remove file.
40168 * sysdeps/unix/fxstat.c: Remove file.
40169 * sysdeps/unix/xstat.c: Likewise.
40170 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40172 * sysdeps/unix/sysv/sigaction.c: Remove file.
40174 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40175 (sysdep_headers): Remove variable.
40176 [termio.h not in sysdep_headers] (generated): Likewise.
40177 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40178 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40179 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40180 * sysdeps/unix/sysv/tcflow.c: Likewise.
40181 * sysdeps/unix/sysv/tcflush.c: Likewise.
40182 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40183 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40184 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40185 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40186 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40188 * sysdeps/unix/siglist.c: Remove file.
40190 * sysdeps/unix/getppid.S: Remove file.
40192 * sysdeps/unix/mkdir.c: Remove file.
40193 * sysdeps/unix/rmdir.c: Likewise.
40195 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40197 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40199 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40200 errlist-compat value.
40202 2012-04-18 David S. Miller <davem@davemloft.net>
40204 * sysdeps/generic/memcopy.h (reg_char): Delete.
40205 * debug/strcat_chk.c: Use char, not reg_char.
40206 * debug/strcpy_chk.c: Likewise.
40207 * debug/strncat_chk.c: Likewise.
40208 * debug/strncpy_chk.c: Likewise.
40209 * string/memchr.c: Likewise.
40210 * string/memrchr.c: Likewise.
40211 * string/rawmemchr.c: Likewise.
40212 * string/strcat.c: Likewise.
40213 * string/strchr.c: Likewise.
40214 * string/strchrnul.c: Likewise.
40215 * string/strcmp.c: Likewise.
40216 * string/strcpy.c: Likewise.
40217 * string/strncat.c: Likewise.
40218 * string/strncmp.c: Likewise.
40219 * string/strncpy.c: Likewise.
40221 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40223 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40224 __builtin_memcopy is called when src and dest ranges are known to not
40227 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40229 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40230 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40231 fwd_align_merge macro call.
40232 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40233 bwd_align_merge macro call.
40234 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40236 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40238 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40239 bwd_align_merge macros.
40240 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40241 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40242 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40244 2012-04-18 David S. Miller <davem@davemloft.net>
40246 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40248 2012-04-18 Andreas Jaeger <aj@suse.de>
40251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40252 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40253 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40256 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40257 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40259 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40260 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40261 Adjust for changed ldbl-128 files.
40263 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40264 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40265 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40267 2012-04-17 David S. Miller <davem@davemloft.net>
40269 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40271 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40273 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40274 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40275 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40276 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40277 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40278 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40280 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40283 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40284 * math/libm-test.inc: Add ilogb errno and exception tests.
40285 * math/w_ilogb.c: New file: ilogb wrapper.
40286 * math/w_ilogbf.c: New file: ilogbf wrapper.
40287 * math/w_ilogbl.c: New file: ilogbl wrapper.
40288 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40289 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40290 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40291 exception being thrown with 0.0 as argument.
40292 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40293 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40294 exception being thrown with 0.0 as argument.
40295 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40296 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40297 exception being thrown with 0.0 as argument.
40298 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40299 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40300 exception being thrown with 0.0 as argument.
40301 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40302 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40303 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40304 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40305 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40306 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40307 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40308 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40309 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40311 2012-04-17 Petr Baudis <pasky@ucw.cz>
40313 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40316 2012-04-16 Marek Polacek <polacek@redhat.com>
40318 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40320 2012-04-16 Marek Polacek <polacek@redhat.com>
40322 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40323 operands of fdivp instruction.
40325 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40327 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40328 * elf/tst-auditmod3b.c: Likewise.
40329 * elf/tst-auditmod4b.c: Likewise.
40330 * elf/tst-auditmod5b.c: Likewise.
40331 * elf/tst-auditmod6b.c: Likewise.
40332 * elf/tst-auditmod6c.c: Likewise.
40333 * elf/tst-auditmod7b.c: Likewise.
40334 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40335 * sysdeps/x86_64/preconfigure.in: Likewise.
40336 * sysdeps/x86_64/preconfigure: Regenerated.
40338 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40340 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40343 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40345 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40346 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40348 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40351 * locale/iso-639.def: Fix gl language name. Spotted by
40354 2012-04-12 Roland McGrath <roland@hack.frob.com>
40357 * libio/libio.h (__io_write_fn): Update comment.
40359 2012-04-12 Petr Baudis <pasky@ucw.cz>
40362 * stdio.texi (Hook Functions): The user provided writer function
40363 is not allowed to return -1.
40365 2012-04-11 David S. Miller <davem@davemloft.net>
40367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40369 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40371 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40372 Add a leading slash to rtkaio.
40374 2012-04-11 Jim Meyering <meyering@redhat.com>
40377 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40378 It is not necessarily an error to ignore fwrite's return
40379 value. One can reliably use ferror to test for errors after
40382 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40384 * bits/types.h (__snseconds_t): New type.
40385 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40387 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40388 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40389 (__SNSECONDS_T_TYPE): Likewise.
40390 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40391 (__SNSECONDS_T_TYPE): Likewise.
40392 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40393 (__SNSECONDS_T_TYPE): Likewise.
40395 2012-04-10 Andreas Jaeger <aj@suse.de>
40398 * manual/time.texi (Processor Time): Return type of times is
40399 elapsed real time since an arbitrary point in the past.
40400 (CPU Time): Move CLK_TCK from here...
40401 (Processor Time): ...to here. Correct description.
40402 * manual/conf.texi (Constants for Sysconf): Correct description of
40405 2012-04-10 David S. Miller <davem@davemloft.net>
40408 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40409 where the is a gap between DT_REL(A) and DT_JMPREL.
40411 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40413 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40414 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40415 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40417 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40419 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40420 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40421 (dl_main): Handle --inhibit-cache.
40422 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40424 * elf/dl-load.c (_dl_map_object): Use it.
40425 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40427 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40430 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40431 (__ieee754_powl): Saturate large exponents rather than testing for
40432 overflow of y*log2(x).
40433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40434 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40438 * math/s_ctan.c: Include <float.h>.
40439 (__ctan): Avoid internal overflow or cancellation in calculating
40441 * math/s_ctanf.c: Likewise.
40442 * math/s_ctanl.c: Likewise.
40443 * math/s_ctanh.c: Likewise.
40444 * math/s_ctanhf.c: Likewise.
40445 * math/s_ctanhl.c: Likewise.
40446 * math/libm-test.inc (ctan_test): Add more tests.
40447 (ctanh_test): Likewise.
40448 * sysdeps/i386/fpu/libm-test-ulps: Update.
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40451 2012-04-09 Andreas Jaeger <aj@suse.de>
40454 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40455 is an optional BSD extension.
40458 * manual/stdio.texi (Opening Streams): Document additional fopen
40461 2012-04-09 Roland McGrath <roland@hack.frob.com>
40463 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40464 %eax without telling the compiler.
40466 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40469 * manual/install.texi: Use sourceware.org.
40471 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40474 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40475 (__ieee754_pow): Generate overflow and underflow using huge*huge
40476 and tiny*tiny rather than just returning constant infinity or zero
40477 for large exponents.
40478 * math/libm-test.inc (pow_test): Require overflow exceptions for
40479 applicable cases of large exponents.
40482 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40483 (__ieee754_pow): Use iterative multiplication algorithm only for
40484 integer exponents with absolute value below 1024. Check for odd
40485 integer exponents when using algorithm for real exponents.
40486 * math/libm-test.inc (pow_test): Add more tests.
40487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40489 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40492 * math/libm-test.inc (exp_test): Do not allow overflow exception
40495 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40498 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40499 instead of __kernel_standard_f.
40501 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40503 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40504 * sysdeps/x86_64/memset_chk.S: Likewise.
40506 2012-04-08 Andreas Jaeger <aj@suse.de>
40509 * manual/startup.texi (Environment Access): Describe return value
40510 for putenv and setenv.
40513 * manual/filesys.texi (Directory Entries): Add description for
40517 * manual/filesys.texi (Directory Entries): Clarify that it's file
40518 system not operating system in the description of DT_UNKNOWN.
40521 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40523 2012-04-08 Stephen Compall <s11@member.fsf.org>
40526 * manual/llio.texi (Opening and Closing Files): Add cross
40527 reference to explain mode argument.
40529 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40531 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40532 * sysdeps/x86_64/memset_chk.S: Likewise.
40534 2012-04-07 David S. Miller <davem@davemloft.net>
40536 * elf/elf.h (R_SPARC_WDISP10): Define.
40537 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40540 R_SPARC_SIZE64 and R_SPARC_H34.
40542 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40544 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40545 conditions and remove no longer applicable assertion.
40547 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40549 * bits/byteswap.h: Include <features.h>.
40550 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40551 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40553 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40555 * bits/byteswap.h (__bswap_16): Removed.
40556 Include <bits/byteswap-16.h> to get __bswap_16.
40557 * sysdeps/i386/bits/byteswap.h: Likewise.
40558 * sysdeps/s390/bits/byteswap.h: Likewise.
40559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40560 * bits/byteswap-16.h: New file.
40561 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40562 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40563 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40564 * string/Makefile (headers): Add bits/byteswap-16.h.
40566 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40569 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40571 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40572 * nss/tst-nss-static.c: New.
40574 2012-04-06 Robert Millan <rmh@gnu.org>
40577 * manual/llio.texi (File Position Primitive): lseek
40578 refers to WHENCE when it really means OFFSET.
40580 2012-04-06 Andreas Jaeger <aj@suse.de>
40582 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40583 strncmp declarations.
40585 * abilist/libc.abilist: Add __poll and __ppoll.
40587 2012-04-05 David S. Miller <davem@davemloft.net>
40589 * scripts/check-local-headers.sh: Accept a host triplet in the
40590 path matched by the exclude regexp.
40592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40594 * sysdeps/powerpc/powerpc32/dl-machine.h
40595 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40596 * sysdeps/s390/s390-32/dl-machine.h
40597 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40598 * sysdeps/sparc/sparc32/dl-machine.h
40599 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40600 * sysdeps/sparc/sparc64/dl-machine.h
40601 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40603 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40605 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40606 undefined symbol errors.
40608 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40611 2012-04-05 Michael Matz <matz@suse.de>
40614 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40616 2012-04-05 Andreas Jaeger <aj@suse.de>
40619 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40622 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40624 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40625 which ROUND is no valid rounding mode.
40627 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40629 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40631 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40633 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40635 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40636 an exception using FPU order intentionally.
40638 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40640 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40641 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40642 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40643 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40645 2012-04-05 Simon Josefsson <simon@josefsson.org>
40648 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40649 EINVAL when BUFLEN is too smal.
40651 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40654 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40655 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40657 2012-04-03 Andreas Jaeger <aj@suse.de>
40660 * manual/setjmp.texi (System V contexts): Fix sentence.
40663 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40664 New macro for this case.
40665 [!__GNUC__] (__bswap_64): New inline function for this case.
40666 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40667 * bits/byteswap.h: Likewise.
40668 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40669 ull, guard with __GLIBC_HAVE_LONG_LONG.
40671 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40672 __GLIBC_HAVE_LONG_LONG.
40674 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40675 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40677 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40680 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40681 inptr and inend, rather than using last_ch.
40683 2012-04-02 David S. Miller <davem@davemloft.net>
40685 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40686 * stdio-common/printf-parse.h (read_int): Change return type to
40687 'int', return -1 on INT_MAX overflow.
40688 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40689 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40690 overflows INT_MAX. Check for overflow of in-format-string precision
40691 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40692 SIZE_MAX not INT_MAX for integer overflow test.
40693 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40694 skip the construct in the format string but do not record anything.
40695 * stdio-common/bug22.c: Adjust to test both width/prevision
40696 INT_MAX overflow as well as total length INT_MAX overflow. Check
40697 explicitly for proper errno values.
40699 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40701 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40703 * string/test-strcmp.c [! WIDE]: Likewise.
40704 * time/tst-mktime2.c: Likewise for INT_MAX.
40705 * string/test-string.h: #include <sys/param.h> for MIN.
40707 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40708 * sysdeps/i386/init-first.c (init): Likewise.
40709 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40710 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40711 * sysdeps/sh/init-first.c (init): Likewise.
40713 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40715 * po/ru.po: Update from translation team.
40716 * po/vi.po: Likewise.
40718 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40720 * resolv/nss_dns/dns-host.c: Merge copyright years.
40722 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40724 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40725 Optimize memcpy with prefetch if
40726 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40727 src, dst pointers have unequal 16 byte alignments.
40729 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40732 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40733 from a CNAME entry and return the minimum ttl for the query.
40734 (gaih_getanswer_slice): Likewise.
40736 2012-03-30 Jeff Law <law@redhat.com>
40738 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40740 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40741 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40743 * resolv/nss_dns/dns-host.c: Update copyright year.
40745 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40747 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40748 requests to save a system call. Fix check that all bytes are sent.
40750 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40751 comments for sendmmsg.
40753 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40756 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40757 with only 1 character between 0x0041 and 0x01b0.
40758 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40759 * wcsmbs/tst-mbsnrtowcs.c: New file.
40761 2012-03-29 David S. Miller <davem@davemloft.net>
40763 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40764 small copies by hand.
40766 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40769 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40770 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40773 2012-03-28 David S. Miller <davem@davemloft.net>
40775 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40776 that branches into memcpy.
40777 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40778 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40779 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40780 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40783 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40784 implementation too.
40785 * sysdeps/sparc/mempcpy.S: New file.
40787 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40788 the IFUNC routine in the libc case.
40789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40791 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40792 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40793 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40794 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40795 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40796 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40797 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40798 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40800 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40801 loop to 256 bytes instead of 64 bytes and fix test signedness.
40803 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40804 * sysdeps/sparc/sparc32/Makefile: rather than here...
40805 * sysdeps/sparc/sparc64/Makefile: and here.
40807 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40809 * malloc/mallocbug.c: Avoid warnings about unused variables.
40811 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40814 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40815 in the right place. Discard and retry query if response is
40816 larger than input buffer size.
40818 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40823 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40824 x for large integer exponent.
40825 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40826 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40827 sign of result as needed afterwards.
40828 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40829 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40830 result for underflowing pow the same as for overflow.
40831 (__kernel_standard_l): Handle powl overflow and underflow here
40832 rather than calling __kernel_standard.
40833 * math/libm-test.inc (pow_test): Add more tests.
40848 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40849 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40850 (__kernel_standard_l): New function.
40851 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40853 * math/w_acosl.c (__acosl): Likewise.
40854 * math/w_asinl.c (__asinl): Likewise.
40855 * math/w_atan2l.c (__atan2l): Likewise.
40856 * math/w_atanhl.c (__atanhl): Likewise.
40857 * math/w_coshl.c (__coshl): Likewise.
40858 * math/w_exp10l.c (__exp10l): Likewise.
40859 * math/w_exp2l.c (__exp2l): Likewise.
40860 * math/w_fmodl.c (__fmodl): Likewise.
40861 * math/w_hypotl.c (__hypotl): Likewise.
40862 * math/w_j0l.c (__j0l, __y0l): Likewise.
40863 * math/w_j1l.c (__j1l, __y1l): Likewise.
40864 * math/w_jnl.c (__jnl, __ynl): Likewise.
40865 * math/w_lgammal.c (__lgammal): Likewise.
40866 * math/w_log10l.c (__log10l): Likewise.
40867 * math/w_log2l.c (__log2l): Likewise.
40868 * math/w_logl.c (__logl): Likewise.
40869 * math/w_powl.c (__powl): Likewise.
40870 * math/w_remainderl.c (__remainderl): Likewise.
40871 * math/w_scalbl.c (sysv_scalbl): Likewise.
40872 * math/w_sinhl.c (__sinhl): Likewise.
40873 * math/w_sqrtl.c (__sqrtl): Likewise.
40874 * math/w_tgammal.c (__tgammal): Likewise.
40875 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40876 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40877 * math/libm-test.inc (acos_test): Add more tests.
40878 (acosh_test): Likewise.
40879 (asin_test): Likewise.
40880 (atanh_test): Likewise.
40881 (exp_test): Likewise.
40882 (exp10_test): Likewise.
40883 (exp2_test): Likewise.
40884 (expm1_test): Likewise.
40885 (lgamma_test): Likewise.
40886 (log_test): Likewise.
40887 (log10_test): Likewise.
40888 (log1p_test): Likewise.
40889 (log2_test): Likewise.
40890 (pow_test): Do not allow some spurious overflow exceptions.
40891 (sqrt_test): Add more tests.
40892 (tgamma_test): Likewise.
40893 (y0_test): Likewise.
40894 (y1_test): Likewise.
40895 (yn_test): Likewise.
40897 2012-03-27 Anton Blanchard <anton@samba.org>
40899 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40901 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40902 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40903 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40905 2012-03-27 David S. Miller <davem@davemloft.net>
40907 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40909 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40910 have-as-vis3 check.
40912 2012-03-27 Andreas Jaeger <aj@suse.de>
40914 * sysdeps/x86_64/elf/configure.in: Moved to ...
40915 * sysdeps/x86_64/configure.in: ... here.
40916 * sysdeps/x86_64/elf/start.S: Moved to ...
40917 * sysdeps/x86_64/start.S: ... here.
40918 * sysdeps/x86_64/elf/configure: Delete.
40920 * sysdeps/x86_64/configure.in: Merge contents from
40921 sysdeps/i386/configure.in (without i686 check).
40923 * sysdeps/i386/elf/Versions: Merge into ...
40924 * sysdeps/i386/Versions: ... this.
40925 * sysdeps/i386/elf/Versions: Delete file.
40926 * sysdeps/i386/elf/start.S: Moved to ...
40927 * sysdeps/i386/start.S: ...here.
40928 * sysdeps/i386/elf/configure.in: Merge into...
40929 * sysdeps/i386/configure.in: ...here.
40930 * sysdeps/i386/elf/configure.in: Delete file.
40931 * sysdeps/i386/elf/configure: Delete file.
40933 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40934 * debug/backtracesyms.c: ... here.
40935 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40936 * debug/backtracesymsfd.c: ... here.
40937 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40938 * sysdeps/generic/ifunc-sel.h: ... here.
40940 * sysdeps/unix/i386/start.c: Delete file.
40941 * sysdeps/unix/sparc/start.c: Delete file.
40942 * sysdeps/unix/start.c: Delete file.
40944 * sysdeps/sh/elf/configure.in: Moved to ...
40945 * sysdeps/sh/configure.in: ... here.
40946 * sysdeps/sh/elf/start.S: Moved to ...
40947 * sysdeps/sh/start.S: ... here.
40948 * sysdeps/sh/elf/configure: Delete file.
40950 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40951 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40952 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40953 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40954 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40955 * sysdeps/powerpc/powerpc64/start.S: here.
40956 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40957 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40958 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40959 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40960 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40962 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40963 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40964 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40965 * sysdeps/powerpc/powerpc32/start.S: ... here.
40966 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40967 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40968 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40970 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40971 * sysdeps/powerpc/ifunc-sel.h: ... here.
40972 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40973 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40975 * sysdeps/sparc/elf/configure.in: Moved to ...
40976 * sysdeps/sparc/configure.in: ... here.
40977 * sysdeps/sparc/elf/configure: Delete file.
40978 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40979 * sysdeps/sparc/sparc32/start.S: ... here.
40980 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40981 * sysdeps/sparc/sparc64/start.S: ... here.
40982 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40983 * sysdeps/sparc/sparc32/Makefile: ... this.
40984 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40985 * sysdeps/sparc/sparc64/Makefile: ... this.
40987 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40988 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40989 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40990 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40991 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40992 * sysdeps/s390/s390-32/setjmp.S: ... here.
40993 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40994 * sysdeps/s390/s390-32/configure.in: ... here.
40995 * sysdeps/s390/s390-32/elf/configure: Delete file.
40996 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40997 * sysdeps/s390/s390-32/start.S: ... here.
40999 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41000 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41001 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41002 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41003 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41004 * sysdeps/s390/s390-64/setjmp.S: ... here.
41005 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41006 * sysdeps/s390/s390-64/configure.in: ... here
41007 * sysdeps/s390/s390-64/elf/configure: Delete file.
41008 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41009 * sysdeps/s390/s390-64/start.S: ... here.
41010 * sysdeps/s390/s390-64/elf/configure: Delete.
41012 * configure.in: Remove support for elf directories in sysdeps.
41014 * configure: Regenerated.
41015 * sysdeps/i386/configure: Regenerated.
41016 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41017 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41018 * sysdeps/s390/s390-32/configure: Regenerated.
41019 * sysdeps/s390/s390-64/configure: Regenerated.
41020 * sysdeps/sh/configure: Regenerated.
41021 * sysdeps/sparc/configure: Regenerated.
41022 * sysdeps/x86_64/configure: Regenerated.
41024 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41028 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41029 denormal result into account.
41031 2012-03-25 Roland McGrath <roland@hack.frob.com>
41033 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41034 Reported by Allan McRae <allan@archlinux.org>.
41036 2012-03-23 Jeff Law <law@redhat.com>
41038 * nss/getnssent.c (__nss_getent): Fix typo.
41040 2012-03-23 David S. Miller <davem@davemloft.net>
41042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41044 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41046 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41047 to pad to uint64_t for each field.
41048 (dl_tls_index): Replace unsigned long with uint64_t.
41050 2012-03-23 Daniel Jacobowitz <dmj@google.com>
41051 Paul Pluzhnikov <ppluzhnikov@google.com>
41054 * grp/Makefile (otherlibs): Don't set it.
41055 * inet/Makefile (otherlibs): Likewise.
41056 * login/Makefile (otherlibs): Likewise.
41057 * nscd/Makefile (otherlibs): Likewise.
41058 * posix/Makefile (otherlibs): Likewise.
41059 * pwd/Makefile (otherlibs): Likewise.
41060 * rt/Makefile (otherlibs): Likewise.
41061 * sunrpc/Makefile (otherlibs): Likewise.
41062 * nss/Makefile (otherlibs): Likewise.
41063 Add libnss_files to routines and static-only-routines.
41064 ($(objpfx)getent): Remove rule.
41065 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41066 static-only-routines.
41068 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41071 * math/s_cexp.c: Include <float.h>.
41072 (__cexp): Handle exp result overflowing not necessarily
41073 overflowing both real and imaginary parts of result.
41074 * math/s_cexpf.c: Likewise.
41075 * math/s_cexpl.c: Likewise.
41076 * math/libm-test.inc (cexp_test): Add more tests.
41077 * sysdeps/i386/fpu/libm-test-ulps: Update.
41078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41080 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41082 * include/link.h (ELFW): New macro.
41083 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41084 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41086 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41088 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41091 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41093 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41095 (struct La_x32_retval): Likewise.
41097 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41099 * sysdeps/x86_64/preconfigure.in: New file.
41100 * sysdeps/x86_64/preconfigure: New generated file.
41102 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41105 * math/e_exp2l.c: Include <float.h>.
41106 (__ieee754_exp2l): Handle overflow and underflow cases
41107 separately. Only pass fractional part of argument to
41109 * math/libm-test.inc (exp2_test): Add more tests.
41111 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41112 negating x to take absolute value.
41113 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41116 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41118 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41119 computing low part if x was negated.
41120 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41122 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41124 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41125 la_x32_gnu_pltexit.
41126 (pltexit): Cast int_retval to ptrdiff_t.
41127 * elf/tst-auditmod3b.c: Likewise.
41128 * elf/tst-auditmod4b.c: Likewise.
41129 * elf/tst-auditmod5b.c: Likewise.
41130 * elf/tst-auditmod6b.c: Likewise.
41131 * elf/tst-auditmod6c.c: Likewise.
41132 * elf/tst-auditmod7b.c: Likewise.
41134 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41135 and x32_gnu_pltexit.
41137 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41138 __ELF_NATIVE_CLASS.
41139 (La_x32_regs): New macro.
41140 (La_x32_retval): Likewise.
41141 (la_x32_gnu_pltenter): New function prototype.
41142 (la_x32_gnu_pltexit): Likewise.
41144 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41151 * configure.in (libc_cv_cc_nofma): Check for option to disable
41152 generation of FMA instructions.
41153 * configure: Regenerate.
41154 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41155 * sysdeps/ieee754/dbl-64/Makefile: New file.
41156 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41157 Remove brandred-fma4.
41158 (CFLAGS-brandred-fma4.c): Remove.
41159 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41160 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41162 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41165 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41167 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41168 LLONG_MAX != LONG_MAX.
41169 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41170 (_fitoa_word): Likewise.
41171 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41172 LLONG_MAX != LONG_MAX.
41173 * stdio-common/_itowa.h: Include <_itoa.h>.
41174 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41175 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41176 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41177 only if not defined.
41178 (_ITOA_WORD_TYPE): Likewise.
41179 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41180 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41182 2012-03-21 David S. Miller <davem@davemloft.net>
41184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41186 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41188 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41189 of x86_64 when setting libc_cv_slibdir, libdir and
41191 * sysdeps/unix/sysv/linux/configure: Regenerated.
41193 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41195 * manual/lang.texi (Old Varargs): Remove section.
41196 (How Variadic): Update menu.
41197 (va_start): Do not mention varargs.h.
41199 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41200 Joseph Myers <joseph@codesourcery.com>
41202 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41204 * configure: Regenerated.
41206 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41208 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41209 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41212 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41215 * Makefile (files-for-dist): Remove NOTES.
41216 (NOTES): Remove rule.
41217 * README: Don't refer to NOTES.
41218 * manual/creature.texi: Don't include macros.texi.
41219 * manual/intro.texi (creature.texi): Remove comment referring to
41222 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41223 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41224 * configure: Regenerated.
41225 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41226 LIBC_TRY_CC_OPTION.
41227 (libc_cv_as_i686): Likewise.
41228 (libc_cv_cc_avx): Likewise.
41229 (libc_cv_cc_sse2avx): Likewise.
41230 (libc_cv_cc_fma4): Likewise.
41231 (libc_cv_cc_novzeroupper): Likewise.
41232 * sysdeps/i386/configure: Regenerated.
41235 * sysdeps/i386/fpu/s_cexp.S: Remove.
41236 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41237 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41238 * math/libm-test.inc (cexp_test): Add more tests.
41239 * sysdeps/i386/fpu/libm-test-ulps: Update.
41240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41242 2012-03-21 Allan McRae <allan@archlinux.org>
41244 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41246 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41249 * math/w_exp2.c: Do not include <float.h>.
41250 (o_threshold, u_threshold): Remove.
41251 (__exp2): Calculate result before checking finiteness and calling
41253 * math/w_exp2f.c: Likewise.
41254 * math/w_exp2l.c: Likewise.
41255 * math/libm-test.inc (exp2_test): Require overflow exception for
41259 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41260 range of signed 64-bit integers before using fistpll. Remove
41261 checks for whether integers fit in mantissa bits.
41262 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41263 the range of signed 32-bit integers before using fistpl. Remove
41264 checks for whether integers fit in mantissa bits.
41265 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41266 (__ieee754_powl): Test for y outside the range of signed 64-bit
41267 integers before using fistpll. Reduce 64-bit values to 63-bit
41269 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41270 divide-by-zero is raised for zero to large negative powers.
41271 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41272 (__ieee754_powl): Test for y outside the range of signed 64-bit
41273 integers before using fistpll. Reduce 64-bit values to 63-bit
41275 * math/libm-test.inc (pow_test): Add more tests.
41277 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41279 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41280 <stdio-common/_itoa.h>.
41281 * debug/segfault.c: Likewise.
41282 * elf/dl-cache.c: Likewise.
41283 * elf/dl-minimal.c: Likewise.
41284 * elf/dl-misc.c: Likewise.
41285 * elf/dl-sysdep.c: Likewise.
41286 * elf/dl-version.c: Likewise.
41287 * elf/rtld.c: Likewise.
41288 * hurd/hurdsock.c: Likewise.
41289 * hurd/lookup-retry.c: Likewise.
41290 * malloc/malloc.c: Likewise.
41291 * malloc/mtrace.c: Likewise.
41292 * nscd/nscd_getgr_r.c: Likewise.
41293 * nscd/nscd_getpw_r.c: Likewise.
41294 * nscd/nscd_getserv_r.c: Likewise.
41295 * posix/getopt_init.c: Likewise.
41296 * posix/wordexp.c: Likewise.
41297 * stdio-common/_itoa.c: Likewise.
41298 * stdio-common/printf_fphex.c: Likewise.
41299 * stdio-common/vfprintf.c: Likewise.
41300 * string/_strerror.c: Likewise.
41301 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41302 * sysdeps/i386/i686/hp-timing.h: Likewise.
41303 * sysdeps/mach/_strerror.c: Likewise.
41304 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41305 * sysdeps/mach/hurd/sethostid.c: Likewise.
41306 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41307 * sysdeps/mach/xpg-strerror.c: Likewise.
41308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41309 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41310 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41311 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41312 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41313 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41314 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41315 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41316 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41317 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41318 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41319 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41320 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41321 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41322 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41323 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41324 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41325 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41326 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41327 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41328 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41330 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41332 * stdio-common/_itoa.h: Moved to ...
41333 * sysdeps/generic/_itoa.h: Here.
41335 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41337 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41338 instead of "_itoa.h" and "_itowa.h".
41339 * stdio-common/vfprintf.: Likewise.
41341 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41343 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41345 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41346 (__signbit): Likwise.
41347 (llrintf): Likwise.
41350 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41352 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41355 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41357 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41358 OVERFLOW_EXCEPTION_OK.
41359 * math/libm-test.inc ("Philosophy"): Update comment about
41361 (OVERFLOW_EXCEPTION): Define.
41362 (OVERFLOW_EXCEPTION_OK): Likewise.
41363 (INVALID_EXCEPTION_OK): Renumber.
41364 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41365 (IGNORE_ZERO_INF_SIGN): Likewise.
41366 (test_exceptions): Handle FE_OVERFLOW.
41367 (exp10_test): Expect overflow exceptions.
41368 (exp2_test): Likewise.
41369 (expm1_test): Likewise.
41370 (nextafter_test): Likewise.
41371 (pow_test): Likewise.
41372 (scalbn_test): Likewise.
41373 (scalbln_test): Likewise.
41375 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41377 * sysdeps/x86_64/bits/atomic.h
41378 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41380 (atomic_exchange_acq): Likewise.
41381 (__arch_exchange_and_add_body): Likewise.
41382 (__arch_add_body): Likewise.
41383 (atomic_add_negative): Likewise.
41384 (atomic_add_zero): Likewise.
41386 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41388 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41389 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41391 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41393 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41394 Check __x86_64__ instead of __WORDSIZE.
41396 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41398 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41400 2012-03-19 David S. Miller <davem@davemloft.net>
41402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41404 * sysdeps/sparc/fpu/fenv_private.h: New file.
41405 * sysdeps/sparc/fpu/math_private.h: Use it.
41406 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41408 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41409 (libc_feholdexcept_setroundl): Remove.
41410 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41412 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41413 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41415 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41417 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41418 int64_t instead of long int.
41419 (INSERT_WORDS64): Likwise.
41421 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41423 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41424 _Unwind_GetCFA return to _Unwind_Ptr first.
41426 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41429 * math/s_clog.c: Include <float.h>.
41430 (__clog): Scale large or subnormal inputs.
41431 * math/s_clogf.c: Likewise.
41432 * math/s_clogl.c: Likewise.
41433 * math/s_clog10.c: Include <float.h>.
41434 (M_LOG10_2): Define.
41435 (__clog10): Scale large or subnormal inputs.
41436 * math/s_clog10f.c: Likewise.
41437 * math/s_clog10l.c: Likewise.
41438 * math/libm-test.inc (clog_test): Add more tests.
41439 (clog10_test): Likewise.
41440 * sysdeps/i386/fpu/libm-test-ulps: Update.
41441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41444 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41446 * math/libm-test.inc (atan2_test): Add another test.
41448 * Makerules (common-objdir-compile): Remove.
41449 * sysdeps/unix/Makefile (config-generated): Do not add
41450 $(unix-generated) to variable.
41451 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41452 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41454 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41456 [generic bits/local_lim.h] (before-compile): Do not append to
41458 [generic bits/local_lim.h] (common-generated): Likewise.
41459 [generic sys/param.h] (before-compile): Do not append to variable.
41460 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41461 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41462 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41463 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41465 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41466 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41467 [generic sys/param.h] ($(addprefix
41468 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41469 [generic sys/param.h] (common-generated): Do not append to
41471 [generic sys/param.h] (sysdep_headers): Likewise.
41472 [generic bits/errno.h] (before-compile): Do not append to
41474 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41476 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41477 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41478 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41479 [generic bits/errno.h] (common-generated): Do not append to
41481 [generic bits/ioctls.h] (before-compile): Do not append to
41483 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41485 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41486 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41487 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41489 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41490 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41491 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41492 [generic bits/ioctls.h] (common-generated): Do not append to
41494 [generic sys/syscall.h] (syscall.h): Remove variable.
41495 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41497 [generic sys/syscall.h] (before-compile): Do not append to
41499 [generic sys/syscall.h] (common-generated): Likewise.
41500 * sysdeps/unix/errnos-tmpl.c: Remove file.
41501 * sysdeps/unix/errnos.awk: Likewise.
41502 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41503 * sysdeps/unix/ioctls.awk: Likewise.
41504 * sysdeps/unix/mk-local_lim.c: Likewise.
41505 * sysdeps/unix/snarf-ioctls: Likewise.
41507 2012-03-19 Richard Henderson <rth@twiddle.net>
41509 * sysdeps/i386/fpu/fenv_private.h: New file.
41510 * sysdeps/i386/fpu/math_private.h: Use it.
41511 (math_opt_barrier, math_force_eval): Remove.
41512 (libc_feholdexcept_setround_53bit): Remove.
41513 (libc_feupdateenv_53bit): Remove.
41514 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41515 (math_opt_barrier, math_force_eval): Remove.
41516 (libc_feholdexcept): Remove.
41517 (libc_feholdexcept_setround): Remove.
41518 (libc_fetestexcept, libc_fesetenv): Remove.
41519 (libc_feupdateenv_test): Remove.
41520 (libc_feupdateenv, libc_feholdsetround): Remove.
41521 (libc_feresetround): Remove.
41523 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41524 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41526 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41527 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41528 (libc_feupdateenv_testl): New.
41529 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41530 (libc_feupdateenv_testf): New.
41531 (libc_feupdateenv): Use libc_feupdateenv_test.
41532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41533 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41535 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41536 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41537 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41538 (libc_feresetround_noex): New.
41539 (libc_feresetround_noexf): New.
41540 (libc_feresetround_noexl): New.
41541 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41542 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41543 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41544 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41547 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41549 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41550 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41551 SET_RESTORE_ROUND_NOEX.
41552 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41553 SET_RESTORE_ROUND_NOEXF.
41554 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41555 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41556 (libc_feholdsetroundf): New.
41557 (libc_feresetround, libc_feresetroundf): New.
41559 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41560 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41561 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41563 * sysdeps/generic/math_private.h: Include <fenv.h>.
41564 (default_libc_feholdexcept): New.
41565 (default_libc_feholdexcept_setround): New.
41566 (default_libc_fesetenv, default_libc_feupdateenv): New.
41567 (libc_feholdexcept): Only define if undefined.
41568 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41569 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41570 (libc_feholdexcept_setroundl): Likewise.
41571 (libc_feholdexcept_setround_53bit): Likewise.
41572 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41573 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41574 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41575 (libc_feupdateenv_53bit): Likewise.
41576 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41577 (libc_feholdexcept): Convert from macro to inline function.
41578 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41579 (libc_fesetenv, libc_feupdateenv): Likewise.
41581 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41582 not previously defined.
41583 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41584 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41585 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41586 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41587 * sysdeps/ieee754/flt-32/math_private.h: New file.
41588 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41589 math_private.h below SET_FLOAT_WORD.
41590 (__isnan, __isinf_ns, __finite): Remove.
41591 (__isnanf, __isinf_nsf, __finitef): Remove.
41593 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41597 2012-03-17 David S. Miller <davem@davemloft.net>
41600 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41603 2012-03-16 David S. Miller <davem@davemloft.net>
41605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41609 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41611 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41612 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41613 sysdep_routines when subdir is sysvipc.
41614 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41615 __getshmlba helper.
41617 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41619 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41621 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41624 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41626 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41627 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41628 (__lround): Renamed to ...
41629 (__llround): This. Replace long int with long long int.
41630 Define lround functions as aliases of llround functions.
41631 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41633 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41635 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41636 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41637 adresses to uintptr_t. Replace "long int" and "unsigned long
41638 int" with "greg_t" on va_arg.
41640 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41642 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41643 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41645 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41646 Move e_machine check before EI_CLASS check. Handle x32
41647 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41648 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41649 SKIP_EM_IA_64 and include
41650 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41652 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41653 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41654 (add_system_dir): New macro.
41656 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41657 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41659 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41670 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41672 * math/w_j0f.c (j0f): Likewise.
41674 * math/w_j0l.c (__j0l): Likewise.
41676 * math/w_j1.c (j1): Likewise.
41678 * math/w_j1f.c (j1f): Likewise.
41680 * math/w_j1l.c (__j1l): Likewise.
41682 * math/w_jn.c (jn): Likewise.
41684 * math/w_jnf.c (jnf): Likewise.
41686 * math/w_jnl.c (__jnl): Likewise.
41688 * math/libm-test.inc (j0_test): Add more tests.
41689 (j1_test): Likewise.
41690 (jn_test): Likewise. Add trailing semicolon to existing test.
41691 (y0_test): Likewise.
41692 (y1_test): Likewise.
41693 * sysdeps/i386/fpu/libm-test-ulps: Update.
41694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41698 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41699 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41700 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41702 (__tanl): Set errno for infinite argument.
41703 * sysdeps/i386/fpu/mptan.c: Remove.
41704 * sysdeps/i386/fpu/s_tan.S: Likewise.
41705 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41706 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41707 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41708 * math/libm-test.inc (tan_test): Add more tests and enable more
41709 tests for double and long double.
41710 * sysdeps/i386/fpu/libm-test-ulps: Update.
41711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41713 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41715 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41716 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41718 2012-03-16 Roland McGrath <roland@hack.frob.com>
41720 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41721 * configure.in: Use it for both main tree and add-ons.
41722 * configure: Regenerated.
41724 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41726 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41728 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41730 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41734 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41735 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41736 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41737 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41738 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41740 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41741 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41742 != 0 for prec == 2.
41743 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41744 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41745 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41746 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41747 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41748 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41749 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41750 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41751 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41752 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41753 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41754 * math/libm-test.inc (cos_test): Add more tests and enable more
41755 tests for long double.
41756 (sin_test): Likewise.
41757 (sincos_test): Likewise.
41758 * sysdeps/i386/fpu/libm-test-ulps: Update.
41759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41761 2012-03-16 David S. Miller <davem@davemloft.net>
41763 * sysdeps/sparc/fpu/math_private.h: New file.
41765 2012-03-15 David S. Miller <davem@davemloft.net>
41767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41777 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41781 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41782 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41784 * sysdeps/sparc/sparc-ifunc.h: New file.
41785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41811 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41814 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41815 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41816 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41817 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41818 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41819 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41823 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41824 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41825 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41826 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41827 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41828 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41830 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41832 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41836 2012-03-15 Andreas Jaeger <aj@suse.de>
41839 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41840 ieee754/flt-32 implementation for sin, cos and sincos.
41841 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41842 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41843 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41844 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41845 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41846 ieee754/flt-32 implementation for tan.
41848 * math/libm-test.inc (cos_test): Enable some large input tests for
41850 (sin_test): Likewise.
41851 (sincos_test): Likewise.
41852 (tan_test): Add tests for large input.
41854 * sysdeps/i386/fpu/libm-test-ulps: Update.
41856 2012-03-15 Andreas Jaeger <aj@suse.de>
41859 * math/libm-test.inc (cos_test): Add more test cases.
41860 (sin_test): Likewise.
41861 (sincos_test): Likewise.
41863 2012-03-15 Andreas Jaeger <aj@suse.de>
41866 * math/libm-test.inc (cos_test): Add a test case for large input
41868 (sin_test): Likewise.
41869 (sincos_test): Likewise.
41871 2012-03-15 Andreas Jaeger <aj@suse.de>
41872 Joseph Myers <joseph@codesourcery.com>
41875 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41876 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41877 * sysdeps/i386/fpu/branred.c: Likewise.
41878 * sysdeps/i386/fpu/dosincos.c: Likewise.
41879 * sysdeps/i386/fpu/mpa.c: Likewise.
41880 * sysdeps/i386/fpu/s_cos.S: Likewise.
41881 * sysdeps/i386/fpu/s_sin.S: Likewise.
41882 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41883 * sysdeps/i386/fpu/sincos32.c: Likewise.
41885 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41887 (libc_feupdateenv_53bit): Define.
41888 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41890 (libc_feupdateenv_53bit): Define.
41892 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41893 53 bit (without extend i386 double precision).
41895 * math/libm-test.inc (sincos_test): Add tests for large input.
41899 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41901 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41905 2012-03-15 David S. Miller <davem@davemloft.net>
41907 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41908 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41909 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41910 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41935 fmin/fmax sysdep routines.
41936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41938 2012-03-14 David S. Miller <davem@davemloft.net>
41940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41941 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41942 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41944 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41945 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41946 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41947 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41953 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41954 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41955 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41956 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41957 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41958 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41959 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41960 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41961 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41962 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41963 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41964 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41965 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
42000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
42003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
42006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
42009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42012 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42017 * sysdeps/sparc/configure.in: New file.
42018 * sysdeps/sparc/configure: Generate.
42019 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42020 * configure: Regenerate.
42021 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42022 * config.make.in (have-as-vis3): New.
42023 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42024 available use -Av9d instead of -Av9a.
42025 * sysdeps/sparc/sparc64/Makefile: Likewise.
42026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
42027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42036 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42037 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42038 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42039 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42041 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42042 fzeros/fnegs to load 0x80000000 into a float register instead of
42044 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42046 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42050 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42051 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42052 ($(inst_includedir)/bits/syscall.h): Remove rule.
42053 ($(objpfx)bits/syscall.d): Include instead of
42054 $(objpfx)syscall-list.d.
42055 (generated): Change syscall-list.h and syscall-list.d to
42056 bits/syscall.h and bits/syscall.d.
42058 2012-03-14 Roland McGrath <roland@hack.frob.com>
42061 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42063 2012-03-14 Joseph Myers <joseph@codesourcery.com>
42066 * math/s_csqrt.c: Include <float.h>.
42067 (__csqrt): Scale large or subnormal inputs.
42068 * math/s_csqrtf.c: Likewise.
42069 * math/s_csqrtl.c: Likewise.
42070 * math/libm-test.inc (csqrt_test): Add more tests.
42071 * sysdeps/i386/fpu/libm-test-ulps: Update.
42072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42075 * math/libm-test.inc (hypot_test): Add more tests.
42077 2012-03-13 David S. Miller <davem@davemloft.net>
42080 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42081 double-precision for the calculation instead of scaling.
42083 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42085 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42086 manipulate bits before adding and subtracting TWO52[sx].
42087 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42092 2012-03-13 David S. Miller <davem@davemloft.net>
42094 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42095 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42096 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42097 rtld-global-offsets.h
42098 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42100 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42103 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42105 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42106 'err' in the ifdef scope in which it is actually used.
42108 * nss/nss_db/db-init.c: Include string.h
42110 2012-03-12 David S. Miller <davem@davemloft.net>
42112 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42113 masking out of the most significant byte of random value used.
42114 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42115 Fix coding style in previous change.
42117 * sysdeps/unix/sysv/linux/kernel-features.h
42118 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42119 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42121 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42124 2012-03-11 David S. Miller <davem@davemloft.net>
42126 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42127 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42128 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42129 for 'resultvar' otherwise things get truncated on 64-bit.
42131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42132 Fix masking out of the most significant byte of random value used.
42134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42136 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42140 2012-03-09 David S. Miller <davem@davemloft.net>
42142 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42143 variables with appropriate CPP guards.
42144 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42145 from the frame pointer, not the stack pointer. Correct layout
42146 comments. Fix test on resulting framesize and the management of
42147 the outregs buffer for pltexit. Preserve floating point return
42148 values across _dl_call_pltexit call.
42149 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42150 framesize and the management of the outregs buffer for pltexit.
42151 Preserve floating point return values across _dl_call_pltexit
42153 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42154 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42155 (la_sparc64_gnu_pltexit): New functions.
42156 (print_exit): Fix format string for return register value.
42158 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42160 * sunrpc/Makefile (others): Add rpcgen.
42161 ($(objpfx)rpcgen): Remove special build rule and dependency on
42163 * sunrpc/rpcgen.c: New file.
42165 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42168 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42169 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42170 * sysdeps/i386/crti.S: Likewise.
42171 * sysdeps/i386/crtn.S: Likewise.
42172 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42173 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42174 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42175 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42176 * sysdeps/sh/crti.S: Likewise.
42177 * sysdeps/sh/crtn.S: Likewise.
42178 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42181 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42183 * locale/programs/locfile-kw.gperf: Likewise.
42184 * locale/programs/charmap-kw.h: Regenerated.
42185 * locale/programs/locfile-kw.h: Likewise.
42188 * intl/plural.y: Replace FSF snail mail address with URL.
42189 * intl/plural.c: Regenerated.
42191 2012-03-09 Richard Henderson <rth@twiddle.net>
42193 * include/math_private.h: Remove file.
42194 * math/math_private.h: Move file ...
42195 * sysdeps/generic/math_private.h: ... here.
42197 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42198 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42199 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42201 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42202 and <math_private.h>.
42203 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42204 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42205 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42206 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42207 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42212 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42219 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42220 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42222 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42223 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42224 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42225 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42227 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42228 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42229 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42230 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42231 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42232 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42233 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42234 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42235 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42236 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42237 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42238 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42239 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42240 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42241 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42242 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42243 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42244 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42245 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42246 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42247 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42248 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42249 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42250 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42251 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42252 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42253 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42254 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42255 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42256 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42257 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42258 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42259 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42260 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42261 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42262 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42263 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42264 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42265 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42266 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42267 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42268 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42269 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42270 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42271 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42272 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42273 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42274 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42277 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42280 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42281 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42282 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42283 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42284 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42285 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42286 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42287 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42288 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42290 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42291 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42292 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42293 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42294 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42295 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42296 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42297 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42298 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42299 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42300 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42301 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42302 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42303 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42304 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42305 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42306 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42308 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42309 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42310 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42311 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42312 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42313 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42314 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42315 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42316 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42317 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42318 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42319 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42320 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42321 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42322 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42323 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42324 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42325 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42326 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42327 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42328 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42329 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42330 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42331 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42332 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42333 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42334 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42335 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42336 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42337 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42338 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42339 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42340 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42341 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42342 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42343 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42344 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42345 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42346 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42347 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42348 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42349 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42350 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42351 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42352 * sysdeps/ieee754/k_standard.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42403 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42404 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42405 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42420 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42421 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42446 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42468 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42470 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42471 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42472 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42473 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42475 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42479 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42480 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42485 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42488 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42492 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42494 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42496 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42497 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42498 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42499 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42501 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42502 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42503 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42504 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42505 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42506 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42507 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42508 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42512 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42513 * sysdeps/ieee754/s_lib_version.c: Likewise.
42514 * sysdeps/ieee754/s_matherr.c: Likewise.
42515 * sysdeps/ieee754/s_signgam.c: Likewise.
42516 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42517 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42518 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42519 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42520 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42521 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42522 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42523 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42524 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42525 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42526 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42527 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42528 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42529 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42530 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42531 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42532 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42533 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42534 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42535 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42536 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42538 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42540 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42541 * sunrpc/rpc_main.c: Likewise.
42542 * sunrpc/rpc_svcout.c: Likewise.
42544 2012-03-09 David S. Miller <davem@davemloft.net>
42546 * include/math_private.h: New file.
42548 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42550 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42551 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42552 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42553 from <bits/socket_type.h>.
42554 (enum __socket_type): Don't define here.
42555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42557 bits/socket_type.h.
42560 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42561 checking __USE_GNU.
42563 * Makerules ($(inst_includedir)/%.h): New rule.
42564 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42565 (install-others): Remove variable setting.
42566 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42568 2012-03-08 Richard Henderson <rth@twiddle.net>
42570 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42571 from macro to inline function; merge with the
42572 !__LIBC_INTERNAL_MATH_INLINES version.
42573 (__ieee754_sqrtf): Likewise.
42575 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42576 to inline function.
42577 (__rintf, __floor, __floorf): Likewise.
42579 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42580 macro to inline function.
42581 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42583 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42584 not <math/math_private.h>.
42586 2012-03-08 David S. Miller <davem@davemloft.net>
42588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42590 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42592 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42594 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42596 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42597 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42599 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42601 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42602 be defined individually, they must be defined as a block. Define
42603 S for printing a string instead of hidint the different by using a
42604 macro for adding the 'l'.
42605 * stdio-common/tst-fphex-wide.c: Adjust.
42607 2012-03-07 Marek Polacek <polacek@redhat.com>
42609 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42611 2012-03-08 Marek Polacek <polacek@redhat.com>
42614 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42615 * stdio-common/tst-fphex.c: Define a few macros to make the
42616 test reusable. Use them.
42617 * stdio-common/tst-fphex-wide.c: New file.
42619 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42622 * manual/macros.texi (gnusystems): New macro.
42623 (nongnusystems): Likewise.
42624 (gnulinuxhurdsystems): Likewise.
42625 (gnuhurdsystems): Likewise..
42626 (gnulinuxsystems): Likewise.
42627 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42628 variants of the GNU system, not "GNU system".
42629 * manual/conf.texi: Likewise.
42630 * manual/errno.texi: Likewise. Update example of errno macro
42632 * manual/filesys.texi: Likewise.
42633 (getumask): Document as specific to GNU/Hurd.
42634 * manual/install.texi: Likewise. Reword some references to
42636 * manual/intro.texi: Likewise.
42637 * manual/io.texi: Likewise.
42638 (File Name Portability): Detail which constraints are inapplicable
42639 to all GNU systems and which are only inapplicable to GNU/Hurd.
42640 * manual/job.texi: Likewise.
42641 * manual/llio.texi: Likewise.
42642 (O_NOCTTY): Document as present on GNU/Linux.
42643 * manual/maint.texi: Likewise.
42644 * manual/memory.texi: Likewise.
42645 * manual/pattern.texi: Likewise.
42646 * manual/pipe.texi: Likewise.
42647 * manual/process.texi: Likewise.
42648 * manual/resource.texi: Likewise.
42649 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42651 * manual/setjmp.texi: Likewise.
42652 * manual/signal.texi: Likewise.
42653 * manual/startup.texi: Likewise.
42654 * manual/stdio.texi: Likewise.
42655 * manual/terminal.texi: Likewise.
42656 (ONLCR): Document as POSIX.
42657 (OXTABS): Document availability on GNU/Linux as XTABS.
42658 (ONOEOT): Document availability separately from other bits.
42659 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42660 * manual/time.texi: Likewise.
42661 * manual/users.texi: Likewise.
42662 * INSTALL: Regenerated.
42663 * sysdeps/gnu/errlist.c: Regenerated.
42665 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42666 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42667 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42669 * configure: Regenerated.
42671 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42673 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42674 default includes instead of AC_HEADER_CHECK.
42675 * sysdeps/i386/configure: Regenerated.
42678 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42679 * math/s_cacoshf.c (__cacoshf): Likewise.
42680 * math/s_cacoshl.c (__cacoshl): Likewise.
42681 * math/s_casinh.c (__casinh): Set signs of result from argument.
42682 * math/s_casinhf.c (__casinhf): Likewise.
42683 * math/s_casinhl.c (__casinhl): Likewise.
42684 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42685 (casinh_test): Add more tests.
42686 * sysdeps/i386/fpu/libm-test-ulps: Update.
42687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42689 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42691 * po/zh_TW.po: Update from translation team.
42693 * login/Makefile (distribute): Remove variable.
42694 * catgets/Makefile: Likewise.
42695 * mach/Makefile: Likewise.
42696 * malloc/Makefile: Likewise.
42697 * misc/Makefile: Likewise.
42698 * iconv/Makefile: Likewise.
42699 * nscd/Makefile: Likewise.
42700 * hurd/Makefile: Likewise.
42701 * manual/Makefile: Likewise.
42702 * locale/Makefile: Likewise.
42703 * intl/Makefile: Likewise.
42704 * conform/Makefile: Likewise.
42705 * nss/Makefile: Likewise.
42706 * time/Makefile: Likewise.
42707 * soft-fp/Makefile: Likewise.
42708 * dirent/Makefile: Likewise.
42709 * gmon/Makefile: Likewise.
42710 * po/Makefile: Likewise.
42711 * rt/Makefile: Likewise.
42712 * socket/Makefile: Likewise.
42713 * math/Makefile: Likewise.
42714 * signal/Makefile: Likewise.
42715 * debug/Makefile: Likewise.
42716 * elf/Makefile: Likewise.
42717 * timezone/Makefile: Likewise.
42718 * stdlib/Makefile: Likewise.
42719 * iconvdata/Makefile: Likewise.
42720 * sunrpc/Makefile: Likewise.
42721 * io/Makefile: Likewise.
42722 * argp/Makefile: Likewise.
42723 * inet/Makefile: Likewise.
42724 * hesiod/Makefile: Likewise.
42725 * grp/Makefile: Likewise.
42726 * csu/Makefile: Likewise.
42727 * wctype/Makefile: Likewise.
42728 * crypt/Makefile: Likewise.
42729 * libio/Makefile: Likewise.
42730 * string/Makefile: Likewise.
42731 * nis/Makefile: Likewise.
42732 * resolv/Makefile: Likewise.
42733 * stdio-common/Makefile: Likewise.
42734 * wcsmbs/Makefile: Likewise.
42735 * dlfcn/Makefile: Likewise.
42736 * posix/Makefile: Likewise.
42739 * timezone/Makefile: Don't install timezone files, just the programs
42742 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42744 * nss/databases.def: Add missing gshadow entry.
42746 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42748 2012-03-06 Marek Polacek <polacek@redhat.com>
42751 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42752 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42753 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42754 * stdio-common/tst-long-dbl-fphex.c: New file.
42756 2012-03-06 David S. Miller <davem@davemloft.net>
42758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42759 (set_obp_int): New function.
42760 (get_obp_int): New function.
42761 (__get_clockfreq_via_dev_openprom): Likewise.
42762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42763 Avoid unused variable warnings on 'val' and use builtin_expect.
42764 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42766 (INLINE_CLONE_SYSCALL): Likewise.
42768 2012-03-05 David S. Miller <davem@davemloft.net>
42770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42772 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42776 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42777 only for |x| >= 40.
42778 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42780 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42783 Replace gettimeofday with __vdso_gettimeofday.
42785 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42786 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42787 __vdso_clock_gettime and __vdso_getcpu.
42789 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42790 time with __vdso_time.
42792 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42794 * manual/lang.texi (size_t): Note types to which size_t may be
42795 equivalent with the GNU C Library, but do not describe when
42796 differences between them are significant.
42798 2012-03-05 Andreas Jaeger <aj@suse.de>
42800 * sysdeps/i386/fpu/libm-test-ulps: Update.
42802 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42805 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42806 (__ieee754_pow): Save and restore rounding mode and use
42807 round-to-nearest for main computations.
42808 * math/libm-test.inc (pow_test_tonearest): New function.
42809 (pow_test_towardzero): Likewise.
42810 (pow_test_downward): Likewise.
42811 (pow_test_upward): Likewise.
42812 (main): Call the new functions.
42813 * sysdeps/i386/fpu/libm-test-ulps: Update.
42814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42817 * math/libm-test.inc (cosh_test_tonearest): New function.
42818 (cosh_test_towardzero): Likewise.
42819 (cosh_test_downward): Likewise.
42820 (cosh_test_upward): Likewise.
42821 (sinh_test_tonearest): Likewise.
42822 (sinh_test_towardzero): Likewise.
42823 (sinh_test_downward): Likewise.
42824 (sinh_test_upward): Likewise.
42825 (main): Call the new functions.
42826 * sysdeps/i386/fpu/libm-test-ulps: Update.
42827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42829 2012-03-05 Tom de Vries <tom@codesourcery.com>
42831 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42832 default stack guard is set in last bytes.
42833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42835 2012-03-05 Kees Cook <keescook@chromium.org>
42837 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42840 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42841 possibly allocate from heap instead of stack.
42842 * stdio-common/bug-vfprintf-nargs.c: New file.
42843 * stdio-common/Makefile (tests): Add nargs overflow test.
42845 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42849 2012-03-03 Marek Polacek <polacek@redhat.com>
42851 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42852 * math/math_private.h: Likewise.
42853 * stdlib/tst-strtod.c: Likewise.
42854 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42855 * sysdeps/x86_64/bits/atomic.h: Likewise.
42857 2012-03-02 David S. Miller <davem@davemloft.net>
42859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42863 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42864 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42865 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42866 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42868 2012-03-02 Roland McGrath <roland@hack.frob.com>
42871 * manual/examples/README: New file, says the example source files
42872 can be used under GPL>=2.
42873 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42874 line containing just "*/".
42875 * manual/examples/add.c: Add copyright header (GPL>=2).
42876 * manual/examples/argp-ex1.c: Likewise.
42877 * manual/examples/argp-ex2.c: Likewise.
42878 * manual/examples/argp-ex3.c: Likewise.
42879 * manual/examples/argp-ex4.c: Likewise.
42880 * manual/examples/atexit.c: Likewise.
42881 * manual/examples/db.c: Likewise.
42882 * manual/examples/dir.c: Likewise.
42883 * manual/examples/dir2.c: Likewise.
42884 * manual/examples/execinfo.c: Likewise.
42885 * manual/examples/filecli.c: Likewise.
42886 * manual/examples/filesrv.c: Likewise.
42887 * manual/examples/fmtmsgexpl.c: Likewise.
42888 * manual/examples/genpass.c: Likewise.
42889 * manual/examples/inetcli.c: Likewise.
42890 * manual/examples/inetsrv.c: Likewise.
42891 * manual/examples/isockad.c: Likewise.
42892 * manual/examples/longopt.c: Likewise.
42893 * manual/examples/memopen.c: Likewise.
42894 * manual/examples/memstrm.c: Likewise.
42895 * manual/examples/mkfsock.c: Likewise.
42896 * manual/examples/mkisock.c: Likewise.
42897 * manual/examples/mygetpass.c: Likewise.
42898 * manual/examples/pipe.c: Likewise.
42899 * manual/examples/popen.c: Likewise.
42900 * manual/examples/rprintf.c: Likewise.
42901 * manual/examples/search.c: Likewise.
42902 * manual/examples/select.c: Likewise.
42903 * manual/examples/setjmp.c: Likewise.
42904 * manual/examples/sigh1.c: Likewise.
42905 * manual/examples/sigusr.c: Likewise.
42906 * manual/examples/stpcpy.c: Likewise.
42907 * manual/examples/strdupa.c: Likewise.
42908 * manual/examples/strftim.c: Likewise.
42909 * manual/examples/strncat.c: Likewise.
42910 * manual/examples/subopt.c: Likewise.
42911 * manual/examples/swapcontext.c: Likewise.
42912 * manual/examples/termios.c: Likewise.
42913 * manual/examples/testopt.c: Likewise.
42914 * manual/examples/testpass.c: Likewise.
42915 * manual/examples/timeval_subtract.c: Likewise.
42918 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42920 * manual/timeval_subtract.c.texi: ... here, new file.
42922 2012-03-02 David S. Miller <davem@davemloft.net>
42924 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42926 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42929 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42930 (__sin): Save and restore rounding mode and use round-to-nearest
42931 for all computations.
42932 (__cos): Save and restore rounding mode and use round-to-nearest
42933 for all computations.
42934 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42936 (tan): Save and restore rounding mode and use round-to-nearest for
42938 * math/libm-test.inc (cos_test_tonearest): New function.
42939 (cos_test_towardzero): Likewise.
42940 (cos_test_downward): Likewise.
42941 (cos_test_upward): Likewise.
42942 (sin_test_tonearest): Likewise.
42943 (sin_test_towardzero): Likewise.
42944 (sin_test_downward): Likewise.
42945 (sin_test_upward): Likewise.
42946 (tan_test_tonearest): Likewise.
42947 (tan_test_towardzero): Likewise.
42948 (tan_test_downward): Likewise.
42949 (tan_test_upward): Likewise.
42950 (main): Call the new functions.
42951 * sysdeps/i386/fpu/libm-test-ulps: Update.
42952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42955 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42956 small n, then large n, before computing and testing k+n.
42957 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42962 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42963 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42964 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42965 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42966 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42967 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42968 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42969 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42970 * math/libm-test.inc (scalbn_test): Add more tests.
42971 (scalbln_test): Likewise.
42973 * manual/filesys.texi (mode_t): Describe constraints on size and
42974 signedness, not exact equivalence to a particular type.
42976 (ino64_t): Likewise.
42978 (nlink_t): Likewise.
42979 (blkcnt_t): Likewise.
42980 (blkcnt64_t): Likewise.
42981 * manual/llio.texi (off_t): Likewise.
42984 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42985 (__ieee754_exp): Save and restore rounding mode and use
42986 round-to-nearest for all computations.
42987 * math/libm-test.inc (exp_test_tonearest): New function.
42988 (exp_test_towardzero): Likewise.
42989 (exp_test_downward): Likewise.
42990 (exp_test_upward): Likewise.
42991 (main): Call the new functions.
42992 * sysdeps/i386/fpu/libm-test-ulps: Update.
42993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42995 2012-03-01 Chris Demetriou <cgd@google.com>
42997 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42998 have predictable order.
43000 2012-03-01 David S. Miller <davem@davemloft.net>
43002 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43004 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43005 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43006 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43007 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43009 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43010 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43011 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43013 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43014 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43015 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43016 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43017 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43021 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43022 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43023 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43025 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43026 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43027 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43028 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43029 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43030 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43031 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43032 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43033 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43034 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43035 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43036 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43037 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43038 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43039 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43040 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43041 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43042 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43043 * sysdeps/sparc/elf/configure: Regenerated.
43045 2012-03-01 Joseph Myers <joseph@codesourcery.com>
43047 * configure.in (AS, LD): Require binutils 2.20 or later.
43048 * configure: Regenerated.
43049 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43050 as required minimum version.
43051 * INSTALL: Regenerated.
43055 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43056 before squaring exponent.
43057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43058 bottom long double and 27 bits of top long double before squaring
43060 * math/libm-test.inc (erfc_test): Add more tests.
43061 * sysdeps/i386/fpu/libm-test-ulps: Update.
43062 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43065 2012-03-01 Kai Tietz <ktietz@redhat.com>
43067 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43068 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43069 containing bit-fields.
43070 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43071 * soft-fp/single.h (_FP_UNION_S): Likewise.
43072 * soft-fp/double.h (_FP_UNION_D): Likewise.
43074 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43077 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43078 not include ../strcmp.S.
43079 [USE_AS_STRNCASECMP_L]: Likewise.
43080 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43081 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43082 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43083 (__strncasecmp_l_ia32): Define as alias to
43084 __strncasecmp_l_nonascii.
43087 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43088 * sysdeps/i386/fpu/libm-test-ulps: Update.
43089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43091 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43094 2012-02-29 Jeff Law <law@redhat.com>
43096 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43097 out of bounds read.
43099 2012-02-29 Marek Polacek <polacek@redhat.com>
43102 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43103 * elf/Makefile: Add rules to run tst-unused-dep.out.
43105 2012-02-28 David S. Miller <davem@davemloft.net>
43107 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43108 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43109 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43110 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43111 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43112 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43114 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43116 * math/libm-test.inc (llround_test): Move one test from
43117 lround_test. Use TEST_f_L in moved test.
43118 (lround_test): Move misplaced test to llround_test. Add testcase
43121 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43123 * sysdeps/x86_64/fpu/e_expf.S: New file.
43124 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43126 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43129 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43130 of remain_len that may cause incomplete multi-byte character and
43132 * posix/bug-regex33.c: New file.
43133 * posix/Makefile (tests): Add bug-regex33.
43135 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43137 * manual/macros.texi: New file.
43138 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43139 * manual/libc.texinfo: Include macros.texi.
43140 * manual/creatute.texi: Likewise.
43141 * manual/install.texi: Likewise.
43142 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43143 @glibcadj{} in references to the GNU C Library.
43144 * manual/charset.texi: Likewise.
43145 * manual/conf.texi: Likewise.
43146 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43147 when not using those macros.
43148 * manual/creature.texi: Likewise.
43149 * manual/crypt.texi: Likewise.
43150 * manual/errno.texi: Likewise.
43151 * manual/filesys.texi: Likewise.
43152 * manual/header.texi: Likewise.
43153 * manual/install.texi: Likewise.
43154 * manual/intro.texi: Likewise.
43155 * manual/io.texi: Likewise.
43156 * manual/job.texi: Likewise.
43157 * manual/lang.texi: Likewise.
43158 * manual/libc.texiinfo: Likewise.
43159 * manual/llio.texi: Likewise.
43160 * manual/locale.texi: Likewise.
43161 * manual/maint.texi: Likewise.
43162 * manual/math.texi: Likewise.
43163 * manual/memory.texi: Likewise.
43164 * manual/message.texi: Likewise.
43165 * manual/nss.texi: Likewise.
43166 * manual/pattern.texi: Likewise.
43167 * manual/process.texi: Likewise.
43168 * manual/resource.texi: Likewise.
43169 * manual/search.texi: Likewise.
43170 * manual/setjmp.texi: Likewise.
43171 * manual/signal.texi: Likewise.
43172 * manual/socket.texi: Likewise.
43173 * manual/startup.texi: Likewise.
43174 * manual/stdio.texi: Likewise.
43175 * manual/string.texi: Likewise.
43176 * manual/sysinfo.texi: Likewise.
43177 * manual/syslog.texi: Likewise.
43178 * manual/terminal.texi: Likewise.
43179 * manual/time.texi: Likewise.
43180 * manual/users.texi: Likewise.
43181 * INSTALL: Regenerated.
43182 * NOTES: Regenerated.
43183 * sysdeps/gnu/errlist.c: Regenerated.
43185 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43187 * include/dirent.h: Include <dirstream.h> before
43190 2012-02-28 David S. Miller <davem@davemloft.net>
43192 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43193 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43194 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43195 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43197 2012-02-27 David S. Miller <davem@davemloft.net>
43199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43201 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43202 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43205 frame pointer instead of stack pointer relative arg slot.
43206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43207 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43208 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43210 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43213 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43215 2012-02-27 David S. Miller <davem@davemloft.net>
43217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43221 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43222 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43223 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43224 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43226 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43228 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43229 later. Allow versions 5-9.
43230 * configure: Regenerated.
43231 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43232 required minimum version and 4.6 as recommended version. Do not
43233 mention bugs in GCC 2.7 and 2.8.
43234 * INSTALL: Regenerated.
43236 2012-02-27 David S. Miller <davem@davemloft.net>
43238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43242 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43243 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43244 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43245 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43248 manipulate bits before adding and subtracting TWO112[sx].
43249 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43251 2012-02-27 Roland McGrath <roland@hack.frob.com>
43254 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43255 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43256 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43257 being in POSIX, because they are in 1003.1-2008.
43259 * rt/tst-aio.c: Include <fcntl.h>.
43260 * rt/tst-aio7.c: Likewise.
43261 * rt/tst-aio64.c: Likewise.
43263 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43265 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43267 * manual/install.texi (--with-headers): Describe headers as
43268 interface headers, not private headers.
43269 (Specific advice for GNU/Linux systems): Describe use of headers
43270 from "make headers_install", not private headers from older
43272 * INSTALL: Regenerated.
43273 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43275 * sysdeps/unix/sysv/linux/configure: Regenerated.
43277 * manual/llio.texi (fclean): Remove documentation.
43279 * manual/Makefile (libc-texi-generated): New variable. Include
43281 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43282 $(libc-texi-generated), not duplicated list of files.
43283 (version.texi, stamp-version): New rules.
43284 (realclean): Remove $(libc-texi-generated), not individual files
43285 from that list. Do not remove dir-add.texinfo.
43286 * manual/libc.texinfo: Comment out uses of edition numbers and
43287 references to printed manual. Remove last-updated dates.
43288 (EDITION): Comment out.
43290 (VERSION, UPDATED): Remove.
43291 (version.texi): Include.
43293 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43295 * sysdeps/posix/spawni.c: Include <signal.h>.
43296 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43297 * sysdeps/pthread/aio_fsync.c: Likewise.
43299 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43301 * conform/Makefile (tests): Run only when not cross-compiling and
43302 when fast-check is not defined.
43304 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43305 * conform/data/limits.h-data: Fixes for POSIX2008.
43306 * conform/run-conformtest.sh: Run all tests.
43307 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43309 * include/bits/dlfcn.h: Likewise.
43310 * include/langinfo.h: Likewise.
43311 * include/monetary.h: Likewise.
43312 * include/sys/poll.h: Likewise.
43314 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43316 * posix/spawn.h: Define __need_sigset_t.
43317 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43318 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43319 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43320 to get sigevent_t only.
43321 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43322 only for __USE_GNU.
43323 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43324 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43325 process_vm_writev only for __USE_GNU.
43326 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43328 * conform/Makefile: For now ignore errors from run-conformtest.
43329 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43330 POSIX to avoid namespace pollution. Don't prepend headers.
43331 * conform/data/aio.h-data: Fixes for POSIX testing.
43332 * conform/data/fcntl.h-data: Likewise.
43333 * conform/data/glob.h-data: Likewise.
43334 * conform/data/grp.h-data: Likewise.
43335 * conform/data/pthread.h-data: Likewise.
43336 * conform/data/pwd.h-data: Likewise.
43337 * conform/data/signal.h-data: Likewise.
43338 * conform/data/spawn.h-data: Likewise.
43339 * conform/data/stdio.h-data: Likewise.
43340 * conform/data/stdlib.h-data: Likewise.
43341 * conform/data/stropts.h-data: Likewise.
43342 * conform/data/sys/mman.h-data: Likewise.
43343 * conform/data/sys/stat.h-data: Likewise.
43344 * conform/data/sys/types.h-data: Likewise.
43345 * conform/data/sys/wait.h-data: Likewise.
43346 * conform/data/time.h-data: Likewise.
43347 * conform/data/unistd.h-data: Likewise.
43348 * conform/data/utime.h-data: Likewise.
43350 * io/sys/stat.h: fchmod was always in POSIX.
43351 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43352 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43353 * rt/aio.h: Define __need_timespec before including <time.h>.
43354 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43355 struct. Add forward declaration of pthread_attr_t and use it in
43357 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43359 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43360 always remove CLK_TCK definition.
43362 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43364 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43366 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43368 * conform/run-conformtest.sh: New file.
43369 * conform/Makefile: Run run-conformtest for tests.
43370 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43373 * conform/data/uchar.h-data: New file.
43374 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43375 * conform/data/arpa/inet.h-data: Likewise.
43376 * conform/data/assert.h-data: Likewise.
43377 * conform/data/complex.h-data: Likewise.
43378 * conform/data/cpio.h-data: Likewise.
43379 * conform/data/ctype.h-data: Likewise.
43380 * conform/data/dirent.h-data: Likewise.
43381 * conform/data/dlfcn.h-data: Likewise.
43382 * conform/data/errno.h-data: Likewise.
43383 * conform/data/fcntl.h-data: Likewise.
43384 * conform/data/float.h-data: Likewise.
43385 * conform/data/fmtmsg.h-data: Likewise.
43386 * conform/data/fnmatch.h-data: Likewise.
43387 * conform/data/ftw.h-data: Likewise.
43388 * conform/data/glob.h-data: Likewise.
43389 * conform/data/grp.h-data: Likewise.
43390 * conform/data/iconv.h-data: Likewise.
43391 * conform/data/inttypes.h-data: Likewise.
43392 * conform/data/langinfo.h-data: Likewise.
43393 * conform/data/libgen.h-data: Likewise.
43394 * conform/data/limits.h-data: Likewise.
43395 * conform/data/locale.h-data: Likewise.
43396 * conform/data/math.h-data: Likewise.
43397 * conform/data/monetary.h-data: Likewise.
43398 * conform/data/mqueue.h-data: Likewise.
43399 * conform/data/ndbm.h-data: Likewise.
43400 * conform/data/net/if.h-data: Likewise.
43401 * conform/data/netdb.h-data: Likewise.
43402 * conform/data/netinet/in.h-data: Likewise.
43403 * conform/data/nl_types.h-data: Likewise.
43404 * conform/data/poll.h-data: Likewise.
43405 * conform/data/pthread.h-data: Likewise.
43406 * conform/data/pwd.h-data: Likewise.
43407 * conform/data/regex.h-data: Likewise.
43408 * conform/data/sched.h-data: Likewise.
43409 * conform/data/search.h-data: Likewise.
43410 * conform/data/semaphore.h-data: Likewise.
43411 * conform/data/setjmp.h-data: Likewise.
43412 * conform/data/signal.h-data: Likewise.
43413 * conform/data/spawn.h-data: Likewise.
43414 * conform/data/stdarg.h-data: Likewise.
43415 * conform/data/stdio.h-data: Likewise.
43416 * conform/data/stdlib.h-data: Likewise.
43417 * conform/data/string.h-data: Likewise.
43418 * conform/data/strings.h-data: Likewise.
43419 * conform/data/stropts.h-data: Likewise.
43420 * conform/data/sys/ipc.h-data: Likewise.
43421 * conform/data/sys/mman.h-data: Likewise.
43422 * conform/data/sys/msg.h-data: Likewise.
43423 * conform/data/sys/resource.h-data: Likewise.
43424 * conform/data/sys/select.h-data: Likewise.
43425 * conform/data/sys/sem.h-data: Likewise.
43426 * conform/data/sys/shm.h-data: Likewise.
43427 * conform/data/sys/socket.h-data: Likewise.
43428 * conform/data/sys/stat.h-data: Likewise.
43429 * conform/data/sys/statvfs.h-data: Likewise.
43430 * conform/data/sys/time.h-data: Likewise.
43431 * conform/data/sys/timeb.h-data: Likewise.
43432 * conform/data/sys/times.h-data: Likewise.
43433 * conform/data/sys/types.h-data: Likewise.
43434 * conform/data/sys/uio.h-data: Likewise.
43435 * conform/data/sys/un.h-data: Likewise.
43436 * conform/data/sys/utsname.h-data: Likewise.
43437 * conform/data/sys/wait.h-data: Likewise.
43438 * conform/data/syslog.h-data: Likewise.
43439 * conform/data/tar.h-data: Likewise.
43440 * conform/data/termios.h-data: Likewise.
43441 * conform/data/utime.h-data: Likewise.
43442 * conform/data/utmpx.h-data: Likewise.
43443 * conform/data/varargs.h-data: Likewise.
43444 * conform/data/wchar.h-data: Likewise.
43445 * conform/data/wctype.h-data: Likewise.
43446 * conform/data/wordexp.h-data: Likewise.
43448 * include/stropts.h: New file.
43449 * include/uchar.h: New file.
43450 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43451 * include/assert.h: Likewise.
43452 * include/ctype.h: Likewise.
43453 * include/dirent.h: Likewise.
43454 * include/dlfcn.h: Likewise.
43455 * include/fcntl.h: Likewise.
43456 * include/fnmatch.h: Likewise.
43457 * include/glob.h: Likewise.
43458 * include/grp.h: Likewise.
43459 * include/libio.h: Likewise.
43460 * include/locale.h: Likewise.
43461 * include/math.h: Likewise.
43462 * include/net/if.h: Likewise.
43463 * include/netdb.h: Likewise.
43464 * include/netinet/in.h: Likewise.
43465 * include/pthread.h: Likewise.
43466 * include/pwd.h: Likewise.
43467 * include/regex.h: Likewise.
43468 * include/sched.h: Likewise.
43469 * include/search.h: Likewise.
43470 * include/setjmp.h: Likewise.
43471 * include/signal.h: Likewise.
43472 * include/stdio.h: Likewise.
43473 * include/stdlib.h: Likewise.
43474 * include/string.h: Likewise.
43475 * include/sys/cdefs.h: Likewise.
43476 * include/sys/mman.h: Likewise.
43477 * include/sys/msg.h: Likewise.
43478 * include/sys/resource.h: Likewise.
43479 * include/sys/select.h: Likewise.
43480 * include/sys/socket.h: Likewise.
43481 * include/sys/stat.h: Likewise.
43482 * include/sys/statvfs.h: Likewise.
43483 * include/sys/time.h: Likewise.
43484 * include/sys/times.h: Likewise.
43485 * include/sys/uio.h: Likewise.
43486 * include/sys/utsname.h: Likewise.
43487 * include/sys/wait.h: Likewise.
43488 * include/termios.h: Likewise.
43489 * include/time.h: Likewise.
43490 * include/ulimit.h: Likewise.
43491 * include/unistd.h: Likewise.
43492 * include/utime.h: Likewise.
43493 * include/wchar.h: Likewise.
43494 * include/wctype.h: Likewise.
43495 * include/wordexp.h: Likewise.
43497 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43499 * time/time.h: TIME_UTC must be a macro.
43500 Make timespec_get available for ISO C11 only as well.
43502 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43504 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43505 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43507 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43509 * configure.in: Use -o not -a in test for unsupported multi-arch.
43511 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43513 * manual/texinfo.tex: Update to version 2012-01-19.16.
43515 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43517 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43519 2012-02-24 Roland McGrath <roland@hack.frob.com>
43522 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43523 * manual/fdl-1.3.texi: New file.
43524 * manual/fdl-1.1.texi: File removed.
43527 * manual/libc.texinfo (FDL_VERSION): New @set.
43528 Use it for mention of FDL in cover text.
43529 (Documentation License): Use it in @include file name.
43531 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43532 Roland McGrath <roland@hack.frob.com>
43535 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43536 (not LONG_LONG_MAX and LONG_LONG_MIN.
43537 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43538 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43540 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43542 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43546 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43547 manipulate bits before adding and subtracting TWO23[sx].
43548 * math/libm-test.inc (nearbyint_test): Add more tests.
43550 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43553 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43554 bits before adding and subtracting TWO23[sx].
43555 * math/libm-test.inc (rint_test): Add more tests.
43556 (rint_test_tonearest): Likewise.
43557 (rint_test_towardzero): Likewise.
43558 (rint_test_downward): Likewise.
43559 (rint_test_upward: Likewise.
43561 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43564 * include/stdc-predef.h: New file. Extracted from features.h.
43565 * include/features.h: Include stdc-predef.h.
43566 * Makefile (headers): Add stdc-predef.h.
43567 * CONFORMANCE (Compiler limitations): Update.
43569 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43571 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43573 2012-02-21 David S. Miller <davem@davemloft.net>
43575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43576 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43578 2012-02-20 David S. Miller <davem@davemloft.net>
43580 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43581 using a normal save/restore sequence, rather than allocating a
43582 dummy stack frame just to store a frame pointer and restore.
43583 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43585 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43587 * manual/install.texi: Fix stray word in line-wrapped comment.
43589 2012-02-20 David S. Miller <davem@davemloft.net>
43591 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43592 both binutils and gcc support GOTDATA.
43594 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43595 "rd %pc" in the PIC register setup sequences.
43597 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43598 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43599 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43600 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43601 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43603 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43604 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43605 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43606 (SYSCALL_ERROR_HANDLER): Likewise.
43607 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43608 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43610 (SYSCALL_ERROR_HANDLER): Likewise.
43612 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43613 (HAVE_GCC_GOTDATA): New.
43614 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43615 relocation support in both binutils and gcc.
43616 * sysdeps/sparc/elf/configure: Regenerate.
43618 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43619 * sysdeps/sparc/sparc32/elf/configure: Delete.
43620 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43621 * sysdeps/sparc/sparc64/elf/configure: Delete.
43622 * sysdeps/sparc/elf/configure.in: New file.
43623 * sysdeps/sparc/elf/configure: Generate.
43625 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43626 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43627 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43628 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43629 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43631 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43633 * manual/install.texi: Do not mention specific glibc version
43635 * manual/libc.texinfo (VERSION, UPDATED): Update.
43636 (@copying): Use @copyright{} and range of years.
43638 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43641 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43642 [crti.S not in sysdirs] (generated): Do not append.
43643 [crti.S not in sysdirs] (omit-deps): Likewise.
43644 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43645 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43646 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43647 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43648 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43650 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43651 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43652 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43653 * csu/defs.awk: Remove file.
43654 * sysdeps/generic/initfini.c: Likewise.
43655 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43657 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43660 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43662 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43663 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43664 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43665 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43666 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43667 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43669 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43670 (__EPOLL_PACKED): Define to empty if not defined by
43672 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43673 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43676 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43678 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43679 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43680 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43681 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43683 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43687 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43689 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43691 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43692 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43693 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43696 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43698 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43699 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43701 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43703 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43704 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43706 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43708 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43711 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43713 * math/w_acos.c: Use non-signaling floating-point comparisons.
43714 * math/w_acosf.c: Likewise.
43715 * math/w_acosh.c: Likewise.
43716 * math/w_acoshf.c: Likewise.
43717 * math/w_acoshl.c: Likewise.
43718 * math/w_acosl.c: Likewise.
43719 * math/w_asin.c: Likewise.
43720 * math/w_asinf.c: Likewise.
43721 * math/w_asinl.c: Likewise.
43722 * math/w_atanh.c: Likewise.
43723 * math/w_atanhf.c: Likewise.
43724 * math/w_atanhl.c: Likewise.
43725 * math/w_exp2.c: Likewise.
43726 * math/w_exp2f.c: Likewise.
43727 * math/w_exp2l.c: Likewise.
43728 * math/w_j0.c: Likewise.
43729 * math/w_j0f.c: Likewise.
43730 * math/w_j0l.c: Likewise.
43731 * math/w_j1.c: Likewise.
43732 * math/w_j1f.c: Likewise.
43733 * math/w_j1l.c: Likewise.
43734 * math/w_jn.c: Likewise.
43735 * math/w_jnf.c: Likewise.
43736 * math/w_log.c: Likewise.
43737 * math/w_log10.c: Likewise.
43738 * math/w_log10f.c: Likewise.
43739 * math/w_log10l.c: Likewise.
43740 * math/w_log2.c: Likewise.
43741 * math/w_log2f.c: Likewise.
43742 * math/w_log2l.c: Likewise.
43743 * math/w_logf.c: Likewise.
43744 * math/w_logl.c: Likewise.
43745 * math/w_sqrt.c: Likewise.
43746 * math/w_sqrtf.c: Likewise.
43747 * math/w_sqrtl.c: Likewise.
43748 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43749 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43750 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43751 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43752 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43754 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43757 * manual/string.texi (strnlen): Use correct parameter name in
43758 equivalent expression.
43760 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43763 * manual/users.texi (seteuid): Consistently use neweuid for
43766 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43769 * manual/nss.texi (Services in the NSS configuration): Correct
43770 list of services in example configuration file.
43772 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43775 * manual/arith.texi: Remove statements about negative zero
43776 behaving identically to zero.
43778 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43781 * manual/install.texi: Do not document upgrading from libc5.
43783 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43786 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43788 2012-02-18 David S. Miller <davem@davemloft.net>
43790 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43791 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43792 %o7 across the call.
43793 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43795 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43796 SETUP_PIC_REG_LEAF.
43797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43798 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43799 * sysdeps/sparc/crtn.S: Likewise.
43801 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43803 * aout/Makefile: Remove.
43805 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43808 * manual/examples/argp-ex1.c (main): Format definition in GNU
43810 * manual/examples/argp-ex2.c (main): Likewise.
43811 * manual/examples/argp-ex3.c (main): Likewise.
43812 * manual/examples/argp-ex4.c (main): Likewise.
43813 * manual/examples/longopt.c (main): Use new-style prototype
43815 * manual/examples/strncat.c (main): Specify return type and use
43816 (void) for arguments.
43817 * manual/examples/subopt.c (main): Use char **argv argument.
43819 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43822 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43825 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43828 * manual/string.texi (strchr): Change when strchrnul is
43831 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43834 * manual/locale.texi (setlocale): Document LOCPATH.
43836 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43839 * manual/process.texi (execle): Move @dots{} before last argument.
43841 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43844 * manual/charset.texi (Generic Charset Conversion): Fix typo
43845 (LC_TYPE -> LC_CTYPE).
43847 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43850 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43851 (scalbnf): Likewise.
43852 (scalbnl): Likewise.
43853 (scalbln): Likewise.
43854 (scalblnf): Likewise.
43855 (scalblnl): Likewise.
43856 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43857 (vwarnx): Likewise.
43860 * manual/filesys.texi (telldir): Use braces around return type.
43861 * manual/llio.texi (mmap): Add space after comma.
43862 (mmap64): Likewise.
43863 * manual/math.texi (jn): Use @var{} on parameter names.
43869 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43871 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43873 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43874 (sched_get_priority_max): Likewise.
43875 * manual/signal.texi (sigvec): Add space after comma.
43876 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43878 (if_indextoname): Likewise.
43879 (if_freenameindex): Likewise.
43880 (sendto): Use ',' instead of '.' in prototype.
43881 * manual/startup.texi (syscall): Use @dots{} instead of literal
43883 * manual/stdio.texi (__fpending): Separate initial words of
43884 paragraph from @deftypefun line.
43885 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43887 (vsyslog): Use @var{} on parameter names.
43888 * manual/terminal.texi (stty): Use @var{} on parameter names.
43889 * manual/users.texi (getutmp): Use @var{} on parameter names.
43890 (getutmpx): Likewise.
43892 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43895 * manual/stdio.texi (fopen): Fix typos in description of
43898 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43901 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43902 get clock_id definition.
43904 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43907 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43908 (madvise): Cast every argument to void on its own.
43910 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43913 * manual/startup.texi (Exit Status): Fix typo.
43915 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43918 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43919 * manual/examples/argp-ex2.c: Likewise.
43920 * manual/examples/argp-ex3.c: Likewise.
43922 2012-02-16 Richard Henderson <rth@redhat.com>
43924 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43925 * sysdeps/s390/s390-32/initfini.c: Remove.
43926 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43927 * sysdeps/s390/s390-64/initfini.c: Remove.
43929 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43931 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43932 compiler output for sysdeps/generic/initfini.c.
43933 * sysdeps/sh/elf/initfini.c: Remove file.
43935 2012-02-16 David S. Miller <davem@davemloft.net>
43938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43940 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43941 * sysdeps/sparc/crti.S: New file.
43942 * sysdeps/sparc/crtn.S: New file.
43943 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43944 * sysdeps/sparc/sparc64/Makefile: Likewise.
43946 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43949 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43951 2012-02-15 Roland McGrath <roland@hack.frob.com>
43954 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43956 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43957 (write, read, close): Likewise.
43958 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43960 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43962 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43963 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43964 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43965 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43967 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43971 2012-02-14 Marek Polacek <polacek@redhat.com>
43973 * sysdeps/x86_64/crti.S: New file.
43974 * sysdeps/x86_64/crtn.S: New file.
43975 * sysdeps/x86_64/elf/initfini.c: Remove file.
43977 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43979 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43980 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43981 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43982 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43984 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43988 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43990 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43991 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43992 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43993 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43995 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43999 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44001 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44002 __feraiseexcept instead of feraiseexcept.
44004 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44005 nanosleep invocations.
44006 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44007 strings, and add error checking for a nanosleep invocations.
44009 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44011 Replace FSF snail mail address with URLs, as per GNU coding standards.
44012 Most of the snail mail addresses were wrong anyway, and omitting
44013 them makes the source code easier to maintain. Almost all of the
44014 changes are to license notices and to locale LC_IDENTIFICATION
44015 addresses, except for this one:
44016 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44017 not its snail mail address.
44019 2012-02-09 Richard Henderson <rth@twiddle.net>
44021 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44022 of kernel-features.h.
44024 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44026 2012-02-08 Marek Polacek <polacek@redhat.com>
44028 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44029 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44030 * sysdeps/gnu/_G_config.h: Likewise.
44031 * sysdeps/generic/_G_config.h: Likewise.
44033 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44035 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44039 * sysdeps/powerpc/powerpc32/crti.S: New file.
44040 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44041 * sysdeps/powerpc/powerpc64/crti.S: New file.
44042 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44044 * Makeconfig (have-initfini): Don't set.
44045 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44046 * configure.in (nopic_initfini): Don't substitute.
44047 * config.h.in (HAVE_INITFINI): Don't #undef.
44048 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44049 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44051 2012-02-08 Joseph Myers <joseph@codesourcery.com>
44053 Support crti.S and crtn.S provided directly by architectures.
44054 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44055 [crti.S in sysdirs] (omit-deps): Likewise.
44056 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44057 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44058 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44059 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44060 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44061 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44062 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44063 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44064 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44065 compiler output for sysdeps/generic/initfini.c.
44066 * sysdeps/i386/elf/Makefile: Remove file.
44067 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44069 2012-02-07 Marek Polacek <polacek@redhat.com>
44071 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44072 * sysdeps/gnu/_G_config.h: Likewise.
44073 * sysdeps/mach/hurd/_G_config.h: Likewise.
44075 2012-02-07 Marek Polacek <polacek@redhat.com>
44077 * math/Makefile (tests): Add tst-CMPLX2.
44078 * math/tst-CMPLX2.c: New file.
44080 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44082 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44084 * math/libm-test.inc (jn_test): Add missing L suffix.
44086 2012-02-06 Marek Polacek <polacek@redhat.com>
44088 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44089 * sysdeps/i386/fpu/e_powf.S: Likewise.
44090 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44091 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44092 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44093 * sysdeps/i386/fpu/e_pow.S: Likewise.
44094 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44095 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44096 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44097 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44098 * sysdeps/i386/fpu/e_log2.S: Likewise.
44099 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44100 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44101 * sysdeps/i386/fpu/e_powl.S: Likewise.
44102 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44103 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44104 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44105 * sysdeps/i386/fpu/e_logl.S: Likewise.
44106 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44107 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44108 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44109 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44110 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44111 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44112 * sysdeps/i386/fpu/e_log.S: Likewise.
44113 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44114 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44115 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44116 * sysdeps/i386/fpu/e_logf.S: Likewise.
44117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44118 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44119 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44120 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44121 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44122 * sysdeps/i386/fpu/e_log10.S: Likewise.
44123 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44124 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44125 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44126 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44127 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44128 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44129 * sysdeps/i386/asm-syntax.h: Likewise.
44130 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44131 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44132 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44133 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44134 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44135 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44136 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44137 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44138 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44139 * sysdeps/powerpc/sysdep.h: Likewise.
44140 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44141 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44143 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44146 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44148 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44150 * sysdeps/i386/sysdep.h: Include <features.h>.
44151 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44154 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44156 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44158 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44161 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44163 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44164 (SETUP_PIC_REG): Use GET_PC_THUNK.
44165 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44168 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44170 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44171 for non-PIC compilation.
44172 (SETUP_PIC_REG): Add .p2align directive.
44173 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44174 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44175 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44176 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44177 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44178 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44179 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44180 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44181 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44182 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44183 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44184 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44185 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44186 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44187 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44188 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44189 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44190 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44191 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44192 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44193 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44194 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44195 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44196 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44198 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44199 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44200 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44201 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44202 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44203 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44204 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44205 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44206 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44207 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44208 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44209 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44210 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44211 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44212 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44213 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44215 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44217 * math/tst-CMPLX.c: Include <stdio.h>.
44219 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44221 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44223 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44224 * sysdeps/sparc/bits/mathdef.h: Likewise.
44226 2012-01-31 Marek Polacek <polacek@redhat.com>
44228 * libio/libio.h: Don't define _PARAMS.
44229 * locale/programs/config.h: Don't define PARAMS.
44230 * stdlib/strtol_l.c: Likewise.
44231 (__strtol_l): Remove PARAMS from the prototype.
44233 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44235 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44236 names. Just use the correct names. Remove unnecessary wrapper
44238 * malloc/arena.c: Likewise.
44239 * malloc/hooks.c: Likewise.
44241 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44242 ARENA_TEST says not to. Simplify test for creation of a new arena.
44243 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44245 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44247 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44249 (update_get_addr): New function.
44250 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44251 GET_ADDR_MODULE parameter.
44253 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44255 * crypt/cert.c: Remove __STDC__ conditionals.
44256 * crypt/crypt-entry.c: Likewise.
44257 * crypt/crypt_util.c: Likewise.
44258 * libio/filedoalloc.c: Likewise.
44259 * libio/fileops.c: Likewise.
44260 * libio/genops.c: Likewise.
44261 * libio/iofclose.c: Likewise.
44262 * libio/iofdopen.c: Likewise.
44263 * libio/iofopen.c: Likewise.
44264 * libio/iofopen64.c: Likewise.
44265 * libio/iogetdelim.c: Likewise.
44266 * libio/iopopen.c: Likewise.
44267 * libio/obprintf.c: Likewise.
44268 * libio/oldfileops.c: Likewise.
44269 * libio/oldiofclose.c: Likewise.
44270 * libio/oldiofdopen.c: Likewise.
44271 * libio/oldiofopen.c: Likewise.
44272 * libio/oldiopopen.c: Likewise.
44273 * libio/wfiledoalloc.c: Likewise.
44274 * libio/wgenops.c: Likewise.
44275 * locale/programs/xmalloc.c: Likewise.
44276 * misc/syslog.c: Likewise.
44277 * stdio-common/xbug.c: Likewise.
44278 * string/memchr.c: Likewise.
44279 * string/memcmp.c: Likewise.
44280 * string/memrchr.c: Likewise.
44281 * string/rawmemchr.c: Likewise.
44282 * sysdeps/posix/getcwd.c: Likewise.
44283 * time/strftime_l.c: Likewise.
44285 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44287 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44288 * config.make.in (config-cflags-sse2avx): Define.
44289 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44292 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44294 * scripts/config.guess: Update from upstream config git repository.
44295 * scripts/config.sub: Likewise.
44297 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44299 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44301 (R_TILEPRO_*, R_TILEGX_*): New macros.
44303 * scripts/firstversions.awk: Fix bug in version range handling.
44305 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44307 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44309 * include/sys/epoll.h: New file.
44310 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44313 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44315 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44316 Avoid unnecessary __WORDSIZE == 64 test.
44317 (fmaxf): Use VEX format if possible.
44322 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44323 * math/math_private.h: Remove libc_fegetround* and
44325 * sysdeps/i386/configure.in: Check for -msse2avx.
44326 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44327 also if SSE2AVX is defined.
44328 Remove libc_fegetround* and libc_fesetround*.
44329 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44330 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44331 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44334 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44339 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44341 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44343 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44345 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44347 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44350 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44352 * Makeconfig (libm): Define.
44353 * elf/Makefile: Add rules to build and run tst-relsort1.
44354 * elf/tst-relsort1.c: New file.
44355 * elf/tst-relsort1mod1.c: New file.
44356 * elf/tst-relsort1mod2.c: New file.
44358 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44360 * math/s_ldexp.c: Remove __STDC__ conditionals.
44361 * math/s_ldexpf.c: Likewise.
44362 * math/s_ldexpl.c: Likewise.
44363 * math/s_nextafter.c: Likewise.
44364 * math/s_nexttowardf.c: Likewise.
44365 * math/s_significand.c: Likewise.
44366 * math/s_significandf.c: Likewise.
44367 * math/s_significandl.c: Likewise.
44368 * math/w_jnl.c: Likewise.
44369 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44370 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44371 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44372 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44373 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44374 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44375 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44376 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44377 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44378 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44379 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44380 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44381 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44382 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44383 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44384 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44385 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44386 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44388 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44389 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44390 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44391 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44392 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44393 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44394 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44395 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44396 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44397 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44398 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44399 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44400 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44401 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44402 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44403 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44404 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44405 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44406 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44407 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44408 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44409 * sysdeps/ieee754/k_standard.c: Likewise.
44410 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44411 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44412 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44413 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44414 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44415 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44416 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44417 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44418 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44419 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44420 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44421 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44422 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44423 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44424 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44425 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44426 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44427 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44428 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44429 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44432 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44433 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44434 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44435 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44436 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44437 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44438 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44439 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44440 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44441 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44442 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44443 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44444 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44445 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44446 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44447 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44448 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44449 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44450 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44451 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44452 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44453 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44454 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44455 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44456 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44457 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44458 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44459 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44460 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44461 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44462 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44463 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44464 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44465 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44466 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44467 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44468 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44469 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44470 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44471 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44472 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44473 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44474 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44475 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44476 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44477 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44478 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44479 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44480 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44481 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44482 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44483 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44484 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44485 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44486 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44487 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44488 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44489 * sysdeps/ieee754/s_matherr.c: Likewise.
44490 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44491 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44495 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44497 * crypt/md5.h: Remove __STDC__ conditionals.
44498 * libio/libioP.h: Likewise.
44499 * locale/programs/config.h: Likewise.
44500 * sysdeps/generic/sysdep.h: Likewise.
44501 * sysdeps/i386/asm-syntax.h: Likewise.
44502 * sysdeps/s390/asm-syntax.h: Likewise.
44503 * sysdeps/unix/sysdep.h: Likewise.
44504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44507 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44509 * libio/libio.h: Remove __STDC__ conditionals.
44510 * malloc/obstack.h: Likewise.
44511 * math/complex.h: Likewise.
44512 * math/math.h: Likewise.
44513 * sysdeps/generic/_G_config.h: Likewise.
44514 * sysdeps/gnu/_G_config.h: Likewise.
44515 * sysdeps/mach/hurd/_G_config.h: Likewise.
44516 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44517 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44518 * sysdeps/sparc/bits/mathdef.h: Likewise.
44520 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44523 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44524 Clean up HAS_* macros.
44525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44526 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44528 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44530 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44531 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44532 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44533 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44534 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44536 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44538 * elf/tst-unique3.cc (gets): Remove declaration.
44539 * elf/tst-unique3lib.cc (gets): Likewise.
44540 * elf/tst-unique3lib2.cc (gets): Likewise.
44541 * elf/tst-unique4.cc (gets): Likewise.
44543 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44545 * include/stdio.h: Add C++ protection. Add gets declarations and
44547 * debug/tst-chk1.c: Don't declare gets here.
44548 * stdio-common/tst-gets.c: Likewise.
44550 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44552 * posix/glob: Remove directory.
44554 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44556 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44558 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44560 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44561 of the non-standard EPFNOSUPPORT.
44563 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44565 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44566 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44567 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44569 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44571 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44573 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44575 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44577 * nscd/grpcache.c (cache_addgr): Likewise.
44578 * nscd/hstcache.c (cache_addhst): Likewise.
44579 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44580 * nscd/pwdcache.c (cache_addpw): Likewise.
44581 * nscd/servicescache.c (cache_addserv): Likewise.
44583 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44585 * malloc/malloc.c: Various cleanups.
44586 * malloc/hooks.c: Likewise.
44588 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44589 * stdlib/bug-fmtmsg1.c: New file.
44591 * stdlib/fmtmsg.c (init): Add missing unlock.
44592 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44594 2012-01-12 Marek Polacek <polacek@redhat.com>
44596 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44599 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44601 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44602 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44603 macro to ensure uniqueness of label name.
44604 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44605 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44607 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44611 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44612 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44613 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44614 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44616 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44618 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44620 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44621 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44622 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44624 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44626 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44627 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44628 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44631 * math/bits/math-finite.h: Add ldexp support.
44633 2012-01-10 Marek Polacek <polacek@redhat.com>
44635 * locale/programs/localedef.h (show_archive_content): Add noreturn
44638 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44640 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44642 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44644 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44646 * io/Makefile (headers): Add bits/poll2.h.
44648 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44651 typo #include statement.
44653 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44655 * include/sys/cdefs.h: Define __attribute_alloc_size.
44656 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44657 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44658 * elf/pldd.c: Likewise.
44659 * iconv/iconv_charmap.c: Likewise.
44660 * iconv/iconvconfig.c: Likewise.
44661 * iconv/strtab.c: Likewise.
44662 * locale/programs/locale.c: Likewise.
44663 * locale/programs/localedef.h: Likewise.
44664 * locale/programs/simple-hash.c: Likewise.
44665 * nscd/nscd.h: Likewise.
44666 * nss/makedb.c: Likewise.
44667 * sysdeps/generic/ldconfig.h: Likewise.
44668 * locale/programs/localedef.c: Remove xmalloc prototype.
44669 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44671 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44673 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44676 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44678 * math/Makefile (tests): Add tst-CMPLX.
44679 * math/tst-CMPLX.c: New file.
44681 * math/complex.h (CMPLXL): Fix typo.
44683 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44684 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44686 * debug/tst-chk1.c: Add poll and ppoll tests.
44687 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44688 * include/sys/poll.h: Add hidden proto for ppoll.
44689 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44690 * sysdeps/mach/hurd/ppoll.c: Likewise.
44691 * io/ppoll.c: Likewise.
44692 * debug/poll_chk.c: New file.
44693 * debug/ppoll_chk.c: New file.
44694 * include/bits/poll2.h: New file.
44695 * io/bits/poll2.h: New file.
44698 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44700 * configure.in: static is always set to yes. Remove.
44701 * config.make.in: Don't set build-static.
44702 * Makeconfig: Remove use of build-static.
44703 * dlfcn/Makefile: Likewise.
44704 * elf/Makefile: Likewise.
44705 * math/Makefile: Likewise.
44706 * misc/Makefile: Likewise.
44707 * nptl/Makefile: Likewise.
44708 * sysdeps/mach/hurd/Makefile: Likewise.
44710 * configure.in: PWD_P is not used anymore.
44711 * config.make.in: Remove PWD_P entry.
44713 * configure.in: Remove last remnants of RANLIB.
44714 No need to check for signed size_t anymore.
44715 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44717 Remove __builtin_expect test because we require at least gcc 3.4.
44718 * aclocal.m4: Likewise.
44720 * wcsmbs/mbrtoc16.c: Implement using towc function.
44721 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44722 * wcsmbs/wcsmbsload.c: Likewise.
44723 * iconv/gconv_simple.c: Likewise.
44724 * iconv/gconv_int.h: Likewise.
44725 * iconv/gconv_builtin.h: Likewise.
44726 * iconv/iconv_prog.c: Remove CHAR16 handling.
44728 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44730 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44732 * configure.in: Remove --with-elf and --enable-bounded options.
44733 Dont set base_machine for ia64. More non-ELF conditions removed.
44734 Remove testing and setting of leading underscore information.
44735 * config.make.in (build-bounded): Set to no.
44736 * config.h.in: Remove NO_UNDERSCORES entry.
44737 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44739 * csu/start.c: Remove !NO_UNDERSCORE code.
44740 * locale/localeinfo.h: Likewise.
44741 * sysdeps/generic/machine-gmon.h: Likewise.
44742 * sysdeps/generic/sysdep.h: Likewise.
44743 * sysdeps/i386/sysdep.h: Likewise.
44744 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44745 * sysdeps/mach/sysdep.h: Likewise.
44746 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44747 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44748 * sysdeps/sh/sysdep.h: Likewise.
44749 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44750 * sysdeps/unix/i386/sysdep.S: Likewise.
44751 * sysdeps/unix/sparc/start.c: Likewise.
44752 * sysdeps/unix/sparc/sysdep.S: Likewise.
44753 * sysdeps/unix/sparc/sysdep.h: Likewise.
44754 * sysdeps/unix/start.c: Likewise.
44755 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44756 * sysdeps/x86_64/sysdep.h: Likewise.
44758 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44761 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44763 * argp/argp-fmtstream.h: Use const instead __const.
44764 * argp/argp.h: Likewise.
44765 * assert/assert.h: Likewise.
44766 * bits/fenv.h: Likewise.
44767 * bits/sched.h: Likewise.
44768 * bits/sigset.h: Likewise.
44769 * bits/sigthread.h: Likewise.
44770 * catgets/nl_types.h: Likewise.
44771 * conform/data/pthread.h-data: Likewise.
44772 * crypt/crypt-private.h: Likewise.
44773 * crypt/crypt.h: Likewise.
44774 * crypt/crypt_util.c: Likewise.
44775 * ctype/ctype.h: Likewise.
44776 * debug/execinfo.h: Likewise.
44777 * debug/mbsnrtowcs_chk.c: Likewise.
44778 * debug/mbsrtowcs_chk.c: Likewise.
44779 * debug/wcsnrtombs_chk.c: Likewise.
44780 * debug/wcsrtombs_chk.c: Likewise.
44781 * debug/wcstombs_chk.c: Likewise.
44782 * dirent/dirent.h: Likewise.
44783 * dlfcn/dlfcn.h: Likewise.
44784 * elf/neededtest4.c: Likewise.
44785 * grp/grp.h: Likewise.
44786 * gshadow/gshadow.h: Likewise.
44787 * iconv/gconv.h: Likewise.
44788 * iconv/gconv_int.h: Likewise.
44789 * iconv/gconv_simple.c: Likewise.
44790 * iconv/iconv.h: Likewise.
44791 * iconv/loop.c: Likewise.
44792 * iconv/skeleton.c: Likewise.
44793 * include/aio.h: Likewise.
44794 * include/aliases.h: Likewise.
44795 * include/argz.h: Likewise.
44796 * include/arpa/inet.h: Likewise.
44797 * include/assert.h: Likewise.
44798 * include/dirent.h: Likewise.
44799 * include/dlfcn.h: Likewise.
44800 * include/execinfo.h: Likewise.
44801 * include/fcntl.h: Likewise.
44802 * include/fenv.h: Likewise.
44803 * include/glob.h: Likewise.
44804 * include/grp.h: Likewise.
44805 * include/libintl.h: Likewise.
44806 * include/mntent.h: Likewise.
44807 * include/netdb.h: Likewise.
44808 * include/pwd.h: Likewise.
44809 * include/rpc/netdb.h: Likewise.
44810 * include/sched.h: Likewise.
44811 * include/search.h: Likewise.
44812 * include/shadow.h: Likewise.
44813 * include/signal.h: Likewise.
44814 * include/stdio.h: Likewise.
44815 * include/stdlib.h: Likewise.
44816 * include/string.h: Likewise.
44817 * include/sys/socket.h: Likewise.
44818 * include/sys/stat.h: Likewise.
44819 * include/sys/statfs.h: Likewise.
44820 * include/sys/statvfs.h: Likewise.
44821 * include/sys/syslog.h: Likewise.
44822 * include/sys/time.h: Likewise.
44823 * include/sys/uio.h: Likewise.
44824 * include/time.h: Likewise.
44825 * include/unistd.h: Likewise.
44826 * include/utmp.h: Likewise.
44827 * include/wchar.h: Likewise.
44828 * include/wctype.h: Likewise.
44829 * inet/aliases.h: Likewise.
44830 * inet/arpa/inet.h: Likewise.
44831 * inet/netinet/ether.h: Likewise.
44832 * inet/netinet/in.h: Likewise.
44833 * intl/libintl.h: Likewise.
44834 * io/bits/fcntl2.h: Likewise.
44835 * io/fcntl.h: Likewise.
44836 * io/ftw.h: Likewise.
44837 * io/sys/poll.h: Likewise.
44838 * io/sys/stat.h: Likewise.
44839 * io/sys/statfs.h: Likewise.
44840 * io/sys/statvfs.h: Likewise.
44841 * io/utime.h: Likewise.
44842 * libio/bits/stdio.h: Likewise.
44843 * libio/bits/stdio2.h: Likewise.
44844 * libio/libio.h: Likewise.
44845 * libio/libioP.h: Likewise.
44846 * libio/stdio.h: Likewise.
44847 * locale/lc-ctype.c: Likewise.
44848 * locale/locale.h: Likewise.
44849 * login/utmp.h: Likewise.
44850 * malloc/arena.c: Likewise.
44851 * malloc/malloc.c: Likewise.
44852 * malloc/malloc.h: Likewise.
44853 * malloc/mcheck.c: Likewise.
44854 * malloc/mtrace.c: Likewise.
44855 * math/bits/mathcalls.h: Likewise.
44856 * math/fenv.h: Likewise.
44857 * math/math_private.h: Likewise.
44858 * misc/bits/error.h: Likewise.
44859 * misc/bits/syslog.h: Likewise.
44860 * misc/err.h: Likewise.
44861 * misc/error.h: Likewise.
44862 * misc/fstab.h: Likewise.
44863 * misc/mntent.h: Likewise.
44864 * misc/regexp.h: Likewise.
44865 * misc/search.h: Likewise.
44866 * misc/sgtty.h: Likewise.
44867 * misc/sys/mman.h: Likewise.
44868 * misc/sys/syslog.h: Likewise.
44869 * misc/sys/uio.h: Likewise.
44870 * misc/sys/xattr.h: Likewise.
44871 * misc/ttyent.h: Likewise.
44872 * nis/rpcsvc/ypclnt.h: Likewise.
44873 * nss/nss.h: Likewise.
44874 * posix/bits/unistd.h: Likewise.
44875 * posix/fnmatch.h: Likewise.
44876 * posix/glob.h: Likewise.
44877 * posix/sched.h: Likewise.
44878 * posix/spawn.h: Likewise.
44879 * posix/sys/wait.h: Likewise.
44880 * posix/unistd.h: Likewise.
44881 * posix/wordexp.h: Likewise.
44882 * pwd/pwd.h: Likewise.
44883 * resolv/netdb.h: Likewise.
44884 * resource/sys/resource.h: Likewise.
44885 * rt/aio.h: Likewise.
44886 * rt/bits/mqueue2.h: Likewise.
44887 * rt/mqueue.h: Likewise.
44888 * shadow/shadow.h: Likewise.
44889 * signal/signal.h: Likewise.
44890 * socket/send.c: Likewise.
44891 * socket/sendto.c: Likewise.
44892 * socket/sys/socket.h: Likewise.
44893 * stdio-common/printf.h: Likewise.
44894 * stdlib/bits/stdlib.h: Likewise.
44895 * stdlib/fmtmsg.h: Likewise.
44896 * stdlib/monetary.h: Likewise.
44897 * stdlib/stdlib.h: Likewise.
44898 * stdlib/ucontext.h: Likewise.
44899 * streams/stropts.h: Likewise.
44900 * string/argz.h: Likewise.
44901 * string/bits/string2.h: Likewise.
44902 * string/string.h: Likewise.
44903 * string/strings.h: Likewise.
44904 * sunrpc/rpc/auth.h: Likewise.
44905 * sunrpc/rpc/auth_des.h: Likewise.
44906 * sunrpc/rpc/clnt.h: Likewise.
44907 * sunrpc/rpc/netdb.h: Likewise.
44908 * sunrpc/rpc/pmap_clnt.h: Likewise.
44909 * sunrpc/rpc/xdr.h: Likewise.
44910 * sysdeps/generic/inttypes.h: Likewise.
44911 * sysdeps/generic/net/if.h: Likewise.
44912 * sysdeps/generic/sys/swap.h: Likewise.
44913 * sysdeps/gnu/net/if.h: Likewise.
44914 * sysdeps/gnu/utmpx.h: Likewise.
44915 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44916 * sysdeps/i386/i486/bits/string.h: Likewise.
44917 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44918 * sysdeps/s390/bits/string.h: Likewise.
44919 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44920 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44921 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44922 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44923 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44924 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44925 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44926 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44927 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44928 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44929 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44930 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44931 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44932 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44933 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44934 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44935 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44937 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44938 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44939 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44940 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44941 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44942 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44943 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44944 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44945 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44946 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44947 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44948 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44949 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44950 * sysvipc/sys/ipc.h: Likewise.
44951 * sysvipc/sys/msg.h: Likewise.
44952 * sysvipc/sys/sem.h: Likewise.
44953 * sysvipc/sys/shm.h: Likewise.
44954 * termios/termios.h: Likewise.
44955 * time/sys/time.h: Likewise.
44956 * time/time.h: Likewise.
44957 * wcsmbs/bits/wchar2.h: Likewise.
44958 * wcsmbs/uchar.h: Likewise.
44959 * wcsmbs/wchar.h: Likewise.
44960 * wctype/wctype.h: Likewise.
44963 * Makeconfig: Remove all but ELF support including AIX support.
44964 * Makerules: Likewise.
44965 * config.h.in: Likewise.
44966 * config.make.in: Likewise.
44967 * configure: Likewise.
44968 * configure.in: Likewise.
44969 * csu/Makefile: Likewise.
44970 * csu/version.c: Likewise.
44971 * debug/Makefile: Likewise.
44972 * dlfcn/Makefile: Likewise.
44973 * elf/Makefile: Likewise.
44974 * extra-lib.mk: Likewise.
44975 * iconv/Makefile: Likewise.
44976 * include/libc-symbols.h: Likewise.
44977 * include/shlib-compat.h: Likewise.
44978 * resolv/Makefile: Likewise.
44979 * resolv/res_libc.c: Likewise.
44980 * rt/Makefile: Likewise.
44981 * sysdeps/i386/asm-syntax.h: Likewise.
44982 * sysdeps/i386/sysdep.h: Likewise.
44983 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44984 * sysdeps/mach/sysdep.h: Likewise.
44985 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44986 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44987 * sysdeps/s390/asm-syntax.h: Likewise.
44988 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44989 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44990 * sysdeps/sh/sysdep.h: Likewise.
44991 * sysdeps/unix/sparc/sysdep.h: Likewise.
44992 * sysdeps/wordsize-32/divdi3.c: Likewise.
44993 * sysdeps/x86_64/sysdep.h: Likewise.
44995 * argp/Versions: Remove _argp_unlock_xxx.
44998 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44999 * abilist/libBrokenLocale.abilist: Likewise.
45000 * abilist/libanl.abilist: Likewise.
45001 * abilist/libc.abilist: Likewise.
45002 * abilist/libcrypt.abilist: Likewise.
45003 * abilist/libdl.abilist: Likewise.
45004 * abilist/libm.abilist: Likewise.
45005 * abilist/libnsl.abilist: Likewise.
45006 * abilist/libpthread.abilist: Likewise.
45007 * abilist/libresolv.abilist: Likewise.
45008 * abilist/librt.abilist: Likewise.
45009 * abilist/libthread_db.abilist: Likewise.
45010 * abilist/libutil.abilist: Likewise.
45011 * abilist/libnss_db.abilist: New file.
45013 * scripts/abilist.awk: Add support for indirect functions.
45015 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45017 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45019 * shlib-versions: Remove entries for ports architectures.
45021 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45023 * elf/stackguard-macros.h: Remove support for IA-64.
45024 * elf/tst-auditmod1.c: Likewise.
45025 * sysdeps/generic/ldsodefs.h: Likewise.
45027 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45028 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45032 * configure.in: Remove --enable-omitfp support.
45034 * config.make.in: Likewise.
45035 * Makeconfig: Likewise.
45036 * manual/install.texi: Likewise.
45038 In case anyone cares, the IA-64 architecture could move to ports.
45039 * sysdeps/ia64/*: Removed.
45040 * sysdeps/unix/sysv/linux/ia64/*: Removed.
45041 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
45044 * configure.in: Remove entries for unsupported architectures.
45047 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45048 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45050 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45051 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45052 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45053 fall back to using wcrtomb.
45054 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45055 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45057 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45058 * wcsmbs/tst-c16c32-1.c: New file.
45060 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45063 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45065 * elf/tst-unique3.cc: Add explicit declaration of gets.
45066 * elf/tst-unique3lib.cc: Likewise.
45067 * elf/tst-unique3lib2.cc: Likewise.
45068 * elf/tst-unique4.cc: Likewise.
45070 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45072 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45075 * assert/assert.h (static_assert): Don't define for C++.
45076 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45077 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45079 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45081 * iconv/loop.c (single loop): Fix assertion in storing of
45084 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45086 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45088 * posix/getconf.c: Update copyright year.
45089 * nss/getent.c: Likewise.
45090 * nss/makedb.c: Likewise.
45091 * iconv/iconvconfig.c: Likewise.
45092 * iconv/iconv_prog.c: Likewise.
45093 * elf/ldconfig.c: Likewise.
45094 * elf/pldd.c: Likewise.
45095 * elf/sotruss.ksh: Likewise.
45096 * catgets/gencat.c: Likewise.
45097 * csu/version.c: Likewise.
45098 * elf/ldd.bash.in: Likewise.
45099 * elf/sprof.c (print_version): Likewise.
45100 * locale/programs/locale.c: Likewise.
45101 * locale/programs/localedef.c: Likewise.
45102 * login/programs/pt_chown.c: Likewise.
45103 * nscd/nscd.c (print_version): Likewise.
45104 * debug/xtrace.sh: Likewise.
45105 * malloc/memusage.sh: Likewise.
45106 * malloc/mtrace.pl: Likewise.
45107 * debug/catchsegv.sh: Likewise.
45109 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45111 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45114 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45117 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45118 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45120 * iconv/gconv_int.h: Likewise.
45121 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45122 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45123 from libc for GLIBC_2.16.
45124 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45125 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45126 * wcsmbs/uchar.h: Really define mbstate_t.
45127 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45128 * wcsmbs/c16rtomb.c: New file.
45129 * wcsmbs/mbrtoc16.c: New file.
45130 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45131 for C/POSIX locale.
45132 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45133 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45135 * wcsmbs/wchar.h: Add missing __restrict.
45137 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45140 * time/Makefile (routines): Add timespec_get.
45141 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45142 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45143 timespec for ISO C11.
45144 * time/timespec_get.c: New file.
45145 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45146 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45149 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45150 * stdlib/stdlib.h: Declare aligned_alloc.
45151 * Versions.def: Add GLIBC_2.16 for libc.
45152 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45155 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45158 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45162 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45165 * assert/assert.h (static_assert): Define.
45167 * version.h: Update for 2.16 development version.
45170 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45173 * version.h (RELEASE): Bump for 2.15 release.
45174 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45176 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45177 Patch by Marek Polacek <mpolacek@redhat.com>.
45179 * bits/byteswap.h: Protect long long constants with __extension__.
45180 * sysdeps/i386/bits/byteswap.h: Likewise.
45181 * sysdeps/ia64/bits/byteswap.h: Likewise.
45182 * sysdeps/s390/bits/byteswap.h: Likewise.
45183 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45185 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45189 destination buffer.
45190 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45192 2011-12-23 Marek Polacek <polacek@redhat.com>
45194 * elf/dl-addr.c (determine_info): Add inline keyword.
45195 * elf/tst-auditmod4b.c (check_avx): Likewise.
45196 * elf/tst-auditmod6b.c (check_avx): Likewise.
45197 * elf/tst-auditmod6c.c (check_avx): Likewise.
45198 * elf/tst-auditmod7b.c (check_avx): Likewise.
45200 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45202 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45205 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45208 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45209 processing for last bytes.
45211 2011-08-06 Bruno Haible <bruno@clisp.org>
45214 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45215 U+0385, not to U+1FEE.
45218 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45219 entry for U+00A5 U+0301.
45221 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45224 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45225 buffer for the output is too small.
45227 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45231 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45232 SSE flags if possible.
45234 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45237 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45238 processing for last bytes.
45240 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45242 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45243 (syscall-list-default-options, syscall-list-default-condition)
45244 (syscall-list-includes): Define.
45245 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45246 list of ABIs and options and #if conditions for each ABI. Do not
45247 handle common syscalls between ABIs specially.
45248 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45250 (syscall-list-variants, syscall-list-32bit-options)
45251 (syscall-list-32bit-condition, syscall-list-64bit-options)
45252 (syscall-list-64bit-condition): Define.
45253 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45254 (syscall-list-variants, syscall-list-32bit-options)
45255 (syscall-list-32bit-condition, syscall-list-64bit-options)
45256 (syscall-list-64bit-condition): Define.
45257 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
45264 (syscall-list-variants, syscall-list-32bit-options)
45265 (syscall-list-32bit-condition, syscall-list-64bit-options)
45266 (syscall-list-64bit-condition): Define.
45268 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45270 * locale/iso-639.def: Add brx entry.
45273 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45274 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45276 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45277 __feraiseexcept_renamed.
45279 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45282 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45283 EPOLLET with unsigned values.
45284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45285 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45287 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45288 to large cancellation.
45289 * math/s_cacoshf.c: Likewise.
45290 * math/s_cacoshl.c: Likewise.
45292 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45296 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45297 * math/s_cacoshf.c: Likewise.
45298 * math/s_cacoshl.c: Likewise.
45300 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45303 * iconv/gconv.h: Define __GCONV_SWAP.
45304 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45305 * iconvdata/utf-16.c: Likewise.
45306 * iconvdata/utf-32.c: Likewise.
45308 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45311 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45312 numerator after shifting it by one limb.
45314 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45316 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45317 under [__USE_EXTERN_INLINES].
45319 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45322 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45324 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45326 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45327 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45329 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45330 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45331 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45332 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45333 for strncasecmp/strncasecmp_l compilation.
45334 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45335 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45337 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45340 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45343 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45346 * time/tzfile.c (__tzfile_read): Check values from file header.
45348 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45350 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45351 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45352 * powerpc/powerpc32/dl-start.S: Likewise.
45353 * powerpc/powerpc32/elf/start.S: Likewise.
45354 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45355 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45356 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45357 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45358 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45359 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45360 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45361 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45362 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45363 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45364 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45365 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45366 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45367 * powerpc/powerpc32/memset.S: Likewise.
45368 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45369 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45370 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45371 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45372 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45373 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45374 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45375 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45376 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45377 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45378 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45379 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45380 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45382 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45384 * math/libm-test.inc: Added more nearbyint tests.
45385 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45386 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45388 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45390 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45392 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45395 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45397 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45398 Add wcscpy-ssse3 wcscpy-c.
45399 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45400 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45401 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45402 * sysdeps/x86_64/wcschr.S: New file.
45403 * sysdeps/x86_64/wcsrchr.S: New file.
45404 * string/test-strcmp.c: Remove checking of wcscmp function for
45406 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45407 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45408 wcsrchr-sse2 wcsrchr-c.
45409 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45410 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45411 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45412 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45413 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45414 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45415 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45416 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45417 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45418 * wcsmbc/wcschr.c (WCSCHR): New macro.
45420 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45422 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45423 * wcsmbs/test-wcsrchr.c: New file.
45424 * string/test-strrchr.c: Add wcsrchr support.
45426 * wcsmbs/test-wcscpy.c: New file.
45427 * string/test-strcpy.c: Add wcscpy support.
45430 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45432 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45435 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45438 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45440 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45442 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45443 Minor optimizations.
45445 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45446 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45447 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45449 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45451 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45452 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45453 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45454 for gcc to avoid warnings.
45455 * inet/Makefile (tests): Add tst-checks.
45456 * inet/tst-checks.c: New file.
45458 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45461 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45464 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45465 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45467 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45469 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45471 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45474 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45476 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45478 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45479 conditional on GCC version.
45480 (__arch_compare_and_exchange_val_8_acq)
45481 (__arch_compare_and_exchange_val_16_acq)
45482 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45483 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45484 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45486 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45488 * sysdeps/sh/backtrace.c: New file.
45490 2011-12-02 Andreas Schwab <schwab@redhat.com>
45492 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45495 2011-12-01 Andreas Schwab <schwab@redhat.com>
45497 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45498 falling back to utime.
45500 2011-11-30 Andreas Schwab <schwab@redhat.com>
45502 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45503 expectations for float.
45505 2011-11-29 Andreas Schwab <schwab@redhat.com>
45507 * locale/weight.h (findidx): Add parameter len.
45508 * locale/weightwc.h (findidx): Likewise.
45509 * posix/fnmatch_loop.c (FCT): Adjust caller.
45510 * posix/regcomp.c (build_equiv_class): Likewise.
45511 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45512 * posix/regexec.c (check_node_accept_bytes): Likewise.
45513 * string/strcoll_l.c (STRCOLL): Likewise.
45514 * string/strxfrm_l.c (STRXFRM): Likewise.
45516 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45518 * Makefile.in: Remove CVSOPT handling.
45519 * configure.in: Remove use of AC_REVISION.
45520 * iconvdata/Makefile (distribute): No need to filter out CVS.
45521 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45524 2011-11-16 Andreas Schwab <schwab@redhat.com>
45526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45527 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45528 [USE_AS_STRNCASECMP_L]: Likewise.
45529 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45530 NO_TLS_DIRECT_SEG_REFS.
45531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45532 Fix argument offsets for non-PIC.
45533 [USE_AS_STRNCASECMP_L]: Likewise.
45534 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45535 NO_TLS_DIRECT_SEG_REFS.
45537 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45539 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45541 * locale/loadlocale.c (_nl_load_locale): Likewise.
45543 2011-11-15 Andreas Schwab <schwab@redhat.com>
45545 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45546 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45547 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45548 (SYSCALL_GETTIME): Set errno on error.
45550 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45551 count references to noai6ai_cached.
45553 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45555 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45557 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45558 FD_CLOEXEC for /proc/self/maps.
45560 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45561 FD_CLOEXEC for /proc/meminfo.
45563 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45566 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45567 FD_CLOEXEC for given file.
45569 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45571 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45572 FD_CLOEXEC for /etc/hosts.
45573 (_gethtent): Likewise.
45575 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45577 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45578 cancellation and set FD_CLOEXEC for /etc/netgroup.
45580 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45581 reading /etc/publickey.
45583 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45584 allow cancellation when reading /etc/group.
45586 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45588 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45590 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45591 when using data file.
45593 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45595 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45596 (write_nis_obj): Use "c" and "e" in fopen.
45598 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45600 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45602 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45604 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45606 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45609 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45611 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45613 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45615 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45616 file parsing and set FD_CLOEXEC.
45618 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45620 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45622 2011-11-14 Andreas Schwab <schwab@redhat.com>
45624 * malloc/arena.c (arena_get2): Don't call reused_arena when
45625 _int_new_arena failed.
45627 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45629 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45630 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45631 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45632 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45634 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45635 to compile strcasecmp and strncasecmp.
45636 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45637 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45641 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45643 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45644 locale-defines.sym to gen-as-const-headers.
45645 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45646 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45647 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45648 to compile strcasecmp and strncasecmp.
45649 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45650 strcasecmp_l and strncasecmp_l.
45651 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45652 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45653 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45654 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45655 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45656 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45657 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45658 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45659 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45660 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45661 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45663 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45665 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45666 result of SYSDEP_GETTIME_CPU to retval.
45667 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45668 parameter list to macro. Remove trailing semicolon. Adjust users.
45670 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45673 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45675 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45677 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45678 from unused variable.
45680 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45682 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45685 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45688 * sunrpc/rpc_prot.c (rejected): Fix case value.
45690 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45691 unsigned long long int to avoid warnings in shift.
45693 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45695 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45698 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45699 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45700 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45702 * nis/nis_table.c (nis_list): Use variable of correct type for
45703 result of __follow_path call.
45705 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45707 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45708 of math functions ceil, trunc, floor, round, and sqrt, when
45709 avaliable on the platform.
45710 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45712 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45713 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45714 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45716 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45718 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45719 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45721 2011-11-11 Roland McGrath <roland@hack.frob.com>
45723 * include/unistd.h: Fix __readlink return type.
45724 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45726 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45728 * stdlib/ucontext.h: Undo last change for makecontext.
45730 2011-11-11 Andreas Schwab <schwab@redhat.com>
45732 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45734 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45735 * setjmp/setjmp.h: Mark functions as non-leaf.
45736 * setjmp/bits/setjmp2.h: Likewise.
45737 * stdlib/ucontext.h: Likewise.
45739 2011-11-10 Andreas Schwab <schwab@redhat.com>
45741 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45742 (reused_arena): Don't check arena limit.
45743 (arena_get2): Atomically check arena limit.
45745 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45747 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45748 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45750 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45753 2011-11-07 Andreas Schwab <schwab@redhat.com>
45755 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45756 handler when locking.
45758 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45759 Fix size of allocated buffer.
45761 2011-11-04 Andreas Schwab <schwab@redhat.com>
45764 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45765 declarations for long double functions.
45766 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45768 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45770 2011-11-03 Andreas Schwab <schwab@redhat.com>
45772 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45775 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45778 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45780 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45782 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45784 * include/alloca.h (stackinfo_alloca_round): Define.
45785 (extend_alloca): Use it.
45786 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45787 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45790 * scripts/check-local-headers.sh: Ignore libaudit.h.
45792 * nscd/Makefile (extra-objs): Make recursively expanded.
45794 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45796 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45797 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45799 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45800 * posix/tst-rfc3484-2.c: Likewise.
45801 * posix/tst-rfc3484-3.c: Likewise.
45803 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45805 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45807 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45808 process_vm_writev from libc using GLIBC_2.15 version.
45810 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45812 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45814 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45817 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45820 * nss/getent.c (initgroups_keys): Show error message in case no group
45823 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45824 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45825 __bump_nl_timestamp.
45826 * nscd/connections (nscd_init): When host database is served open
45827 netlink socket and request notification about configuration changes.
45828 (main_loop_poll): Track netlink file descriptor and bump timestamp
45829 in case data becomes available.
45830 (main_loop_epoll): Likewise.
45831 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45832 (database_pers_head): Add extra_data fileds.
45833 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45834 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45835 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45837 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45838 in6ai data, call __free_in6ai.
45839 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45840 Add -DHAVE_NETLINK.
45841 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45842 interface information. Reuse previous data if netlink timestamp
45844 (__bump_nl_timestamp): New function.
45845 (__free_in6ai): New function.
45847 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45849 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45850 close_not_cancel_no_status here.
45851 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45853 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45856 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45859 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45860 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45861 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45863 2011-07-03 Andreas Jaeger <aj@suse.de>
45866 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45867 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45868 * math/libm-test.inc (sin_test): Add test case.
45870 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45873 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45874 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45876 * elf/chroot_canon.c (chroot_canon): Cleanups.
45878 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45881 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45882 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45884 * string/test-strchr.c: Make usable for strchrnul testing.
45885 * string/test-strchrnul.c: New file.
45886 * string/Makefile (strop-tests): Add strchrnul.
45888 * po/it.po: Update from translation team.
45889 * po/es.po: Likewise.
45891 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45893 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45894 the three constants needed as parameters. Drop the others.
45895 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45896 __m128i_strloadu_tolower.
45897 Create and initialize variable zero and use it in all the places
45898 where _mm_setzero_si128 was used.
45900 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45901 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45902 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45903 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45905 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45906 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45907 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45908 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45909 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45910 __mpranred, __mptan.
45911 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45912 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45913 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45914 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45915 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45916 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45917 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45918 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45919 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45921 2011-10-28 Andreas Schwab <schwab@redhat.com>
45923 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45924 redefine if SHARED.
45925 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45928 wide char related routines to wcsmbs subdir.
45930 2011-10-27 Andreas Schwab <schwab@redhat.com>
45933 * misc/sys/cdefs.h (__THROWNL): Define.
45934 * posix/unistd.h: Use __THREADNL instead of __THREAD
45935 for memory synchronization functions.
45937 2011-10-26 Roland McGrath <roland@hack.frob.com>
45940 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45942 * manual/stdio.texi (Obstack Streams): Node removed.
45944 2011-10-26 Andreas Schwab <schwab@redhat.com>
45946 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45947 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45948 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45950 * math/math_private.h (math_force_eval): Allow non-addressable
45952 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45954 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45956 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45957 file is not needed.
45959 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45960 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45961 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45962 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45963 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45964 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45965 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45966 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45968 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45969 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45970 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45971 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45972 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45973 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45974 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45975 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45976 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45977 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45978 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45979 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45980 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45981 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45982 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45983 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45984 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45985 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45986 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45988 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45989 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45991 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45992 place. Use VEX encoding when compiling for AVX.
45994 2011-10-25 Andreas Schwab <schwab@redhat.com>
45996 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45997 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45999 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46001 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46003 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
46004 useless if() expression.
46005 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46006 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46007 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46008 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46009 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46010 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46012 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46013 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46015 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46016 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46017 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46018 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46019 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46020 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46023 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46025 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46027 2011-10-25 Andreas Schwab <schwab@redhat.com>
46029 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46031 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46033 2011-10-25 Ulrich Drepper <drepper@gmail.com>
46035 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46036 .text section. Avoid duplicate constants.
46037 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46039 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46041 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46042 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46043 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46045 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46046 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46047 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46048 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46049 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46050 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46051 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46052 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46053 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46054 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46055 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46057 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46058 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46059 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46060 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46061 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46062 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46063 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46064 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46065 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46066 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46067 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46068 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46069 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46070 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46071 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46072 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46073 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46074 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46075 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46076 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46077 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46078 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46079 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46080 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46081 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46083 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46085 * sysdeps/x86_64/dla.h: Move to ...
46086 * sysdeps/x86_64/fpu/dla.h: ...here.
46087 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46088 situations. Use __builtin_fma only for gcc 4.6 and up.
46090 * config.make.in: Add have-mfma4 entry.
46091 * configure.in: Substitute libc_cv_cc_fma4.
46092 * math/Makefile (dbl-only-routines): Add sincostab.
46093 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46094 Use __sincostab not sincos.
46095 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46097 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46099 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46102 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46103 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46104 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46105 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46107 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46108 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46110 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46111 define aliases when function name is a macro.
46112 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46113 sysdeps/ieee754/dbl-64/sincos.tbl.
46114 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46115 fma4-enabled routines.
46116 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46117 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46118 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46119 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46120 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46121 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46122 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46123 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46124 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46125 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46126 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46127 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46128 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46129 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46130 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46131 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46132 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46133 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46134 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46135 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46136 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46137 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46139 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46140 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46141 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46142 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46143 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46144 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46145 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46147 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46149 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46151 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46155 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46158 2011-10-24 Andreas Schwab <schwab@redhat.com>
46160 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46162 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46166 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46168 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46170 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46171 Remove unused variable magic_bits.
46172 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46174 * string/strnlen.c: Define and use STRNLEN macro.
46175 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46176 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46178 * wcsmbs/wcslen.c: Define and use WCSLEN.
46179 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46180 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46181 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46182 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46183 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46184 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46185 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46187 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46190 strnlen-sse2-no-bsf.
46191 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46192 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46193 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46194 Add strnlen support.
46195 (USE_AS_STRNLEN): New macro.
46196 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46197 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46198 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46199 * sysdeps/x86_64/wcslen.S: New file.
46201 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46203 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46204 XMM-moves are used for copying on small sizes.
46206 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46208 * wcsmbs/Makefile (strop-tests): Add wcschr.
46209 * wcsmbs/test-wcschr.c: New file.
46210 * string/test-strchr.c: Update.
46211 Add wcschr support.
46214 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46216 * wcsmbs/Makefile (strop-tests): Add wcslen.
46217 * wcsmbs/test-wcslen.c: New file.
46218 * string/test-strlen.c: Update.
46219 Add wcslen support.
46222 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46224 * po/it.po: Update from translation team.
46226 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46228 * sysdeps/x86_64/wcscmp.S: Update.
46229 Fix wrong comparison semantics.
46230 wcscmp shall use signed comparison not unsigned.
46231 Don't use substraction to avoid overflow bug.
46232 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46233 * wcsmbc/wcscmp.c: Likewise.
46234 * string/test-strcmp.c: Likewise.
46235 Add new tests to check cases with negative values.
46237 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46239 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46240 * sysdeps/x86_64/dla.h: ...here. New file.
46241 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46242 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46243 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46246 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46247 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46249 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46251 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46253 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46254 __ynl_finite aliases.
46256 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46260 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46262 [DLA_FMA] (EMULV): Use DLA_FMA.
46263 [DLA_FMA] (MUL12): Use EMULV.
46264 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46265 that are not needed.
46266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46267 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46269 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46271 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46272 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46274 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46276 * math/s_nan.c: Undef __nan.
46277 * math/s_nanf.c: Undef __nanf.
46278 * math/s_nanl.c: Undef __nanl.
46279 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46282 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46284 * math/s_catan.c: Add branch predictions.
46285 * math/s_catanf.c: Likewise.
46286 * math/s_catanh.c: Likewise.
46287 * math/s_catanhf.c: Likewise.
46288 * math/s_catanhl.c: Likewise.
46289 * math/s_catanl.c: Likewise.
46290 * math/s_cexp.c: Likewise.
46291 * math/s_cexpf.c: Likewise.
46292 * math/s_cexpl.c: Likewise.
46293 * math/s_clog.c: Likewise.
46294 * math/s_clog10.c: Likewise.
46295 * math/s_clog10f.c: Likewise.
46296 * math/s_clog10l.c: Likewise.
46297 * math/s_clogf.c: Likewise.
46298 * math/s_clogl.c: Likewise.
46299 * math/s_csqrt.c: Likewise.
46300 * math/s_csqrtf.c: Likewise.
46301 * math/s_csqrtl.c: Likewise.
46302 * math/s_ctanf.c: Likewise.
46303 * math/s_ctanh.c: Likewise.
46304 * math/s_ctanhf.c: Likewise.
46305 * math/s_ctanhl.c: Likewise.
46306 * math/s_ctanl.c: Likewise.
46308 * math/math_private.h: Define __nan, __nanf, __nanl.
46309 * math/s_cacosh.c: Include <math_private.h>.
46310 * math/s_cacoshl.c: Likewise.
46311 * math/s_casinh.c: Likewise.
46312 * math/s_casinhf.c: Likewise.
46313 * math/s_casinhl.c: Likewise.
46314 * math/s_ccos.c: Rely entire on ccosh.
46315 * math/s_ccosf.c: Rely entire on ccoshf.
46316 * math/s_ccosl.c: Rely entirely on ccoshl.
46317 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46318 Remove tests for FE_INVALID.
46319 * math/s_ccoshf.c: Likewise.
46320 * math/s_ccoshl.c: Likewise.
46321 * math/s_csin.c: Likewise.
46322 * math/s_csinf.c: Likewise.
46323 * math/s_csinh.c Likewise.
46324 * math/s_csinhf.c: Likewise.
46325 * math/s_csinhl.c: Likewise.
46326 * math/s_csinl.c: Likewise.
46327 * math/s_ctan.c: Likewise.
46328 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46329 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46330 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46332 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46335 compilation problems.
46337 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46340 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46342 * sysdeps/i386/configure.in: Test for -mfma4 option.
46343 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46344 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46345 COMMON_CPUID_INDEX_80000001.
46346 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46347 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46348 use it if FMA3 is not supported.
46349 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46351 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46352 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46354 2011-10-20 Andreas Schwab <schwab@redhat.com>
46357 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46358 it would create a cycle with a link time dependency.
46360 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46362 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46364 * string/Makefile (strop-tests): Add rawmemchr.
46365 * string/test-rawmemchr.c: New file.
46367 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46368 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46369 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46370 when compiling str{,n}casecmp and when AVX is available. Hook up
46371 new optimized code in initializers.
46373 2011-10-19 Andreas Schwab <schwab@redhat.com>
46375 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46376 __feraiseexcept instead of feraiseexcept.
46378 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46380 * math/math_private.h: Define defaults for libc_fetestexcept and
46382 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46383 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46384 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46385 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46386 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46387 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46388 libc_fetestexcept and libc_feupdateenv.
46390 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46391 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46392 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46393 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46394 libc_feholdexcept_setround.
46396 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46397 Add s_nearbyint-c and s_nearbyintf-c.
46398 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46399 nearbyintf inlines.
46400 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46401 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46402 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46403 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46405 * math/math_private.h: Define defaults for libc_fegetround,
46406 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46407 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46408 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46409 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46410 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46411 standard functions.
46412 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46413 Remove comments and hacks for old compiler versions.
46414 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46415 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46416 libc_feholdexceptl.
46418 2011-10-18 Andreas Schwab <schwab@redhat.com>
46420 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46421 (__feraiseexcept_renamed): Add __NTH.
46422 (feraiseexcept): Add __NTH. Rename local variables to fix
46423 namespace violations.
46425 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46427 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46429 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46431 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46432 recently added interfaces.
46433 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46435 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46436 about macro parameter expansion.
46438 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46439 __NO_MATH_INLINES is defined. Cleanups.
46441 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46442 and __floorf is target has SSE4.1.
46443 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46444 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46445 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46446 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46448 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46450 (floorf): Likewise.
46452 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46454 2011-10-17 Andreas Schwab <schwab@redhat.com>
46456 * misc/sys/cdefs.h: Fix last change.
46458 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46461 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46463 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46465 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46466 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46467 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46468 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46469 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46470 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46471 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46472 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46473 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46474 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46475 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46476 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46477 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46478 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46479 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46480 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46481 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46482 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46483 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46484 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46485 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46486 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46488 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46489 ceil, ceilf, floor, floorf.
46491 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46492 Perform IRELATIVE relocations last.
46494 * elf/do-rel.h: Add another parameter nrelative, replacing the
46495 local variable with the same name. Change name of the function
46496 to end in Rel or Rela (uppercase).
46497 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46498 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46499 elf_dynamic_do_##reloc function.
46501 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46503 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46504 is sufficient, at least on modern CPUs.
46506 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46508 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46509 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46511 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46513 * math/bits/math-finite.h: Add entries for exp.
46514 * math/e_expl.c: Add __*_finite alias.
46515 * sysdeps/i386/fpu/e_exp.S: Likewise.
46516 * sysdeps/i386/fpu/e_expf.S: Likewise.
46517 * sysdeps/i386/fpu/e_expl.c: Likewise.
46518 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46519 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46522 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46523 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46524 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46526 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46527 is sufficient, at least on modern CPUs.
46529 * ctype/ctype-info.c (__ctype_init): Define.
46530 * include/ctype.h (__ctype_init): Declare.
46531 (__ctype_b_loc): The variable is always initialized.
46532 (__ctype_toupper_loc): Likewise.
46533 (__ctype_tolower_loc): Likewise.
46534 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46535 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46537 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46539 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46541 * configure.in: Also look in $cxxmachine/include for C++ system
46544 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46546 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46547 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46548 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46549 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46550 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46551 (USE_AS_WMEMCMP): New macro.
46553 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46554 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46555 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46556 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46558 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46559 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46560 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46561 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46562 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46563 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46564 (USE_AS_WMEMCMP): New macro.
46565 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46566 * sysdeps/string/test-memcmp.c: Update.
46567 Fix simple_wmemcmp.
46569 * wcsmbs/wmemcmp.c: Update.
46570 (WMEMCMP): New macro.
46573 2011-10-12 Andreas Jaeger <aj@suse.de>
46576 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46578 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46580 * libio/iofwide.c (do_length): Avoid warning.
46582 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46584 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46586 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46588 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46589 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46590 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46591 * sysdeps/i386/i686/fpu/e_log.S: New file.
46592 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46593 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46595 * ctype/ctype.h: Add support for inlined isXXX functions when
46596 compiling C++ code.
46598 2011-10-14 Andreas Schwab <schwab@redhat.com>
46600 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46602 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46604 2011-10-13 Roland McGrath <roland@hack.frob.com>
46607 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46609 2011-10-13 Andreas Schwab <schwab@redhat.com>
46611 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46612 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46615 * sysdeps/x86_64/memrchr.S: Check for zero size.
46617 * string/stratcliff.c: Add memrchr tests.
46619 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46621 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46622 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46623 rawmemchr-sse2 rawmemchr-sse2-bsf.
46624 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46625 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46626 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46627 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46628 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46629 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46630 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46631 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46632 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46633 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46634 * string/memrchr.c (MEMRCHR): New macro.
46636 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46638 Add integration with gcc's -ffinite-math-only and optimize wrapper
46640 * Versions.def: Define GLIBC_2.15 version for libm.
46641 * math/Makefile (headers): Add bits/math-finite.h.
46642 * math/bits/math-finite.h: New file.
46643 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46644 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46645 * math/e_acoshl.c: Add __*_finite alias.
46646 * math/e_acosl.c: Likewise.
46647 * math/e_asinl.c: Likewise.
46648 * math/e_atan2l.c: Likewise.
46649 * math/e_atanhl.c: Likewise.
46650 * math/e_coshl.c: Likewise.
46651 * math/e_exp10.c: Likewise.
46652 * math/e_exp10f.c: Likewise.
46653 * math/e_exp10l.c: Likewise.
46654 * math/e_exp2l.c: Likewise.
46655 * math/e_fmodl.c: Likewise.
46656 * math/e_gammal_r.c: Likewise.
46657 * math/e_hypotl.c: Likewise.
46658 * math/e_j0l.c: Likewise.
46659 * math/e_j1l.c: Likewise.
46660 * math/e_jnl.c: Likewise.
46661 * math/e_lgammal_r.c: Likewise.
46662 * math/e_log10l.c: Likewise.
46663 * math/e_log2l.c: Likewise.
46664 * math/e_logl.c: Likewise.
46665 * math/e_powl.c: Likewise.
46666 * math/e_sinhl.c: Likewise.
46667 * math/e_sqrtl.c: Likewise.
46668 * math/e_scalb.c: Completely rewritten and optimized.
46669 * math/e_scalbf.c: Likewise.
46670 * math/e_scalbl.c: Likewise.
46671 * math/w_acos.c: Likewise.
46672 * math/w_acosf.c: Likewise.
46673 * math/w_acosl.c: Likewise.
46674 * math/w_acosh.c: Likewise.
46675 * math/w_acoshf.c: Likewise.
46676 * math/w_acoshl.c: Likewise.
46677 * math/w_asin.c: Likewise.
46678 * math/w_asinf.c: Likewise.
46679 * math/w_asinl.c: Likewise.
46680 * math/w_atan2.c: Likewise.
46681 * math/w_atan2f.c: Likewise.
46682 * math/w_atan2l.c: Likewise.
46683 * math/w_atanh.c: Likewise.
46684 * math/w_atanhf.c: Likewise.
46685 * math/w_atanhl.c: Likewise.
46686 * math/w_exp10.c: Likewise.
46687 * math/w_exp10f.c: Likewise.
46688 * math/w_exp10l.c: Likewise.
46689 * math/w_fmod.c: Likewise.
46690 * math/w_fmodf.c: Likewise.
46691 * math/w_fmodl.c: Likewise.
46692 * math/w_j0.c: Likewise.
46693 * math/w_j0f.c: Likewise.
46694 * math/w_j0l.c: Likewise.
46695 * math/w_j1.c: Likewise.
46696 * math/w_j1f.c: Likewise.
46697 * math/w_j1l.c: Likewise.
46698 * math/w_jn.c: Likewise.
46699 * math/w_jnf.c: Likewise.
46700 * math/w_log.c: Likewise.
46701 * math/w_logf.c: Likewise.
46702 * math/w_logl.c: Likewise.
46703 * math/w_log10.c: Likewise.
46704 * math/w_log10f.c: Likewise.
46705 * math/w_log10l.c: Likewise.
46706 * math/w_log2.c: Likewise.
46707 * math/w_log2f.c: Likewise.
46708 * math/w_log2l.c: Likewise.
46709 * math/w_pow.c: Likewise.
46710 * math/w_powf.c: Likewise.
46711 * math/w_powl.c: Likewise.
46712 * math/w_remainder.c: Likewise.
46713 * math/w_remainderf.c: Likewise.
46714 * math/w_remainderl.c: Likewise.
46715 * math/w_scalb.c: Likewise.
46716 * math/w_scalbf.c: Likewise.
46717 * math/w_scalbl.c: Likewise.
46718 * math/w_sqrt.c: Likewise.
46719 * math/w_sqrtf.c: Likewise.
46720 * math/w_sqrtl.c: Likewise.
46721 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46722 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46724 * math/math_private.h: Declare __kernel_standard_f.
46725 * math/w_cosh.c: Remove cruft and optimize a bit.
46726 * math/w_coshf.c: Likewise.
46727 * math/w_coshl.c: Likewise.
46728 * math/w_exp2.c: Likewise.
46729 * math/w_exp2f.c: Likewise.
46730 * math/w_exp2l.c: Likewise.
46731 * math/w_hypot.c: Likewise.
46732 * math/w_hypotf.c: Likewise.
46733 * math/w_hypotl.c: Likewise.
46734 * math/w_lgamma.c: Likewise.
46735 * math/w_lgamma_r.c: Likewise.
46736 * math/w_lgammaf.c: Likewise.
46737 * math/w_lgammaf_r.c: Likewise.
46738 * math/w_lgammal.c: Likewise.
46739 * math/w_lgammal_r.c: Likewise.
46740 * math/w_sinh.c: Likewise.
46741 * math/w_sinhf.c: Likewise.
46742 * math/w_sinhl.c: Likewise.
46743 * math/w_tgamma.c: Likewise.
46744 * math/w_tgammaf.c: Likewise.
46745 * math/w_tgammal.c: Likewise.
46746 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46747 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46748 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46749 Minor optimizations. Pretty printing. Remove cruft.
46750 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46751 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46752 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46753 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46754 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46755 * sysdeps/i386/fpu/e_asin.S: Likewise.
46756 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46757 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46758 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46759 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46760 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46761 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46762 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46763 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46764 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46765 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46766 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46767 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46768 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46769 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46770 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46771 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46772 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46773 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46774 * sysdeps/i386/fpu/e_log.S: Likewise.
46775 * sysdeps/i386/fpu/e_log10.S: Likewise.
46776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46777 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46778 * sysdeps/i386/fpu/e_log2.S: Likewise.
46779 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46780 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46781 * sysdeps/i386/fpu/e_logf.S: Likewise.
46782 * sysdeps/i386/fpu/e_logl.S: Likewise.
46783 * sysdeps/i386/fpu/e_pow.S: Likewise.
46784 * sysdeps/i386/fpu/e_powf.S: Likewise.
46785 * sysdeps/i386/fpu/e_powl.S: Likewise.
46786 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46787 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46788 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46789 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46790 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46791 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46792 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46793 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46794 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46795 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46796 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46798 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46799 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46800 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46801 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46802 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46803 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46804 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46805 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46806 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46808 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46816 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46817 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46818 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46819 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46820 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46821 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46822 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46823 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46824 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46825 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46826 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46827 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46828 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46829 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46830 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46831 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46832 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46833 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46834 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46835 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46836 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46837 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46838 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46839 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46840 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46841 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46842 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46843 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46844 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46845 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46846 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46847 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46848 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46849 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46850 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46851 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46852 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46853 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46854 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46855 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46857 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46858 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46859 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46860 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46861 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46862 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46863 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46865 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46866 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46867 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46868 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46869 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46870 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46871 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46872 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46873 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46874 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46875 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46876 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46877 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46878 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46879 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46880 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46881 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46882 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46883 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46884 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46885 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46886 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46887 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46888 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46889 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46890 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46891 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46892 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46893 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46894 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46895 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46896 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46897 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46898 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46899 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46900 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46901 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46902 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46903 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46904 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46905 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46906 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46907 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46908 (__isnanf): Likewise.
46909 (__isinf_ns): Likewise.
46910 (__isinf_nsf): Likewise.
46911 (__finite): Likewise.
46912 (__finitef): Likewise.
46913 (__ieee754_sqrt): Define as macro.
46914 (__ieee754_sqrtf): Define as macro.
46915 (__ieee754_sqrtl): Define as macro.
46916 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46918 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46919 __FINITE_MATH_ONLY__ consistent.
46920 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46922 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46924 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46927 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46929 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46931 * po/ja.po: Update from translation team.
46933 2011-10-08 Roland McGrath <roland@hack.frob.com>
46935 * locale/programs/locarchive.c (prepare_address_space): New function.
46936 (create_archive, enlarge_archive, open_archive): Use it.
46938 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46939 inside [SHARED], where it is used.
46941 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46943 * nss/getent.c (netgroup_keys): Remove unused variable.
46944 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46946 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46948 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46951 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46952 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46953 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46954 * math/Makefile (libm-calls): Add s_isinf_ns.
46955 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46956 * math/multc3.c: Likewise.
46957 * math/s_casin.c: Likewise.
46958 * math/s_casinf.c: Likewise.
46959 * math/s_casinl.c: Likewise.
46960 * math/s_ccos.c: Likewise.
46961 * math/s_ccosf.c: Likewise.
46962 * math/s_ccosl.c: Likewise.
46963 * math/s_ctan.c: Likewise.
46964 * math/s_ctanf.c: Likewise.
46965 * math/s_ctanh.c: Likewise.
46966 * math/s_ctanhf.c: Likewise.
46967 * math/s_ctanhl.c: Likewise.
46968 * math/s_ctanl.c: Likewise.
46969 * math/w_fmod.c: Likewise.
46970 * math/w_fmodf.c: Likewise.
46971 * math/w_fmodl.c: Likewise.
46972 * math/w_remainder.c: Likewise.
46973 * math/w_remainderf.c: Likewise.
46974 * math/w_remainderl.c: Likewise.
46975 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46976 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46977 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46979 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46980 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46981 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46982 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46984 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46986 * stdio-common/printf_fphex.c: Likewise.
46987 * stdio-common/printf_size.c: Likewise.
46989 * math/e_exp10.c: Include math_private.h using <...> not "...".
46990 * math/e_exp10f.c: Likewise.
46991 * math/e_exp10l.c: Likewise.
46992 * math/e_exp2l.c: Likewise.
46993 * math/e_j0l.c: Likewise.
46994 * math/e_j1l.c: Likewise.
46995 * math/e_jnl.c: Likewise.
46996 * math/e_lgammal_r.c: Likewise.
46997 * math/e_rem_pio2l.c: Likewise.
46998 * math/e_scalb.c: Likewise.
46999 * math/e_scalbf.c: Likewise.
47000 * math/e_scalbl.c: Likewise.
47001 * math/k_cosl.c: Likewise.
47002 * math/k_sinl.c: Likewise.
47003 * math/k_tanl.c: Likewise.
47004 * math/s_cacoshf.c: Likewise.
47005 * math/s_catan.c: Likewise.
47006 * math/s_catanf.c: Likewise.
47007 * math/s_catanh.c: Likewise.
47008 * math/s_catanhf.c: Likewise.
47009 * math/s_catanhl.c: Likewise.
47010 * math/s_catanl.c: Likewise.
47011 * math/s_ccosh.c: Likewise.
47012 * math/s_ccoshf.c: Likewise.
47013 * math/s_ccoshl.c: Likewise.
47014 * math/s_cexp.c: Likewise.
47015 * math/s_cexpf.c: Likewise.
47016 * math/s_cexpl.c: Likewise.
47017 * math/s_clog.c: Likewise.
47018 * math/s_clog10.c: Likewise.
47019 * math/s_clog10f.c: Likewise.
47020 * math/s_clog10l.c: Likewise.
47021 * math/s_clogf.c: Likewise.
47022 * math/s_clogl.c: Likewise.
47023 * math/s_csin.c: Likewise.
47024 * math/s_csinf.c: Likewise.
47025 * math/s_csinh.c: Likewise.
47026 * math/s_csinhf.c: Likewise.
47027 * math/s_csinhl.c: Likewise.
47028 * math/s_csinl.c: Likewise.
47029 * math/s_csqrt.c: Likewise.
47030 * math/s_csqrtf.c: Likewise.
47031 * math/s_csqrtl.c: Likewise.
47032 * math/s_ctan.c: Likewise.
47033 * math/s_ctanf.c: Likewise.
47034 * math/s_ctanh.c: Likewise.
47035 * math/s_ctanhf.c: Likewise.
47036 * math/s_ctanhl.c: Likewise.
47037 * math/s_ctanl.c: Likewise.
47038 * math/s_ldexp.c: Likewise.
47039 * math/s_ldexpf.c: Likewise.
47040 * math/s_ldexpl.c: Likewise.
47041 * math/s_significand.c: Likewise.
47042 * math/s_significandf.c: Likewise.
47043 * math/s_significandl.c: Likewise.
47044 * math/w_acos.c: Likewise.
47045 * math/w_acosf.c: Likewise.
47046 * math/w_acosh.c: Likewise.
47047 * math/w_acoshf.c: Likewise.
47048 * math/w_acoshl.c: Likewise.
47049 * math/w_acosl.c: Likewise.
47050 * math/w_asin.c: Likewise.
47051 * math/w_asinf.c: Likewise.
47052 * math/w_asinl.c: Likewise.
47053 * math/w_atan2.c: Likewise.
47054 * math/w_atan2f.c: Likewise.
47055 * math/w_atan2l.c: Likewise.
47056 * math/w_atanh.c: Likewise.
47057 * math/w_atanhf.c: Likewise.
47058 * math/w_atanhl.c: Likewise.
47059 * math/w_cosh.c: Likewise.
47060 * math/w_coshf.c: Likewise.
47061 * math/w_coshl.c: Likewise.
47062 * math/w_dremf.c: Likewise.
47063 * math/w_exp10.c: Likewise.
47064 * math/w_exp10f.c: Likewise.
47065 * math/w_exp10l.c: Likewise.
47066 * math/w_exp2.c: Likewise.
47067 * math/w_exp2f.c: Likewise.
47068 * math/w_fmod.c: Likewise.
47069 * math/w_fmodf.c: Likewise.
47070 * math/w_fmodl.c: Likewise.
47071 * math/w_hypot.c: Likewise.
47072 * math/w_hypotf.c: Likewise.
47073 * math/w_hypotl.c: Likewise.
47074 * math/w_j0.c: Likewise.
47075 * math/w_j0f.c: Likewise.
47076 * math/w_j0l.c: Likewise.
47077 * math/w_j1.c: Likewise.
47078 * math/w_j1f.c: Likewise.
47079 * math/w_j1l.c: Likewise.
47080 * math/w_jn.c: Likewise.
47081 * math/w_jnf.c: Likewise.
47082 * math/w_jnl.c: Likewise.
47083 * math/w_lgamma.c: Likewise.
47084 * math/w_lgamma_r.c: Likewise.
47085 * math/w_lgammaf.c: Likewise.
47086 * math/w_lgammaf_r.c: Likewise.
47087 * math/w_lgammal.c: Likewise.
47088 * math/w_lgammal_r.c: Likewise.
47089 * math/w_log.c: Likewise.
47090 * math/w_log10.c: Likewise.
47091 * math/w_log10f.c: Likewise.
47092 * math/w_log10l.c: Likewise.
47093 * math/w_log2.c: Likewise.
47094 * math/w_log2f.c: Likewise.
47095 * math/w_log2l.c: Likewise.
47096 * math/w_logf.c: Likewise.
47097 * math/w_logl.c: Likewise.
47098 * math/w_pow.c: Likewise.
47099 * math/w_powf.c: Likewise.
47100 * math/w_powl.c: Likewise.
47101 * math/w_remainder.c: Likewise.
47102 * math/w_remainderf.c: Likewise.
47103 * math/w_remainderl.c: Likewise.
47104 * math/w_scalb.c: Likewise.
47105 * math/w_scalbf.c: Likewise.
47106 * math/w_scalbl.c: Likewise.
47107 * math/w_sinh.c: Likewise.
47108 * math/w_sinhf.c: Likewise.
47109 * math/w_sinhl.c: Likewise.
47110 * math/w_sqrt.c: Likewise.
47111 * math/w_sqrtf.c: Likewise.
47112 * math/w_sqrtl.c: Likewise.
47113 * math/w_tgamma.c: Likewise.
47114 * math/w_tgammaf.c: Likewise.
47115 * math/w_tgammal.c: Likewise.
47117 * po/ja.po: Update from translation team.
47119 2011-09-29 Andreas Jaeger <aj@suse.de>
47122 * sunrpc/netname.c (netname2host): Fix logic.
47126 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47128 * math/w_remainder.c (__remainder): Likewise.
47129 * math/w_remainderf.c (__remainderf): Likewise.
47130 * math/libm-test.inc (remainder_test): Add test cases.
47132 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47134 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47137 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47139 * string/test-memcmp.c: Avoid unncessary #defines.
47140 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47142 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47144 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47145 Use new sse2 version for core i3 - i7 as it's faster
47146 than sse42 version.
47147 (bit_Prefer_PMINUB_for_stringop): New.
47148 * sysdeps/x86_64/rawmemchr.S: Update.
47149 Replace with faster SSE2 version.
47150 * sysdeps/x86_64/memrchr.S: New file.
47151 * sysdeps/x86_64/memchr.S: Update.
47152 Replace with faster SSE2 version.
47154 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47156 * elf/dl-load.c (lose): Add cast to avoid warning.
47158 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47160 * po/ca.po: Update from translation team.
47162 * inet/getnetgrent_r.c: Hook up nscd.
47163 * nscd/Makefile (routines): Add nscd_netgroup.
47164 (nscd-modules): Add netgroupcache.
47165 (CFLAGS-netgroupcache.c): Define.
47166 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47167 (cache_search): Add const to second parameter.
47168 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47170 (dbs): Add netgrdb entry.
47171 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47172 (verify_persistent_db): Handle netgrdb.
47173 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47174 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47176 (netgroup_response_header): Define.
47177 (innetgroup_response_header): Define.
47178 (datahead): Add netgroup_response_header and innetgroup_response_header
47180 * nscd/nscd.conf: Add entries for netgroup cache.
47181 * nscd/nscd.h (dbtype): Add netgrdb.
47182 (_PATH_NSCD_NETGROUP_DB): Define.
47183 (netgroup_iov_disabled): Declare.
47184 (xmalloc, xcalloc, xrealloc): Move declarations here.
47185 (cache_search): Adjust prototype.
47186 Add netgroup-related prototypes.
47187 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47188 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47189 (__nscd_innetgr): Declare.
47190 * nscd/selinux.c (perms): Use access_vector_t as element type and
47191 add netgroup-related initializers.
47192 * nscd/netgroupcache.c: New file.
47193 * nscd/nscd_netgroup.c: New file.
47194 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47195 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47196 For four parameters use innetgr.
47197 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47198 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47199 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47200 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47202 * nscd/connections.c (register_traced_file): Don't register file
47203 for disabled databases.
47205 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47207 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47209 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47210 from tree and freeing node.
47212 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47214 * nss/nsswitch.c (__nss_database_lookup): Handle
47215 nss_parse_service_list out of memory case.
47217 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47219 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47220 out of memory case.
47222 2011-10-04 Andreas Schwab <schwab@redhat.com>
47224 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47225 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47227 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47228 elf_machine_rela, elf_machine_lazy_rel.
47229 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47230 (ELF_DYNAMIC_DO_REL): Likewise.
47231 (ELF_DYNAMIC_DO_RELA): Likewise.
47232 (ELF_DYNAMIC_RELOCATE): Likewise.
47233 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47234 to ELF_DYNAMIC_DO_REL.
47235 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47236 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47237 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47239 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47240 skip_ifunc, don't call ifunc function if non-zero.
47241 (elf_machine_rela): Likewise.
47242 (elf_machine_lazy_rel): Likewise.
47243 (elf_machine_lazy_rela): Likewise.
47244 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47245 (elf_machine_lazy_rel): Likewise.
47246 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47248 (elf_machine_lazy_rel): Likewise.
47249 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47251 (elf_machine_lazy_rel): Likewise.
47252 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47253 (elf_machine_lazy_rel): Likewise.
47254 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47255 (elf_machine_lazy_rel): Likewise.
47256 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47257 (elf_machine_lazy_rel): Likewise.
47258 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47259 (elf_machine_lazy_rel): Likewise.
47260 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47261 (elf_machine_lazy_rel): Likewise.
47262 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47263 (elf_machine_lazy_rel): Likewise.
47265 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47267 * nss/nss_files/files-init.c (_nss_files_init): Use static
47268 initialization for all the *_traced_file variables.
47270 2011-09-28 Andreas Schwab <schwab@redhat.com>
47272 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47274 2011-09-27 Roland McGrath <roland@hack.frob.com>
47277 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47279 2011-09-27 Andreas Schwab <schwab@redhat.com>
47281 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47282 Reread the line before reparsing it.
47284 2011-09-26 Andreas Schwab <schwab@redhat.com>
47286 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47288 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47289 Maxim Kuvyrkov <maxim@codesourcery.com>
47290 Joseph Myers <joseph@codesourcery.com>
47292 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47293 if needed for __stack_chk_guard.
47295 2011-09-19 Roland McGrath <roland@hack.frob.com>
47297 * sysdeps/posix/spawni.c (script_execute): Always define it.
47298 It will be optimized away if unused.
47299 (maybe_script_execute): New function.
47300 (__spawni): Call it.
47302 * Makerules: Don't include tls.make.
47303 (config-tls): Always set to thread.
47304 * tls.make.c: File removed.
47306 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47308 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47309 * config.make.in (CPPFLAGS-config): New substituted variable.
47311 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47313 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47316 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47317 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47319 2011-09-15 Roland McGrath <roland@hack.frob.com>
47321 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47322 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47324 (CALL_FAIL): Likewise.
47325 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47326 (CALL_FAIL): Macro removed.
47327 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47329 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47331 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47332 for __FINITE_MATH_ONLY__ == 1.
47334 2011-09-15 Andreas Schwab <schwab@redhat.com>
47336 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47337 __ieee754_sqrt instead of sqrt.
47338 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47339 __ieee754_sqrtf instead of sqrtf.
47340 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47341 __floorf instead of floorf.
47342 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47343 __floorf, __truncf instead of floorf, truncf.
47345 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47347 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47349 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47350 __extern_always_inline.
47351 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47354 2011-09-14 Andreas Schwab <schwab@redhat.com>
47356 * elf/rtld.c (dl_main): Also relocate in dependency order when
47357 doing symbol dependency testing.
47359 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47362 Always define `refsym'.
47364 2011-09-13 Andreas Schwab <schwab@redhat.com>
47366 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47367 (__FD_ELT): Renamed from __FDELT.
47368 * misc/bits/select2.h (__FD_ELT): Likewise.
47369 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47370 __FD_MASK instead of __FDELT, __FDMASK.
47371 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47373 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47376 * elf/Makefile (gen-ldd): Fix pattern.
47378 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47379 (init_tls): Likewise.
47381 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47383 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47385 2011-09-12 Andreas Schwab <schwab@redhat.com>
47387 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47388 `struct cmsghdr *' instead of `void *'.
47389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47392 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47394 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47396 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47397 ldd_rewrite_script.
47399 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47401 * configure.in: Remove --with-tls option.
47402 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47403 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47404 out in case it is missing.
47405 * sysdeps/ia64/elf/configure.in: Likewise.
47406 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47407 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47408 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47409 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47410 * sysdeps/sh/elf/configure.in: Likewise.
47411 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47412 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47413 * sysdeps/x86_64/elf/configure.in: Likewise.
47414 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47415 * sysdeps/mach/hurd/tls.h: Likewise.
47418 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47421 * configure.in: Fix use of AC_INIT.
47423 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47425 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47427 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47429 * malloc/hooks.c: Likewise.
47432 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47433 variables statically.
47434 (narenas): Initialize.
47435 (list_lock): Initialize.
47436 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47437 initializtion of main_arena and list_lock. Small cleanups.
47438 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47439 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47440 Add initializers to main_arena and mp_.
47441 (malloc_state): Remove pagesize member. Change all users to use
47444 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47445 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47446 is always initialized.
47448 * malloc/malloc.c: Removed unused configurations and dead code.
47449 * malloc/arena.c: Likewise.
47450 * malloc/hooks.c: Likewise.
47451 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47453 * include/tls.h: Removed. USE___THREAD must always be defined.
47454 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47455 * elf/dl-libc.c: Likewise.
47456 * elf/dl-tsd.c: Likewise.
47457 * include/errno.h: Likewise.
47458 * include/netdb.h: Likewise.
47459 * include/resolv.h: Likewise.
47460 * inet/herrno-loc.c: Likewise.
47461 * inet/herrno.c: Likewise.
47462 * malloc/arena.c: Likewise.
47463 * malloc/hooks.c: Likewise.
47464 * malloc/malloc.c: Likewise.
47465 * resolv/res-state.c: Likewise.
47466 * resolv/res_libc.c: Likewise.
47467 * sysdeps/i386/dl-machine.h: Likewise.
47468 * sysdeps/ia64/dl-machine.h: Likewise.
47469 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47470 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47471 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47472 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47473 * sysdeps/sh/dl-machine.h: Likewise.
47474 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47475 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47476 * sysdeps/unix/i386/sysdep.S: Likewise.
47477 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47478 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47480 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47481 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47482 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47483 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47485 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47487 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47488 * sysdeps/x86_64/dl-machine.h: Likewise.
47489 * tls.make.c: Likewise.
47491 * configure.in: Remove --with-__thread option. Make tests for
47492 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47493 tls_model attribute fail if no support is available. Remove
47495 * Makeconfig: Adjust for dropped configure option. All features are
47497 * Makerules: Likewise.
47498 * Versions.def: Likewise.
47499 * argp/argp-fmtstream.c: Likewise.
47500 * argp/argp-fmtstream.h: Likewise.
47501 * argp/argp-help.c: Likewise.
47502 * assert/assert.c: Likewise.
47503 * config.h.in: Likewise.
47504 * config.make.in: Likewise.
47505 * configure: Likewise.
47506 * configure.in: Likewise.
47507 * csu/Versions: Likewise.
47508 * csu/init.c: Likewise.
47509 * elf/tst-audit2.c: Likewise.
47510 * elf/tst-tls10.c: Likewise.
47511 * elf/tst-tls10.h: Likewise.
47512 * elf/tst-tls11.c: Likewise.
47513 * elf/tst-tls12.c: Likewise.
47514 * elf/tst-tls14.c: Likewise.
47515 * elf/tst-tlsmod11.c: Likewise.
47516 * elf/tst-tlsmod12.c: Likewise.
47517 * elf/tst-tlsmod13.c: Likewise.
47518 * elf/tst-tlsmod13a.c: Likewise.
47519 * elf/tst-tlsmod14a.c: Likewise.
47520 * elf/tst-tlsmod15b.c: Likewise.
47521 * elf/tst-tlsmod16a.c: Likewise.
47522 * elf/tst-tlsmod16b.c: Likewise.
47523 * elf/tst-tlsmod7.c: Likewise.
47524 * elf/tst-tlsmod8.c: Likewise.
47525 * elf/tst-tlsmod9.c: Likewise.
47526 * gmon/gmon.c: Likewise.
47527 * grp/fgetgrent_r.c: Likewise.
47528 * grp/putgrent.c: Likewise.
47529 * hurd/fopenport.c: Likewise.
47530 * include/libc-symbols.h: Likewise.
47531 * include/tls.h: Likewise.
47532 * intl/gettextP.h: Likewise.
47533 * intl/loadinfo.h: Likewise.
47534 * locale/global-locale.c: Likewise.
47535 * locale/localeinfo.h: Likewise.
47536 * mach/devstream.c: Likewise.
47537 * malloc/arena.c: Likewise.
47538 * malloc/set-freeres.c: Likewise.
47539 * misc/err.c: Likewise.
47540 * misc/getttyent.c: Likewise.
47541 * misc/mntent_r.c: Likewise.
47542 * posix/getopt.c: Likewise.
47543 * posix/wordexp.c: Likewise.
47544 * pwd/fgetpwent_r.c: Likewise.
47545 * resolv/Versions: Likewise.
47546 * resolv/res_hconf.c: Likewise.
47547 * shadow/fgetspent_r.c: Likewise.
47548 * shadow/putspent.c: Likewise.
47549 * stdio-common/printf_fphex.c: Likewise.
47550 * stdio-common/tmpfile.c: Likewise.
47551 * stdlib/abort.c: Likewise.
47552 * stdlib/fmtmsg.c: Likewise.
47553 * sunrpc/auth_unix.c: Likewise.
47554 * sunrpc/clnt_perr.c: Likewise.
47555 * sunrpc/clnt_tcp.c: Likewise.
47556 * sunrpc/clnt_udp.c: Likewise.
47557 * sunrpc/clnt_unix.c: Likewise.
47558 * sunrpc/openchild.c: Likewise.
47559 * sunrpc/svc_simple.c: Likewise.
47560 * sunrpc/svc_tcp.c: Likewise.
47561 * sunrpc/svc_udp.c: Likewise.
47562 * sunrpc/svc_unix.c: Likewise.
47563 * sunrpc/xdr.c: Likewise.
47564 * sunrpc/xdr_array.c: Likewise.
47565 * sunrpc/xdr_rec.c: Likewise.
47566 * sunrpc/xdr_ref.c: Likewise.
47567 * sunrpc/xdr_stdio.c: Likewise.
47569 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47571 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47573 2011-07-03 Andreas Jaeger <aj@suse.de>
47575 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47576 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47577 regenerate with gen-libm-tests.pl.
47579 2010-05-12 Petr Baudis <pasky@suse.cz>
47582 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47583 around j0() zero points by switching to j1().
47584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47587 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47589 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47591 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47593 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47596 Patch in part by Pavel Roskin <proski@gnu.org>.
47599 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47601 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47602 Free memory block if necessary.
47605 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47606 be NULL. Don't lock in this case.
47608 2011-09-09 Roland McGrath <roland@hack.frob.com>
47610 * elf/elf.h (ELFOSABI_GNU): New macro.
47611 (ELFOSABI_LINUX): Define to that.
47613 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47615 * string/strncat.c (strncat): Undef the symbol in case it has been
47616 defined in bits/string.h.
47618 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47620 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47622 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47625 2011-08-17 Andreas Jaeger <aj@suse.de>
47627 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47629 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47630 Ian Lance Taylor <iant@google.com>
47632 * math/libm-test.inc (lround_test): New testcase.
47633 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47635 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47637 * Makefile: Remove support for automatic cvs check-ins.
47638 * Makerules: Likewise.
47639 * config.make.in: Likewise.
47640 * configure.in: Likewise.
47641 * intl/Makefile: Likewise.
47642 * locale/Makefile: Likewise.
47643 * po/Makefile: Likewise.
47644 * posix/Makefile: Likewise.
47645 * sysdeps/gnu/Makefile: Likewise.
47646 * sysdeps/mach/hurd/Makefile: Likewise.
47647 * sysdeps/sparc/sparc32/Makefile: Likewise.
47650 * posix/Makefile (bug-regex32-ENV): Define.
47651 Patch by John Stanley <jpsinthemix@verizon.net>.
47653 * misc/Makefile (headers): Add bits/select2.h.
47654 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47655 * misc/bits/select2.h: New file.
47656 * include/bits/select2.h: New file.
47657 * debug/Makefile (routines): Add fdelt_chk.
47658 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47659 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47661 * debug/fdelt_chk.c: New file.
47663 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47664 * wcsmbs/test-wmemcmp.c: Likewise.
47665 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47666 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47668 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47670 * string/Makefile (strop-tests): Add memcmp.
47671 * string/test-wmemcmp.c: New file.
47672 * string/test-memcmp.c: Add wmemcmp support.
47674 2011-09-08 Roland McGrath <roland@hack.frob.com>
47677 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47680 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47681 garbage value in a __mach_port_mod_refs call in the cases of the
47682 task-self and thread-self ports.
47684 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47686 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47688 2011-09-08 Andreas Schwab <schwab@redhat.com>
47690 * elf/dl-load.c (lose): Check for non-null L.
47692 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47694 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47696 * elf/dl-libc.c (dlerror_run): Pass back error code from
47700 * elf/dl-load.c (lose): Free l_origin if it is valid.
47702 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47704 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47705 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47706 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47707 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47708 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47709 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47711 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47713 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47714 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47715 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47716 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47717 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47718 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47719 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47720 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47721 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47722 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47724 2011-08-15 Alan Modra <amodra@gmail.com>
47727 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47728 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47729 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47730 ppc_mcount to static-only-routines.
47731 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47733 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47734 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47736 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47738 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47739 for finite and infinity parameters.
47741 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47743 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47744 and add nop instructions for throughput optimization.
47745 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47747 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47749 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47750 aligned copy for power7 with vector-scalar instructions.
47751 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47753 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47758 2011-09-07 Andreas Schwab <schwab@redhat.com>
47761 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47764 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47766 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47767 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47768 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47769 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47772 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47774 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47775 Forgot to demangle the pointer.
47777 * sysdeps/i386/sysdep.h: Define atom_text_section.
47778 * sysdeps/x86_64/sysdep.h: Likewise.
47779 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47780 section with atom_text_section.
47781 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47783 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47784 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47785 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47787 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47788 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47789 already be defined. Change to take two parameters and don't assign
47790 result to variable. Adjust all users.
47791 Define INTERNAL_GETTIME if not already defined.
47792 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47795 HAVE_CLOCK_GETTIME_VSYSCALL.
47796 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47798 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47799 gettimeofday vsyscall, just use time.
47801 2011-09-06 Andreas Schwab <schwab@redhat.com>
47803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47806 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47808 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47812 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47814 syscall if possible.
47816 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47818 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47819 e_ident. Don't pass to find_mapsXX.
47820 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47822 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47825 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47826 * sysdeps/x86_64/multiarch/strchr.S: Update.
47827 Check bit_slow_BSF bit.
47828 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47829 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47830 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47832 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47835 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47837 (tryshell): Define.
47838 (__spawni): Change last parameter to be flag. Test
47839 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47840 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47841 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47842 * posix/spawni.c: Likewise.
47843 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47844 * posix/spawnp.c: Likewise. Change normal version to use
47845 SPAWN_XFLAGS_USE_PATH.
47846 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47847 SPAWN_XFLAGS_TRY_SHELL.
47850 * posix/glob.h: Remove gcc 1.x support.
47853 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47855 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47857 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47858 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47860 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47861 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47862 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47863 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47864 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47865 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47867 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47869 * sysdeps/x86_64/wcscmp.S: New file.
47871 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47872 wcscmp-c wcscmp-sse2
47873 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47874 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47875 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47876 * wcsmbs/wcscmp.c: Allow renaming.
47878 2011-09-05 David S. Miller <davem@davemloft.net>
47880 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47881 stack slot, rather than the struct return pointer slot.
47882 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47883 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47885 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47887 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47889 * po/ja.po: Update from translation team.
47892 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47893 kernel in 64-bit binaries.
47895 2011-09-01 David S. Miller <davem@davemloft.net>
47897 * elf/elf.h (HWCAP_SPARC_*): Move to..
47898 * sysdeps/sparc/sysdep.h: this new file and add new values.
47899 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47900 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47901 _DL_HWCAP_COUNT to 24.
47902 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47904 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47905 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47906 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47908 instead of magic constants.
47909 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47911 2011-08-31 David S. Miller <davem@davemloft.net>
47913 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47915 Reimplement to do errno handling inline.
47916 (SYSCALL_ERROR_HANDLER): New macro.
47917 (__SYSCALL_STRING): Do not do errno handling in asm.
47918 (__CLONE_SYSCALL_STRING): Delete.
47919 (__INTERNAL_SYSCALL_STRING): Delete.
47920 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47921 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47922 (PSEUDO): Reimplement to do errno handling inline.
47923 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47924 (SYSCALL_ERROR_HANDLER): New macro.
47925 (__SYSCALL_STRING): Do not do errno handling in asm.
47926 (__CLONE_SYSCALL_STRING): Delete.
47927 (__INTERNAL_SYSCALL_STRING): Delete.
47928 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47929 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47931 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47932 (inline_syscall*): Add 'err' argument.
47933 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47934 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47935 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47936 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47938 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47939 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47941 2011-08-30 Andreas Schwab <schwab@redhat.com>
47943 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47945 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47947 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47950 2011-08-24 David S. Miller <davem@davemloft.net>
47952 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47954 2011-08-24 Andreas Schwab <schwab@redhat.com>
47956 * elf/Makefile: Add rules to build and run unload8 test.
47957 * elf/unload8.c: New file.
47958 * elf/unload8mod1.c: New file.
47959 * elf/unload8mod1x.c: New file.
47960 * elf/unload8mod2.c: New file.
47961 * elf/unload8mod3.c: New file.
47963 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47966 2011-08-23 David S. Miller <davem@davemloft.net>
47968 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47969 subtract stack bias.
47970 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47971 %sp not %fp in calculations.
47972 (_JMPBUF_UNWINDS_ADJ): Likewise.
47974 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47975 (aio_suspend): Call it to force an exception region around the
47976 AIO_MISC_WAIT() invocation.
47978 2011-08-23 Andreas Schwab <schwab@redhat.com>
47980 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47983 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47985 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47987 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47988 and <dl-machine.h>.
47989 (Elf64_FuncDesc): Remove.
47991 2011-08-22 David S. Miller <davem@davemloft.net>
47993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47994 sigaltstack check, add missing cfi directives.
47995 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47996 missing cfi directives, and sigaltstack handling.
47998 2011-08-16 Andreas Schwab <schwab@redhat.com>
48001 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48002 object is seen twice.
48003 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48005 * elf/Makefile (distribute): Add tst-initorder2.c.
48006 (tests): Add tst-initorder2.
48007 (modules-names): Add tst-initorder2a tst-initorder2b
48008 tst-initorder2c tst-initorder2d. Add rules to build them.
48009 ($(objpfx)tst-initorder2.out): New rule.
48010 * elf/tst-initorder2.c: New file.
48011 * elf/tst-initorder2.exp: New file.
48013 2011-08-22 Andreas Schwab <schwab@redhat.com>
48015 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48017 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48018 dependencies back to end of function.
48020 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48021 $(elfobjdir)/ld.so.
48023 2011-08-21 Ulrich Drepper <drepper@gmail.com>
48025 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48026 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48028 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48029 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48030 of __vdso_gettimeofday.
48031 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48032 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48034 (_libc_vdso_platform_setup): Remove initialization of
48035 __vdso_gettimeofday and __vdso_time.
48037 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48039 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48040 and fgetc_unlocked.
48041 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48044 * elf/dl-open.c (add_to_global): Report additions to the global scope
48045 for LD_DEBUG=scopes.
48046 (dl_open_worker): Also print scope of newly loaded dependencies.
48047 (_dl_show_scope): Indicate if there is no scope.
48050 * stdio-common/Makefile (tests): Add bug24.
48051 * stdio-common/bug24.c: New file.
48053 2011-08-19 Andreas Jaeger <aj@suse.de>
48056 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48057 non-existant file when using close-on-exec mode.
48059 2011-08-20 Ulrich Drepper <drepper@gmail.com>
48061 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48062 the very first instruction.
48064 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48065 the CFI state in the end.
48066 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48067 inclusion of dl-trampoline.h.
48068 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48070 2011-08-19 Andreas Schwab <schwab@redhat.com>
48072 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48073 expectations for long double.
48075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48076 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48078 2011-08-14 David S. Miller <davem@davemloft.net>
48080 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48081 artificual limit depends upon the system page size.
48083 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48085 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48086 * resolv/Makefile: Define CFLAGS-libresolv.
48088 2011-08-17 Andreas Schwab <schwab@redhat.com>
48090 * nss/makedb.c (compute_tables): Make variables used in nested
48093 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48095 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48096 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48097 if buffer was too small.
48099 * elf/pldd.c (main): Attach to all threads in the process.
48100 Rewrite /proc handling to use *at functions.
48102 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48104 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48105 specifies first scope to show.
48106 (dl_open_worker): Update callers. Move printing scope of new
48107 object to before the relocation.
48108 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48109 * sysdeps/generic/ldsodefs.h: Update declaration.
48111 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48112 string for the scope number.
48114 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48116 * nscd/servicescache.c (cache_addserv): Make sure written is always
48119 2011-08-14 Roland McGrath <roland@hack.frob.com>
48121 * sysdeps/i386/i486/bits/atomic.h
48122 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48123 statement expression, so as to suppress "set but not used" warning.
48124 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48126 * string/strncat.c (STRNCAT): Use prototype definition.
48128 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48129 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48131 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48132 (localedef-modules): Add localedef.
48133 (locale-modules): Add locale.
48135 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48136 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48137 to avoid a warning.
48139 2011-08-14 David S. Miller <davem@davemloft.net>
48141 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48142 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48144 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48146 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48147 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48148 * elf/rtld.c (dl_main): Set l_name of vDSO.
48149 Call _dl_show_scope when DL_DEBUG_SCOPES.
48150 (process_dl_debug): Recognize scopes flag and also set it for all.
48151 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48152 Declare _dl_show_scope.
48154 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48155 (do_dlopen): Pass caller_dlopen to dl_open.
48156 (__libc_dlopen_mode): Initialize caller_dlopen.
48158 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48159 of libc. Make tolower call locale-independent. Optimize a bit by
48160 using isdigit instead of isalnum.
48161 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48163 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48165 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48166 was a dependency or dynamically loaded.
48168 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48170 * intl/l10nflist.c: Allow architecture-specific pop function.
48171 * sysdeps/x86_64/l10nflist.c: New file.
48173 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48176 2011-08-10 Andreas Schwab <schwab@redhat.com>
48178 * include/dirent.h: Add libc_hidden_proto for scandirat and
48179 scandirat64. Don't declare __scandirat64.
48180 * dirent/scandirat.c: Add libc_hidden_def.
48181 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48182 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48184 2011-08-10 David S. Miller <davem@davemloft.net>
48186 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48188 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48189 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48190 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48192 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48194 * Versions.def [libc]: Add GLIBC_2.15.
48195 * dirent/Makefile (routines): Add scandirat and scandirat64.
48196 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48198 * dirent/dirent.h: Declare scandirat and scandirat64.
48199 * dirent/scandirat.c: New file.
48200 * dirent/scandirat64.c: New file.
48201 * sysdeps/wordsize-64/scandirat.c: New file.
48202 * sysdeps/wordsize-64/scandirat64.c: New file.
48203 * dirent/opendir.c: Define opendirat.
48204 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48206 * dirent/scandir64.c: Adjust for scandir.c change.
48207 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48208 __scandirat64, and __scandir_cancel_handler.
48209 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48210 additional parameter and use openat instead of open (outside of ld.so).
48211 Add new __opendir as wrapper around __opendirat.
48212 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48213 here without requiring old scandirat implementation.
48215 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48217 * dirent/scandir.c (cancel_handler): Renamed to
48218 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48219 defined. Adjust users.
48220 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48221 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48223 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48225 * string/test-string.h (IMPL): Use __STRING to expand name and then
48228 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48231 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48233 * string/Makefile: Update.
48234 (strop-tests): Append strncat.
48235 * string/test-wcscmp.c: New file.
48236 New comprehensive test for wcscmp.
48237 * string/test-strcmp.c: Update.
48238 (WIDE): New define.
48240 2011-07-22 Andreas Schwab <schwab@redhat.com>
48242 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48245 2011-07-26 Andreas Schwab <schwab@redhat.com>
48247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48248 encoding to ACE if AI_IDN.
48250 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48252 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48253 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48255 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48257 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48258 Fix overflow bug in strncat.
48259 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48261 * string/test-strncat.c: Update.
48262 Add new tests for checking overflow bugs.
48264 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48266 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48267 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48268 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48269 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48270 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48271 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48272 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48273 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48274 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48276 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48277 (USE_AS_STRCAT): Define.
48278 Add strcat and strncat support.
48279 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48281 2011-07-25 Andreas Schwab <schwab@redhat.com>
48283 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48284 __n bigger than INT_MAX+1.
48285 (__strncmp_g): Likewise.
48287 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48289 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48290 * libio/stido.h: Likewise.
48292 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48297 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48298 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48299 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48300 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48304 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48307 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48309 (_dl_x86_64_save_sse): Likewise.
48311 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48313 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48315 (_dl_x86_64_save_sse): Likewise.
48317 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48319 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48321 2011-07-21 Andreas Schwab <schwab@redhat.com>
48323 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48325 (_dl_x86_64_save_sse): Use correct AVX check.
48327 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48329 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48330 bug in strncpy/strncat.
48331 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48333 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48335 * string/tester.c (test_strcat): Add tests for different alignments
48336 of source and destination.
48337 (test_strncat): Likewise.
48339 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48342 * posix/glob.c (glob): Check passed in values before using them in
48343 expressions to avoid some overflows.
48344 (glob_in_dir): Likewise.
48347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48348 check for AVX enablement so that we don't crash with old kernels and
48350 * elf/tst-audit4.c: Add same checks here.
48351 * elf/tst-audit6.c: Likewise.
48353 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48355 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48357 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48359 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48361 * po/cs.po: Update from translation team.
48362 * po/bg.po: Likewise.
48364 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48366 * misc/sys/cdefs.h: Add support for const attribute.
48367 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48368 to gnu_dev_{major,minor,makedev} functions.
48370 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48372 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48374 2011-07-20 Andreas Schwab <schwab@redhat.com>
48376 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48379 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48381 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48382 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48383 register in order to avoid conflicts with the soft frame pointer
48384 being held in r11 when necessary.
48385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48386 (INTERNAL_VSYSCALL_NCS): Likewise.
48388 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48390 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48391 * elf/dl-fini.c (_dl_fini): Adjust caller.
48392 * elf/dl-close.c (_dl_close_worker): Likewise.
48393 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48395 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48397 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48398 "aux_cache->nlibs < 0".
48400 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48401 in the reload-count case.
48403 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48406 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48407 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48408 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48409 * sysdeps/x86_64/multiarch/strcat.S: New file.
48410 * sysdeps/x86_64/multiarch/strncat.S: New file.
48411 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48412 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48413 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48414 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48415 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48416 (USE_AS_STRCAT): Define.
48417 Add strcat and strncat support.
48418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48419 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48420 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48421 * string/strncat.c: Update.
48422 (USE_AS_STRNCAT): Define.
48423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48424 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48426 * sysdeps/x86_64/multiarch/init-arch.h
48427 (bit_Prefer_PMINUB_for_stringop): New.
48428 (index_Prefer_PMINUB_for_stringop): Likewise.
48429 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48430 bit_Prefer_PMINUB_for_stringop.
48432 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48434 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48436 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48437 of casting of buffer.
48438 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48439 buffer32 and buffer64.
48440 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48441 writes instead of casting of buffer.
48442 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48444 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48447 2011-07-19 Andreas Schwab <schwab@redhat.com>
48449 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48451 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48453 * nscd/nscd.c (termination_handler): Don't do anything for a database
48454 if it has not yet been initialized.
48456 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48458 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48460 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48462 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48464 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48466 * po/nl.po: Update from translation team.
48467 * po/sv.po: Likewise.
48469 2011-07-16 Roland McGrath <roland@hack.frob.com>
48471 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48472 now disallowed by GCC.
48474 * configure.in (use-default-link): Default to yes if a test -shared
48475 link meets our qualifications.
48476 * configure: Regenerated.
48478 * config.make.in (output-format): New variable.
48479 * configure.in: Check for ld --print-output-format support.
48480 * configure: Regenerated.
48481 * Makerules ($(common-objpfx)format.lds)
48482 [$(output-format) != unknown]: Just use $(output-format),
48483 instead of the linker-script munging.
48485 2011-07-14 Roland McGrath <roland@hack.frob.com>
48487 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48488 of $(common-objpfx)shlib.lds.
48489 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48491 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48492 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48494 * configure.in (-z relro check): Adjust test code to add a large
48495 writable data section after it.
48496 * configure: Regenerated.
48498 2011-07-11 Roland McGrath <roland@hack.frob.com>
48500 * configure.in (-z relro check): Fix test code to make the variable
48502 * configure: Regenerated.
48504 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48506 * nscd/nscd.h (struct traced_file): Define.
48507 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48508 elements. Add traced_files.
48509 (inotify_fd): Declare.
48510 (register_traced_file): Declare.
48511 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48512 (inotify_fd): Export.
48513 (resolv_conf_descr): Remove.
48514 (nscd_init): Move inotify descriptor creation to main.
48515 Don't register files for notification here.
48516 (register_traced_file): New function.
48517 (invalidate_cache): Don't use reset_res to determine whether to call
48518 res_init, go through the list of registered files.
48519 (main_loop_poll): The inotify descriptors are now stored in the
48520 structures for the traced files.
48521 (main_loop_epoll): Likewise
48522 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48523 to __nss_disable_nscd.
48524 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48525 for a database anymore. Check the records for all the registered
48527 * nss/Makefile (libnss_files-routines): Add files-init.
48528 (libnss_db-routines): Add db-init.
48529 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48530 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48531 * nss/nss_db/db-init.c: New file.
48532 * nss/nss_files/files-init.c: New file.
48533 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48534 __nss_lookup_function.
48535 (__nss_lookup_function): Call nss_load_library.
48536 (nss_load_all_libraries): New function.
48537 (__nss_disable_nscd): Take parameter with callback function for files
48538 to register. Set is_nscd. Load all the DSOs for the NSS modules
48539 used for the cached services.
48540 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48541 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48542 options for features to all the files in nscd.
48544 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48546 2011-07-10 Roland McGrath <roland@hack.frob.com>
48548 * csu/elf-init.c (__libc_csu_init): Comment typo.
48550 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48552 * po/pl.po: Update from translation team.
48553 * po/ja.po: Likewise.
48554 * po/ru.po: Likewise.
48555 * po/ko.po: Likewise.
48556 * po/fr.po: Likewise.
48558 2011-07-09 Roland McGrath <roland@hack.frob.com>
48560 * configure.in (.ctors/.dtors header and trailer check):
48561 Use an empirical test on a built program.
48562 * configure: Regenerated.
48564 * configure.in (-z relro check): Use an empirical test on a built DSO.
48565 Detect, but do not require, on ia64.
48566 * configure: Regenerated.
48568 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48569 Update tests that use readelf to use $READELF instead.
48570 * configure: Regenerated.
48572 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48574 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48575 if the result is not used.
48577 2011-07-05 Andreas Jaeger <aj@suse.de>
48580 * stdlib/tst-strtod.c: Add testcase.
48582 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48584 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48585 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48586 The latter has a higher limit. Take additional parameter to pass to
48588 (__pathconf): Pass file to __statfs_link_max.
48589 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48591 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48595 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48596 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48598 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48599 (__statfs_filesize_max): Likewise.
48600 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48602 2011-07-05 Andreas Jaeger <aj@suse.de>
48604 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48606 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48608 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48610 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48613 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48615 * Makefile (strop-tests): Add strncat.
48616 * string/test-strncat.c: New file.
48618 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48620 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48622 2011-06-21 Andreas Jaeger <aj@suse.de>
48624 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48625 Copy rule from iconvdata/Makefile.
48627 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48630 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48631 but no long options are defined, just return 'W'.
48633 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48636 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48638 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48640 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48642 (innetgr): Likewise.
48644 2011-07-05 Roland McGrath <roland@hack.frob.com>
48646 * config.make.in (install_root): Default to $(DESTDIR).
48648 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48650 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48652 2011-07-02 Roland McGrath <roland@hack.frob.com>
48654 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48656 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48657 containing directory rather than embedding absolute directory names.
48659 * scripts/check-local-headers.sh: Rewritten using awk.
48660 Match by word, not by line. Print error messages for matches.
48661 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48663 * Makerules [shlib-lds-flags empty]:
48664 ($(common-objpfx)libc_pic.opts): New target.
48665 ($(common-objpfx)libc_pic.os.clean): New target.
48666 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48668 * config.make.in (OBJCOPY): New variable.
48669 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48670 * configure: Regenerated.
48672 * config.make.in (use-default-link): New variable.
48673 * configure.in (use_default_link): Grok --with-default-link to set it.
48674 * configure: Regenerated.
48675 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48676 (shlib-lds, shlib-lds-flags): Define to empty.
48678 * Makerules (shlib-lds): New variable.
48679 (shlib-lds-flags): New variable.
48680 (build-shlib, build-moduile, build-module-asneeded): Use it.
48681 ($(common-objpfx)libc.so): Use $(shlib-lds).
48682 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48683 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48685 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48686 DT_FLAGS/DT_FLAGS_1 with zero flags.
48688 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48689 linker script munging.
48691 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48693 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48695 * crypt/sha512.c (sha512_process_block): Perform total addition using
48696 128-bit if possible.
48697 (__sha512_finish_ctx): Likewise.
48698 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48700 * crypt/sha256.c (SWAP64): Define.
48701 (sha256_process_block): Perform total addition using 64-bit if
48703 (__sha256_finish_ctx): Likewise.
48705 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48707 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48708 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48709 * nscd/hstcache.c (cache_addhst): Likewise.
48710 * nscd/grpcache.c (cache_addgr): Likewise.
48711 * nscd/aicache.c (addhstaiX): Likewise
48712 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48714 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48716 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
48722 2011-07-01 Andreas Schwab <schwab@redhat.com>
48724 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48725 domain only when needed.
48727 2011-06-30 Andreas Schwab <schwab@redhat.com>
48729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48730 is always restored.
48732 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48734 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48735 are re-adding the entry.
48736 * nscd/servicescache.c (cache_addserv): Likewise.
48738 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48740 * sysdeps/generic/dl-irel.h: fix protection against multiple
48742 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48744 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48747 * malloc/memusage.sh: Fix quoting in message.
48748 * debug/xtrace.sh: Likewise.
48750 * configure.in: Remove support for --experimental-malloc option, make
48752 * config.make.in: Likewise.
48753 * malloc/Makefile: Likewise.
48755 2011-06-27 Andreas Schwab <schwab@redhat.com>
48757 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48758 two-byte characters.
48760 2011-06-27 Roland McGrath <roland@hack.frob.com>
48762 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48763 AC_CACHE_CHECK invocation.
48764 * configure: Regenerated.
48766 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48768 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48771 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48772 bit from old_res_options.
48774 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48776 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48777 value type for setfct.
48779 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48781 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48782 __gettimeofday instead of gettimeofday.
48784 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48786 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48788 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48790 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48795 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48798 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48799 strcpy-sse2-unaligned strncpy-sse2-unaligned
48800 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48801 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48802 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48803 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48804 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48805 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48806 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48807 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48808 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48809 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48810 (STRCPY): Support SSE2 and SSSE3 versions.
48812 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48815 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48816 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48817 kernels which artificially limit size of requests.
48819 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48821 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48822 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48823 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48824 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48825 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48826 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48827 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48828 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48829 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48830 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48831 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48832 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48833 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48834 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48835 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48837 Enable unaligned load optimization for Intel Core i3, i5 and i7
48839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48841 (index_Fast_Unaligned_Load): Define.
48842 (HAS_FAST_UNALIGNED_LOAD): Define.
48844 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48846 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48848 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48852 until it is clear that the information is realy needed.
48853 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48855 2011-06-22 Andreas Schwab <schwab@redhat.com>
48857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48859 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48861 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48862 /sys/devices/system/cpu/online if it is usable.
48864 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48865 reading the information from the /proc filesystem to once a second.
48867 2011-06-21 Andreas Jaeger <aj@suse.de>
48869 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48870 NULL after inclusion of kernel headers.
48872 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48874 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48875 calls to internal_setent.
48878 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48879 addresses using gethostbyname4_r ignore IPv4 addresses.
48881 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48882 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48884 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48886 2011-06-20 David S. Miller <davem@davemloft.net>
48888 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48890 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48892 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48893 (elf_irel): Use it.
48894 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48895 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48896 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48897 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48898 * sysdeps/x86_64/dl-irel.h: Likewise.
48900 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48901 * elf/dl-sym.c: Likewise.
48903 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48905 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48906 need to dereference resplen2.
48908 2011-06-14 Andreas Schwab <schwab@redhat.com>
48910 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48912 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48914 * Makeconfig: Define vardbdir and inst_vardbdir.
48915 * nss/Makefile: Add rules to install db-Makefile.
48917 * nss/nss_db/db-XXX.c: Cleanup.
48919 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48920 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48922 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48923 * nss/makedb.c: Implement -g option to specify that value strings
48924 are generated and should not be added to table iterated over for
48926 * nss/nss_db/db-initgroups.c: New file.
48928 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48931 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48932 (internal_getgrouplist): Adjust to name change.
48933 Update use_initgroups_entry if this is not the first call.
48934 * nss/databases.def: Add initgroups entry.
48936 * nss/makedb.c (compute_tables): Check result of multiple hash table
48937 sizes to minimize maximum chain length.
48939 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48941 * Versions.def: Add entry for libnss_db.
48942 * shlib-versions: Likewise.
48943 * nss/Makefile: Add rules to build libnss_db.
48944 * nss/Versions: Add libnss_db information. Organize libnss_files
48946 * nss/db-Makefile: Add gshadow support. Change rules for the new
48947 makedb progra. Some minor improvements to generate smaller files.
48948 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48950 * nss/makedb.c: ...here.
48951 Improve database format to be smaller and require less memory at
48953 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48955 * nss/nss_db/db-netgrp.c: Likewise.
48956 * nss/nss_db/db-open.c: Likewise.
48957 * nss/nss_files/flies-XXX.x: Adjust comments.
48958 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48959 * nss/nss_files/files-grp.c: Likewise.
48960 * nss/nss_files/files-hosts.c: Likewise.
48961 * nss/nss_files/files-network.c: Likewise.
48962 * nss/nss_files/files-proto.c: Likewise.
48963 * nss/nss_files/files-pwd.c: Likewise.
48964 * nss/nss_files/files-rpc.c: Likewise.
48965 * nss/nss_files/files-service.c: Likewise.
48966 * nss/nss_files/files-sgrp.c: Likewise.
48967 * nss/nss_files/files-spwd.c: Likewise.
48968 * nss/nss_db/db-alias.c: Removed.
48969 * nss/nss_db/dummy-db.h: Removed.
48971 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48973 * nss/makedb.c: Rewritten to not use database library.
48974 * nss/Makefile: Update to build new makedb program.
48976 2011-06-14 Andreas Jaeger <aj@suse.de>
48978 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48979 memset declaration.
48981 2011-06-10 Andreas Schwab <schwab@redhat.com>
48983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48986 2011-06-10 Roland McGrath <roland@hack.frob.com>
48988 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48989 * elf/Makefile ($(objpfx)ld.so): Likewise.
48991 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48992 Don't list ld.so twice in dependencies.
48994 * posix/bug-regex31.c: Include <stdlib.h>.
48996 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48998 * nis/nss_compat/compat-spwd.c
48999 (getspent_next_nss_netgr): Remove unused variable.
49000 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49002 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49003 nonmembers" output to use the right array.
49005 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49007 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49009 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49010 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49011 * catgets/gencat.c (read_input_file): Likewise.
49012 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49014 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49015 variable definition inside #if's controlling its use.
49017 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49019 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49021 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49023 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49026 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49028 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49029 * configure: Regenerated.
49031 * Makerules: Revert last change.
49032 * elf/Makefile: Likewise.
49034 2011-06-09 Roland McGrath <roland@hack.frob.com>
49036 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49037 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49038 (reloc-link): Likewise.
49040 2011-06-09 Ulrich Drepper <drepper@gmail.com>
49042 * elf/Makefile: Add rules to build pldd.
49043 * elf/pldd.c: New file.
49044 * elf/pldd-xx.c: New file.
49046 2011-06-07 Ulrich Drepper <drepper@gmail.com>
49048 * version.h: Update for 2.15 development version.
49050 2011-06-07 David S. Miller <davem@davemloft.net>
49052 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49055 elf_machine_lazy_rel): Likewise.
49056 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49057 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49058 elf_machine_lazy_rel): Likewise.
49059 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49060 dl_hwcap via passed in argument.
49061 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49064 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49066 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49068 2011-06-06 Roland McGrath <roland@hack.frob.com>
49071 * manual/fdl-1.1.texi: New file, verbatim from:
49072 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49073 * manual/lgpl-2.1.texi: New file, verbatim from:
49074 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49075 * manual/Makefile (licenses): New variable, list those new file names.
49077 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49079 * manual/fdl.texi: File removed.
49080 * manual/lesser.texi: File removed.
49081 * manual/libc.texinfo (Copying, Documentation License):
49082 Use new @include file names, put @appendix directive before @include.
49084 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49087 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49088 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49089 (mq_open): Add __NTH.
49091 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49094 Assume Intel Core i3/i5/i7 processor if AVX is available.
49096 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49101 2011-05-31 Andreas Schwab <schwab@redhat.com>
49103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49104 memory. Use alloca_account. Fix memory leak when retrying.
49106 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49108 * version.h (RELEASE): Bump for 2.14 release.
49109 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49111 * config.make.in (RANLIB): Remove entry.
49113 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49115 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49116 (libc.pot): Work around missing support for .ksh extension in xgettext.
49119 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49120 if both request failed.
49121 (send_dg): In case of server errors clear resplen or *resplen2.
49124 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49125 when there are multiple maps.
49126 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49127 (_dl_fini): Remove test here.
49129 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49131 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49134 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49135 bit from old_res_options.
49136 (gaih_inet): Likewise.
49139 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49142 * resolv/res_init.c (res_setoptions): Make the code more compact.
49145 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49149 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49151 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49154 * malloc/malloc.h: Declare malloc hook variables as volatile.
49156 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49160 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49161 raise in the comment.
49162 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49164 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49166 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49169 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49170 grow the buffers more if it already has to be sufficient.
49171 (build_wcs_upper_buffer): Likewise.
49172 * posix/regexec.c (check_matching): Likewise.
49173 (clean_state_log_if_needed): Likewise.
49174 (extend_buffers): Don't enlarge buffers beyond size of the input
49176 Patches mostly by Emil Wojak <emil@wojak.eu>.
49177 * posix/bug-regex32.c: New file.
49178 * posix/Makefile (tests): Add bug-regex32.
49180 * locale/findlocale.c (_nl_find_locale): Return right away if
49181 _nl_explode_name failed.
49182 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49184 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49186 * debug/xtrace.sh: Unify messages.
49187 * malloc/memusage.sh: Likewise.
49190 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49191 time symbol from vDSO. Substitute with vsyscall if not available.
49192 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49195 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49196 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49197 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49198 Add sendmmsg and internal_sendmmsg.
49199 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49200 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49201 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49203 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49204 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49205 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49207 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49210 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49211 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49213 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49217 * iconvdata/Makefile (tests): Add bug-iconv9.
49218 * iconvdata/bug-iconv9.c: New file.
49220 2011-05-27 Andreas Schwab <schwab@redhat.com>
49223 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49225 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49227 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49228 (struct user_regs_struct): Change intcs field back to cs.
49230 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49232 * po/ja.po: Update from translation team.
49234 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49237 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49238 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49240 2011-05-20 Andreas Schwab <schwab@redhat.com>
49242 * stdlib/longlong.h: Update from GCC.
49244 2011-05-23 Andreas Schwab <schwab@redhat.com>
49246 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49248 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49249 Add parameter name.
49250 (__sysconf): Pass it down.
49252 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49255 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49257 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49258 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49259 add in in __libc_use_alloca calls. Adjust callers.
49260 (glob): Use malloc in some situations.
49262 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49263 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49266 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49268 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49269 and CLOCK_BOOTTIME_ALARM.
49272 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49275 * string/_strerror.c (__strerror_r): Print negative errors as signed
49279 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49280 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49281 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49283 * configure.in: Fix typo in redirection and correct removal of test
49284 files in two cases.
49287 * locale/setlocale.c (new_composite_name): Fix test to check for
49288 identical name of all categories.
49291 * libio/filedoalloc.c (local_isatty): New function.
49292 (_IO_file_doallocate): Use local_isatty.
49293 * stdio-common/perror.c (perror): In case a new stream is used
49294 forward the stream error.
49295 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49298 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49303 * include/alloca.h (extend_alloca_account): Define.
49306 * posix/regex.h: Fix comments with documentation of user-accessible
49307 fields after compilation and describe correct free'ing of pattern
49308 after re_compile_pattern.
49309 Patch by Reuben Thomas <rrt@sc3d.org>.
49311 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49313 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49314 and -mno-altivec to prevent the compiler from using Altivec and/or
49315 VSX instructions when the corresponding registers are not available.
49317 2011-05-19 Andreas Schwab <schwab@redhat.com>
49319 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49321 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49323 * libio/freopen.c (freopen): Use __dup2, not dup2.
49324 * libio/freopen64.c (freopen64): Likewise.
49326 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49329 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49330 * math/Makefile (tests): Add test-powl.
49331 (CFLAGS-test-powl.c): Define.
49332 * math/test-powl.c: New file.
49334 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49336 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49338 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49341 * iconvdata/gb18030.c: Update to GB18020-2005.
49343 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49345 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49346 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49347 Patch by Aharon Robbins <arnold@skeeve.com>.
49350 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49354 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49355 through underflows.
49358 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49359 point to strings before performing equality test for error_one_per_line
49363 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49367 (struct user_fpregs_struct): Avoid __uint*_t types.
49370 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49371 symbol info. Use it instead of calling _dl_addr locally.
49372 (lock_and_info): New function.
49373 (tr_freehook): Call lock_and_info and pass symbol info as additional
49374 parameter to tr_where.
49375 (tr_mallochook): Likewise.
49376 (tr_reallochook): Likewise.
49377 (tr_memalignhook): Likewise.
49379 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49380 used and couldn't be at all thread-safe.
49382 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49384 * libio/freopen.c (freopen): Don't close old file descriptor
49385 before the new one is opened. Instead dup the new file descriptor
49386 to the old one after the new stream is created.
49387 * libio/freopen64.c (freopen64): Likewise.
49388 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49389 * libio/fileops.c (_IO_new_file_close_it): Handle new
49390 _IO_FLAGS2_NOCLOSE flag.
49391 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49392 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49393 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49394 _IO_FLAGS2_NOCLOSE flag.
49395 * include/unistd.h: Add hidden_proto for dup3.
49396 Define __have_dup3.
49397 * io/dup3.c: Define hidden symbol.
49398 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49401 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49402 when an incomplete long option is used.
49403 * posix/tst-getopt_long1.c: New file.
49404 * posix/Makefile (tests): Add tst-getopt_long1.
49407 * scripts/config.guess: Update from autoconf-2.68.
49408 * scripts/config.sub: Likewise.
49411 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49413 (has_cpuclock): ...this. New function.
49414 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49415 macro here based on has_cpuclock code.
49418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49419 First byte (not low byte) is now always NUL.
49420 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49422 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49423 Use non-cancelable interfaces.
49426 * locale/iso-639.def: Add entry for Sorani.
49429 * include/stdlib.h: Move include protection to the right place.
49430 Define abort_msg_s. Declare __abort_msg with it.
49431 * stdlib/abort.c (__abort_msg): Adjust type.
49432 * assert/assert.c (__assert_fail_base): New function. Majority
49433 of code from __assert_fail. Allocate memory for __abort_msg with
49435 (__assert_fail): Now call __assert_fail_base.
49436 * assert/assert-perr.c: Remove bulk of implementation. Use
49437 __assert_fail_base.
49438 * include/assert.hL Declare __assert_fail_base.
49439 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49441 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49443 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49447 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49448 until all modules are registered in the DTV.
49449 * elf/Makefile: Add rules to build and run tst-tls19.
49450 * elf/tst-tls19.c: New file.
49451 * elf/tst-tls19mod1.c: New file.
49452 * elf/tst-tls19mod2.c: New file.
49453 * elf/tst-tls19mod3.c: New file.
49454 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49457 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49461 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49462 two-byte sequence errors.
49463 * iconvdata/Makefile (tests): Add bug-iconv8.
49464 * iconvdata/bug-iconv8.c: New file.
49467 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49470 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49473 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49474 (dummy_getcfa): New function.
49475 (init): Get _Unwind_GetCFA address, use dummy if not found.
49476 (backtrace_helper): In recursion check, also check whether CFA changes.
49477 (__backtrace): Completely initialize arg.
49479 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49480 storing incomplete byte sequence in state object. Avoid testing for
49481 guaranteed too small input if we know there is enough data available.
49483 2011-05-11 Andreas Schwab <schwab@redhat.com>
49485 * Makeconfig (+link-pie): Indent.
49486 * Rules (binaries-pie): Define if $(have-fpie) and
49488 (binaries-shared): Also filter out $(binaries-pie).
49489 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49490 * nscd/Makefile (others-pie): Add nscd.
49491 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49492 ($(objpfx)nscd): Remove command override.
49493 * login/Makefile (others-pie): Add pt_chown.
49494 ($(objpfx)pt_chown): Remove command override.
49495 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49496 remove command overrides.
49498 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49500 * libio/tst_putwc.c: Fix error messages.
49503 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49504 currently writing and seek to current position when not.
49505 * libio/Makefile (tests): Add bug-fclose1.
49506 * libio/bug-fclose1.c: New file.
49508 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49511 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49512 don't set DF_1_NODELETE here.
49513 (do_lookup_x): When entering new entry test for copy relocation
49514 and if necessary set DF_1_NODELETE flag.
49515 * elf/tst-unique4.cc: New file.
49516 * elf/tst-unique4.h: New file.
49517 * elf/tst-unique4lib.cc: New file.
49518 * elf/Makefile: Add rules to build and run tst-unique4.
49519 Patch by Piotr Bury <pbury@goahead.com>.
49521 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49524 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49527 * misc/mntent_r.c (addmntent): Flush the stream after the output
49530 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49531 (is_trusted_path_normalize): Skip initial colon. Append slash
49532 to empty buffer. Duplicate is_trusted_path code but allow
49533 constructed patch to be prefix.
49534 (is_dst): Allow $ORIGIN followed by /.
49535 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49536 Correct testing of result of is_trusted_path_normalize
49537 (decompose_rpath): Fix warning.
49539 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49542 * grp/initgroups.c (internal_getgrouplist): When we found the service
49543 list through the initgroups entry in nsswitch.conf do not always
49544 continue on a successful lookup. Don't always use the
49545 __nss_group_database value if it is set.
49546 * nss/nsswitch.conf (initgroups): Change action for successful db
49547 lookup to continue for compatibility.
49549 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49552 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49554 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49556 * iconvdata/tst-tables.sh: Likewise.
49557 * iconvdata/cp770.c: New file.
49558 * iconvdata/cp771.c: New file.
49559 * iconvdata/cp772.c: New file.
49560 * iconvdata/cp773.c: New file.
49561 * iconvdata/cp774.c: New file.
49562 * iconvdata/testdata/CP770: New file.
49563 * iconvdata/testdata/CP770..UTF8: New file.
49564 * iconvdata/testdata/CP771: New file.
49565 * iconvdata/testdata/CP771..UTF8: New file.
49566 * iconvdata/testdata/CP772: New file.
49567 * iconvdata/testdata/CP772..UTF8: New file.
49568 * iconvdata/testdata/CP773: New file.
49569 * iconvdata/testdata/CP773..UTF8: New file.
49570 * iconvdata/testdata/CP774: New file.
49571 * iconvdata/testdata/CP774..UTF8: New file.
49573 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49575 * iconvdata/gen-8bit-gap.sh: Likewise.
49576 * iconvdata/gen-8bit.sh: Likewise.
49578 * locale/iso-639.def: Add ary entry.
49581 * locale/C-translit.h.in: Add U20A1 transliteration.
49584 * locale/iso-639.def: Add wae entry.
49585 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49588 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49592 * locale/C-translit.h.in: Add entry for U20B9.
49593 Patch by pravin.d.s@gmail.com.
49595 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49598 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49599 ENAMETOOLONG use generic getcwd.
49600 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49601 in rtld. Use *stat64.
49602 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49603 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49604 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49605 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49606 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49607 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49608 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49609 __fstatat64 macros.
49610 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49611 * dirent/rewinddir.c: Add libc_hidden_def.
49612 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49613 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49615 * include/dirent.h (__alloc_dir): Add flags parameter.
49616 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49617 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49619 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49620 from fdopendir if O_CLOEXEC is already set.
49622 2011-03-15 Alan Modra <amodra@gmail.com>
49624 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49625 l_tls_firstbyte_offset non-zero. Save padding offset in
49626 l_tls_firstbyte_offset for later use.
49627 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49628 freeing static tls block.
49630 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49632 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49633 where #ifdef was intended. The intent is to prevent ARG_MAX from
49634 being defined by the kernel headers.
49636 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49639 * resolv/resolv.h: Define RES_NOTLDQUERY.
49640 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49641 no-tld-query and set RES_NOTLDQUERY.
49642 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49643 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49644 modern BIND to search name as TLD unless forbidden.
49646 2011-05-07 Petr Baudis <pasky@suse.cz>
49647 Ulrich Drepper <drepper@gmail.com>
49650 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49651 (is_trusted_path): ...to here.
49652 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49653 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49654 using is_trusted_path_normalize() in setuid scripts.
49656 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49659 __BEGIN/__END_DECLS.
49661 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49663 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49664 NSS_STATUS_NOTFOUND if no record was found.
49666 2011-05-05 Andreas Schwab <schwab@redhat.com>
49668 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49669 (headers-not-in-tirpc): Remove rpc/netdb.h
49670 * resolv/netdb.h: Revert last change.
49672 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49674 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49675 circular dependency between libgcc.a and libc.a.
49677 2011-05-05 Andreas Schwab <schwab@redhat.com>
49679 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49680 * nis/Makefile: Don't install rpcsvc/*.
49681 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49682 instead of <rpc/types.h>.
49683 (MAXHOSTNAMELEN): Define.
49685 2011-05-03 Andreas Schwab <schwab@redhat.com>
49687 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49689 2011-04-28 Maciej Babinski <mbabinski@google.com>
49692 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49693 gethostbyname4_r when IPv6 results are possible.
49695 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49698 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49699 _PC_PIPE_BUF handling.
49701 2011-04-30 Bruno Haible <bruno@clisp.org>
49704 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49705 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49707 * inet/getnameinfo.c (getnameinfo): Likewise.
49709 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49711 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49712 to groups setting in database lookup.
49713 * nss/nsswitch.conf: Add initgroups entry.
49715 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49718 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49720 Patch by Eric Blake <eblake@redhat.com>.
49722 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49724 * sunrpc/Makefile (need-export-routines): Add svc_run.
49725 (routines): Remove svc_run.
49726 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49727 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49728 * sunrpc/svc_run.c (svc_run): Likewise.
49729 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49731 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49733 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49734 problem in reallocation in last patch.
49736 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49738 * sunrpc/Makefile: Move inclusion of Rules.
49740 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49742 * nss/nss_files/files-initgroups.c: New file.
49743 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49744 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49745 _nss_files_initgroups_dyn.
49747 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49749 * elf/elf.h (R_ARM_IRELATIVE): Define.
49751 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49753 * po/ru.po: Update from translation team.
49755 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49757 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49760 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49763 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49764 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49765 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49766 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49767 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49769 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49771 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49773 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49774 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49777 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49780 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49782 * stdlib/bug-getcontext.c: New file.
49783 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49785 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49787 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49788 instructions into .machine "z9-109".
49789 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49790 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49792 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49794 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49795 between environment variables and auxiliary vector.
49797 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49799 * Makefile: Add rules to build linkobj/libc.so.
49800 * include/libc-symbols.h: Define libc_hidden_nolink.
49801 * include/rpc/auth.h: Mark functions which are to be hidden.
49802 * include/rpc/auth_des.h: Likewise.
49803 * include/rpc/auth_unix.h: Likewise.
49804 * include/rpc/clnt.h: Likewise.
49805 * include/rpc/des_crypt.h: Likewise.
49806 * include/rpc/key_prot.h: Likewise.
49807 * include/rpc/pmap_clnt.h: Likewise.
49808 * include/rpc/pmap_prot.h: Likewise.
49809 * include/rpc/pmap_rmt.h: Likewise.
49810 * include/rpc/rpc_msg.h: Likewise.
49811 * include/rpc/svc.h: Likewise.
49812 * include/rpc/svc_auth.h: Likewise.
49813 * include/rpc/xdr.h: Likewise.
49814 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49815 * nss/Makefile: Likewise.
49816 * sunrpc/Makefile: Don't install headers. Build library with normal
49817 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49818 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49819 for the compat linking library. Remove use of INTDEF/INTUSE.
49820 * sunrpc/auth_none.c: Likewise.
49821 * sunrpc/auth_unix.c: Likewise.
49822 * sunrpc/authdes_prot.c: Likewise.
49823 * sunrpc/authuxprot.c: Likewise.
49824 * sunrpc/clnt_gen.c: Likewise.
49825 * sunrpc/clnt_perr.c: Likewise.
49826 * sunrpc/clnt_raw.c: Likewise.
49827 * sunrpc/clnt_simp.c: Likewise.
49828 * sunrpc/clnt_tcp.c: Likewise.
49829 * sunrpc/clnt_udp.c: Likewise.
49830 * sunrpc/clnt_unix.c: Likewise.
49831 * sunrpc/des_crypt.c: Likewise.
49832 * sunrpc/des_soft.c: Likewise.
49833 * sunrpc/get_myaddr.c: Likewise.
49834 * sunrpc/key_call.c: Likewise.
49835 * sunrpc/key_prot.c: Likewise.
49836 * sunrpc/netname.c: Likewise.
49837 * sunrpc/pm_getmaps.c: Likewise.
49838 * sunrpc/pm_getport.c: Likewise.
49839 * sunrpc/pmap_clnt.c: Likewise.
49840 * sunrpc/pmap_prot.c: Likewise.
49841 * sunrpc/pmap_prot2.c: Likewise.
49842 * sunrpc/pmap_rmt.c: Likewise.
49843 * sunrpc/publickey.c: Likewise.
49844 * sunrpc/rpc_cmsg.c: Likewise.
49845 * sunrpc/rpc_common.c: Likewise.
49846 * sunrpc/rpc_dtable.c: Likewise.
49847 * sunrpc/rpc_prot.c: Likewise.
49848 * sunrpc/rpc_thread.c: Likewise.
49849 * sunrpc/rtime.c: Likewise.
49850 * sunrpc/svc.c: Likewise.
49851 * sunrpc/svc_auth.c: Likewise.
49852 * sunrpc/svc_authux.c: Likewise.
49853 * sunrpc/svc_raw.c: Likewise.
49854 * sunrpc/svc_run.c: Likewise.
49855 * sunrpc/svc_simple.c: Likewise.
49856 * sunrpc/svc_tcp.c: Likewise.
49857 * sunrpc/svc_udp.c: Likewise.
49858 * sunrpc/svc_unix.c: Likewise.
49859 * sunrpc/svcauth_des.c: Likewise.
49860 * sunrpc/xcrypt.c: Likewise.
49861 * sunrpc/xdr.c: Likewise.
49862 * sunrpc/xdr_array.c: Likewise.
49863 * sunrpc/xdr_float.c: Likewise.
49864 * sunrpc/xdr_intXX_t.c: Likewise.
49865 * sunrpc/xdr_mem.c: Likewise.
49866 * sunrpc/xdr_rec.c: Likewise.
49867 * sunrpc/xdr_ref.c: Likewise.
49868 * sunrpc/xdr_sizeof.c: Likewise.
49869 * sunrpc/xdr_stdio.c: Likewise.
49871 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49874 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49875 * sysdeps/ia64/dl-tls.h: Likewise.
49876 * sysdeps/powerpc/dl-tls.h: Likewise.
49877 * sysdeps/s390/dl-tls.h: Likewise.
49878 * sysdeps/sh/dl-tls.h: Likewise.
49879 * sysdeps/sparc/dl-tls.h: Likewise.
49880 * sysdeps/x86_64/dl-tls.h: Likewise.
49881 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49883 2011-03-14 Andreas Schwab <schwab@redhat.com>
49885 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49886 rpath element also skip the following colon.
49887 (expand_dynamic_string_token): Add is_path parameter and pass
49888 down to DL_DST_REQUIRED and _dl_dst_substitute.
49889 (decompose_rpath): Call expand_dynamic_string_token with
49890 non-zero is_path. Ignore empty rpaths.
49891 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49894 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49899 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49902 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49903 Patch by Filipe David Manana <fdmanana@apache.org>.
49905 2011-04-07 Andreas Schwab <schwab@redhat.com>
49907 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49908 Maintain aligned stack.
49909 (CHECK_RSP): Remove unused macro.
49911 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49913 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49914 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49916 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49918 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49920 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49922 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49925 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49926 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49927 * sysdeps/x86_64/memmove.c: New file.
49928 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49929 (memcpy): Renamed to ...
49930 (__new_memcpy): This.
49931 (memcpy): Provide GLIBC_2_14 memcpy.
49932 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49933 (memcpy): Provide GLIBC_2_2_5 memcpy.
49935 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49938 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49940 2011-03-30 Andreas Schwab <schwab@redhat.com>
49942 * misc/syncfs.c: New file.
49943 * misc/Makefile (routines): Add syncfs.
49944 * posix/unistd.h: Declare syncfs.
49945 * sysdeps/unix/syscalls.list: Add syncfs.
49947 2011-04-01 Andreas Schwab <schwab@redhat.com>
49949 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49951 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49952 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49953 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49954 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49956 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49957 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49959 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49961 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49962 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49963 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49964 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49965 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49967 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49969 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49970 sync_file_range.c with -fexceptions.
49971 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49972 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49973 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49974 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49975 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49976 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49977 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49978 sync_file_range as cancellation point
49979 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49980 now a wrapper around __call_sync_file_range with cancellation handling.
49981 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49982 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49983 function name to __call_sync_file_range.
49984 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49985 Add call_sync_file_range.
49987 2011-04-01 Andreas Schwab <schwab@redhat.com>
49989 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49992 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49994 * iconv/iconv.h: Fix typo in comment.
49995 * io/fcntl.h: Likewise.
49996 * libio/stdio.h: Likewise.
49997 * posix/spawn.h: Likewise.
49998 * posix/unistd.h: Likewise.
49999 * stdlib/stdlib.h: Likewise.
50000 * time/time.h: Likewise.
50001 * wcsmbs/wchar.h: Likewise.
50003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50004 open_by_handle): Add.
50005 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50006 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50007 Augment a few comments.
50008 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50013 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50016 * io/fcntl.h (AT_EMPTY_PATH): Define.
50018 2011-03-30 Ulrich Drepper <drepper@gmail.com>
50020 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50021 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50022 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50024 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
50025 * Versions.def: Add GLIBC_2.14.
50026 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50029 2011-03-22 Ulrich Drepper <drepper@gmail.com>
50031 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50033 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50035 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50038 * string/test-strncmp.c (do_page_test): New function.
50039 (check2): Likewise.
50040 (test_main): Call check2.
50041 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50043 2011-03-20 Ulrich Drepper <drepper@gmail.com>
50046 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50047 Handle cache information in CPU leaf 4.
50048 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50050 2011-03-18 Ulrich Drepper <drepper@gmail.com>
50053 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50054 character representation.
50055 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50057 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50059 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50060 END(__isnan) to END(__isnanf) to match function entry point/label
50061 EALIGN(__isnanf,...).
50063 2011-03-10 Jakub Jelinek <jakub@redhat.com>
50065 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50067 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50070 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50071 copy from the symbol referenced in the relocation to initialize the
50073 Patch by Piotr Bury <pbury@goahead.com>.
50074 * elf/Makefile: Add rules to build and tst-unique3.
50075 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50076 * elf/tst-unique3.cc: New file.
50077 * elf/tst-unique3.h: New file.
50078 * elf/tst-unique3lib.cc: New file.
50079 * elf/tst-unique3lib2.cc: New file.
50081 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50083 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50085 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50086 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50089 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50091 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50092 to-be-loaded object along a path to loader is ld.so.
50094 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50095 Ulrich Drepper <drepper@gmail.com>
50097 * sysdeps/x86_64/memset.S: After aligning destination, code
50098 branches to different locations depending on the value of
50099 misalignment, when multiarch is enabled. Fix this.
50101 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50103 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50104 Set _x86_64_preferred_memory_instruction for AMD processsors.
50105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50106 Set bit_Prefer_SSE_for_memop for AMD processors.
50108 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50110 * libio/fmemopen.c (fmemopen): Optimize a bit.
50112 2011-03-03 Andreas Schwab <schwab@redhat.com>
50114 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50116 2011-03-03 Roland McGrath <roland@redhat.com>
50118 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50120 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50122 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50123 __bzero_ultra1 instead of __memset_ultra1.
50125 2011-02-23 Andreas Schwab <schwab@redhat.com>
50126 Ulrich Drepper <drepper@gmail.com>
50129 * include/link.h (struct link_map): Add l_orig_initfini.
50130 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50131 returning unsuccessfully.
50132 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50133 close of a file loaded at startup, restore the original l_initfini
50135 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50136 list, store the pointer.
50137 * elf/Makefile ($(objpfx)noload-mem): New rule.
50138 (noload-ENV): Define.
50139 (tests): Add $(objpfx)noload-mem.
50140 * elf/noload.c: Include <memcheck.h>.
50141 (main): Call mtrace. Close all opened handles.
50143 2011-02-17 Andreas Schwab <schwab@redhat.com>
50146 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50147 dependencies are missing.
50149 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50151 Fix __if_freereq crash: Unlike the generic version which uses free,
50153 * sysdeps/mach/hurd/ifreq.h: New file.
50155 2011-01-27 Petr Baudis <pasky@suse.cz>
50156 Ulrich Drepper <drepper@gmail.com>
50159 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50160 to extend_alloca().
50161 * stdio-common/bug23.c: New file.
50162 * stdio-common/Makefile (tests): Add bug23.
50164 2010-09-28 Andreas Schwab <schwab@redhat.com>
50165 Ulrich Drepper <drepper@gmail.com>
50168 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50169 before performing relro protection. At old place add assertion
50170 to make sure nothing changed.
50172 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50173 Glauber de Oliveira Costa <glommer@gmail.com>
50175 * elf/elf.h: Add new ARM TLS relocs.
50177 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50180 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50182 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50184 * sysdeps/wordsize-64/tst-writev.c: New file.
50186 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50188 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50189 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50190 insns in _dl_start to prevent a TOC reference before relocs are
50193 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50196 * Makeconfig: Remove RANLIB definition.
50197 * Makerules: Don't use RANLIB.
50198 * aclocal.m4: Remove ranlib test.
50199 * configure.in: No need to check for ranlib.
50200 * elf/rtld-Rules: Don't use RANLIB.
50202 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50204 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50206 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50207 inclusion protection macro.
50209 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50210 SIGRTMIN and SIGRTMAX and print information in that case only when
50211 SIGRTMIN is defined.
50213 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50215 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50216 arginfo fn returning -1.
50218 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50219 and thousands string is zero terminated.
50221 2011-02-03 Andreas Schwab <schwab@redhat.com>
50223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50224 sysdeps/unix/sysv/linux/bits/socket.h.
50226 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50228 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50229 (__CPU_COUNT): Remove old macros.
50230 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50231 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50232 (__CPU_ALLOC, __CPU_FREE): Add macros.
50233 (__sched_cpualloc, __sched_cpufree): Add declarations.
50235 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50237 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50238 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50239 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50240 (readdhstai): Return value of addhstaiX call.
50241 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50242 (addgrbyX): Return value returned by cache_addgr.
50243 (readdgrbyname): Return value returned by addgrbyX.
50244 (readdgrbygid): Likewise.
50245 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50246 (addpwbyX): Return value returned by cache_addpw.
50247 (readdpwbyname): Return value returned by addhstbyX.
50248 (readdpwbyuid): Likewise.
50249 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50250 (addservbyX): Return value returned by cache_addserv.
50251 (readdservbyname): Return value returned by addservbyX:
50252 (readdservbyport): Likewise.
50253 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50254 (addhstbyX): Return value returned by cache_addhst.
50255 (readdhstbyname): Return value returned by addhstbyX.
50256 (readdhstbyaddr): Likewise.
50257 (readdhstbynamev6): Likewise.
50258 (readdhstbyaddrv6): Likewise.
50259 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50260 (readdinitgroups): Return value returned by addinitgroupsX.
50261 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50262 (prune_cache): Keep track of timeout value of re-added entries.
50263 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50264 * nscd/nscd.h: Adjust prototypes of readd* functions.
50266 2011-02-04 Roland McGrath <roland@redhat.com>
50268 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50269 (nis_stats): Likewise.
50270 * nis/nis_modify.c (nis_modify): Likewise.
50271 * nis/nis_remove.c (nis_remove): Likewise.
50272 * nis/nis_add.c (nis_add): Likewise.
50274 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50276 * posix/fnmatch_loop.c: Add some consts.
50278 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50280 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50283 * config.make.in (config-cflags-novzeroupper): Define.
50284 * configure.in: Substitute libc_cv_cc_novzeroupper.
50285 * elf/Makefile (AVX-CFLAGS): Define.
50286 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50287 (CFLAGS-tst-auditmod4a.c): Likewise.
50288 (CFLAGS-tst-auditmod4b.c): Likewise.
50289 (CFLAGS-tst-auditmod6b.c): Likewise.
50290 (CFLAGS-tst-auditmod6c.c): Likewise.
50291 (CFLAGS-tst-auditmod7b.c): Likewise.
50292 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50294 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50296 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50297 function to the callback.
50298 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50300 2011-02-02 Andreas Schwab <schwab@redhat.com>
50302 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50305 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50308 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50310 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50312 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50315 * elf/Makefile: Add rules to build and run new test.
50316 * elf/tst-initorder.c: New file.
50317 * elf/tst-initorder.exp: New file.
50318 * elf/tst-initordera1.c: New file.
50319 * elf/tst-initordera2.c: New file.
50320 * elf/tst-initordera3.c: New file.
50321 * elf/tst-initordera4.c: New file.
50322 * elf/tst-initorderb1.c: New file.
50323 * elf/tst-initorderb2.c: New file.
50324 * elf/tst-order-a1.c: New file.
50325 * elf/tst-order-a2.c: New file.
50326 * elf/tst-order-a3.c: New file.
50327 * elf/tst-order-a4.c: New file.
50328 * elf/tst-order-b1.c: New file.
50329 * elf/tst-order-b2.c: New file.
50330 * elf/tst-order-main.c: New file.
50331 New test case by George Gensure <werkt0@gmail.com>.
50333 2010-10-01 Andreas Schwab <schwab@redhat.com>
50335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50336 decoding ACE if AI_CANONIDN.
50338 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50340 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50342 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50344 * version.h (RELEASE): Bump for 2.13 release.
50345 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50347 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50349 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50351 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50352 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50353 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50354 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50355 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50356 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50358 * posix/getconf.c: Update copyright year.
50359 * catgets/gencat.c: Likewise.
50360 * csu/version.c: Likewise.
50361 * debug/catchsegv.sh: Likewise.
50362 * debug/xtrace.sh: Likewise.
50363 * elf/ldconfig.c: Likewise.
50364 * elf/ldd.bash.in: Likewise.
50365 * elf/sprof.c (print_version): Likewise.
50366 * iconv/iconv_prog.c: Likewise.
50367 * iconv/iconvconfig.c: Likewise.
50368 * locale/programs/locale.c: Likewise.
50369 * locale/programs/localedef.c: Likewise.
50370 * malloc/memusage.sh: Likewise.
50371 * malloc/mtrace.pl: Likewise.
50372 * nscd/nscd.c (print_version): Likewise.
50373 * nss/getent.c: Likewise.
50375 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50376 PF_CAIF, and PF_ALG.
50377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50379 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50381 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50382 (modules-names): Use them.
50383 (ifunc-test-modules, ifunc-pie-tests): Define.
50384 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50385 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50386 (test-extras): Likewise.
50387 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50388 $(compile-command.c).
50389 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50390 (all-built-dso): Define.
50391 (check-textrel.out, check-execstack.out): Depend on it.
50393 * configure.in: Don't override --enable-multi-arch.
50395 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50398 * nscd/hstcache.c (tryagain): Define.
50399 (cache_addhst): Return tryagain not notfound for temporary errors.
50400 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50403 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50406 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50407 to make the syscall.
50408 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50411 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50412 and fall back to matching as normal character if the string ends before
50413 the matching ']' is found. This is what POSIX requires.
50414 * posix/testfnm.c: Adjust test result.
50415 * posix/globtest.sh: Adjust test result. Add new test.
50416 * posix/tst-fnmatch.input: Likewise.
50417 * posix/tst-fnmatch2.c: Add new test.
50419 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50421 * elf/Makefile (check-execstack): Revert last change. Depend on
50423 (check-execstack.h): New target.
50424 (generated): Add check-execstack.h.
50425 * elf/check-execstack.c: Include "check-execstack.h".
50426 (main): Revert last change.
50427 (handle_file): Return zero if GNU_STACK is absent and
50428 DEFAULT_STACK_PERMS doesn't include PF_X.
50430 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50432 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50433 in child fails because the descriptor is already closed.
50434 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50435 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50436 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50439 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50443 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50444 temporary buffer used to handle multi lookups locally.
50445 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50447 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50449 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50452 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50454 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50455 alignment for SSE2.
50457 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50460 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50461 characters. When rounding increased number of integer digits recompute
50463 * stdio-common/tst-grouping.c: New file.
50464 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50466 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50468 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50469 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50471 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50473 * bits/select.h: Likewise.
50475 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50477 * po/ja.po: Update from translation team.
50479 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50482 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50483 implementation just like for lxstat, fxstatat, et al.
50485 2010-12-27 Jim Meyering <meyering@redhat.com>
50488 * posix/regexec.c (build_trtable): Return failure indication upon
50489 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50491 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50494 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50495 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50496 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50497 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50500 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50503 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50504 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50506 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50508 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50509 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50510 script has SORT_BY_INIT_PRIORITY.
50511 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50512 NO_CTORS_DTORS_SECTIONS is defined.
50513 * elf/soinit.c: Likewise.
50514 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50515 NO_CTORS_DTORS_SECTIONS is defined.
50516 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50517 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50518 * sysdeps/sh/init-first.c: Likewise.
50519 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50521 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50523 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50524 always use the slow path.
50526 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50528 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50529 similar rule which adds the sysdep directories to the header search in
50530 order to pick up the correct platform stackinfo.h.
50531 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50532 perform test if it is, otherwise return successfully without testing.
50533 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50534 DEFAULT_STACK_PERMS define in stackinfo.h.
50535 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50536 defined in stackinfo.h.
50537 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50538 DEFAULT_STACK_PERMS defined in stackinfo.h.
50539 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50540 * sysdeps/ia64/stackinfo.h: Likewise.
50541 * sysdeps/s390/stackinfo.h: Likewise.
50542 * sysdeps/sh/stackinfo.h: Likewise.
50543 * sysdeps/sparc/stackinfo.h: Likewise.
50544 * sysdeps/x86_64/stackinfo.h: Likewise.
50545 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50546 PF_X for powerpc64. Retain PF_X for powerpc32.
50548 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50550 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50552 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50553 GETDENTS_64BIT_ALIGNED.
50555 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50557 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50559 2010-12-10 Andreas Schwab <schwab@redhat.com>
50561 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50564 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50565 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50567 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50568 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50570 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50573 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50576 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50578 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50580 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50582 * po/it.po: Update from translation team.
50584 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50589 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50591 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50593 2010-11-24 Andreas Schwab <schwab@redhat.com>
50595 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50597 (gaih_getanswer_slice): Likewise.
50599 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50601 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50603 2010-05-31 Petr Baudis <pasky@suse.cz>
50606 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50607 silently even in the chroot mode.
50609 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50611 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50612 last patch a bit. Pretty printing
50614 2010-05-31 Petr Baudis <pasky@suse.cz>
50617 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50618 initialization of skip_initgroups_dyn.
50620 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50622 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50625 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50627 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50629 2010-11-11 Andreas Schwab <schwab@redhat.com>
50631 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50632 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50633 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50634 ($(objpfx)tst-fnmatch-mem): New rule.
50635 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50636 * posix/tst-fnmatch.c (main): Call mtrace.
50638 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50641 Support Intel processor model 6 and model 0x2c.
50643 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50645 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50648 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50651 * string/test-strncasecmp.c (check_result): New function.
50652 (do_one_test): Use it.
50653 (check1): New function.
50654 (test_main): Use it.
50655 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50656 Support strcasecmp and strncasecmp.
50658 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50661 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50662 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50664 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50666 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50668 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50670 * sysdeps/x86_64/multiarch/bzero.S: New file.
50671 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50672 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50673 * sysdeps/x86_64/multiarch/memset.S: New file.
50674 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50676 Set bit_Prefer_SSE_for_memop for Intel processors.
50677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50679 (index_Prefer_SSE_for_memop): Define.
50680 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50682 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50684 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50685 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50687 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50690 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50691 (__x86_64_raw_data_cache_size_half): Likewise.
50692 (__x86_64_raw_shared_cache_size): Likewise.
50693 (__x86_64_raw_shared_cache_size_half): Likewise.
50695 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50696 (__x86_64_raw_data_cache_size_half): Likewise.
50697 (__x86_64_raw_shared_cache_size): Likewise.
50698 (__x86_64_raw_shared_cache_size_half): Likewise.
50699 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50700 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50701 and __x86_64_raw_shared_cache_size_half. Round
50702 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50703 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50704 to multiple of 256 bytes.
50706 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50709 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50710 of inacessible symlinks. Verify result of symlink before returning it.
50711 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50712 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50714 2010-10-28 Erich Ritz <erichritz@gmail.com>
50716 * math/math.h (isinf): Fix typo in comment.
50718 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50720 * po/da.po: Update from translation team.
50722 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50724 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50725 is added to the list.
50727 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50728 Ulrich Drepper <drepper@gmail.com>
50730 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50731 the global list here. Move code to...
50732 (_dl_add_to_namespace_list): ...here. New function.
50733 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50734 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50735 * elf/dl-load.c (lose): Don't remove the element from the list.
50736 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50737 (_dl_map_object): Likewise.
50739 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50742 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50743 into all bytes of SSE register.
50744 Patch by Richard Li <richardpku@gmail.com>.
50746 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50749 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50752 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50754 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50755 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50756 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50757 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50762 2010-10-22 Andreas Schwab <schwab@redhat.com>
50764 * include/dlfcn.h (__RTLD_SECURE): Define.
50765 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50766 mode & __RTLD_SECURE instead.
50767 (open_path): Rename preloaded parameter to secure.
50768 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50769 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50770 * elf/dl-deps.c (openaux): Likewise.
50771 * elf/rtld.c (struct map_args): Remove is_preloaded.
50772 (map_doit): Don't use it.
50773 (dl_main): Likewise.
50774 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50775 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50777 2010-09-09 Andreas Schwab <schwab@redhat.com>
50779 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50780 (sysd-rules-targets): Remove duplicates.
50781 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50782 rtld-%.$o dependency.
50784 2010-10-18 Andreas Schwab <schwab@redhat.com>
50786 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50787 _dl_map_object do it.
50789 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50791 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50792 fast fma builtins, define the macros in the C99 standard.
50793 (FP_FAST_FMAF): Likewise.
50794 (FP_FAST_FMAL): Likewise.
50795 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50797 * bits/mathdef.h: Update copyright year.
50798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50800 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50802 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50803 builtins, define the macros in the C99 standard.
50804 (FP_FAST_FMAF): Likewise.
50805 (FP_FAST_FMAL): Likewise.
50806 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50808 (FP_FAST_FMAF): Likewise.
50810 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50813 * math/libm-test.inc (fma_test): Some new testcases.
50814 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50815 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50816 y and infinite z. Do multiplication by C already in long double.
50817 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50819 y and infinite z. Do bitwise or of inexact bit into u.d.
50820 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50821 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50822 * sysdeps/i386/fpu/s_fma.S: Removed.
50823 * sysdeps/i386/fpu/s_fmal.S: Removed.
50825 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50828 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50830 computation is not scheduled after fetestexcept. Fix value
50831 of minimum denormal long double.
50833 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50836 * math/libm-test.inc (fma_test): Add some more tests.
50837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50840 2010-10-15 Andreas Schwab <schwab@redhat.com>
50842 * scripts/data/localplt-s390-linux-gnu.data: New file.
50843 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50845 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50848 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50849 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50851 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50853 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50854 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50855 if one of x and y is very large and the other is subnormal.
50856 * sysdeps/s390/fpu/s_fmaf.c: New file.
50857 * sysdeps/s390/fpu/s_fma.c: New file.
50858 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50859 * sysdeps/powerpc/fpu/s_fma.S: New file.
50860 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50861 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50862 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50864 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50867 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50869 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50870 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50871 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50872 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50873 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50874 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50875 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50877 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50880 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50881 * posix/bug-regex31.input: Add test case.
50883 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50885 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50886 * posix/bug-regex31.input: New file.
50889 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50890 (parse_sub_exp): Fix last change, use postorder.
50892 * posix/bug-regex31.c: New file.
50893 * posix/Makefile: Add rules to build and run bug-regex31.
50895 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50898 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50901 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50902 to have entries in sys_siglist.
50905 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50908 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50911 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50912 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50913 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50914 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50915 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50916 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50917 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50918 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50919 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50920 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50921 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50922 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50923 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50924 * math/ftestexcept.c (fetestexcept): Likewise.
50925 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50926 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50927 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50928 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50929 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50930 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50931 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50933 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50936 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50939 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50941 * string/bug-strstr1.c: New file.
50942 * string/Makefile: Add rules to build and run bug-strstr1.
50944 2010-10-05 Eric Blake <eblake@redhat.com>
50947 * string/str-two-way.h (two_way_long_needle): Always clear memory
50948 when skipping input due to the shift table.
50950 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50953 * malloc/mcheck.c: Handle large requests.
50956 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50957 for strncmp and strncasecmp.
50958 * string/stratcliff.c: Add tests for strcmp and strncmp.
50959 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50961 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50963 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50966 2010-09-30 Andreas Jaeger <aj@suse.de>
50968 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50969 (CGROUP_SUPER_MAGIC): Define.
50970 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50971 Handle btrfs and cgroup file systems.
50972 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50975 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50977 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50978 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50980 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50983 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50984 trying to locate the ELF header.
50986 2010-09-27 Andreas Schwab <schwab@redhat.com>
50989 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50990 Mask out sign-bit copies when constructing f_fsid.
50992 2010-09-24 Petr Baudis <pasky@suse.cz>
50994 * debug/stack_chk_fail_local.c: Add missing licence exception.
50995 * debug/warning-nop.c: Likewise.
50997 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50999 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51000 implementing getdents64 using getdents syscall, set d_type if
51001 __ASSUME_GETDENTS32_D_TYPE.
51003 2010-09-16 Andreas Schwab <schwab@redhat.com>
51005 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51006 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51008 2010-09-21 Ulrich Drepper <drepper@redhat.com>
51011 * posix/unistd.h: Undo change of feature selection for ftruncate from
51014 2010-09-20 Ulrich Drepper <drepper@redhat.com>
51016 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
51019 2010-09-20 Andreas Schwab <schwab@redhat.com>
51021 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51023 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51025 2010-09-14 Andreas Schwab <schwab@redhat.com>
51027 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51028 variables after CHECK_SP call.
51029 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51031 2010-09-13 Andreas Schwab <schwab@redhat.com>
51032 Ulrich Drepper <drepper@redhat.com>
51034 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51035 re-relocationg ld.so.
51036 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51037 _dl_init_paths call.
51038 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51041 2010-09-14 Ulrich Drepper <drepper@redhat.com>
51043 * resolv/res_init.c (__res_vinit): Count the default server we added.
51045 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51046 Ulrich Drepper <drepper@redhat.com>
51049 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51050 (____longjmp_chk): Use %ebx for saving value across system call.
51053 2010-09-06 Andreas Schwab <schwab@redhat.com>
51055 * manual/Makefile: Don't mix pattern rules with normal rules.
51057 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51059 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51061 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51062 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51063 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51064 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51065 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51068 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51071 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51072 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51074 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51076 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51077 * sysdeps/x86_64/addmul_1.S: Likewise.
51078 * sysdeps/x86_64/lshift.S: Likewise.
51079 * sysdeps/x86_64/mul_1.S: Likewise.
51080 * sysdeps/x86_64/rshift.S: Likewise.
51081 * sysdeps/x86_64/sub_n.S: Likewise.
51082 * sysdeps/x86_64/submul_1.S: Likewise.
51084 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51086 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51087 Define __sched_param instead of SCHED_* and sched_param when
51088 <bits/sched.h> is included with __need_schedparam defined.
51089 * bits/sched.h [__need_schedparam]
51090 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51091 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51092 (__defined_schedparam): Define to 1.
51093 (__sched_param): New structure, identical to sched_param.
51094 (__need_schedparam): Undefine.
51096 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51098 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51099 (epoll_create1): Declare.
51101 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51103 2010-08-31 Andreas Schwab <schwab@redhat.com>
51106 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51107 shifting retval into place.
51109 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51111 * nis/rpcsvc/nis.h: Update copyright notice.
51112 * nis/rpcsvc/nis.x: Likewise.
51113 * nis/rpcsvc/nis_callback.h: Likewise.
51114 * nis/rpcsvc/nis_callback.x: Likewise.
51115 * nis/rpcsvc/nis_object.x: Likewise.
51116 * nis/rpcsvc/nis_tags.h: Likewise.
51117 * nis/rpcsvc/yp.h: Likewise.
51118 * nis/rpcsvc/yp.x: Likewise.
51119 * nis/rpcsvc/ypupd.h: Likewise.
51120 * nis/yp_xdr.c: Likewise.
51121 * nis/ypupdate_xdr.c: Likewise.
51123 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51124 mainly the body of pmap_getport. Add parameters to specify timeouts.
51125 (pmap_getport): Use __libc_rpc_getport.
51126 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51127 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51128 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51130 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51135 2010-08-27 Roland McGrath <roland@redhat.com>
51137 * sysdeps/i386/i686/multiarch/Makefile
51138 (CFLAGS-varshift.c): New variable.
51140 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51142 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51143 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51147 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51149 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51151 * sysdeps/x86_64/strlen.S: Unroll the loop.
51152 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51153 strlen-sse2 strlen-sse2-bsf.
51154 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51155 __strlen_no_bsf if bit_Slow_BSF is set.
51156 (__strlen_sse42): Removed.
51157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51158 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51160 2010-08-25 Roland McGrath <roland@redhat.com>
51162 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51163 * sysdeps/x86_64/multiarch/varshift.c: New file.
51164 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51165 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51166 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51167 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51169 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51172 strlen-sse2 strlen-sse2-bsf.
51173 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51174 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51175 (__strlen_sse2): Removed.
51176 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51177 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51179 bit_Slow_BSF for Atom.
51180 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51181 (index_Slow_BSF): Define.
51182 (HAS_SLOW_BSF): Define.
51184 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51187 * resolv/res_init.c (__res_vinit): When no server address at all
51188 is given default to loopback.
51190 2010-08-24 Roland McGrath <roland@redhat.com>
51192 * configure.in: Remove config-name.h generation.
51193 * configure: Regenerated.
51194 * config-name.in: File removed.
51195 * scripts/config-uname.sh: New file.
51196 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51197 ($(objdir)config-name.h): New target.
51199 * sunrpc/rpc_parse.h: Avoid nested comment.
51201 2010-08-24 Richard Henderson <rth@redhat.com>
51202 Ulrich Drepper <drepper@redhat.com>
51203 H.J. Lu <hongjiu.lu@intel.com>
51205 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51207 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51208 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51209 _mm_alignr_epi8 with _mm_loadu_si128.
51210 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51211 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51212 (__m128i_shift_right): Removed.
51213 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51214 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51215 * sysdeps/x86_64/multiarch/varshift.h: New file.
51216 * sysdeps/x86_64/multiarch/varshift.S: New file.
51218 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51220 * configure.in: Move assembler checks to before sysdep dir checking.
51222 2010-08-20 Petr Baudis <pasky@suse.cz>
51224 * LICENSES: Sync the sunrpc license.
51226 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51228 * sunrpc/auth_des.c: Update copyright notice once again.
51229 * sunrpc/auth_none.c: Likewise.
51230 * sunrpc/auth_unix.c: Likewise.
51231 * sunrpc/authdes_prot.c: Likewise.
51232 * sunrpc/authuxprot.c: Likewise.
51233 * sunrpc/bindrsvprt.c: Likewise.
51234 * sunrpc/clnt_gen.c: Likewise.
51235 * sunrpc/clnt_perr.c: Likewise.
51236 * sunrpc/clnt_raw.c: Likewise.
51237 * sunrpc/clnt_simp.c: Likewise.
51238 * sunrpc/clnt_tcp.c: Likewise.
51239 * sunrpc/clnt_udp.c: Likewise.
51240 * sunrpc/clnt_unix.c: Likewise.
51241 * sunrpc/des_crypt.c: Likewise.
51242 * sunrpc/des_soft.c: Likewise.
51243 * sunrpc/get_myaddr.c: Likewise.
51244 * sunrpc/getrpcport.c: Likewise.
51245 * sunrpc/key_call.c: Likewise.
51246 * sunrpc/key_prot.c: Likewise.
51247 * sunrpc/openchild.c: Likewise.
51248 * sunrpc/pm_getmaps.c: Likewise.
51249 * sunrpc/pm_getport.c: Likewise.
51250 * sunrpc/pmap_clnt.c: Likewise.
51251 * sunrpc/pmap_prot.c: Likewise.
51252 * sunrpc/pmap_prot2.c: Likewise.
51253 * sunrpc/pmap_rmt.c: Likewise.
51254 * sunrpc/rpc/auth.h: Likewise.
51255 * sunrpc/rpc/auth_unix.h: Likewise.
51256 * sunrpc/rpc/clnt.h: Likewise.
51257 * sunrpc/rpc/des_crypt.h: Likewise.
51258 * sunrpc/rpc/key_prot.h: Likewise.
51259 * sunrpc/rpc/netdb.h: Likewise.
51260 * sunrpc/rpc/pmap_clnt.h: Likewise.
51261 * sunrpc/rpc/pmap_prot.h: Likewise.
51262 * sunrpc/rpc/pmap_rmt.h: Likewise.
51263 * sunrpc/rpc/rpc.h: Likewise.
51264 * sunrpc/rpc/rpc_des.h: Likewise.
51265 * sunrpc/rpc/rpc_msg.h: Likewise.
51266 * sunrpc/rpc/svc.h: Likewise.
51267 * sunrpc/rpc/svc_auth.h: Likewise.
51268 * sunrpc/rpc/types.h: Likewise.
51269 * sunrpc/rpc/xdr.h: Likewise.
51270 * sunrpc/rpc_clntout.c: Likewise.
51271 * sunrpc/rpc_cmsg.c: Likewise.
51272 * sunrpc/rpc_common.c: Likewise.
51273 * sunrpc/rpc_cout.c: Likewise.
51274 * sunrpc/rpc_dtable.c: Likewise.
51275 * sunrpc/rpc_hout.c: Likewise.
51276 * sunrpc/rpc_main.c: Likewise.
51277 * sunrpc/rpc_parse.c: Likewise.
51278 * sunrpc/rpc_parse.h: Likewise.
51279 * sunrpc/rpc_prot.c: Likewise.
51280 * sunrpc/rpc_sample.c: Likewise.
51281 * sunrpc/rpc_scan.c: Likewise.
51282 * sunrpc/rpc_scan.h: Likewise.
51283 * sunrpc/rpc_svcout.c: Likewise.
51284 * sunrpc/rpc_tblout.c: Likewise.
51285 * sunrpc/rpc_util.c: Likewise.
51286 * sunrpc/rpc_util.h: Likewise.
51287 * sunrpc/rpcinfo.c: Likewise.
51288 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51289 * sunrpc/rpcsvc/key_prot.x: Likewise.
51290 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51291 * sunrpc/rpcsvc/mount.x: Likewise.
51292 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51293 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51294 * sunrpc/rpcsvc/rex.x: Likewise.
51295 * sunrpc/rpcsvc/rstat.x: Likewise.
51296 * sunrpc/rpcsvc/rusers.x: Likewise.
51297 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51298 * sunrpc/rpcsvc/spray.x: Likewise.
51299 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51300 * sunrpc/rtime.c: Likewise.
51301 * sunrpc/svc.c: Likewise.
51302 * sunrpc/svc_auth.c: Likewise.
51303 * sunrpc/svc_authux.c: Likewise.
51304 * sunrpc/svc_raw.c: Likewise.
51305 * sunrpc/svc_run.c: Likewise.
51306 * sunrpc/svc_simple.c: Likewise.
51307 * sunrpc/svc_tcp.c: Likewise.
51308 * sunrpc/svc_udp.c: Likewise.
51309 * sunrpc/svc_unix.c: Likewise.
51310 * sunrpc/svcauth_des.c: Likewise.
51311 * sunrpc/xcrypt.c: Likewise.
51312 * sunrpc/xdr.c: Likewise.
51313 * sunrpc/xdr_array.c: Likewise.
51314 * sunrpc/xdr_float.c: Likewise.
51315 * sunrpc/xdr_mem.c: Likewise.
51316 * sunrpc/xdr_rec.c: Likewise.
51317 * sunrpc/xdr_ref.c: Likewise.
51318 * sunrpc/xdr_sizeof.c: Likewise.
51319 * sunrpc/xdr_stdio.c: Likewise.
51321 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51324 2010-08-19 Andreas Schwab <schwab@redhat.com>
51326 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51328 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51330 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51331 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51332 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51333 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51334 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51335 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51336 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51337 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51338 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51339 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51340 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51341 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51342 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51343 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51345 2010-07-26 Anton Blanchard <anton@samba.org>
51347 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51348 * malloc/arena.c (heap_trim): Likewise.
51350 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51352 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51355 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51357 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51359 * sysdeps/i386/elf/Makefile: New file.
51361 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51363 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51364 from fanotify_init.
51365 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51368 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51370 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51372 * sysdeps/multiarch/strcmp.S: Likewise.
51374 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51376 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51377 strncase_l-nonascii.
51378 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51379 Add strncase_l-ssse3.
51380 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51381 * sysdeps/x86_64/strcmp.S: Likewise.
51382 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51383 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51384 * sysdeps/x86_64/strncase.S: New file.
51385 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51386 * sysdeps/x86_64/strncase_l.S: New file.
51387 * string/Makefile (strop-tests): Add strncasecmp.
51388 * string/test-strncasecmp.c: New file.
51390 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51393 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51394 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51396 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51398 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51400 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51402 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51403 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51404 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51406 2010-05-01 Alan Modra <amodra@gmail.com>
51408 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51409 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51410 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51411 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51412 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51413 tidying. Don't tail-call __sigjmp_save for static lib.
51414 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51416 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51417 (CALL_MCOUNT): Add eh info, and nop after bl.
51418 (TAIL_CALL_SYSCALL_ERROR): New macro.
51419 (PSEUDO_RET): Use it.
51420 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51421 Correct save location of integer regs and cr.
51422 (_dl_profile_resolve): Correct cr save location. Delete nops
51423 after bl when SHARED. Reduce cfi size a little by better
51424 placement of cfi directives.
51425 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51426 make a stack frame. Instead use parm save area as a temp.
51427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51428 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51430 Don't make a stack frame for parent, use parm save area.
51431 Increase child stack frame to 112 bytes. Don't save unused reg,
51432 and adjust reg usage. Set up cfi on error recovery and
51433 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51435 (__makecontext): Add dummy nop after jump to exit.
51436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51437 Use correct parm save area and cr save, reduce stack frame.
51438 Correct cfi for possible PSEUDO_RET frame setup.
51439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51440 Branch to local label emitted by PSEUDO_RET rather than
51443 2010-08-12 Andreas Schwab <schwab@redhat.com>
51446 * locale/programs/locale.c (print_assignment): New function.
51447 (show_locale_vars): Use it.
51449 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51451 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51453 (struct statfs64): Likewise.
51454 (_STATFS_F_FLAGS): Define.
51455 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51456 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51457 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51458 (ST_VALID): Define locally.
51459 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51460 __statvfs_getflags, use the provided value.
51461 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51462 __ASSUME_STATFS_F_FLAGS.
51464 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51466 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51467 Add sys/fanotify.h.
51468 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51469 fanotify_mask for GLIBC_2.13.
51470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51471 fanotify_init and fanotify_mark.
51472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51473 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51475 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51477 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51478 prlimit64 for GLIBC_2.13.
51479 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51481 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51484 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51485 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51486 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51487 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51489 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51492 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51493 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51495 * nss/Makefile: Add rules to build and run tst-nss-test1.
51496 * shlib-versions: Add entry for libnss_test1.
51497 * nss/nss_test1.c: New file.
51498 * nss/tst-nss-test1.c: New file.
51500 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51501 (__nss_configure_lookup): Set appropriate entry in
51502 __nss_configure_lookup to true.
51503 * nss/nsswitch.h: Define enum with indeces of databases in
51504 databases and __nss_database_custom arrays. Declare
51505 __nss_database_custom.
51506 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51507 to avoid using nscd when custom rules are installed.
51508 * nss/getXXbyYY_r.c: Likewise.
51509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51511 * nss/nss_files/files-parse.c: Whitespace fixes.
51513 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51516 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51517 * posix/fnmatch_loop.c: Likewise.
51519 2010-07-17 Andi Kleen <ak@linux.intel.com>
51521 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51522 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51523 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51524 * Versions.def [GLIBC_2.13]: Add.
51526 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51528 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51529 Also fail if tpwd after pwuid call is NULL.
51531 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51533 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51534 when converting to ms.
51536 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51538 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51539 EOPNOTSUPP errors with ENOTTY.
51540 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51541 EOPNOTSUPP errors with ENOTTY.
51543 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51545 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51546 Add strcasecmp_l-ssse3.
51547 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51549 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51550 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51551 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51553 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51555 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51557 * string/Makefile (strop-tests): Add strcasecmp.
51558 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51559 strcasecmp_l-nonascii.
51560 (gen-as-const-headers): Add locale-defines.sym.
51561 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51562 * sysdeps/x86_64/strcasecmp.S: New file.
51563 * sysdeps/x86_64/strcasecmp_l.S: New file.
51564 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51565 * sysdeps/x86_64/locale-defines.sym: New file.
51566 * string/test-strcasecmp.c: New file.
51568 * string/test-strcasestr.c: Test both ends of the range of characters.
51569 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51571 2010-07-29 Roland McGrath <roland@redhat.com>
51574 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51576 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51578 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51581 2010-07-27 Andreas Schwab <schwab@redhat.com>
51583 * manual/memory.texi (Malloc Tunable Parameters): Document
51586 2010-07-26 Roland McGrath <roland@redhat.com>
51589 * configure.in (-fgnu89-inline check): Set and substitute
51590 gnu89_inline, not libc_cv_gnu89_inline.
51591 * configure: Regenerated.
51592 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51594 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51596 * string/test-strnlen.c: New file.
51597 * string/Makefile (strop-tests): Add strnlen.
51598 * string/tester.c (test_strnlen): Add a few more test cases.
51599 * string/tst-strlen.c: Better error reporting.
51601 * sysdeps/x86_64/strnlen.S: New file.
51603 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51605 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51606 lower-latency instructions.
51608 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51610 * string/test-strcasestr.c: New file.
51611 * string/test-strstr.c: New file.
51612 * string/Makefile (strop-tests): Add strstr and strcasestr.
51613 * string/str-two-way.h: Don't undefine MAX.
51614 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51616 2010-07-21 Andreas Schwab <schwab@redhat.com>
51618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51619 strcasestr-nonascii.
51620 (CFLAGS-strcasestr-nonascii.c): Define.
51621 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51623 Remove unused attribute.
51625 2010-07-20 Roland McGrath <roland@redhat.com>
51627 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51628 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51629 ld.so.cache was broken. With it, there is no way to disable dsocaps
51630 like LD_HWCAP_MASK can disable hwcaps.
51632 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51634 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51636 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51638 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51639 call in strcasestr.
51640 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51641 __strcasestr_sse42_nonascii.
51642 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51643 strcasestr-nonascii.c.
51644 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51646 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51648 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51649 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51650 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51651 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51653 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51655 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51658 2010-07-06 Andreas Schwab <schwab@redhat.com>
51661 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51664 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51666 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51667 _PC_PIPE_BUF using F_GETPIPE_SZ.
51669 2010-07-05 Roland McGrath <roland@redhat.com>
51671 * manual/arith.texi (Rounding Functions): Fix rint description
51672 implicit in round description.
51674 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51676 * elf/Makefile: Fix linking for a few tests to make recent linker
51679 2010-06-30 Andreas Schwab <schwab@redhat.com>
51681 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51682 $(common-objpfx)libc_nonshared.a.
51684 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51686 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51687 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51688 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51689 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51690 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51691 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51692 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51693 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51708 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51709 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51710 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51711 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51712 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51713 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51714 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51715 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51716 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51717 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51718 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51719 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51735 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51737 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51738 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51739 * string/memmove.c (memmove): Renamed to ...
51740 (MEMMOVE): ...this. Default to memmove.
51741 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51742 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51745 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51746 mempcpy-ssse3-back memmove-ssse3-back.
51747 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51749 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51750 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51751 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51752 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51753 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51754 * sysdeps/x86_64/multiarch/memmove.c: New file.
51755 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51756 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51757 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51758 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51759 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51760 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51762 (index_Fast_Copy_Backward): Define.
51763 (HAS_ARCH_FEATURE): Define.
51764 (HAS_FAST_REP_STRING): Define.
51765 (HAS_FAST_COPY_BACKWARD): Define.
51767 2010-06-21 Andreas Schwab <schwab@redhat.com>
51769 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51770 Restore proper fallback handling.
51772 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51775 * posix/group_member.c (__group_member): Correct checking loop.
51777 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51778 OOM in getpwuid_r correctly. Return error number when the caller
51779 should return, otherwise -1.
51780 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51781 call returning > 0 value.
51782 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51784 2010-06-07 Andreas Schwab <schwab@redhat.com>
51786 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51787 libc_nonshared.a from targets in modules-names.
51789 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51791 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51794 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51796 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51797 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51798 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51799 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51801 2010-06-02 Andreas Schwab <schwab@redhat.com>
51803 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51805 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51807 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51809 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51810 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51814 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51816 2010-06-14 Roland McGrath <roland@redhat.com>
51818 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51820 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51822 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51823 __REDIRECT followed by __THROW.
51824 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51825 * posix/getopt.h (getopt): Likewise.
51827 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51829 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51830 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51831 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51833 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51834 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51836 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51840 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51844 Properly check family and model.
51846 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51848 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51850 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51852 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51854 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51856 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51859 2010-05-19 Andreas Schwab <schwab@redhat.com>
51861 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51864 2010-05-21 Andreas Schwab <schwab@redhat.com>
51866 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51867 and internal_recvmmsg.
51868 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51869 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51870 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51871 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51873 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51874 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51875 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51877 2010-05-20 Andreas Schwab <schwab@redhat.com>
51879 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51881 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51883 POWER7 optimizations.
51884 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51885 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51887 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51889 * version.h: Update for 2.13 development version.
51891 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51893 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51894 exceptions. Return 0.
51896 2010-05-07 Roland McGrath <roland@redhat.com>
51898 * elf/ldconfig.c (main): Add a const.
51900 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51902 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51903 (args_options): Add no-idn option.
51904 (ahosts_keys_int): Add idn_flags to ai_flags.
51905 (parse_option): Handle 'i' option to clear idn_flags.
51907 * malloc/malloc.c (_int_free): Possible race in the most recently
51908 added check. Only act on the data if no current modification
51911 See ChangeLog.17 for earlier changes.