1 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4 (localplt-build-dso): Add elf/ld.so.
5 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
12 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
15 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
16 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
17 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
18 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
20 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
22 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
24 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26 2014-11-05 Joseph Myers <joseph@codesourcery.com>
29 * include/libc-symbols.h (INTUSE): Remove macro.
31 (INTVARDEF): Likewise.
32 (_INTVARDEF): Likewise.
34 (INTVARDEF2): Likewise.
35 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
36 rtld_hidden_def instead of INTVARDEF.
37 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38 (_dl_starting_up_internal): Remove declaration.
39 (_dl_starting_up): Use rtld_hidden_proto.
40 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
42 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
43 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
45 * elf/dl-writev.h (_dl_writev): Likewise.
46 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
47 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
48 _dl_starting_up_internal.
50 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
55 2014-11-05 Will Newton <will.newton@linaro.org>
57 * benchtests/Makefile: (bench-malloc): Add malloc thread
58 scalability benchmark.
59 * benchtests/bench-malloc-threads.c: New file.
61 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
63 * sysdeps/aarch64/strchrnul.S: New file.
65 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
69 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
71 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
73 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
75 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
77 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
80 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
82 * catgets/test-gencat.c: Use test-skeleton.c.
83 * catgets/tst-catgets.c: Likewise.
84 * csu/tst-empty.c: Likewise.
85 * elf/tst-audit2.c: Likewise.
86 * elf/tst-global1.c: Likewise.
87 * elf/tst-pathopt.c: Likewise.
88 * elf/tst-piemod1.c: Likewise.
89 * elf/tst-tls10.c: Likewise.
90 * elf/tst-tls11.c: Likewise.
91 * elf/tst-tls12.c: Likewise.
92 * gnulib/tst-gcc.c: Likewise.
93 * iconvdata/tst-e2big.c: Likewise.
94 * iconvdata/tst-loading.c: Likewise.
95 * iconv/tst-iconv1.c: Likewise.
96 * iconv/tst-iconv2.c: Likewise.
97 * inet/test-inet6_opt.c: Likewise.
98 * inet/tst-gethnm.c: Likewise.
99 * inet/tst-network.c: Likewise.
100 * inet/tst-ntoa.c: Likewise.
101 * intl/tst-codeset.c: Likewise.
102 * intl/tst-gettext2.c: Likewise.
103 * intl/tst-gettext3.c: Likewise.
104 * intl/tst-ngettext.c: Likewise.
105 * intl/tst-translit.c: Likewise.
106 * io/test-stat.c: Likewise.
107 * libio/test-fmemopen.c: Likewise.
108 * libio/tst-freopen.c: Likewise.
109 * libio/tst-sscanf.c: Likewise.
110 * libio/tst-ungetwc1.c: Likewise.
111 * libio/tst-ungetwc2.c: Likewise.
112 * libio/tst-widetext.c: Likewise.
113 * localedata/tst-ctype.c: Likewise.
114 * localedata/tst-digits.c: Likewise.
115 * localedata/tst-leaks.c: Likewise.
116 * localedata/tst-mbswcs1.c: Likewise.
117 * localedata/tst-mbswcs2.c: Likewise.
118 * localedata/tst-mbswcs3.c: Likewise.
119 * localedata/tst-mbswcs4.c: Likewise.
120 * localedata/tst-mbswcs5.c: Likewise.
121 * localedata/tst-setlocale.c: Likewise.
122 * localedata/tst-trans.c: Likewise.
123 * localedata/tst-wctype.c: Likewise.
124 * localedata/tst-xlocale1.c: Likewise.
125 * login/tst-grantpt.c: Likewise.
126 * malloc/tst-calloc.c: Likewise.
127 * malloc/tst-malloc.c: Likewise.
128 * malloc/tst-mallocstate.c: Likewise.
129 * malloc/tst-mcheck.c: Likewise.
130 * malloc/tst-mtrace.c: Likewise.
131 * malloc/tst-obstack.c: Likewise.
132 * math/atest-exp2.c: Likewise.
133 * math/atest-exp.c: Likewise.
134 * math/atest-sincos.c: Likewise.
135 * math/test-matherr.c: Likewise.
136 * math/test-misc.c: Likewise.
137 * math/test-powl.c: Likewise.
138 * math/tst-definitions.c: Likewise.
139 * misc/tst-dirname.c: Likewise.
140 * misc/tst-efgcvt.c: Likewise.
141 * misc/tst-fdset.c: Likewise.
142 * misc/tst-hsearch.c: Likewise.
143 * misc/tst-mntent2.c: Likewise.
144 * nptl/tst-sem7.c: Likewise.
145 * nptl/tst-sem8.c: Likewise.
146 * nptl/tst-sem9.c: Likewise.
147 * nss/test-netdb.c: Likewise.
148 * posix/tst-fnmatch.c: Likewise.
149 * posix/tst-getlogin.c: Likewise.
150 * posix/tst-gnuglob.c: Likewise.
151 * posix/tst-mmap.c: Likewise.
152 * pwd/tst-getpw.c: Likewise.
153 * resolv/tst-inet_ntop.c: Likewise.
154 * rt/tst-timer.c: Likewise.
155 * stdio-common/test-fseek.c: Likewise.
156 * stdio-common/test-popen.c: Likewise.
157 * stdio-common/test-vfprintf.c: Likewise.
158 * stdio-common/tst-cookie.c: Likewise.
159 * stdio-common/tst-fileno.c: Likewise.
160 * stdio-common/tst-gets.c: Likewise.
161 * stdio-common/tst-obprintf.c: Likewise.
162 * stdio-common/tst-perror.c: Likewise.
163 * stdio-common/tst-sprintf2.c: Likewise.
164 * stdio-common/tst-sprintf3.c: Likewise.
165 * stdio-common/tst-sprintf.c: Likewise.
166 * stdio-common/tst-swprintf.c: Likewise.
167 * stdio-common/tst-tmpnam.c: Likewise.
168 * stdio-common/tst-unbputc.c: Likewise.
169 * stdio-common/tst-wc-printf.c: Likewise.
170 * stdlib/tst-environ.c: Likewise.
171 * stdlib/tst-fmtmsg.c: Likewise.
172 * stdlib/tst-limits.c: Likewise.
173 * stdlib/tst-rand48-2.c: Likewise.
174 * stdlib/tst-rand48.c: Likewise.
175 * stdlib/tst-random2.c: Likewise.
176 * stdlib/tst-random.c: Likewise.
177 * stdlib/tst-strtol.c: Likewise.
178 * stdlib/tst-strtoll.c: Likewise.
179 * stdlib/tst-tls-atexit.c: Likewise.
180 * stdlib/tst-xpg-basename.c: Likewise.
181 * string/test-ffs.c: Likewise.
182 * string/tst-bswap.c: Likewise.
183 * string/tst-inlcall.c: Likewise.
184 * string/tst-strtok.c: Likewise.
185 * string/tst-strxfrm.c: Likewise.
186 * sysdeps/x86_64/tst-audit10.c: Likewise.
187 * sysdeps/x86_64/tst-audit3.c: Likewise.
188 * sysdeps/x86_64/tst-audit4.c: Likewise.
189 * sysdeps/x86_64/tst-audit5.c: Likewise.
190 * time/tst-ftime_l.c: Likewise.
191 * time/tst-getdate.c: Likewise.
192 * time/tst-mktime3.c: Likewise.
193 * time/tst-mktime.c: Likewise.
194 * time/tst-posixtz.c: Likewise.
195 * time/tst-strptime2.c: Likewise.
196 * time/tst-strptime3.c: Likewise.
197 * wcsmbs/tst-btowc.c: Likewise.
198 * wcsmbs/tst-mbrtowc.c: Likewise.
199 * wcsmbs/tst-mbsrtowcs.c: Likewise.
200 * wcsmbs/tst-wchar-h.c: Likewise.
201 * wcsmbs/tst-wcpncpy.c: Likewise.
202 * wcsmbs/tst-wcrtomb.c: Likewise.
203 * wcsmbs/tst-wcsnlen.c: Likewise.
204 * wcsmbs/tst-wcstof.c: Likewise.
206 2014-11-04 Joseph Myers <joseph@codesourcery.com>
209 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
211 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
213 (_dl_mcount): Use rtld_hidden_proto.
214 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
216 * elf/rtld.c (_rtld_global_ro): Likewise.
219 * elf/dl-init.c (_dl_init): Don't use INTDEF.
220 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
221 of _dl_init_internal.
222 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
223 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
224 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
225 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
226 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
227 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
228 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
229 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
230 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
231 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
232 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
233 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
234 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
235 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
236 * sysdeps/tile/dl-start.S (_start): Likewise.
237 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
238 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
241 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
242 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
243 (rtld_progname): Make macro definition unconditional.
244 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
246 (dlmopen_doit): Do not use INTUSE with _dl_argv.
248 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
249 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
250 instead of _dl_argv_internal.
251 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
252 __GI__dl_argv instead of INTUSE(_dl_argv).
253 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
254 __GI__dl_argv instead of _dl_argv_internal.
256 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
257 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
259 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
260 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
262 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
263 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
265 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
266 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
268 2014-11-04 Andreas Schwab <schwab@suse.de>
270 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
272 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
274 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
275 mtvsrd instruction in binary form.
277 2014-11-03 Andreas Schwab <schwab@suse.de>
280 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
281 for less than MB_LEN_MAX use a local buffer of that size.
282 * libio/tst-fputws.c: New file.
283 * libio/Makefile (tests): Add tst-fputws.
285 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
287 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
288 the size of the fpu_fr.fpu_dregs[] array.
290 2014-11-01 Joseph Myers <joseph@codesourcery.com>
292 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
293 (__nanosleep): Do not define as alias.
294 (nanosleep): Define as alias of __nanosleep.
295 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
296 __libc_nanosleep name.
298 2014-10-31 Joseph Myers <joseph@codesourcery.com>
300 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
301 install.texi in comment.
303 2014-10-31 Torvald Riegel <triegel@redhat.com>
305 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
306 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
307 ... add here and use lwsync or sync ...
308 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
309 ... and add here using lwsync.
311 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
313 * elf/dl-machine-reject-phdr.h: New file.
314 * elf/dl-load.c: #include that.
315 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
316 if that returned true.
318 2014-10-31 Roland McGrath <roland@hack.frob.com>
321 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
322 gen-as-const-headers chunk. Add a big scare comment after the last
323 safe place to touch before-compile.
325 2014-10-31 Joseph Myers <joseph@codesourcery.com>
327 * manual/install.texi (Tools for Compilation): Update autoconf
328 version requirements.
329 * INSTALL: Regenerated.
331 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
332 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
333 (__libc_pselect): Likewise.
336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
341 2014-10-31 Torvald Riegel <triegel@redhat.com>
343 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
344 correct barrier instruction.
345 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
347 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
350 2014-10-30 Roland McGrath <roland@hack.frob.com>
352 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
353 after defining inlines. Instead, just use parens to defeat macro
354 expansion of __isctype in its declaration.
356 2014-10-30 Joseph Myers <joseph@codesourcery.com>
358 * include/sys/uio.h (__libc_readv): Remove declaration.
359 (__libc_writev): Likewise.
360 * misc/readv.c (__libc_readv): Rename to __readv.
361 (__readv): Do not define as alias.
362 (readv): Define as alias of __readv.
363 * misc/writev.c (__libc_writev): Rename to __writev.
364 (__writev): Do not define as alias.
365 (writev): Define as alias of __writev.
366 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
367 (__readv): Do not define as alias.
368 (readv): Define unconditionally as alias of __readv.
369 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
370 (__writev): Do not define as alias.
371 (writev): Define unconditionally as alias of __writev.
372 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
374 (writev): Do not define __libc_writev name.
376 2014-10-30 Roland McGrath <roland@hack.frob.com>
378 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
379 (convert_charseq): New function, broken out of ...
380 (use_from_charmap): ... here. Call it.
381 (use_to_charmap): Use convert_charseq and free instead of duplicating
382 its code with a variable-length stack struct.
384 2014-10-30 Joseph Myers <joseph@codesourcery.com>
386 * include/fcntl.h (__libc_creat): Remove declaration.
387 * io/creat.c (__libc_creat): Rename to creat.
388 (creat): Do not define as alias.
389 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
390 of creat instead of __libc_creat.
391 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
393 (creat): Do not define as alias.
394 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
396 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
398 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
401 2014-10-29 Carlos O'Donell <carlos@redhat.com>
403 * manual/llio.texi: Add comments discussing why write() may be
404 considered MT-unsafe on Linux.
406 2014-10-28 Carlos O'Donell <carlos@redhat.com>
408 * dl-load.c (local_strdup): Remove.
409 (expand_dynamic_string_token): Use __strdup.
410 (decompose_rpath): Likewise.
411 (_dl_map_object): Likewise.
413 2014-10-28 Joseph Myers <joseph@codesourcery.com>
416 * sysdeps/generic/unwind-dw2-fde.c
417 (__register_frame_info_bases_internal): Do not declare.
418 (__register_frame_info_table_bases_internal): Likewise.
419 (__deregister_frame_info_bases_internal): Likewise.
420 (__register_frame_info_bases): Declare and use hidden_proto before
421 definition. Use hidden_def instead of INTDEF.
422 (__register_frame_info_table_bases): Likewise.
423 (__deregister_frame_info_bases): Likewise.
424 (__register_frame_info): Do not use INTUSE.
425 (__register_frame): Likewise.
426 (__register_frame_info_table): Likewise.
427 (__register_frame_table): Likewise.
428 (__deregister_frame_info): Likewise.
429 (__deregister_frame): Likewise.
431 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
434 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
436 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
438 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
441 2014-10-27 Joseph Myers <joseph@codesourcery.com>
444 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
445 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
446 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
447 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
448 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
449 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
450 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
451 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
452 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
453 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
454 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
455 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
456 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
458 (setfsuid): Likewise.
459 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
460 (setfsuid): Likewise.
461 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
462 (setfsuid): Likewise.
463 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
465 (setfsuid): Likewise.
466 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
467 (setfsuid): Likewise.
468 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
470 (setfsuid): Likewise.
472 2014-10-27 Andreas Schwab <schwab@suse.de>
475 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
476 check for Slow_SSE4_2 feature bit.
477 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
478 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
479 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
480 Likewise. Fix check for Fast_Unaligned_Load feature bit.
482 2014-10-24 Roland McGrath <roland@hack.frob.com>
484 * configure.ac: Validate compiler version with a empirical test of
485 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
487 * configure: Regenerated.
489 * inet/htons.c (htons): Prototypify.
490 * inet/htonl.c (htonl): Likewise.
492 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
494 * string/strncat.c (strncat): Improve performance by using strlen.
496 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
498 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
500 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
502 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
503 Call libc_fetestexcept_aarch64.
505 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
507 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
508 Call libc_feholdexcept_aarch64.
510 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
512 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
513 Call get_rounding_mode.
515 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
517 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
520 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
522 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
525 2014-10-24 Joseph Myers <joseph@codesourcery.com>
528 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
529 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
530 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
531 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
532 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
533 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
534 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
535 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
536 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
537 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
538 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
539 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
540 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
541 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
542 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
543 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
544 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
545 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
546 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
547 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
548 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
549 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
550 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
551 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
552 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
556 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
557 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
558 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
559 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
560 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
561 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
562 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
563 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
564 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
566 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
567 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
568 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
573 (getresgid): Likewise.
574 (getresuid): Likewise.
575 (getgroups): Likewise.
576 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
580 (getresgid): Likewise.
581 (getresuid): Likewise.
582 (getgroups): Likewise.
583 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
587 (getresgid): Likewise.
588 (getresuid): Likewise.
589 (getgroups): Likewise.
590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
595 (getresgid): Likewise.
596 (getresuid): Likewise.
597 (getgroups): Likewise.
598 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
602 (getresgid): Likewise.
603 (getresuid): Likewise.
604 (getgroups): Likewise.
605 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
610 (getgroups): Likewise.
613 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
614 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
615 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
616 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
617 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
618 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
619 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
620 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
621 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
622 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
623 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
624 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
625 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
627 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
630 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
634 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
637 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
642 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
644 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
647 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
649 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
652 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
654 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
655 Remove unused include.
657 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
659 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
660 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
661 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
662 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
664 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
665 Helge Deller <deller@gmx.de>
668 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
669 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
670 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
672 2014-10-23 Joseph Myers <joseph@codesourcery.com>
675 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
676 Remove macro definition.
677 (__ashrdi3_v_glibc20): Likewise.
678 (__lshrdi3_v_glibc20): Likewise.
679 (__cmpdi2_v_glibc20): Likewise.
680 (__ucmpdi2_v_glibc20): Likewise.
681 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
682 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
683 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
684 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
685 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
686 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
688 2014-10-22 Roland McGrath <roland@hack.frob.com>
690 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
691 old GNU extension [0] syntax.
692 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
693 alloca rather than an array member with variable length.
694 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
695 * nscd/nscd.c (invalidate_db): New function, broken out of ...
696 (parse_opt): ... here. Likewise use alloca there.
697 Validate the -i argument before checking for rootness.
698 (send_shutdown): New function, broken out of ...
699 (parse_opt): ... here.
701 2014-10-22 Roland McGrath <roland@hack.frob.com>
703 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
704 macro to get at the _rt_local_ro field.
705 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
706 ([PIC] case) or _dl_hwcap ([!PIC] case).
707 * sysdeps/arm/setjmp.S: Likewise.
709 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
710 * sysdeps/arm/configure.ac: New check to define it.
711 * sysdeps/arm/configure: Regenerated.
712 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
713 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
714 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
715 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
716 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
717 Use move/movt pair instead of a load.
718 (LDST_GLOBAL): Macro removed.
719 (LDR_GLOBAL): New macro replaces it.
720 (LDR_HIDDEN): New macro.
721 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
722 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
724 * setjmp/tst-setjmp-static.c: New file.
725 * setjmp/Makefile (tests): Add it.
726 (tests-static): New variable.
728 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
731 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
733 2014-10-21 Joseph Myers <joseph@codesourcery.com>
736 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
738 2014-10-21 Roland McGrath <roland@hack.frob.com>
740 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
742 2014-10-20 Roland McGrath <roland@hack.frob.com>
744 * io/fts.c (dirent_not_directory): New function.
745 (fts_build): Call it.
747 2014-10-20 Roland McGrath <roland@hack.frob.com>
749 * nptl/version.c (__nptl_main): Use normal __write rather than
751 (banner): Update copyright years.
753 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
755 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
756 * nptl/pthread_cond_timedwait.c: Likewise.
757 * nptl/pthread_mutex_timedlock.c: Likewise.
758 * nptl/sem_timedwait.c: Likewise.
760 * sysdeps/nptl/bits/libc-lock.h
761 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
762 (__libc_lock_init_recursive): Return void, not 0.
763 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
764 (__libc_rwlock_init): Likewise.
765 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
767 2014-10-20 Torvald Riegel <triegel@redhat.com>
770 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
771 (__pthread_once_slow): ... here.
772 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
773 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
775 2014-10-20 Torvald Riegel <triegel@redhat.com>
778 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
779 __PTHREAD_ONCE_FORK_GEN_INCR): New.
780 * sysdeps/nptl/fork.c (__libc_fork): Use them.
781 * nptl/pthread_once.c (__pthread_once): Likewise.
784 2014-10-20 Joseph Myers <joseph@codesourcery.com>
787 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
789 (writev): Use __libc_writev as strong name.
790 * sysdeps/unix/sysv/linux/readv.c: Remove file.
791 * sysdeps/unix/sysv/linux/writev.c: Likewise.
793 2014-10-17 Roland McGrath <roland@hack.frob.com>
795 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
797 * sysdeps/i386/nptl/tls.h
798 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
799 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
801 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
802 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
803 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
804 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
805 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
806 Call CHECK_THREAD_SYSINFO instead of doing an assert.
808 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
809 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
811 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
813 (__pthread_mutex_init): ... here. Call it.
814 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
815 Conditionalize PI cases on [__NR_futex].
816 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
817 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
818 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
820 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
821 conditional on [SIGSETXID].
822 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
823 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
824 is defined. Likewise for SIGSETXID.
825 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
826 Conditionalize definitions on [SIGSETXID].
827 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
828 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
829 unblocking on [SIGCANCEL].
831 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
832 [__NR_set_robust_list].
834 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
836 * string/strcoll_l.c (get_next_seq): Fix up formatting.
837 (do_compare): Likewise.
839 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
842 * string/strcoll_l.c: Don't include stdio.h.
843 (coll_seq): Remove members idxarr and rulearr.
844 (get_next_seq_cached): Remove function.
845 (get_next_seq): Likewise.
846 (get_next_seq_nocache): Rename to get_next_seq.
847 (do_compare): Remove function.
848 (do_compare_nocache): Rename to do_compare.
849 (STRCOLL): Remove weight and rules cache.
851 2014-10-16 Roland McGrath <roland@hack.frob.com>
853 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
854 * sysdeps/arm/sfp-machine.h: ... to here.
855 * sysdeps/arm/Implies: Remove arm/soft-fp.
857 2014-10-14 Joseph Myers <joseph@codesourcery.com>
859 * conform/data/sys/utsname.h-data (*_t): Allow.
860 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
861 [POSIX] (WEXITED): Do not expect constant.
862 [POSIX] (WSTOPPED): Likewise.
863 [POSIX] (WNOHANG): Likewise.
864 [POSIX] (WNOWAIT): Likewise.
865 [POSIX] (siginfo_t): Do not expect type or elements.
866 [POSIX] (pid_t): Do not expect type.
867 [POSIX] (signal.h): Do not allow header.
868 [POSIX] (sys/resource.h): Likewise.
869 [POSIX] (si_*): Do not allow pattern.
870 [POSIX] (W*): Likewise.
871 [POSIX] (P_*): Likewise.
872 [POSIX] (BUS_*): Likewise.
873 [POSIX] (CLD_*): Likewise.
874 [POSIX] (FPE_*): Likewise.
875 [POSIX] (ILL_*): Likewise.
876 [POSIX] (POLL_*): Likewise.
877 [POSIX] (SEGV_*): Likewise.
878 [POSIX] (SI_*): Likewise.
879 [POSIX] (TRAP_*): Likewise.
880 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
883 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
886 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
887 infinite loop when __recvmsg returns 0.
889 2014-10-10 Joseph Myers <joseph@codesourcery.com>
891 * CANCEL-FCT-WAIVE: Remove file.
892 * CANCEL-FILE-WAIVE: Likewise.
895 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
896 instead of INTVARDEF.
897 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
898 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
899 rtld_hidden_data_def instead of INTVARDEF.
900 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
901 * elf/dl-deps.c (expand_dst): Likewise.
902 * elf/dl-load.c (_dl_dst_count): Likewise.
903 (_dl_dst_substitute): Likewise.
904 (decompose_rpath): Likewise.
905 (_dl_init_paths): Likewise.
906 (open_path): Likewise.
907 (_dl_map_object): Likewise.
908 * elf/rtld.c (dl_main): Likewise.
909 (process_dl_audit): Likewise.
910 (process_envvars): Likewise.
911 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
913 (__libc_enable_secure): Use rtld_hidden_proto.
915 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
918 (add_path): New function broken out of _dl_rtld_di_serinfo.
919 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
921 2014-10-09 Joseph Myers <joseph@codesourcery.com>
923 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
924 parentheses around macro arguments.
925 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
926 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
927 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
928 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
929 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
930 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
931 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
932 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
933 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
934 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
935 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
936 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
937 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
938 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
939 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
940 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
941 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
942 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
943 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
944 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
945 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
947 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
948 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
949 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
950 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
951 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
952 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
953 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
954 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
955 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
956 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
957 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
958 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
959 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
960 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
962 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
963 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
964 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
965 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
966 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
967 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
968 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
969 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
970 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
971 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
972 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
973 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
974 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
975 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
976 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
977 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
979 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
980 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
981 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
983 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
984 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
985 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
986 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
987 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
988 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
989 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
990 (_FP_FRAC_SRS_1): Likewise.
991 (_FP_FRAC_CLZ_1): Likewise.
992 (_FP_MUL_MEAT_1_imm): Likewise.
993 (_FP_MUL_MEAT_1_wide): Likewise.
994 (_FP_MUL_MEAT_1_hard): Likewise.
995 (_FP_SQRT_MEAT_1): Likewise.
996 (_FP_FRAC_ASSEMBLE_1): Likewise.
997 (_FP_FRAC_DISASSEMBLE_1): Likewise.
998 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
999 (__FP_CLZ_2): Likewise.
1000 (_FP_MUL_MEAT_2_wide): Likewise.
1001 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1002 (_FP_MUL_MEAT_2_gmp): Likewise.
1003 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1004 (_FP_SQRT_MEAT_2): Likewise.
1005 (_FP_FRAC_ASSEMBLE_2): Likewise.
1006 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1007 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1008 (_FP_FRAC_CLZ_4): Likewise.
1009 (_FP_MUL_MEAT_4_wide): Likewise.
1010 (_FP_MUL_MEAT_4_gmp): Likewise.
1011 (_FP_SQRT_MEAT_4): Likewise.
1012 (_FP_FRAC_ASSEMBLE_4): Likewise.
1013 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1014 * soft-fp/op-common.h (_FP_CMP): Likewise.
1015 (_FP_CMP_EQ): Likewise.
1016 (_FP_CMP_UNORD): Likewise.
1017 (_FP_TO_INT): Likewise.
1018 (_FP_FROM_INT): Likewise.
1019 [!__FP_CLZ] (__FP_CLZ): Likewise.
1020 (_FP_DIV_HELP_imm): Likewise.
1021 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1023 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1024 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1025 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1026 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1027 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1028 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1030 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1031 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1032 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1034 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1035 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1036 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1037 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1038 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1039 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1040 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1041 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1042 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1043 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1044 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1045 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1046 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1048 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1049 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1050 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1052 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1053 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1054 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1055 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1056 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1057 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1058 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1059 (FP_UNPACK_RAW_SP): Likewise.
1060 (FP_PACK_RAW_S): Likewise.
1061 (FP_PACK_RAW_SP): Likewise.
1062 (FP_UNPACK_S): Likewise.
1063 (FP_UNPACK_SP): Likewise.
1064 (FP_UNPACK_SEMIRAW_S): Likewise.
1065 (FP_UNPACK_SEMIRAW_SP): Likewise.
1066 (FP_PACK_S): Likewise.
1067 (FP_PACK_SP): Likewise.
1068 (FP_PACK_SEMIRAW_S): Likewise.
1069 (FP_PACK_SEMIRAW_SP): Likewise.
1070 (_FP_SQRT_MEAT_S): Likewise.
1071 (FP_CMP_S): Likewise.
1072 (FP_CMP_EQ_S): Likewise.
1073 (FP_CMP_UNORD_S): Likewise.
1074 (FP_TO_INT_S): Likewise.
1075 (FP_FROM_INT_S): Likewise.
1077 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1079 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1080 (FP_EX_INVALID_IMZ): Likewise.
1081 (FP_EX_INVALID_IMZ_FMA): Likewise.
1082 (FP_EX_INVALID_ISI): Likewise.
1083 (FP_EX_INVALID_ZDZ): Likewise.
1084 (FP_EX_INVALID_IDI): Likewise.
1085 (FP_EX_INVALID_SQRT): Likewise.
1086 (FP_EX_INVALID_CVI): Likewise.
1087 (FP_EX_INVALID_VC): Likewise.
1088 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1089 "invalid" exceptions.
1090 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1091 (_FP_ADD_INTERNAL): Likewise.
1092 (_FP_MUL): Likewise.
1093 (_FP_FMA): Likewise.
1094 (_FP_DIV): Likewise.
1095 (_FP_CMP_CHECK_NAN): Likewise.
1096 (_FP_SQRT): Likewise.
1097 (_FP_TO_INT): Likewise.
1098 (FP_EXTEND): Likewise.
1100 2014-10-09 Allan McRae <allan@archlinux.org>
1102 * po/fr.po: Update French translation from translation project.
1104 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1107 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1109 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1110 (__cxa_atexit): Use libc_hidden_proto.
1111 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1114 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1116 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1117 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1118 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1119 [!_ISOMAC] (__iswctype_internal): Likewise.
1120 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1121 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1123 (fcntl): Remove __fcntl_internal alias.
1124 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1125 __connect_internal alias.
1126 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1129 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1130 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1132 (_FP_CHECK_FLUSH_ZERO): New macro.
1133 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1134 (_FP_CMP): Likewise.
1135 (_FP_CMP_EQ): Likewise.
1136 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1138 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1139 (FP_TRUNC): Likewise.
1141 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1142 treated as invalid conversion, not as normal exponent.
1144 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1145 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1146 (_FP_CMP_EQ): Likewise.
1147 (_FP_CMP_UNORD): Likewise.
1148 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1149 (FP_CMP_EQ_D): Likewise.
1150 (FP_CMP_UNORD_D): Likewise.
1151 * soft-fp/extended.h (FP_CMP_E): Likewise.
1152 (FP_CMP_EQ_E): Likewise.
1153 (FP_CMP_UNORD_E): Likewise.
1154 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1155 (FP_CMP_EQ_Q): Likewise.
1156 (FP_CMP_UNORD_Q): Likewise.
1157 * soft-fp/single.h (FP_CMP_S): Likewise.
1158 (FP_CMP_EQ_S): Likewise.
1159 (FP_CMP_UNORD_S): Likewise.
1160 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1161 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1162 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1163 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1164 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1165 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1166 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1167 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1168 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1169 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1170 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1171 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1172 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1174 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1176 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1177 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1179 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1181 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1182 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1183 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1184 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1186 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1188 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1189 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1191 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1193 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1194 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1195 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1196 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1199 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1200 a subnormal result, set the underflow exception if trapping on
1201 underflow is enabled.
1202 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1203 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1204 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1206 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1207 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1208 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1209 * soft-fp/extendxftf2.c (__extendxftf2): Use
1210 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1212 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1213 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1214 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1215 FP_HANDLE_EXCEPTIONS.
1216 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1217 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1218 FP_HANDLE_EXCEPTIONS.
1219 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1220 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1221 FP_HANDLE_EXCEPTIONS.
1222 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1223 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1224 FP_HANDLE_EXCEPTIONS.
1226 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1229 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1230 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1232 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1233 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1235 (__adjtimex): Define using libc_hidden_ver.
1236 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1238 (ntp_gettime): Call __adjtimex directly.
1239 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1241 (ntp_gettimex): Call __adjtimex directly.
1242 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1243 __adjtimex_internal alias.
1245 2014-10-08 Roland McGrath <roland@hack.frob.com>
1248 * nscd/nscd.c (more_help): Rewrite list of tables collection
1249 using xstrdup and asprintf.
1251 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1253 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1254 Roland McGrath <roland@hack.frob.com>
1256 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1257 (do_lookup_unique): ... local function 'enter' here; update callers.
1259 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1261 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1262 compat_symbol calls on [SHARED].
1263 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1264 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1266 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1267 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1268 (oldsetrlimit): Remove.
1269 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1271 (lchown): New syscall entry.
1272 (oldsetrlimit): Remove.
1273 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1274 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1275 (oldsetrlimit): Remove.
1276 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1279 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1280 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1281 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1282 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1283 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1284 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1286 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1291 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1294 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1295 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1296 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1297 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1299 (__old_sem_post): Likewise.
1301 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1303 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1304 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1305 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1306 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1307 Use INLINE_VSYSCALL macro.
1308 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1309 __vdso_clock_gettime.
1310 * sysdeps/unix/sysv/linux/tile/init-first.c
1311 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1312 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1313 __vdso_clock_gettime.
1315 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1316 to set up frame more cleanly.
1318 * sysdeps/tile/memcmp.c: New file.
1320 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1322 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1323 * sysdeps/tile/tilegx/strcasestr.c: New file.
1324 * sysdeps/tile/tilegx/strnlen.c: New file.
1325 * sysdeps/tile/tilegx/strstr.c: New file.
1327 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1329 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1331 * nptl/tst-setuid3.c: Write errors to stdout.
1333 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1336 (preload): New functions broken out of _dl_map_object_deps.
1337 (_dl_map_object_deps): Remove a nested function. Update call sites.
1339 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1342 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1343 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1345 2014-10-01 Steve Ellcey <sellcey@mips.com>
1347 * sysdeps/mips/strcmp.S: New.
1349 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1352 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1354 (mkdirat): Likewise.
1355 (readlinkat): Likewise.
1356 (renameat): Likewise.
1357 (symlinkat): Likewise.
1358 (unlinkat): Likewise.
1359 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1360 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1361 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1362 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1363 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1364 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1365 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1367 2014-09-30 Will Newton <will.newton@linaro.org>
1369 * math/math.h: Define long double math functions if
1370 _LIBC_TEST is defined.
1371 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1373 * localedata/Makefile: Move assignment to tests-special
1374 into an ifdef testing run-built-tests.
1375 * timezone/Makefile: Likewise.
1377 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1379 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1380 with $(BASH) not $(SHELL).
1382 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1383 Matthew LeGendre <legendre1@llnl.gov>
1386 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1389 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1391 * stdio-common/printf_fp.c
1392 (hack_digit): New function, broken out of ...
1393 (__printf_fp): ... local function here. Update call sites.
1394 hack_digit now takes an additional parameter that is a pointer
1395 to a struct of the referenced locals. Those locals moved inside
1396 the struct and references updated.
1398 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1400 * aclocal.m4: Require autoconf 2.69.
1401 * configure: Regenerated.
1402 * sysdeps/aarch64/configure: Likewise.
1403 * sysdeps/alpha/configure: Likewise.
1404 * sysdeps/arm/armv7/configure: Likewise.
1405 * sysdeps/arm/configure: Likewise.
1406 * sysdeps/ia64/configure: Likewise.
1407 * sysdeps/mach/configure: Likewise.
1408 * sysdeps/mips/configure: Likewise.
1409 * sysdeps/s390/configure: Likewise.
1410 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1413 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1415 * sysdeps/ia64/configure.ac: Likewise.
1417 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1420 specify symbol version for ld.so. Do not include entry for
1422 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1427 * Makeconfig [$(build-shared) = yes]
1428 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1430 [$(build-shared) = yes && $(soversions.mk-done) = t]
1431 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1432 [$(build-shared) = yes && $(soversions.mk-done) = t]
1433 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1435 [$(build-shared) = yes && $(soversions.mk-done) = t]
1436 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1438 [$(build-shared) = yes && $(soversions.mk-done) = t]
1439 (common-generated): Don't append gnu/lib-names.h and
1440 gnu/lib-names.stmp here.
1441 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1442 (lib-names-h-abi): New variable.
1443 [$(build-shared) = yes && $(soversions.mk-done) = t]
1444 (lib-names-stmp-abi): Likewise.
1445 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1446 abi-variants] (before-compile): Append
1447 $(common-objpfx)$(lib-names-h-abi).
1448 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1449 abi-variants] (common-generated): Append gnu/lib-names.h.
1450 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1451 abi-variants] (install-others-nosubdir): Depend on
1452 $(inst_includedir)/$(lib-names-h-abi).
1453 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1454 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1455 [$(build-shared) = yes && $(soversions.mk-done) = t]
1456 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1457 [$(build-shared) = yes && $(soversions.mk-done) = t]
1458 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1459 [$(build-shared) = yes && $(soversions.mk-done) = t]
1460 (common-generated): Append $(lib-names-h-abi) and
1461 $(lib-names-stmp-abi).
1462 * scripts/lib-names.awk: Do not handle multi being set.
1463 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1465 (abi-lp64_be-ld-soname): Likewise.
1466 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1468 (abi-hard-ld-soname): Likewise.
1469 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1470 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1472 (abi-o32_hard-ld-soname): Likewise.
1473 (abi-o32_soft_2008-ld-soname): Likewise.
1474 (abi-o32_hard_2008-ld-soname): Likewise.
1475 (abi-n32_soft-ld-soname): Likewise.
1476 (abi-n32_hard-ld-soname): Likewise.
1477 (abi-n32_soft_2008-ld-soname): Likewise.
1478 (abi-n32_hard_2008-ld-soname): Likewise.
1479 (abi-n64_soft-ld-soname): Likewise.
1480 (abi-n64_hard-ld-soname): Likewise.
1481 (abi-n64_soft_2008-ld-soname): Likewise.
1482 (abi-n64_hard_2008-ld-soname): Likewise.
1483 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1485 (abi-64-v2-ld-soname): Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1488 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1490 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1492 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1494 (abi-64-ld-soname): Likewise.
1495 (abi-x32-ld-soname): Likewise.
1496 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1498 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1500 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1503 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1504 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1505 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1507 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1508 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1509 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1510 syscall entry for GLIBC_2.2 symbol version.
1511 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1514 (setrlimit): Likewise.
1515 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1518 2014-09-23 Will Newton <will.newton@linaro.org>
1520 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1521 _LINUX_ARM_SYSDEP_H include guard too.
1522 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1525 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1527 * sysdeps/unix/sysv/linux/eventfd.c:
1528 Make first argument unsigned.
1529 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1530 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1532 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1534 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1535 * socket/sys/socket.h: Likewise
1536 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1538 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1540 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1542 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1544 * time/tst-ftime.c: New test.
1545 * time/Makefile (tests): Add tst-ftime.
1547 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1549 * soft-fp/extended.h: Fix comment formatting.
1550 * soft-fp/op-1.h: Likewise.
1551 * soft-fp/op-2.h: Likewise.
1552 * soft-fp/op-4.h: Likewise.
1553 * soft-fp/op-8.h: Likewise.
1554 * soft-fp/op-common.h: Likewise.
1555 * soft-fp/soft-fp.h: Likewise.
1557 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1559 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1562 * Makeconfig (soversions-default-setname): Remove variable.
1563 ($(common-objpfx)soversions.i): Don't pass default_setname to
1565 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1566 oldest_abi to abi-versions.awk.
1567 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1568 * config.make.in (oldest-abi): Remove variable.
1569 * configure.ac (--enable-oldest-abi): Remove configure option.
1570 * configure: Regenerated.
1571 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1573 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1574 * scripts/soversions.awk: Do not handle default_setname variable.
1575 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1577 * sysdeps/mach/hurd/configure: Regenerated.
1578 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1580 * sysdeps/unix/sysv/linux/configure: Regenerated.
1582 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1584 * elf/Makefile (CFLAGS-interp.c): Remove.
1585 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1587 * elf/interp.c: Include generated runtime-linker.h
1589 * Makerules (lib%.so): Don't include $(+interp) in
1591 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1592 * dlfcn/eval.c: Remove file.
1594 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1598 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1602 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1604 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1605 Jakub Jelinek <jakub@redhat.com>
1608 * libio/stdio.h: Check definition of __fortify_function
1609 instead of __extern_always_inline to include bits/stdio2.h.
1610 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1611 check if __extern_always_inline is defined.
1612 [__USE_MISC || __USE_XOPEN]: Likewise.
1613 [__USE_ISOC99] Likewise.
1614 * misc/sys/cdefs.h (__fortify_function): Define only if
1615 __extern_always_inline is defined.
1616 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1617 __extern_always_inline and __extern_inline only for g++-4.3
1618 and newer or a compatible gcc.
1620 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1623 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1624 last change to handle zero prefix length.
1626 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1628 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1631 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1634 2014-09-13 Allan McRae <allan@archlinux.org>
1636 * po/ru.po: Update Russian translation from translation project.
1638 2014-09-12 Roland McGrath <roland@hack.frob.com>
1640 * locale/programs/locale.c (show_locale_vars): Inline local function
1641 into its sole call site. Clean up some style nits.
1642 (print_item): New function, broken out of ...
1643 (show_info): ... local function here. Clean up style nits.
1645 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1647 (set_class_defaults): ... local function set_default here.
1648 Define set_default as a macro locally to pass constant parameters.
1649 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1650 rather than a shared local.
1652 * stdlib/rpmatch.c (try): New function, broken out of ...
1653 (rpmatch): ... local function here. Also, prototypify definition.
1655 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1657 * scripts/soversions.awk: Do not handle configuration names.
1658 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1659 vendor and os variables to soversions.awk.
1660 * configure.ac: Do not modify gnu-* host_os.
1661 * configure: Regenerated
1662 * shlib-versions: Remove first column with configuration names.
1663 * nptl/shlib-versions: Likewise.
1664 * nptl_db/shlib-versions: Likewise.
1665 * sysdeps/hppa/shlib-versions: Likewise.
1666 * sysdeps/m68k/shlib-versions: Likewise.
1667 * sysdeps/mach/hurd/shlib-versions: Likewise.
1668 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1669 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1670 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1671 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1672 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1673 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1674 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1675 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1678 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1679 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1680 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1681 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1683 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1688 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1691 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1693 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1695 * shlib-versions: Remove OS-specific entries. Moved to files in
1697 * sysdeps/mach/hurd/shlib-versions: New file.
1698 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1700 * nptl/shlib-versions: Remove architecture-specific entries.
1701 Moved to files in sysdeps.
1702 * shlib-versions: Likewise.
1703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1705 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1706 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1708 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1710 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1711 (UDP_NO_CHECK6_RX): Likewise.
1713 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1715 * sysdeps/posix/sysconf.c (__sysconf): Spell
1716 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1718 2014-08-12 Florian Weimer <fweimer@redhat.com>
1720 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1722 * iconv/Versions (__gconv_transliterate): Export for use from
1724 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1725 (struct __gconv_trans_data, __gconv_trans_fct,
1726 __gconv_trans_context_fct, __gconv_trans_query_fct,
1727 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1729 (struct __gconv_step_data): Remove __trans member.
1730 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1731 longer hidden. Remove unused trans_data argument.
1732 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1733 (__gconv_translit_find): Remove declaration.
1734 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1736 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1737 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1738 trans_data argument. Add hidden definition.
1739 (__gconv_translit_find): Remove.
1740 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1741 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1742 * iconv/skeleton.c: Remove transliteration initialization.
1743 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1744 __gconv_step_data initialization.
1745 * libio/iofwide.c (__libio_translit_): Remove.
1746 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1747 * wcsmbs/btowc.c (__btowc): Likewise.
1748 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1749 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1750 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1751 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1752 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1753 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1754 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1755 * wcsmbs/wctob.c (wctob): Likewise.
1757 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1760 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1761 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1763 * sysdeps/x86/Makefile: Adjust.
1765 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1766 Roland McGrath <roland@hack.frob.com>
1768 * locale/weight.h: Add include guard.
1769 (findidx): Make static rather than auto; take new parameters
1770 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1771 * locale/weightwc.h: Likewise.
1772 * posix/fnmatch_loop.c
1773 (FCT): Change type of EXTRA from int32_t to wint_t.
1774 Don't include either header inside the function.
1775 Call FINDIDX rather than findidx, and pass new arguments.
1776 #undef FINDIDX at the end of the file.
1777 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1778 FINDIDX before including fnmatch_loop.c for the non-wide version.
1779 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1780 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1781 for the wide version.
1782 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1783 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1784 Pass new arguments to findidx.
1785 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1786 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1787 Don't #include it inside the function. Pass new arguments to findidx.
1788 * posix/regex_internal.h
1789 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1790 (re_string_elem_size_at): Don't #include it inside the function.
1791 Pass new arguments to findidx.
1792 * string/strcoll_l.c: #include WEIGHT_H at top level.
1793 (get_next_seq): Don't #include it inside the function.
1794 Pass new arguments to findidx.
1795 (get_next_seq_nocache): Likewise.
1796 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1797 (STRXFRM): Don't #include it inside the function.
1798 Pass new arguments to findidx.
1800 2014-09-11 Florian Weimer <fweimer@redhat.com>
1803 * malloc/malloc.c (unlink): Turn asserts into a call to
1806 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1809 * libio/wfileops (do_ftell_wide): Free OUT.
1811 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1813 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1815 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1818 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1819 group if the current group is empty.
1821 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823 * benchtests/bench-memset.c (test_main): Add more test from size
1824 from 32 to 512 bytes.
1825 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1826 Add POWER8 memset object.
1827 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1828 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1829 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1831 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1833 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1834 multiarch POWER8 memset optimization.
1835 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1836 POWER8 memset optimization.
1838 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1839 Remove bzero multiarch objects.
1840 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1841 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1842 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1843 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1845 [__bzero]: Redefine to specific name.
1846 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1847 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1850 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1851 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1853 2014-09-10 Florian Weimer <fweimer@redhat.com>
1855 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1856 warnings into errors.
1858 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1859 __cxa_thread_atexit_impl prototype.
1861 2014-09-09 Steve Ellcey <sellcey@mips.com>
1863 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1864 Fix capitalization of error message.
1866 2014-09-09 Steve Ellcey <sellcey@mips.com>
1868 * sysdeps/mips/preconfigure: Modify ABI tests.
1870 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1872 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1874 2014-09-07 Roland McGrath <roland@hack.frob.com>
1875 Carlos O'Donell <carlos@systemhalted.org>
1877 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1878 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1879 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1880 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1881 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1882 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1883 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1884 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1885 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1886 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1887 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1888 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1889 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1890 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1891 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1892 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1893 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1894 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1895 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1896 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1897 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1898 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1899 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1900 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1901 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1902 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1903 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1904 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1905 Deconditionalize the code that was previously under [RESET_PID].
1906 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1907 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1908 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1909 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1912 2014-09-08 Allan McRae <allan@archlinux.org>
1914 * version.h (RELEASE): Set to "development".
1915 (VERSION): Set to "2.20.90"
1917 2014-09-07 Allan McRae <allan@archlinux.org
1919 * version.h (RELEASE): Set to "stable".
1920 (VERSION): Set to "2.20"
1921 * include/features.h (__GLIBC_MINOR__): Set to 20.
1923 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1926 * po/ko.po: Update Korean translation from translation project.
1928 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1931 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1932 macro for handling signed relocations.
1934 2014-09-03 Florian Weimer <fweimer@redhat.com>
1937 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1938 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1940 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1941 * iconvdata/ibm935.c (BODY): Likewise.
1942 * iconvdata/ibm937.c (BODY): Likewise.
1943 * iconvdata/ibm939.c (BODY): Likewise.
1944 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1946 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1948 * iconvdata/run-iconv-test.sh: New test loop for checking for
1951 2014-09-02 Khem Raj <raj.khem@gmail.com>
1953 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1956 2014-09-01 Allan McRae <allan@archlinux.org>
1958 * po/eo.po: Update Esperanto translation from translation project.
1960 * po/ca.po: Update Catalan translation from translation project.
1962 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1964 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1967 2014-08-27 Mark Wielaard <mjw@redhat.com>
1970 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1971 to call set_thread_area instead of hand written asm.
1972 (__NR_set_thread_area): Removed define.
1973 (TLS_FLAG_WRITABLE): Likewise.
1974 (__ASSUME_SET_THREAD_AREA): Remove check.
1975 (TLS_EBX_ARG): Remove define.
1976 (TLS_LOAD_EBX): Likewise.
1978 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1980 Simplify atomicity of socket creation in bind.
1982 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1983 looking up the name after linking the file.
1985 2014-08-27 Allan McRae <allan@archlinux.org>
1987 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1989 2014-08-26 Florian Weimer <fweimer@redhat.com>
1992 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1993 trans_compare, open_translit, __gconv_translit_find):
1994 Remove module loading code.
1996 2014-08-26 Allan McRae <allan@archlinux.org>
1998 * po/vi.po: Update Vietnamese translation from translation project.
2000 * po/uk.po: Update Ukrainian translation from translation project.
2002 * po/fr.po: Update French translation from translation project.
2004 * po/ru.po: Update Russian translation from translation project.
2006 * po/pl.po: Update Polish translation from translation project.
2008 * po/cs.po: Update Czech translation from translation project.
2010 * po/de.po: Update German translation from translation project.
2012 * po/bg.po: Update Bulgarian translation from translation project.
2014 * po/sv.po: Update Sweedish translation from translation project.
2016 * po/nl.po: Update Dutch translation from translation project.
2018 * po/es.po: Update Spanish translation from translation project.
2020 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2022 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2024 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2025 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2026 (CPPFLAGS-iconvconfig): Likewise.
2027 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2029 * include/libc-symbols.h: Remove unnecessary check for
2031 * nptl/pthreadP.h: Likewise.
2032 * sysdeps/aarch64/setjmp.S: Likewise.
2033 * sysdeps/alpha/setjmp.S: Likewise.
2034 * sysdeps/arm/sysdep.h: Likewise.
2035 * sysdeps/i386/setjmp.S: Likewise.
2036 * sysdeps/m68k/setjmp.c: Likewise.
2037 * sysdeps/posix/getcwd.c: Likewise.
2038 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2039 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2040 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2041 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2042 * sysdeps/sh/sh3/setjmp.S: Likewise.
2043 * sysdeps/sh/sh4/setjmp.S: Likewise.
2044 * sysdeps/unix/alpha/sysdep.h: Likewise.
2045 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2046 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2047 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2048 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2052 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2053 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2055 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2056 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2058 * sysdeps/x86_64/setjmp.S: Likewise.
2060 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2063 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2065 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2066 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2068 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2070 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2073 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2074 and __x86_64__ when disabling x87 inline functions.
2076 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2079 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2080 asm statement with __cpuid_count.
2082 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2084 * configure.ac: Change __ehdr_start code to dereference the struct.
2085 Run readelf on the output to look for relocations.
2086 * configure: Regenerated.
2088 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2091 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2093 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2095 2014-08-12 Roland McGrath <roland@hack.frob.com>
2097 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2099 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2102 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2103 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2105 2014-08-12 Sean Anderson <seanga2@gmail.com>
2107 * malloc/malloc.c: Fix typo in comment.
2109 2014-08-09 Allan McRae <allan@archlinux.org>
2111 * Regenerate libc.po.
2113 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2115 * intl/tst-gettext2.sh: Check every lang file for creation.
2117 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2119 * sysdeps/aarch64/fpu/math_private.h
2120 (libc_feholdsetround_noex_aarch64_ctx): New function.
2122 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2124 * sysdeps/arm/armv6/strcpy.S (strcpy):
2125 Fix performance issue in misaligned cases.
2127 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2129 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2130 Move definition from termios.h.
2131 (struct termio): Likewise.
2132 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2133 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2134 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2135 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2137 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2138 Move definition to ioctl-types.h
2139 (struct termio): Likewise.
2140 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2141 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2142 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2143 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2146 2014-08-05 Richard Henderson <rth@redhat.com>
2148 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2150 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2152 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2153 Use __feraiseexcept.
2154 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2155 Protect libm symbols with IS_IN_libm.
2157 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2159 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2161 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2163 2014-08-04 Will Newton <will.newton@linaro.org>
2165 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2168 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2170 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2171 variants for each function.
2173 2014-08-04 Roland McGrath <roland@hack.frob.com>
2175 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2177 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2178 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2180 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2181 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2182 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2183 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2184 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2185 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2186 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2187 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2188 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2189 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2190 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2191 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2192 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2193 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2194 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2195 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2196 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2197 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2198 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2199 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2200 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2201 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2202 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2203 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2204 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2205 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2206 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2207 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2208 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2209 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2210 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2211 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2212 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2213 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2214 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2216 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2217 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2218 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2219 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2220 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2222 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2224 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2225 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2226 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2227 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2228 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2230 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2231 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2232 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2234 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2235 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2237 2014-08-04 Roland McGrath <roland@hack.frob.com>
2239 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2240 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2241 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2242 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2243 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2244 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2246 2014-08-04 Roland McGrath <roland@hack.frob.com>
2248 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2249 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2250 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2251 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2253 2014-08-04 Roland McGrath <roland@hack.frob.com>
2255 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2256 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2257 (__libc_vfork): Define function under this name.
2258 (__vfork): Define as an alias.
2259 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2260 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2262 2014-08-04 Roland McGrath <roland@hack.frob.com>
2264 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2265 that was previously under [RESET_PID].
2266 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2268 2014-08-04 Andreas Schwab <schwab@suse.de>
2270 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2272 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2274 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2277 2014-08-01 Roland McGrath <roland@hack.frob.com>
2279 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2281 2014-08-01 Richard Henderon <rth@redhat.com>
2283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2284 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2285 typo in exact zero test.
2286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2287 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2290 2014-08-01 Roland McGrath <roland@hack.frob.com>
2292 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2293 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2294 * sysdeps/arm/sysdep.h: ... here.
2295 [!__ASSEMBLER__]: Include <stdint.h>.
2297 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2299 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2300 (HAVE_WCTYPE_H): Likewise.
2301 (HAVE_ISWCTYPE): Likewise.
2302 (ENABLE_NLS): Likewise.
2303 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2304 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2306 * posix/regex_internal.c: Check if DEBUG is defined and is
2309 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2310 (HAVE_MBSRTOWCS): Likewise.
2311 * posix/fnmatch.c: Include string.h unconditionally.
2313 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2315 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2318 2014-07-31 Roland McGrath <roland@hack.frob.com>
2320 * sysdeps/generic/safe-fatal.h: New file.
2321 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2322 * nptl/forward.c: Include it.
2323 (__pthread_unwind): Use __safe_fatal as default action, rather
2324 than a bogus use of INTERNAL_SYSCALL that could never work.
2326 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2327 * configure.ac (libc_cv_builtin_trap): New test.
2328 * configure: Regenerated.
2329 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2330 (ABORT_INSTRUCTION): Define using __builtin_trap.
2332 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2333 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2334 * sysdeps/nptl/nptl-signals.h: New file.
2335 * nptl/pthreadP.h: Include <nptl-signals.h>.
2337 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2339 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2340 (ONE_DIRECTION): Define.
2341 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2342 (ONE_DIRECTION): Define.
2343 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2344 (ONE_DIRECTION): Define.
2346 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2348 * sysdeps/s390/Makefile: Delete file.
2349 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2350 * sysdeps/s390/__longjmp.c: Delete file.
2351 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2352 Remove fields __flags and __reserved.
2353 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2355 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2356 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2357 * sysdeps/s390/rtld-setjmp.S: Likewise.
2358 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2359 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2360 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2361 * sysdeps/s390/s390-32/setjmp.S: ... here.
2363 (__sigsetjmp): Remove setting __flags field.
2364 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2365 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2366 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2367 * sysdeps/s390/s390-64/setjmp.S: ... here.
2369 (__sigsetjmp): Remove setting __flags field.
2370 * sysdeps/s390/setjmp.S: Delete file.
2371 * sysdeps/s390/sigjmp.c: Likewise.
2372 * sysdeps/s390/v1-longjmp.c: Likewise.
2373 * sysdeps/s390/v1-setjmp.h: Likewise.
2374 * sysdeps/s390/v1-sigjmp.c: Likewise.
2375 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2376 Remove v1-longjmp_chk.
2377 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2378 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2379 Include debug/longjmp_chk.c and add versioning.
2380 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2381 Include nptl/pt-longjmp.c and add versioning.
2382 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2383 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2384 Include __longjmp.c.
2385 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2387 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2388 (__getcontext): Remove setting __flags field.
2390 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2391 Don't restore upper high grps.
2392 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2394 (__swapcontext): Remove setting uc_flags field.
2395 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2397 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2398 Include __longjmp.c.
2399 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2401 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2402 (__getcontext): Remove setting __flags field.
2404 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2405 (__swapcontext): Remove setting uc_flags field.
2406 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2407 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2408 Remove fields uc_high_gprs and __reserved.
2409 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2410 New file with reverted content.
2411 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2412 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2414 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2417 2014-07-31 Andreas Schwab <schwab@suse.de>
2419 * config.h.in (HAVE_IFUNC): Define to 0.
2420 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2423 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2425 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2426 memmove-avx-unaligned, memcpy-avx-unaligned and
2427 mempcpy-avx-unaligned.
2428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2429 Add tests for AVX memcpy functions.
2430 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2431 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2433 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2434 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2436 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2437 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2439 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2440 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2441 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2443 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2446 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2449 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2452 * manual/llio.texi: Add section about open file description locks.
2453 * manual/examples/ofdlocks.c: Example of open file description
2455 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2456 F_OFD_SETLK, and F_OFD_SETLKW.
2458 2014-07-23 Allan McRae <allan@archlinux.org>
2460 * po/es.po: Update Spanish translation from translation project.
2462 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2464 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2466 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2469 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2470 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2471 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2473 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2476 * math/fesetenv.c (__fesetenv)
2477 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2478 * math/feupdateenv.c (__feupdateenv)
2479 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2481 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2482 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2483 (__ASSUME_SOCKETCALL): Do not define.
2485 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2486 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2487 (__ASSUME_SOCKETCALL): Do not define.
2488 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2489 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2490 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2491 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2492 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2493 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2494 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2495 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2497 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2498 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2499 (__ASSUME_SOCKETCALL): Do not define.
2500 (__ASSUME_IPC64): Define unconditionally.
2501 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2502 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2503 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2504 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2505 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2506 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2507 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2510 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2511 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2512 (__ASSUME_SOCKETCALL): Do not define.
2513 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2514 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2515 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2516 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2517 (__ASSUME_REQUEUE_PI): Define unconditionally.
2518 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2519 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2520 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2521 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2522 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2523 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2525 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2526 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2527 (__ASSUME_SOCKETCALL): Do not define.
2528 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2529 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2530 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2531 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2532 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2533 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2535 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2536 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2537 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2538 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2539 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2540 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2541 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2542 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2543 (__ASSUME_GETCPU_SYSCALL): Likewise.
2545 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2546 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2547 cases for individual architectures.
2548 * sysdeps/gnu/configure: Regenerated.
2549 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2550 LIBC_SLIBDIR_RTLDDIR.
2551 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2552 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2553 LIBC_SLIBDIR_RTLDDIR.
2554 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2556 LIBC_SLIBDIR_RTLDDIR.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2559 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2560 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2562 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2563 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2565 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2566 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2567 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2568 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2570 * sysdeps/aarch64/shlib-versions: Move to ...
2571 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2572 * sysdeps/alpha/shlib-versions: Move to ...
2573 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2574 * sysdeps/arm/shlib-versions: Move to ...
2575 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2576 * sysdeps/hppa/shlib-versions: Move all contents except for
2577 libgcc_s entry to ...
2578 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2580 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2581 * sysdeps/ia64/shlib-versions: Move to ...
2582 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2584 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2585 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2586 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2587 * sysdeps/microblaze/shlib-versions: Move to ...
2588 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2589 * sysdeps/mips/shlib-versions: Move to ...
2590 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2592 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2593 * sysdeps/tile/shlib-versions: Move to ...
2594 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2595 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2597 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2598 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2600 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2602 2014-07-17 Will Newton <will.newton@linaro.org>
2604 * sysdeps/arm/bits/atomic.h
2605 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2606 (__arch_compare_and_exchange_bool_16_int): Likewise.
2607 (__arch_compare_and_exchange_bool_64_int): Likewise.
2609 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2610 into an #else block.
2612 2014-07-16 Roland McGrath <roland@hack.frob.com>
2614 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2615 just Linux configurations. Test empirically that the compiler sets
2616 __ARM_EABI__, rather than using the tuple to decide.
2617 * sysdeps/arm/preconfigure: Regenerated.
2618 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2619 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2620 contents appended ...
2621 * sysdeps/arm/configure.ac: ... here.
2622 * sysdeps/arm/configure: Regenerated.
2624 2014-07-15 Roland McGrath <roland@hack.frob.com>
2626 * nptl/pthread_kill.c: New file.
2627 * nptl/pthread_sigmask.c: New file.
2628 * nptl/pthread_sigqueue.c: New file.
2630 * sysdeps/nptl/lowlevellock.h: New file.
2631 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2632 * sysdeps/nptl/lowlevellock-futex.h: New file.
2634 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2635 Remove dead declarations.
2637 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2639 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2640 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2642 * sysdeps/x86_64/configure.ac: Likewise.
2643 * sysdeps/i386/configure: Regenerated.
2644 * sysdeps/x86_64/configure: Likewise.
2645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2646 memset-avx2 only if config-cflags-avx2 is yes.
2647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2648 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2650 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2651 only if HAVE_AVX2_SUPPORT is defined.
2652 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2654 2014-07-14 Alan Modra <amodra@gmail.com>
2657 * elf/elf.h (DT_PPC64_NUM): Correct value.
2658 * NEWS: Add to fixed bug list.
2660 2014-07-13 Jim Meyering <meyering@fb.com>
2663 regex: don't deref NULL upon heap allocation failure
2664 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2665 failure in one more place.
2666 To trigger the segfault, configure grep -with-included-regex,
2667 build it, and run these commands:
2668 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2670 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2672 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2674 2014-07-11 Richard Henderson <rth@redhat.com>
2676 * sysdeps/aarch64/libm-test-ulps: Update.
2678 2014-07-10 Florian Weimer <fweimer@redhat.com>
2681 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2682 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2683 (__nptl_setxid): Initialize error member. Call
2684 __nptl_setxid_error.
2685 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2686 * nptl/descr.h (struct xid_command): Add error member.
2687 * nptl/tst-setuid3.c: New file.
2688 * nptl/Makefile (tests): Add it.
2690 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2692 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2694 (__lll_trylock): Use __lll_base_trylock.
2695 (__lll_cond_trylock): Likewise.
2697 2014-07-10 Roland McGrath <roland@hack.frob.com>
2699 * nptl/pthread_create.c (start_thread): Use atomic_or and
2700 lll_futex_wake directly rather than lll_robust_dead.
2701 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2702 (lll_robust_dead): Macro removed.
2703 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2704 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2705 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2706 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2707 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2708 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2709 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2710 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2711 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2713 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2714 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2716 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2717 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2719 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2720 Use atomic_compare_and_exchange_val_acq directly rather than
2722 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2723 (__lll_robust_trylock, lll_robust_trylock): Removed.
2724 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2725 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2726 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2727 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2728 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2729 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2730 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2731 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2733 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2736 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2737 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2739 2014-07-02 Florian Weimer <fweimer@redhat.com>
2741 * manual/locale.texi (Locale Names): New section documenting
2742 locale name syntax. Adjust menu and node chaining accordingly.
2743 (Choosing Locale): Reference Locale Names, Locale Categories.
2744 Mention setting LC_ALL=C. Reflect that name syntax is now
2746 (Locale Categories): New section title. Reference Locale Names.
2747 LC_ALL is an environment variable, but not a category.
2748 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2749 description, now in Locale Name. Reference that section. Locale
2750 name syntax is now documented.
2752 2014-07-02 Florian Weimer <fweimer@redhat.com>
2755 * locale/findlocale.c (name_present, valid_locale_name): New
2757 (_nl_find_locale): Use the loc_name variable to store name
2758 candidates. Call name_present and valid_locale_name to check and
2759 validate locale names. Return an error if the locale is invalid.
2761 2014-07-02 Florian Weimer <fweimer@redhat.com>
2763 * locale/setlocale.c (setlocale): Use strdup for allocating
2764 composite name copy.
2766 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2768 Sync up with gnulib.
2769 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2770 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2771 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2772 and _GL_ARG_NONNULL.
2773 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2774 [!_LIBC]: Include code for Windows and Cygwin.
2775 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2776 Include prototype for int strerror_r.
2777 [!_LIBC] (is_open): New function.
2778 (flush_stdout): New function.
2779 (print_errno_message): Use it.
2781 (error_at_line): Likewise.
2782 (error_tail) Add function attribute macros. Use
2785 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2787 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2789 * io/ftw.c: Include sys/param.h unconditionally.
2791 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2794 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2796 (freecache): New function to free CACHE on exit.
2798 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2801 2014-07-09 David S. Miller <davem@davemloft.net>
2803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2805 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2806 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2807 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2808 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2809 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2810 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2811 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2812 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2813 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2814 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2815 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2816 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2817 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2819 2014-07-09 Andreas Schwab <schwab@suse.de>
2821 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2823 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2824 (do_test): Likewise.
2826 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2828 2014-07-09 Will Newton <will.newton@linaro.org>
2830 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2831 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2832 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2833 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2834 * sysdeps/hppa/start.S (_start): Likewise.
2836 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2838 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2840 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2843 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2845 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2846 after checking that it is non-NULL.
2848 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2850 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2852 * sysdeps/powerpc/memmove.c: Remove file.
2853 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2854 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2855 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2856 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2857 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2858 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2859 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2860 string memmove instead of removed powerpc one.
2862 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2863 [weak_alias]: Fix compiler warning due trailing data.
2864 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2865 [weak_alias]: Likewise.
2866 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2867 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2870 (__libc_ifunc_impl_list): Add memmove functions.
2872 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2874 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2876 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2878 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2880 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2882 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2884 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2886 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2888 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2890 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2892 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2894 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2896 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2898 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2900 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2902 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2904 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2906 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2909 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2911 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2912 to avoid alignment traps in non-cacheable memory.
2913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2917 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2918 file: multiarch power7 memmove.
2919 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2920 multiarch default memmove.
2921 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2922 multiarch memove for powerpc32/power4.
2924 * string/bcopy.c: Use full path to include memmove.c.
2925 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2927 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2928 bcopy for powerpc64.
2929 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2930 bcopy for powerpc64.
2931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2932 and memmove implementations.
2933 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2934 optimized multiarch memmove for POWER7/powerpc64.
2935 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2936 default multiarch memmove for powerpc64.
2937 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2938 multiarch for powerpc64.
2939 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2940 for POWER7/powerpc64.
2941 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2942 memmove for POWER7/powerpc64.
2944 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2947 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2948 __ELF_NATIVE_CLASS equal to 64.
2950 2014-07-07 Roland McGrath <roland@hack.frob.com>
2952 * sysdeps/nptl/lowlevellock.h: File removed.
2954 * NEWS: NPTL is no longer an add-on!
2955 * nptl/internaltypes.h: Moved ...
2956 * sysdeps/nptl/internaltypes.h: ... here.
2957 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2958 * sysdeps/nptl/fork.c: Likewise.
2959 * sysdeps/nptl/gai_misc.h: Likewise.
2960 * sysdeps/nptl/librt-cancellation.c: Likewise.
2961 * sysdeps/nptl/jmp-unwind.c: Likewise.
2962 * sysdeps/nptl/setxid.h: Likewise.
2963 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2964 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2965 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2966 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2967 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2968 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2969 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2970 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2971 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2972 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2973 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2974 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2975 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2976 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2977 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2978 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2979 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2980 * nptl/Makeconfig: Moved ...
2981 * sysdeps/nptl/Makeconfig: ... here.
2982 * nptl/configure: File removed.
2983 * nptl/ANNOUNCE: File removed.
2984 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2985 * sysdeps/unix/sysv/linux/configure: Regenerated.
2987 * nptl/Makefile (routines): Add libc_pthread_init,
2988 libc_multiple_threads, register-atfork and unregister-atfork.
2989 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2990 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2991 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2992 pthread-pi-defines.sym, structsem.sym.
2993 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2994 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2995 [$(subdir) = nptl] (tests): Add tst-setgetname.
2996 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
2997 * sysdeps/unix/sysv/linux/sigaction.c: Just include
2998 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
2999 [!LIBC_SIGACTION]: Remove aliases.
3000 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3001 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3002 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3003 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3004 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3005 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3006 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3007 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3008 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3009 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3010 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3011 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3012 __libc_allocate_rtsig_private.
3013 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3014 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3015 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3016 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3017 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3018 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3019 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3020 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3021 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3022 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3023 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3024 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3025 * nptl/internaltypes.h: ... here.
3026 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3027 * sysdeps/nptl/jmp-unwind.c: ... here.
3028 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3029 * nptl/libc-lowlevellock.c: ... here.
3030 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3031 * nptl/libc_multiple_threads.c: ... here.
3032 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3033 * nptl/libc_pthread_init.c: ... here.
3034 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3035 * nptl/lowlevelbarrier.sym: ... here.
3036 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3037 * nptl/lowlevelcond.sym: ... here.
3038 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3039 * nptl/lowlevellock.c: ... here.
3040 * nptl/lowlevellock.h: Moved ...
3041 * sysdeps/nptl/lowlevellock.h: ... here.
3042 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3043 * nptl/lowlevelrobustlock.c: ... here.
3044 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3045 * nptl/lowlevelrobustlock.sym: ... here.
3046 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3047 * nptl/lowlevelrwlock.sym: ... here.
3048 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3049 * nptl/pt-fork.c: ... here.
3050 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3051 * nptl/pthread-pi-defines.sym: ... here.
3052 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3053 * nptl/pthread_attr_getaffinity.c: ... here.
3054 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3055 * nptl/pthread_attr_setaffinity.c: ... here.
3056 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3057 * nptl/pthread_mutex_cond_lock.c: ... here.
3058 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3060 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3061 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3062 * nptl/pthread_once.c: ... here, replacing old file.
3063 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3064 * nptl/pthread_yield.c: ... here.
3065 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3066 * nptl/register-atfork.c: ... here.
3067 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3068 * nptl/sem_post.c: ... here.
3069 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3070 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3071 * nptl/sem_timedwait.c: ... here.
3072 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3073 * nptl/sem_trywait.c: ... here.
3074 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3075 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3076 * nptl/sem_wait.c: ... here.
3077 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3078 * nptl/structsem.sym: ... here.
3079 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3080 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3081 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3082 * nptl/unregister-atfork.c: ... here.
3083 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3084 * nptl/unwindbuf.sym: ... here.
3085 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3086 * sysdeps/nptl/fork.c: ... here.
3087 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3088 * sysdeps/nptl/fork.h: ... here.
3089 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3090 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3091 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3092 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3093 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3094 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3095 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3096 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3097 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3098 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3099 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3100 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3101 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3102 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3103 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3104 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3105 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3106 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3107 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3108 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3109 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3110 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3111 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3112 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3113 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3114 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3115 * sysdeps/unix/sysv/linux/raise.c: ... here.
3116 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3117 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3118 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3119 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3120 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3121 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3122 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3123 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3124 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3125 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3126 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3127 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3128 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3129 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3130 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3132 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3134 * sysdeps/generic/memcopy.h: Add comment for
3135 MEMCPY_OK_FOR_FWD_MEMMOVE.
3137 2014-07-04 Will Newton <will.newton@linaro.org>
3139 * string/memchr.c: Merge from gnulib.
3140 [_LIBC]: Remove conditionals.
3141 (__ptr_t): Remove define.
3142 (LONG_MAX_32_BITS): Likewise.
3143 (LONG_MAX): Likewise.
3144 (MEMCHR): Use ANSI prototype and optimize algorithm.
3146 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3148 2014-07-03 Roland McGrath <roland@hack.frob.com>
3150 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3151 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3153 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3154 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3155 in a bare environment with no <stdlib.h> installed.
3156 * sysdeps/nptl/configure: Regenerated.
3158 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3160 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3161 AC_EGREP_CPP for kernel header checks, so they only succeed if
3162 including <linux/version.h> actually works right.
3163 * sysdeps/unix/sysv/linux/configure: Regenerated.
3165 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3166 value so it's not diagnosed as unused.
3168 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3169 thing) with "ifeq ($(subdir),rt)".
3171 2014-07-03 Richard Henderson <rth@redhat.com>
3173 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3174 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3175 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3177 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3178 (math_force_eval): New.
3180 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3181 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3183 * sysdeps/alpha/fpu/s_round.c: Remove file.
3184 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3186 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3187 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3188 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3189 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3190 (_dl_start, print_statistics): Likewise.
3191 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3192 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3194 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3195 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3196 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3197 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3198 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3199 (HP_SMALL_TIMING_AVAIL): Define.
3200 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3201 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3202 (HP_SMALL_TIMING_AVAIL): Define.
3203 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3204 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3206 * sysdeps/aarch64/hp-timing.h: New file.
3208 * sysdeps/generic/hp-timing.h: Remove dead comment.
3209 * sysdeps/generic/hp-timing-common.h: New file.
3210 * sysdeps/alpha/hp-timing.h: Include it.
3211 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3212 * sysdeps/i386/i686/hp-timing.h: Likewise.
3213 * sysdeps/ia64/hp-timing.h: Likewise.
3214 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3215 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3217 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3218 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3219 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3222 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3223 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3224 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3225 * elf/rtld.c (_dl_start_final): Likewise.
3226 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3227 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3228 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3229 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3230 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3231 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3232 (HP_TIMING_DIFF_INIT): Remove.
3233 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3234 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3235 (HP_TIMING_DIFF_INIT): Remove.
3236 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3237 * sysdeps/i386/i686/hp-timing.c: Remove file.
3238 * sysdeps/x86_64/hp-timing.c: Remove file.
3239 * sysdeps/ia64/hp-timing.c: Remove file.
3240 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3241 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3242 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3243 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3245 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3246 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3247 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3248 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3249 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3250 (HP_TIMING_ACCUM): Remove.
3251 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3252 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3253 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3255 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3256 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3257 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3258 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3260 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3261 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3262 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3264 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3266 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3268 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3270 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3272 Sync up with gettext.
3273 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3274 [_MSC_VER]: Include malloc.h
3275 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3276 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3277 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3278 TEMP_FAILURE_RETRY. Cast return of alloca.
3279 [!_LIBC] Call gl_rwlock_init.
3280 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3282 2014-07-02 Roland McGrath <roland@hack.frob.com>
3284 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3285 before checking its value.
3287 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3289 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3291 * debug/memcpy_chk.c: Don't include pagecopy.h.
3292 * debug/mempcpy_chk.c: Likewise.
3293 * string/memcpy.c: Likewise.
3294 * string/memmove.c: Likewise.
3295 * sysdeps/powerpc/memmove.c: Likewise.
3296 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3297 definition of PAGE_COPY_FWD_MAYBE here...
3298 * sysdeps/generic/pagecopy.h: ... from here.
3299 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3301 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3302 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3308 (__libc_ifunc_impl_list): Likewise.
3309 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3310 multiarch strcat for PPC64.
3311 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3312 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3314 2014-07-02 Roland McGrath <roland@hack.frob.com>
3316 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3318 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3320 * intl/loadmsgcat.c: Remove declaration of
3321 get_sysdep_segment_value.
3322 (get_sysdep_segment_value): Use ISO C style.
3323 (_nl_load_domain): Use ISO C style. Get rid of redundant
3324 semicolon. Fix typo and formatting in comment.
3325 (_nl_unload_domain): Use ISO C style.
3327 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3329 2014-07-02 Will Newton <will.newton@linaro.org>
3331 * malloc/obstack.c: Merge from gnulib master.
3332 [HAVE_CONFIG_H]: Remove conditional code.
3333 [!_LIBC]: Include config.h.
3334 [!ELIDE_CODE]: Don't include inttypes.h, include
3335 stdint.h unconditionally.
3336 (print_and_abort): Mark as _Noreturn.
3337 (_obstack_allocated_p): Mark as __attribute_pure__.
3338 (obstack_free): Rename to __obstack_free.
3339 [!__attribute__]: Remove conditional code.
3340 * malloc/obstack.h: Merge from gnulib master.
3341 [__cplusplus]: Move conditional down.
3342 [!__attribute_pure__]: Define __attribute_pure__ here
3343 if it is not already defined.
3344 (_obstack_memory_used): Mark as __attribute_pure__.
3345 [!__obstack_free]: Define as obstack_free.
3346 [__GNUC__]: Remove check for ancient NeXT gcc.
3348 2014-07-02 Will Newton <will.newton@linaro.org>
3349 Paul Eggert <eggert@cs.ucla.edu>
3351 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3353 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3355 * resolv/gethnamaddr.c: Add comment warning that the file is
3358 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3360 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3363 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3364 entry for aio_cancel and aio_cancel64.
3365 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3366 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3367 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3368 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3369 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3370 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3371 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3372 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3373 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3374 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3375 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3376 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3377 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3379 2014-07-01 Roland McGrath <roland@hack.frob.com>
3381 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3382 * nptl/pthread_mutex_lock.c: Likewise.
3383 * nptl/pthread_mutex_timedlock.c: Likewise.
3384 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3386 2014-07-01 Richard henderson <rth@redhat.com>
3388 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3389 (__isnan, __isnanl): Remove.
3390 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3392 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3394 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3396 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3398 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3400 * resolv/nss_dns/dns-host.c (getanswer_r)
3401 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3403 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3405 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3406 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3408 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3409 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3411 2014-07-01 Roland McGrath <roland@hack.frob.com>
3413 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3414 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3416 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3417 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3419 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3420 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3422 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3423 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3425 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3426 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3427 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3428 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3430 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3431 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3432 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3433 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3434 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3436 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3438 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3439 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3440 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3441 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3442 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3443 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3444 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3445 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3446 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3447 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3448 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3449 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3450 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3451 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3452 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3453 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3454 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3455 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3456 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3457 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3459 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3460 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3461 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3462 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3463 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3464 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3465 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3466 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3468 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3470 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3471 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3472 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3475 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3477 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3479 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3481 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3482 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3484 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3486 * sysdeps/arm/libm-test-ulps: Regenerated.
3488 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3489 Roland McGrath <roland@hack.frob.com>
3491 * test-skeleton.c (signal_handler): Kill the whole process group
3492 before killing the child individually.
3493 (main): Report any failure on `setpgid'.
3495 2014-06-30 Roland McGrath <roland@hack.frob.com>
3497 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3498 from _TLS_H to _ARM_NPTL_TLS_H.
3499 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3500 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3502 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3505 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3506 (__expm1l): Return argument unchanged when small but not
3509 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3511 (_FP_UNPACK_RAW_1_P): Likewise.
3512 (_FP_PACK_RAW_1): Likewise.
3513 (_FP_PACK_RAW_1_P): Likewise.
3514 (_FP_MUL_MEAT_1_wide): Likewise.
3515 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3516 (_FP_MUL_MEAT_1_hard): Likewise.
3517 (_FP_DIV_MEAT_1_imm): Likewise.
3518 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3519 (_FP_DIV_MEAT_1_udiv): Likewise.
3520 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3521 (_FP_UNPACK_RAW_2): Likewise.
3522 (_FP_UNPACK_RAW_2_P): Likewise.
3523 (_FP_PACK_RAW_2): Likewise.
3524 (_FP_PACK_RAW_2_P): Likewise.
3525 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3526 (_FP_MUL_MEAT_2_wide): Likewise.
3527 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3528 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3529 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3530 (_FP_MUL_MEAT_2_gmp): Likewise.
3531 (_FP_DIV_MEAT_2_udiv): Likewise.
3532 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3533 (_FP_FRAC_SRL_4): Likewise.
3534 (_FP_FRAC_SRST_4): Likewise.
3535 (_FP_FRAC_SRS_4): Likewise.
3536 (_FP_UNPACK_RAW_4): Likewise.
3537 (_FP_UNPACK_RAW_4_P): Likewise.
3538 (_FP_PACK_RAW_4): Likewise.
3539 (_FP_PACK_RAW_4_P): Likewise.
3540 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3541 (_FP_MUL_MEAT_4_wide): Likewise.
3542 (_FP_MUL_MEAT_4_gmp): Likewise.
3543 (umul_ppppmnnn): Likewise.
3544 (_FP_DIV_MEAT_4_udiv): Likewise.
3545 (__FP_FRAC_ADD_4): Likewise.
3546 (__FP_FRAC_SUB_3): Likewise.
3547 (__FP_FRAC_SUB_4): Likewise.
3548 (__FP_FRAC_DEC_3): Likewise.
3549 (__FP_FRAC_DEC_4): Likewise.
3550 (__FP_FRAC_ADDI_4): Likewise.
3551 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3552 (_FP_FRAC_SRL_8): Likewise.
3553 (_FP_FRAC_SRS_8): Likewise.
3555 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3557 (FP_UNPACK_RAW_EP): Likewise.
3558 (FP_PACK_RAW_E): Likewise.
3559 (FP_PACK_RAW_EP): Likewise.
3560 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3561 (_FP_ISSIGNAN): Likewise.
3562 (_FP_ADD_INTERNAL): Likewise.
3563 (_FP_FMA): Likewise.
3564 (_FP_CMP): Likewise.
3565 (_FP_SQRT): Likewise.
3566 (_FP_TO_INT): Likewise.
3567 (_FP_FROM_INT): Likewise.
3568 (FP_EXTEND): Likewise.
3569 (_FP_DIV_MEAT_N_loop): Likewise.
3571 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3573 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3576 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3579 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3580 result with correct sign in case of exponents that produce
3581 overflow except for X very close to 1.
3583 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3585 mktime: merge #if/#ifdef usage from glibc
3586 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3587 as that works with both Glibc's and Gnulib's style.
3588 See thread starting at Siddhesh Poyarekar's bug report at:
3589 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3591 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3593 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3594 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3595 * sysdeps/tile/tilegx/memmove.c: Remove file.
3597 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3599 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3600 abi-name definition.
3601 * scripts/soversions.awk: Do not handle or generate ABI lines.
3602 * shlib-versions: Remove ABI entries.
3603 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3604 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3606 2014-06-27 Roland McGrath <roland@hack.frob.com>
3608 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3609 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3610 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3611 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3612 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3613 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3614 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3616 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3618 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3619 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3620 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3621 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3622 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3623 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3625 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3627 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3629 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3632 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3634 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3635 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3636 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3637 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3639 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3642 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3644 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3645 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3647 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3649 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3650 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3651 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3652 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3653 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3654 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3656 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3658 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3659 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3661 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3664 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3666 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3669 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3672 Identical file removed.
3673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3675 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3677 Identical file removed.
3678 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3679 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3680 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3682 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3684 Identical file removed.
3685 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3686 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3687 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3688 Identical file removed.
3689 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3690 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3691 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3692 Identical file removed.
3693 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3694 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3695 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3696 Identical file removed.
3697 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3699 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3700 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3701 Identical file removed.
3702 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3704 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3705 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3706 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3707 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3708 Identical file removed.
3709 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3711 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3713 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3714 Identical file removed.
3715 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3717 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3718 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3719 Identical file removed.
3720 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3722 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3724 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3725 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3726 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3727 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3729 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3731 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3733 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3734 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3735 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3736 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3737 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3739 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3742 * nscd/nscd.c (monitor_child): Return exit status of child
3743 instead of return value from wait syscall.
3745 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3747 * configure.ac (libc_commonpagesize): Remove variable.
3748 (libc_relro_required): Likewise.
3749 (libc_cv_z_relro): Remove configure test.
3750 * configure: Regenerated.
3751 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3753 (libc_relro_required): Likewise.
3754 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3755 (libc_relro_required): Likewise.
3756 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3757 (libc_relro_required): Likewise.
3758 * sysdeps/arm/preconfigure: Regenerated.
3759 * sysdeps/ia64/preconfigure: Remove file.
3760 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3762 (libc_relro_required): Likewise.
3766 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3767 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3768 recompute overflowing results in original rounding mode.
3769 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3770 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3771 recompute overflowing results in original rounding mode.
3772 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
3773 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3774 recompute overflowing results in original rounding mode.
3775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
3776 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3777 recompute overflowing results in original rounding mode.
3778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3779 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3780 recompute overflowing results in original rounding mode.
3781 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3782 (libc_feholdsetround_ctx): New macro.
3783 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3784 * sysdeps/i386/fpu/libm-test-ulps: Update.
3785 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3787 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3789 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3790 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3791 corresponding .cpsetup call.
3793 2014-06-26 Roland McGrath <roland@hack.frob.com>
3795 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3796 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3797 * sysdeps/arm/Makefile [$(subdir) = csu]
3798 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3799 (static-only-routines): Add aeabi_read_tp here.
3800 (shared-only-routines): Add libc-aeabi_read_tp here.
3801 (CFLAGS-libc-start.c): Add -fexceptions here.
3802 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3803 (sysdep_routines, static-only-routines, shared-only-routines):
3804 Don't add to these here.
3805 (CFLAGS-libc-start.c): Likewise.
3807 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3808 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3809 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3810 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3811 * sysdeps/arm/Makefile [$(subdir) = rt]
3812 (librt-sysdep_routines, librt-shared-only-routines):
3813 Append rt-aeabi_unwind_cpp_pr1 here.
3814 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3815 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3816 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3817 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3818 Append nptl-aeabi_unwind_cpp_pr1 here.
3819 (tests): Filter out tst-cleanupx4 here.
3820 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3821 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3822 Don't do those here.
3824 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3826 * scripts/list-sources.sh: Do not handle ports specially.
3828 2014-06-26 Roland McGrath <roland@hack.frob.com>
3830 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3831 * sysdeps/arm/feupdateenv.c: Likewise.
3833 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3835 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3837 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3838 trailing whitespace removed.
3839 * scripts/config.guess: Update to version 2014-03-23.
3840 * scripts/config.sub: Update to version 2014-05-01
3841 * scripts/install-sh: Update to version 2013-12-25.23.
3842 * scripts/move-if-change: Update from gnulib.
3844 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3846 * debug/memmove_chk.c: Remove pagecopy.h include.
3848 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3850 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3851 identical to gnulib mktime.
3853 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3855 * configure.ac: Do not test for machine being rs6000. Do not test
3857 * configure: Regenerated.
3859 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3861 * configure: Regenerated.
3862 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3863 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3864 Remove configure test.
3865 * sysdeps/arm/configure: Regenerated.
3866 * sysdeps/nptl/configure.ac: Do not check
3867 libc_cv_asm_cfi_directives.
3868 * sysdeps/nptl/configure: Regenerated.
3869 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3870 * sysdeps/x86_64/nptl/configure: Remove generated file.
3871 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3873 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3875 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3877 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3878 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3879 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3882 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3883 instead of whether it is defined.
3884 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3885 * sysdeps/hppa/dl-machine.h: Likewise.
3886 * sysdeps/ia64/dl-machine.h: Likewise.
3887 * sysdeps/m68k/dl-machine.h: Likewise.
3888 * sysdeps/microblaze/dl-machine.h: Likewise.
3889 * sysdeps/mips/dl-machine.: Likewise.
3890 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3891 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3892 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3893 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3894 * sysdeps/sh/dl-machine.h: Likewise.
3895 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3896 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3897 * sysdeps/tile/dl-machine.h: Likewise.
3898 * sysdeps/x86_64/dl-machine.h: Likewise.
3900 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3902 (verify_persistent_db): Likewise.
3904 2014-06-26 Roland McGrath <roland@hack.frob.com>
3906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3907 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3909 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3912 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3915 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3917 Identical file removed.
3918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3919 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3921 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3923 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3925 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3927 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3930 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3932 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3934 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3937 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3939 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3941 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3943 Identical file removed.
3944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3945 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3947 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3950 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3953 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3955 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3957 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3959 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3961 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3964 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3967 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3969 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3972 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3974 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3976 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3978 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3979 * sysdeps/unix/sysv/linux/s390/Versions
3980 (libpthread: GLIBC_2.19): New version set.
3981 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3982 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3983 (librt: GLIBC_2.3.3): New version set.
3984 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3985 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3986 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3988 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3990 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3992 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3994 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3996 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
3998 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4000 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4002 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4003 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4004 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4006 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4008 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4009 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4010 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4011 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4012 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4013 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4014 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4015 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4016 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4017 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4019 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4020 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4021 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4022 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4024 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4026 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4027 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4028 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4031 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4032 (__libc_vfork): Define the function under this name.
4033 [!NOT_IN_libc] (__vfork): Make this an alias.
4034 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4035 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4036 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4037 (__libc_vfork): Define the function under this name.
4038 [!NOT_IN_libc] (__vfork): Make this an alias.
4039 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4040 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4041 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4042 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4043 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4044 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4046 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4047 code that was previously under [RESET_PID].
4048 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4049 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4050 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4052 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4053 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4054 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4055 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4056 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4057 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4058 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4059 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4060 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4061 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4062 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4064 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4066 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4067 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4068 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4069 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4070 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4071 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4072 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4073 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4074 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4075 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4076 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4077 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4078 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4079 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4080 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4081 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4082 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4083 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4084 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4085 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4086 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4087 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4088 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4089 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4090 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4091 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4092 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4094 2014-06-25 Roland McGrath <roland@hack.frob.com>
4096 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4097 that was previously under [RESET_PID].
4098 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4100 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4102 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4103 not undefine and redefine.
4104 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4105 [O_CLOEXEC]: Make code unconditional.
4106 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4107 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4108 <kernel-features.h>.
4109 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4110 conditional variable definition.
4111 (shm_open) [O_CLOEXEC]: Make code unconditional.
4112 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4115 * configure.ac (USE_REGPARMS): Don't define here.
4116 * configure: Regenerated.
4117 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4118 * sysdeps/i386/configure: Regenerated.
4120 * nptl/createthread.c: Don't include kernel-features.h.
4121 * nptl/pthread_cancel.c: Likewise.
4122 * nptl/pthread_condattr_setclock.c: Likewise.
4123 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4124 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4125 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4126 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4127 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4128 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4129 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4130 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4131 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4132 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4133 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4134 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4135 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4136 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4137 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4138 * nscd/gai.c: Likewise.
4139 * nss/nss_db/db-open.c: Likewise.
4140 * sysdeps/generic/ldsodefs.h: Likewise.
4141 * sysdeps/sh/nptl/tls.h: Likewise.
4142 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4143 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4144 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4145 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4146 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4147 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4148 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4149 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4150 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4151 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4152 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4153 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4154 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4155 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4156 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4157 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4158 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4159 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4160 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4161 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4162 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4163 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4164 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4165 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4167 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4168 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4170 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4171 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4172 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4173 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4174 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4175 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4176 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4177 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4178 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4179 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4180 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4181 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4182 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4183 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4184 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4185 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4186 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4187 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4188 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4189 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4190 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4191 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4192 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4193 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4194 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4195 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4196 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4197 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4198 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4199 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4222 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4223 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4224 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4225 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4226 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4227 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4229 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4230 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4231 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4232 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4234 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4235 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4236 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4237 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4238 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4239 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4240 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4241 * sysdeps/unix/sysv/linux/system.c: Likewise.
4242 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4243 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4244 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4245 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4246 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4247 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4248 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4250 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4251 * configure: Regenerated.
4252 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4254 * configure.ac (base_machine): Do not set specially for particular
4256 * configure: Regenerated.
4257 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4258 settings from configure.ac.
4259 * sysdeps/i386/preconfigure: New file.
4260 * sysdeps/s390/preconfigure: Likewise.
4261 * sysdeps/sh/preconfigure: Likewise.
4262 * sysdeps/sparc/preconfigure: Likewise.
4264 2014-06-25 Roland McGrath <roland@hack.frob.com>
4266 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4267 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4268 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4269 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4270 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4271 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4272 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4273 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4274 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4275 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4276 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4277 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4278 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4279 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4280 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4281 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4283 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4284 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4286 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4287 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4288 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4289 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4290 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4291 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4292 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4293 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4294 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4295 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4296 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4297 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4298 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4299 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4300 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4301 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4302 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4303 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4304 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4305 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4306 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4307 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4308 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4309 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4310 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4311 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4312 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4313 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4314 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4315 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4316 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4317 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4318 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4319 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4320 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4321 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4322 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4323 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4326 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4328 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4334 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4336 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4341 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4343 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4348 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4353 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4358 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4360 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4362 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4370 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4375 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4377 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4379 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4381 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4384 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4387 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4392 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4394 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4396 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4398 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4400 * timezone/checktab.awk: Update from tzcode 2014e.
4401 * timezone/private.h: Likewise.
4402 * timezone/tzfile.h: Likewise.
4403 * timezone/zdump.c: Likewise.
4404 * timezone/zic.c: Likewise.
4406 * sysdeps/unix/sysv/linux/kernel-features.h
4407 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4408 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4409 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4410 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4411 Remove conditional code.
4413 2014-06-25 Will Newton <will.newton@linaro.org>
4415 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4416 (_dl_arm_cap_flags): Add HWCAP2 values.
4417 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4418 (_DL_HWCAP_COUNT): Increase to 37.
4419 (_DL_HWCAP_LAST): New define.
4420 (_DL_HWCAP2_LAST): New define.
4421 (_dl_procinfo): Add support for printing
4423 (_dl_string_hwcap): Use _dl_hwcap_string.
4425 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4429 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4431 * README: Do not mention ports directory.
4433 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4435 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4436 <kernel-features.h>.
4437 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4438 conditional variable definition.
4439 (__futimes): Update comment.
4440 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4441 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4444 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4445 arguments close to 0.
4446 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4448 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4450 * math/auto-libm-test-in: Add more tests of exp10.
4451 * math/auto-libm-test-out: Regenerated.
4452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4454 * sysdeps/unix/sysv/linux/kernel-features.h
4455 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4456 * sysdeps/unix/sysv/linux/readv.c: Do not include
4457 <kernel-features.h>.
4458 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4459 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4460 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4462 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4464 * sysdeps/unix/sysv/linux/writev.c: Do not include
4465 <kernel-features.h>.
4466 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4467 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4468 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4470 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4473 2014-06-25 Will Newton <will.newton@linaro.org>
4475 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4476 comment changes throughout the file. Remove checks
4477 for HAVE_*_H definitions that are not required.
4478 (__gen_tempname): Call abort if an unknown kind value is
4481 2014-06-25 Andreas Schwab <schwab@suse.de>
4484 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4485 scalbln, scalblnf, scalblnl in libc.
4487 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4490 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4491 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4492 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4494 2014-06-24 Roland McGrath <roland@hack.frob.com>
4496 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4497 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4498 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4499 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4501 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4502 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4504 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4505 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4506 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4507 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4508 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4509 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4510 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4511 * sysdeps/x86/bits/semaphore.h: ... here.
4512 * sysdeps/x86/nptl/elide.h: Moved ...
4513 * sysdeps/x86/elide.h: ... here.
4514 * sysdeps/x86_64/nptl/Implies: File removed.
4515 * sysdeps/i386/nptl/Implies: File removed.
4517 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4520 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4521 return the argument for normal arguments with exponent below -64.
4522 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4524 * math/auto-libm-test-in: Add another test of expm1.
4525 * math/auto-libm-test-out: Regenerated.
4528 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4529 calling __erfcl for arguments at least 16.
4530 * math/auto-libm-test-in: Add more tests of erf.
4531 * math/auto-libm-test-out: Regenerated.
4533 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4534 individual architectures.
4535 * sysdeps/unix/sysv/linux/configure: Regenerated.
4536 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4537 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4538 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4539 (ldd_rewrite_script): Define variable.
4540 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4545 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4546 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4547 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4548 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4549 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4550 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4551 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4552 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4554 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4557 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4558 Rename member __data.d to __data.__elision_data.
4560 2014-06-24 Wilco <wdijkstr@arm.com>
4562 * NEWS: Add 16918 to fixed bug list.
4564 2014-06-24 Wilco <wdijkstr@arm.com>
4566 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4568 2014-06-24 Wilco <wdijkstr@arm.com>
4570 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4571 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4572 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4573 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4574 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4575 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4576 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4579 2014-06-24 Wilco <wdijkstr@arm.com>
4581 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4583 2014-06-24 Wilco <wdijkstr@arm.com>
4585 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4586 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4587 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4588 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4590 2014-06-24 Wilco <wdijkstr@arm.com>
4593 * sysdeps/arm/feupdateenv.c (feupdateenv):
4594 Rewrite to reduce FPSCR accesses and fix return value.
4596 2014-06-24 Wilco <wdijkstr@arm.com>
4598 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4599 Optimize to avoid unnecessary FPSCR writes.
4600 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4601 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4602 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4603 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4605 2014-06-24 Wilco <wdijkstr@arm.com>
4607 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4608 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4609 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4610 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4611 Call libc_fetestexcept_vfp.
4612 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4613 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4614 __SOFTFP__ ifdef so that they can be built for softfp.
4616 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4618 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4619 argument type signed char.
4621 * Makerules (check-abi): Dump diff of symlist if the test
4624 2014-06-23 Roland McGrath <roland@hack.frob.com>
4626 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4629 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4630 Remove unused variable ST.
4632 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4636 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4637 small arguments before calling __expm1.
4638 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4639 small arguments before calling __expm1f.
4640 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4641 small arguments before calling __expm1l.
4642 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4644 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4645 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4646 spurious underflow for some cosh tests.
4647 * math/auto-libm-test-out: Regenerated.
4648 * sysdeps/i386/fpu/libm-test-ulps: Update.
4651 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4652 (__ieee754_y1): Set errno if return value overflows.
4653 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4654 (__ieee754_y1f): Set errno if return value overflows.
4655 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4656 (__ieee754_y1l): Set errno if return value overflows.
4657 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4658 (__ieee754_y1l): Set errno if return value overflows.
4659 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4660 * math/auto-libm-test-out: Regenerated.
4662 * math/gen-auto-libm-tests.c: Document use of
4663 ignore-zero-inf-sign.
4664 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4665 (input_flags): Add ignore-zero-inf-sign.
4666 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4667 * math/gen-libm-test.pl (generate_testfile): Handle
4668 ignore-zero-inf-sign.
4669 * math/auto-libm-test-in: Mark some cpow tests with
4670 ignore-zero-inf-sign and some with xfail-rounding.
4671 * math/auto-libm-test-out: Regenerated.
4672 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4673 * sysdeps/i386/fpu/libm-test-ulps: Update.
4674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4677 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4678 overflowing or underflowing operations take place with sign of
4680 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4681 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4682 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4683 (__ieee754_pow): Recompute overflowing and underflowing results in
4684 original rounding mode.
4685 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4686 (__powl_helper): Allow negative argument X and scale negated value
4687 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4688 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4689 overflowing or underflowing operations take place with sign of
4691 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4693 * math/auto-libm-test-in: Add more tests of pow.
4694 * math/auto-libm-test-out: Regenerated.
4695 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4696 (pow_tonearest_test_data): Remove.
4697 (pow_test_tonearest): Likewise.
4698 (pow_towardzero_test_data): Likewise.
4699 (pow_test_towardzero): Likewise.
4700 (pow_downward_test_data): Likewise.
4701 (pow_test_downward): Likewise.
4702 (pow_upward_test_data): Likewise.
4703 (pow_test_upward): Likewise.
4704 (main): Don't call removed functions.
4705 * sysdeps/i386/fpu/libm-test-ulps: Update.
4706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4708 2014-06-23 Roland McGrath <roland@hack.frob.com>
4710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4884 2014-06-23 Will Newton <will.newton@linaro.org>
4885 Wilco <wdijkstr@arm.com>
4887 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4888 implementation. Include get-rounding-mode.h.
4889 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4890 [!libc_feholdsetround_noex_ctx]: Define
4891 libc_feholdsetround_noex_ctx.
4892 [!libc_feholdsetround_noexf_ctx]: Define
4893 libc_feholdsetround_noexf_ctx.
4894 [!libc_feholdsetround_noexl_ctx]: Define
4895 libc_feholdsetround_noexl_ctx.
4896 (libc_feholdsetround_ctx): New function.
4897 (libc_feresetround_ctx): New function.
4898 (libc_feholdsetround_noex_ctx): New function.
4899 (libc_feresetround_noex_ctx): New function.
4901 2014-06-23 Roland McGrath <roland@hack.frob.com>
4903 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4904 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4905 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4906 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4907 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4908 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4910 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4911 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4912 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4913 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4914 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4915 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4917 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4918 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4919 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4920 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4922 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4926 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4927 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4928 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4930 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4932 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4933 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4934 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4935 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4936 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4937 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4939 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4942 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4944 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4945 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4947 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4949 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4951 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4952 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4953 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4954 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4955 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4956 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4958 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4960 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4961 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4963 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4964 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4965 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4966 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4969 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4970 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4971 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4972 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4974 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4976 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4981 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4983 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4984 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4985 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4987 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4988 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4989 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4994 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4995 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4996 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
4997 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
4998 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
4999 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5000 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5001 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5002 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5003 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5004 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5005 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5006 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5007 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5008 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5009 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5010 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5011 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5012 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5013 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5014 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5016 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5018 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5019 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5020 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5021 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5022 (IPV6_PMTUDISC_INTERFACE): Likewise.
5023 (IPV6_PMTUDISC_OMIT): Likewise.
5025 2014-06-23 Andreas Schwab <schwab@suse.de>
5027 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5028 Remove unused errout label.
5030 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5032 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5033 macro: hardware supports Vector Crypto instructions.
5035 2014-06-23 Will Newton <will.newton@linaro.org>
5037 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5038 rather than __builtin_expect.
5040 * elf/dl-lookup.c (undefined_msg): Remove variable.
5041 (_dl_lookup_symbol_x): Replace undefined_msg with string
5044 * elf/dl-lookup.c (do_lookup_unique): New function.
5045 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5046 to a separate function.
5048 2014-06-23 Andreas Schwab <schwab@suse.de>
5051 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5052 before reading the next line.
5054 2014-06-23 Will Newton <will.newton@linaro.org>
5056 * test-skeleton.c (signal_handler): Use printf and %m
5057 rather than perror. Use printf rather than fprintf to
5058 stderr. Use puts rather than fputs to stderr.
5061 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5063 * nscd/nscd.c (thread_info_t): Remove typedef.
5064 (thread_info): Remove variable.
5066 2014-06-21 Allan McRae <allan@archlinux.org>
5068 * NEWS: Mention CVE-2014-4043.
5070 2014-06-20 Roland McGrath <roland@hack.frob.com>
5072 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5073 * nptl/smp.h: ... here.
5075 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5077 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5078 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5079 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5080 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5082 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5083 * nptl/stack-aliasing.h: New file.
5084 * sysdeps/i386/i686/stack-aliasing.h: New file.
5085 * sysdeps/i386/i686/nptl/Makefile: File removed.
5086 * sysdeps/x86_64/stack-aliasing.h: New file.
5087 * sysdeps/x86_64/nptl/Makefile
5088 (CFLAGS-pthread_create.c): Variable removed.
5090 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5091 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5093 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5094 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5097 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5100 (__ASSUME_SIGFRAME_V2): Remove macro.
5101 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5102 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5103 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5104 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5105 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5106 Declare as function. Remove conditional macro definitions.
5107 (__default_rt_sa_restorer): Likewise.
5108 (__default_sa_restorer_v1): Remove declaration.
5109 (__default_sa_restorer_v2): Likewise.
5110 (__default_rt_sa_restorer_v1): Likewise.
5111 (__default_rt_sa_restorer_v2): Likewise.
5112 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5113 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5114 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5116 2014-06-20 Roland McGrath <roland@hack.frob.com>
5118 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5119 (libpthread-routines): Add sysdep.
5120 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5121 * sysdeps/unix/sysv/linux/sparc/Versions
5122 (libpthread: GLIBC_2.3.3): New version set.
5123 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5124 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5125 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5126 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5127 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5128 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5130 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5131 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5132 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5133 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5134 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5135 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5136 * sysdeps/sparc/nptl/sem_init.c: ... here.
5137 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5138 * sysdeps/sparc/nptl/sem_post.c: ... here.
5139 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5140 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5141 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5142 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5143 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5144 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5145 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5146 (libpthread-routines): Add cpu_relax.
5147 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5150 (librt: GLIBC_2.3.3): New version set.
5151 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5152 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5153 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5154 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5156 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5157 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5160 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5162 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5164 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5166 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5168 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5171 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5175 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5179 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5181 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5183 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5185 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5187 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5189 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5191 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5193 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5194 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5195 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5197 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5199 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5200 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5201 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5202 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5203 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5205 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5207 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5209 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5211 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5213 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5214 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5215 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5216 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5217 * nscd/nscd.c: Likewise.
5218 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5219 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5220 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5221 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5223 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5224 <kernel-features.h>.
5225 (init_mq_netlink): Remove conditional have_sock_cloexec
5226 definitions. Remove code conditional on have_sock_cloexec < 0.
5227 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5228 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5229 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5230 <kernel-features.h>.
5231 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5232 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5234 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5236 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5237 Add tests for memset_chk and memset.
5239 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5242 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5245 * elf/tst-dl-iter-static.c: New file.
5246 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5248 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5251 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5253 * sysdeps/unix/sysv/linux/kernel-features.h
5254 (__ASSUME_F_GETOWN_EX): Remove macro.
5255 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5256 <kernel-features.h>.
5257 (miss_F_GETOWN_EX): Remove variable or macro.
5258 (do_fcntl): Do not check miss_F_GETOWN_EX.
5259 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5261 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5264 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5265 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5267 * sysdeps/unix/sysv/linux/kernel-features.h
5268 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5269 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5270 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5271 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5273 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5276 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5277 Fix calculation of the symbol's value.
5278 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5279 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5280 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5281 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5282 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5283 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5284 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5285 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5286 (modules-names): Add `tst-armtlsdescmod',
5287 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5288 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5289 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5290 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5291 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5292 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5293 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5294 ($(objpfx)tst-armtlsdescloc): New dependency.
5295 ($(objpfx)tst-armtlsdescextnow): Likewise.
5296 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5297 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5299 * sysdeps/arm/configure: Regenerate.
5301 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5303 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5304 (__atfct_seterrno_2): Likewise.
5305 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5306 <kernel-features.h>.
5307 (__ASSUME_ATFCTS): Do not undefine and redefine.
5308 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5309 (__have_atfcts): Remove conditional definition.
5310 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5311 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5312 unreachable if [__ASSUME_ATFCTS].
5313 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5314 not undefine and redefine.
5315 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5316 <kernel-features.h>.
5317 (faccessat) [__NR_faccessat]: Make code unconditional.
5318 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5319 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5320 <kernel-features.h>.
5321 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5322 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5323 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5324 <kernel-features.h>.
5325 (fchownat) [__NR_fchownat]: Make code unconditional.
5326 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5327 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5328 <kernel-features.h>.
5329 (futimesat) [__NR_futimesat]: Make code unconditional.
5330 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5331 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5332 <kernel-features.h>.
5333 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5334 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5335 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5336 <kernel-features.h>.
5337 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5338 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5339 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5340 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5341 <kernel-features.h>.
5342 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5343 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5344 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5345 <kernel-features.h>.
5346 (linkat) [__NR_linkat]: Make code unconditional.
5347 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5348 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5349 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5350 <kernel-features.h>.
5351 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5352 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5353 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5354 <kernel-features.h>.
5355 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5356 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5357 * sysdeps/unix/sysv/linux/openat.c: Do not include
5358 <kernel-features.h>.
5359 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5360 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5361 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5362 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5363 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5364 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5365 <kernel-features.h>.
5366 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5367 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5368 result of INLINE_SYSCALL directly, not via int variable.
5369 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5370 <kernel-features.h>.
5371 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5372 (renameat) [__NR_renameat]: Make code unconditional.
5373 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5374 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5375 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5376 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5377 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5378 (__ASSUME_ATFCTS): Do not undefine and redefine.
5379 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5380 <kernel-features.h>.
5381 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5382 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5383 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5384 <kernel-features.h>.
5385 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5386 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5387 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5388 (__ASSUME_ATFCTS): Do not undefine and redefine.
5389 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5390 <kernel-features.h>.
5391 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5392 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5393 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5394 <kernel-features.h>.
5395 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5396 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5398 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5400 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5402 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5405 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5406 constructed tree before returning error.
5407 * posix/bug-regexp36.c: Expand test case.
5409 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5412 * math/libm-test.inc (scalbln_test_date):
5413 Add errno expectations.
5414 * math/w_scalblnf.c: New File.
5415 Add wrapper which checks for setting errno to ERANGE.
5416 Add weak_alias for corresponding scalbln function.
5417 * math/w_scalbln.c: Likewise.
5418 * math/w_scalblnl.c: Likewise.
5419 * math/Makefile (libm-calls): Add w_scalbln.
5420 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5421 Remove weak_alias for corresponding scalbln function.
5422 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5424 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5426 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5427 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5428 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5429 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5430 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5431 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5432 Remove long_double_symbol for scalblnl function in libm, libc.
5433 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5434 Add wrapper which checks for setting errno to ERANGE.
5435 Add long_double_symbol for scalblnl function in libm, libc.
5436 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5437 Remove long_double_symbol for scalblnl in libm.
5438 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5439 Add wrapper which checks for setting errno to ERANGE.
5440 Add long_double_symbol for scalblnl function in libm.
5441 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5442 Do not use wrapper because of own implementation.
5444 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5446 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5447 3 bytes for __pad1 for x32.
5448 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5450 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5451 H.J. Lu <hongjiu.lu@intel.com>
5453 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5454 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5455 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5456 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5457 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5459 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5462 * posix/regcomp.c (parse_expression): Deallocate partially
5463 constructed tree before returning error.
5464 * posix/Makefile.c (tests): Add bug-regex36.
5465 (generated): Add bug-regex36.mtrace.
5466 (tests-special): Add $(objpfx)bug-regex36-mem.out
5467 (bug-regex36-ENV): New variable.
5468 ($(objpfx)bug-regex36-mem.out): New rule.
5469 * posix/bug-regex36.c: New file.
5471 2014-06-19 Will Newton <will.newton@linaro.org>
5473 * malloc/malloc.c (systrim): If extra is zero then return
5476 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5478 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5480 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5482 * sysdeps/aarch64/strchr.S: New file.
5484 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5487 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5488 from arguments -2 or below.
5489 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5490 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5492 2014-06-18 Andreas Schwab <schwab@suse.de>
5495 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5496 of a bracket expr not to run off the end of the string.
5497 * posix/Makefile (tests): Add tst-fnmatch3.
5498 * posix/tst-fnmatch3.c: New file.
5500 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5502 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5503 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5504 [$(cross-compiling) = no]: Likewise.
5505 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5506 [$(cross-compiling) = no]: Likewise.
5508 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5511 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5512 double, adjusted for any remainder from the high double.
5513 * math/libm-test.inc (nearbyint): Add tests.
5516 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518 * nptl/sysdeps/powerpc/Makefile: Moved ...
5519 * sysdeps/powerpc/nptl/Makefile: ... here.
5520 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5521 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5522 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5523 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5524 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5525 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5526 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5527 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5528 * nptl/sysdeps/powerpc/tls.h: Moved ...
5529 * sysdeps/powerpc/nptl/tls.h: ... here.
5531 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5534 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5535 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5536 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5537 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5538 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5539 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5540 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5541 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5542 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5544 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5546 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5548 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5550 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5553 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5556 2014-06-16 Florian Weimer <fweimer@redhat.com>
5559 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5560 non-executed part of the test.
5562 2014-06-16 Andreas Schwab <schwab@suse.de>
5564 * string/bits/string2.h (strdup, strndup): Update feature guard.
5566 2014-06-14 David S. Miller <davem@davemloft.net>
5568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5570 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5572 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5573 that was previously under [RESET_PID].
5574 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5576 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5577 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5578 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5579 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5580 (__libc_vfork): New strong alias.
5581 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5583 2014-06-14 Andi Kleen <ak@linux.intel.com>
5585 * sysdeps/generic/elide.h: New file.
5587 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5589 * Makefile (installed-headers): Adjust path of pthread.h header.
5591 2014-06-13 Roland McGrath <roland@hack.frob.com>
5593 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5594 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5595 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5596 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5598 * nptl/sysdeps/s390/Makefile: Moved ...
5599 * sysdeps/s390/nptl/Makefile: ... here.
5600 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5601 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5602 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5603 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5604 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5605 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5606 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5607 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5608 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5609 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5610 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5611 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5612 * nptl/sysdeps/s390/tls.h: Moved ...
5613 * sysdeps/s390/nptl/tls.h: ... here.
5615 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5616 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5618 2014-06-13 David S. Miller <davem@davemloft.net>
5620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5621 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5623 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5627 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5628 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5629 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5630 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5631 Remove RESET_PID cpp guards.
5632 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5633 Remove RESET_PID cpp guards.
5634 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5636 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5638 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5641 2014-06-13 Andi Kleen <ak@linux.intel.com>
5643 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5644 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5645 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5648 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5649 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5650 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5652 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5653 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5654 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5655 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5658 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5660 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5661 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5664 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5665 (pthread_rwlock_rdlock): Add elision.
5666 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5667 (pthread_rwlock_wrlock): Add elision.
5668 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5669 (pthread_rwlock_trywrlock): Add elision.
5670 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5671 (pthread_rwlock_tryrdlock): Add elision.
5672 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5673 (pthread_rwlock_tryrdlock): Add elision unlock.
5674 * nptl/sysdeps/pthread/pthread.h:
5675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5676 (PTHREAD_RWLOCK_INITIALIZER,
5677 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5678 Handle new elision field.
5679 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5680 * sysdeps/arm/nptl/bits/pthreadtypes.h
5681 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5682 * sysdeps/sh/nptl/bits/pthreadtypes.h
5683 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5684 * sysdeps/tile/nptl/bits/pthreadtypes.h
5685 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5686 * sysdeps/a/nptl/bits/pthreadtypes.h
5687 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5688 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5689 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5690 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5691 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5692 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5693 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5694 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5695 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5696 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5697 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5698 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5699 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5700 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5701 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5702 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5703 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5704 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5705 (elision_init): Set try_xbegin to zero when no RTM.
5706 * sysdeps/x86/nptl/bits/pthreadtypes.h
5707 (pthread_rwlock_t): Change __pad1 to __rwelision.
5708 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5710 2014-06-13 Andi Kleen <ak@linux.intel.com>
5712 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5713 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5714 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5715 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5717 2014-06-13 Meador Inge <meadori@codesourcery.com>
5720 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5721 that the cached result has been set before returning it.
5723 2014-06-12 Roland McGrath <roland@hack.frob.com>
5725 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5726 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5727 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5728 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5729 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5730 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5732 * nptl/sysdeps/sparc/Makefile: Moved ...
5733 * sysdeps/sparc/nptl/Makefile: ... here.
5734 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5735 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5736 * nptl/sysdeps/sparc/tls.h: Moved ...
5737 * sysdeps/sparc/nptl/tls.h: ... here.
5738 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5739 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5740 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5741 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5742 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5743 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5744 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5745 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5746 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5747 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5748 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5749 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5750 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5751 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5752 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5753 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5754 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5755 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5757 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5760 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5763 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5764 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5767 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5769 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5770 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5772 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5773 (struct list_links): Type removed.
5774 (struct thread_node, struct timer_node): Replace struct list_links
5775 with struct list_head.
5776 (list_unlink_ip): Likewise.
5777 * sysdeps/pthread/timer_routines.c
5778 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5779 (list_append, list_insbefore): Likewise.
5780 (list_init): Function removed.
5781 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5782 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5783 * sysdeps/pthread/Makefile: ... here, new file.
5785 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5786 * sysdeps/nptl/Implies: ... here.
5787 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5788 * nptl/sysdeps/pthread/list.h: Moved ...
5789 * include/list.h: ... here.
5790 * nptl/sysdeps/pthread/createthread.c: Moved ...
5791 * nptl/createthread.c: ... here.
5792 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5793 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5794 * nptl/pt-longjmp.c: ... here.
5795 * nptl/sysdeps/pthread/Makefile: Moved ...
5796 * sysdeps/nptl/Makefile: ... here.
5797 * nptl/sysdeps/pthread/Subdirs: Moved ...
5798 * sysdeps/nptl/Subdirs: ... here.
5799 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5800 * sysdeps/nptl/aio_misc.h: ... here.
5801 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5802 * sysdeps/nptl/bits/libc-lock.h: ... here.
5803 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5804 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5805 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5806 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5807 * nptl/sysdeps/pthread/configure: Moved ...
5808 * sysdeps/nptl/configure: ... here.
5809 * nptl/sysdeps/pthread/configure.ac: Moved ...
5810 * sysdeps/nptl/configure.ac: ... here.
5811 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5812 * sysdeps/nptl/gai_misc.h: ... here.
5813 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5814 * sysdeps/nptl/librt-cancellation.c: ... here.
5815 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5816 * sysdeps/nptl/malloc-machine.h: ... here.
5817 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5818 * sysdeps/nptl/pthread-functions.h: ... here.
5819 * nptl/sysdeps/pthread/pthread.h: Moved ...
5820 * sysdeps/nptl/pthread.h: ... here.
5821 * nptl/sysdeps/pthread/setxid.h: Moved ...
5822 * sysdeps/nptl/setxid.h: ... here.
5823 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5824 * sysdeps/nptl/sigfillset.c: ... here.
5825 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5826 * sysdeps/nptl/tcb-offsets.h: ... here.
5827 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5828 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5829 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5830 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5831 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5832 * sysdeps/pthread/allocalim.h: ... here.
5833 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5834 * sysdeps/pthread/bits/sigthread.h: ... here.
5835 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5836 * sysdeps/pthread/flockfile.c: ... here.
5837 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5838 * sysdeps/pthread/ftrylockfile.c: ... here.
5839 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5840 * sysdeps/pthread/funlockfile.c: ... here.
5841 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5842 * sysdeps/pthread/posix-timer.h: ... here.
5843 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5844 * sysdeps/pthread/timer_create.c: ... here.
5845 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5846 * sysdeps/pthread/timer_delete.c: ... here.
5847 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5848 * sysdeps/pthread/timer_getoverr.c: ... here.
5849 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5850 * sysdeps/pthread/timer_gettime.c: ... here.
5851 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5852 * sysdeps/pthread/timer_routines.c: ... here.
5853 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5854 * sysdeps/pthread/timer_settime.c: ... here.
5855 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5856 * sysdeps/pthread/tst-timer.c: ... here.
5857 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5858 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5860 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5861 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5863 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5864 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5865 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5866 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5867 Update #include target.
5868 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5869 * sysdeps/i386/i686/nptl/Makefile: ... here.
5870 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5871 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5872 Update #include target.
5873 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5874 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5875 * nptl/sysdeps/i386/Makefile: Moved ...
5876 * sysdeps/i386/nptl/Makefile: ... here.
5877 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5878 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5879 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5880 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5881 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5882 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5883 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5884 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5885 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5886 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5887 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5888 * nptl/sysdeps/i386/tls.h: Moved ...
5889 * sysdeps/i386/nptl/tls.h: ... here.
5891 * sysdeps/sh/Makefile [$(subdir) = csu]
5892 (gen-as-const-headers): Add tcb-offsets.sym.
5893 * nptl/sysdeps/sh/Makefile: File removed.
5894 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5895 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5896 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5897 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5898 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5899 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5900 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5901 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5902 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5903 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5904 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5905 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5906 * nptl/sysdeps/sh/tls.h: Moved ...
5907 * sysdeps/sh/nptl/tls.h: ... here.
5908 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5909 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5910 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5911 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5913 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5915 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5917 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5919 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5920 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5921 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5922 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5923 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5924 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5925 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5926 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5927 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5928 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5929 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5930 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5931 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5932 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5939 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5940 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5941 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5942 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5943 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5944 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5945 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5946 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5947 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5949 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5951 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5953 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5955 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5957 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5959 * posix/spawn_faction_addopen.c: Include string.h.
5961 2014-06-11 Roland McGrath <roland@hack.frob.com>
5963 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5964 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5965 * nptl/sysdeps/x86_64/Makefile: Moved ...
5966 * sysdeps/x86_64/nptl/Makefile: ... here.
5967 * nptl/sysdeps/x86_64/configure: Moved ...
5968 * sysdeps/x86_64/nptl/configure: ... here.
5969 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5970 * sysdeps/x86_64/nptl/configure.ac: ... here.
5971 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5972 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5973 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5974 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5975 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5976 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5977 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5978 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5979 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5980 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5981 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5982 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5983 * nptl/sysdeps/x86_64/tls.h: Moved ...
5984 * sysdeps/x86_64/nptl/tls.h: ... here.
5985 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5986 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5987 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5988 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5990 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5992 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5994 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5996 2014-06-11 Joseph Myers <joseph@codesourcery.com>
5998 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6000 [POSIX] (off_t): Likewise.
6001 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6002 [POSIX] (S_ISBLK): Require macro.
6003 [POSIX] (S_ISCHR): Likewise.
6004 [POSIX] (S_ISDIR): Likewise.
6005 [POSIX] (S_ISFIFO): Likewise.
6006 [POSIX] (S_ISREG): Likewise.
6007 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6009 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6011 [POSIX] (time_t): Likewise.
6012 [POSIX] (timer_t): Likewise.
6014 2014-06-11 Florian Weimer <fweimer@redhat.com>
6017 * posix/spawn_int.h (struct __spawn_action): Make the path string
6018 non-const to support deallocation.
6019 * posix/spawn_faction_addopen.c
6020 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6021 * posix/spawn_faction_destroy.c
6022 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6023 path in all spawn_do_open actions.
6024 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6025 posix_spawn_file_actions_addopen.
6027 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6029 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6030 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6031 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6032 conditional code always true.
6033 (__libc_vfork): New alias.
6035 2014-06-11 Roland McGrath <roland@hack.frob.com>
6037 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6038 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6040 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6042 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6043 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6045 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6046 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6048 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6049 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6051 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6053 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6054 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6055 multiarch strcmp for PPC64.
6056 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6058 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6059 multiarch optimizations.
6060 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6061 (__libc_ifunc_impl_list): Likewise.
6063 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6065 * benchtests/scripts/validate_benchout.py: New script.
6066 * benchtests/Makefile (bench-func): Call it.
6067 * benchtests/scripts/benchout.schema.json: New file.
6069 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6071 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6072 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6073 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6074 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6075 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6076 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6077 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6078 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6079 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6080 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6081 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6082 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6083 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6084 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6085 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6086 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6093 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6120 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6150 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6152 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6154 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6156 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6179 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6181 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6190 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6191 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6193 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6196 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6198 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6199 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6200 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6201 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6202 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6203 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6204 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6205 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6206 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6207 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6208 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6209 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6210 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6212 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6215 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6216 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6217 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6218 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6220 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6222 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6223 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6224 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6225 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6226 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6228 2014-06-10 Wilco <wdijkstr@arm.com>
6230 * math/test-fenv-return.c: New file.
6231 * math/Makefile: Add new test test-fenv-return.
6233 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6236 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6238 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6239 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6240 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6241 0.0L for an argument of 1.0L.
6242 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6244 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6245 value when x - 1 is zero.
6246 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6247 * sysdeps/i386/fpu/libm-test-ulps: Update.
6248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6250 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6253 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6255 2014-06-09 Roland McGrath <roland@hack.frob.com>
6257 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6258 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6260 2014-06-09 Roland McGrath <roland@hack.frob.com>
6262 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6263 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6265 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6266 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6268 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6269 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6271 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6272 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6274 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6275 if not already defined.
6276 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6277 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6278 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6279 (TLS_INIT_TP): Use it.
6280 (TLS_DEFINE_INIT_TP): New macro.
6281 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6283 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6285 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6287 [POSIX] (IXANY): Likewise.
6288 [POSIX] (OLCUC): Likewise.
6289 [POSIX || POSIX2008] (CBAUD): Do not allow.
6290 [POSIX || POSIX2008] (DEFECHO): Likewise.
6291 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6292 [POSIX || POSIX2008] (ECHOKE): Likewise.
6293 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6294 [POSIX || POSIX2008] (EXTA): Likewise.
6295 [POSIX || POSIX2008] (EXTB): Likewise.
6296 [POSIX || POSIX2008] (FLUSHO): Likewise.
6297 [POSIX || POSIX2008] (LOBLK): Likewise.
6298 [POSIX || POSIX2008] (PENDIN): Likewise.
6299 [POSIX || POSIX2008] (SWTCH): Likewise.
6300 [POSIX || POSIX2008] (VDISCARD): Likewise.
6301 [POSIX || POSIX2008] (VDSUSP): Likewise.
6302 [POSIX || POSIX2008] (VLNEXT): Likewise.
6303 [POSIX || POSIX2008] (VREPRINT): Likewise.
6304 [POSIX || POSIX2008] (VSTATUS): Likewise.
6305 [POSIX || POSIX2008] (VWERASE): Likewise.
6306 (B*): Change to B[0123456789]*.
6307 * conform/data/time.h-data [POSIX || UNIX98]
6308 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6309 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6310 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6311 [POSIX] (tm_*): Do not allow.
6313 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6315 * Makefile (install): Don't set LANGUAGE.
6316 * Makefile.in (install): Likewise.
6317 * assert/Makefile (test-assert-ENV): Remove variable.
6318 (test-assert-perr-ENV): Likewise.
6319 * elf/Makefile (neededtest4-ENV): Likewise.
6320 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6321 [$(cross-compiling) = no]: Don't set LANGUAGE.
6322 * io/ftwtest-sh (LANG): Remove variable.
6323 * libio/Makefile (tst-widetext-ENV): Likewise.
6324 * manual/install.texi (Running make install): Don't refer to
6325 environment settings for make install.
6326 * INSTALL: Regenerated.
6327 * nptl/tst-tls6.sh: Don't set LANG.
6328 * posix/globtest.sh (LANG): Remove variable.
6329 * string/Makefile (tester-ENV): Likewise.
6330 (inl-tester-ENV): Likewise.
6331 (noinl-tester-ENV): Likewise.
6332 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6333 [$(cross-compiling) = no]: Don't set LANGUAGE.
6334 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6335 without explicit environment settings.
6337 2014-06-06 Roland McGrath <roland@hack.frob.com>
6339 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6340 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6341 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6342 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6344 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6346 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6347 other files in the crypt directory.
6348 * crypt/crypt.c: Remove duplicate includes.
6349 * crypt/crypt-entry.c: Likewise.
6350 * crypt/crypt_util.c: Likewise.
6352 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6354 * Makeconfig (run-program-env): New variable.
6355 (run-program-prefix-before-env): Likewise.
6356 (run-program-prefix-after-env): Likewise.
6357 (run-program-prefix): Define in terms of new variables.
6358 (built-program-cmd-before-env): New variable.
6359 (built-program-cmd-after-env): Likewise.
6360 (built-program-cmd): Define in terms of new variables.
6361 (test-program-prefix-before-env): New variable.
6362 (test-program-prefix-after-env): Likewise.
6363 (test-program-prefix): Define in terms of new variables.
6364 (test-program-cmd-before-env): New variable.
6365 (test-program-cmd-after-env): Likewise.
6366 (test-program-cmd): Define in terms of new variables.
6367 * Rules (make-test-out): Use $(run-program-env).
6368 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6369 (help): Do not mention environment variables. Mention
6370 --timeoutfactor option.
6371 (timeoutfactor): New variable.
6372 (blacklist_exports): Remove function.
6373 (exports): Remove variable.
6374 (command): Do not include ${exports}.
6375 * manual/install.texi (Configuring and compiling): Do not mention
6376 test wrappers preserving environment variables. Mention that last
6377 assignment to a variable must take precedence.
6378 * INSTALL: Regenerated.
6379 * benchtests/Makefile (run-bench): Use $(run-program-env).
6380 * catgets/Makefile ($(objpfx)test1.cat): Use
6381 $(built-program-cmd-before-env), $(run-program-env) and
6382 $(built-program-cmd-after-env).
6383 ($(objpfx)test2.cat): Do not specify environment variables
6385 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6386 $(run-program-env) and $(built-program-cmd-after-env).
6387 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6388 $(run-program-env) and $(test-program-cmd-after-env).
6389 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6391 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6392 run_program_env and test_program_cmd_after_env arguments.
6393 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6394 * elf/tst-pathopt.sh: Use run_program_env argument.
6395 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6396 $(test-wrapper-env) and $(run-program-env).
6397 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6398 run_program_env arguments.
6399 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6400 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6401 $(test-program-prefix-before-env), $(run-program-env) and
6402 $(test-program-prefix-after-env).
6403 ($(objpfx)tst-gettext2.out): Likewise.
6404 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6405 run_program_env and test_program_prefix_after_env arguments.
6406 * intl/tst-gettext2.sh: Likewise.
6407 * intl/tst-gettext4.sh: Do not set environment variables
6409 * intl/tst-gettext6.sh: Likewise.
6410 * intl/tst-translit.sh: Likewise.
6411 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6412 $(test-program-prefix-before-env), $(run-program-env) and
6413 $(test-program-prefix-after-env).
6414 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6415 run_program_env and test_program_prefix_after_env arguments.
6416 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6417 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6418 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6419 explicitly with each use of ${test_wrapper_env}.
6420 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6421 $(test-program-prefix-before-env), $(run-program-env) and
6422 $(test-program-prefix-after-env).
6423 * posix/tst-getconf.sh: Do not set environment variables
6425 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6426 run_program_env and test_program_prefix_after_env arguments.
6427 * stdio-common/tst-printf.sh: Do not set environment variables
6429 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6430 $(test-program-prefix-before-env), $(run-program-env) and
6431 $(test-program-prefix-after-env).
6432 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6433 run_program_env and test_program_prefix_after_env arguments.
6434 Split $test calls into $test_pre and $test.
6435 * timezone/Makefile (build-testdata): Use
6436 $(built-program-cmd-before-env), $(run-program-env) and
6437 $(built-program-cmd-after-env).
6439 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6442 strlen for non SHARED builds.
6444 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6446 * nptl/allocatestack.c (check_list): Inlined function...
6447 (__reclaim_stacks): ... here.
6449 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6452 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6455 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6457 * Rules (make-test-out): Include
6458 LOCPATH=$(common-objpfx)localedata in default environment.
6459 * debug/Makefile (tst-chk1-ENV): Remove variable.
6460 (tst-chk2-ENV): Likewise.
6461 (tst-chk3-ENV): Likewise.
6462 (tst-chk4-ENV): Likewise.
6463 (tst-chk5-ENV): Likewise.
6464 (tst-chk6-ENV): Likewise.
6465 (tst-lfschk1-ENV): Likewise.
6466 (tst-lfschk2-ENV): Likewise.
6467 (tst-lfschk3-ENV): Likewise.
6468 (tst-lfschk4-ENV): Likewise.
6469 (tst-lfschk5-ENV): Likewise.
6470 (tst-lfschk6-ENV): Likewise.
6471 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6472 (tst-iconv7-ENV): Likewise.
6473 * intl/Makefile (LOCPATH-ENV): Likewise.
6474 (tst-codeset-ENV): Likewise.
6475 (tst-gettext3-ENV): Likewise.
6476 (tst-gettext5-ENV): Likewise.
6477 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6478 (tst-fopenloc-ENV): Likewise.
6479 (tst-fgetws-ENV): Remove variable.
6480 (tst-ungetwc1-ENV): Likewise.
6481 (tst-ungetwc2-ENV): Likewise.
6482 (bug-ungetwc2-ENV): Likewise.
6483 (tst-swscanf-ENV): Likewise.
6484 (bug-ftell-ENV): Likewise.
6485 (tst-fgetwc-ENV): Likewise.
6486 (tst-fseek-ENV): Likewise.
6487 (tst-ftell-partial-wide-ENV): Likewise.
6488 (tst-ftell-active-handler-ENV): Likewise.
6489 (tst-ftell-append-ENV): Likewise.
6490 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6491 (tst-regexloc-ENV): Likewise.
6492 (bug-regex1-ENV): Likewise.
6493 (tst-regex-ENV): Likewise.
6494 (tst-regex2-ENV): Likewise.
6495 (bug-regex5-ENV): Likewise.
6496 (bug-regex6-ENV): Likewise.
6497 (bug-regex17-ENV): Likewise.
6498 (bug-regex18-ENV): Likewise.
6499 (bug-regex19-ENV): Likewise.
6500 (bug-regex20-ENV): Likewise.
6501 (bug-regex22-ENV): Likewise.
6502 (bug-regex23-ENV): Likewise.
6503 (bug-regex25-ENV): Likewise.
6504 (bug-regex26-ENV): Likewise.
6505 (bug-regex30-ENV): Likewise.
6506 (bug-regex32-ENV): Likewise.
6507 (bug-regex33-ENV): Likewise.
6508 (bug-regex34-ENV): Likewise.
6509 (bug-regex35-ENV): Likewise.
6510 (tst-rxspencer-ENV): Likewise.
6511 (tst-rxspencer-no-utf8-ENV): Likewise.
6512 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6513 (tst-sscanf-ENV): Likewise.
6514 (tst-swprintf-ENV): Likewise.
6515 (tst-swscanf-ENV): Likewise.
6516 (test-vfprintf-ENV): Likewise.
6517 (scanf13-ENV): Likewise.
6518 (bug14-ENV): Likewise.
6519 (tst-grouping-ENV): Likewise.
6520 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6521 (tst-strtod3-ENV): Likewise.
6522 (tst-strtod4-ENV): Likewise.
6523 (tst-strtod5-ENV): Likewise.
6524 (testmb2-ENV): Likewise./
6525 * string/Makefile (tst-strxfrm-ENV): Likewise.
6526 (tst-strxfrm2-ENV): Likewise.
6527 (bug-strcoll1-ENV): Likewise.
6528 (test-strcasecmp-ENV): Likewise.
6529 (test-strncasecmp-ENV): Likewise.
6530 * time/Makefile (tst-strptime-ENV): Likewise.
6531 (tst-ftime_l-ENV): Likewise.
6532 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6533 (tst-mbrtowc-ENV): Likewise.
6534 (tst-wcrtomb-ENV): Likewise.
6535 (tst-mbrtowc2-ENV): Likewise.
6536 (tst-c16c32-1-ENV): Likewise.
6537 (tst-mbsnrtowcs-ENV): Likewise.
6539 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6541 * manual/resource.texi (How to get information about the memory
6542 subsystem?): Fix typo.
6543 Reported by Peon de la Parra Ivan <peon@keba.com>
6545 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6548 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6549 (pthread_spin_lock): Branch out of spin loop to proper location.
6550 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6551 (pthread_spin_lock): Likewise.
6553 * nptl/tst-spin4.c: New test.
6554 * nptl/Makefile (tests): Add tst-spin4.
6556 2014-06-03 Andreas Schwab <schwab@suse.de>
6559 * resolv/res_send.c (send_dg): Reload file descriptor after
6562 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6564 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6566 2014-06-03 Richard Henderson <rth@redhat.com>
6568 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6569 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6570 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6571 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6572 in the SAVE_PID block.
6573 (__libc_vfork): New alias.
6574 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6576 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6577 child in registers, not on the stack. Remove RESET_PID conditionals.
6578 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6580 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6582 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6584 2014-06-03 Wilco <wdijkstr@arm.com>
6586 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6587 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6588 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6589 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6590 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6593 2014-06-03 Wilco <wdijkstr@arm.com>
6595 * sysdeps/aarch64/fpu/math_private.h
6596 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6597 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6598 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6599 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6602 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6604 * crypt/crypt-private.h: Include ufc-crypt.h.
6605 (__b64_from_24bit): Declare extern.
6606 * crypt/crypt_util.c(__b64_from_24bit): New function.
6607 (b64t): New static const variable.
6608 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6609 (b64t): Remove variable.
6610 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6611 * crypt/sha256-crypt.c: Include crypt-private.h.
6612 (b64t): Remove variable.
6613 (__sha256_crypt_r): Remove b64_from_24bit and replace
6614 with __b64_from_24bit.
6615 * crypt/sha512-crypt.c: Likewise.
6617 2014-06-02 Roland McGrath <roland@hack.frob.com>
6619 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6620 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6621 Label the code __libc_vfork rather than __vfork.
6622 [!NOT_IN_libc] (vfork): Define as weak alias.
6623 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6624 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6625 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6627 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6629 * malloc/malloc.c (malloc_info): Fix format specifier for
6632 2014-06-02 Wilco <wdijkstr@arm.com>
6634 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6637 2014-06-02 Wilco <wdijkstr@arm.com>
6640 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6641 Rewrite to reduce FPCR/FPSR accesses.
6643 2014-06-01 David S. Miller <davem@davemloft.net>
6645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6647 2014-05-31 David S. Miller <davem@davemloft.net>
6649 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6650 to occur in round to nearest mode when |x| >= 2.0
6652 2014-05-30 Richard Henderson <rth@twiddle.net>
6654 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6655 (PSEUDO_RET_NOERRNO): Remove.
6656 (ret): Don't redefine.
6657 (ret_NOERRNO): Define in terms of ret.
6658 (ret_ERRVAL): Likewise.
6660 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6661 use of PSEUDO_RET; perform the error check directly.
6663 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6665 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6668 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6670 * malloc/malloc (malloc_info): Fix formatting.
6672 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6673 Roland McGrath <roland@hack.frob.com>
6675 * malloc/malloc (malloc_info): Also print mmapped statistics.
6677 2014-05-30 Roland McGrath <roland@hack.frob.com>
6679 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6680 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6682 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6684 * malloc/malloc.c (malloc_info): Inline mi_arena.
6686 2014-05-29 Richard Henderson <rth@twiddle.net>
6688 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6689 Remove comma before expanding ASM_ARGS_##nr.
6690 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6691 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6693 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6694 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6695 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6696 (ASM_ARGS_1): Add leading comma.
6698 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6699 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6700 to __errno_location.
6701 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6702 Remove the expected plt for __errno_location.
6704 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6705 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6708 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6709 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6710 it and break it down.
6711 (DOCARGS_0, DOCARGS_1): Do nothing.
6712 (DOCARGS_2): Update to store into the new stack frame.
6713 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6714 (UNDOCARGS_1): Update to restore from the new stack frame.
6715 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6716 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6718 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6719 (SINGLE_THREAD_P): New parameter for result regno.
6720 (PSEUDO): Update to match; use cbz instead of beq.
6722 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6723 Use ENTRY to define the _nocancel entry point. Share the syscall
6724 and syscall error check paths with the cancel path.
6727 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6728 whitespace; tabs before and after asm mnemonics.
6730 2014-05-29 Eric Wong <normalperson@yhbt.net>
6733 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6734 Call fstat64 or stat64 internally, depending on arguments passed.
6735 Replace stat buffer argument with file descriptor argument.
6736 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6737 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6738 Pass fd to __internal_statvfs instead of calling fstat64.
6739 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6740 Pass fd to __internal_statvfs64 instead of calling fstat64.
6741 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6742 Pass -1 to __internal_statvfs instead of calling stat64.
6743 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6744 Pass -1 to __internal_statvfs64 instead of calling stat64.
6746 2014-05-28 Roland McGrath <roland@hack.frob.com>
6748 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6749 that was previously under [RESET_PID].
6750 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6752 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6753 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6755 2014-05-27 Roland McGrath <roland@hack.frob.com>
6757 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6759 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6760 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6762 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6764 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6766 2014-05-27 Andreas Schwab <schwab@suse.de>
6768 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6770 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6771 * elf/rtld.c (init_tls, dl_main): Likewise.
6772 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6773 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6774 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6775 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6776 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6777 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6778 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6779 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6780 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6781 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6782 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6783 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6784 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6785 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6786 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6787 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6788 * sysdeps/generic/tls.h: Update description.
6790 2014-05-27 Will Newton <will.newton@linaro.org>
6793 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6794 and restore r2 rather than just restoring.
6796 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6799 * libio/tst-ftell-append.c: New test case.
6800 * libio/Makefile (tests): Add test case.
6801 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6803 * libio/wfileops.c (do_ftell_wide): Likewise.
6805 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6809 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6813 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6814 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6816 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6818 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6825 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6826 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6827 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6828 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6831 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6834 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6836 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6838 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6839 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6840 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6842 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6843 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6844 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6845 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6860 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6868 conditional [RESET_PID].
6869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6870 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6872 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6877 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6878 (__libc_vfork): New strong alias.
6879 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6881 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6886 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6887 (__libc_vfork): New strong alias.
6888 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6890 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6893 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6895 * malloc/malloc.c (mi_arena): New function.
6896 (malloc_info): Remove nested function mi_arena. Call non-nosted
6899 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6903 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6904 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6905 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6906 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6907 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6908 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6909 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6911 2014-05-26 Andreas Schwab <schwab@suse.de>
6914 * locale/programs/repertoire.c (repertoire_read): Add slash
6915 between I18NPATH element and file name.
6916 * locale/programs/locfile.c (locfile_read): Likewise.
6918 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6920 * nptl/pthread_mutexattr_settype.c
6921 (__pthread_mutexattr_settype):
6922 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6924 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6926 * nptl/tst-mutex5 (do_test):
6927 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6929 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6931 * benchtests/README: Document 'init' directive.
6932 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6934 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6935 (parse_file): Recognize 'init' directive.
6937 2014-05-26 Kyle McMartin <kyle@redhat.com>
6940 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6941 alignment of struct pthread.
6943 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6946 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6947 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6948 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6949 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6951 2014-05-25 Richard Henderson <rth@twiddle.net>
6953 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6954 (SINGLE_THREAD_P_PIC): Remove.
6955 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6956 (SINGLE_THREAD_P_PIC): Remove.
6958 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6959 branch to syscall error ...
6961 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6962 from __local_syscall_error to .Lsyscall_error.
6963 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6964 (SYSCALL_ERROR): Update label name.
6966 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6967 Do not use DOARGS/UNDOARGS.
6968 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6969 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6970 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6971 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6972 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6974 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6977 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6978 define if !NOT_IN_libc.
6979 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6980 define with non-default symbol versions.
6982 2014-05-23 Richard Henderson <rth@twiddle.net>
6984 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6985 (vfork, __vfork): Define via compat_symbol.
6987 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6988 [!HAVE_IFUNC] (vfork_compat): Remove.
6989 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6991 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6994 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6995 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
6998 2014-05-23 Richard Henderson <rth@twiddle.net>
7000 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7001 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7002 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7003 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7005 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7006 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7007 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7008 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7009 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7010 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7011 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7012 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7013 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7014 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7015 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7016 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7017 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7018 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7019 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7020 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7022 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7023 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7024 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7028 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7029 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7030 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7034 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7036 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7037 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7038 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7040 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7042 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7044 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7045 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7046 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7047 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7048 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7049 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7050 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7051 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7052 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7053 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7054 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7055 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7056 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7057 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7058 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7059 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7060 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7062 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7063 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7064 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7065 before exiting on error.
7066 (__libc_vfork): New strong alias.
7067 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7068 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7070 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7071 that was previously under [RESET_PID].
7072 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7074 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7076 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7079 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7080 value when x - 1 is zero.
7081 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7082 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7083 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7084 0.0L for an argument of 1.0L.
7085 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7087 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7088 value when x - 1 is zero.
7089 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7090 * sysdeps/i386/fpu/libm-test-ulps: Update.
7091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7093 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7095 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7096 alphasort and versionsort.
7098 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7100 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7102 [copysignf]: Likewise.
7104 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7106 * crypt/md5-crypt.c: Fix formatting.
7108 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7110 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7111 (b64_from_24bit): New function.
7113 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7115 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7116 libc_hidden_builtin_def to ifunc.
7117 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7118 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7120 2014-05-21 Roland McGrath <roland@hack.frob.com>
7122 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7123 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7125 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7127 * nscd/Depend (linuxthreads): Remove.
7129 * resolv/Depend (linuxthreads): Remove.
7130 * rt/Depend (linuxthreads): Remove.
7132 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7133 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7134 $(common-objpfx)elf/.
7135 (link-libc-before-gnulib): Likewise.
7136 (elfobjdir): Remove variable.
7137 * Makefile (install): Use $(elf-objpfx) instead of
7138 $(common-objpfx)elf/.
7139 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7141 (link-libc-deps): Likewise.
7142 ($(common-objpfx)libc.so): Likewise.
7143 ($(common-objpfx)linkobj/libc.so): Likewise.
7144 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7145 instead of $(common-objpfx)elf/.
7146 (symbolic-link-list): Likewise.
7147 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7148 [$(cross-compiling) = no]: Likewise.
7149 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7151 (static-gnulib-arch): Likewise.
7152 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7153 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7154 $(common-objpfx)elf/.
7156 2014-05-21 Richard Henderson <rth@redhat.com>
7158 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7159 (SINGLE_THREAD_P): Use the correct width load. Fold
7160 into the ldr offset.
7162 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7163 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7165 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7167 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7168 (libgcc_s_resume): Use __attribute_used__.
7169 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7172 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7174 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7175 optimization when used with float constants.
7177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7179 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7182 * locale/nl_langinfo_l.c: Make direct reference to every
7183 _nl_current_CATEGORY symbol.
7184 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7185 (tests-static): Add tst-langinfo-static.
7186 (tests-special): Add tst-langinfo-static.out.
7187 ($(objpfx)tst-langinfo.out): Redirect output.
7188 ($(objpfx)tst-langinfo-static.out): New.
7189 * localedata/tst-langinfo.sh: Send output to stdout.
7190 * localedata/tst-langinfo-static.c: New file.
7193 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7194 when the shift amount is modulo the limb size.
7196 2014-05-20 Richard Henderson <rth@redhat.com>
7199 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7200 Change type of sa_flags from unsigned int to int.
7203 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7205 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7207 2014-05-20 Will Newton <will.newton@linaro.org>
7209 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7210 Test the return value of the system call in the nocancel case.
7212 2014-05-20 Will Newton <will.newton@linaro.org>
7213 Yvan Roux <yvan.roux@linaro.org>
7215 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7216 #include of asm/ptrace.h.
7217 (PTRACE_GET_THREAD_AREA): Remove #undef.
7218 (PTRACE_GETHBPREGS): Likewise.
7219 (PTRACE_SETHBPREGS): Likewise.
7220 (struct user_regs_struct): New structure.
7221 (struct user_fpsimd_struct): New structure.
7222 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7223 #include of asm/ptrace.h and second #include of sys/user.h.
7224 (PTRACE_GET_THREAD_AREA): Remove #undef.
7225 (PTRACE_GETHBPREGS): Likewise.
7226 (PTRACE_SETHBPREGS): Likewise.
7227 (ELF_NGREG): Use new struct user_regs_struct.
7228 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7230 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7232 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7233 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7235 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7238 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7239 membar to avoid block loads/stores to overlap previous stores.
7241 2014-05-17 Richard Henderson <rth@redhat.com>
7243 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7244 Create the __##syscall_name##_nocancel entry point.
7245 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7246 Remove; let the sysdep-cancel.h code create it.
7248 2014-05-17 David S. Miller <davem@davemloft.net>
7250 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7251 Protect with __USE_GNU.
7252 (TIOCSET_TEMPT): Likewise.
7253 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7254 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7255 these are already provided in bits/ioctl-types.h
7257 2014-05-16 Roland McGrath <roland@hack.frob.com>
7259 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7260 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7262 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7263 Use wait4 regardless of [__NR_waitpid].
7265 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7268 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7269 (_FP_NANSIGN_Q): Set the quiet bit.
7271 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7273 * benchtests/Makefile
7274 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7275 not $(common-objpfx)math/libm.so.
7276 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7277 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7278 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7279 $(common-objpfx)dlfcn/libdl.so.
7280 ($(objpfx)tst-audit8): Depend on $(libm), not
7281 $(common-objpfx)math/libm.so.
7282 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7283 not $(common-objpfx)dlfcn/libdl.so.
7285 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7286 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7287 [$(build-shared) = yes].
7288 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7289 $(common-objpfx)nptl/libpthread.so.
7290 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7291 $(common-objpfx)math/libm.so$(libm.so-version) or
7292 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7293 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7294 $(common-objpfx)dlfcn/libdl.so.
7295 * setjmp/Makefile (link-libm): Remove variable.
7296 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7297 * stdio-common/Makefile (link-libm): Remove variable.
7298 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7299 * stdlib/Makefile (link-libm): Remove variable.
7300 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7301 ($(objpfx)tst-strtod-round): Likewise.
7302 ($(objpfx)tst-tininess): Likewise.
7303 ($(objpfx)tst-strtod-underflow): Likewise.
7304 ($(objpfx)tst-strtod6): Likewise.
7305 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7306 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7307 $(common-objpfx)dlfcn/libdl.so.
7309 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7311 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7312 BSD terminal modes definitions.
7314 2014-05-16 Roland McGrath <roland@hack.frob.com>
7316 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7317 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7319 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7320 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7321 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7322 Don't do #include_next.
7323 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7324 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7325 Don't do #include_next.
7326 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7327 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7328 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7329 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7331 2014-05-16 Allan McRae <allan@archlinux.org>
7333 * po/sv.po: Update Swedish translation from translation project.
7335 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7338 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7341 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7342 errno if the TIOCGPTN ioctl fails with an error different than
7344 * login/tst-ptsname.c: New file.
7345 * login/Makefile (tests): Add tst-ptsname.
7348 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7351 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7355 herrno to return EAI_AGAIN.
7357 2014-05-14 Roland McGrath <roland@hack.frob.com>
7359 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7360 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7361 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7362 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7363 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7364 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7365 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7366 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7367 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7368 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7369 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7370 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7371 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7372 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7373 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7374 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7375 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7376 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7377 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7378 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7379 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7380 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7381 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7382 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7383 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7384 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7385 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7386 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7387 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7388 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7390 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7391 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7392 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7395 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7397 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7399 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7401 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7402 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7403 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7405 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7407 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7408 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7409 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7410 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7411 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7413 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7415 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7417 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7419 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7421 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7424 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7426 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7428 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7430 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7432 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7438 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7440 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7442 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7445 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7447 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7449 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7450 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7451 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7452 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7453 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7454 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7455 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7456 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7457 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7458 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7459 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7460 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7461 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7462 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7463 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7464 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7465 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7466 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7467 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7468 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7469 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7470 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7471 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7472 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7473 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7474 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7475 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7476 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7477 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7478 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7479 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7481 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7482 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7484 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7485 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7486 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7487 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7488 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7489 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7491 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7494 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7497 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7500 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7501 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7502 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7505 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7507 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7508 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7509 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7510 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7511 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7512 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7514 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7515 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7519 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7520 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7521 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7522 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7523 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7525 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7527 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7529 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7530 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7531 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7532 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7533 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7534 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7536 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7539 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7542 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7545 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7547 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7550 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7551 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7552 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7553 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7554 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7556 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7557 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7559 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7562 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7564 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7565 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7566 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7567 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7568 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7570 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7572 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7574 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7575 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7576 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7577 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7578 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7579 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7580 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7581 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7582 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7583 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7585 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7588 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7591 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7596 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7598 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7601 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7603 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7604 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7605 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7606 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7607 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7608 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7610 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7613 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7615 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7616 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7618 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7621 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7623 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7625 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7626 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7627 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7628 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7629 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7630 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7631 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7632 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7633 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7634 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7635 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7637 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7638 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7640 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7641 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7643 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7644 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7645 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7647 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7649 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7650 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7651 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7653 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7655 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7657 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7659 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7662 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7664 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7665 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7669 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7671 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7673 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7679 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7681 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7682 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7683 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7684 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7685 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7686 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7687 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7688 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7689 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7690 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7691 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7693 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7695 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7698 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7699 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7700 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7701 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7703 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7704 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7705 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7706 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7707 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7708 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7709 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7710 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7711 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7712 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7714 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7715 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7717 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7718 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7719 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7720 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7722 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7723 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7724 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7725 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7726 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7727 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7728 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7729 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7730 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7731 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7737 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7741 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7743 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7745 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7747 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7749 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7751 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7752 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7753 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7756 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7757 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7758 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7760 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7761 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7762 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7763 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7764 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7765 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7767 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7768 that was previously under [RESET_PID].
7769 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7770 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7771 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7773 * sysdeps/i386/nptl/Implies: New file.
7774 * sysdeps/x86_64/nptl/Implies: New file.
7775 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7776 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7777 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7778 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7780 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7781 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7782 (__libc_vfork): New strong alias.
7783 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7784 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7786 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7787 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7788 (__libc_vfork): New strong alias.
7789 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7790 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7792 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7793 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7794 (__libc_vfork): New strong alias.
7795 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7796 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7797 * nptl/pt-vfork.c: New file.
7798 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7799 (libpthread: GLIBC_2.20): New version set (empty).
7801 2014-05-14 Will Newton <will.newton@linaro.org>
7803 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7806 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7809 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7810 arguments with exponent 65 or above.
7811 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7812 arguments 0x1p113L or above.
7813 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7814 to arguments 0x1p107L or above.
7815 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7816 positive arguments with exponent 65 or above.
7817 * math/auto-libm-test-in: Add more tests of log1p.
7818 * math/auto-libm-test-out: Regenerated.
7821 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7822 non-finite arguments is +0.
7823 * math/s_cacosf.c (__cacosf): Likewise.
7824 * math/s_cacosl.c (__cacosl): Likewise.
7825 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7826 * sysdeps/i386/fpu/libm-test-ulps: Update.
7827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7830 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7832 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7833 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7834 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7835 for explicit high bit of mantissa when testing for argument equal
7837 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7838 * sysdeps/i386/fpu/libm-test-ulps: Update.
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7842 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7843 (__erf): Scale by 16 instead of 8 in potentially underflowing
7844 case. Ensure exception if result actually underflows.
7845 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7846 (__erff): Scale by 16 instead of 8 in potentially underflowing
7847 case. Ensure exception if result actually underflows.
7848 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7849 (efx8): Remove variable.
7850 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7851 case. Ensure exception if result actually underflows.
7852 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7853 (efx8): Remove variable.
7854 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7855 case. Ensure exception if result actually underflows.
7856 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7857 (efx8): Remove variable.
7858 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7859 case. Ensure exception if result actually underflows.
7860 * math/auto-libm-test-in: Add more tests of erf.
7861 * math/auto-libm-test-out: Regenerated.
7863 2014-05-14 Andreas Schwab <schwab@suse.de>
7865 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7866 Remove code conditionalized on USE___THREAD.
7868 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7869 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7872 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7874 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7875 Define unconditionally.
7876 (__ASSUME_O_CLOEXEC): Likewise.
7877 (__ASSUME_SOCK_CLOEXEC): Likewise.
7878 (__ASSUME_IN_NONBLOCK): Likewise.
7879 (__ASSUME_PIPE2): Likewise.
7880 (__ASSUME_EVENTFD2): Likewise.
7881 (__ASSUME_SIGNALFD4): Likewise.
7882 (__ASSUME_DUP3): Likewise.
7883 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7884 (__ASSUME_DUP3): Do not define.
7885 (__ASSUME_EVENTFD2): Likewise.
7886 (__ASSUME_IN_NONBLOCK): Likewise.
7887 (__ASSUME_O_CLOEXEC): Likewise.
7888 (__ASSUME_PIPE2): Likewise.
7889 (__ASSUME_SIGNALFD4): Likewise.
7890 (__ASSUME_SOCK_CLOEXEC): Likewise.
7891 (__ASSUME_UTIMES): Undefine.
7892 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7893 (__ASSUME_UTIMES): Do not define.
7894 (__ASSUME_O_CLOEXEC): Likewise.
7895 (__ASSUME_SOCK_CLOEXEC): Likewise.
7896 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7897 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7899 (__ASSUME_PIPE2): Likewise.
7900 (__ASSUME_EVENTFD2): Likewise.
7901 (__ASSUME_SIGNALFD4): Likewise.
7902 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7903 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7905 (__ASSUME_EVENTFD2): Likewise.
7906 (__ASSUME_SIGNALFD4): Likewise.
7907 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7908 (__ASSUME_32BITUIDS): Likewise.
7909 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7910 (__ASSUME_IPC64): Likewise.
7911 (__ASSUME_ST_INO_64_BIT): Likewise.
7912 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7913 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7914 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7915 (__ASSUME_UTIMES): Do not define.
7916 (__ASSUME_PSELECT): Likewise.
7917 (__ASSUME_PPOLL): Likewise.
7918 (__ASSUME_O_CLOEXEC): Likewise.
7919 (__ASSUME_SOCK_CLOEXEC): Likewise.
7920 (__ASSUME_IN_NONBLOCK): Likewise.
7921 (__ASSUME_PIPE2): Likewise.
7922 (__ASSUME_EVENTFD2): Likewise.
7923 (__ASSUME_SIGNALFD4): Likewise.
7924 (__ASSUME_DUP3): Likewise.
7925 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7926 (__ASSUME_UTIMES): Likewise.
7927 (__ASSUME_O_CLOEXEC): Likewise.
7928 (__ASSUME_SOCK_CLOEXEC): Likewise.
7929 (__ASSUME_IN_NONBLOCK): Likewise.
7930 (__ASSUME_PIPE2): Likewise.
7931 (__ASSUME_EVENTFD2): Likewise.
7932 (__ASSUME_SIGNALFD4): Likewise.
7933 (__ASSUME_DUP3): Likewise.
7934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7935 (__ASSUME_UTIMES): Likewise.
7936 (__ASSUME_O_CLOEXEC): Likewise.
7937 (__ASSUME_SOCK_CLOEXEC): Likewise.
7938 (__ASSUME_IN_NONBLOCK): Likewise.
7939 (__ASSUME_PIPE2): Likewise.
7940 (__ASSUME_EVENTFD2): Likewise.
7941 (__ASSUME_SIGNALFD4): Likewise.
7942 (__ASSUME_DUP3): Likewise.
7943 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7945 (__ASSUME_UTIMES): Likewise.
7946 (__ASSUME_EVENTFD2): Likewise.
7947 (__ASSUME_SIGNALFD4): Likewise.
7948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7949 (__ASSUME_O_CLOEXEC): Likewise.
7950 (__ASSUME_SOCK_CLOEXEC): Likewise.
7951 (__ASSUME_IN_NONBLOCK): Likewise.
7952 (__ASSUME_PIPE2): Likewise.
7953 (__ASSUME_EVENTFD2): Likewise.
7954 (__ASSUME_SIGNALFD4): Likewise.
7955 (__ASSUME_DUP3): Likewise.
7956 (__ASSUME_UTIMES): Undefine.
7958 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7959 feclearexcept. Remove symbol versioning code.
7960 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7961 symbol versioning code.
7962 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7963 symbol versioning code.
7964 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7965 feupdateenv. Remove symbol versioning code.
7966 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7967 fegetexceptflag. Remove symbol versioning code.
7968 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7969 fesetexceptflag. Remove symbol versioning code.
7970 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7971 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7972 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7973 (__posix_fadvise64_l32): Remove prototype.
7974 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7977 2014-05-13 Roland McGrath <roland@hack.frob.com>
7979 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7980 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7981 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7982 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7984 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7986 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7987 current working directory
7989 2014-05-13 Roland McGrath <roland@hack.frob.com>
7991 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7992 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7993 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7994 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7995 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7996 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
7997 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
7998 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
7999 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8000 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8001 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8002 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8003 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8004 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8010 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8012 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8013 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8014 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8015 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8016 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8020 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8021 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8022 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8023 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8024 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8025 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8026 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8027 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8028 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8029 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8030 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8031 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8032 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8034 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8035 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8037 * sysdeps/unix/sysv/linux/arm/Makefile
8038 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8039 Add rt-aeabi_unwind_cpp_pr1.
8040 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8041 Add nptl-aeabi_unwind_cpp_pr1.
8042 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8043 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8044 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8045 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8046 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8047 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8049 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8050 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8051 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8052 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8054 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8055 Deconditionalize the code that was previously under [RESET_PID].
8056 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8058 * sysdeps/generic/exit-thread.h: New file.
8059 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8060 * include/unistd.h (__exit_thread): Remove declaration.
8061 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8062 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8063 * csu/libc-start.c: Include <exit-thread.h>.
8064 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8065 * nptl/pthread_create.c: Include <exit-thread.h>.
8066 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8067 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8068 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8069 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8070 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8071 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8072 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8073 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8074 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8075 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8076 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8077 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8078 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8079 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8080 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8081 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8082 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8084 2014-05-13 Andreas Schwab <schwab@suse.de>
8086 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8088 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8090 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8091 (__ASSUME_UTIMES): Do not condition on kernel version.
8092 (__ASSUME_PSELECT): Define unconditionally.
8093 (__ASSUME_PPOLL): Likewise.
8094 (__ASSUME_ATFCTS): Likewise.
8095 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8096 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8097 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8098 (__ASSUME_UTIMENSAT): Define unconditionally.
8099 (__ASSUME_PRIVATE_FUTEX): Likewise.
8100 (__ASSUME_FALLOCATE): Likewise.
8101 (__ASSUME_O_CLOEXEC): Likewise.
8102 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8103 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8104 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8105 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8106 (__ASSUME_IN_NONBLOCK): Likewise.
8107 (__ASSUME_PIPE2): Likewise.
8108 (__ASSUME_EVENTFD2): Likewise.
8109 (__ASSUME_SIGNALFD4): Likewise.
8110 (__ASSUME_DUP3): Likewise.
8111 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8112 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8113 (__ASSUME_AT_RANDOM): Likewise.
8114 (__ASSUME_PREADV): Likewise.
8115 (__ASSUME_PWRITEV): Likewise.
8116 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8117 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8118 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8119 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8120 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8121 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8122 (__ASSUME_O_CLOEXEC): Define unconditionally.
8123 (__ASSUME_PSELECT): Do not undefine conditionally.
8124 (__ASSUME_PPOLL): Likewise.
8125 (__ASSUME_ATFCTS): Likewise.
8126 (__ASSUME_SET_ROBUST_LIST): Likewise.
8127 (__ASSUME_UTIMENSAT): Likewise.
8128 (__ASSUME_FDATASYNC): Define unconditionally.
8129 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8130 (__ASSUME_SIGFRAME_V2): Likewise.
8131 )__ASSUME_EVENTFD2): Likewise.
8132 (__ASSUME_SIGNALFD4): Likewise.
8133 (__ASSUME_PSELECT): Do not undefine conditionally.
8134 (__ASSUME_PPOLL): Likewise.
8135 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8136 (__ASSUME_PSELECT): Define unconditionally.
8137 (__ASSUME_PPOLL): Likewise.
8138 (__ASSUME_O_CLOEXEC): Likewise.
8139 (__ASSUME_SOCK_CLOEXEC): Likewise.
8140 (__ASSUME_IN_NONBLOCK): Likewise.
8141 (__ASSUME_PIPE2): Likewise.
8142 (__ASSUME_EVENTFD2): Likewise.
8143 (__ASSUME_SIGNALFD4): Likewise.
8144 (__ASSUME_DUP3): Likewise.
8145 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8146 (__ASSUME_O_CLOEXEC): Likewise.
8147 (__ASSUME_SOCK_CLOEXEC): Likewise.
8148 (__ASSUME_IN_NONBLOCK): Likewise.
8149 (__ASSUME_PIPE2): Likewise.
8150 (__ASSUME_EVENTFD2): Likewise.
8151 (__ASSUME_SIGNALFD4): Likewise.
8152 (__ASSUME_DUP3): Likewise.
8153 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8154 (__ASSUME_EVENTFD2): Likewise.
8155 (__ASSUME_SIGNALFD4): Likewise.
8156 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8158 2014-05-12 Andreas Schwab <schwab@suse.de>
8161 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8162 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8163 than maximum RPC packet size.
8164 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8165 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8166 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8167 (_nss_nis_getservbyport_r): Likewise.
8169 2014-05-12 Will Newton <will.newton@linaro.org>
8171 * malloc/Makefile (tests): Add tst-mallopt.
8172 * malloc/tst-mallopt.c: New file.
8174 2014-05-09 Roland McGrath <roland@hack.frob.com>
8176 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8177 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8179 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8181 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8182 (tst-tlsmod6.so): Likewise.
8184 2014-05-09 Roland McGrath <roland@hack.frob.com>
8186 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8188 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8191 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8192 and <dl-procinfo.h>.
8193 (__fegetenv): Save SSE state in envp->__eip if supported.
8194 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8195 envp->__eip if supported.
8196 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8197 and <dl-procinfo.h>.
8198 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8199 __data_offset and __data_selector in environment to 0. Set SSE
8201 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8203 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8205 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8207 2014-05-09 Will Newton <will.newton@linaro.org>
8209 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8210 and libc_relro_required for ARM.
8211 * sysdeps/arm/preconfigure: Regenerate.
8213 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8214 Stefan Liebler <stli@linux.vnet.ibm.com>
8216 * config.make.in (enable-lock-elision): New Makefile variable.
8217 * configure.ac: Likewise.
8218 * configure: Regenerate.
8219 * sysdeps/s390/configure.ac:
8220 Add check for gcc transactions support.
8221 * sysdeps/s390/configure: Regenerate.
8222 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8223 Build elision files if enabled.
8224 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8225 Add lock elision support for s390.
8226 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8227 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8228 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8229 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8230 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8231 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8232 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8234 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8236 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8238 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8240 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8241 (__lll_timedlock_elision, __lll_lock_elision)
8242 (__lll_unlock_elision, __lll_trylock_elision)
8243 (lll_timedlock_elision, lll_lock_elision)
8244 (lll_unlock_elision, lll_trylock_elision): Add.
8245 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8246 (pthread_mutex_t): Add lock elision support for s390.
8248 2014-05-14 Wilco <wdijkstr@arm.com>
8250 * sysdeps/arm/fclrexcpt.c: Cleanup.
8251 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8252 * sysdeps/arm/feenablxcpt.c: Cleanup.
8253 * sysdeps/arm/fegetenv.c: Cleanup.
8254 * sysdeps/arm/fegetexcept.c: Cleanup.
8255 * sysdeps/arm/fegetround.c: Cleanup.
8256 * sysdeps/arm/feholdexcpt.c: Cleanup.
8257 * sysdeps/arm/fesetenv.c: Cleanup.
8258 * sysdeps/arm/fesetround.c: Cleanup.
8259 * sysdeps/arm/feupdateenv.c: Cleanup.
8260 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8261 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8262 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8263 * sysdeps/arm/ftestexcept.c: Cleanup.
8264 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8265 * sysdeps/arm/setfpucw.c: Cleanup.
8267 2014-05-09 Will Newton <will.newton@linaro.org>
8269 * sysdeps/arm/armv7/strcmp.S: New file.
8270 * NEWS: Mention addition of ARMv7 optimized strcmp.
8272 2014-05-08 Roland McGrath <roland@hack.frob.com>
8274 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8275 look for %.ac rather than %.in.
8277 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8278 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8279 * sysdeps/mach/hurd/configure: Regenerated.
8280 * sysdeps/unix/sysv/linux/configure: Regenerated.
8282 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8284 2014-05-07 Steve Ellcey <sellcey@mips.com>
8287 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8291 2014-05-07 Andreas Schwab <schwab@suse.de>
8293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8294 when skipping over non-matching result from nscd.
8296 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8299 * nptl/sockperf.c (client): Check socket return value.
8302 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8303 nscd security class.
8305 2014-05-06 Roland McGrath <roland@hack.frob.com>
8307 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8308 * sysdeps/arm/unwind.h: ... here.
8310 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8313 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8316 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8318 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8319 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8320 multiarch strncpy for PPC64.
8321 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8322 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8323 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8324 multiarch optimizations.
8325 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8326 (__libc_ifunc_impl_list): Likewise.
8327 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8328 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8329 multiarch stpncpy for PPC64.
8330 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8333 2014-05-06 Andreas Schwab <schwab@suse.de>
8336 * gmon/mcount.c (_MCOUNT_DECL): Use
8337 atomic_compare_and_exchange_bool_acq instead of
8338 catomic_compare_and_exchange_bool_acq.
8340 2014-05-05 Roland McGrath <roland@hack.frob.com>
8342 * elf/Makefile (others, install-bin): Remove pldd.
8343 (pldd-modules): Variable removed.
8344 ($(objpfx)pldd): Target removed.
8345 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8346 (others, install-bin): Append pldd here.
8347 ($(objpfx)pldd): New target.
8349 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8350 to 0, so the first #if test emitted later doesn't see it undefined.
8351 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8352 * sysdeps/gnu/errlist.c: Regenerated.
8354 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8356 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8357 [libc_hidden_builtin_def]: Define to empty value.
8358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8359 [libc_hidden_builtin_def]: Likewise.
8360 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8361 [libc_hidden_builtin_def]: Likewise.
8362 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8363 [libc_hidden_builtin_def]: Likewise.
8364 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8365 __redirect_memcpy and define ifunc as default hidden symbol.
8366 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8367 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8369 2014-05-04 Adam Conrad <adconrad@0c3.net>
8371 * locale/iso-4217.def: Reintroduce XDR currency.
8373 2014-05-04 Allan McRae <allan@archlinux.org>
8375 * po/eo.po: Update Esperanto translation from translation project.
8377 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8379 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8380 and FEATURE_INDEX_MAX to 1.
8381 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8383 2014-05-01 Steve Ellcey <sellcey@mips.com>
8385 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8386 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8387 * iconvdata/big5.c (ONE_DIRECTION): Define.
8388 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8389 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8390 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8391 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8392 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8393 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8394 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8395 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8396 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8397 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8398 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8399 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8400 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8401 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8402 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8403 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8404 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8405 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8406 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8407 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8408 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8409 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8410 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8411 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8412 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8413 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8414 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8415 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8416 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8417 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8418 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8419 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8420 * iconvdata/johab.c (ONE_DIRECTION): Define.
8421 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8422 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8423 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8424 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8425 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8426 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8427 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8428 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8429 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8430 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8432 2014-05-01 Roland McGrath <roland@hack.frob.com>
8434 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8435 (_IO_JUMPS_OFFSET): Define to 0.
8437 * nptl/sysdeps/pthread/bits/libc-lock.h
8438 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8439 (__libc_lock_define_initialized_recursive): Always define using
8440 initializer. Modern compilers treat uninitialized (implicit zero) and
8441 explicit zero initializers the same (i.e. put the datum in bss).
8443 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8445 * nscd/nscd-client.h: Include <string.h>.
8447 2014-05-01 David S. Miller <davem@davemloft.net>
8450 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8451 multiple zero bytes exist at the end of a string.
8452 Reported by Aurelien Jarno <aurelien@aurel32.net>
8454 * string/test-strcmp.c (check): Add explicit test for situations where
8455 there are multiple zero bytes after the first.
8457 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8460 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8461 when compiling wprintf.
8462 * stdio-common/tstdiomisc.c (t3): New function.
8465 2014-05-01 Steve Ellcey <sellcey@mips.com>
8467 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8468 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8469 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8470 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8472 2014-05-01 Steve Ellcey <sellcey@mips.com>
8474 * stdlib/longlong.h: Updated from GCC.
8476 2014-05-01 Will Newton <will.newton@linaro.org>
8477 Bernard Ogden <bernie.ogden@linaro.org>
8479 * NEWS: Update fixed bug list.
8482 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8484 2014-04-30 David S. Miller <davem@davemloft.net>
8486 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8487 (libc_feholdexcept_setround_sparc_ctx): New function.
8488 (libc_fesetenv_sparc_ctx): Likewise.
8489 (libc_feupdateenv_sparc_ctx): Likewise.
8490 (libc_feholdsetround_sparc_ctx): Likewise.
8491 (libc_feholdexcept_setround_ctx): Define.
8492 (libc_feholdexcept_setroundf_ctx): Likewise.
8493 (libc_feholdexcept_setroundl_ctx): Likewise.
8494 (libc_fesetenv_ctx): Likewise.
8495 (libc_fesetenvf_ctx): Likewise.
8496 (libc_fesetenvl_ctx): Likewise.
8497 (libc_feupdateenv_ctx): Likewise.
8498 (libc_feupdateenvf_ctx): Likewise.
8499 (libc_feupdateenvl_ctx): Likewise.
8500 (libc_feresetround_ctx): Likewise.
8501 (libc_feresetroundf_ctx): Likewise.
8502 (libc_feresetroundl_ctx): Likewise.
8503 (libc_feholdsetround_ctx): Likewise.
8504 (libc_feholdsetroundf_ctx): Likewise.
8505 (libc_feholdsetroundl_ctx): Likewise.
8507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8508 with __USE_GNU instead of XOPEN cpp guards.
8510 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8514 with XOPEN cpp guards.
8516 2014-04-30 Julian Brown <julian@codesourcery.com>
8519 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8522 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8525 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8527 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8528 * sysdeps/unix/sysv/linux/configure: Regenerated.
8529 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8530 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8531 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8532 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8533 * README: Update reference to required Linux kernel version.
8534 * manual/install.texi (Linux): Update reference to required Linux
8535 kernel headers version.
8536 * INSTALL: Regenerated.
8538 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8540 [POSIX] (limits.h): Likewise.
8541 [POSIX] (math.h): Likewise.
8542 [POSIX] (sys/wait.h): Likewise.
8543 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8545 [POSIX] (stddef.h): Do not allow header inclusion.
8547 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8549 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8551 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8553 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8554 Return immediately after lll_futex_wake.
8556 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8559 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8561 (datahead_init_pos): Call datahead_init_common early.
8562 (datahead_init_neg): Likewise.
8564 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8565 datahead_init_neg): New functions.
8566 * nscd/aicache.c (addhstaiX): Use them.
8567 * nscd/grpcache.c (cache_addgr): Likewise.
8568 * nscd/hstcache.c (cache_addhst): Likewise.
8569 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8570 * nscd/netgroupcache.c (do_notfound): Likewise.
8571 (addgetnetgrentX): Likewise.
8572 (addinnetgrX): Likewise.
8573 * nscd/pwdcache.c (cache_addpw): Likewise.
8574 * nscd/servicescache.c (cache_addserv): Likewise.
8576 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8577 Atsushi Onoe <atsushi@onoe.org>
8582 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8583 one response is valid.
8584 * resolv/res_send.c (send_dg): Check for validity of other
8585 response if the current response is a referral.
8587 2014-04-29 Steve Ellcey <sellcey@mips.com>
8589 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8591 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8594 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8595 Always divide by positive zero when computing -Inf result.
8596 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8597 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8599 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8601 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8602 FPSCR if value do not change.
8603 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8604 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8605 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8606 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8607 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8608 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8611 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8613 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8614 * sysdeps/unix/sysv/linux/hppa: Move directory from
8615 ports/systeps/unix/sysv/linux/hppa.
8616 * README: Update listing for hppa-*-linux-gnu.
8618 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8621 * manual/stdio.texi (Hook functions): Fix types of stream hook
8624 * socket/sys/socket.h: Fix typo in comment.
8626 2014-04-28 Wilco <wdijkstr@arm.com>
8628 * sysdeps/arm/fenv_private.h: New file.
8629 * sysdeps/arm/math_private.h: New file.
8630 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8632 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8634 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8636 (La_x86_64_retval): Likewise.
8638 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8640 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8641 fpsr if value didn't change.
8642 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8643 to fpcr if value didn't change.
8644 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8645 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8646 fpsr or fpcr if value didn't change.
8647 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8648 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8649 fpcr if value didn't change.
8650 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8651 to fpsr if value didn't change.
8653 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8655 * nptl/tst-sem3.c: Use test-skeleton.c
8656 (main): Rename to do_test. Use return instead of
8658 * nptl/tst-sem4.c: Use test-skeleton.c
8659 (main): Rename to do_test.
8661 2014-04-22 David S. Miller <davem@davemloft.net>
8663 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8664 (struct sigaction): New struct member __glibc_reserved0, change
8665 type of sa_flags to int.
8667 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8669 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8670 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8672 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8674 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8675 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8677 2014-04-22 Will Newton <will.newton@linaro.org>
8678 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8680 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8681 (__longjmp): Add longjmp and longjmp_target SystemTap
8683 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8684 (__sigsetjmp): Add setjmp SystemTap probe.
8686 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8688 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8691 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8693 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8695 * sysdeps/powerpc/fpu/fenv_private.h
8696 (libc_feholdexcept_setroundl_ctx): Define to
8697 libc_feholdexcept_setround_ppc_ctx.
8698 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8699 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8700 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8701 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8703 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8705 * sysdeps/aarch64/math-tests.h: New file.
8707 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8709 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8712 Check and set bit_AVX2_Usable.
8713 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8715 (bit_AVX2): Likewise.
8716 (index_AVX2_Usable): Likewise.
8717 (CPUID_AVX2): Likewise.
8718 (HAS_AVX2): Likewise.
8720 2014-04-17 Will Newton <will.newton@linaro.org>
8722 * manual/setjmp.texi (System V contexts): Add note that
8723 calling setcontext on a context created by a call to a
8724 signal handler is undefined. Update text to note that
8725 setcontext from a signal handler is possible but not
8729 * stdlib/tst-setcontext.c: Include signal.h.
8730 (main): Check that the signal stack before and
8731 after swapcontext is the same.
8733 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8734 Re-implement to restore registers in user code and avoid
8735 rt_sigreturn system call.
8737 2014-04-17 Wilco <wdijkstr@arm.com>
8739 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8740 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8741 * math/test-fenv.c: Skip exception trap tests on targets which only
8742 support non-stop mode.
8744 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8745 Wilco Dijkstra <wilco.dijkstra@arm.com>
8747 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8748 (libc_feholdsetround_aarch64_ctx)
8749 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8750 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8751 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8752 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8753 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8754 (libc_feresetround_noexl_ctx): Define.
8756 2014-04-16 Richard Henderson <rth@redhat.com>
8758 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8760 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8763 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8764 const from the non-libc, non-ldso copy.
8766 * sysdeps/alpha/libm-test-ulps: Regenerate.
8768 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8769 Wilco Dijkstra <wilco.dijkstra@arm.com>
8771 * sysdeps/aarch64/fpu/math_private.h: New file.
8773 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8775 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8777 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8780 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8781 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8783 Intel MPX bound registers before _dl_profile_fixup.
8784 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8785 registers after _dl_profile_fixup. Save and restore bound
8786 registers bnd0/bnd1 when calling _dl_call_pltexit.
8787 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8788 (LR_BND_OFFSET): Likewise.
8789 (LRV_BND0_OFFSET): Likewise.
8790 (LRV_BND1_OFFSET): Likewise.
8792 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8794 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8796 * sysdeps/mach/hurd/i386/tls.h: ... here.
8797 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8798 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8801 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8803 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8805 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8807 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8809 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8812 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8813 * sysdeps/s390/configure: Regenerate.
8816 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8817 Set round-to-nearest internally to reduce error accumulation.
8819 2014-04-16 Alan Modra <amodra@gmail.com>
8823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8824 * math/libm-test.inc (frexp_test_data): Add tests.
8825 * NEWS: Update fixed bug list.
8827 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8829 * benchtests/Makefile: Depend on libraries in build directory.
8830 (bench-math): Separate out math tests.
8831 (bench-pthread): Separate out pthread tests.
8832 (bench): Include math and pthread tests.
8834 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8837 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8838 _dl_debug_initialize.
8840 * configure.ac: Remove SELinux header check.
8841 * configure: Regenerate.
8842 * nscd/selinux.c (perms): Array of const char* to permission names.
8843 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8844 default policy. Call string_to_security_class and string_to_av_perm to
8845 translate strings. Enforce default policy and call avs_has_perm with
8846 results of translated strings.
8848 2014-04-13 David S. Miller <davem@davemloft.net>
8850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8852 2014-04-12 Allan McRae <allan@archlinux.org>
8855 * manual/string.texi (Collation Functions): Fix qsort argument
8857 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8859 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8861 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8862 Make the test a no-op if there are no exceptions defined.
8864 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8866 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8867 enable-hardcoded-path-in-tests
8869 2014-04-11 Will Newton <will.newton@linaro.org>
8871 * benchtests/Makefile (extra-objs): Add json-lib.o.
8872 (bench-func): Tidy up JSON output.
8873 * benchtests/bench-skeleton.c: Include json-lib.h.
8874 (main): Use JSON library functions to do output of
8876 * benchtests/bench-timing-type.c (main): Output the
8877 timing type simply, leaving formatting to the user.
8878 * benchtests/json-lib.c: New file.
8879 * benchtests/json-lib.h: Likewise.
8881 2014-04-11 Torvald Riegel <triegel@redhat.com>
8884 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8885 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8886 memory barriers. Add comments.
8887 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8888 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8889 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8890 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8891 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8892 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8894 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8896 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8897 * sysdeps/s390/s390-64/configure.ac: ... this ...
8898 * sysdeps/s390/configure.ac: ... to here.
8899 * sysdeps/s390/s390-32/configure: Delete file.
8900 * sysdeps/s390/s390-64/configure: Delete file.
8901 * sysdeps/s390/configure: Regenerate.
8903 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8905 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8907 2014-04-11 Will Newton <will.newton@linaro.org>
8909 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8910 to zero if it is not defined elsewhere. (mtrim): Test
8911 the value of MALLOC_DEBUG with #if rather than #ifdef.
8913 2014-04-10 Torvald Riegel <triegel@redhat.com>
8915 * benchtests/pthread_once-inputs: New file.
8916 * benchtests/pthread_once-source.c: New file.
8917 * benchtests/README: Update documentation.
8919 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8920 H.J. Lu <hongjiu.lu@intel.com>
8923 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8924 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8925 * sysdeps/x86_64/configure: Regenerated.
8926 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8928 (REGISTER_SAVE_RAX): Likewise.
8929 (REGISTER_SAVE_RCX): Likewise.
8930 (REGISTER_SAVE_RDX): Likewise.
8931 (REGISTER_SAVE_RSI): Likewise.
8932 (REGISTER_SAVE_RDI): Likewise.
8933 (REGISTER_SAVE_R8): Likewise.
8934 (REGISTER_SAVE_R9): Likewise.
8935 (REGISTER_SAVE_BND0): Likewise.
8936 (REGISTER_SAVE_BND1): Likewise.
8937 (REGISTER_SAVE_BND2): Likewise.
8938 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8939 bound registers when calling _dl_fixup.
8941 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8943 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8944 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8946 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8947 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8948 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8949 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8950 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8951 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8952 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8954 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8957 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8958 pathconf(_PC_NAME_MAX).
8960 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8962 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8964 (__PTHREAD_SPINS): Move definition to ...
8965 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8966 (__PTHREAD_SPINS): ... here.
8967 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8968 (__PTHREAD_SPIN): Likewise.
8969 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8970 (__PTHREAD_SPIN): Likewise.
8971 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8972 (__PTHREAD_SPIN): Likewise.
8973 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8974 (__PTHREAD_SPIN): Likewise.
8975 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8976 (__PTHREAD_SPIN): Likewise.
8977 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8978 (__PTHREAD_SPIN): Likewise.
8979 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8980 (__PTHREAD_SPIN): Likewise.
8981 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8982 (__PTHREAD_SPIN): Likewise.
8983 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8984 (__PTHREAD_SPIN): Likewise.
8985 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8986 (__PTHREAD_SPIN): Likewise.
8987 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8988 (__PTHREAD_SPIN): Likewise.
8989 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8990 (__PTHREAD_SPIN): Likewise.
8992 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8993 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8994 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8995 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
8997 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
8998 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
8999 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9000 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9002 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9003 strlen symbol for non multi-arch builds.
9004 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9005 missing hidden_def and weak_alias.
9007 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9009 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9011 2014-04-07 Will Newton <will.newton@linaro.org>
9013 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9014 and contents. [!_LIBC] Remove #ifndef and contents.
9015 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9016 * string/memccpy.c (__memccpy): Use ANSI prototype.
9017 * string/memfrob.c (memfrob): Likewise.
9018 * string/strcoll.c (STRCOLL): Likewise.
9019 * string/strlen.c (strlen): Likewise.
9020 * string/strtok.c (STRTOK): Likewise.
9021 * string/strcat.c: Remove unused #include of memcopy.h.
9022 (strcat): Use ANSI prototype.
9023 * string/strchr.c: Remove unused #include of memcopy.h.
9024 (strchr): Use ANSI prototype.
9025 * string/strcmp.c: Remove unused #include of memcopy.h.
9026 (strcmp): Use ANSI prototype.
9027 * string/strcpy.c: Remove unused #include of memcopy.h.
9028 (strcpy): Use ANSI prototype.
9030 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9032 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9033 * config.make.in (config-extra-cppflags): Set it from
9034 libc_extra_cppflags.
9035 * configure.ac (libc_extra_cflags): Make it accumulate over
9036 configure fragments.
9037 (libc_extra_cppflags): New flag.
9038 * configure. Regenerate.
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9040 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9041 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9045 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9046 result for FE_DOWNWARD rounding mode.
9047 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9051 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9053 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9054 in function argument name.
9056 2014-04-03 David Svoboda <svoboda@cert.org>
9059 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9062 2014-04-03 Roland McGrath <roland@hack.frob.com>
9064 * elf/dl-unmap-segments.h: New file.
9065 * sysdeps/generic/ldsodefs.h
9066 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9067 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9068 * elf/dl-fptr.c: Likewise.
9069 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9070 * sysdeps/aarch64/tlsdesc.c: Likewise.
9071 * sysdeps/arm/tlsdesc.c: Likewise.
9072 * sysdeps/i386/tlsdesc.c: Likewise.
9073 * sysdeps/tile/dl-runtime.c: Likewise.
9074 * sysdeps/x86_64/tlsdesc.c: Likewise.
9075 * elf/dl-load.h: New file.
9076 * elf/dl-load.c: Include it.
9077 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9078 Macros moved to dl-load.h.
9079 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9080 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9081 Use _dl_unmap_segments in place of __munmap.
9082 Break out segment-mapping loop into ...
9083 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9085 2014-04-03 Will Newton <will.newton@linaro.org>
9087 * elf/dl-lookup.c (do_lookup_x): Remove comment
9088 referring to nested function and move variable
9089 declarations down to before first use.
9091 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9095 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9097 * math/s_catanf.c (__catanf): Likewise.
9098 * math/s_catanh.c (__catanh): Likewise.
9099 * math/s_catanhf.c (__catanhf): Likewise.
9100 * math/s_catanhl.c (__catanhl): Likewise.
9101 * math/s_catanl.c (__catanl): Likewise.
9102 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9103 by positive zero when computing -Inf result.
9104 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9105 (catanh_test): Likewise.
9106 * sysdeps/i386/fpu/libm-test-ulps: Update.
9107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9110 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9111 instead of using underflowing value in computing result.
9112 * math/s_clog10.c (__clog10): Likewise.
9113 * math/s_clog10f.c (__clog10f): Likewise.
9114 * math/s_clog10l.c (__clog10l): Likewise.
9115 * math/s_clogf.c (__clogf): Likewise.
9116 * math/s_clogl.c (__clogl): Likewise.
9117 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9118 (clog10_test): Likewise.
9119 * sysdeps/i386/fpu/libm-test-ulps: Update.
9120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9122 2014-04-02 Alan Modra <amodra@gmail.com>
9125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9126 output when value is near a power of two. Use int64_t for lx and
9127 remove casts. Use decimal rather than hex exponent constants.
9128 Don't use long double multiplication when double will suffice.
9129 * math/libm-test.inc (nextafter_test_data): Add tests.
9130 * NEWS: Add 16739 and 16786 to bug list.
9132 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9134 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9136 2014-04-01 Will Newton <will.newton@linaro.org>
9138 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9139 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9141 2014-04-01 Florian Weimer <fweimer@redhat.com>
9144 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9145 * nptl/tst-setuid2.c: New file.
9146 * nptl/Makefile (xtests): Add tst-setuid2.
9148 2014-04-01 Alan Modra <amodra@gmail.com>
9151 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9153 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9157 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9158 set errno as appropriate.
9159 * math/w_scalbf.c (__scalbf): Likewise.
9160 * math/w_scalbl.c (__scalbl): Likewise.
9161 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9162 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9163 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9167 * math/w_atan2.c: Include <errno.h>.
9168 (__atan2): Set errno for result underflowing to zero.
9169 * math/w_atan2f.c: Include <errno.h>.
9170 (__atan2f): Set errno for result underflowing to zero.
9171 * math/w_atan2l.c: Include <errno.h>.
9172 (__atan2l): Set errno for result underflowing to zero.
9173 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9175 * math/auto-libm-test-out: Regenerated.
9177 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9179 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9180 Encode instruction correctly in little endian.
9181 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9183 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9185 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9187 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9190 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9193 * sysdeps/unix/sysv/linux/kernel-features.h
9194 [__sparc__ && !__arch64__ && !__sparc_v9__]
9195 (__ASSUME_SET_ROBUST_LIST): Do not define.
9196 [__sparc__ && !__arch64__ && !__sparc_v9__]
9197 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9198 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9200 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9201 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9202 (__ASSUME_REQUEUE_PI): Likewise.
9203 (__ASSUME_SET_ROBUST_LIST): Likewise.
9204 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9205 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9207 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9208 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9210 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9212 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9214 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9215 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9217 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9222 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9223 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9224 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9226 2014-03-31 Will Newton <will.newton@linaro.org>
9228 * benchtests/Makefile (bench): Add ffs and ffsll to list
9230 * benchtests/ffs-inputs: New file.
9231 * benchtests/ffsll-inputs: Likewise.
9233 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9236 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9237 too large before casting to int.
9238 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9239 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9240 * math/libm-test.inc (scalb_test_data): Add more tests.
9242 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9244 * benchtests/Makefile (DETAILED_OPT): New make option.
9245 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9247 * benchtests/bench-skeleton.c: Include stdbool.h.
9248 (main): Store and print timings per input.
9249 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9250 member to each argument value.
9251 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9252 (_print_arg_data): Initialize per-input timing to 0.
9254 * benchtests/Makefile (timing-type): New binary.
9255 (bench-clean): Also remove bench-timing-type.
9256 (bench): New target for timing-type.
9257 (bench-func): Print output in JSON format.
9258 * benchtests/bench-skeleton.c (main): Print output in JSON
9260 * benchtests/bench-timing-type.c: New file.
9261 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9262 (TIMING_PRINT_STATS): Remove.
9263 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9266 * benchtests/bench-modf.c: Remove.
9267 * benchtests/modf-inputs: New inputs file.
9269 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9272 * math/s_clog10.c (M_PI_LOG10E): New macro.
9273 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9274 imaginary parts are 0.
9275 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9276 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9277 imaginary parts are 0.
9278 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9279 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9280 imaginary parts are 0.
9281 * math/libm-test.inc (clog10_test_data): Update expected results
9282 for when real and imaginary parts are 0.
9284 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9286 * elf/dl-load.c: Finish conversion of __builtin_expect into
9289 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9292 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9293 1+x for argument with exponent below -67.
9294 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9296 * math/auto-libm-test-in: Add more tests of exp.
9297 * math/auto-libm-test-out: Regenerated.
9299 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9302 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9303 (nscd_getnetgrent): Use it.
9306 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9309 2014-03-27 Andi Kleen <ak@linux.intel.com>
9311 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9312 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9313 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9314 (lll_robust_unlock): Remove out of line section. Use cfi
9316 (LLL_STUB_UNWIND_INFO*): Remove.
9317 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9318 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9319 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9320 (lll_robust_unlock): Remove out of line section. Use cfi
9322 (LLL_STUB_UNWIND_INFO*): Remove.
9324 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9327 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9330 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9332 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9334 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9337 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9339 * math/test-fenv-preserve.c: New file.
9340 * math/Makefile (tests): Add test-fenv-preserve.
9342 2014-03-26 Will Newton <will.newton@linaro.org>
9344 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9346 2014-03-25 Roland McGrath <roland@hack.frob.com>
9348 * scripts/versionlist.awk: Partition the version sets and emit all
9349 GLIBC_* (sorted) before all others (sorted).
9351 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9353 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9354 GLIBC_2.2.5 version.
9356 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9358 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9361 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9366 2014-03-25 Andreas Schwab <schwab@suse.de>
9368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9369 label to be used after in6ailist is initialized.
9371 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9373 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9374 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9376 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9380 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9382 (fp_formats): Update initializers.
9383 (init_fp_formats): Initialize new field.
9384 (output_for_one_input_case): Allow underflow for results up to
9386 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9387 * math/auto-libm-test-in: Don't mark some underflows from asin and
9389 * math/auto-libm-test-out: Regenerated.
9390 * sysdeps/i386/fpu/libm-test-ulps: Update.
9391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9393 2014-03-25 Andreas Schwab <schwab@suse.de>
9395 * libio/Makefile (tst-ftell-partial-wide-ENV)
9396 (tst-ftell-active-handler-ENV): Define.
9398 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9400 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9402 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9404 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9406 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9408 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9409 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9410 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9412 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9415 * elf/dl-load.c (open_verify): Add mode parameter.
9416 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9417 (open_path): Change from boolean 'secure' to complete flag 'mode'
9418 (_dl_map_object): Adjust.
9419 * elf/Makefile (tests): Add tst-dlopen-aout.
9420 * elf/tst-dlopen-aout.c: New test.
9422 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9425 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9426 (struct stat): Rename member pad0 to __glibc_reserved0.
9429 * sysdeps/s390/s390-32/bits/wordsize.h
9430 (__WORDSIZE32_SIZE_ULONG): New define.
9431 * sysdeps/s390/s390-64/bits/wordsize.h
9432 (__WORDSIZE32_SIZE_ULONG): Likewise.
9433 * sysdeps/generic/stdint.h (SIZE_MAX):
9434 Define as UL if __WORDSIZE32_SIZE_ULONG.
9437 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9438 (__glibc_reserved0): New variable.
9439 (sa_flags): Change type to int.
9441 * posix/Makefile (before-compile): Use += before-compile instead
9444 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9445 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9447 2014-03-20 Andreas Schwab <schwab@suse.de>
9450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9451 non-matching result from nscd.
9453 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9455 * scripts/bench.py: Moved to ...
9456 * benchtests/scripts/bench.py: ... here.
9457 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9459 2014-03-24 Andreas Schwab <schwab@suse.de>
9462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9463 alloca_account and account alloca use for struct in6ailist.
9465 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9468 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9469 rounding mode to recompute results that overflow to infinity or
9471 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9473 * math/auto-libm-test-out: Regenerated.
9474 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9475 (ccosh_test): Likewise.
9476 (csin_test_data): Use plus_oflow.
9477 (csin_test): Use ALL_RM_TEST.
9478 (csinh_test_data): Use plus_oflow.
9479 (csinh_test): Use ALL_RM_TEST.
9480 * sysdeps/i386/fpu/libm-test-ulps: Update.
9481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9483 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9485 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9486 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9487 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9490 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9492 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9493 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9494 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9495 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9497 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9498 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9500 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9501 * sysdeps/i386/fpu/libm-test-ulps: Update.
9502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9504 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9506 * scripts/bench.pl: Remove file.
9507 * scripts/bench.py: New benchmark script.
9508 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9509 * benchtests/README: Mention python dependency.
9510 * scripts/pylintrc: New file.
9511 * scripts/pylint: New file.
9513 * bits/mathdef.h: Use #ifdef instead of #if.
9514 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9515 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9516 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9517 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9518 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9519 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9521 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9522 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9524 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9526 and strpbrk-ppc64 objects.
9527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9528 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9529 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9530 multiarch strpbrk for POWER7.
9531 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9532 multiarch strpbrk for PPC64.
9533 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9535 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9538 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9540 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9541 (atan_test): Likewise.
9542 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9543 (atanh_test): Use ALL_RM_TEST.
9544 (atan2_test_data): Likewise.
9545 (cabs_test): Likewise.
9546 (cacosh_test): Likewise.
9547 (carg_test): Likewise.
9548 (casin_test): Likewise.
9549 (casinh_test): Likewise.
9550 (cbrt_test): Likewise.
9551 (csqrt_test): Likewise.
9552 (erf_test): Likewise.
9553 (erfc_test): Likewise.
9554 (pow10_test): Likewise.
9555 (exp2_test): Likewise.
9556 (hypot_test): Likewise.
9557 (j0_test): Likewise.
9558 (j1_test): Likewise.
9559 (lgamma_test): Likewise.
9560 (gamma_test): Likewise.
9561 (sincos_test): Likewise.
9562 (tanh_test): Likewise.
9563 (y0_test): Likewise.
9564 (y1_test): Likewise.
9565 * sysdeps/i386/fpu/libm-test-ulps: Update.
9566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9568 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9570 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9571 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9572 and strcspn-ppc64 objects.
9573 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9574 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9575 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9576 multiarch strcspn for POWER7.
9577 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9578 multiarch strcspn for PPC64.
9579 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9581 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9584 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9586 * math/gen-libm-test.pl (generate_testfile): Expect only function
9587 name as argument to AUTO_TESTS_* and pass results for all rounding
9588 modes to parse_args.
9589 (parse_auto_input): Separate inputs of automatic tests from
9590 outputs before storing in %auto_tests.
9591 * math/libm-test.inc (acos_test_data): Update call to
9593 (acos_test): Use ALL_RM_TEST.
9594 (acos_tonearest_test_data): Remove.
9595 (acos_test_tonearest): Likewise.
9596 (acos_towardzero_test_data): Likewise.
9597 (acos_test_towardzero): Likewise.
9598 (acos_downward_test_data): Likewise.
9599 (acos_test_downward): Likewise.
9600 (acos_upward_test_data): Likewise.
9601 (acos_test_upward): Likewise.
9602 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9603 (asin_test_data): Likewise.
9604 (asin_test): Use ALL_RM_TEST.
9605 (asin_tonearest_test_data): Remove.
9606 (asin_test_tonearest): Likewise.
9607 (asin_towardzero_test_data): Likewise.
9608 (asin_test_towardzero): Likewise.
9609 (asin_downward_test_data): Likewise.
9610 (asin_test_downward): Likewise.
9611 (asin_upward_test_data): Likewise.
9612 (asin_test_upward): Likewise.
9613 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9614 (atan_test_data): Likewise.
9615 (atanh_test_data): Likewise.
9616 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9617 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9618 (carg_test_data): Likewise.
9619 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9620 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9621 (ccosh_test_data): Likewise.
9622 (cexp_test_data): Likewise.
9623 (clog_test_data): Likewise.
9624 (clog10_test_data): Likewise.
9625 (cos_test_data): Update call to AUTO_TESTS_f_f.
9626 (cos_test): Use ALL_RM_TEST.
9627 (cos_tonearest_test_data): Remove.
9628 (cos_test_tonearest): Likewise.
9629 (cos_towardzero_test_data): Likewise.
9630 (cos_test_towardzero): Likewise.
9631 (cos_downward_test_data): Likewise.
9632 (cos_test_downward): Likewise.
9633 (cos_upward_test_data): Likewise.
9634 (cos_test_upward): Likewise.
9635 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9636 (cosh_test): Use ALL_RM_TEST.
9637 (cosh_tonearest_test_data): Remove.
9638 (cosh_test_tonearest): Likewise.
9639 (cosh_towardzero_test_data): Likewise.
9640 (cosh_test_towardzero): Likewise.
9641 (cosh_downward_test_data): Likewise.
9642 (cosh_test_downward): Likewise.
9643 (cosh_upward_test_data): Likewise.
9644 (cosh_test_upward): Likewise.
9645 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9646 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9647 (ctan_test_data): Likewise.
9648 (ctan_test): Use ALL_RM_TEST.
9649 (ctan_tonearest_test_data): Remove.
9650 (ctan_test_tonearest): Likewise.
9651 (ctan_towardzero_test_data): Likewise.
9652 (ctan_test_towardzero): Likewise.
9653 (ctan_downward_test_data): Likewise.
9654 (ctan_test_downward): Likewise.
9655 (ctan_upward_test_data): Likewise.
9656 (ctan_test_upward): Likewise.
9657 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9658 (ctanh_test): Use ALL_RM_TEST.
9659 (ctanh_tonearest_test_data): Remove.
9660 (ctanh_test_tonearest): Likewise.
9661 (ctanh_towardzero_test_data): Likewise.
9662 (ctanh_test_towardzero): Likewise.
9663 (ctanh_downward_test_data): Likewise.
9664 (ctanh_test_downward): Likewise.
9665 (ctanh_upward_test_data): Likewise.
9666 (ctanh_test_upward): Likewise.
9667 (erf_test_data): Update call to AUTO_TESTS_f_f.
9668 (erfc_test_data): Likewise.
9669 (exp_test_data): Likewise.
9670 (exp_test): Use ALL_RM_TEST.
9671 (exp_tonearest_test_data): Remove.
9672 (exp_test_tonearest): Likewise.
9673 (exp_towardzero_test_data): Likewise.
9674 (exp_test_towardzero): Likewise.
9675 (exp_downward_test_data): Likewise.
9676 (exp_test_downward): Likewise.
9677 (exp_upward_test_data): Likewise.
9678 (exp_test_upward): Likewise.
9679 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9680 (exp10_test): Use ALL_RM_TEST.
9681 (exp10_tonearest_test_data): Remove.
9682 (exp10_test_tonearest): Likewise.
9683 (exp10_towardzero_test_data): Likewise.
9684 (exp10_test_towardzero): Likewise.
9685 (exp10_downward_test_data): Likewise.
9686 (exp10_test_downward): Likewise.
9687 (exp10_upward_test_data): Likewise.
9688 (exp10_test_upward): Likewise.
9689 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9690 (expm1_test_data): Likewise.
9691 (expm1_test): Use ALL_RM_TEST.
9692 (expm1_tonearest_test_data): Remove.
9693 (expm1_test_tonearest): Likewise.
9694 (expm1_towardzero_test_data): Likewise.
9695 (expm1_test_towardzero): Likewise.
9696 (expm1_downward_test_data): Likewise.
9697 (expm1_test_downward): Likewise.
9698 (expm1_upward_test_data): Likewise.
9699 (expm1_test_upward): Likewise.
9700 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9701 (fma_test): Use ALL_RM_TEST.
9702 (fma_towardzero_test_data): Remove.
9703 (fma_test_towardzero): Likewise.
9704 (fma_downward_test_data): Likewise.
9705 (fma_test_downward): Likewise.
9706 (fma_upward_test_data): Likewise.
9707 (fma_test_upward): Likewise.
9708 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9709 (j0_test_data): Update call to AUTO_TESTS_f_f.
9710 (j1_test_data): Likewise.
9711 (jn_test_data): Update call to AUTO_TESTS_if_f.
9712 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9713 (log_test_data): Update call to AUTO_TESTS_f_f.
9714 (log10_test_data): Likewise.
9715 (log1p_test_data): Likewise.
9716 (log2_test_data): Likewise.
9717 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9718 (pow_tonearest_test_data): Likewise.
9719 (sin_test_data): Update call to AUTO_TESTS_f_f.
9720 (sin_test): Use ALL_RM_TEST.
9721 (sin_tonearest_test_data): Remove.
9722 (sin_test_tonearest): Likewise.
9723 (sin_towardzero_test_data): Likewise.
9724 (sin_test_towardzero): Likewise.
9725 (sin_downward_test_data): Likewise.
9726 (sin_test_downward): Likewise.
9727 (sin_upward_test_data): Likewise.
9728 (sin_test_upward): Likewise.
9729 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9730 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9731 (sinh_test): Use ALL_RM_TEST.
9732 (sinh_tonearest_test_data): Remove.
9733 (sinh_test_tonearest): Likewise.
9734 (sinh_towardzero_test_data): Likewise.
9735 (sinh_test_towardzero): Likewise.
9736 (sinh_downward_test_data): Likewise.
9737 (sinh_test_downward): Likewise.
9738 (sinh_upward_test_data): Likewise.
9739 (sinh_test_upward): Likewise.
9740 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9741 (sqrt_test): Use ALL_RM_TEST.
9742 (sqrt_tonearest_test_data): Remove.
9743 (sqrt_test_tonearest): Likewise.
9744 (sqrt_towardzero_test_data): Likewise.
9745 (sqrt_test_towardzero): Likewise.
9746 (sqrt_downward_test_data): Likewise.
9747 (sqrt_test_downward): Likewise.
9748 (sqrt_upward_test_data): Likewise.
9749 (sqrt_test_upward): Likewise.
9750 (tan_test_data): Update call to AUTO_TESTS_f_f.
9751 (tan_test): Use ALL_RM_TEST.
9752 (tan_tonearest_test_data): Remove.
9753 (tan_test_tonearest): Likewise.
9754 (tan_towardzero_test_data): Likewise.
9755 (tan_test_towardzero): Likewise.
9756 (tan_downward_test_data): Likewise.
9757 (tan_test_downward): Likewise.
9758 (tan_upward_test_data): Likewise.
9759 (tan_test_upward): Likewise.
9760 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9761 (tgamma_test_data): Likewise.
9762 (y0_test_data): Likewise.
9763 (y1_test_data): Likewise.
9764 (yn_test_data): Update call to AUTO_TESTS_if_f.
9765 (main): Do not call removed functions.
9767 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9769 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9770 (ldexp_test_data): Remove.
9771 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9773 (scalb_test): Use ALL_RM_TEST.
9775 2014-03-19 Andreas Schwab <schwab@suse.de>
9777 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9779 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9782 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9783 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9784 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9785 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9786 (__ASSUME_PREADV): Undefine.
9787 (__ASSUME_PWRITEV): Likewise.
9789 2014-03-18 Roland McGrath <roland@hack.frob.com>
9791 * bits/mman-linux.h: Add comment about non-Linux use.
9792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9793 bits/mman-linux.h resting place.
9795 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9796 * bits/mman-linux.h: ... here.
9798 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9800 * conform/conformtest.pl: Add standard definition when calling C
9801 preprocessor on data files.
9802 (checknamespace): Remove unused variable.
9804 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9806 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9807 minus_oflow, plus_uflow and minus_uflow in expected results.
9808 * math/libm-test.inc (scalbn_test_data): Add more tests of
9809 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9811 (scalbn_test): Use ALL_RM_TEST.
9812 (scalbln_test_data): Add more tests of negative arguments. Use
9813 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9814 (scalbln_test): Use ALL_RM_TEST.
9816 2014-03-18 Roland McGrath <roland@hack.frob.com>
9818 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9820 2014-03-18 Will Newton <will.newton@linaro.org>
9822 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9825 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9827 * Makerules [!subdir] (check-abi): Exit with error status if a
9830 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9832 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9833 for rint. Include results for all rounding modes.
9834 (nearbyint_test): Use ALL_RM_TEST.
9835 (rint_test_data): Include all tests used for nearbyint.
9837 2014-03-17 Will Newton <will.newton@linaro.org>
9839 * nptl/sysdeps/pthread/pthread.h: Revert previous
9842 * sysdeps/generic/ldsodefs.h: Revert previous
9845 * libio/genops.c: Revert previous change.
9846 * libio/libioP.h: Likewise.
9847 * stdio-common/vfprintf.c: Likewise.
9849 * sysdeps/generic/math_private.h: Revert previous
9852 * sysdeps/generic/math_private.h: Check whether
9853 HAVE_RM_CTX is defined with #ifdef rather
9856 * argp/argp-fmtstream.h: Check whether
9857 __STRICT_ANSI__ is defined with #ifdef rather
9859 * argp/argp.h: Likewise.
9861 * libio/genops.c: Check whether
9862 _IO_JUMPS_OFFSET is defined with #ifdef rather
9864 * libio/libioP.h: Likewise.
9865 * stdio-common/vfprintf.c: Likewise.
9867 * sysdeps/generic/ldsodefs.h: Check whether
9868 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9871 * nptl/sysdeps/pthread/pthread.h: Check
9872 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9875 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9877 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9879 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9883 * libio/fileops.c (_IO_file_open): Seek to end of file but
9884 don't cache the offset.
9885 (get_file_offset): Remove function.
9886 (do_ftell): Use cached offset when available.
9887 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9888 don't cache the offset.
9889 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9891 (do_one_test): Call it.
9892 (do_ftell_test): Fix up expected old offset for a+ mode.
9893 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9896 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9897 up test status with function return status.
9898 (do_write_test): Likewise.
9899 (do_append_test): Likewise.
9901 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9902 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9905 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9907 * math/gen-libm-test.pl (parse_args): Handle results specified for
9908 each rounding mode separately.
9909 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9910 tests and results from lrint_tonearest_test_data,
9911 lrint_towardzero_test_data, lrint_downward_test_data and
9912 lrint_upward_test_data.
9913 (lrint_test): Use ALL_RM_TEST.
9914 (lrint_tonearest_test_data): Remove.
9915 (lrint_test_tonearest): Likewise.
9916 (lrint_towardzero_test_data): Likewise.
9917 (lrint_test_towardzero): Likewise.
9918 (lrint_downward_test_data): Likewise.
9919 (lrint_test_downward): Likewise.
9920 (lrint_upward_test_data): Likewise.
9921 (lrint_test_upward): Likewise.
9922 (llrint_test_data): Merge in per-rounding-mode tests and results
9923 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9924 llrint_downward_test_data and llrint_upward_test_data.
9925 (llrint_test): Use ALL_RM_TEST.
9926 (llrint_tonearest_test_data): Remove.
9927 (llrint_test_tonearest): Likewise.
9928 (llrint_towardzero_test_data): Likewise.
9929 (llrint_test_towardzero): Likewise.
9930 (llrint_downward_test_data): Likewise.
9931 (llrint_test_downward): Likewise.
9932 (llrint_upward_test_data): Likewise.
9933 (llrint_test_upward): Likewise.
9934 (rint_test_data): Merge in per-rounding-mode tests and results
9935 from rint_tonearest_test_data, rint_towardzero_test_data,
9936 rint_downward_test_data and rint_upward_test_data. Add
9937 per-rounding-mode results for tests not in those arrays.
9938 (rint_test): Use ALL_RM_TEST.
9939 (rint_tonearest_test_data): Remove.
9940 (rint_test_tonearest): Likewise.
9941 (rint_towardzero_test_data): Likewise.
9942 (rint_test_towardzero): Likewise.
9943 (rint_downward_test_data): Likewise.
9944 (rint_test_downward): Likewise.
9945 (rint_upward_test_data): Likewise.
9946 (rint_test_upward): Likewise.
9947 (main): Don't call removed functions.
9949 2014-03-14 Roland McGrath <roland@hack.frob.com>
9951 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9952 "Compiled on ..." crapola. It is anti-useful.
9954 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9956 * scripts/evaluate-test.sh: Handle fourth argument to determine
9957 whether test run should stop on failure.
9958 * Makeconfig (stop-on-test-failure): New variable.
9959 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9960 $(stop-on-test-failure).
9961 * Makefile (tests): Give a summary of results from testing and
9962 exit with failure status if they include an ERROR or FAIL.
9964 * manual/install.texi (Configuring and compiling): Mention
9965 stop-on-test-failure=y.
9966 * INSTALL: Regenerated.
9968 2014-03-14 Roland McGrath <roland@hack.frob.com>
9970 * scripts/versionlist.awk: New file.
9971 * Makerules [$(build-shared) = yes]
9972 (postclean-generated): Add Versions.def, not Versions.def.v and
9974 ($(common-objpfx)Versions.def.v.i): Target removed.
9975 ($(common-objpfx)Versions.def): New target.
9976 ($(common-objpfx)Versions.all): Depend on that rather that
9977 $(common-objpfx)Versions.def.v.
9978 * Versions.def: File removed.
9980 * Makeconfig (+gccwarn): Add -Wundef.
9981 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9982 a dl-sysdep.h breaking its contract.
9983 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9984 * include/stackinfo.h: New file.
9985 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9986 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9987 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9988 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9989 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9990 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9991 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9992 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9993 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9994 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9995 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9996 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
9997 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9998 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9999 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10001 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10004 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10006 * math/libm-test.inc (round_test_data): Add more tests.
10009 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10011 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10014 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10016 * math/libm-test.inc (ceil_test_data): Add more tests.
10018 * math/libm-test.inc (trunc_test_data): Add more tests related to
10021 2014-03-14 Roland McGrath <roland@hack.frob.com>
10023 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10024 with #if rather than #ifdef.
10025 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10027 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10029 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10030 first. Disable AVX-512 GCC support if assembler doesn't support
10032 * sysdeps/x86_64/configure: Regenerated.
10034 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10036 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10037 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10038 (__old_pthread_attr_setstack): Likewise.
10039 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10040 [!_STACK_GROWS_DOWN]: Likewise.
10042 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10044 * config.make.in (have-bash2): Delete.
10045 * configure.ac (libc_cv_have_bash2): Delete.
10046 * configure: Regenerate.
10047 * elf/Makefile (common-ldd-rewrite): Rename to ...
10048 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10049 (sh-ldd-rewrite): Delete.
10050 (bash-ldd-rewrite): Delete.
10051 (have-bash2): Delete checks.
10052 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10055 * config.make.in (have-ksh): Delete.
10057 * configure.ac (libc_cv_have_ksh): Delete.
10058 * configure: Regenerate.
10060 * elf/Makefile: Delete $(have-ksh) check.
10061 ($(objpfx)sotruss): Change KSH to BASH.
10062 * elf/sotruss.ksh: Rename to ...
10063 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10064 function style to match POSIX. Drop ksh vim mode setting.
10066 * manual/time.texi (Specifying the Time Zone with TZ): Change
10067 Tuesday to Thursday.
10069 * debug/tst-longjmp_chk2.c: Update header comment.
10070 (stackoverflow_handler): Add comment. Call assert on pass value.
10072 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10075 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10076 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10077 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10078 (La_x86_64_vector): Add zmm.
10079 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10080 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10081 ($(objpfx)tst-audit10): New target.
10082 ($(objpfx)tst-audit10.out): Likewise.
10083 (tst-audit10-ENV): New.
10084 (AVX512-CFLAGS): Likewise.
10085 (CFLAGS-tst-audit10.c): Likewise.
10086 (CFLAGS-tst-auditmod10a.c): Likewise.
10087 (CFLAGS-tst-auditmod10b.c): Likewise.
10088 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10089 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10090 * sysdeps/x86_64/configure: Regenerated.
10091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10092 AVX-512 zmm register support.
10093 (_dl_x86_64_save_sse): Likewise.
10094 (_dl_x86_64_restore_sse): Likewise.
10095 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10096 size vector registers.
10097 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10098 (ZMM_SIZE): Likewise.
10099 * sysdeps/x86_64/tst-audit10.c: New file.
10100 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10101 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10103 2014-03-13 Roland McGrath <roland@hack.frob.com>
10105 * configure.ac (HAVE_EHDR_START): New check.
10106 * configure: Regenerated.
10107 * config.h.in (HAVE_EHDR_START): New #undef.
10108 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10109 assuming the lowest-addressed segment maps the start of the file.
10111 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10113 * INSTALL: Regenerated.
10115 2014-03-13 Will Newton <will.newton@linaro.org>
10117 * manual/setjmp.texi (System V contexts): Improve
10118 clarity and grammar of documentation.
10120 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10123 * elf/Makefile (tests): Add tst-pie2.
10124 (tests-pie): Add tst-pie2.
10125 * elf/tst-pie2.c: New file.
10126 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10128 * elf/rtld.c (map_doit): Load executable as lt_executable.
10129 (dl_main): Likewise.
10131 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10135 (__ASSUME_PSELECT): Undefine.
10137 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10140 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10141 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10143 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10144 selector for static builds.
10146 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10149 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10152 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10154 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10155 IFUNC selector for static builds.
10157 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10159 * sysdeps/mips/math_private.h [__mips_hard_float]
10160 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10161 libc_feresetround_mips_ctx.
10162 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10163 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10164 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10167 * math/s_nextafter.c (__nextafter): Do not return value from
10168 overflowing computation.
10169 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10170 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10171 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10173 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10175 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10176 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10178 2014-03-11 Roland McGrath <roland@hack.frob.com>
10180 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10181 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10182 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10183 the new mov targetting sp.
10185 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10188 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10189 Define it for static builds as well.
10190 (NO_BZERO_IMPL): Likewise.
10192 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10194 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10195 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10196 multiarch strspn for PPC64.
10197 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10198 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10200 (__libc_ifunc_impl_list): Likewise.
10201 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10202 multiarch optimizations
10203 * string/strspn.c (strspn): Using macro to redefine symbol name.
10205 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10206 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10209 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10210 multiarch strncat for PPC64.
10211 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10212 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10214 (__libc_ifunc_impl_list): Likewise.
10215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10216 multiarch optimizations
10218 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10221 * nscd/nscd.service: Make service type forking.
10223 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10225 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10226 sign in non default rounding modes.
10227 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10229 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10231 * math/libm-test.inc (ALL_RM_TEST): New macro.
10232 (ceil_test): Use ALL_RM_TEST.
10233 (cimag_test): Likewise.
10234 (conj_test): Likewise.
10235 (copysign_test): Likewise.
10236 (cproj_test): Likewise.
10237 (creal_test): Likewise.
10238 (fabs_test): Likewise.
10239 (floor_test): Likewise.
10240 (fmax_test): Likewise.
10241 (fmin_test): Likewise.
10242 (fmod_test): Likewise.
10243 (fpclassify_test): Likewise.
10244 (frexp_test): Likewise.
10245 (ilogb_test): Likewise.
10246 (isfinite_test): Likewise.
10247 (finite_test): Likewise.
10248 (isgreater_test): Likewise.
10249 (isgreaterequal_test): Likewise.
10250 (isinf_test): Likewise.
10251 (isless_test): Likewise.
10252 (islessequal_test): Likewise.
10253 (islessgreater_test): Likewise.
10254 (isnan_test): Likewise.
10255 (isnormal_test): Likewise.
10256 (issignaling_test): Likewise.
10257 (isunordered_test): Likewise.
10258 (logb_test): Likewise.
10259 (logb_downward_test_data): Remove.
10260 (logb_test_downward): Likewise.
10261 (lround_test): Use ALL_RM_TEST.
10262 (llround_test): Likewise.
10263 (modf_test): Likewise.
10264 (nexttoward_test): Likewise.
10265 (remainder_test): Likewise.
10266 (drem_test): Likewise.
10267 (remainder_tonearest_test_data): Likewise.
10268 (remainder_test_tonearest): Likewise.
10269 (drem_test_tonearest): Likewise.
10270 (remainder_towardzero_test_data): Likewise.
10271 (remainder_test_towardzero): Likewise.
10272 (drem_test_towardzero): Likewise.
10273 (remainder_downward_test_data): Likewise.
10274 (remainder_test_downward): Likewise.
10275 (drem_test_downward): Likewise.
10276 (remainder_upward_test_data): Likewise.
10277 (remainder_test_upward): Likewise.
10278 (drem_test_upward): Likewise.
10279 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10280 (round_test): Use ALL_RM_TEST.
10281 (signbit_test): Likewise.
10282 (trunc_test): Likewise.
10283 (significand_test): Likewise.
10284 (main): Don't call removed functions.
10286 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10289 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10290 || __USE_XOPEN2K8].
10291 (ILL_ILLOPN): Likewise.
10292 (ILL_ILLADR): Likewise.
10293 (ILL_ILLTRP): Likewise.
10294 (ILL_PRVOPC): Likewise.
10295 (ILL_PRVREG): Likewise.
10296 (ILL_COPROC): Likewise.
10297 (ILL_BADSTK): Likewise.
10298 (FPE_INTDIV): Likewise.
10299 (FPE_INTOVF): Likewise.
10300 (FPE_FLTDIV): Likewise.
10301 (FPE_FLTOVF): Likewise.
10302 (FPE_FLTUND): Likewise.
10303 (FPE_FLTRES): Likewise.
10304 (FPE_FLTINV): Likewise.
10305 (FPE_FLTSUB): Likewise.
10306 (SEGV_MAPERR): Likewise.
10307 (SEGV_ACCERR): Likewise.
10308 (BUS_ADRALN): Likewise.
10309 (BUS_ADRERR): Likewise.
10310 (BUS_OBJERR): Likewise.
10311 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10312 (TRAP_TRACE): Likewise.
10313 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10315 (CLD_KILLED): Likewise.
10316 (CLD_DUMPED): Likewise.
10317 (CLD_TRAPPED): Likewise.
10318 (CLD_STOPPED): Likewise.
10319 (CLD_CONTINUED): Likewise.
10320 (POLL_IN): Likewise.
10321 (POLL_OUT): Likewise.
10322 (POLL_MSG): Likewise.
10323 (POLL_ERR): Likewise.
10324 (POLL_PRI): Likewise.
10325 (POLL_HUP): Likewise.
10326 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10328 (ILL_ILLOPN): Likewise.
10329 (ILL_ILLADR): Likewise.
10330 (ILL_ILLTRP): Likewise.
10331 (ILL_PRVOPC): Likewise.
10332 (ILL_PRVREG): Likewise.
10333 (ILL_COPROC): Likewise.
10334 (ILL_BADSTK): Likewise.
10335 (FPE_INTDIV): Likewise.
10336 (FPE_INTOVF): Likewise.
10337 (FPE_FLTDIV): Likewise.
10338 (FPE_FLTOVF): Likewise.
10339 (FPE_FLTUND): Likewise.
10340 (FPE_FLTRES): Likewise.
10341 (FPE_FLTINV): Likewise.
10342 (FPE_FLTSUB): Likewise.
10343 (SEGV_MAPERR): Likewise.
10344 (SEGV_ACCERR): Likewise.
10345 (BUS_ADRALN): Likewise.
10346 (BUS_ADRERR): Likewise.
10347 (BUS_OBJERR): Likewise.
10348 (BUS_MCEERR_AR): Likewise.
10349 (BUS_MCEERR_AO): Likewise.
10350 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10351 (TRAP_TRACE): Likewise.
10352 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10354 (CLD_KILLED): Likewise.
10355 (CLD_DUMPED): Likewise.
10356 (CLD_TRAPPED): Likewise.
10357 (CLD_STOPPED): Likewise.
10358 (CLD_CONTINUED): Likewise.
10359 (POLL_IN): Likewise.
10360 (POLL_OUT): Likewise.
10361 (POLL_MSG): Likewise.
10362 (POLL_ERR): Likewise.
10363 (POLL_PRI): Likewise.
10364 (POLL_HUP): Likewise.
10365 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10366 (ILL_ILLOPN): Likewise.
10367 (ILL_ILLADR): Likewise.
10368 (ILL_ILLTRP): Likewise.
10369 (ILL_PRVOPC): Likewise.
10370 (ILL_PRVREG): Likewise.
10371 (ILL_COPROC): Likewise.
10372 (ILL_BADSTK): Likewise.
10373 (FPE_INTDIV): Likewise.
10374 (FPE_INTOVF): Likewise.
10375 (FPE_FLTDIV): Likewise.
10376 (FPE_FLTOVF): Likewise.
10377 (FPE_FLTUND): Likewise.
10378 (FPE_FLTRES): Likewise.
10379 (FPE_FLTINV): Likewise.
10380 (FPE_FLTSUB): Likewise.
10381 (SEGV_MAPERR): Likewise.
10382 (SEGV_ACCERR): Likewise.
10383 (BUS_ADRALN): Likewise.
10384 (BUS_ADRERR): Likewise.
10385 (BUS_OBJERR): Likewise.
10386 (BUS_MCEERR_AR): Likewise.
10387 (BUS_MCEERR_AO): Likewise.
10388 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10389 (TRAP_TRACE): Likewise.
10390 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10392 (CLD_KILLED): Likewise.
10393 (CLD_DUMPED): Likewise.
10394 (CLD_TRAPPED): Likewise.
10395 (CLD_STOPPED): Likewise.
10396 (CLD_CONTINUED): Likewise.
10397 (POLL_IN): Likewise.
10398 (POLL_OUT): Likewise.
10399 (POLL_MSG): Likewise.
10400 (POLL_ERR): Likewise.
10401 (POLL_PRI): Likewise.
10402 (POLL_HUP): Likewise.
10403 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10405 (ILL_ILLOPN): Likewise.
10406 (ILL_ILLADR): Likewise.
10407 (ILL_ILLTRP): Likewise.
10408 (ILL_PRVOPC): Likewise.
10409 (ILL_PRVREG): Likewise.
10410 (ILL_COPROC): Likewise.
10411 (ILL_BADSTK): Likewise.
10412 (ILL_BADIADDR): Likewise.
10413 (ILL_BREAK): Likewise.
10414 (FPE_INTDIV): Likewise.
10415 (FPE_INTOVF): Likewise.
10416 (FPE_FLTDIV): Likewise.
10417 (FPE_FLTOVF): Likewise.
10418 (FPE_FLTUND): Likewise.
10419 (FPE_FLTRES): Likewise.
10420 (FPE_FLTINV): Likewise.
10421 (FPE_FLTSUB): Likewise.
10422 (FPE_DECOVF): Likewise.
10423 (FPE_DECDIV): Likewise.
10424 (FPE_DECERR): Likewise.
10425 (FPE_INVASC): Likewise.
10426 (FPE_INVDEC): Likewise.
10427 (SEGV_MAPERR): Likewise.
10428 (SEGV_ACCERR): Likewise.
10429 (SEGV_PSTKOVF): Likewise.
10430 (BUS_ADRALN): Likewise.
10431 (BUS_ADRERR): Likewise.
10432 (BUS_OBJERR): Likewise.
10433 (BUS_MCEERR_AR): Likewise.
10434 (BUS_MCEERR_AO): Likewise.
10435 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10436 (TRAP_TRACE): Likewise.
10437 (TRAP_BRANCH): Likewise.
10438 (TRAP_HWBKPT): Likewise.
10439 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10441 (CLD_KILLED): Likewise.
10442 (CLD_DUMPED): Likewise.
10443 (CLD_TRAPPED): Likewise.
10444 (CLD_STOPPED): Likewise.
10445 (CLD_CONTINUED): Likewise.
10446 (POLL_IN): Likewise.
10447 (POLL_OUT): Likewise.
10448 (POLL_MSG): Likewise.
10449 (POLL_ERR): Likewise.
10450 (POLL_PRI): Likewise.
10451 (POLL_HUP): Likewise.
10452 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10453 (ILL_ILLOPN): Likewise.
10454 (ILL_ILLADR): Likewise.
10455 (ILL_ILLTRP): Likewise.
10456 (ILL_PRVOPC): Likewise.
10457 (ILL_PRVREG): Likewise.
10458 (ILL_COPROC): Likewise.
10459 (ILL_BADSTK): Likewise.
10460 (FPE_INTDIV): Likewise.
10461 (FPE_INTOVF): Likewise.
10462 (FPE_FLTDIV): Likewise.
10463 (FPE_FLTOVF): Likewise.
10464 (FPE_FLTUND): Likewise.
10465 (FPE_FLTRES): Likewise.
10466 (FPE_FLTINV): Likewise.
10467 (FPE_FLTSUB): Likewise.
10468 (SEGV_MAPERR): Likewise.
10469 (SEGV_ACCERR): Likewise.
10470 (BUS_ADRALN): Likewise.
10471 (BUS_ADRERR): Likewise.
10472 (BUS_OBJERR): Likewise.
10473 (BUS_MCEERR_AR): Likewise.
10474 (BUS_MCEERR_AO): Likewise.
10475 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10476 (TRAP_TRACE): Likewise.
10477 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10479 (CLD_KILLED): Likewise.
10480 (CLD_DUMPED): Likewise.
10481 (CLD_TRAPPED): Likewise.
10482 (CLD_STOPPED): Likewise.
10483 (CLD_CONTINUED): Likewise.
10484 (POLL_IN): Likewise.
10485 (POLL_OUT): Likewise.
10486 (POLL_MSG): Likewise.
10487 (POLL_ERR): Likewise.
10488 (POLL_PRI): Likewise.
10489 (POLL_HUP): Likewise.
10490 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10491 (ILL_ILLOPN): Likewise.
10492 (ILL_ILLADR): Likewise.
10493 (ILL_ILLTRP): Likewise.
10494 (ILL_PRVOPC): Likewise.
10495 (ILL_PRVREG): Likewise.
10496 (ILL_COPROC): Likewise.
10497 (ILL_BADSTK): Likewise.
10498 (FPE_INTDIV): Likewise.
10499 (FPE_INTOVF): Likewise.
10500 (FPE_FLTDIV): Likewise.
10501 (FPE_FLTOVF): Likewise.
10502 (FPE_FLTUND): Likewise.
10503 (FPE_FLTRES): Likewise.
10504 (FPE_FLTINV): Likewise.
10505 (FPE_FLTSUB): Likewise.
10506 (SEGV_MAPERR): Likewise.
10507 (SEGV_ACCERR): Likewise.
10508 (BUS_ADRALN): Likewise.
10509 (BUS_ADRERR): Likewise.
10510 (BUS_OBJERR): Likewise.
10511 (BUS_MCEERR_AR): Likewise.
10512 (BUS_MCEERR_AO): Likewise.
10513 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10514 (TRAP_TRACE): Likewise.
10515 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10517 (CLD_KILLED): Likewise.
10518 (CLD_DUMPED): Likewise.
10519 (CLD_TRAPPED): Likewise.
10520 (CLD_STOPPED): Likewise.
10521 (CLD_CONTINUED): Likewise.
10522 (POLL_IN): Likewise.
10523 (POLL_OUT): Likewise.
10524 (POLL_MSG): Likewise.
10525 (POLL_ERR): Likewise.
10526 (POLL_PRI): Likewise.
10527 (POLL_HUP): Likewise.
10528 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10529 (ILL_ILLOPN): Likewise.
10530 (ILL_ILLADR): Likewise.
10531 (ILL_ILLTRP): Likewise.
10532 (ILL_PRVOPC): Likewise.
10533 (ILL_PRVREG): Likewise.
10534 (ILL_COPROC): Likewise.
10535 (ILL_BADSTK): Likewise.
10536 (FPE_INTDIV): Likewise.
10537 (FPE_INTOVF): Likewise.
10538 (FPE_FLTDIV): Likewise.
10539 (FPE_FLTOVF): Likewise.
10540 (FPE_FLTUND): Likewise.
10541 (FPE_FLTRES): Likewise.
10542 (FPE_FLTINV): Likewise.
10543 (FPE_FLTSUB): Likewise.
10544 (SEGV_MAPERR): Likewise.
10545 (SEGV_ACCERR): Likewise.
10546 (BUS_ADRALN): Likewise.
10547 (BUS_ADRERR): Likewise.
10548 (BUS_OBJERR): Likewise.
10549 (BUS_MCEERR_AR): Likewise.
10550 (BUS_MCEERR_AO): Likewise.
10551 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10552 (TRAP_TRACE): Likewise.
10553 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10555 (CLD_KILLED): Likewise.
10556 (CLD_DUMPED): Likewise.
10557 (CLD_TRAPPED): Likewise.
10558 (CLD_STOPPED): Likewise.
10559 (CLD_CONTINUED): Likewise.
10560 (POLL_IN): Likewise.
10561 (POLL_OUT): Likewise.
10562 (POLL_MSG): Likewise.
10563 (POLL_ERR): Likewise.
10564 (POLL_PRI): Likewise.
10565 (POLL_HUP): Likewise.
10566 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10567 (ILL_ILLOPN): Likewise.
10568 (ILL_ILLADR): Likewise.
10569 (ILL_ILLTRP): Likewise.
10570 (ILL_PRVOPC): Likewise.
10571 (ILL_PRVREG): Likewise.
10572 (ILL_COPROC): Likewise.
10573 (ILL_BADSTK): Likewise.
10574 (ILL_DBLFLT): Likewise.
10575 (ILL_HARDWALL): Likewise.
10576 (FPE_INTDIV): Likewise.
10577 (FPE_INTOVF): Likewise.
10578 (FPE_FLTDIV): Likewise.
10579 (FPE_FLTOVF): Likewise.
10580 (FPE_FLTUND): Likewise.
10581 (FPE_FLTRES): Likewise.
10582 (FPE_FLTINV): Likewise.
10583 (FPE_FLTSUB): Likewise.
10584 (SEGV_MAPERR): Likewise.
10585 (SEGV_ACCERR): Likewise.
10586 (BUS_ADRALN): Likewise.
10587 (BUS_ADRERR): Likewise.
10588 (BUS_OBJERR): Likewise.
10589 (BUS_MCEERR_AR): Likewise.
10590 (BUS_MCEERR_AO): Likewise.
10591 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10592 (TRAP_TRACE): Likewise.
10593 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10595 (CLD_KILLED): Likewise.
10596 (CLD_DUMPED): Likewise.
10597 (CLD_TRAPPED): Likewise.
10598 (CLD_STOPPED): Likewise.
10599 (CLD_CONTINUED): Likewise.
10600 (POLL_IN): Likewise.
10601 (POLL_OUT): Likewise.
10602 (POLL_MSG): Likewise.
10603 (POLL_ERR): Likewise.
10604 (POLL_PRI): Likewise.
10605 (POLL_HUP): Likewise.
10606 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10607 (ILL_ILLOPN): Likewise.
10608 (ILL_ILLADR): Likewise.
10609 (ILL_ILLTRP): Likewise.
10610 (ILL_PRVOPC): Likewise.
10611 (ILL_PRVREG): Likewise.
10612 (ILL_COPROC): Likewise.
10613 (ILL_BADSTK): Likewise.
10614 (FPE_INTDIV): Likewise.
10615 (FPE_INTOVF): Likewise.
10616 (FPE_FLTDIV): Likewise.
10617 (FPE_FLTOVF): Likewise.
10618 (FPE_FLTUND): Likewise.
10619 (FPE_FLTRES): Likewise.
10620 (FPE_FLTINV): Likewise.
10621 (FPE_FLTSUB): Likewise.
10622 (SEGV_MAPERR): Likewise.
10623 (SEGV_ACCERR): Likewise.
10624 (BUS_ADRALN): Likewise.
10625 (BUS_ADRERR): Likewise.
10626 (BUS_OBJERR): Likewise.
10627 (BUS_MCEERR_AR): Likewise.
10628 (BUS_MCEERR_AO): Likewise.
10629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10630 (TRAP_TRACE): Likewise.
10631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10633 (CLD_KILLED): Likewise.
10634 (CLD_DUMPED): Likewise.
10635 (CLD_TRAPPED): Likewise.
10636 (CLD_STOPPED): Likewise.
10637 (CLD_CONTINUED): Likewise.
10638 (POLL_IN): Likewise.
10639 (POLL_OUT): Likewise.
10640 (POLL_MSG): Likewise.
10641 (POLL_ERR): Likewise.
10642 (POLL_PRI): Likewise.
10643 (POLL_HUP): Likewise.
10644 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10645 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10648 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10649 before #include of <time.h>.
10650 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10651 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10652 (test-xfail-UNIX98/sched.h/conform): Likewise.
10654 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10656 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10657 error absence of trapping exception support.
10658 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10660 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10662 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10663 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10664 * timezone/Makefile (testdata): Move definition above include of
10666 (test-zones): New variable.
10667 (tests-special): Add zone files.
10668 (build-testdata): Use $(evaluate-test).
10670 * elf/Makefile (tests-special): Rename tests to end with .out.
10671 ($(objpfx)noload-mem): Likewise.
10672 ($(objpfx)tst-leaks1-mem): Likewise.
10673 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10674 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10675 $(objpfx)test-iconvconfig.out.
10676 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10677 set -e inside subshell and redirect output to file.
10678 * iconvdata/Makefile (generated): Rename tests to end with .out.
10680 (tests-special): Rename tests to end with .out.
10681 ($(objpfx)mtrace-tst-loading): Likewise.
10682 * intl/Makefile (generated): Likewise.
10683 (tests-special): Likewise.
10684 ($(objpfx)mtrace-tst-gettext): Likewise.
10685 * misc/Makefile (generated): Likewise.
10686 (tests-special): Likewise.
10687 ($(objpfx)tst-error1-mem): Likewise.
10688 * nptl/Makefile (tests-special): Likewise.
10689 ($(objpfx)tst-stack3-mem): Likewise.
10690 (generated): Likewise.
10691 * posix/Makefile (generated): Likewise.
10692 (tests-special): Likewise.
10693 (xtests-special): Likewise.
10694 ($(objpfx)tst-fnmatch-mem): Likewise.
10695 ($(objpfx)bug-regex2-mem): Likewise.
10696 ($(objpfx)bug-regex14-mem): Likewise.
10697 ($(objpfx)bug-regex21-mem): Likewise.
10698 ($(objpfx)bug-regex31-mem): Likewise.
10699 ($(objpfx)tst-vfork3-mem): Likewise.
10700 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10701 ($(objpfx)tst-pcre-mem): Likewise.
10702 ($(objpfx)tst-boost-mem): Likewise.
10703 ($(objpfx)bug-ga2-mem): Likewise.
10704 ($(objpfx)bug-glob2-mem): Likewise.
10705 * resolv/Makefile (generate): Likewise.
10706 (tests-special): Likewise.
10707 (xtests-special): Likewise.
10708 (generated): Likewise.
10709 ($(objpfx)mtrace-tst-leaks): Likewise.
10710 ($(objpfx)mtrace-tst-leaks2): Likewise.
10712 * scripts/merge-test-results.sh: New file.
10713 * Makefile (tests-special-notdir): New variable.
10714 (tests): Run merge-test-results.sh.
10715 (xtests): Likewise.
10716 * Rules (tests-special-notdir): New variable.
10717 (xtests-special-notdir): Likewise.
10718 (tests): Run merge-test-results.sh
10719 (xtests): Likewise.
10721 * Makeconfig (test-xfail-name): New variable.
10722 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10723 compute variable name for expected failures.
10724 * conform/Makefile (conformtest-headers-data): New variable.
10725 (conformtest-standards): Likewise.
10726 (conformtest-headers-ISO): Likewise.
10727 (conformtest-headers-ISO99): Likewise.
10728 (conformtest-headers-ISO11): Likewise.
10729 (conformtest-headers-POSIX): Likewise.
10730 (conformtest-headers-XPG3): Likewise.
10731 (conformtest-headers-XPG4): Likewise.
10732 (conformtest-headers-UNIX98): Likewise.
10733 (conformtest-headers-XOPEN2K): Likewise.
10734 (conformtest-headers-POSIX2008): Likewise.
10735 (conformtest-headers-XOPEN2K8): Likewise.
10736 (conformtest-header-list-base): Likewise.
10737 (conformtest-header-list-tests): Likewise.
10738 (conformtest-header-base): Likewise.
10739 (conformtest-header-tests): Likewise.
10740 (tests-special): Add $(conformtest-header-list-tests). If
10741 [$(fast-check) && !$(cross-compiling)], add
10742 $(conformtest-header-tests) instead of
10743 $(objpfx)run-conformtest.out.
10744 (generated): Add $(conformtest-header-list-base). If
10745 [$(fast-check) && !$(cross-compiling)], add
10746 $(conformtest-header-base). Remove previous setting.
10747 ($(conformtest-header-list-tests)): New target.
10748 (test-xfail-run-conformtest): Remove variable.
10749 ($(objpfx)run-conformtest.out): Remove target.
10750 (test-xfail-ISO11/complex.h/conform): New variable.
10751 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10752 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10753 (test-xfail-XPG3/varargs.h/conform): Likewise.
10754 (test-xfail-XPG4/varargs.h/conform): Likewise.
10755 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10756 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10757 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10758 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10759 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10760 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10761 (test-xfail-XPG3/ftw.h/conform): Likewise.
10762 (test-xfail-XPG3/grp.h/conform): Likewise.
10763 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10764 (test-xfail-XPG3/limits.h/conform): Likewise.
10765 (test-xfail-XPG3/pwd.h/conform): Likewise.
10766 (test-xfail-XPG3/search.h/conform): Likewise.
10767 (test-xfail-XPG3/signal.h/conform): Likewise.
10768 (test-xfail-XPG3/stdio.h/conform): Likewise.
10769 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10770 (test-xfail-XPG3/string.h/conform): Likewise.
10771 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10772 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10773 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10774 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10775 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10776 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10777 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10778 (test-xfail-XPG3/termios.h/conform): Likewise.
10779 (test-xfail-XPG3/time.h/conform): Likewise.
10780 (test-xfail-XPG3/unistd.h/conform): Likewise.
10781 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10782 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10783 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10784 (test-xfail-XPG4/netdb.h/conform): Likewise.
10785 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10786 (test-xfail-XPG4/signal.h/conform): Likewise.
10787 (test-xfail-XPG4/stdio.h/conform): Likewise.
10788 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10789 (test-xfail-XPG4/stropts.h/conform): Likewise.
10790 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10791 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10792 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10793 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10794 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10795 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10796 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10797 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10798 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10799 (test-xfail-XPG4/termios.h/conform): Likewise.
10800 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10801 (test-xfail-XPG4/unistd.h/conform): Likewise.
10802 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10803 (test-xfail-POSIX/sched.h/conform): Likewise.
10804 (test-xfail-POSIX/signal.h/conform): Likewise.
10805 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10806 (test-xfail-POSIX/tar.h/conform): Likewise.
10807 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10808 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10809 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10810 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10811 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10812 (test-xfail-UNIX98/sched.h/conform): Likewise.
10813 (test-xfail-UNIX98/signal.h/conform): Likewise.
10814 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10815 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10816 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10817 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10818 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10819 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10820 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10821 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10822 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10823 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10824 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10825 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10826 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10827 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10828 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10829 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10830 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10831 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10832 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10833 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10834 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10835 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10836 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10837 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10838 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10839 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10840 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10841 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10842 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10843 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10844 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10845 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10846 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10847 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10848 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10849 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10850 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10851 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10852 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10853 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10854 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10855 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10856 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10857 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10858 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10859 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10860 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10861 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10862 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10863 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10864 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10865 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10866 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10867 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10868 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10869 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10870 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10871 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10872 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10873 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10874 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10875 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10876 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10877 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10878 (conformtest-cc-flags): Likewise.
10879 ($(conformtest-header-tests): New target.
10880 * conform/check-header-lists.sh: New file.
10881 * conform/run-conformtest.sh: Remove.
10883 * conform/conformtest.pl: Allow ' and \ in values given for
10885 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10887 [POSIX] (sys/types.h): Likewise.
10888 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10890 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10892 * conform/data/signal.h-data (SIGIO): Remove expectation.
10893 [XPG3] (SIGBUS): Do not expect.
10894 [POSIX || XPG3] (SIGPOLL): Likewise.
10895 [POSIX || XPG3] (SIGPROF): Likewise.
10896 [POSIX || XPG3] (SIGSYS): Likewise.
10897 [XPG3] (SIGTRAP): Likewise.
10898 [POSIX || XPG3] (SIGURG): Likewise.
10899 [POSIX || XPG3] (SIGVTALRM): Likewise.
10900 [POSIX || XPG3] (SIGXCPU): Likewise.
10901 [POSIX || XPG3] (SIGXFSZ): Likewise.
10902 [POSIX] (SA_SIGINFO): Expect.
10903 [XPG3] (siginfo_t): Do not expect type or contents.
10904 [POSIX] (si_pid): Do not expect element.
10905 [POSIX] (si_uid): Likewise.
10906 [POSIX] (si_addr): Likewise.
10907 [POSIX] (si_status): Likewise.
10908 [POSIX] (si_band): Likewise.
10909 [XPG4] (si_value): Likewise.
10910 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10911 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10912 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10913 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10914 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10915 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10916 [POSIX || XPG3] (ILL_COPROC): Likewise.
10917 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10918 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10919 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10920 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10921 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10922 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10923 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10924 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10925 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10926 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10927 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10928 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10929 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10930 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10931 [POSIX || XPG3] (CLD_EXITED): Likewise.
10932 [POSIX || XPG3] (CLD_KILLED): Likewise.
10933 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10934 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10935 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10936 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10937 [POSIX || XPG3] (POLL_IN): Likewise.
10938 [POSIX || XPG3] (POLL_OUT): Likewise.
10939 [POSIX || XPG3] (POLL_MSG): Likewise.
10940 [POSIX || XPG3] (POLL_ERR): Likewise.
10941 [POSIX || XPG3] (POLL_PRI): Likewise.
10942 [POSIX || XPG3] (POLL_HUP): Likewise.
10943 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10944 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10945 (SIG*): Do not allow.
10946 [XPG3] (si_*): Likewise.
10947 [XPG3] (SI_*): Likewise.
10948 [XPG3 || XPG4] (sigev_*): Likewise.
10949 [XPG3 || XPG4] (SIGEV_*): Likewise.
10950 [XPG3 || XPG4] (sival_*): Likewise.
10951 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10952 [POSIX || XPG3] (BUS_*): Likewise.
10953 [POSIX || XPG3] (CLD_*): Likewise.
10954 [POSIX || XPG3] (FPE_*): Likewise.
10955 [POSIX || XPG3] (ILL_*): Likewise.
10956 [POSIX || XPG3] (POLL_*): Likewise.
10957 [POSIX || XPG3] (SEGV_*): Likewise.
10958 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10959 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10960 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10961 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10962 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10963 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10964 Specify type and value.
10965 (TVERSLEN): Likewise.
10966 (REGTYPE): Likewise.
10967 (AREGTYPE): Likewise.
10968 (LNKTYPE): Likewise.
10969 (SYMTYPE): Likewise.
10970 (CHRTYPE): Likewise.
10971 (BLKTYPE): Likewise.
10972 (DIRTYPE): Likewise.
10973 (FIFOTYPE): Likewise.
10974 (CONTTYPE): Likewise.
10978 (TUREAD): Likewise.
10979 (TUWRITE): Likewise.
10980 (TUEXEC): Likewise.
10981 (TGREAD): Likewise.
10982 (TGWRITE): Likewise.
10983 (TGEXEC): Likewise.
10984 (TOREAD): Likewise.
10985 (TOWRITE): Likewise.
10986 (TOEXEC): Likewise.
10987 [POSIX] (TSVTX): Expect constant.
10989 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10991 * Makefile (tests): Change dependencies to ....
10992 (tests-special): ... additions to this variable.
10993 (tests): Depend on $(tests-special).
10994 * Makerules (check-abi-list): New variable.
10995 (check-abi): Depend on $(check-abi-list).
10996 [$(subdir) = elf] (tests-special): Add
10997 $(objpfx)check-abi-libc.out.
10998 [$(build-shared) = yes && subdir] (tests-special): Add
11000 [$(build-shared) = yes && subdir] (tests): Do not depend on
11002 * Rules (tests): Depend on $(tests-special).
11003 (xtests): Depend on $(xtests-special).
11004 * catgets/Makefile (tests): Change dependencies to ....
11005 (tests-special): ... additions to this variable.
11006 * conform/Makefile (tests): Change dependencies to ....
11007 (tests-special): ... additions to this variable.
11008 * elf/Makefile (tests): Change dependencies to ....
11009 (tests-special): ... additions to this variable.
11010 * grp/Makefile (tests): Change dependencies to ....
11011 (tests-special): ... additions to this variable.
11012 * iconv/Makefile (xtests): Change dependencies to ....
11013 (xtests-special): ... additions to this variable.
11014 * iconvdata/Makefile (tests): Change dependencies to ....
11015 (tests-special): ... additions to this variable.
11016 * intl/Makefile (tests): Change dependencies to ....
11017 (tests-special): ... additions to this variable. Also add
11018 $(objpfx)tst-gettext.out.
11019 * io/Makefile (tests): Change dependencies to ....
11020 (tests-special): ... additions to this variable.
11021 * libio/Makefile (tests): Change dependencies to ....
11022 (tests-special): ... additions to this variable.
11023 * malloc/Makefile (tests): Change dependencies to ....
11024 (tests-special): ... additions to this variable.
11025 * misc/Makefile (tests): Change dependencies to ....
11026 (tests-special): ... additions to this variable.
11027 * nptl/Makefile (tests): Change dependencies to ....
11028 (tests-special): ... additions to this variable.
11029 * nptl_db/Makefile (tests): Change dependencies to ....
11030 (tests-special): ... additions to this variable.
11031 * posix/Makefile (tests): Change dependencies to ....
11032 (tests-special): ... additions to this variable.
11033 (xtests): Change dependencies to ....
11034 (xtests-special): ... additions to this variable.
11035 * resolv/Makefile (tests): Change dependencies to ....
11036 (tests-special): ... additions to this variable.
11037 (xtests): Change dependencies to ....
11038 (xtests-special): ... additions to this variable.
11039 * stdio-common/Makefile (tests): Change dependencies to ....
11040 (tests-special): ... additions to this variable.
11041 (do-tst-unbputc): Remove target.
11042 (do-tst-printf): Likewise.
11043 * stdlib/Makefile (tests): Change dependencies to ....
11044 (tests-special): ... additions to this variable.
11045 * string/Makefile (tests): Change dependencies to ....
11046 (tests-special): ... additions to this variable.
11047 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11048 (tests-special): ... additions to this variable.
11050 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11052 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11054 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11055 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11057 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11058 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11059 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11060 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11061 * conform/data/libgen.h-data [XPG3]: Likewise.
11062 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11063 * conform/data/ndbm.h-data [XPG3]: Likewise.
11064 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11065 * conform/data/netdb.h-data [XPG3]: Likewise.
11066 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11067 * conform/data/poll.h-data [XPG3]: Likewise.
11068 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11069 * conform/data/strings.h-data [XPG3]: Likewise.
11070 * conform/data/stropts.h-data [XPG3]: Likewise.
11071 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11072 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11073 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11075 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11076 * conform/data/sys/time.h-data [XPG3]: Likewise.
11077 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11078 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11079 * conform/data/sys/un.h-data [XPG3]: Likewise.
11080 * conform/data/syslog.h-data [XPG3]: Likewise.
11081 * conform/data/ucontext.h-data [XPG3]: Likewise.
11082 * conform/data/utmpx.h-data [XPG3]: Likewise.
11083 * conform/data/varargs.h-data [UNIX98]: Enable file.
11085 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11087 * math/libm-test.inc (struct test_f_f_data): Move expected results
11088 into structure for each rounding mode.
11089 (struct test_ff_f_data): Likewise.
11090 (struct test_ff_f_data_nexttoward): Likewise.
11091 (struct test_fi_f_data): Likewise.
11092 (struct test_fl_f_data): Likewise.
11093 (struct test_if_f_data): Likewise.
11094 (struct test_fff_f_data): Likewise.
11095 (struct test_c_f_data): Likewise.
11096 (struct test_f_f1_data): Likewise.
11097 (struct test_fF_f1_data): Likewise.
11098 (struct test_ffI_f1_data): Likewise.
11099 (struct test_c_c_data): Likewise.
11100 (struct test_cc_c_data): Likewise.
11101 (struct test_f_i_data): Likewise.
11102 (struct test_ff_i_data): Likewise.
11103 (struct test_f_l_data): Likewise.
11104 (struct test_f_L_data): Likewise.
11105 (struct test_fFF_11_data): Likewise.
11107 (RM_FE_DOWNWARD): Likewise.
11108 (RM_FE_TONEAREST): Likewise.
11109 (RM_FE_TOWARDZERO): Likewise.
11110 (RM_FE_UPWARD): Likewise.
11111 (RUN_TEST_LOOP_f_f): Update references to expected results.
11112 (RUN_TEST_LOOP_2_f): Likewise.
11113 (RUN_TEST_LOOP_fff_f): Likewise.
11114 (RUN_TEST_LOOP_c_f): Likewise.
11115 (RUN_TEST_LOOP_f_f1): Likewise.
11116 (RUN_TEST_LOOP_fF_f1): Likewise.
11117 (RUN_TEST_LOOP_fI_f1): Likewise.
11118 (RUN_TEST_LOOP_ffI_f1): Likewise.
11119 (RUN_TEST_LOOP_c_c): Likewise.
11120 (RUN_TEST_LOOP_cc_c): Likewise.
11121 (RUN_TEST_LOOP_f_i): Likewise.
11122 (RUN_TEST_LOOP_f_i_tg): Likewise.
11123 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11124 (RUN_TEST_LOOP_f_b): Likewise.
11125 (RUN_TEST_LOOP_f_b_tg): Likewise.
11126 (RUN_TEST_LOOP_f_l): Likewise.
11127 (RUN_TEST_LOOP_f_L): Likewise.
11128 (RUN_TEST_LOOP_fFF_11): Likewise.
11129 * math/gen-libm-test.pl (parse_args): Output four copies of
11130 expected results for each test.
11132 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11133 (__ASSUME_UTIMES): Remove.
11134 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11135 (__ASSUME_UTIMES): Likewise.
11137 * math/gen-auto-libm-tests.c: Update comment on output format.
11138 (output_for_one_input_case): Generate before-rounding and
11139 after-rounding information as conditions on output flags not
11140 floating-point format.
11141 * math/auto-libm-test-out: Regenerated.
11142 * math/gen-libm-test.pl (cond_value): New function.
11143 (or_cond_value): Use cond_value.
11144 (generate_testfile): Handle conditional exceptions.
11146 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11148 * math/libm-test.inc (max_valid_error): New variable.
11149 (init_max_error): Take new argument specifying whether function
11150 results are exactly determined. Set max_valid_error and bound
11151 other variables for errors based on this argument.
11152 (set_max_error): Do not record results above max_valid_error.
11153 (check_float_internal): Only accept errors of up to 0.5ulps if
11154 also at most max_valid_error.
11155 (START): Take new argument EXACT and pass it to init_max_error.
11156 (acos_test): Update call to START.
11157 (acos_test_tonearest): Likewise.
11158 (acos_test_towardzero): Likewise.
11159 (acos_test_downward): Likewise.
11160 (acos_test_upward): Likewise.
11161 (acosh_test): Likewise.
11162 (asin_test): Likewise.
11163 (asin_test_tonearest): Likewise.
11164 (asin_test_towardzero): Likewise.
11165 (asin_test_downward): Likewise.
11166 (asin_test_upward): Likewise.
11167 (asinh_test): Likewise.
11168 (atan_test): Likewise.
11169 (atanh_test): Likewise.
11170 (atan2_test): Likewise.
11171 (cabs_test): Likewise.
11172 (cacos_test): Likewise.
11173 (cacosh_test): Likewise.
11174 (carg_test): Likewise.
11175 (casin_test): Likewise.
11176 (casinh_test): Likewise.
11177 (catan_test): Likewise.
11178 (catanh_test): Likewise.
11179 (cbrt_test): Likewise.
11180 (ccos_test): Likewise.
11181 (ccosh_test): Likewise.
11182 (ceil_test): Likewise.
11183 (cexp_test): Likewise.
11184 (cimag_test): Likewise.
11185 (clog_test): Likewise.
11186 (clog10_test): Likewise.
11187 (conj_test): Likewise.
11188 (copysign_test): Likewise.
11189 (cos_test): Likewise.
11190 (cos_test_tonearest): Likewise.
11191 (cos_test_towardzero): Likewise.
11192 (cos_test_downward): Likewise.
11193 (cos_test_upward): Likewise.
11194 (cosh_test): Likewise.
11195 (cosh_test_tonearest): Likewise.
11196 (cosh_test_towardzero): Likewise.
11197 (cosh_test_downward): Likewise.
11198 (cosh_test_upward): Likewise.
11199 (cpow_test): Likewise.
11200 (cproj_test): Likewise.
11201 (creal_test): Likewise.
11202 (csin_test): Likewise.
11203 (csinh_test): Likewise.
11204 (csqrt_test): Likewise.
11205 (ctan_test): Likewise.
11206 (ctan_test_tonearest): Likewise.
11207 (ctan_test_towardzero): Likewise.
11208 (ctan_test_downward): Likewise.
11209 (ctan_test_upward): Likewise.
11210 (ctanh_test): Likewise.
11211 (ctanh_test_tonearest): Likewise.
11212 (ctanh_test_towardzero): Likewise.
11213 (ctanh_test_downward): Likewise.
11214 (ctanh_test_upward): Likewise.
11215 (erf_test): Likewise.
11216 (erfc_test): Likewise.
11217 (exp_test): Likewise.
11218 (exp_test_tonearest): Likewise.
11219 (exp_test_towardzero): Likewise.
11220 (exp_test_downward): Likewise.
11221 (exp_test_upward): Likewise.
11222 (exp10_test): Likewise.
11223 (exp10_test_tonearest): Likewise.
11224 (exp10_test_towardzero): Likewise.
11225 (exp10_test_downward): Likewise.
11226 (exp10_test_upward): Likewise.
11227 (pow10_test): Likewise.
11228 (exp2_test): Likewise.
11229 (expm1_test): Likewise.
11230 (expm1_test_tonearest): Likewise.
11231 (expm1_test_towardzero): Likewise.
11232 (expm1_test_downward): Likewise.
11233 (expm1_test_upward): Likewise.
11234 (fabs_test): Likewise.
11235 (fdim_test): Likewise.
11236 (floor_test): Likewise.
11237 (fma_test): Likewise.
11238 (fma_test_towardzero): Likewise.
11239 (fma_test_downward): Likewise.
11240 (fma_test_upward): Likewise.
11241 (fmax_test): Likewise.
11242 (fmin_test): Likewise.
11243 (fmod_test): Likewise.
11244 (fpclassify_test): Likewise.
11245 (frexp_test): Likewise.
11246 (hypot_test): Likewise.
11247 (ilogb_test): Likewise.
11248 (isfinite_test): Likewise.
11249 (finite_test): Likewise.
11250 (isgreater_test): Likewise.
11251 (isgreaterequal_test): Likewise.
11252 (isinf_test): Likewise.
11253 (isless_test): Likewise.
11254 (islessequal_test): Likewise.
11255 (islessgreater_test): Likewise.
11256 (isnan_test): Likewise.
11257 (isnormal_test): Likewise.
11258 (issignaling_test): Likewise.
11259 (isunordered_test): Likewise.
11260 (j0_test): Likewise.
11261 (j1_test): Likewise.
11262 (jn_test): Likewise.
11263 (ldexp_test): Likewise.
11264 (lgamma_test): Likewise.
11265 (gamma_test): Likewise.
11266 (lrint_test): Likewise.
11267 (lrint_test_tonearest): Likewise.
11268 (lrint_test_towardzero): Likewise.
11269 (lrint_test_downward): Likewise.
11270 (lrint_test_upward): Likewise.
11271 (llrint_test): Likewise.
11272 (llrint_test_tonearest): Likewise.
11273 (llrint_test_towardzero): Likewise.
11274 (llrint_test_downward): Likewise.
11275 (llrint_test_upward): Likewise.
11276 (log_test): Likewise.
11277 (log10_test): Likewise.
11278 (log1p_test): Likewise.
11279 (log2_test): Likewise.
11280 (logb_test): Likewise.
11281 (logb_test_downward): Likewise.
11282 (lround_test): Likewise.
11283 (llround_test): Likewise.
11284 (modf_test): Likewise.
11285 (nearbyint_test): Likewise.
11286 (nextafter_test): Likewise.
11287 (nexttoward_test): Likewise.
11288 (pow_test): Likewise.
11289 (pow_test_tonearest): Likewise.
11290 (pow_test_towardzero): Likewise.
11291 (pow_test_downward): Likewise.
11292 (pow_test_upward): Likewise.
11293 (remainder_test): Likewise.
11294 (drem_test): Likewise.
11295 (remainder_test_tonearest): Likewise.
11296 (drem_test_tonearest): Likewise.
11297 (remainder_test_towardzero): Likewise.
11298 (drem_test_towardzero): Likewise.
11299 (remainder_test_downward): Likewise.
11300 (drem_test_downward): Likewise.
11301 (remainder_test_upward): Likewise.
11302 (drem_test_upward): Likewise.
11303 (remquo_test): Likewise.
11304 (rint_test): Likewise.
11305 (rint_test_tonearest): Likewise.
11306 (rint_test_towardzero): Likewise.
11307 (rint_test_downward): Likewise.
11308 (rint_test_upward): Likewise.
11309 (round_test): Likewise.
11310 (scalb_test): Likewise.
11311 (scalbn_test): Likewise.
11312 (scalbln_test): Likewise.
11313 (signbit_test): Likewise.
11314 (sin_test): Likewise.
11315 (sin_test_tonearest): Likewise.
11316 (sin_test_towardzero): Likewise.
11317 (sin_test_downward): Likewise.
11318 (sin_test_upward): Likewise.
11319 (sincos_test): Likewise.
11320 (sinh_test): Likewise.
11321 (sinh_test_tonearest): Likewise.
11322 (sinh_test_towardzero): Likewise.
11323 (sinh_test_downward): Likewise.
11324 (sinh_test_upward): Likewise.
11325 (sqrt_test): Likewise.
11326 (sqrt_test_tonearest): Likewise.
11327 (sqrt_test_towardzero): Likewise.
11328 (sqrt_test_downward): Likewise.
11329 (sqrt_test_upward): Likewise.
11330 (tan_test): Likewise.
11331 (tan_test_tonearest): Likewise.
11332 (tan_test_towardzero): Likewise.
11333 (tan_test_downward): Likewise.
11334 (tan_test_upward): Likewise.
11335 (tanh_test): Likewise.
11336 (tgamma_test): Likewise.
11337 (trunc_test): Likewise.
11338 (y0_test): Likewise.
11339 (y1_test): Likewise.
11340 (yn_test): Likewise.
11341 (significand_test): Likewise.
11343 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11344 individual tests in comment.
11345 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11346 (prev_max_error): New variable.
11347 (prev_real_max_error): Likewise.
11348 (prev_imag_max_error): Likewise.
11349 (compare_ulp_data): Don't refer to test names in comment.
11350 (find_test_ulps): Remove function.
11351 (find_function_ulps): Likewise.
11352 (find_complex_function_ulps): Likewise.
11353 (init_max_error): Take function name as argument. Look up ulps
11355 (print_ulps): Remove function.
11356 (print_max_error): Use prev_max_error instead of calling
11357 find_function_ulps.
11358 (print_complex_max_error): Use prev_real_max_error and
11359 prev_imag_max_error instead of calling find_complex_function_ulps.
11360 (check_float_internal): Take max_ulp parameter instead of calling
11361 find_test_ulps. Don't call print_ulps.
11362 (check_float): Update call to check_float_internal.
11363 (check_complex): Update calls to check_float_internal.
11364 (START): Pass argument to init_max_error.
11365 * math/gen-libm-test.pl (%results): Don't include "kind"
11367 (parse_ulps): Don't handle ulps of individual tests.
11368 (print_ulps_file): Likewise.
11369 (output_ulps): Likewise.
11370 * math/README.libm-test: Update.
11371 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11373 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11374 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11375 * sysdeps/arm/libm-test-ulps: Likewise.
11376 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11377 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11378 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11379 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11380 * sysdeps/microblaze/libm-test-ulps: Likewise.
11381 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11382 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11383 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11384 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11385 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11386 * sysdeps/sh/libm-test-ulps: Likewise.
11387 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11388 * sysdeps/tile/libm-test-ulps: Likewise.
11389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11391 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11393 * math/libm-test.inc (print_complex_max_error): Check separately
11394 whether real and imaginary errors are within allowed range and
11395 pass 0 to print_complex_function_ulps instead of value within
11398 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11400 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11402 (get_handles_fopen): Likewise.
11403 (do_write_test): Likewise.
11405 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11407 * libio/fileops.c (do_ftell): Use cached offset when
11409 * libio/iofwide.c (do_ftell_wide): Likewise.
11410 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11412 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11415 * libio/libioP.h (get_file_offset): New function.
11416 * libio/fileops.c (get_file_offset): Likewise.
11417 (do_ftell): Likewise.
11418 (_IO_new_file_seekoff): Split out ftell logic.
11419 * libio/wfileops.c (do_ftell_wide): Likewise.
11420 (_IO_wfile_seekoff): Split out ftell logic.
11421 * libio/tst-ftell-active-handler.c: New test case.
11422 * libio/Makefile (tests): Add it.
11424 2014-03-03 Roland McGrath <roland@hack.frob.com>
11426 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11427 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11429 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11432 * nscd/connections.c (nscd_init): Call do_exit.
11433 (start_threads): Call do_exit and notify_parent.
11434 (begin_drop_privileges): Call do_exit.
11435 (finish_drop_privileges): Likewise.
11436 * nscd/selinux.c (preserve_capabilities): Likewise.
11437 (install_real_capabilities): Likewise.
11438 (nscd_selinux_enabled): Likewise.
11439 (avc_create_thread): Likewise.
11440 (avc_alloc_lock): Likewise.
11441 (nscd_avc_init): Likewise.
11442 * nscd/nscd.c (parent_fd): New static variable.
11443 (main): Create a pipe between parent and child processes.
11444 Skip closing parent_fd.
11445 (monitor_child): New function.
11446 (do_exit): Likewise.
11447 (notify_parent): Likewise.
11448 * nscd/nscd.h (notify_parent): Likewise.
11449 (do_exit): Likewise.
11451 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11453 * malloc/malloc.c (__libc_calloc): Revert last change.
11455 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11459 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11461 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11462 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11464 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11465 (__libc_ifunc_impl_list): Likewise.
11466 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11467 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11468 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11469 * string/strrchr.c: Define STRRCHR.
11471 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11473 * benchtest/bench-strtok.c (simple_strtok): Delete.
11474 (strtok_string): Use as benchmark.
11475 * string/strtok (STRTOK): New macro.
11477 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11479 * manual/threads.texi: Add header and standard comments to all
11482 * elf/dl-lookup.c (check_match): New function.
11483 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11484 (do_lookup_x): Remove nested function check_match. Use non-nested
11485 function check_match.
11487 2014-02-28 Roland McGrath <roland@hack.frob.com>
11489 * csu/Makefile (generated, before-compile): Use += rather than =.
11490 * catgets/Makefile (generated, generated-dirs): Likewise.
11491 * debug/Makefile (generated): Likewise.
11492 * dlfcn/Makefile (generated): Likewise.
11493 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11494 * iconvdata/Makefile (before-compile, generated): Likewise.
11495 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11496 * libio/Makefile (generated): Likewise.
11497 * malloc/Makefile (generated): Likewise.
11498 * manual/Makefile (generated, generated-dirs): Likewise.
11499 * misc/Makefile (generated): Likewise.
11500 * posix/Makefile (generated): Likewise.
11501 * resolv/Makefile (generated): Likewise.
11502 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11503 * timezone/Makefile (generated, generated-dirs): Likewise.
11505 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11507 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11509 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11510 power8 implementation.
11511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11512 file: POWER8 llround ifunc implementation.
11513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11514 (__lllround): Add POWER8 implementation.
11515 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11516 POWER8 llround implementation.
11518 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11519 power8 implementation.
11520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11521 file: POWER8 llrint ifunc implementation.
11522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11523 Add POWER8 implementation.
11524 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11525 POWER8 llrint implementation.
11527 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11528 power8 implementation.
11529 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11530 file: POWER8 finite ifunc implementation.
11531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11532 Add POWER8 implementation.
11533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11535 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11536 POWER8 finite implementation.
11537 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11539 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11540 power8 implementation.
11541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11542 file: POWER8 isinf ifunc implementation.
11543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11544 POWER8 implementation.
11545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11547 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11548 isinf implementation.
11549 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11551 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11552 (INIT_ARCH): Add hwcap2 initialization.
11553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11554 power8 implementation.
11555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11556 file: POWER8 isnan ifunc implementation.
11557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11558 POWER8 implementation.
11559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11561 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11562 isnan implementation.
11563 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11565 2014-02-27 Joey Ye <joey.ye@arm.com>
11567 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11568 (_FP_NANFRAC_Q): Set to zero.
11570 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11573 * math/auto-libm-test-in: New test inputs.
11574 * math/auto-libm-test-out: Regenerate.
11575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11578 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11580 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11582 * scripts/evaluate-test.sh: Take new argument indicating whether
11583 failure is expected.
11584 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11585 indicating whether failure is expected.
11586 * conform/Makefile (test-xfail-run-conformtest): New variable.
11587 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11589 * posix/Makefile (test-xfail-annexc): New variable.
11590 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11592 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11594 * argp/Makefile: Include Makeconfig immediately after defining
11596 * assert/Makefile: Likewise.
11597 * benchtests/Makefile: Likewise.
11598 * catgets/Makefile: Likewise.
11599 * conform/Makefile: Likewise.
11600 * crypt/Makefile: Likewise.
11601 * csu/Makefile: Likewise.
11602 (all): Remove target.
11603 * ctype/Makefile: Include Makeconfig immediately after defining
11605 * debug/Makefile: Likewise.
11606 * dirent/Makefile: Likewise.
11607 * dlfcn/Makefile: Likewise.
11608 * gmon/Makefile: Likewise.
11609 * gnulib/Makefile: Likewise.
11610 * grp/Makefile: Likewise.
11611 * gshadow/Makefile: Likewise.
11612 * hesiod/Makefile: Likewise.
11613 * hurd/Makefile: Likewise.
11614 (all): Remove target.
11615 * iconvdata/Makefile: Include Makeconfig immediately after
11617 * inet/Makefile: Likewise.
11618 * intl/Makefile: Likewise.
11619 * io/Makefile: Likewise.
11620 * libio/Makefile: Likewise.
11621 (all): Remove target.
11622 * locale/Makefile: Include Makeconfig immediately after defining
11624 * login/Makefile: Likewise.
11625 * mach/Makefile: Likewise.
11626 (all): Remove target.
11627 * malloc/Makefile: Include Makeconfig immediately after defining
11629 (all): Remove target.
11630 * manual/Makefile: Include Makeconfig immediately after defining
11632 * math/Makefile: Likewise.
11633 * misc/Makefile: Likewise.
11634 * nis/Makefile: Likewise.
11635 * nss/Makefile: Likewise.
11636 * po/Makefile: Likewise.
11637 (all): Remove target.
11638 * posix/Makefile: Include Makeconfig immediately after defining
11640 * pwd/Makefile: Likewise.
11641 * resolv/Makefile: Likewise.
11642 * resource/Makefile: Likewise.
11643 * rt/Makefile: Likewise.
11644 * setjmp/Makefile: Likewise.
11645 * shadow/Makefile: Likewise.
11646 * signal/Makefile: Likewise.
11647 * socket/Makefile: Likewise.
11648 * soft-fp/Makefile: Likewise.
11649 * stdio-common/Makefile: Likewise.
11650 * stdlib/Makefile: Likewise.
11651 * streams/Makefile: Likewise.
11652 * string/Makefile: Likewise.
11653 * sunrpc/Makefile: Likewise.
11654 (all): Remove target.
11655 * sysvipc/Makefile: Include Makeconfig immediately after defining
11657 * termios/Makefile: Likewise.
11658 * time/Makefile: Likewise.
11659 * timezone/Makefile: Likewise.
11660 (all): Remove target.
11661 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11663 * wctype/Makefile: Likewise.
11665 2014-02-26 Steve Ellcey <sellcey@mips.com>
11667 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11668 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11669 (libc_feholdexcept_setround_mips): Ditto.
11670 (libc_feholdsetround): New.
11671 (libc_feholdsetroundf): New.
11672 (libc_feholdsetroundl): New.
11673 (libc_feupdateenv_test_mips): New.
11674 (libc_feupdateenv_test): New.
11675 (libc_feupdateenv_testf): New.
11676 (libc_feupdateenv_testl): New.
11677 (libc_feresetround): New.
11678 (libc_feresetroundf): New.
11679 (libc_feresetroundl): New.
11680 (libc_fetestexcept_mips): New.
11681 (libc_fetestexcept): New.
11682 (libc_fetestexceptf): New.
11683 (libc_fetestexceptl): New.
11684 (HAVE_RM_CTX): New.
11685 (libc_feholdexcept_setround_mips_ctx): New.
11686 (libc_feholdexcept_setround_ctx): New.
11687 (libc_feholdexcept_setroundf_ctx): New.
11688 (libc_feholdexcept_setroundl_ctx): New.
11689 (libc_fesetenv_mips_ctx): New.
11690 (libc_fesetenv_ctx): New.
11691 (libc_fesetenv_ctxf): New.
11692 (libc_fesetenv_ctxl): New.
11693 (libc_feupdateenv_mips_ctx): New.
11694 (libc_feupdateenv_ctx): New.
11695 (libc_feupdateenvf_ctx): New.
11696 (libc_feupdateenvl_ctx): New.
11697 (libc_feholdsetround_mips_ctx): New.
11698 (libc_feholdsetround_ctx): New.
11699 (libc_feholdsetroundf_ctx): New.
11700 (libc_feholdsetroundl_ctx): New.
11701 (libc_feresetround_mips_ctx): New.
11702 (libc_feresetround_ctx): New.
11703 (libc_feresetroundf_ctx): New.
11704 (libc_feresetroundl_ctx): New.
11706 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11708 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11710 * manual/ipc.texi: New file.
11711 * manual/Makefile (chapters): Add ipc.
11712 * manual/job.texi: Add "Inter-Process Communication" to next.
11713 * manual/process.texi: Add "Inter-Process Communication" to prev.
11715 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11719 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11721 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11723 * manual/arith.texi: Fix spaces after sentences.
11724 * manual/charset.texi: Likewise.
11725 * manual/errno.texi: Likewise.
11726 * manual/install.texi: Likewise.
11727 * manual/llio.texi: Likewise.
11728 * manual/locale.texi: Likewise.
11729 * manual/maint.texi: Likewise.
11730 * manual/math.texi: Likewise.
11731 * manual/memory.texi: Likewise.
11732 * manual/message.texi: Likewise.
11733 * manual/probes.texi: Likewise.
11734 * manual/resource.texi: Likewise.
11735 * manual/signal.texi: Likewise.
11736 * manual/socket.texi: Likewise.
11737 * manual/stdio.texi: Likewise.
11738 * manual/string.texi: Likewise.
11739 * manual/time.texi: Likewise.
11740 * manual/users.texi: Likewise.
11742 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11745 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11746 _DEFAULT_SOURCE is defined.
11748 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11749 Carlos O'Donell <carlos@redhat.com>
11752 * elf/dl-tls.c (_dl_count_modids): New function.
11753 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11754 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11755 audit library and increment generation counter.
11756 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11757 * elf/tst-audit9.c: New file.
11758 * elf/tst-auditmod9a.c: New file.
11759 * elf/tst-auditmod9b.c: New file.
11760 * elf/Makefile: Add rules to build and run tst-audit9.
11762 2014-02-25 Florian Weimer <fweimer@redhat.com>
11765 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11767 2014-02-25 Will Newton <will.newton@linaro.org>
11769 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11770 (__longjmp): Restore sp and lr before restoring callee
11771 saved registers. Add longjmp and longjmp_target
11772 SystemTap probe point.
11773 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11774 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11775 Define to zero to match jmpbuf layout.
11776 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11777 (__sigsetjmp): Save sp and lr before saving callee
11778 saved registers. Add setjmp SystemTap probe point.
11780 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11782 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11784 2014-02-24 Andreas Schwab <schwab@suse.de>
11787 * elf/pldd.c (wait_for_ptrace_stop): New function.
11788 (main): Call it after attaching.
11790 2014-02-22 Roland McGrath <roland@hack.frob.com>
11792 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11793 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11794 Versions files is now verboten.
11795 * hurd/Versions (libc: GLIBC_2.0):
11796 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11797 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11798 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11799 * mach/Versions: Likewise.
11801 * csu/Versions: Remove unused %include.
11802 * resolv/Versions: Likewise.
11804 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11806 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11807 ($(objpfx)check-local-headers.out): Likewise.
11808 ($(objpfx)begin-end-check.out): Likewise.
11809 * Makerules (check-abi-%.out): Likewise.
11810 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11811 ($(objpfx)test2.cat): Likewise.
11812 ($(objpfx)de/libc.cat): Likewise.
11813 ($(objpfx)test-gencat.out): Likewise.
11814 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11815 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11816 ($(objpfx)noload-mem): Likewise.
11817 ($(objpfx)tst-pathopt.out): Likewise.
11818 ($(objpfx)tst-rtld-load-self.out): Likewise.
11819 ($(objpfx)tst-array1-cmp.out): Likewise.
11820 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11821 ($(objpfx)tst-array2-cmp.out): Likewise.
11822 ($(objpfx)tst-array3-cmp.out): Likewise.
11823 ($(objpfx)tst-array4-cmp.out): Likewise.
11824 ($(objpfx)tst-array5-cmp.out): Likewise.
11825 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11826 ($(objpfx)check-textrel.out): Likewise.
11827 ($(objpfx)check-execstack.out): Likewise.
11828 ($(objpfx)check-localplt.out): Likewise.
11829 ($(objpfx)order2-cmp.out): Likewise.
11830 ($(objpfx)tst-leaks1-mem): Likewise.
11831 ($(objpfx)tst-leaks1-static-mem): Likewise.
11832 ($(objpfx)tst-initorder-cmp.out): Likewise.
11833 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11834 ($(objpfx)tst-unused-dep.out): Likewise.
11835 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11836 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11837 * iconv/Makefile (test-iconvconfig): Likewise.
11838 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11839 ($(objpfx)iconv-test.out): Likewise.
11840 ($(objpfx)tst-tables.out): Likewise.
11841 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11842 ($(objpfx)tst-gettext.out): Likewise.
11843 ($(objpfx)tst-translit.out): Likewise.
11844 ($(objpfx)tst-gettext2.out): Likewise.
11845 ($(objpfx)tst-gettext4.out): Likewise.
11846 ($(objpfx)tst-gettext6.out): Likewise.
11847 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11848 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11849 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11850 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11851 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11852 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11853 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11854 ($(objpfx)wordexp-tst.out): Likewise.
11855 ($(objpfx)annexc.out): Likewise.
11856 ($(objpfx)tst-fnmatch-mem): Likewise.
11857 ($(objpfx)bug-regex2-mem): Likewise.
11858 ($(objpfx)bug-regex14-mem): Likewise.
11859 ($(objpfx)bug-regex21-mem): Likewise.
11860 ($(objpfx)bug-regex31-mem): Likewise.
11861 ($(objpfx)tst-vfork3-mem): Likewise.
11862 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11863 ($(objpfx)tst-pcre-mem): Likewise.
11864 ($(objpfx)tst-boost-mem): Likewise.
11865 ($(objpfx)tst-getconf.out): Likewise.
11866 ($(objpfx)bug-ga2-mem): Likewise.
11867 ($(objpfx)bug-glob2-mem): Likewise.
11868 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11869 ($(objpfx)mtrace-tst-leaks2): Likewise.
11870 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11871 ($(objpfx)tst-printf.out): Likewise.
11872 ($(objpfx)tst-setvbuf1.out): Likewise.
11873 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11874 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11875 ($(objpfx)tst-fmtmsg.out): Likewise.
11876 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11877 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11879 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11880 * bits/sigaction.h [__USE_MISC]: Likewise.
11881 * bits/waitstatus.h: Update #endif comments.
11882 * ctype/ctype.h: Likewise.
11883 * dirent/dirent.h: Likewise.
11884 [__USE_MISC]: Remove redundant conditionals.
11885 * grp/grp.h: Update #endif comments.
11886 [__USE_GNU]: Remove redundant conditionals.
11887 [__USE_MISC]: Likewise.
11888 * inet/netinet/in.h [__USE_GNU]: Likewise.
11889 * io/sys/stat.h [__USE_MISC]: Likewise.
11890 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11891 * libio/bits/stdio.h: Update #endif comments.
11892 [__USE_MISC]: Remove redundant conditionals.
11893 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11894 * libio/stdio.h: Update #endif comments.
11895 [__USE_MISC]: Remove redundant conditionals.
11896 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11897 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11898 * math/math.h: Update #else and #endif comments.
11899 [__USE_MISC]: Remove redundant conditionals.
11900 * misc/sys/uio.h: Update #endif comments.
11901 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11902 * posix/glob.h [__USE_MISC]: Likewise.
11903 * posix/sys/types.h: Update #endif comments.
11904 [__USE_MISC]: Remove redundant conditionals.
11905 * posix/sys/wait.h: Update #endif comments.
11906 [__USE_MISC]: Remove redundant conditionals.
11907 * posix/unistd.h: Update #endif comments.
11908 [__USE_MISC]: Remove redundant conditionals.
11909 * pwd/pwd.h [__USE_GNU]: Likewise.
11910 [__USE_MISC]: Likewise.
11911 * resolv/netdb.h [__USE_GNU]: Likewise.
11912 * signal/signal.h: Update #endif comments.
11913 [__USE_MISC]: Remove redundant conditionals.
11914 * stdlib/stdlib.h: Update #else and #endif comments.
11915 [__USE_MISC]: Remove redundant conditionals.
11916 [__USE_GNU]: Likewise.
11917 * string/bits/string2.h [__USE_MISC]: Likewise.
11918 * string/string.h: Update #endif comments.
11919 [__USE_MISC]: Remove redundant conditionals.
11920 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11922 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11923 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11924 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11926 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11928 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11930 [__USE_MISC]: Remove redundant conditionals.
11931 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11932 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11933 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11934 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11935 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11937 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11938 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11940 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11941 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11943 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11945 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11946 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11948 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11950 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11951 * sysdeps/x86/bits/string.h: Update #endif comments.
11952 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11954 * time/sys/time.h: Update #endif comments.
11955 * time/time.h: Likewise.
11956 [__USE_MISC]: Remove redundant conditionals.
11958 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11961 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11963 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11965 * Versions.def (librt): Add GLIBC_2.17.
11967 2014-02-21 Adam Conrad <adconrad@0c3.net>
11969 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11970 synonym for _SYS_AUXV_H to allow direct inclusion.
11971 * sysdeps/sparc/bits/hwcap.h: Likewise.
11972 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11973 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11974 * sysdeps/sparc/sysdep.h: Likewise.
11976 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11978 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11980 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11982 * benchtests/bench-strrchr.c: Print length instead of position.
11984 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11987 * sysdeps/unix/sysv/linux/kernel-features.h
11988 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11989 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11990 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11991 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11993 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11994 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11995 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11996 (__ASSUME_SENDMMSG): Define instead of using previous
11997 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
11998 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11999 (__ASSUME_SENDMMSG_SYSCALL): Define.
12000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12001 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12003 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12004 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12006 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12007 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12009 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12010 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12011 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12012 [__ASSUME_SENDMMSG]: Change conditionals to
12013 [__ASSUME_SENDMMSG_SOCKETCALL].
12014 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12015 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12017 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12018 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12020 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12021 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12022 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12023 [!__ASSUME_SENDMMSG]: Change conditional to
12024 [!__ASSUME_SENDMMSG_SOCKETCALL].
12025 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12026 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12030 * sysdeps/unix/sysv/linux/kernel-features.h
12031 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12032 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12033 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12034 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12035 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12036 [__i386__ || __sparc__]
12037 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12038 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12039 (__ASSUME_RECVMMSG): Define instead of using previous
12040 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12041 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12042 (__ASSUME_RECVMMSG_SYSCALL): Define.
12043 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12044 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12046 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12047 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12049 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12050 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12052 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12053 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12054 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12055 [__ASSUME_RECVMMSG]: Change condition to
12056 [__ASSUME_RECVMMSG_SOCKETCALL].
12057 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12058 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12060 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12061 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12062 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12064 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12065 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12066 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12067 [!__ASSUME_RECVMMSG]: Change condition to
12068 [!__ASSUME_RECVMMSG_SOCKETCALL].
12069 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12070 (__ASSUME_RECVMMSG_SYSCALL): Define.
12073 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12074 __powerpc__ || __s390__ || __sh__ || __sparc__]
12075 (__ASSUME_SOCKETCALL): Define.
12076 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12077 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12078 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12079 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12080 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12081 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12082 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12083 (__ASSUME_ACCEPT4): Define instead of using previous
12084 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12085 __powerpc__ || __sparc__ || __s390__)] condition.
12086 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12087 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12088 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12089 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12090 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12091 [!__ASSUME_ACCEPT4]: Change condition to
12092 [!__ASSUME_ACCEPT4_SOCKETCALL].
12093 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12094 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12095 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12096 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12097 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12098 __ASSUME_ACCEPT4_SYSCALL.
12099 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12100 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12101 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12102 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12103 __ASSUME_ACCEPT4_SYSCALL.
12104 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12105 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12106 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12107 [__ASSUME_ACCEPT4]: Change condition to
12108 [__ASSUME_ACCEPT4_SOCKETCALL].
12109 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12110 (__ASSUME_SOCKETCALL): Define.
12111 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12112 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12113 (__ASSUME_SOCKETCALL): Define.
12114 (__ASSUME_ACCEPT4): Remove.
12115 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12117 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12118 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12120 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12121 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12123 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12125 (HWCAP_ARM_LPAE): Likewise.
12126 (HWCAP_ARM_EVTSTRM): Likewise.
12127 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12128 Add vpfd32, lpae and evtstrm.
12129 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12132 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12134 * math/auto-libm-test-in: Add tests of clog10.
12135 * math/auto-libm-test-out: Regenerated.
12136 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12137 * sysdeps/i386/fpu/libm-test-ulps: Update.
12138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12140 2014-02-18 Andreas Schwab <schwab@suse.de>
12143 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12144 Store non-zero if the second buffer was newly allocated.
12145 (send_dg): Likewise.
12146 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12147 to send_vc and send_dg.
12148 (res_nsend): Pass NULL for ansp2_malloced.
12149 * resolv/res_query.c (__libc_res_nquery): Add parameter
12150 answerp2_malloced and pass it down to __libc_res_nsend.
12151 (res_nquery): Pass additional NULL to __libc_res_nquery.
12152 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12153 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12154 second answer buffer if answerp2_malloced was set.
12155 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12156 (__libc_res_nquerydomain): Add parameter
12157 answerp2_malloced and pass it down to __libc_res_nquery.
12158 (res_nquerydomain): Pass additional NULL to
12159 __libc_res_nquerydomain.
12160 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12161 additional NULL to __libc_res_nsend and __libc_res_nquery.
12162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12163 additional NULL to __libc_res_nsearch.
12164 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12165 parameter of __libc_res_nsearch to check for separately allocated
12167 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12169 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12170 additional NULL to __libc_res_nquery.
12171 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12172 __libc_res_nsearch.
12173 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12174 * include/resolv.h: Update prototypes of __libc_res_nquery,
12175 __libc_res_nsearch, __libc_res_nsend.
12177 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12179 * math/auto-libm-test-in: Add tests of fma.
12180 * math/auto-libm-test-out: Regenerated.
12181 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12182 (fma_towardzero_test_data): Likewise.
12183 (fma_downward_test_data): Likewise.
12184 (fma_upward_test_data): Likewise.
12185 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12187 (rounding_modes): Add values for new field.
12188 (func_calc_method): Add value mpfr_fff_f.
12189 (func_calc_desc): Add mpfr_fff_f union field.
12190 (test_function): Add field exact_args.
12191 (FUNC): Add macro argument EXACT_ARGS.
12192 (FUNC_mpfr_f_f): Update call to FUNC.
12193 (FUNC_mpfr_f_f): Likewise.
12194 (FUNC_mpfr_ff_f): Likewise.
12195 (FUNC_mpfr_if_f): Likewise.
12196 (FUNC_mpc_c_f): Likewise.
12197 (FUNC_mpc_c_c): Likewise.
12198 (test_functions): Add fma. Update calls to FUNC.
12199 (handle_input_arg): Add argument exact_args.
12200 (add_test): Update call to handle_input_arg.
12201 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12202 (output_for_one_input_case): Update call to calc_generic_results.
12203 Recalculate exact zero results in each rounding mode.
12205 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12206 non-negative before setting low bit.
12207 * math/auto-libm-test-in: Mark one asin test possibly having
12208 spurious underflow.
12209 * math/auto-libm-test-out: Regenerated.
12210 * sysdeps/i386/fpu/libm-test-ulps: Update.
12211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12213 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12215 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12216 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12217 ports/sysdeps/unix/sysv/linux/microblaze.
12218 * README: Add missing listing for microblaze*-*-linux-gnu.
12220 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12222 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12225 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12227 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12228 * sysdeps/unix/sysv/linux/ia64: Move directory from
12229 ports/sysdeps/unix/sysv/linux/ia64.
12230 * README: Update listing for ia64-*-linux-gnu.
12232 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12233 Joseph Myers <joseph@codesourcery.com>
12235 * Makeconfig (test-name): New variable.
12236 (evaluate-test): Likewise.
12237 * Makerules (do-test-clean): Remove .test-result files.
12238 (common-mostlyclean): Likewise.
12239 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12240 * scripts/evaluate-test.sh: New file.
12242 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12244 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12245 separate $(objpfx)tst-fopenloc-cmp.out and
12246 $(objpfx)tst-fopenloc-mem.out targets.
12247 (tests): Update dependencies.
12248 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12249 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12250 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12251 (tst-rxspencer-no-utf8-ARGS): New variable.
12252 (tst-rxspencer-no-utf8-ENV): Likewise.
12253 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12254 instead of $(objpfx)tst-rxspencer-mem.
12255 ($(objpfx)tst-rxspencer-mem): Change target to
12256 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12257 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12258 * posix/tst-rxspencer-no-utf8.c: New file.
12260 * elf/Makefile ($(objpfx)order.out): Remove rule.
12261 [$(run-built-tests) = yes] (tests): Depend on
12262 $(objpfx)order-cmp.out.
12263 ($(objpfx)order-cmp.out): New rule.
12264 [$(run-built-tests) = yes] (tests): Depend on
12265 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12266 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12267 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12268 $(objpfx)tst-array5-static-cmp.out.
12269 ($(objpfx)tst-array1.out): Remove rule.
12270 ($(objpfx)tst-array1-cmp.out): New rule.
12271 ($(objpfx)tst-array1-static.out): Remove rule.
12272 ($(objpfx)tst-array1-static-cmp.out): New rule.
12273 ($(objpfx)tst-array2.out): Remove rule.
12274 ($(objpfx)tst-array2-cmp.out): New rule.
12275 ($(objpfx)tst-array3.out): Remove rule.
12276 ($(objpfx)tst-array3-cmp.out): New rule.
12277 ($(objpfx)tst-array4.out): Remove rule.
12278 ($(objpfx)tst-array4-cmp.out): New rule.
12279 ($(objpfx)tst-array5.out): Remove rule.
12280 ($(objpfx)tst-array5-cmp.out): New rule.
12281 ($(objpfx)tst-array5-static.out): Remove rule.
12282 ($(objpfx)tst-array5-static-cmp.out): New rule.
12283 [$(run-built-tests) = yes] (tests): Depend on
12284 $(objpfx)order2-cmp.out.
12285 ($(objpfx)order2.out): Remove rule.
12286 ($(objpfx)order2-cmp.out): New rule.
12287 ($(objpfx)tst-initorder.out): Remove rule.
12288 [$(run-built-tests) = yes] (tests): Depend on
12289 $(objpfx)tst-initorder-cmp.out.
12290 ($(objpfx)tst-initorder-cmp.out): New rule.
12291 ($(objpfx)tst-initorder2.out): Remove rule.
12292 [$(run-built-tests) = yes] (tests): Depend on
12293 $(objpfx)tst-initorder2-cmp.out.
12294 ($(objpfx)tst-initorder2-cmp.out): New rule.
12295 [$(run-built-tests) = yes] (tests): Depend on
12296 $(objpfx)tst-unused-dep-cmp.out.
12297 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12298 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12299 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12300 on $(objpfx)tst-setvbuf1-cmp.out.
12301 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12302 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12303 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12304 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12305 ($(objpfx)tst-svc.out): Remove rule.
12306 ($(objpfx)tst-svc-cmp.out): New rule.
12308 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12310 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12311 * ctype/ctype.h [__USE_MISC]: Likewise.
12312 * dirent/dirent.h [__USE_MISC]: Likewise.
12313 * grp/grp.h [__USE_MISC]: Likewise.
12314 * io/fcntl.h [__USE_MISC]: Likewise.
12315 * io/sys/stat.h [__USE_MISC]: Likewise.
12316 * libio/stdio.h [__USE_MISC]: Likewise.
12317 * posix/unistd.h [__USE_MISC]: Likewise.
12318 * pwd/pwd.h [__USE_MISC]: Likewise.
12319 * stdlib.h [__USE_MISC]: Likewise.
12320 * string/bits/string2.h [__USE_MISC]: Likewise.
12321 * string/string.h [__USE_MISC]: Likewise.
12322 * time/time.h [__USE_MISC]: Likewise.
12324 2014-02-13 Andreas Schwab <schwab@suse.de>
12327 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12328 second answer buffer if it was separately allocated.
12330 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12332 * sysdeps/mips/math-tests.h: Include <features.h>.
12333 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12334 (ROUNDING_TESTS_long_double): Do not define.
12335 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12336 (EXCEPTION_TESTS_long_double): Likewise.
12337 * sysdeps/mips/mips64/libm-test-ulps: Update.
12339 * include/features.h (__USE_BSD): Remove macro definitions.
12340 (__USE_SVID): Likewise.
12341 (_BSD_SOURCE): Likewise.
12342 (_SVID_SOURCE): Likewise.
12343 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12344 from definition of _DEFAULT_SOURCE.
12345 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12347 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12348 * bits/mman.h [__USE_BSD]: Likewise.
12349 * bits/termios.h [__USE_BSD]: Likewise.
12350 * bits/waitstatus.h [__USE_BSD]: Likewise.
12351 * ctype/ctype.h [__USE_SVID]: Likewise.
12352 * dirent/dirent.h [__USE_BSD]: Likewise.
12353 * grp/grp.h [__USE_SVID]: Likewise.
12354 [__USE_BSD]: Likewise.
12355 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12356 * io/fcntl.h [__USE_BSD]: Likewise.
12357 * io/ftw.h [__USE_BSD]: Likewise.
12358 * io/sys/stat.h [__USE_BSD]: Likewise.
12359 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12360 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12361 * libio/stdio.h [__USE_SVID]: Likewise.
12362 [__USE_BSD]: Likewise.
12363 * math/math.h [__USE_SVID]: Likewise.
12364 [__USE_BSD]: Likewise.
12365 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12366 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12367 * misc/search.h [__USE_SVID]: Likewise.
12368 * misc/sys/mman.h [__USE_BSD]: Likewise.
12369 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12370 * misc/sys/uio.h [__USE_BSD]: Likewise.
12371 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12372 * posix/glob.h [__USE_BSD]: Likewise.
12373 * posix/regex.h [__USE_BSD]: Likewise.
12374 * posix/sys/types.h [__USE_BSD]: Likewise.
12375 [__USE_SVID]: Likewise.
12376 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12377 * posix/sys/wait.h [__USE_BSD]: Likewise.
12378 [__USE_SVID]: Likewise.
12379 * posix/unistd.h [__USE_BSD]: Likewise.
12380 [__USE_SVID]: Likewise.
12381 * pwd/pwd.h [__USE_SVID]: Likewise.
12382 * resolv/netdb.h [__USE_BSD]: Likewise.
12383 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12384 * signal/signal.h [__USE_BSD]: Likewise.
12385 [__USE_SVID]: Likewise.
12386 * socket/sys/socket.h [__USE_BSD]: Likewise.
12387 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12388 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12389 [__USE_SVID]: Likewise.
12390 * string/bits/string2.h [__USE_BSD]: Likewise.
12391 [__USE_SVID]: Likewise.
12392 * string/bits/string3.h [__USE_BSD]: Likewise.
12393 * string/endian.h [__USE_BSD]: Likewise.
12394 * string/string.h [__USE_SVID]: Likewise.
12395 [__USE_BSD]: Likewise.
12396 * string/strings.h [__USE_BSD]: Likewise.
12397 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12398 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12399 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12400 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12401 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12402 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12404 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12406 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12407 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12409 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12410 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12412 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12414 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12415 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12416 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12418 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12420 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12421 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12422 * termios/termios.h [__USE_BSD]: Likewise.
12423 * time/sys/time.h [__USE_BSD]: Likewise.
12424 * time/time.h [__USE_BSD]: Likewise.
12425 [__USE_SVID]: Likewise.
12427 * Makefile (subdir_targets): Remove subdir_lint.out.
12429 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12430 (do-tst-printf): Likewise.
12431 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12432 $(objpfx)tst-printf.out.
12434 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12436 * Makerules (check-abi-%): Change target to
12437 $(objpfx)check-abi-%.out.
12438 (check-abi target): Update dependencies.
12439 (check-abi-pattern variable): Redirect output of diff to $@.
12440 (check-abi variable): Likewise.
12441 * elf/Makefile (check-abi): Update dependencies.
12443 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12445 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12446 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12448 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12449 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12450 value has largest subnormal exponent.
12451 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12452 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12453 * sysdeps/aarch64/soft-fp/sfp-machine.h
12454 (_FP_TININESS_AFTER_ROUNDING): New macro.
12455 * sysdeps/alpha/soft-fp/sfp-machine.h
12456 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12457 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12459 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12460 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12461 * sysdeps/mips/soft-fp/sfp-machine.h
12462 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12463 * sysdeps/powerpc/soft-fp/sfp-machine.h
12464 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12465 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12467 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12468 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12469 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12470 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12471 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12474 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12477 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12480 2014-02-12 Richard Henderson <rth@redhat.com>
12482 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12483 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12484 * sysdeps/unix/sysv/linux/alpha: Move directory from
12485 ports/sysdeps/unix/sysv/linux/alpha.
12486 * README: Update listing for alpha-*-linux-gnu.
12488 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12490 * include/features.h: Update comment documenting feature test
12492 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12494 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12495 (_SVID_SOURCE): Likewise.
12496 (_DEFAULT_SOURCE): Update description of default features.
12497 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12499 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12500 (S_ISVTX): Likewise.
12501 * manual/math.texi (Mathematical Constants): Likewise.
12502 * manual/signal.texi (Interrupted Primitives): Likewise.
12503 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12504 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12505 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12506 Don't refer to _SVID_SOURCE in warning text.
12508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12510 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12512 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12513 * sysdeps/mips/dl-lookup.c: Remove.
12514 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12516 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12519 * math/auto-libm-test-in: Add testcase for expl.
12520 * math/auto-libm-test-out: Regenerate.
12521 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12522 calculation of unsafe.
12523 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12525 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12527 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12528 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12529 ports/sysdeps/unix/sysv/linux/aarch64.
12530 * README: Update listing for aarch64*-*-linux-gnu.
12532 2014-02-11 Will Newton <will.newton@linaro.org>
12534 * manual/probes.texi (Mathematical Function Probes): Use
12535 "triggered" instead of "hit".
12537 * manual/probes.texi (Internal Probes): Add documentation
12538 of setjmp, longjmp and longjmp_target probes.
12540 * include/stap-probe.h: Add comment about probe argument
12543 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12544 definition. (tr_where, tr_freehook, tr_mallochook,
12545 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12547 2014-02-11 David S. Miller <davem@davemloft.net>
12549 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12550 processing int_tests.
12552 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12554 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12555 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12556 * sysdeps/unix/sysv/linux/mips: Move directory from
12557 ports/sysdeps/unix/sysv/linux/mips.
12558 * README: Update listing for mips-*-linux-gnu and
12559 mips64-*-linux-gnu.
12561 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12563 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12564 * sysdeps/unix/sysv/linux/m68k: Move directory from
12565 ports/sysdeps/unix/sysv/linux/m68k.
12566 * README: Update listing for m68k-*-linux-gnu.
12568 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12570 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12571 * sysdeps/unix/sysv/linux/generic: Move directory from
12572 ports/sysdeps/unix/sysv/linux/generic.
12573 * sysdeps/unix/sysv/linux/tile: Move directory from
12574 ports/sysdeps/unix/sysv/linux/tile.
12575 * README: Update listing for tile*-*-linux-gnu.
12577 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12579 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12581 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12582 * catgets/open_catalog.c (__open_catalog): Likewise.
12583 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12584 * debug/confstr_chk.c: Likewise.
12585 * debug/fread_chk.c (__fread_chk): Likewise.
12586 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12587 * debug/getgroups_chk.c: Likewise.
12588 * debug/mbsnrtowcs_chk.c: Likewise.
12589 * debug/mbsrtowcs_chk.c: Likewise.
12590 * debug/mbstowcs_chk.c: Likewise.
12591 * debug/memcpy_chk.c: Likewise.
12592 * debug/memmove_chk.c: Likewise.
12593 * debug/mempcpy_chk.c: Likewise.
12594 * debug/memset_chk.c: Likewise.
12595 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12596 * debug/strcat_chk.c (__strcat_chk): Likewise.
12597 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12598 * debug/strncat_chk.c (__strncat_chk): Likewise.
12599 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12600 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12601 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12602 * debug/wcpncpy_chk.c: Likewise.
12603 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12604 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12605 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12606 * debug/wcsncpy_chk.c: Likewise.
12607 * debug/wcsnrtombs_chk.c: Likewise.
12608 * debug/wcsrtombs_chk.c: Likewise.
12609 * debug/wcstombs_chk.c: Likewise.
12610 * debug/wmemcpy_chk.c: Likewise.
12611 * debug/wmemmove_chk.c: Likewise.
12612 * debug/wmempcpy_chk.c: Likewise.
12613 * debug/wmemset_chk.c: Likewise.
12614 * dirent/scandirat.c (SCANDIRAT): Likewise.
12615 * dlfcn/dladdr1.c (dladdr1): Likewise.
12616 * dlfcn/dladdr.c (dladdr): Likewise.
12617 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12618 * dlfcn/dlerror.c (__dlerror): Likewise.
12619 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12620 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12621 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12622 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12623 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12624 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12625 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12626 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12628 * elf/dl-conflict.c: Likewise.
12629 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12630 * elf/dl-dst.h: Likewise.
12631 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12632 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12633 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12634 * elf/dl-init.c (call_init, _dl_init): Likewise.
12635 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12636 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12637 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12639 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12641 * elf/dl-minimal.c (__libc_memalign): Likewise.
12642 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12643 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12644 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12645 * elf/dl-sym.c (do_sym): Likewise.
12646 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12647 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12648 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12649 * elf/dl-writev.h (_dl_writev): Likewise.
12650 * elf/ldconfig.c (search_dir): Likewise.
12651 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12652 (dl_main): Likewise.
12653 * elf/setup-vdso.h (setup_vdso): Likewise.
12654 * grp/compat-initgroups.c (compat_call): Likewise.
12655 * grp/fgetgrent.c (fgetgrent): Likewise.
12656 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12657 * grp/putgrent.c (putgrent): Likewise.
12658 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12660 * hurd/hurdinit.c: Likewise.
12661 * iconvdata/8bit-gap.c (struct): Likewise.
12662 * iconvdata/ansi_x3.110.c : Likewise.
12663 * iconvdata/big5.c : Likewise.
12664 * iconvdata/big5hkscs.c : Likewise.
12665 * iconvdata/cp1255.c: Likewise.
12666 * iconvdata/cp1258.c : Likewise.
12667 * iconvdata/cp932.c : Likewise.
12668 * iconvdata/euc-cn.c: Likewise.
12669 * iconvdata/euc-jisx0213.c : Likewise.
12670 * iconvdata/euc-jp.c: Likewise.
12671 * iconvdata/euc-jp-ms.c : Likewise.
12672 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12673 * iconvdata/gb18030.c : Likewise.
12674 * iconvdata/gbbig5.c (const): Likewise.
12675 * iconvdata/gbgbk.c: Likewise.
12676 * iconvdata/gbk.c : Likewise.
12677 * iconvdata/ibm1364.c : Likewise.
12678 * iconvdata/ibm930.c : Likewise.
12679 * iconvdata/ibm932.c: Likewise.
12680 * iconvdata/ibm933.c : Likewise.
12681 * iconvdata/ibm935.c : Likewise.
12682 * iconvdata/ibm937.c : Likewise.
12683 * iconvdata/ibm939.c : Likewise.
12684 * iconvdata/ibm943.c: Likewise.
12685 * iconvdata/iso_11548-1.c: Likewise.
12686 * iconvdata/iso-2022-cn.c : Likewise.
12687 * iconvdata/iso-2022-cn-ext.c : Likewise.
12688 * iconvdata/iso-2022-jp-3.c: Likewise.
12689 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12690 * iconvdata/iso-2022-kr.c : Likewise.
12691 * iconvdata/iso646.c (gconv_end): Likewise.
12692 * iconvdata/iso_6937-2.c : Likewise.
12693 * iconvdata/iso_6937.c : Likewise.
12694 * iconvdata/iso8859-1.c: Likewise.
12695 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12696 * iconvdata/shift_jisx0213.c : Likewise.
12697 * iconvdata/sjis.c : Likewise.
12698 * iconvdata/t.61.c : Likewise.
12699 * iconvdata/tcvn5712-1.c : Likewise.
12700 * iconvdata/tscii.c: Likewise.
12701 * iconvdata/uhc.c : Likewise.
12702 * iconvdata/unicode.c (gconv_end): Likewise.
12703 * iconvdata/utf-16.c (gconv_end): Likewise.
12704 * iconvdata/utf-32.c (gconv_end): Likewise.
12705 * iconvdata/utf-7.c (base64): Likewise.
12706 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12707 * iconv/gconv_close.c (__gconv_close): Likewise.
12708 * iconv/gconv_open.c (__gconv_open): Likewise.
12709 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12710 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12711 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12712 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12713 (ucs4le_internal_loop_single): Likewise.
12714 * iconv/iconv.c (iconv): Likewise.
12715 * iconv/iconv_close.c: Likewise.
12716 * iconv/loop.c (SINGLE): Likewise.
12717 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12718 * include/atomic.h: Likewise.
12719 * inet/inet6_option.c (option_alloc): Likewise.
12720 * intl/bindtextdom.c (set_binding_values): Likewise.
12721 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12722 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12723 * intl/localealias.c (read_alias_file): Likewise.
12724 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12725 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12726 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12727 * libio/fmemopen.c (fmemopen): Likewise.
12728 * libio/iofgets.c (_IO_fgets): Likewise.
12729 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12730 * libio/iofgetws.c (fgetws): Likewise.
12731 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12732 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12733 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12734 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12735 * locale/findlocale.c (_nl_find_locale): Likewise.
12736 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12737 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12739 * locale/setlocale.c (setlocale): Likewise.
12740 * login/programs/pt_chown.c (main): Likewise.
12741 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12742 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12743 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12744 (mmap, mmap64, mremap, munmap): Likewise.
12745 * math/e_exp2l.c: Likewise.
12746 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12747 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12748 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12749 * math/s_catan.c (__catan): Likewise.
12750 * math/s_catanf.c (__catanf): Likewise.
12751 * math/s_catanh.c (__catanh): Likewise.
12752 * math/s_catanhf.c (__catanhf): Likewise.
12753 * math/s_catanhl.c (__catanhl): Likewise.
12754 * math/s_catanl.c (__catanl): Likewise.
12755 * math/s_ccosh.c (__ccosh): Likewise.
12756 * math/s_ccoshf.c (__ccoshf): Likewise.
12757 * math/s_ccoshl.c (__ccoshl): Likewise.
12758 * math/s_cexp.c (__cexp): Likewise.
12759 * math/s_cexpf.c (__cexpf): Likewise.
12760 * math/s_cexpl.c (__cexpl): Likewise.
12761 * math/s_clog10.c (__clog10): Likewise.
12762 * math/s_clog10f.c (__clog10f): Likewise.
12763 * math/s_clog10l.c (__clog10l): Likewise.
12764 * math/s_clog.c (__clog): Likewise.
12765 * math/s_clogf.c (__clogf): Likewise.
12766 * math/s_clogl.c (__clogl): Likewise.
12767 * math/s_csin.c (__csin): Likewise.
12768 * math/s_csinf.c (__csinf): Likewise.
12769 * math/s_csinh.c (__csinh): Likewise.
12770 * math/s_csinhf.c (__csinhf): Likewise.
12771 * math/s_csinhl.c (__csinhl): Likewise.
12772 * math/s_csinl.c (__csinl): Likewise.
12773 * math/s_csqrt.c (__csqrt): Likewise.
12774 * math/s_csqrtf.c (__csqrtf): Likewise.
12775 * math/s_csqrtl.c (__csqrtl): Likewise.
12776 * math/s_ctan.c (__ctan): Likewise.
12777 * math/s_ctanf.c (__ctanf): Likewise.
12778 * math/s_ctanh.c (__ctanh): Likewise.
12779 * math/s_ctanhf.c (__ctanhf): Likewise.
12780 * math/s_ctanhl.c (__ctanhl): Likewise.
12781 * math/s_ctanl.c (__ctanl): Likewise.
12782 * math/w_pow.c: Likewise.
12783 * math/w_powf.c: Likewise.
12784 * math/w_powl.c: Likewise.
12785 * math/w_scalb.c (sysv_scalb): Likewise.
12786 * math/w_scalbf.c (sysv_scalbf): Likewise.
12787 * math/w_scalbl.c (sysv_scalbl): Likewise.
12788 * misc/error.c (error_tail): Likewise.
12789 * misc/pselect.c (__pselect): Likewise.
12790 * nis/nis_callback.c (__nis_create_callback): Likewise.
12791 * nis/nis_call.c (__nisfind_server): Likewise.
12792 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12793 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12794 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12795 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12796 * nis/nis_lookup.c (nis_lookup): Likewise.
12797 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12798 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12799 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12800 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12801 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12802 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12803 * nis/nss_compat/compat-initgroups.c (add_group)
12804 (internal_getgrent_r): Likewise.
12805 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12806 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12807 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12808 (internal_getspnam_r): Likewise.
12809 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12810 (_nss_nis_getaliasbyname_r): Likewise.
12811 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12812 (_nss_nis_getntohost_r): Likewise.
12813 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12814 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12815 (_nss_nis_getgrgid_r): Likewise.
12816 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12817 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12818 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12819 (_nss_nis_gethostbyname4_r): Likewise.
12820 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12821 (initgroups_netid): Likewise.
12822 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12823 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12824 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12825 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12826 (_nss_nis_getprotobynumber_r): Likewise.
12827 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12828 (_nss_nis_getsecretkey): Likewise.
12829 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12830 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12831 (_nss_nis_getpwuid_r): Likewise.
12832 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12833 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12834 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12835 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12836 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12837 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12838 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12840 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12841 (_nss_nisplus_getntohost_r): Likewise.
12842 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12843 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12844 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12845 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12847 * nis/nss_nisplus/nisplus-initgroups.c
12848 (_nss_nisplus_initgroups_dyn): Likewise.
12849 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12850 (_nss_nisplus_getnetbyaddr_r): Likewise.
12851 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12852 (_nss_nisplus_getprotobynumber_r): Likewise.
12853 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12854 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12855 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12857 * nis/nss_nisplus/nisplus-service.c
12858 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12859 (_nss_nisplus_getservbyport_r): Likewise.
12860 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12861 (_nss_nisplus_getspnam_r): Likewise.
12862 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12864 * nscd/aicache.c (addhstaiX): Likewise.
12865 * nscd/cache.c (cache_search, prune_cache): Likewise.
12866 * nscd/connections.c (register_traced_file, send_ro_fd)
12867 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12868 (main_loop_epoll): Likewise.
12869 * nscd/grpcache.c (addgrbyX): Likewise.
12870 * nscd/hstcache.c (addhstbyX): Likewise.
12871 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12872 * nscd/mem.c (gc, mempool_alloc): Likewise.
12873 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12874 (addinnetgrX): Likewise.
12875 * nscd/nscd-client.h (__nscd_acquire_maplock)
12876 (__nscd_drop_map_ref): Likewise.
12877 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12878 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12879 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12881 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12882 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12883 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12884 (__nscd_get_map_ref): Likewise.
12885 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12886 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12888 * nscd/pwdcache.c (addpwbyX): Likewise.
12889 * nscd/selinux.c (preserve_capabilities): Likewise.
12890 * nscd/servicescache.c (addservbyX): Likewise.
12891 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12892 * posix/fnmatch.c (fnmatch): Likewise.
12893 * posix/getopt.c (_getopt_internal_r): Likewise.
12894 * posix/glob.c (glob, glob_in_dir): Likewise.
12895 * posix/wordexp.c (exec_comm_child): Likewise.
12896 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12897 (getanswer_r, gaih_getanswer_slice): Likewise.
12898 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12899 * resolv/res_init.c: Likewise.
12900 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12901 * resolv/res_query.c (__libc_res_nquery): Likewise.
12902 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12904 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12905 * stdio-common/perror.c (perror): Likewise.
12906 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12907 * stdio-common/tmpnam.c (tmpnam): Likewise.
12908 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12909 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12910 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12912 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12913 * stdlib/putenv.c (putenv): Likewise.
12914 * stdlib/setenv.c (__add_to_environ): Likewise.
12915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12916 * stdlib/strtol_l.c (INTERNAL): Likewise.
12917 * string/memmem.c (memmem): Likewise.
12918 * string/strerror.c (strerror): Likewise.
12919 * string/strnlen.c (__strnlen): Likewise.
12920 * string/test-memmem.c (simple_memmem): Likewise.
12921 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12922 * sunrpc/pm_getport.c (__get_socket): Likewise.
12923 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12924 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12925 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12926 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12928 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12930 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12931 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12932 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12933 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12935 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12937 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12938 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12939 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12940 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12941 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12943 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12944 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12945 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12946 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12947 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12948 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12952 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12954 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12956 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12958 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12959 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12960 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12961 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12962 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12963 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12964 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12969 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12971 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12973 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12975 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12977 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12979 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12981 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12982 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12983 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12984 * sysdeps/posix/sleep.c: Likewise.
12985 * sysdeps/posix/tempname.c: Likewise.
12986 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12987 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12989 * sysdeps/powerpc/powerpc32/dl-machine.h
12990 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12991 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12992 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12993 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12994 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12996 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
12997 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
12998 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
12999 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13000 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13001 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13002 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13003 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13004 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13005 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13006 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13007 (elf_machine_lazy_rel): Likewise.
13008 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13009 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13010 (elf_machine_lazy_rel): Likewise.
13011 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13012 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13013 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13014 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13015 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13016 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13017 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13020 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13021 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13022 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13023 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13024 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13025 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13026 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13027 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13028 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13029 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13030 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13032 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13033 (__posix_fallocate64_l64): Likewise.
13034 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13035 (posix_fallocate): Likewise.
13036 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13038 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13039 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13040 (getifaddrs_internal): Likewise.
13041 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13042 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13043 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13044 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13045 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13046 (__posix_fallocate64_l64): Likewise.
13047 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13049 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13050 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13051 (__get_clockfreq): Likewise.
13052 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13053 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13054 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13057 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13058 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13061 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13062 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13063 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13064 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13065 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13066 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13067 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13069 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13070 (posix_fallocate): Likewise.
13071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13072 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13073 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13074 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13075 (elf_machine_rela, elf_machine_rela_relative)
13076 (elf_machine_lazy_rel): Likewise.
13077 * time/asctime.c (asctime_internal): Likewise.
13078 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13079 * time/tzset.c (__tzset_parse_tz): Likewise.
13080 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13081 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13082 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13083 * wcsmbs/wcsmbsload.h: Likewise.
13086 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13088 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13089 (arena_get2): Remove THREAD_STATS conditionals.
13090 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13091 (__malloc_stats, int): Likewise.
13093 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13095 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13096 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13098 * manual/setjmp.texi: Fix typos/grammar errors.
13100 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13101 Only return early when n is <= 0. Delete unused return statement.
13103 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13104 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13105 * debug/tst-longjmp_chk3.c: New file.
13107 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13108 (test_main): Replace code with set_fortify_handler call.
13109 * debug/test-strcpy_chk.c: Likewise.
13110 * debug/tst-chk1.c: Likewise.
13111 * debug/tst-longjmp_chk.c: Likewise.
13112 * test-skeleton.c: Include fcntl.h & paths.h
13113 (set_fortify_handler): Define.
13115 * debug/tst-longjmp_chk.c: Add header comment and include
13116 ../test-skeleton.c.
13117 (do_test): Mark static.
13118 (TEST_FUNCTION): Define.
13120 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13121 (IP_PMTUDISC_INTERFACE): Likewise.
13122 (IP_MULTICAST_IF): Likewise.
13123 (IP_MULTICAST_TTL): Likewise.
13124 (IP_MULTICAST_LOOP): Likewise.
13125 (IP_ADD_MEMBERSHIP): Likewise.
13126 (IP_DROP_MEMBERSHIP): Likewise.
13127 (IP_UNBLOCK_SOURCE): Likewise.
13128 (IP_BLOCK_SOURCE): Likewise.
13129 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13130 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13131 (IP_MSFILTER): Likewise.
13132 (MCAST_JOIN_GROUP): Likewise.
13133 (MCAST_BLOCK_SOURCE): Likewise.
13134 (MCAST_UNBLOCK_SOURCE): Likewise.
13135 (MCAST_LEAVE_GROUP): Likewise.
13136 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13137 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13138 (MCAST_MSFILTER): Likewise.
13139 (IP_MULTICAST_ALL): Likewise.
13140 (IP_UNICAST_IF): Likewise.
13142 * timezone/Makefile: Delete $(have-ksh) check.
13143 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13144 * timezone/tzselect.ksh: Add +x mode bits.
13146 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13147 (ANON_INODE_FS_MAGIC): Likewise.
13148 (BDEVFS_MAGIC): Likewise.
13149 (BINFMTFS_MAGIC): Likewise.
13150 (BTRFS_TEST_MAGIC): Likewise.
13151 (CRAMFS_MAGIC_WEND): Likewise.
13152 (DEBUGFS_MAGIC): Likewise.
13153 (ECRYPTFS_SUPER_MAGIC): Likewise.
13154 (EXT3_SUPER_MAGIC): Likewise.
13155 (EXT4_SUPER_MAGIC): Likewise.
13156 (FUTEXFS_SUPER_MAGIC): Likewise.
13157 (HOSTFS_SUPER_MAGIC): Likewise.
13158 (HUGETLBFS_MAGIC): Likewise.
13159 (MINIX3_SUPER_MAGIC): Likewise.
13160 (MTD_INODE_FS_MAGIC): Likewise.
13161 (NILFS_SUPER_MAGIC): Likewise.
13162 (OPENPROM_SUPER_MAGIC): Likewise.
13163 (PIPEFS_MAGIC): Likewise.
13164 (PSTOREFS_MAGIC): Likewise.
13165 (QNX6_SUPER_MAGIC): Likewise.
13166 (RAMFS_MAGIC): Likewise.
13167 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13168 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13169 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13170 (SECURITYFS_MAGIC): Likewise.
13171 (SELINUX_MAGIC): Likewise.
13172 (SMACK_MAGIC): Likewise.
13173 (SOCKFS_MAGIC): Likewise.
13174 (SQUASHFS_MAGIC): Likewise.
13175 (STACK_END_MAGIC): Likewise.
13176 (TMPFS_MAGIC): Likewise.
13177 (USBDEVICE_SUPER_MAGIC): Likewise.
13178 (V9FS_MAGIC): Likewise.
13179 (XENFS_SUPER_MAGIC): Likewise.
13180 (CRAMFS_MAGIC): Fix typo in comment.
13181 (EXT2_SUPER_MAGIC): Update comment.
13182 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13184 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13186 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13187 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13188 * sysdeps/unix/sysv/linux/arm: Move directory from
13189 ports/sysdeps/unix/sysv/linux/arm.
13190 * README: Update listing for arm-*-linux-gnueabi.
13192 * README: Remove mention of am33.
13194 2014-02-07 Roland McGrath <roland@hack.frob.com>
13196 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13197 than the comma operator, to avoid "rhs of comma has no effect"
13199 (__sigfillset, __sigandset, __sigorset): Likewise.
13200 * include/signal.h (__sigemptyset): Likewise.
13201 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13203 2014-02-07 Allan McRae <allan@archlinux.org>
13205 * version.h (RELEASE): Set to "development".
13206 (VERSION): Set to "2.19.90"
13207 * NEWS: Add 2.20 section.
13209 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13212 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13214 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13216 * manual/contrib.texi: Update entry for Carlos O'Donell,
13217 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13219 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13221 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13223 * sysdeps/unix/sysv/linux/kernel-features.h
13224 [__LINUX_KERNEL_VERSION >= 0x020621]
13225 (__ASSUME_PROC_PID_TASK_COMM): Define.
13227 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13230 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13231 conversion when destination buffer does not have enough space.
13232 * libio/tst-ftell-partial-wide.c: New test case.
13233 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13235 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13236 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13237 Leonard and Allan McRae.
13239 2014-02-04 David S. Miller <davem@davemloft.net>
13241 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13244 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13273 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13275 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13276 * shlib-versions: Likewise.
13278 2014-02-04 Roland McGrath <roland@hack.frob.com>
13279 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13281 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13282 (abilist-pattern): New variable, set to %-le.abilist.
13284 * Makerules (abilist-pattern): New variable.
13285 (vpath): Use $(abilist-pattern) in place of %.abilist.
13286 (check-abi-% pattern rule): Likewise.
13287 (check-abi, update-abi): Likewise.
13289 2014-02-04 Eric Wong <normalperson@yhbt.net>
13291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13293 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13295 * manual/startup.texi: Add next, previous, and top entries for
13296 the `Program Arguments' and `Environment Variables' nodes.
13298 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13300 * manual/macros.texi: Add comments before MTASC-safety macros.
13302 * manual/users.texi: Document MTASC-safety properties.
13304 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13305 (pthread_getspecific, pthread_setspecific): Format with
13306 @deftypefun, and add @safety note.
13307 * manual/signal.texi: Move comments that analyze the above
13308 functions to their home place.
13310 2014-02-03 Allan McRae <allan@archlinux.org>
13312 * po/sl.po: Update Slovenian translation from translation project.
13314 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13316 * manual/time.texi (timegm): Add missing blank after @c.
13317 Reported by Joseph Myers <joseph@codesourcery.com>.
13319 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13321 * manual/check-safety.sh: New.
13322 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13324 * manual/terminal.texi: Document MTASC-safety properties.
13326 * manual/filesys.texi: Document MTASC-safety properties.
13328 * manual/errno.texi: Document MTASC-safety properties.
13330 * manual/intro.texi: Document safety identifiers and
13333 * manual/string.texi (wcstok): Fix prototype.
13334 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13336 * manual/time.texi: Document MTASC-safety properties.
13338 * manual/string.texi: Document MTASC-safety properties.
13340 * manual/threads.texi: Document MTASC-safety properties.
13342 * manual/stdio.texi: Document MTASC-safety properties.
13344 * manual/syslog.texi: Document MTASC-safety properties.
13346 * manual/sysinfo.texi: Document MTASC-safety properties.
13348 * manual/startup.texi: Document MTASC-safety properties.
13350 * manual/socket.texi: Document MTASC-safety properties.
13352 * manual/signal.texi: Document MTASC-safety properties.
13354 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13356 * manual/setjmp.texi: Document MTASC-safety properties.
13358 * manual/search.texi: Document MTASC-safety properties.
13360 * manual/resource.texi: Document MTASC-safety properties.
13362 * manual/process.texi: Document MTASC-safety properties.
13364 * manual/platform.texi: Document MTASC-safety properties.
13366 * manual/pipe.texi: Document MTASC-safety properties.
13368 * manual/pattern.texi: Document MTASC-safety properties.
13370 * manual/message.texi: Document MTASC-safety properties.
13373 * manual/memory.texi: Document MTASC-safety properties.
13375 * manual/math.texi: Document MTASC-safety properties.
13377 * manual/locale.texi: Document MTASC-safety properties.
13379 * manual/llio.texi: Document MTASC-safety properties.
13381 * manual/libdl.texi: New.
13383 * manual/lang.texi: Document MTASC-safety properties.
13385 * manual/job.texi: Document MTASC-safety properties.
13387 * manual/getopt.texi: Document MTASC-safety properties.
13389 * manual/ctype.texi: Document MTASC-safety properties.
13391 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13394 * csu/libc-tls.c (static_map): Remove variable.
13395 (__libc_setup_tls): Use main executable's link map for TLS data.
13396 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13397 casing for LM_ID_BASE and GL(dl_nns).
13398 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13399 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13400 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13401 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13402 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13404 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13407 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13409 * manual/debug.texi: Document MTASC-safety properties.
13411 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13414 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13415 of __x86_64__ when disabling x87 inline functions.
13417 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13419 * manual/charset.texi: Document MTASC-safety properties.
13421 * manual/crypt.texi: Document MTASC-safety properties.
13423 * manual/conf.texi: Document MTASC-safety properties.
13425 * manual/arith.texi: Document MTASC-safety properties.
13427 * manual/argp.texi: Document MTASC-safety properties.
13429 * manual/macros.texi: Introduce macros to document multi
13430 thread, asynchronous signal and asynchronous cancellation
13432 * manual/intro.texi: Introduce the properties themselves.
13434 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13436 * sysdeps/sh/sh4/Makefile: New file.
13438 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13440 * math/gen-libm-test.pl ($srcdir): New variable.
13441 ($auto_input): Use it.
13443 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13446 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13447 access beyond array bounds when parsing netgroups file.
13449 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13450 the old buffer before realloc.
13452 2014-01-27 Allan McRae <allan@archlinux.org>
13454 * po/fr.po: Update French translation from translation project.
13456 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13458 * sysdeps/sh/libm-test-ulps: Regenerate.
13460 2014-01-24 David S. Miller <davem@davemloft.net>
13462 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13464 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13466 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13467 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13469 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13472 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13473 string pointers after reallocation.
13475 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13477 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13478 __SH4A__ instead of __SH_FPU_ANY__.
13480 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13482 * sysdeps/sh/fpu_control.h: New file.
13483 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13484 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13485 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13486 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13487 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13488 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13489 * sysdeps/sh/sys/ucontext.h: Remove.
13490 * sysdeps/sh/sys: Remove directory.
13492 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13494 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13495 s390/sys/ucontext.h.
13496 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13497 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13499 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13502 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13504 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13507 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13508 Adjust the vDSO correctly for internal calls.
13509 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13511 2014-01-20 Allan McRae <allan@archlinux.org>
13513 * po/ca.po: Update Catalan translation from translation project.
13515 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13517 * sysdeps/s390/sotruss-lib.c: New file.
13519 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13522 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13523 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13524 local calls issues by not having a PLT stub required for IFUNC calls.
13525 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13527 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13529 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13530 * math/test-fpucw-static.c: Likewise.
13532 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13535 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13537 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13539 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13540 implementation for powerpc.
13542 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13545 * sysdeps/posix/system.c (__libc_system): Do not enable
13546 asynchronous cancellation.
13548 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13551 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13552 handling only for numbers special also in the IEEE case.
13554 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13556 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13558 2014-01-11 Allan McRae <allan@archlinux.org>
13560 * po/bg.po: Update Bulgarian translation from translation project.
13562 * po/de.po: Update German translation from translation project.
13564 2014-01-10 Roland McGrath <roland@hack.frob.com>
13566 * sysdeps/generic/gcc-compat.h: New file.
13568 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13570 * benchtests/asin-inputs: Correct slow inputs.
13571 * benchtests/acos-inputs: Likewise.
13573 2014-01-10 Allan McRae <allan@archlinux.org>
13575 * po:sv.po: Update Swedish translation from translation project.
13577 * po/vi.po: Update Vietnamese translation from translation project.
13579 * po/eo.po: Update Esperanto translation from translation project.
13581 * po/cs.po: Update Czech translation from translation project.
13583 * po/nl.po: Update Dutch translation from translation project.
13585 * po/pl.po: Update Polish translation from translation project.
13587 * po/ru.po: Update Russian translation from translation project.
13589 * po/uk.po: Update Ukrainian translation from translation project.
13591 2014-01-08 Brooks Moses <bmoses@google.com>
13593 * elf/dl-load.c: Fix comment typo.
13595 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13597 * po/header.pot: Rename to...
13598 * po/pot.header: ... this.
13599 * po/Makefile: Use pot.header.
13601 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13602 Maxim Kuvyrkov <maxim@kugelworks.com>
13605 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13606 SRC and DEST against LEN.
13608 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13611 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13613 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13615 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13619 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13622 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13623 for large positive arguments.
13625 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13627 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13629 * math/auto-libm-test-in: Mark various tests with
13630 xfail-rounding:ldbl-128ibm.
13631 * math/auto-libm-test-out: Regenerated.
13634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13635 Increase overflow threshold.
13637 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13640 * stdio-common/vfprintf.c: Check for integer overflow.
13642 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13644 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13645 the first argument and return value of __tls_get_addr_internal.
13647 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13649 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13650 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13652 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13654 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13655 * sysdeps/s390/rtld-global-offsets.sym: New file.
13656 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13658 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13659 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13660 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13662 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13663 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13669 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13670 halfs of GPRs for high_gprs contexts.
13671 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13672 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13674 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13676 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13678 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13679 for high GPRs (uc_high_gprs) and for future extensions
13681 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13682 for future extensions (__reserved).
13683 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13685 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13686 SC_HIGHGPRS offset definition.
13687 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13688 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13690 * Versions.def: Add GLIBC_2.19 for libpthread.
13691 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13692 siglongjmp for libpthread with GLIBC_2.19 symver.
13693 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13694 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13695 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13696 * sysdeps/s390/__longjmp.c: New file.
13697 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13698 * sysdeps/s390/longjmp.c: New file.
13699 * sysdeps/s390/setjmp.S: New file.
13700 * sysdeps/s390/sigjmp.S: New file.
13701 * sysdeps/s390/v1-longjmp.c: New file.
13702 * sysdeps/s390/v1-setjmp.h: New file.
13703 * sysdeps/s390/v1-sigjmp.c: New file.
13704 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13705 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13706 GLIBC_2.19 version.
13707 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13708 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13709 versioned symbols for ____longjmp_chk.
13710 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13720 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13721 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13722 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13723 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13724 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13725 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13726 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13727 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13728 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13729 * sysdeps/s390/rtld-__longjmp.c: New file.
13730 * sysdeps/s390/rtld-setjmp.S: New file.
13732 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13735 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13736 Return -__logl (x) for small positive arguments without evaluating
13739 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13741 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13743 (__ptrace_peeksiginfo_args): ... this.
13744 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13746 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13748 2014-01-06 Allan McRae <allan@archlinux.org>
13750 * inet/netinet/in.h: Fix typo in comment.
13752 2014-01-05 Andreas Jaeger <aj@suse.de>
13754 * sysdeps/i386/fpu/libm-test-ulps: Update.
13756 2014-01-05 Allan McRae <allan@archlinux.org>
13758 * po/libc.pot: Regenerated.
13760 * malloc/memusagestat.c: Fix gettext call formatting.
13762 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13764 * nscd/nscd.c: Improve usage() output.
13766 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13768 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13769 * sysdeps/unix/sysv/linux/configure: Regenerated.
13770 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13771 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13773 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13776 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13777 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13779 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13781 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13782 extra tokens at end of #undef directive.
13783 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13784 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13785 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13787 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13789 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13791 * math/auto-libm-test-in: Mark various tests with
13792 xfail-rounding:ldbl-128ibm.
13793 * math/auto-libm-test-out: Regenerated.
13795 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13798 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13799 numbers with subnormal high part when calculating exponent.
13802 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13806 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13808 (__ieee754_acoshl): Use __log1pl not __log1p.
13810 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13812 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13813 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13814 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13815 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13816 (reused_arena, arena_get2): Convert to GNU style.
13817 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13818 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13819 (memalign_check, __malloc_set_state): Likewise.
13820 * malloc/mallocbug.c (main): Likewise.
13821 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13822 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13823 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13824 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13825 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13826 (__posix_memalign, malloc_info): Likewise.
13827 * malloc/malloc.h: Likewise.
13828 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13829 (mallochook, memalignhook, reallochook, mabort): Likewise.
13830 * malloc/mcheck.h: Likewise.
13831 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13832 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13833 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13834 * malloc/morecore.c (__default_morecore): Likewise.
13835 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13836 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13837 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13838 (print_and_abort): Likewise.
13839 * malloc/obstack.h: Likewise.
13840 * malloc/set-freeres.c (__libc_freeres): Likewise.
13841 * malloc/tst-mallocstate.c (main): Likewise.
13842 * malloc/tst-mtrace.c (main): Likewise.
13843 * malloc/tst-realloc.c (do_test): Likewise.
13845 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13848 * nscd/netgroupcache.c (do_notfound): New function.
13849 (addgetnetgrentX): Use it.
13852 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13853 NSS_STATUS_NOTFOUND.
13855 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13857 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13860 2014-01-01 Allan McRae <allan@archlinux.org>
13862 * scripts/update-copyrights: Update configure input file suffix.
13864 * NEWS: Update copyright year.
13865 * catgets/gencat.c: Likewise.
13866 * csu/version.c: Likewise.
13867 * debug/catchsegv.sh: Likewise.
13868 * debug/pcprofiledump.c: Likewise.
13869 * debug/xtrace.sh: Likewise.
13870 * elf/ldconfig.c: Likewise.
13871 * elf/ldd.bash.in: Likewise.
13872 * elf/pldd.c: Likewise.
13873 * elf/sotruss.ksh: Likewise.
13874 * elf/sprof.c: Likewise.
13875 * iconv/iconv_prog.c: Likewise.
13876 * iconv/iconvconfig.c: Likewise.
13877 * locale/programs/locale.c: Likewise.
13878 * locale/programs/localedef.c: Likewise.
13879 * login/programs/pt_chown.c: Likewise.
13880 * malloc/memusage.sh: Likewise.
13881 * malloc/memusagestat.c: Likewise.
13882 * malloc/mtrace.pl: Likewise.
13883 * manual/libc.texinfo: Likewise.
13884 * nscd/nscd.c: Likewise.
13885 * nss/getent.c: Likewise.
13886 * nss/makedb.c: Likewise.
13887 * posix/getconf.c: Likewise.
13888 * scripts/test-installation.pl: Likewise.
13890 * All files with FSF copyright notices: Update copyright dates
13891 using scripts/update-copyrights.
13892 * intl/plural.c: Regenerated.
13893 * locale/programs/charmap-kw.h: Likewise.
13894 * locale/programs/locfile-kw.h: Likewise.
13896 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13898 * sysdeps/unix/sysv/linux/configure: Regenerated.
13899 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13900 the linux/fanotify.h header.
13901 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13902 HAVE_LINUX_FANOTIFY_H is defined.
13904 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13906 * benchtests/cos-inputs: New inputs.
13907 * benchtests/sin-inputs: Likewise.
13909 * benchtests/atan-inputs: New inputs. Fix name of multiple
13910 precision fallback inputs.
13912 * benchtests/atanh-inputs: New inputs.
13913 * benchtests/tanh-inputs: Likewise.
13915 * benchtests/acosh-inputs: New inputs.
13916 * benchtests/asinh-inputs: Likewise.
13918 * benchtests/cosh-inputs: New inputs.
13919 * benchtests/sinh-inputs: Likewise.
13921 * benchtests/acos-inputs: Add more inputs.
13922 * benchtests/asin-inputs: Likewise.
13924 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13927 * manual/arith.texi: Fix spelling.
13928 * manual/charset.texi: Likewise.
13929 * manual/errno.texi: Likewise.
13930 * manual/filesys.texi: Likewise.
13931 * manual/lang.texi: Likewise.
13932 * manual/llio.texi: Likewise.
13933 * manual/locale.texi: Likewise.
13934 * manual/message.texi: Likewise.
13935 * manual/resource.texi: Likewise.
13936 * manual/search.texi: Likewise.
13937 * manual/setjmp.texi: Likewise.
13938 * manual/stdio.texi: Likewise.
13939 * manual/string.texi: Likewise.
13940 * manual/sysinfo.texi: Likewise.
13941 * manual/time.texi: Likewise.
13943 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13945 * po/sl.po: New file.
13947 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13949 * .gitignore: Add core/.gdbinit/.gdb_history.
13951 2013-12-27 Allan McRae <allan@archlinux.org>
13954 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13955 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13957 2013-12-24 Brooks Moses <bmoses@google.com>
13959 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13960 all compilers that claim C++98 compliance, not just GCC.
13961 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13964 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13966 * NEWS: Restore accidentally deleted bug-fix entries.
13968 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13969 Ondřej Bílka <neleai@seznam.cz>
13972 * malloc/malloc.c (_int_free): Perform sanity check only if we
13975 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13978 * manual/stdio.texi (String Input Conversions): Clarify that character
13979 classes are not supported.
13981 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13985 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13989 Calculate results for small negative arguments directly rather
13990 than using reflection formula with special underflow handling.
13992 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13993 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13994 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13995 (fchflags): Likewise.
13996 (revoke): Likewise.
13997 (setlogin): Likewise.
13998 (sigaltstack): Likewise.
14000 (sigblock): Remove.
14001 (sigsetmask): Likewise.
14003 (waitpid): Likewise.
14004 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14005 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14007 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14008 * sysdeps/unix/bsd/Makefile: ... here.
14009 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14010 * sysdeps/unix/bsd/Versions: ... here.
14011 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14012 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14013 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14014 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14015 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14016 * sysdeps/unix/bsd/sigblock.c: ... here.
14017 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14018 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14019 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14020 * sysdeps/unix/bsd/sigvec.c: ... here.
14021 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14022 * sysdeps/unix/bsd/tcdrain.c: ... here.
14023 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14024 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14025 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14026 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14027 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14028 * sysdeps/unix/bsd/wait.c: ... here.
14029 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14030 * sysdeps/unix/bsd/wait3.c: ... here.
14031 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14032 * sysdeps/unix/bsd/waitpid.c: ... here.
14034 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14038 round-to-nearest for [!USE_AS_EXPM1L].
14039 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14040 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14041 more tests of exp and exp10. Expect some exp10 tests to miss
14042 exceptions or fail in directed rounding modes.
14043 * math/auto-libm-test-out: Regenerated.
14044 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14045 (exp10_test_tonearest): New function.
14046 (exp10_towardzero_test_data): New array.
14047 (exp10_test_towardzero): New function.
14048 (exp10_downward_test_data): New array.
14049 (exp10_test_downward): New function.
14050 (exp10_upward_test_data): New array.
14051 (exp10_test_upward): New function.
14052 (main): Call the new functions.
14053 * sysdeps/i386/fpu/libm-test-ulps: Update.
14054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14056 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14058 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14059 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14060 * math/auto-libm-test-out: Regenerated.
14061 * math/libm-test.inc (acosh_test_data): Add more tests.
14062 (atanh_test_data): Likewise.
14063 (ceil_test_data): Likewise.
14064 (copysign_test_data): Likewise.
14065 * sysdeps/i386/fpu/libm-test-ulps: Update.
14066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14068 * timezone/checktab.awk: Update from tzcode 2013i.
14069 * timezone/private.h: Likewise.
14070 * timezone/scheck.c: Likewise.
14071 * timezone/tzfile.h: Likewise.
14072 * timezone/tzselect.ksh: Likewise.
14073 * timezone/zdump.c: Likewise.
14074 * timezone/zic.c: Likewise.
14076 * math/auto-libm-test-in: Add tests of cpow.
14077 * math/auto-libm-test-out: Regenerated.
14078 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14079 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14081 (func_calc_desc): Add mpc_cc_c union field.
14082 (test_functions): Add cpow.
14083 (special_fill_2pi): New function.
14084 (special_real_inputs): Add 2pi.
14085 (calc_generic_results): Handle mpc_cc_c.
14086 * sysdeps/i386/fpu/libm-test-ulps: Update.
14087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14089 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14090 csqrt, ctan and ctanh.
14091 * math/auto-libm-test-out: Regenerated.
14092 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14093 (TEST_COND_x86): Likewise.
14094 (ccos_test_data): Use AUTO_TESTS_c_c.
14095 (ccosh_test_data): Likewise.
14096 (cexp_test_data): Likewise.
14097 (clog_test_data): Likewise.
14098 (csqrt_test_data): Likewise.
14099 (ctan_test_data): Likewise.
14100 (ctan_tonearest_test_data): Likewise.
14101 (ctan_towardzero_test_data): Likewise.
14102 (ctan_downward_test_data): Likewise.
14103 (ctan_upward_test_data): Likewise.
14104 (ctanh_test_data): Likewise.
14105 (ctanh_tonearest_test_data): Likewise.
14106 (ctanh_towardzero_test_data): Likewise.
14107 (ctanh_downward_test_data): Likewise.
14108 (ctanh_upward_test_data): Likewise.
14109 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14111 (func_calc_desc): Add mpc_c_c union field.
14112 (FUNC_mpc_c_c): New macro.
14113 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14114 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14116 (special_fill_min_subnorm_p120): New function.
14117 (special_real_inputs): Add min_subnorm_p120.
14118 (calc_generic_results): Handle mpc_c_c.
14119 * sysdeps/i386/fpu/libm-test-ulps: Update.
14120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14122 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14124 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14125 (do_sin_slow): New functions.
14126 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14127 (cslow2, csloww1, csloww2): Use the new functions.
14129 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14130 Use M to change sign of result instead of X. Assume X is
14132 (csloww1): Likewise.
14136 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14137 arguments A and DA.
14141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14143 (sloww1): Don't adjust sign of DX.
14144 (csloww1): Likewise.
14145 (sloww2): Use X directly and don't adjust sign of DX.
14146 (csloww2): Likewise.
14148 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14150 * math/auto-libm-test-in: Add tests of cabs and carg.
14151 * math/auto-libm-test-out: Regenerated.
14152 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14153 (carg_test_data): Likewise.
14154 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14156 (func_calc_desc): Add mpc_c_f union field.
14157 (test_functions): Add cabs and carg.
14158 (calc_generic_results): Handle mpc_c_f.
14160 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14161 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14162 as a macro and a compat symbol.
14163 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14164 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14165 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14166 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14167 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14168 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14170 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14172 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14174 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14176 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14178 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14180 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14181 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14184 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14188 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14190 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14191 trailing whitespace removed.
14192 * scripts/config.guess: Update to version 2013-11-29.
14193 * scripts/config.sub: Update to version 2013-10-01.
14195 * math/auto-libm-test-in: Add tests of sincos.
14196 * math/auto-libm-test-out: Regenerated.
14197 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14198 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14200 (func_calc_desc): Add mpfr_f_11 union field.
14201 (test_functions): Add sincos.
14202 (calc_generic_results): Handle mpfr_f_11.
14203 * sysdeps/i386/fpu/libm-test-ulps: Update.
14204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14206 2013-12-19 Andreas Schwab <schwab@suse.de>
14208 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14210 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14211 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14212 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14214 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14216 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14217 * sysdeps/i386/fpu/libm-test-ulps: Update.
14218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14222 round-to-nearest mode when using frndint.
14223 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14224 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14225 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14227 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14229 * math/auto-libm-test-out: Regenerated.
14230 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14231 (TEST_COND_x86): Likewise.
14232 (expm1_tonearest_test_data): New array.
14233 (expm1_test_tonearest): New function.
14234 (expm1_towardzero_test_data): New array.
14235 (expm1_test_towardzero): New function.
14236 (expm1_downward_test_data): New array.
14237 (expm1_test_downward): New function.
14238 (expm1_upward_test_data): New array.
14239 (expm1_test_upward): New function.
14240 (main): Run the new test functions.
14241 * sysdeps/i386/fpu/libm-test-ulps: Update.
14242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14244 * include/features.h: Update comment documenting feature test
14245 macros. Mention _DEFAULT_SOURCE in comment.
14246 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14247 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14248 _BSD_SOURCE and _SVID_SOURCE.
14249 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14250 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14251 !_SVID_SOURCE]: Likewise.
14252 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14253 (__USE_POSIX_IMPLICITLY): Define.
14254 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14255 (_POSIX_SOURCE): Undefine and redefine.
14256 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14257 (_POSIX_C_SOURCE): Likewise.
14258 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14259 (Feature Test Macros): Update documentation of default features.
14261 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14263 * benchtests/Makefile: Add bench-strtok.
14264 * benchtests/bench-strtok.c: New file: strtok benchtest.
14266 2013-12-19 Allan McRae <allan@archlinux.org>
14268 * manual/install.texi: Suppress menu for plain text output.
14269 * INSTALL: Regenerated.
14271 2013-12-18 Brooks Moses <bmoses@google.com>
14274 * misc/getauxval.c: Include errno.h.
14275 (__getauxval): Set errno to ENOENT if the requested type is not
14277 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14278 don't declare with __attribute_const__.
14279 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14280 * manual/startup.texi: Document that getauxval sets errno.
14282 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14284 * math/auto-libm-test-in: Add tests of jn and yn.
14285 * math/auto-libm-test-out: Regenerated.
14286 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14287 (yn_test_data): Likewise.
14288 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14290 (func_calc_desc): Add mpfr_if_f union field.
14291 (FUNC_mpfr_if_f): New macro.
14292 (test_functions): Add jn and yn.
14293 (calc_generic_results): Assert type of second input for
14294 mpfr_ff_f. Handle mpfr_if_f.
14295 (output_for_one_input_case): Disable all checking for arguments
14296 fitting floating-point types in case of an integer argument.
14297 * sysdeps/i386/fpu/libm-test-ulps: Update.
14298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14301 Don't expect fegetround reference in libm.so.
14303 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14305 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14306 $(config-cflags-nofma).
14308 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14310 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14311 * math/auto-libm-test-out: Regenerated.
14314 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14315 to determine exponent and adjust argument to have exponent of -1.
14316 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14318 * math/auto-libm-test-out: Regenerated.
14319 * sysdeps/i386/fpu/libm-test-ulps: Update.
14320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14322 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14324 * manual/probes.texi: Remove cases when per-thread arenas are
14327 2013-12-18 Andreas Schwab <schwab@suse.de>
14329 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14330 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14331 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14332 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14333 * sysdeps/i386/i686/multiarch/Makefile: Update.
14334 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14336 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14338 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14339 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14341 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14344 Support TZ transition times < 00:00:00.
14345 This is needed for version-3 tz-format files; it supports time
14346 stamps past 2037 for America/Godthab (the only entry in the tz
14347 database for which this change is relevant).
14348 * manual/time.texi (TZ Variable): Document transition times
14349 from -167:59:59 through -00:00:01.
14350 * time/tzset.c (tz_rule): Time of day is now signed.
14351 (__tzset_parse_tz): Parse negative time of day.
14353 Document TZ transition times >= 25:00:00.
14354 * manual/time.texi (TZ Variable): Document transition times from
14355 25:00:00 through 167:59:59. These are already supported, and this
14356 support will help with version-3 tz-format files.
14358 * manual/time.texi (TZ Variable): Modernize North America example
14359 to reflect current (i.e., 2007-and-later) daylight saving rules.
14361 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14363 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14365 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14366 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14367 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14368 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14369 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14370 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14371 * sysdeps/unix/bsd/clock.c: Likewise.
14372 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14373 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14374 * sysdeps/unix/bsd/init-posix.c: Likewise.
14375 * sysdeps/unix/bsd/poll.c: Likewise.
14376 * sysdeps/unix/bsd/ptsname.c: Likewise.
14377 * sysdeps/unix/bsd/seekdir.c: Likewise.
14378 * sysdeps/unix/bsd/setegid.c: Likewise.
14379 * sysdeps/unix/bsd/seteuid.c: Likewise.
14380 * sysdeps/unix/bsd/setgid.c: Likewise.
14381 * sysdeps/unix/bsd/setrgid.c: Likewise.
14382 * sysdeps/unix/bsd/setruid.c: Likewise.
14383 * sysdeps/unix/bsd/setsid.c: Likewise.
14384 * sysdeps/unix/bsd/setuid.c: Likewise.
14385 * sysdeps/unix/bsd/sigaction.c: Likewise.
14386 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14387 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14388 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14389 * sysdeps/unix/bsd/telldir.c: Likewise.
14390 * sysdeps/unix/bsd/times.c: Likewise.
14391 * sysdeps/unix/bsd/usleep.c: Likewise.
14393 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14394 ($(objpfx)libbsd-compat.a): Remove rule.
14396 * include/features.h (__FAVOR_BSD): Do not define.
14397 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14398 features conflicting with POSIX.
14399 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14400 (_BSD_SOURCE): Remove description of not being a subset of other
14401 feature test macros.
14402 * manual/job.texi (getpgrp): Do not document BSD version.
14403 (getpgid): Do not document by reference to BSD getpgrp.
14404 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14405 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14406 * signal/signal.h [__FAVOR_BSD]: Likewise.
14407 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14408 instead of making contents conditional on [__FAVOR_BSD].
14409 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14411 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14415 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14418 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14419 values below 2**-450, not 2**-500.
14420 * math/auto-libm-test-in: Don't allow spurious underflow from
14422 * math/auto-libm-test-out: Regenerated.
14426 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14427 values of ha and hb and sort them after adjusting subnormal
14429 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14431 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14432 values of ea and eb and sort them after adjusting subnormal
14434 * math/auto-libm-test-in: Do not expect some hypot tests of
14435 subnormals to fail. Add more hypot tests.
14436 * math/auto-libm-test-out: Regenerated.
14438 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14441 * sysdeps/sh/s_fma.c: New file.
14442 * sysdeps/sh/s_fmaf.c: New file.
14443 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14445 * sysdeps/sh/Implies: Add sh/soft-fp.
14447 2013-12-16 Roland McGrath <roland@hack.frob.com>
14449 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14450 level of indirection to members `objname', `errstring', `malloced'.
14451 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14452 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14453 it as the __longjmp argument (just pass 1 instead).
14454 (_dl_catch_error): Initialize C with argument pointers and address of
14455 volatile local ERRCODE rather than copying values out of C at return.
14457 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14459 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14460 * math/auto-libm-test-out: Regenerated.
14461 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14462 (hypot_test_data): Likewise.
14463 (pow_test_data): Likewise.
14464 (pow_tonearest_test_data): Likewise.
14465 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14467 (func_calc_desc): Add mpfr_ff_f union field.
14468 (FUNC_mpfr_ff_f): New macro.
14469 (test_functions): Add atan2, hypot and pow.
14470 (special_fill_min): New function.
14471 (special_fill_minus_min): Likewise.
14472 (special_fill_min_subnorm): Likewise.
14473 (special_fill_minus_min_subnorm): Likewise.
14474 (special_real_inputs): Add min, -min, min_subnorm and
14476 (calc_generic_results): Handle mpfr_ff_f.
14477 * sysdeps/i386/fpu/libm-test-ulps: Update.
14478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14480 2013-12-16 Will Newton <will.newton@linaro.org>
14482 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14483 (Aligned Memory Blocks): Add documentation for aligned_alloc
14484 and suggest it as an alternative to posix_memalign.
14485 (Hooks for Malloc): Document __memalign_hook is also called
14486 for aligned_alloc. (Summary of Malloc): Add summary for
14487 aligned alloc. Document __memalign_hook is also called
14490 2013-12-16 Will Newton <will.newton@linaro.org>
14492 * manual/memory.texi (Malloc Examples): Clarify default
14493 alignment documentation. Suggest posix_memalign rather
14494 than memalign or valloc.
14495 (Aligned Memory Blocks): Remove suggestion to use memalign
14496 or valloc. Remove obsolete comment about BSD.
14497 Document memalign errno values and mark the function obsolete.
14498 Document posix_memalign returned error codes. Mark valloc
14499 as obsolete. (Hooks for Malloc): __memalign_hook is also
14500 called for posix_memalign and valloc.
14501 (Summary of Malloc): Add posix_memalign to function summary.
14502 __memalign_hook is also called for posix_memalign and valloc.
14504 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14506 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14510 (sloww): Use mynumber union. Expand ternary operator into
14511 if-else statements.
14512 (cslow): use mynumber union.
14514 2013-12-16 Allan McRae <allan@archlinux.org>
14516 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14517 * configure: Regenerated.
14519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14522 * configure.ac: Added --enable-maintainer-mode. Check for
14523 autoconf when enabled.
14524 * configure: Regenerated.
14526 * nscd/nscd.service: New file.
14527 * nscd/nscd.tmpfiles: New file.
14529 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14532 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14533 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14534 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14535 (strstr): Add __strstr_sse2_unaligned ifunc.
14536 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14537 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14538 (strcasestr): Remove __strcasestr_sse42 ifunc.
14539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14543 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14545 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14546 * sysdeps/sh/bits/fenv.h: ... here.
14547 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14549 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14551 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14553 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14554 hypotf multiarch implementations.
14555 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14556 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14557 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14558 multiarch hypot for PPC64.
14559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14561 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14562 multiarch hypotf for PPC64.
14564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14565 modff multiarch implementations.
14566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14569 multiarch modf for PPC64.
14570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14573 multiarch modff for PPC64.
14575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14576 and logl multiarch implementations.
14577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14580 multiarch logb for PPC64.
14581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14584 multiarch logb for PPC64.
14585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14588 multiarch logb for PPC64.
14590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14591 isinff multiarch implementation.
14592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14596 multiarch isinf for PPC64.
14597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14600 multiarch isinff for PPC64.
14602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14603 finitef multiarch implementation.
14604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14608 multiarch finite for PPC64.
14609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14612 multiarch finitef for PPC64.
14614 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14615 lrint multiarch implementation.
14616 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14620 multiarch llrint for PPC64.
14621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14622 multiarch lrint for PPC64.
14624 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14625 copysignf multiarch implementation.
14626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14631 multiarch copysign for PPC64.
14632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14633 multiarch copysignf for PPC64.
14635 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14636 multiarch implementation.
14637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14645 multiarch llround for PPC64.
14646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14647 multiarch trunc for PPC64.
14648 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14649 multiarch truncf for PPC64.
14651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14652 multiarch implementation.
14653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14661 multiarch llround for PPC64.
14662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14663 multiarch round for PPC64.
14664 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14665 multiarch roundf for PPC64.
14667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14668 multiarch implementation.
14669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14673 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14675 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14677 multiarch llround for PPC64.
14678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14679 multiarch floor for PPC64.
14680 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14681 multiarch floorf for PPC64.
14683 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14684 multiarch implementation.
14685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14693 multiarch llround for PPC64.
14694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14695 multiarch ceil for PPC64.
14696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14697 multiarch ceilf for PPC64.
14699 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14700 multiarch implementation.
14701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14708 multiarch llround for PPC64.
14709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14710 multiarch lround for PPC64.
14712 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14713 multiarch implementation.
14714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14721 multiarch isnan for PPC64.
14722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14723 multiarch isnanf for PPC64.
14725 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14726 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14727 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14728 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14729 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14732 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14733 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14734 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14735 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14738 multiarch implementations.
14739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14740 (__libc_ifunc_impl_list): Likewise.
14741 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14742 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14743 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14744 multiarch stpcpy for PPC64.
14746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14747 multiarch implementations.
14748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14749 (__libc_ifunc_impl_list): Likewise.
14750 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14751 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14752 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14753 multiarch strcpy for PPC64.
14755 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14756 redefine function name.
14757 (_wordcopy_fwd_dest_aligned): Likewise.
14758 (_wordcopy_bwd_aligned): Likewise.
14759 (_wordcopy_bwd_dest_aligned): Likewise.
14760 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14761 multiarch implementations.
14762 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14763 (__libc_ifunc_impl_list): Likewise.
14764 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14765 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14766 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14768 multiarch wcscpy for PPC64.
14770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14771 multiarch implementations.
14772 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14773 (__libc_ifunc_impl_list): Likewise.
14774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14775 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14776 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14778 multiarch wcscpy for PPC64.
14780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14781 multiarch implementations.
14782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14783 (__libc_ifunc_impl_list): Likewise.
14784 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14785 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14786 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14787 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14788 multiarch wcsrchr for PPC64.
14790 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14791 multiarch implementations.
14792 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14793 (__libc_ifunc_impl_list): Likewise.
14794 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14795 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14796 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14797 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14798 multiarch wcschr for PPC64.
14800 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14801 multiarch implementations.
14802 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14803 (__libc_ifunc_impl_list): Likewise.
14804 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14805 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14806 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14807 multiarch strchrnul for PPC64.
14809 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14812 (__libc_ifunc_impl_list): Likewise.
14813 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14814 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14815 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14816 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14822 (__libc_ifunc_impl_list): Likewise.
14823 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14824 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14825 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14826 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14829 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14830 multiarch implementations.
14831 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14832 (__libc_ifunc_impl_list): Likewise.
14833 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14834 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14835 strncasecmp for PPC64.
14836 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14837 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14838 multiarch strncasecmp_l for PPC64.
14840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14841 multiarch implementations.
14842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14843 (__libc_ifunc_impl_list): Likewise.
14844 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14845 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14846 multiarch strcasecmp for PPC64.
14847 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14849 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14850 multiarch strcasecmp_l for PPC64.
14852 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14854 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14855 (__libc_ifunc_impl_list): Likewise.
14856 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14857 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14858 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14861 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14863 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14864 (__libc_ifunc_impl_list): Likewise.
14865 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14866 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14867 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14873 (__libc_ifunc_impl_list): Likewise.
14874 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14875 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14876 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14877 rawmemrchr for PPC64.
14879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14882 (__libc_ifunc_impl_list): Likewise.
14883 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14884 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14885 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14890 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14891 (__libc_ifunc_impl_list): Likewise.
14892 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14893 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14894 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14897 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14899 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14900 (__libc_ifunc_impl_list): Likewise.
14901 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14902 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14903 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14906 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14907 avoid cretion of __bzero symbol.
14908 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14910 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14912 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14914 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14915 multiarch implementations.
14916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14917 (__libc_ifunc_impl_list): Likewise.
14918 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14919 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14920 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14921 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14923 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14924 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14925 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14926 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14927 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14929 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14931 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14935 (__libc_ifunc_impl_list): Likewise.
14936 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14937 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14938 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14939 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14942 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14943 multiarch for POWER/PPC64.
14944 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14945 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14946 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14947 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14948 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14949 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14950 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14952 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14955 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14956 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14957 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
14958 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
14959 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
14960 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
14961 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14962 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14963 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14964 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14965 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14966 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14967 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14968 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14969 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14978 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14980 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14982 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14984 * benchtests/Makefile (bench): Add exp2 and log2.
14985 (LDLIBS-bench-exp2): Add -lm.
14986 (LDLIBS-bench-log2): Likewise.
14987 * benchtests/exp2-inputs: New inputs file.
14988 * benchtests/log2-inputs: New inputs file.
14989 * benchtests/log-inputs: Add new inputs.
14990 * benchtests/tan-inputs: Likewise.
14992 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14994 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14996 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
14997 (csloww2): ... from here.
14999 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15000 instead of structures.
15001 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15002 (POLYNOMIAL): Likewise.
15003 (TAYLOR_SLOW): Likewise.
15009 (sloww1); Likewise.
15010 (sloww2): Likewise.
15011 (bsloww1): Likewise.
15012 (bsloww2): Likewise.
15013 (cslow2): Likewise.
15014 (csloww): Likewise.
15015 (csloww1): Likewise.
15016 (csloww2): Likewise.
15018 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15020 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15021 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15022 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15023 * malloc/hooks.c (realloc_check): Likewise.
15025 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15026 * malloc/arena.c: Remove PER_THREAD conditional.
15027 [!PER_THREAD]: Remove code.
15028 (ptmalloc_unlock_all2): Likewise.
15029 (ptmalloc_init): Likewise.
15030 (_int_new_arena): Likewise.
15031 (arena_get2): Likewise.
15032 * malloc/hooks.c (__malloc_get_state): Likewise.
15033 (__malloc_set_state): Likewise.
15034 * malloc/malloc.c: Likewise.
15035 (struct malloc_state): Likewise.
15036 (struct malloc_par): Likewise.
15037 (__libc_realloc): Likewise.
15038 (__libc_mallopt): Likewise.
15040 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15042 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15044 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15046 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15047 macro to a function. Check for zero perturb_byte.
15048 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15050 * malloc/malloc.c: (force_reg): Remove.
15051 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15052 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15053 force_reg by atomic_forced_read.
15054 * malloc/arena.c (ptmalloc_init): Likewise.
15055 * malloc/hooks.c (top_check): Likewise.
15057 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15061 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15065 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15067 * math/auto-libm-test-in: Add tests of lgamma.
15068 * math/auto-libm-test-out: Regenerated.
15069 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15070 (M_LOG_2_SQRT_PIl): Likewise.
15071 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15072 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15074 (func_calc_desc): Add mpfr_f_f1 union field.
15075 (ARGS1): New macro.
15083 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15084 (test_functions): Add lgamma.
15085 (calc_generic_results): Handle mpfr_f_f1.
15086 * sysdeps/i386/fpu/libm-test-ulps: Update.
15087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15089 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15092 __mpn_add_n for PowerPC64/POWER7.
15093 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15094 __mpn_sub_n for PowerPC64/POWER7.
15096 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15097 __mpn_addmul_1 for PowerPC64.
15098 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15099 __mpn_submul_1 for PowerPC64.
15100 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15102 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15105 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15108 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15110 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15112 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15114 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15115 add multiarch folders.
15116 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15117 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15118 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15119 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15120 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15121 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15122 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15123 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15124 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15125 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15126 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15135 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15141 multiarch __ieee754_hypot for PowerPC32.
15142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15147 multiarch __ieee754_hypotf for PowerPC32.
15149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15150 long_double_symbol only if __logbl is defined.
15151 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15152 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15154 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15155 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15156 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15157 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15158 path for implementation.
15159 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15162 logb, and logbl multiarch implementations for PowerPC32.
15163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15168 multiarch logb for PowerPC32.
15169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15174 multiarch logbf for PowerPC32.
15175 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15179 multiarch logbl implementation for PowerPC32.
15181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15182 and modff multiarch implementations.
15183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15188 multiarch modf for PowerPC32.
15189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15194 multiarch modff for PowerPC32.
15196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15197 and lrintf multiarch implementations.
15198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15203 multiarch lrint for PowerPC32.
15204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15205 file: multiarch lrintf for PowerPC32.
15207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15208 and lroundf multiarch implementations.
15209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15216 multiarch lround for PowerPC32.
15217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15218 file: multiarch lroundf for PowerPC32.
15220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15221 copysign and copysignf multiarch implementations.
15222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15227 file: multiarch copysign for PowerPC32.
15228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15229 file: multiarch copysignf for PowerPC32.
15231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15232 and truncf multiarch implementations.
15233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15238 multiarch trunc for PowerPC32.
15239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15244 multiarch truncf for PowerPC32.
15246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15247 and roundf multiarch implementations.
15248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15253 multiarch round for PowerPC32.
15254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15259 multiarch roundf for PowerPC32.
15261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15262 and floorf multiarch implementations.
15263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15268 multiarch floor for PowerPC32.
15269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15274 multiarch floorf for PowerPC32.
15276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15277 and ceilf multiarch implementations.
15278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15283 multiarch ceil for PowerPC32.
15284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15289 multiarch ceilf for PowerPC32.
15291 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15293 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15294 FINITEF is defined.
15295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15296 and finitef multiarch implementations.
15297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15302 multiarch finite for PowerPC32.
15303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15306 file: multiarch finitef for PowerPC32.
15308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15309 and isinff multiarch implementations.
15310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15315 multiarch isinf for PowerPC32.
15316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15319 multiarch isinff for PowerPC32.
15321 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15322 alias when __isnan is defined.
15323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15324 and isnanf multiarch implementations.
15325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15334 multiarch isnan for PowerPC32.
15335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15340 multiarch isnanf for PowerPC32.
15342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15343 and sqrtf multiarch implementations.
15344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15349 multiarch sqrt for PowerPC32.
15350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15355 multiarch sqrtf for PowerPC32.
15357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15358 and llroundf multiarch implementations.
15359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15366 file: multiarch llround for PowerPC32.
15367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15368 file: multiarch llroundf for PowerPC32.
15370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15371 multiarch PowerPC32 fpu implementations.
15372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15377 multiarch llrint for PowerPC32.
15378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15387 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15389 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15391 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15393 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15394 multiarch wordcopy for PPC32.
15395 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15397 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15398 (__libc_ifunc_impl_list): Likewise.
15399 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15400 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15401 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15402 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15403 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15404 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15406 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15409 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15414 multiarch wcscpy for PPC32.
15415 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15417 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15418 (__libc_ifunc_impl_list): Likewise.
15419 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15420 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15421 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15422 sysdeps/powerpc/power6/wcscpy.c.
15424 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15425 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15427 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15429 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15431 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15432 multiarch wcsrchr for PPC32.
15433 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15435 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15436 (__libc_ifunc_impl_list): Likewise.
15437 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15438 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15439 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15440 sysdeps/powerpc/power6/wcsrchr.c.
15442 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15444 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15446 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15448 multiarch wcschr for PPc32.
15449 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15451 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15452 (__libc_ifunc_impl_list): Likewise.
15453 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15454 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15455 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15456 sysdeps/powerpc/power6/wcschr.c.
15458 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15459 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15461 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15462 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15463 file: multiarch strchr for PPC32.
15464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15467 (__libc_ifunc_impl_list): Likewise.
15469 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15471 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15473 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15475 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15476 multiarch strchrnul for PPC32.
15477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15480 (__libc_ifunc_impl_list): Likewise.
15482 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15484 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15485 multiarch strncasecmp for PPC32.
15486 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15488 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15489 multiarch strncasecmp_l for PPC32.
15490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15491 strncasecmp multiarch objects.
15492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15493 (__libc_ifunc_impl_list): Likewise.
15495 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15497 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15498 multiarch strncasecmp for PPC32.
15499 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15501 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15502 multiarch strcasecmp_l for PPC32.
15503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15506 (__libc_ifunc_impl_list): Likewise.
15508 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15510 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15512 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15513 multiarch strncmp for PPC32.
15514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15517 (__libc_ifunc_impl_list): Likewise.
15519 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15520 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15522 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15523 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15524 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15526 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15527 (__libc_ifunc_impl_list): Likewise.
15529 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15531 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15533 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15537 (__libc_ifunc_impl_list): Likewise.
15539 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15541 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15543 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15544 multiarch rawmemchr for PPC32.
15545 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15547 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15548 (__libc_ifunc_impl_list): Likewise.
15550 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15552 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15554 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15555 file: memrchr multiarch for PPC32.
15556 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15558 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15559 (__libc_ifunc_impl_list): Likewise.
15561 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15562 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15564 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15566 multiarch memchr for PPC32.
15567 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15569 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15570 (__libc_ifunc_impl_list): Likewise.
15572 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15573 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15575 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15577 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15578 file: multiarch mempcpy for PPC32.
15579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15582 (__libc_ifunc_impl_list): Likewise.
15584 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15585 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15586 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15588 multiarch bzero for PPC32.
15589 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15591 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15593 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15594 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15595 file: multiarch memset for PPC32.
15596 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15597 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15598 memset multiarch objects.
15599 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15600 (__libc_ifunc_impl_list): Likewise.
15602 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15604 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15607 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15611 (__libc_ifunc_impl_list): Likewise.
15613 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15614 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15615 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15619 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15621 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15622 multiarch memcpy for PPC32.
15623 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15625 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15626 (__libc_ifunc_impl_list): Likewise.
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15629 support multiarch for POWER/PPC32.
15630 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15632 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15634 Implies file to make multiarch folder appers before the fpu and
15635 default folder for power4 configuration.
15637 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15639 * scripts/bench.pl: Append volatile keyword to type.
15641 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15643 * sysdeps/sh/sotruss-lib.c: New file.
15644 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15646 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15650 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15653 * math/w_tgamma.c: Include <errno.h>.
15654 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15655 * math/w_tgammaf.c: Include <errno.h>.
15656 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15657 * math/w_tgammal.c: Include <errno.h>.
15658 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15659 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15660 underflow. Add more tgamma tests.
15661 * math/auto-libm-test-out: Regenerated.
15662 * sysdeps/i386/fpu/libm-test-ulps: Update.
15663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15665 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15666 sin, sinh, tan, tanh, tgamma, y0 and y1.
15667 * math/auto-libm-test-out: Regenerated.
15668 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15669 (TEST_COND_x86): Likewise.
15670 (M_E2l): Remove macro.
15672 (M_2_SQRT_PIl): Likewise.
15673 (M_SQRT_PIl): Likewise.
15674 (M_1_DIV_El): Likewise.
15675 (log_test_data): Use AUTO_TESTS_f_f.
15676 (log10_test_data): Likewise.
15677 (log1p_test_data): Likewise.
15678 (log2_test_data): Likewise.
15679 (sin_test_data): Likewise.
15680 (sin_tonearest_test_data): Likewise.
15681 (sin_towardzero_test_data): Likewise.
15682 (sin_downward_test_data): Likewise.
15683 (sin_upward_test_data): Likewise.
15684 (sinh_test_data): Likewise.
15685 (sinh_tonearest_test_data): Likewise.
15686 (sinh_towardzero_test_data): Likewise.
15687 (sinh_downward_test_data): Likewise.
15688 (sinh_upward_test_data): Likewise.
15689 (tan_test_data): Likewise.
15690 (tan_tonearest_test_data): Likewise.
15691 (tan_towardzero_test_data): Likewise.
15692 (tan_downward_test_data): Likewise.
15693 (tan_upward_test_data): Likewise.
15694 (tanh_test_data): Likewise.
15695 (tgamma_test_data): Likewise.
15696 (y0_test_data): Likewise.
15697 (y1_test_data): Likewise.
15698 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15699 (special_real_inputs): Add pi/4.
15700 * sysdeps/i386/fpu/libm-test-ulps: Update.
15701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15703 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15705 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15706 "longjmp_target" static probes.
15707 (__longjmp): Rename to __longjmp_symbol.
15708 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15709 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15710 on which longjmp to generate.
15711 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15712 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15714 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15715 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15716 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15717 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15718 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15719 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15721 __longjmp_symbol based on which __longjmp to generate.
15722 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15724 (setjmp): Rename to setjmp_symbol.
15725 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15726 (_setjmp): Rename to _setjmp_symbol.
15727 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15728 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15729 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15730 which setjmp to generate.
15731 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15732 "longjmp_target" static probes.
15734 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15736 * benchtests/README: Add note about output arguments.
15737 * benchtests/bench-sincos.c: Remove file.
15738 * benchtests/sincos-inputs: New file.
15739 * scripts/bench.pl: Identify output arguments and define
15740 static variables for them.
15742 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15745 * Makefile (INSTALL): Add install-plain.texi as the primary
15747 * manual/install-plain.texi: New file.
15748 * manual/install.texi: Include node directive only for
15749 non-plaintext output.
15751 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15753 * stdlib/longlong.h: Update from GCC.
15757 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15758 * math/w_j0f.c (y0f): Likewise.
15759 * math/w_j0l.c (__y0l): Likewise.
15760 * math/w_j1.c (y1): Likewise.
15761 * math/w_j1f.c (y1f): Likewise.
15762 * math/w_j1l.c (__y1l): Likewise
15763 * math/w_jn.c (yn): Likewise.
15764 * math/w_jnf.c (ynf): Likewise.
15765 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15766 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15767 value for Bessel function domain errors outside _SVID_ mode.
15768 Adjust sign of return value for yn (negative integer, 0).
15769 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15770 by zero in return for negative x and set sign appropriately for
15772 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15773 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15774 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15775 expectations in error cases.
15776 (y1_test_data): Likewise.
15777 (yn_test_data): Likewise.
15778 * sysdeps/i386/fpu/libm-test-ulps: Update.
15779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15781 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15783 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15784 "64" to "64-v1". Add "64-v2".
15785 (abi-64-options): Rename to ...
15786 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15787 (abi-64-condition): Rename to ...
15788 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15789 (abi-64-ld-soname): Rename to ...
15790 (abi-64-v1-ld-soname): ... this.
15791 (abi-64-v2-options): Define.
15792 (abi-64-v2-condition): Likewise.
15793 (abi-64-v2-ld-soname): Likewise.
15794 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15795 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15800 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15801 Alan Modra <amodra@gmail.com>
15803 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15804 New versions for use with the ELFv2 ABI.
15805 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15806 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15808 (struct La_ppc64v2_retval): Likewise.
15809 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15810 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15811 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15812 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15813 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15814 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15815 Do not save or restore CR.
15816 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15817 (_dl_profile_resolve): Do no save or restore CR. Support extended
15818 return values for ELFv2 ABI. Fix location of FPR return registers.
15819 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15820 updated values for _CALL_ELF == 2.
15821 (La_regs, La_retval, int_retval): Likewise.
15823 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15825 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15826 (FRAME_MIN_SIZE_PARM): Likewise.
15827 (FRAME_BACKCHAIN): Likewise.
15828 (FRAME_CR_SAVE): Likewise.
15829 (FRAME_LR_SAVE): Likewise.
15830 (FRAME_TOC_SAVE): Likewise.
15831 (FRAME_PARM_SAVE): Likewise.
15832 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15833 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15834 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15835 (call_mcount_parm_offset): New macro.
15836 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15837 (PROF): Use symbolic stack frame offsets.
15838 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15839 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15840 Redefine in terms of FRAME_MIN_SIZE.
15841 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15842 (_dl_profile_resolve): Likewise. Update comment.
15843 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15844 symbols stack frame offsets.
15845 (__sigsetjmp): Likewise.
15846 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15847 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15848 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15849 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15852 (FRAME_BACKCHAIN): Remove.
15853 (FRAME_CR_SAVE): Likewise.
15854 (FRAME_LR_SAVE): Likewise.
15855 (FRAME_COMPILER_DW): Likewise.
15856 (FRAME_LINKER_DW): Likewise.
15857 (FRAME_TOC_SAVE): Likewise.
15858 (FRAME_PARM_SAVE): Likewise.
15859 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15860 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15861 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15863 (CHECK_SP): Use symbolic stack frame offsets.
15864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15865 zone" instead of caller's parameter save area for temp storage.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15867 Likewise. Also, use symbolic stack frame offsets.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15869 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15870 our own stack frame instead of the caller's.
15871 (__socket): Use symbolic stack frame offsets.
15873 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15874 Alan Modra <amodra@gmail.com>
15876 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15878 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15879 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15880 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15882 (elf_machine_fixup_plt): Call it.
15883 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15885 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15886 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15887 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15888 r2 before calling target.
15890 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15891 Alan Modra <amodra@gmail.com>
15893 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15894 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15895 versions of macros to support ELFv2 ABI.
15896 (LOCALENTRY): New macro.
15897 (ENTRY, EALIGN): Use it.
15898 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15899 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15900 fall through into ENTRY entry point.
15901 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15902 Only define if _CALL_ELF != 2.
15904 (elf_machine_matches_host): Verify ABI version matches.
15905 (RTLD_START): Use LOCALENTRY.
15906 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15907 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15908 (PLT_ENTRY_WORDS): New macro.
15909 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15910 (elf_machine_runtime_setup): Support ELFv2 ABI.
15911 (elf_machine_fixup_plt): Likewise.
15912 (elf_machine_plt_conflict): Likewise.
15913 (resolve_ifunc): Likewise.
15914 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15918 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15920 (makecontext): Support ELFv2 ABI.
15921 * elf/elf.h (EF_PPC64_ABI): Define.
15923 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15925 * sysdeps/powerpc/powerpc64/sysdep.h
15926 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15927 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15928 (ENTRY) [ASSEMBLER]: ... but instead here ...
15929 (EALIGN) [ASSEMBLER]: ... and here.
15930 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15931 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15932 (ENTRY_2) [!ASSEMBLER]: Use it.
15933 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15934 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15935 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15936 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15937 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15939 Use PPC64_LOAD_FUNCPTR.
15941 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15943 2013-12-04 Alan Modra <amodra@gmail.com>
15945 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15946 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15947 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15948 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15950 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15951 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15952 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15953 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15954 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15955 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15957 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15960 (__makecontext): Fix incorrect CFI when backtracing out of
15961 context created via makecontext.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15963 (__setcontext): Fix incorrect CFI during switch to new context.
15964 (__novec_setcontext): Likewise.
15966 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15969 * time/strptime_l.c (__strptime_internal): Allow modifiers
15971 * time/tst-strptime.c (day_tests): Add testcase.
15973 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15975 * scripts/bench.pl: Skip over blank lines.
15977 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15980 * manual/time.texi (Calendar Time): Clarify what timezone functions
15983 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15987 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15989 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15991 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15992 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15993 * debug/memset_chk.c (__memset_chk): Likewise.
15994 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15995 * debug/strncpy_chk.c: Likewise.
15997 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16002 (__ieee754_exp): For possibly underflowing results, check size of
16003 result and force underflow exception if required.
16004 * math/auto-libm-test-in: Add more tests of exp.
16005 * math/auto-libm-test-out: Regenerated.
16006 * sysdeps/i386/fpu/libm-test-ulps: Update.
16007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16010 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16011 * math/w_exp2f.c (__exp2f): Likewise.
16012 * math/w_exp2l.c (__exp2l): Likewise.
16013 * math/auto-libm-test-in: Do not allow missing errno on exp2
16015 * math/auto-libm-test-out: Regenerated.
16017 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16020 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16021 handle filename validation.
16022 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16025 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16028 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16029 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16030 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16032 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16033 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16034 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16036 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16037 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16038 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16039 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16040 Add more erfc tests.
16041 * math/auto-libm-test-out: Regenerated.
16042 * sysdeps/i386/fpu/libm-test-ulps: Update.
16043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16045 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16046 exp2, expm1, j0 and j1.
16047 * math/auto-libm-test-out: Regenerated.
16048 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16049 (erfc_test_data): Likewise.
16050 (exp_test_data): Likewise.
16051 (exp_tonearest_test_data): Likewise.
16052 (exp_towardzero_test_data): Likewise.
16053 (exp_downward_test_data): Likewise.
16054 (exp_upward_test_data): Likewise.
16055 (exp10_test_data): Likewise.
16056 (exp2_test_data): Likewise.
16057 (expm1_test_data): Likewise.
16058 (j0_test_data): Likewise.
16059 (j1_test_data): Likewise.
16060 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16061 (input_flag_type): Add flag_xfail_rounding.
16062 (input_flags): Add xfail-rounding.
16063 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16064 (output_for_one_input_case): Handle flag_xfail_rounding.
16065 * sysdeps/i386/fpu/libm-test-ulps: Update.
16066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16068 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16071 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16074 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16077 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16078 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16079 (STAP_PROBE0): New macro.
16080 (STAP_PROBE1): Likewise.
16081 (STAP_PROBE2): Likewise.
16082 (STAP_PROBE3): Likewise.
16083 (STAP_PROBE4): Likewise.
16085 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16087 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16089 2013-12-02 Steve Ellcey <sellcey@mips.com>
16091 * benchtests/Makefile (bench): Add sqrt.
16092 (LDLIBS-bench-sqrt): New.
16093 * benchtests/sqrt-input: New.
16095 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16097 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16098 (GAIH_EAI): Likewise.
16099 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16100 (gaih_inet): Likewise.
16101 (getaddrinfo): Don't use GAIH_EAI.
16103 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16104 (struct gaih): Remove definition.
16106 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16108 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16109 Use HERRNOP directly.
16111 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16115 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16117 * math/gen-auto-libm-tests.c (test_functions): Add more
16118 single-argument functions.
16119 (special_fill_pi_2): New function.
16120 (special_fill_minus_pi_2): Likewise.
16121 (special_fill_pi_6): Likewise.
16122 (special_fill_minus_pi_6): Likewise.
16123 (special_fill_pi_3): Likewise.
16124 (special_fill_2pi_3): Likewise.
16125 (special_fill_e): Likewise.
16126 (special_fill_1_e): Likewise.
16127 (special_fill_e_minus_1): Likewise.
16128 (special_real_inputs): Add more special inputs.
16129 (output_for_one_input_case): Do not require ERANGE on underflow to
16130 zero if round-to-nearest result does not underflow to zero, unless
16131 exact results required.
16132 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16133 atan, atanh, cbrt, cos and cosh.
16134 * math/auto-libm-test-out: Regenerated.
16135 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16136 (acos_tonearest_test_data): Likewise.
16137 (acos_towardzero_test_data): Likewise.
16138 (acos_downward_test_data): Likewise.
16139 (acos_upward_test_data): Likewise.
16140 (acosh_test_data): Likewise.
16141 (asin_test_data): Likewise.
16142 (asin_tonearest_test_data): Likewise.
16143 (asin_towardzero_test_data): Likewise.
16144 (asin_upward_test_data): Likewise.
16145 (asinh_test_data): Likewise.
16146 (atan_test_data): Likewise.
16147 (atanh_test_data): Likewise.
16148 (cbrt_test_data): Likewise.
16149 (cos_test_data): Likewise.
16150 (cos_tonearest_test_data): Likewise.
16151 (cos_towardzero_test_data): Likewise.
16152 (cos_downward_test_data): Likewise.
16153 (cos_upward_test_data): Likewise.
16154 (cosh_test_data): Likewise.
16155 (cosh_tonearest_test_data): Likewise.
16156 (cosh_towardzero_test_data): Likewise.
16157 (cosh_downward_test_data): Likewise.
16158 (cosh_upward_test_data): Likewise.
16159 * sysdeps/i386/fpu/libm-test-ulps: Update.
16160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16162 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16165 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16166 * math/w_exp10f.c (__exp10f): Likewise.
16167 * math/w_exp10l.c (__exp10l): Likewise.
16168 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16169 errno settings in existing tests.
16172 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16173 precision control set to double precision.
16174 * sysdeps/i386/fpu/w_sqrt.c: New file.
16175 * math/auto-libm-test-in: Add more tests.
16176 * math/auto-libm-test-out: Update.
16178 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16179 (sqrt_test_tonearest): New function.
16180 (sqrt_towardzero_test_data): New variable.
16181 (sqrt_test_towardzero): New function.
16182 (sqrt_downward_test_data): New variable.
16183 (sqrt_test_downward): New function.
16184 (sqrt_upward_test_data): New variable.
16185 (sqrt_test_upward): New function.
16186 (main): Call the new functions.
16188 * math/gen-auto-libm-tests.c: New file.
16189 * math/auto-libm-test-in: Likewise.
16190 * math/auto-libm-test-out: New generated file.
16191 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16193 (%beautify): Add generated representations of zero.
16194 (top level): Set $auto_input and call parse_auto_input.
16195 (beautify): Remove trailing "f" from hex float constants.
16196 (parse_args): Handle XFAIL_TEST.
16197 (convert_condition): New function.
16198 (or_value): Likewise.
16199 (or_cond_value): Likewise.
16200 (generate_testfile): Handle AUTO_TESTS_* lines.
16201 (parse_auto_input): New function.
16202 * math/libm-test.inc (XFAIL_TEST): New macro.
16203 (ERRNO_UNCHANGED): Update value.
16204 (ERRNO_EDOM): Likewise.
16205 (ERRNO_ERANGE): Likewise.
16206 (IGNORE_RESULT): Likewise.
16207 (TEST_COND_flt_32): New macro.
16208 (TEST_COND_dbl_64): Likewise.
16209 (TEST_COND_ldbl_96_intel): Likewise.
16210 (TEST_COND_ldbl_96_m68k): Likewise.
16211 (TEST_COND_ldbl_128): Likewise.
16212 (TEST_COND_ldbl_128ibm): Likewise.
16213 (TEST_COND_long32): Likewise.
16214 (TEST_COND_long64): Likewise.
16215 (TEST_COND_before_rounding): Likewise.
16216 (TEST_COND_after_rounding): Likewise.
16217 (enable_test): Handle XFAIL_TEST flag.
16218 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16219 with finite results.
16220 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16221 auto-libm-test-out.
16223 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16224 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16227 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16228 __tls_get_addr_internal instead of __tls_get_offset in order to
16229 avoid GOT pointer dependency. Make rtld export
16230 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16231 __tls_get_addr since we are a __tls_get_offset platform.
16232 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16233 GOT pointer being set up before.
16234 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16236 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16238 * manual/math.texi (Errors in Math Functions): Document accuracy
16242 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16243 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16244 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16245 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16251 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16252 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16255 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16259 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16260 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16261 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16262 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16263 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16265 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16267 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16269 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16270 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16271 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16272 atomic-feupdateenv and flt-rounds.
16273 * sysdeps/powerpc/nofpu/Versions (libc): Add
16274 __atomic_feholdexcept, __atomic_feclearexcept,
16275 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16276 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16277 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16278 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16279 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16284 * manual/arith.texi (FP Exceptions): Document that exceptions may
16285 not be raised when matherr is used.
16286 (Math Error Reporting): Document overflow in directed rounding
16287 modes. Document that errno may not be set when finite values are
16288 returned on overflow. Document intent to set errno on underflow
16289 only for underflow to zero.
16292 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16293 round-to-nearest then adjust result for other rounding modes.
16294 * include/fenv.h (fegetround): Use libm_hidden_proto.
16295 * math/fegetround.c (fegetround): Use libm_hidden_def.
16296 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16297 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16298 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16299 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16301 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16302 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16303 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16304 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16306 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16309 * nss/Versions (libnss_files): Add
16310 _nss_files_gethostbyname3_r.
16311 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16313 (HOST_DB_LOOKUP): Remove macro.
16314 (_nss_files_gethostbyname_r): Implement function without the
16315 HOST_DB_LOOKUP macro.
16316 (_nss_files_gethostbyname2_r): Likewise.
16318 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16320 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16322 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16324 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16325 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16328 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16330 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16331 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16332 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16333 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16334 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16335 __fe_nomask_env_priv and attribute_hidden.
16336 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16337 (libc_feupdateenv_test_ppc): Likewise.
16338 (libc_feresetround_ppc): Likewise.
16339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16340 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16341 compat_symbol macro.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16343 (__fe_nomask_env): Likewise.
16344 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16346 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16348 * string/Makefile: Remove ifunc tests.
16349 * string/test-string.h: Define TEST_IFUNC.
16350 * string/test-bcopy-ifunc.c: Remove.
16351 * string/test-bzero-ifunc.c: Likewise.
16352 * string/test-memccpy-ifunc.c: Likewise.
16353 * string/test-memchr-ifunc.c: Likewise.
16354 * string/test-memcmp-ifunc.c: Likewise.
16355 * string/test-memcpy-ifunc.c: Likewise.
16356 * string/test-memmem-ifunc.c: Likewise.
16357 * string/test-memmove-ifunc.c: Likewise.
16358 * string/test-mempcpy-ifunc.c: Likewise.
16359 * string/test-memrchr-ifunc.c: Likewise.
16360 * string/test-memset-ifunc.c: Likewise.
16361 * string/test-rawmemchr-ifunc.c: Likewise.
16362 * string/test-stpcpy-ifunc.c: Likewise.
16363 * string/test-stpncpy-ifunc.c: Likewise.
16364 * string/test-strcasecmp-ifunc.c: Likewise.
16365 * string/test-strcasestr-ifunc.c: Likewise.
16366 * string/test-strcat-ifunc.c: Likewise.
16367 * string/test-strchr-ifunc.c: Likewise.
16368 * string/test-strchrnul-ifunc.c: Likewise.
16369 * string/test-strcmp-ifunc.c: Likewise.
16370 * string/test-strcpy-ifunc.c: Likewise.
16371 * string/test-strcspn-ifunc.c: Likewise.
16372 * string/test-strlen-ifunc.c: Likewise.
16373 * string/test-strncasecmp-ifunc.c: Likewise.
16374 * string/test-strncat-ifunc.c: Likewise.
16375 * string/test-strncmp-ifunc.c: Likewise.
16376 * string/test-strncpy-ifunc.c: Likewise.
16377 * string/test-strnlen-ifunc.c: Likewise.
16378 * string/test-strpbrk-ifunc.c: Likewise.
16379 * string/test-strrchr-ifunc.c: Likewise.
16380 * string/test-strspn-ifunc.c: Likewise.
16381 * string/test-strstr-ifunc.c: Likewise.
16383 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16385 * benchtests/Makefile: Remove ifunc tests.
16386 * benchtests/bench-string.h: Define TEST_IFUNC.
16387 * benchtests/bench-bcopy-ifunc.c: Remove.
16388 * benchtests/bench-bzero-ifunc.c: Likewise.
16389 * benchtests/bench-memccpy-ifunc.c: Likewise.
16390 * benchtests/bench-memchr-ifunc.c: Likewise.
16391 * benchtests/bench-memcmp-ifunc.c: Likewise.
16392 * benchtests/bench-memcpy-ifunc.c: Likewise.
16393 * benchtests/bench-memmem-ifunc.c: Likewise.
16394 * benchtests/bench-memmove-ifunc.c: Likewise.
16395 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16396 * benchtests/bench-memrchr-ifunc.c: Likewise.
16397 * benchtests/bench-memset-ifunc.c: Likewise.
16398 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16399 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16400 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16401 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16402 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16403 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16404 * benchtests/bench-strcat-ifunc.c: Likewise.
16405 * benchtests/bench-strchr-ifunc.c: Likewise.
16406 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16407 * benchtests/bench-strcmp-ifunc.c: Likewise.
16408 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16409 * benchtests/bench-strcpy-ifunc.c: Likewise.
16410 * benchtests/bench-strcspn-ifunc.c: Likewise.
16411 * benchtests/bench-strlen-ifunc.c: Likewise.
16412 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16413 * benchtests/bench-strncat-ifunc.c: Likewise.
16414 * benchtests/bench-strncmp-ifunc.c: Likewise.
16415 * benchtests/bench-strncpy-ifunc.c: Likewise.
16416 * benchtests/bench-strnlen-ifunc.c: Likewise.
16417 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16418 * benchtests/bench-strrchr-ifunc.c: Likewise.
16419 * benchtests/bench-strsep-ifunc.c: Likewise.
16420 * benchtests/bench-strspn-ifunc.c: Likewise.
16421 * benchtests/bench-strstr-ifunc.c: Likewise.
16423 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16425 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16427 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16429 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16430 * rt/aio.h: Likewise.
16431 * sysdeps/gnu/bits/utmp.h: Likewise.
16432 * sysdeps/gnu/bits/utmpx.h: Likewise.
16433 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16434 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16435 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16436 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16437 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16438 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16439 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16440 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16441 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16442 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16443 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16444 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16445 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16447 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16448 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16449 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16450 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16451 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16452 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16453 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16454 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16455 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16456 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16457 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16459 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16460 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16463 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16465 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16466 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16467 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16468 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16469 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16470 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16471 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16472 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16473 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16474 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16476 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16479 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16480 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16482 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16484 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16485 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16488 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16490 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16491 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16492 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16493 (__fesetround): Remove define.
16494 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16495 rounding and exceptions handling.
16496 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16497 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16498 (__fe_nomask_env): Likewise.
16499 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16500 __fegetround instead of fegetround.
16501 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16502 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16504 2013-11-21 Roland McGrath <roland@hack.frob.com>
16506 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16509 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16511 2013-11-21 Meador Inge <meadori@codesourcery.com>
16514 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16515 (encrypt_r): Likewise.
16516 * malloc/obstack.h (obstack_free): Likewise.
16517 * posix/unistd.h (encrypt): Likewise.
16519 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16521 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16522 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16523 DL_CALL_DT_FINI() that call the functions directly.
16524 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16525 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16526 * elf/dl-fini.c: Likewise.
16528 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16530 * malloc/hooks.c (memalign_check): Add alignment rounding.
16531 * malloc/malloc.c (_mid_memalign): New function.
16532 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16533 Implement by calling _mid_memalign.
16534 * manual/probes.texi (Memory Allocation Probes): Remove
16535 memory_valloc_retry and memory_pvalloc_retry.
16537 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16539 * locale/programs/locarchive.c (open_archive): Add const
16540 qualifier to ARCHIVEFNAME and copy default fname to
16544 * libio/tst-widetext.input: Rename Oriya to Odia.
16545 * locale/iso-639.def: Likewise.
16547 * manual/probes.texi (Mathematical Function Probes): Add
16548 documentation for sin, cos, asin and acos probes.
16549 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16550 (__sin32): Add slowasin probe.
16551 (__cos32): Add slowacos probe.
16552 (__mpsin): Add slowsin probe.
16553 (__mpcos): Add slowcos probe.
16555 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16558 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16559 thread-local __sim_exceptions_thread and global
16560 __sim_exceptions_global.
16561 (__sim_disabled_exceptions): Change to thread-local
16562 __sim_disabled_exceptions_thread and global
16563 __sim_disabled_exceptions_global.
16564 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16565 and global __sim_round_mode_global.
16566 (__simulate_exceptions): Use thread-local floating-point state and
16567 set global state from it as needed.
16568 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16569 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16570 __sim_round_mode_thread.
16571 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16572 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16573 and global __sim_exceptions_global.
16574 (__sim_disabled_exceptions): Change to thread-local
16575 __sim_disabled_exceptions_thread and global
16576 __sim_disabled_exceptions_global.
16577 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16578 and global __sim_round_mode_global.
16579 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16580 (SIM_SET_GLOBAL): Likewise.
16581 * sysdeps/powerpc/soft-fp/sfp-machine.h
16582 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16583 __sim_round_mode_thread.
16584 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16585 __sim_disabled_exceptions_thread.
16586 (__sim_exceptions): Change to __sim_exceptions_thread.
16587 (__sim_disabled_exceptions): Change to
16588 __sim_disabled_exceptions_thread.
16589 (__sim_round_mode): Change to __sim_round_mode_thread.
16590 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16591 thread-local floating-point state and set global state from it as
16593 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16594 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16595 (__sim_disabled_exceptions): Remove extern declaration.
16596 (feenableexcept): Use thread-local floating-point state and set
16597 global state from it as needed.
16598 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16599 extern declaration.
16600 (__sim_disabled_exceptions): Likewise.
16601 (__sim_round_mode): Likewise.
16602 (__fegetenv): Use thread-local floating-point state.
16603 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16604 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16605 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16606 floating-point state and set global state from it as needed.
16607 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16608 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16609 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16611 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16612 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16614 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16615 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16616 Use __sim_round_mode_thread.
16617 * math/test-fenv-tls.c: New file.
16618 * math/Makefile (tests): Add test-fenv-tls.
16619 ($(objpfx)test-fenv-tls): Depend on
16620 $(common-objpfx)nptl/libpthread.so.
16622 2013-11-19 Andreas Schwab <schwab@suse.de>
16624 * locale/programs/locale.c (show_info): Decode wordarray elements.
16625 * locale/categories.def (LC_MONETARY): Add element for
16626 _NL_MONETARY_CRNCYSTR.
16627 * locale/C-monetary.c (conversion_rate): New variable.
16628 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16631 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16633 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16634 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16636 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16638 * elf/Makefile (tst-auxv): New test.
16639 * elf/tst-auxv.c: New
16640 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16642 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16644 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16645 (hidden_proto): Caller changed.
16646 (hidden_tls_proto): New macro.
16647 (libc_hidden_tls_proto): Likewise.
16648 (rtld_hidden_tls_proto): Likewise.
16649 (libm_hidden_tls_proto): Likewise.
16650 (libresolv_hidden_tls_proto): Likewise.
16651 (librt_hidden_tls_proto): Likewise.
16652 (libdl_hidden_tls_proto): Likewise.
16653 (libnss_files_hidden_tls_proto): Likewise.
16654 (libnsl_hidden_tls_proto): Likewise.
16655 (libnss_nisplus_hidden_tls_proto): Likewise.
16656 (libutil_hidden_tls_proto): Likewise.
16658 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16661 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16662 (decompose_rpath): Defer expansion to fillin_rpath.
16663 (_dl_init_paths): Pass linkmap to fillin_rpath.
16665 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16667 * benchtests/Makefile: Add strsep.
16668 * benchtests/bench-strsep.c: New file: strsep benchtest.
16669 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16671 2013-11-18 Andreas Schwab <schwab@suse.de>
16673 * locale/programs/locale.c (show_info) [case byte]: Check for
16674 '\377' instead of '\177'.
16675 * locale/C-monetary.c (not_available): Always use "\377".
16676 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16677 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16678 detect unavailable sign_posn locale elements.
16679 * locale/localeconv.c (__localeconv): For grouping and
16680 mon_grouping handle "\177" and "\377" like no grouping.
16681 (INT_ELEM): New macro. Use it to set all numeric members.
16682 * locale/programs/ld-monetary.c (monetary_read)
16683 <tok_mon_grouping>: Normalize single -1 to the empty string.
16684 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16687 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16690 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16691 when we match (nil).
16692 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16694 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16696 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16697 (NO_TEST_INLINE): Update value.
16698 (ERRNO_UNCHANGED): Likewise.
16699 (ERRNO_EDOM): Likewise.
16700 (ERRNO_ERANGE): Likewise.
16701 (IGNORE_RESULT): Likewise.
16702 (check_float_internal): Check signs of NaN results if
16703 TEST_NAN_SIGN used.
16704 (check_complex): Pass TEST_NAN_SIGN flag through to second
16705 check_float_internal call.
16706 (copysign_test_data): Add tests with quiet NaNs as second
16707 argument. Use TEST_NAN_SIGN.
16708 (fabs_test_data): Add test of negative quiet NaN argument. Use
16710 (signbit_test_data): Add tests of quiet NaN argument.
16711 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16713 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16715 (parse_args): Handle function results specified as IGNORE.
16716 * math/libm-test.inc (IGNORE_RESULT): New macro.
16717 (check_float_internal): Do not check numerical result if flag
16719 (check_complex): Pass through IGNORE_RESULT to second
16720 check_float_internal call.
16721 (check_int): Do not check numerical result if flag IGNORE_RESULT
16723 (check_long): Likewise.
16724 (check_bool): Likewise.
16725 (check_longlong): Likewise.
16726 (lrint_test_data): Add tests of infinite and NaN arguments.
16727 (lrint_tonearest_test_data): Likewise.
16728 (lrint_towardzero_test_data): Likewise.
16729 (lrint_downward_test_data): Likewise.
16730 (lrint_upward_test_data): Likewise.
16731 (llrint_test_data): Likewise.
16732 (llrint_tonearest_test_data): Likewise.
16733 (llrint_towardzero_test_data): Likewise.
16734 (llrint_downward_test_data): Likewise.
16735 (llrint_upward_test_data): Likewise.
16736 (lround_test_data): Likewise.
16737 (llround_test_data): Likewise.
16739 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16740 (ERRNO_UNCHANGED): Update value.
16741 (ERRNO_EDOM): Likewise.
16742 (ERRNO_ERANGE): Likewise.
16743 (NO_TEST_INLINE_FLOAT): New macro.
16744 (NO_TEST_INLINE_DOUBLE): Likewise.
16745 (enable_test): New function.
16746 (RUN_TEST_f_f): Check enable_test before running test.
16747 (RUN_TEST_2_f): Likewise.
16748 (RUN_TEST_fff_f): Likewise.
16749 (RUN_TEST_c_f): Likewise.
16750 (RUN_TEST_f_f1): Likewise.
16751 (RUN_TEST_fF_f1): Likewise.
16752 (RUN_TEST_fI_f1): Likewise.
16753 (RUN_TEST_ffI_f1): Likewise.
16754 (RUN_TEST_c_c): Likewise.
16755 (RUN_TEST_cc_c): Likewise.
16756 (RUN_TEST_f_i): Likewise.
16757 (RUN_TEST_f_i_tg): Likewise.
16758 (RUN_TEST_ff_i_tg): Likewise.
16759 (RUN_TEST_f_b): Likewise.
16760 (RUN_TEST_f_b_tg): Likewise.
16761 (RUN_TEST_f_l): Likewise.
16762 (RUN_TEST_f_L): Likewise.
16763 (RUN_TEST_fFF_11): Likewise.
16764 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16766 (cosh_test_data): Likewise.
16767 (exp_test_data): Likewise.
16768 (expm1_test_data): Likewise.
16769 (hypot_test_data): Likewise.
16770 (pow_test_data): Likewise.
16771 (sinh_test_data): Likewise.
16772 (tanh_test_data): Likewise.
16773 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16776 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16777 tests with quiet NaN input and output.
16778 (acosh_test_data): Likewise.
16779 (asin_test_data): Likewise.
16780 (asinh_test_data): Likewise.
16781 (atan_test_data): Likewise.
16782 (atanh_test_data): Likewise.
16783 (atan2_test_data): Likewise.
16784 (cbrt_test_data): Likewise.
16785 (cos_test_data): Likewise.
16786 (cosh_test_data): Likewise.
16787 (erf_test_data): Likewise.
16788 (erfc_test_data): Likewise.
16789 (exp_test_data): Likewise.
16790 (exp10_test_data): Likewise.
16791 (exp2_test_data): Likewise.
16792 (expm1_test_data): Likewise.
16793 (hypot_test_data): Likewise.
16794 (j0_test_data): Likewise.
16795 (j1_test_data): Likewise.
16796 (jn_test_data): Likewise.
16797 (lgamma_test_data): Likewise.
16798 (log_test_data): Likewise.
16799 (log10_test_data): Likewise.
16800 (log1p_test_data): Likewise.
16801 (log2_test_data): Likewise.
16802 (pow_test_data): Likewise.
16803 (scalb_test_data): Likewise.
16804 (sin_test_data): Likewise.
16805 (sincos_test_data): Likewise.
16806 (sinh_test_data): Likewise.
16807 (tan_test_data): Likewise.
16808 (tanh_test_data): Likewise.
16809 (tgamma_test_data): Likewise.
16810 (y0_test_data): Likewise.
16811 (y1_test_data): Likewise.
16812 (yn_test_data): Likewise.
16815 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16816 argument being NaN and avoid computations with second argument in
16818 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16819 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16820 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16822 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16824 * locale/iso-639.def: Add Chitwani Tharu (the).
16826 2013-11-14 Andreas Schwab <schwab@suse.de>
16828 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16829 word instead of empty string.
16831 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16834 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16836 (__fe_nomask_env): Likewise.
16838 2013-11-13 Steve Ellcey <sellcey@mips.com>
16840 * benchtests/bench-timing.h: Include time.h.
16842 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16845 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16847 * sysdeps/unix/sysv/linux/configure: Regenerated.
16849 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16852 * stdlib/strtod_l.c (round_and_return): Do not consider
16853 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16854 exponent one less than half the least subnormal exponent.
16855 * stdlib/test-strtod-round-data: Add more tests.
16856 * stdlib/tst-strtod-round.c (tests): Regenerated.
16858 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16861 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16862 (__fe_mask_env): Likewise.
16863 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16864 libm_hidden_proto and add function prototype.
16865 (__fe_mask_env): Add function prototype.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16867 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16869 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16871 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16873 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16875 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16876 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16878 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16880 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16881 of htab_find_slot().
16883 2013-11-11 David S. Miller <davem@davemloft.net>
16886 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16887 symbol in the non-vis3 case in static builds.
16888 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16889 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16890 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16891 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16893 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16896 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16899 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16901 * benchtests/Makefile: Add bench-strtod.
16902 * benchtests/bench-strtod.c: New file: strtod benchtest
16904 2013-11-11 Andreas Schwab <schwab@suse.de>
16907 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16908 terminating NUL in key length.
16910 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16913 Add artificial ODP entry for vDSO symbol for PPC64.
16914 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16915 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16917 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16920 * nss/getent.c (services_keys): Recognize services starting with digit.
16922 2013-11-06 David S. Miller <davem@davemloft.net>
16925 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16926 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16928 2013-11-06 Will Newton <will.newton@linaro.org>
16930 * manual/memory.texi (Malloc Examples): Remove register
16931 keyword from examples.
16933 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16935 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16937 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16940 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16941 depending on [__GCC_IEC_559 > 0].
16942 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16943 depending on [__GCC_IEC_559_COMPLEX > 0].
16945 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16947 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16950 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16952 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16954 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16957 * malloc/malloc (malloc_info): Do not handle first bin as
16960 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16962 * locale/iso-639.def: Add Central Nahuatl (nhn).
16964 2013-11-01 Bruno Haible <bruno@clisp.org>
16967 * manual/math.texi (BSD Random): Specify range upper bound as
16970 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16972 * locale/iso-639.def: Add Meadow Mari (mhr).
16974 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16976 [BZ #14752], [BZ #15763]
16977 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16979 * rt/tst_shm.c: Add test for escaping directory.
16981 2013-10-31 Andreas Schwab <schwab@suse.de>
16984 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16985 followed by 'x' as part of digit sequence.
16986 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16988 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16991 * configure.ac: allow GNU Make 4.0 and greater.
16992 * configure: Regenerated.
16994 2013-10-30 Will Newton <will.newton@linaro.org>
16997 * malloc/hooks.c (memalign_check): Limit alignment to the
16998 maximum representable power of two.
16999 * malloc/malloc.c (__libc_memalign): Likewise.
17000 * malloc/tst-memalign.c (do_test): Add test for very
17001 large alignment values.
17002 * malloc/tst-posix_memalign.c (do_test): Likewise.
17004 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17007 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17008 (munmap_chunk): Likewise.
17009 (mremap_chunk): Likewise.
17011 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17014 * stdlib/div.c (div): Remove obsolete code.
17015 * stdlib/ldiv.c (ldiv): Likewise.
17016 * stdlib/lldiv.c (lldiv): Likewise.
17018 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17021 * nss/nss_files/files-XXX.c (get_contents_ret): New
17023 (get_contents): New function.
17024 (internal_getent): Use it. Expand size of LINEBUFLEN.
17026 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17028 * configure.in: Moved to ...
17029 * configure.ac: ... here. Change reference to configure.in
17031 * sysdeps/arm/preconfigure.ac: ... here.
17032 configure.in to configure.ac.
17033 * sysdeps/gnu/configure.in: Moved to ...
17034 * sysdeps/gnu/configure.ac: ... here.
17035 * sysdeps/i386/configure.in: Moved to ...
17036 * sysdeps/i386/configure.ac: ... here.
17037 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17038 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17039 * sysdeps/mach/configure.in: Moved to ...
17040 * sysdeps/mach/configure.ac: ... here.
17041 * sysdeps/mach/hurd/configure.in: Moved to ...
17042 * sysdeps/mach/hurd/configure.ac: ... here.
17043 * sysdeps/powerpc/configure.in: Moved to ...
17044 * sysdeps/powerpc/configure.ac: ... here.
17045 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17046 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17047 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17048 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17049 * sysdeps/s390/s390-32/configure.in: Moved to ...
17050 * sysdeps/s390/s390-32/configure.ac: ... here.
17051 * sysdeps/s390/s390-64/configure.in: Moved to ...
17052 * sysdeps/s390/s390-64/configure.ac: ... here.
17053 * sysdeps/sh/configure.in: Moved to ...
17054 * sysdeps/sh/configure.ac: ... here.
17055 * sysdeps/sparc/configure.in: Moved to ...
17056 * sysdeps/sparc/configure.ac: ... here.
17057 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17058 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17059 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17060 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17061 * sysdeps/x86_64/configure.in: Moved to ...
17062 * sysdeps/x86_64/configure.ac: ... here.
17063 * sysdeps/x86_64/preconfigure.in: Moved to ...
17064 * sysdeps/x86_64/preconfigure.ac: ... here.
17065 * aclocal.m4: Change reference to configure.in to configure.ac.
17066 * config.h.in: Likewise.
17067 * manual/install.texi: Likewise.
17068 * manual/maint.texi: Likewise.
17069 * Makefile: Likewise.
17070 * malloc/Makefile: Likewise.
17071 * nscd/Makefile: Likewise.
17072 * Makeconfig: Change reference to configure.in and
17073 preconfigure.in to configure.ac and preconfigure.ac
17075 * INSTALL: Regenerated.
17076 * configure: Likewise.
17077 * sysdeps/gnu/configure: Likewise.
17078 * sysdeps/i386/configure: Likewise.
17079 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17080 * sysdeps/mach/configure: Likewise.
17081 * sysdeps/mach/hurd/configure: Likewise.
17082 * sysdeps/powerpc/configure: Likewise.
17083 * sysdeps/powerpc/powerpc32/configure: Likewise.
17084 * sysdeps/powerpc/powerpc64/configure: Likewise.
17085 * sysdeps/s390/s390-32/configure: Likewise.
17086 * sysdeps/s390/s390-64/configure: Likewise.
17087 * sysdeps/sh/configure: Likewise.
17088 * sysdeps/sparc/configure: Likewise.
17089 * sysdeps/unix/sysv/linux/configure: Likewise.
17090 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17091 * sysdeps/x86_64/configure: Likewise.
17092 * sysdeps/x86_64/preconfigure: Likewise.
17094 2013-10-29 Andreas Schwab <schwab@suse.de>
17096 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17098 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17100 * benchtests/pow-inputs: Add new inputs.
17102 * benchtests/exp-inputs: Add new inputs.
17104 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17105 conditional check for return value.
17106 (__cos32): Likewise.
17108 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17110 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17111 to provide a boost for large inputs with word alignment.
17112 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17113 implementation based on optimized PPC64 strcpy.
17114 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17115 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17116 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17117 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17119 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17122 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17124 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17127 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17128 * time/tst-strptime.c (day_tests): Add testcase.
17130 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17133 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17135 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17138 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17139 MAP_FAILED on error.
17141 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17144 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17145 heap for large requests.
17147 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17150 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17151 result if the result has no associated interface.
17152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17153 interface for all 127.X.Y.Z addresses.
17155 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17157 * locale/iso-639.def: Add Ligurian (lij)
17159 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17162 * sunrpc/rpc_main.c: Document rpcgen -5.
17164 2013-10-19 Michael Stahl <mstahl@redhat.com>
17166 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17168 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17171 * posix/glob.c: Match only directories when trailing slash is present.
17172 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17173 (main): Add testcase.
17175 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17178 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17180 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17182 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17183 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17184 AUTH_DES and cindex for FIPS 140-2.
17185 (DES Encryption): Add cindex FIPS 46-3.
17187 * locale/locarchive.h (struct locarhandle): Add fname.
17188 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17189 if an optional argument was specified to --list-archive,
17191 * locale/programs/locarchive.c (show_archive_content): Take new
17192 argument fname and pass it via ah.fname to open_archive.
17193 * locale/programs/localedef.h: Update decl.
17194 (open_archive): If AH->fname is non-null, open that file
17195 rather than the default file name, and don't ignore ENOENT.
17196 (create_archive): Set AH.fname to NULL.
17197 (delete_locales_from_archive): Likewise.
17198 (add_locales_to_archive): Likewise.
17199 * locale/programs/locfile.c (write_all_categories): Likewise.
17201 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17202 Aldy Hernandez <aldyh@redhat.com>
17204 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17205 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17206 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17207 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17208 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17209 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17210 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17211 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17212 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17213 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17214 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17215 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17216 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17217 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17218 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17220 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17222 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17224 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17226 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17227 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17229 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17230 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17231 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17232 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17234 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17235 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17236 * sysdeps/powerpc/preconfigure: Likewise.
17237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17239 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17240 Replace contents of file by #include of <fenv_libc.h>.
17241 * sysdeps/powerpc/soft-fp/sfp-machine.h
17242 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17244 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17245 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17246 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17247 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17253 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17255 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17257 Allow copysignl PLT reference to be missing.
17259 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17260 Joseph Myers <joseph@codesourcery.com
17263 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17265 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17267 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17269 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17270 * elf/tst-tls1.c: Likewise.
17271 * elf/tst-tls10.h: Likewise.
17272 * elf/tst-tls14.c: Likewise.
17273 * elf/tst-tls2.c: Likewise.
17274 * elf/tst-tls3.c: Likewise.
17275 * elf/tst-tls4.c: Likewise.
17276 * elf/tst-tls5.c: Likewise.
17277 * elf/tst-tls6.c: Likewise.
17278 * elf/tst-tls7.c: Likewise.
17279 * elf/tst-tls8.c: Likewise.
17280 * elf/tst-tls9.c: Likewise.
17281 * elf/tst-tlsmod1.c: Likewise.
17282 * elf/tst-tlsmod13.c: Likewise.
17283 * elf/tst-tlsmod13a.c: Likewise.
17284 * elf/tst-tlsmod14a.c: Likewise.
17285 * elf/tst-tlsmod16a.c: Likewise.
17286 * elf/tst-tlsmod16b.c: Likewise.
17287 * elf/tst-tlsmod2.c: Likewise.
17288 * elf/tst-tlsmod3.c: Likewise.
17289 * elf/tst-tlsmod4.c: Likewise.
17290 * elf/tst-tlsmod5.c: Likewise.
17291 * elf/tst-tlsmod6.c: Likewise.
17293 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17296 * malloc/malloc.c: remove checks for statistics.
17298 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17301 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17302 * inet/tst-network.c: Add testcase.
17304 2013-10-17 Andreas Schwab <schwab@suse.de>
17307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17308 to determine canonical name.
17310 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17312 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17313 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17315 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17317 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17336 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17337 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17339 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17340 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17342 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17345 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17371 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17374 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17375 make result into a quiet NaN.
17377 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17379 * soft-fp/adddf3.c: Fix horizontal whitespace.
17380 * soft-fp/addsf3.c: Likewise.
17381 * soft-fp/addtf3.c: Likewise.
17382 * soft-fp/divdf3.c: Likewise.
17383 * soft-fp/divsf3.c: Likewise.
17384 * soft-fp/divtf3.c: Likewise.
17385 * soft-fp/double.h: Likewise.
17386 * soft-fp/eqdf2.c: Likewise.
17387 * soft-fp/eqsf2.c: Likewise.
17388 * soft-fp/eqtf2.c: Likewise.
17389 * soft-fp/extenddftf2.c: Likewise.
17390 * soft-fp/extended.h: Likewise.
17391 * soft-fp/extendsfdf2.c: Likewise.
17392 * soft-fp/extendsftf2.c: Likewise.
17393 * soft-fp/extendxftf2.c: Likewise.
17394 * soft-fp/fixdfdi.c: Likewise.
17395 * soft-fp/fixdfsi.c: Likewise.
17396 * soft-fp/fixdfti.c: Likewise.
17397 * soft-fp/fixsfdi.c: Likewise.
17398 * soft-fp/fixsfsi.c: Likewise.
17399 * soft-fp/fixsfti.c: Likewise.
17400 * soft-fp/fixtfdi.c: Likewise.
17401 * soft-fp/fixtfsi.c: Likewise.
17402 * soft-fp/fixtfti.c: Likewise.
17403 * soft-fp/fixunsdfdi.c: Likewise.
17404 * soft-fp/fixunsdfsi.c: Likewise.
17405 * soft-fp/fixunsdfti.c: Likewise.
17406 * soft-fp/fixunssfdi.c: Likewise.
17407 * soft-fp/fixunssfsi.c: Likewise.
17408 * soft-fp/fixunssfti.c: Likewise.
17409 * soft-fp/fixunstfdi.c: Likewise.
17410 * soft-fp/fixunstfsi.c: Likewise.
17411 * soft-fp/fixunstfti.c: Likewise.
17412 * soft-fp/floatdidf.c: Likewise.
17413 * soft-fp/floatdisf.c: Likewise.
17414 * soft-fp/floatditf.c: Likewise.
17415 * soft-fp/floatsidf.c: Likewise.
17416 * soft-fp/floatsisf.c: Likewise.
17417 * soft-fp/floatsitf.c: Likewise.
17418 * soft-fp/floattidf.c: Likewise.
17419 * soft-fp/floattisf.c: Likewise.
17420 * soft-fp/floattitf.c: Likewise.
17421 * soft-fp/floatundidf.c: Likewise.
17422 * soft-fp/floatundisf.c: Likewise.
17423 * soft-fp/floatunditf.c: Likewise.
17424 * soft-fp/floatunsidf.c: Likewise.
17425 * soft-fp/floatunsisf.c: Likewise.
17426 * soft-fp/floatunsitf.c: Likewise.
17427 * soft-fp/floatuntidf.c: Likewise.
17428 * soft-fp/floatuntisf.c: Likewise.
17429 * soft-fp/floatuntitf.c: Likewise.
17430 * soft-fp/fmadf4.c: Likewise.
17431 * soft-fp/fmasf4.c: Likewise.
17432 * soft-fp/fmatf4.c: Likewise.
17433 * soft-fp/gedf2.c: Likewise.
17434 * soft-fp/gesf2.c: Likewise.
17435 * soft-fp/getf2.c: Likewise.
17436 * soft-fp/ledf2.c: Likewise.
17437 * soft-fp/lesf2.c: Likewise.
17438 * soft-fp/letf2.c: Likewise.
17439 * soft-fp/muldf3.c: Likewise.
17440 * soft-fp/mulsf3.c: Likewise.
17441 * soft-fp/multf3.c: Likewise.
17442 * soft-fp/negdf2.c: Likewise.
17443 * soft-fp/negsf2.c: Likewise.
17444 * soft-fp/negtf2.c: Likewise.
17445 * soft-fp/op-1.h: Likewise.
17446 * soft-fp/op-2.h: Likewise.
17447 * soft-fp/op-4.h: Likewise.
17448 * soft-fp/op-8.h: Likewise.
17449 * soft-fp/op-common.h: Likewise.
17450 * soft-fp/quad.h: Likewise.
17451 * soft-fp/single.h: Likewise.
17452 * soft-fp/soft-fp.h: Likewise.
17453 * soft-fp/sqrtdf2.c: Likewise.
17454 * soft-fp/sqrtsf2.c: Likewise.
17455 * soft-fp/sqrttf2.c: Likewise.
17456 * soft-fp/subdf3.c: Likewise.
17457 * soft-fp/subsf3.c: Likewise.
17458 * soft-fp/subtf3.c: Likewise.
17459 * soft-fp/truncdfsf2.c: Likewise.
17460 * soft-fp/trunctfdf2.c: Likewise.
17461 * soft-fp/trunctfsf2.c: Likewise.
17462 * soft-fp/trunctfxf2.c: Likewise.
17463 * soft-fp/unorddf2.c: Likewise.
17464 * soft-fp/unordsf2.c: Likewise.
17465 * soft-fp/unordtf2.c: Likewise.
17467 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17469 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17470 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17472 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17474 * elf/dl-libc.c: Clear initfini list after freeing.
17476 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17478 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17479 * soft-fp/addsf3.c: Likewise.
17480 * soft-fp/addtf3.c: Likewise.
17481 * soft-fp/divdf3.c: Likewise.
17482 * soft-fp/divsf3.c: Likewise.
17483 * soft-fp/divtf3.c: Likewise.
17484 * soft-fp/double.h: Likewise.
17485 * soft-fp/eqdf2.c: Likewise.
17486 * soft-fp/eqsf2.c: Likewise.
17487 * soft-fp/eqtf2.c: Likewise.
17488 * soft-fp/extenddftf2.c: Likewise.
17489 * soft-fp/extended.h: Likewise.
17490 * soft-fp/extendsfdf2.c: Likewise.
17491 * soft-fp/extendsftf2.c: Likewise.
17492 * soft-fp/extendxftf2.c: Likewise.
17493 * soft-fp/fixdfdi.c: Likewise.
17494 * soft-fp/fixdfsi.c: Likewise.
17495 * soft-fp/fixdfti.c: Likewise.
17496 * soft-fp/fixsfdi.c: Likewise.
17497 * soft-fp/fixsfsi.c: Likewise.
17498 * soft-fp/fixsfti.c: Likewise.
17499 * soft-fp/fixtfdi.c: Likewise.
17500 * soft-fp/fixtfsi.c: Likewise.
17501 * soft-fp/fixtfti.c: Likewise.
17502 * soft-fp/fixunsdfdi.c: Likewise.
17503 * soft-fp/fixunsdfsi.c: Likewise.
17504 * soft-fp/fixunsdfti.c: Likewise.
17505 * soft-fp/fixunssfdi.c: Likewise.
17506 * soft-fp/fixunssfsi.c: Likewise.
17507 * soft-fp/fixunssfti.c: Likewise.
17508 * soft-fp/fixunstfdi.c: Likewise.
17509 * soft-fp/fixunstfsi.c: Likewise.
17510 * soft-fp/fixunstfti.c: Likewise.
17511 * soft-fp/floatdidf.c: Likewise.
17512 * soft-fp/floatdisf.c: Likewise.
17513 * soft-fp/floatditf.c: Likewise.
17514 * soft-fp/floatsidf.c: Likewise.
17515 * soft-fp/floatsisf.c: Likewise.
17516 * soft-fp/floatsitf.c: Likewise.
17517 * soft-fp/floattidf.c: Likewise.
17518 * soft-fp/floattisf.c: Likewise.
17519 * soft-fp/floattitf.c: Likewise.
17520 * soft-fp/floatundidf.c: Likewise.
17521 * soft-fp/floatundisf.c: Likewise.
17522 * soft-fp/floatunsidf.c: Likewise.
17523 * soft-fp/floatunsisf.c: Likewise.
17524 * soft-fp/floatuntidf.c: Likewise.
17525 * soft-fp/floatuntisf.c: Likewise.
17526 * soft-fp/floatuntitf.c: Likewise.
17527 * soft-fp/fmadf4.c: Likewise.
17528 * soft-fp/fmasf4.c: Likewise.
17529 * soft-fp/fmatf4.c: Likewise.
17530 * soft-fp/gedf2.c: Likewise.
17531 * soft-fp/gesf2.c: Likewise.
17532 * soft-fp/getf2.c: Likewise.
17533 * soft-fp/ledf2.c: Likewise.
17534 * soft-fp/lesf2.c: Likewise.
17535 * soft-fp/letf2.c: Likewise.
17536 * soft-fp/muldf3.c: Likewise.
17537 * soft-fp/mulsf3.c: Likewise.
17538 * soft-fp/multf3.c: Likewise.
17539 * soft-fp/negdf2.c: Likewise.
17540 * soft-fp/negsf2.c: Likewise.
17541 * soft-fp/negtf2.c: Likewise.
17542 * soft-fp/op-1.h: Likewise.
17543 * soft-fp/op-2.h: Likewise.
17544 * soft-fp/op-4.h: Likewise.
17545 * soft-fp/op-8.h: Likewise.
17546 * soft-fp/op-common.h: Likewise.
17547 * soft-fp/quad.h: Likewise.
17548 * soft-fp/single.h: Likewise.
17549 * soft-fp/soft-fp.h: Likewise.
17550 * soft-fp/sqrtdf2.c: Likewise.
17551 * soft-fp/sqrtsf2.c: Likewise.
17552 * soft-fp/sqrttf2.c: Likewise.
17553 * soft-fp/subdf3.c: Likewise.
17554 * soft-fp/subsf3.c: Likewise.
17555 * soft-fp/subtf3.c: Likewise.
17556 * soft-fp/truncdfsf2.c: Likewise.
17557 * soft-fp/trunctfdf2.c: Likewise.
17558 * soft-fp/trunctfsf2.c: Likewise.
17559 * soft-fp/trunctfxf2.c: Likewise.
17560 * soft-fp/unorddf2.c: Likewise.
17561 * soft-fp/unordsf2.c: Likewise.
17562 * soft-fp/unordtf2.c: Likewise.
17564 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17567 * misc/error.c (error_tail): Fix possible buffer overflow.
17569 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17572 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17575 2013-10-14 P. J. McDermott <pj@pehjota.net>
17578 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17579 testing pipefail option.
17581 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17583 * soft-fp/double.h: Indent preprocessor directives inside #if.
17584 * soft-fp/extended.h: Likewise.
17585 * soft-fp/op-2.h: Likewise.
17586 * soft-fp/op-4.h: Likewise.
17587 * soft-fp/op-common.h: Likewise.
17588 * soft-fp/quad.h: Likewise.
17589 * soft-fp/single.h: Likewise.
17590 * soft-fp/soft-fp.h: Likewise.
17592 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17594 * iconv/iconv_prog.c: Fix typos.
17595 * stdio-common/psiginfo-data.h: Likewise.
17597 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17600 * locale/setlocale.c: Fix typo.
17602 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17605 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17606 signaling NaN arguments.
17607 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17608 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17611 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17612 unordered operands.
17613 * soft-fp/gesf2.c (__gesf2): Likewise.
17614 * soft-fp/getf2.c (__getf2): Likewise.
17615 * soft-fp/ledf2.c (__ledf2): Likewise.
17616 * soft-fp/lesf2.c (__lesf2): Likewise.
17617 * soft-fp/letf2.c (__letf2): Likewise.
17619 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17620 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17621 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17622 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17623 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17624 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17625 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17626 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17627 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17628 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17629 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17630 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17631 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17632 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17633 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17634 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17635 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17636 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17637 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17638 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17639 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17640 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17641 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17642 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17643 * soft-fp/floattidf.c (__floattidf): Likewise.
17644 * soft-fp/floattisf.c (__floattisf): Likewise.
17645 * soft-fp/floattitf.c (__floattitf): Likewise.
17646 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17647 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17648 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17649 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17650 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17651 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17652 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17653 * soft-fp/gesf2.c (__gesf2): Likewise.
17654 * soft-fp/getf2.c (__getf2): Likewise.
17655 * soft-fp/ledf2.c (__ledf2): Likewise.
17656 * soft-fp/lesf2.c (__lesf2): Likewise.
17657 * soft-fp/letf2.c (__letf2): Likewise.
17659 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17660 Undefine and redefine.
17661 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17662 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17663 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17664 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17665 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17666 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17667 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17668 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17669 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17670 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17671 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17672 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17673 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17674 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17675 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17678 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17679 without decrementing exponent if mantissa >= that for the
17680 denominator, not >.
17681 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17682 denominator, not >. Decrement exponent in < case instead of
17683 incrementing in >= case.
17684 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17685 without decrementing exponent if mantissa >= that for the
17686 denominator, not >.
17688 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17689 computing saturated result for unsigned overflow.
17691 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17692 Jeff Law <law@redhat.com>
17694 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17695 (atan2Mp): Add systemtap probe marker.
17696 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17697 (__ieee754_log): Add systemtap probe marker.
17698 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17699 (atanMp): Add systemtap probe marker.
17700 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17701 (tanMp): Add systemtap probe marker.
17702 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17703 (__slowexp): Add systemtap probe marker.
17704 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17705 (__slowpow): Add systemtap probe marker.
17706 * manual/probes.texi: Document probes.
17708 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17711 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17713 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17715 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17716 written to buffer but not flushed.
17717 * libio/iofwrite_u.c: Likewise.
17718 * libio/iopadn.c: Return bytes returned even if EOF was
17720 * libio/iowpadn.c: Likewise.
17721 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17722 if _IO_padn does not write the whole buffer.
17723 [!COMPILE_WPRINTF] (PAD): Likewise.
17725 2013-10-10 David S. Miller <davem@davemloft.net>
17727 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17730 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17732 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17733 instead of FSF address.
17734 * soft-fp/fixdfti.c: Likewise.
17735 * soft-fp/fixsfti.c: Likewise.
17736 * soft-fp/fixtfti.c: Likewise.
17737 * soft-fp/fixunsdfti.c: Likewise.
17738 * soft-fp/fixunssfti.c: Likewise.
17739 * soft-fp/fixunstfti.c: Likewise.
17740 * soft-fp/floattidf.c: Likewise.
17741 * soft-fp/floattisf.c: Likewise.
17742 * soft-fp/floattitf.c: Likewise.
17743 * soft-fp/floatuntidf.c: Likewise.
17744 * soft-fp/floatuntisf.c: Likewise.
17745 * soft-fp/floatuntitf.c: Likewise.
17746 * soft-fp/trunctfxf2.c: Likewise.
17748 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17749 * soft-fp/fixdfti.c: Likewise.
17750 * soft-fp/fixsfti.c: Likewise.
17751 * soft-fp/fixtfti.c: Likewise.
17752 * soft-fp/fixunsdfti.c: Likewise.
17753 * soft-fp/fixunssfti.c: Likewise.
17754 * soft-fp/fixunstfti.c: Likewise.
17755 * soft-fp/floattidf.c: Likewise.
17756 * soft-fp/floattisf.c: Likewise.
17757 * soft-fp/floattitf.c: Likewise.
17758 * soft-fp/floatuntidf.c: Likewise.
17759 * soft-fp/floatuntisf.c: Likewise.
17760 * soft-fp/floatuntitf.c: Likewise.
17761 * soft-fp/trunctfxf2.c: Likewise.
17763 2013-10-10 David S. Miller <davem@davemloft.net>
17765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17767 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17769 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17770 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17771 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17772 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17773 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17774 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17775 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17777 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17778 for NaNs before doing comparisons on argument.
17779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17782 2013-10-10 Will Newton <will.newton@linaro.org>
17784 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17785 passed to _int_memalign does not overflow.
17787 2013-10-10 Torvald Riegel <triegel@redhat.com>
17789 * scripts/bench.pl: Add include-sources directive.
17790 * benchtests/README: Update documentation.
17792 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17794 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17795 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17796 instead of FP_INIT_ROUNDMODE.
17797 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17798 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17801 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17802 copy class of input value.
17803 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17804 not handle exceptions.
17805 * soft-fp/negsf2.c (__negsf2): Likewise.
17806 * soft-fp/negtf2.c (__negtf2): Likewise.
17807 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17809 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17811 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17812 semicolon. From Linux kernel.
17814 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17816 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17818 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17821 * manual/socket.texi: Added statement about buffer
17822 for gethostbyname2_r.
17824 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17826 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17827 Use .p2align directive instead, throughout.
17828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17829 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17830 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17831 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17832 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17833 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17834 * sysdeps/x86_64/strchr.S: Likewise.
17835 * sysdeps/x86_64/strrchr.S: Likewise.
17837 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17839 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17841 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17843 * sysdeps/generic/math_private.h (__mpsin1): Remove
17845 (__mpcos1): Likewise.
17846 (__mpsin): New argument __range_reduce.
17847 (__mpcos): Likewise.
17848 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17849 (slow): Use __mpsin and __mpcos.
17853 (sloww1): Likewise.
17854 (sloww2): Likewise.
17855 (bsloww): Likewise.
17856 (bsloww1): Likewise.
17857 (bsloww2): Likewise.
17858 (cslow2): Likewise.
17859 (csloww): Likewise.
17860 (csloww1): Likewise.
17861 (csloww2): Likewise.
17862 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17863 range_reduce. Merge in __mpsin1.
17864 (__mpcos): Likewise.
17865 (__mpsin1): Remove.
17866 (__mpcos1): Likewise.
17868 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17870 * locale/loadlocale.c (_nl_intern_locale_data): Use
17872 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17873 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17874 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17875 obstack data is appropriately aligned.
17876 (obstack_int32_grow_fast): Likewise.
17877 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17878 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17879 (add_locale_uint32_array): Likewise.
17881 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17883 * benchtests/Makefile: Remove ARGLIST and RET variables.
17884 ($(objpfx)bench-%.c): Pass only function name to the script.
17885 * benchtests/README: Update documentation.
17886 * benchtests/acos-inputs: Add new directives.
17887 * benchtests/acosh-inputs: Likewise.
17888 * benchtests/asin-inputs: Likewise.
17889 * benchtests/asinh-inputs: Likewise.
17890 * benchtests/atan-inputs: Likewise.
17891 * benchtests/atanh-inputs: Likewise.
17892 * benchtests/cos-inputs: Likewise.
17893 * benchtests/cosh-inputs: Likewise.
17894 * benchtests/exp-inputs: Likewise.
17895 * benchtests/log-inputs: Likewise.
17896 * benchtests/pow-inputs: Likewise.
17897 * benchtests/rint-inputs: Likewise.
17898 * benchtests/sin-inputs: Likewise.
17899 * benchtests/sinh-inputs: Likewise.
17900 * benchtests/tan-inputs: Likewise.
17901 * benchtests/tanh-inputs: Likewise.
17902 * scripts/bench.pl: Add support for new directives.
17904 2013-10-07 Alan Modra <amodra@gmail.com>
17906 * README: Fix careless merge.
17908 2013-10-05 Alan Modra <amodra@gmail.com>
17910 * NEWS: Mention powerpc64le support and bugs fixed.
17911 * README: Both big-endian and little-endian powerpc64 supported.
17913 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17915 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17916 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17917 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17918 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17920 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17922 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17925 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17927 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17928 Move -mhard-float appending from
17929 ports/sysdeps/powerpc/powerpc32/Makefile.
17930 [$(with-fp) = yes] (ASFLAGS): Likewise.
17931 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17932 * sysdeps/powerpc/nofpu: Move directory from
17933 ports/sysdeps/powerpc/nofpu.
17934 * sysdeps/powerpc/soft-fp: Move directory from
17935 ports/sysdeps/powerpc/soft-fp.
17936 * sysdeps/powerpc/powerpc32/405: Move directory from
17937 ports/sysdeps/powerpc/powerpc32/405.
17938 * sysdeps/powerpc/powerpc32/440: Move directory from
17939 ports/sysdeps/powerpc/powerpc32/440.
17940 * sysdeps/powerpc/powerpc32/464: Move directory from
17941 ports/sysdeps/powerpc/powerpc32/464.
17942 * sysdeps/powerpc/powerpc32/476: Move directory from
17943 ports/sysdeps/powerpc/powerpc32/476.
17944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17945 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17947 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17949 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17951 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17953 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17954 * README: Update for powerpc-*-linux-gnu software floating point
17957 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17958 case to powerpc/powerpc32*.
17959 * sysdeps/unix/sysv/linux/configure: Regenerated.
17961 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17962 (_FPU_MASK_OM): Define as 0x04.
17963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17971 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17977 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17978 and setcontext_e500.
17980 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17982 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17984 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17986 * manual/threads.texi (Default Thread Attributes): Fix typo.
17988 2013-10-04 Will Newton <will.newton@linaro.org>
17990 * malloc/Makefile: Add tst-memalign.
17991 * malloc/tst-memalign.c: New file.
17993 * malloc/tst-posix_memalign.c: Add comments.
17994 (do_test): Add comments and call free on all potentially
17995 allocated pointers. Add space after cast.
17997 * malloc/tst-pvalloc.c: Add comments.
17998 (do_test): Add comments and call free on all potentially
17999 allocated pointers. Remove duplicate check for NULL pointer.
18000 Add space after cast.
18002 * malloc/tst-valloc.c: Add comments.
18003 (do_test): Add comments and call free on all potentially
18004 allocated pointers. Remove duplicate check for NULL pointer.
18005 Add space after cast.
18007 2013-10-04 Alan Modra <amodra@gmail.com>
18009 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18010 Use stdint types in rather than __attribute__((mode())).
18011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18013 2013-10-04 Alan Modra <amodra@gmail.com>
18015 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18016 Correct handling of unaligned relocs for little-endian.
18017 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18019 2013-10-04 Alan Modra <amodra@gmail.com>
18021 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18022 * configure: Regenerate.
18023 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18024 * shlib-versions: Likewise.
18026 2013-10-04 Alan Modra <amodra@gmail.com>
18028 * string/tester.c (test_memrchr): Increment reported test cycle.
18030 2013-10-04 Alan Modra <amodra@gmail.com>
18032 * string/test-memcpy.c (do_one_test): When reporting errors, print
18033 string address and don't overrun end of string.
18035 2013-10-04 Alan Modra <amodra@gmail.com>
18037 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18038 insrdi. Make better use of reg selection to speed exit slightly.
18039 Schedule entry path a little better. Remove useless "are we done"
18040 checks on entry to main loop. Handle wrapping around zero address.
18041 Correct main loop count. Handle single left-over word from main
18042 loop inline rather than by using loop_small. Remove extra word
18043 case in loop_small caused by wrong loop count. Add little-endian
18045 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18046 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18048 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18049 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18050 support. Avoid rlwimi.
18051 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18053 2013-10-04 Alan Modra <amodra@gmail.com>
18055 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18056 insrdi. Formatting.
18057 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18058 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18059 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18060 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18061 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18062 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18064 2013-10-04 Alan Modra <amodra@gmail.com>
18066 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18067 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18068 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18069 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18070 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18071 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18073 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18074 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18075 use of regs. Use power7 mtocrf. Tidy function tails.
18077 2013-10-04 Alan Modra <amodra@gmail.com>
18079 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18080 Formatting. Consistently use rXXX register defines or rN defines.
18081 Use early exit labels that avoid restoring unused non-volatile regs.
18082 Make cr field use more consistent with rWORDn compares. Rename
18083 regs used as shift registers for unaligned loop, using rN defines
18084 for short lifetime/multiple use regs.
18085 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18086 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18087 addi 1,1,64 to pop stack frame. Simplify return value code.
18088 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18090 2013-10-04 Alan Modra <amodra@gmail.com>
18092 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18093 support. Correct typos, formatting. Optimize tail. Use insrdi
18094 rather than rlwimi.
18095 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18096 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18097 little-endian support. Correct typos.
18098 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18099 rather than rlwimi.
18100 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18101 in loop and entry code to keep "and." results.
18102 (strchr): Add little-endian support. Comment. Move cntlzd
18104 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18106 2013-10-04 Alan Modra <amodra@gmail.com>
18108 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18109 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18110 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18111 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18113 2013-10-04 Alan Modra <amodra@gmail.com>
18115 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18116 (rTMP): Define as r11.
18117 (strcmp): Add little-endian support. Optimise tail.
18118 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18119 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18120 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18121 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18122 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18126 2013-10-04 Alan Modra <amodra@gmail.com>
18128 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18129 little-endian support. Remove unnecessary "are we done" tests.
18130 Handle "s" wrapping around zero and extremely large "size".
18131 Correct main loop count. Handle single left-over word from main
18132 loop inline rather than by using small_loop. Correct comments.
18133 Delete "zero" tail, use "end_max" instead.
18134 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18136 2013-10-04 Alan Modra <amodra@gmail.com>
18138 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18139 support. Don't branch over align.
18140 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18141 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18142 support. Rearrange tmp reg use to suit. Comment.
18143 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18145 2013-10-04 Alan Modra <amodra@gmail.com>
18147 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18149 2013-10-04 Alan Modra <amodra@gmail.com>
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18152 conditional form of branch and link when obtaining pc.
18153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18155 2013-10-04 Alan Modra <amodra@gmail.com>
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18162 2013-10-04 Alan Modra <amodra@gmail.com>
18164 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18165 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18166 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18167 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18168 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18169 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18170 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18171 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18172 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18173 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18175 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18176 Alistair Popple <alistair@ozlabs.au.ibm.com>
18177 Alan Modra <amodra@gmail.com>
18180 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18181 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18182 _dl_hwcap access for little-endian.
18183 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18184 destroy vmx regs when saving unaligned.
18185 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18186 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18187 destroy vmx regs when saving unaligned.
18189 2013-10-04 Alan Modra <amodra@gmail.com>
18191 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18192 Don't use a union to pack hi/low value.
18194 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18196 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18198 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18200 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18201 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18202 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18204 2013-10-04 Alan Modra <amodra@gmail.com>
18206 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18207 constants to usual value for .cst8 section, and remove redundant
18209 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18210 constant for 0x1p52. Load little-endian words of double from
18211 correct stack offsets.
18213 2013-10-04 Alan Modra <amodra@gmail.com>
18215 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18216 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18217 words of double from correct stack offsets.
18218 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18219 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18220 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18221 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18222 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18223 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18224 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18225 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18226 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18227 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18228 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18229 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18230 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18231 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18232 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18233 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18234 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18236 2013-10-04 Alan Modra <amodra@gmail.com>
18238 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18239 64-bit int/double union.
18240 (_FPU_SETCW): Likewise.
18241 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18242 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18244 2013-10-04 Alan Modra <amodra@gmail.com>
18246 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18247 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18249 2013-10-04 Alan Modra <amodra@gmail.com>
18251 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18252 use vector int constants.
18253 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18255 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18257 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18258 array with long long.
18259 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18260 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18261 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18262 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18263 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18264 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18265 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18266 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18267 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18268 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18269 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18270 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18271 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18273 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18275 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18276 (__signbit): Likewise. Correct for little-endian.
18277 (__signbitl): Call __signbit.
18278 (lrint): Correct for little-endian.
18279 (lrintf): Call lrint.
18281 2013-10-04 Alan Modra <amodra@gmail.com>
18283 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18284 union 32-bit int array member with 64-bit int array.
18285 (t515, tm256): Double rather than long double.
18286 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18288 2013-10-04 Alan Modra <amodra@gmail.com>
18290 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18292 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18293 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18294 version of math_ldbl.h.
18296 2013-10-04 Alan Modra <amodra@gmail.com>
18298 [BZ #15734], [BZ #15735]
18299 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18300 all uses of ieee875 long double macros and unions. Simplify test
18301 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18302 ldbl_extract_mantissa value for ix,iy exponents. Properly
18303 normalize after ldbl_extract_mantissa, and don't add hidden bit
18304 already handled. Don't treat low word of ieee854 mantissa like
18305 low word of IBM long double and mask off bit when testing for
18307 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18308 all uses of ieee875 long double macros and unions. Simplify tests
18309 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18310 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18311 two1022, instead use their values. Recognise that tests for large
18312 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18313 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18314 Rewrite all uses of ieee875 long double macros and unions. Simplify
18315 test for 0.0L and nan. Correct negation.
18316 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18317 ieee875 long double macros and unions. Correct output for large
18318 magnitude x. Correct absolute value calculation.
18319 (__erfcl): Likewise.
18320 * math/libm-test.inc: Add tests for errors discovered in IBM long
18321 double versions of fmodl, remainderl, erfl and erfcl.
18323 2013-10-04 Alan Modra <amodra@gmail.com>
18325 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18326 all uses of ieee854 long double macros and unions. Simplify tests
18327 for long doubles that are fully specified by the high double.
18328 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18330 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18331 Remove dead code too.
18332 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18333 (__ieee754_ynl): Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18337 Remove dead code too.
18338 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18348 Comment on variable precision.
18349 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18352 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18356 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18358 2013-10-04 Alan Modra <amodra@gmail.com>
18360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18361 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18362 all uses of ieee854 long double macros and unions.
18363 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18376 Simplify sign and nan test too.
18377 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18382 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18387 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18388 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18389 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18392 2013-10-04 Alan Modra <amodra@gmail.com>
18394 * stdio-common/printf_size.c (__printf_size): Don't use
18395 union ieee854_long_double in fpnum union.
18396 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18397 signbit macro to retrieve sign from long double.
18398 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18399 retrieve sign from long double.
18400 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18401 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18403 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18404 * math/test-misc.c (main): Don't use union ieee854_long_double.
18406 2013-10-04 Alan Modra <amodra@gmail.com>
18409 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18410 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18411 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18412 calculation. Remove unnecessary test for denormal exponent.
18413 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18414 Correct handling of denormals. Avoid undefined shift behaviour.
18415 Correct normalisation of low mantissa when low double is denormal.
18416 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18417 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18418 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18419 Correct normalisation of low mantissa. Test for overflow of high
18420 mantissa and normalise.
18421 (ldbl_nearbyint): Use more readable constant for two52.
18422 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18423 (__mpn_construct_long_double): Fix test for overflow of high
18424 mantissa and correct normalisation. Avoid undefined shift.
18426 2013-10-04 Alan Modra <amodra@gmail.com>
18428 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18429 (union ibm_extended_long_double): Define as an array of ieee754_double.
18430 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18431 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18432 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18433 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18434 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18435 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18436 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18437 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18440 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18442 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18444 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18445 page size instead of calling getpagesize.
18447 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18448 (LOCFILE_ALIGN_MASK): Likewise.
18449 (LOCFILE_ALIGN_UP): Likewise.
18450 (LOCFILE_ALIGNED_P): Likewise.
18451 * locale/programs/ld-collate.c (collate_output): Use the new
18452 macros instead of __alignof__ (int32_t).
18453 * locale/weight.h (findidx): Likewise.
18455 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18458 * manual/string.texi: Fix strncat and wcsncat.
18460 2013-10-03 Brooks Moses <bmoses@google.com>
18463 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18464 * Makerules: ...here, and adjust associated comments.
18466 2013-10-02 Will Newton <will.newton@linaro.org>
18468 * malloc/Makefile: Add tst-pvalloc.
18469 * malloc/tst-pvalloc.c: New file.
18471 2013-10-02 Will Newton <will.newton@linaro.org>
18473 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18474 improve test coverage.
18476 2013-10-02 Will Newton <will.newton@linaro.org>
18478 * malloc/Makefile: Add tst-posix_memalign.
18479 * malloc/tst-posix_memalign.c: New file.
18481 2013-10-01 Eric Blake <eblake@redhat.com>
18483 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18484 Use __THROWNL rather than __THROW on static functions.
18486 2013-09-30 Petr Machata <pmachata@redhat.com>
18488 * elf/elf.h (R_AARCH64_ABS16): New macro.
18489 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18490 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18491 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18492 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18493 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18494 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18495 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18496 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18497 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18498 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18499 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18500 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18501 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18502 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18503 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18504 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18505 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18506 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18507 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18508 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18509 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18510 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18511 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18512 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18513 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18514 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18515 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18516 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18517 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18518 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18519 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18520 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18521 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18522 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18523 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18524 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18525 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18526 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18527 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18528 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18529 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18530 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18531 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18532 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18533 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18534 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18535 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18536 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18537 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18538 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18539 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18540 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18541 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18542 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18543 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18544 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18545 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18546 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18547 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18548 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18549 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18550 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18551 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18552 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18553 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18554 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18555 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18556 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18557 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18558 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18559 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18560 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18561 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18562 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18563 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18564 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18565 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18566 (R_AARCH64_TLSDESC_LDR): Likewise.
18567 (R_AARCH64_TLSDESC_ADD): Likewise.
18568 (R_AARCH64_TLSDESC_CALL): Likewise.
18570 2013-09-30 Andreas Schwab <schwab@suse.de>
18573 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18574 the nss database lookup.
18575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18578 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18580 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18582 2013-09-28 P. J. McDermott <pj@pehjota.net>
18584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18585 ${Bash-specific parameter/pattern/string} parameter expansion.
18586 * sysdeps/unix/make-syscalls.sh: Likewise.
18588 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18590 * sysdeps/sh/stackguard-macros.h: New file.
18592 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18596 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18598 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18599 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18601 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18603 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18604 Fix thread ID register.
18606 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18608 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18609 [POSIX || UNIX98]: Require rather than permitting all symbols from
18611 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18612 element of struct sched_param.
18613 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18614 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18615 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18616 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18619 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18621 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18622 argument calculation.
18624 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18626 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18628 [POSIX] (pthread_attr_t): Do not require type.
18629 [POSIX] (pthread_cond_t): Likewise.
18630 [POSIX] (pthread_condattr_t): Likewise.
18631 [POSIX] (pthread_key_t): Likewise.
18632 [POSIX] (pthread_mutex_t): Likewise.
18633 [POSIX] (pthread_mutexattr_t): Likewise.
18634 [POSIX] (pthread_once_t): Likewise.
18635 [POSIX] (pthread_t): Likewise.
18636 [POSIX-based standards] (pthread_atfork): Expect function.
18638 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18639 Richard Sandiford <richard@codesourcery.com>
18641 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18642 (swap_endianness_p): New extern variable.
18643 (set_big_endian): New inline function.
18644 (maybe_swap_uint32): Likewise.
18645 (maybe_swap_uint32_array): Likewise.
18646 (maybe_swap_uint32_obstack): Likewise.
18647 * locale/programs/locfile.c: Include <stdbool.h>.
18648 (swap_endianness_p): New variable.
18649 (add_locale_uint32): Call maybe_swap_uint32.
18650 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18651 (write_locale_data): Call maybe_swap_uint32_array.
18652 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18654 (obstack_int32_grow_fast): Likewise.
18655 (output_weightwc): Call maybe_swap_uint32_obstack.
18656 (collate_output): Likewise.
18657 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18658 (OPT_LITTLE_ENDIAN): Likewise.
18659 (options): Add --little-endian and --big-endian options.
18660 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18661 * locale/programs/locarchive.c: Include "locfile.h".
18665 (create_archive): Use the new macros to access fields of
18666 structures directly mapped from or written to locale archives.
18667 (oldlocrecentcmp): Likewise.
18668 (enlarge_archive): Likewise.
18669 (insert_name): Likewise.
18670 (add_alias): Likewise.
18671 (add_locale): Likewise.
18672 (delete_locales_from_archive): Likewise.
18673 (show_archive_content): Likewise.
18674 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18677 2013-09-24 Roland McGrath <roland@hack.frob.com>
18679 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18680 http://www.gnu.org/doc/freemanuals.texi.
18681 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18683 2013-09-24 Will Newton <will.newton@linaro.org>
18685 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18688 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18690 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18693 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18695 * manual/threads.texi (POSIX Threads): Fix a typo.
18697 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18700 * string/tst-strcoll-overflow.c: New test case.
18701 * string/Makefile (xtests): Add tst-strcoll-overflow.
18702 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18703 cache if string sizes may cause integer overflow.
18706 * string/strcoll_l.c (coll_seq): New members rule, idx,
18707 save_idx and back_us.
18708 (get_next_seq_nocache): New function.
18709 (do_compare_nocache): New function.
18710 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18713 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18716 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18717 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18718 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18721 * elf/Makefile (tests): Add tst-ptrguard1.
18722 (tests-static): Add tst-ptrguard1-static.
18723 (tst-ptrguard1-ARGS): Define.
18724 (tst-ptrguard1-static-ARGS): Define.
18725 * elf/tst-ptrguard1.c: New file.
18726 * elf/tst-ptrguard1-static.c: New file.
18727 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18728 * sysdeps/i386/stackguard-macros.h: Likewise.
18729 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18730 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18731 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18732 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18733 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18734 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18736 2013-09-23 Hector Marco <hecmargi@upv.es>
18737 Ismael Ripoll <iripoll@disca.upv.es>
18738 Carlos O'Donell <carlos@redhat.com>
18741 * sysdeps/generic/stackguard-macros.h: Define
18742 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18743 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18744 Define __pointer_chk_guard_local.
18745 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18746 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18748 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18751 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18753 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18755 * include/string.h (__ffs): Declare as hidden.
18756 * string/ffs.c (__ffs): Define as hidden.
18757 * sysdeps/i386/ffs.c (__ffs): Likewise.
18758 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18759 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18760 * sysdeps/s390/ffs.c (__ffs): Likewise.
18761 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18763 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18765 * NEWS: Mention malloc probes.
18767 * malloc/arena.c (new_heap): New memory_heap_new probe.
18768 (grow_heap): New memory_heap_more probe.
18769 (shrink_heap): New memory_heap_less probe.
18770 (heap_trim): New memory_heap_free probe.
18771 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18772 (systrim): New memory_sbrk_less probe.
18773 * manual/probes.texi: Document them.
18775 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18776 * manual/probes.texi: Document it.
18778 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18779 (__libc_realloc): Add memory_realloc_retry probe.
18780 (__libc_memalign): Add memory_memalign_retry probe.
18781 (__libc_valloc): Add memory_valloc_retry probe.
18782 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18783 (__libc_calloc): Add memory_calloc_retry probe.
18784 * manual/probes.texi: Document them.
18786 * malloc/arena.c (get_free_list): Add probe
18787 memory_arena_reuse_free_list.
18788 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18789 and memory_arena_reuse.
18790 (arena_get2) [!PER_THREAD]: Likewise.
18791 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18792 memory_arena_reuse_realloc.
18793 * manual/probes.texi: Document them.
18795 * malloc/malloc.c (__libc_free): Add
18796 memory_mallopt_free_dyn_thresholds probe.
18797 (__libc_mallopt): Add multiple memory_mallopt probes.
18798 * manual/probes.texi: Document them.
18800 * malloc/malloc.c: Include stap-probe.h.
18801 (__libc_mallopt): Add memory_mallopt probe.
18802 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18803 * manual/probes.texi: New.
18804 * manual/Makefile (chapters): Add probes.
18805 * manual/threads.texi: Set next node.
18807 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18809 [BZ #15963, #13985]
18810 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18811 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18812 Add `Chinese' to `nan' entry name.
18814 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18816 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18817 (POLYNOMIAL): Likewise.
18818 (TAYLOR_SINCOS): Likewise.
18819 (TAYLOR_SLOW): Likewise.
18820 (__sin): Use TAYLOR_SINCOS.
18822 (slow): Use TAYLOR_SLOW.
18824 (bsloww): Likewise.
18825 (csloww): Likewise.
18827 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18829 * stdlib/strtod_l.c: Fix buffer overrun.
18831 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18833 * benchtests/Makefile (bench): Add sincos.
18834 * benchtests/bench-sincos.c: New file.
18836 * math/libm-test.inc (cos_test_data): New test inputs.
18837 (sin_test_data): Likewise.
18839 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18845 (sloww1): Likewise.
18846 (sloww2): Likewise.
18847 (bsloww1): Likewise.
18848 (bsloww2): Likewise.
18849 (cslow2): Likewise.
18850 (csloww1): Likewise.
18851 (csloww2): Likewise.
18853 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18862 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18864 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18865 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18866 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18867 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18868 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18869 * elf/cache.c (print_entry): Handle the new cache flags.
18871 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18872 Aldy Hernandez <aldyh@redhat.com>
18874 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18875 Change condition to [_SOFT_FLOAT].
18876 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18877 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18878 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18888 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18891 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18894 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18896 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18897 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18898 (__longjmp): Use LOAD_GP to load saved GPRs.
18899 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18900 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18901 (__sigsetjmp): Use SAVE_GP to save GPRs.
18903 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18904 Do not append -msoft-float.
18905 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18907 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18909 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18911 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18914 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18915 (_FPU_GETCW): Use initial "__" on variable and field names but not
18916 on macro parameter name.
18917 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18918 parentheses around reference to macro parameter.
18920 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18922 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18924 (ctype_startup): Use uint32_t in cast and sizeof for
18927 2013-09-11 Jia Liu <proljc@gmail.com>
18929 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18931 [__FreeBSD__]: Likewise.
18933 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18935 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18936 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18937 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18938 (strchr): Remove __strchr_sse42 ifunc selection.
18939 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18940 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18942 2013-09-11 Will Newton <will.newton@linaro.org>
18944 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18945 parameter to RES. Remove hardcoded 1000 value.
18946 * benchtests/bench-skeleton.c (main): Pass RES parameter
18947 to TIMING_INIT and multiply result by 1000.
18949 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18953 2013-09-11 Andreas Schwab <schwab@suse.de>
18955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18957 (O_TMPFILE) [__USE_GNU]: Define.
18958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18961 2013-09-11 Will Newton <will.newton@linaro.org>
18964 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18967 2013-09-11 Will Newton <will.newton@linaro.org>
18970 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18973 2013-09-11 Will Newton <will.newton@linaro.org>
18976 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18979 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18981 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18982 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18983 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18984 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18985 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18987 2013-09-10 Allan McRae <allan@archlinux.org>
18990 * manual/arith.texi (Parsing of Floats): Clarify
18994 * manual/install.texi (Running make install): Mention
18996 * INSTALL: Regenerated.
18998 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19000 * csu/init-first.c (_init): Remove the !SHARED condition around
19001 FPU control word initialization.
19002 * elf/dl-support.c (_dl_fpu_control): New variable.
19003 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19004 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19005 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19006 * math/test-fpucw-static.c: New file.
19007 * math/test-fpucw-ieee.c: New file.
19008 * math/test-fpucw-ieee-static.c: New file.
19009 * math/Makefile (tests): Add `test-fpucw-ieee' and
19011 (tests-static): New variable.
19012 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19014 [($(build-shared),yes)]
19015 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19017 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19020 2013-09-09 Allan McRae <allan@archlinux.org>
19023 * manual/string.texi (Collation Functions): Fix typo in
19025 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19028 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19031 * libio/memstream.c (open_memstream): Fix memory leak.
19032 * libio/wmemstream.c (open_wmemstream): Likewise.
19035 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19037 2013-09-09 Will Newton <will.newton@linaro.org>
19039 * malloc/Makefile: Add tst-realloc to tests.
19040 * malloc/tst-realloc.c: New file.
19042 2013-09-09 Allan McRae <allan@archlinux.org>
19045 * COPYING: Update from GNU website to fix FSF address.
19046 * COPYING.LIB: Likewise.
19048 2013-09-06 David S. Miller <davem@davemloft.net>
19050 * po/zh_TW.po: Update Chinese (traditional) translation from
19051 translation project.
19053 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19054 Joseph Myers <joseph@codesourcery.com>
19056 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19058 (obstack_chunk_alloc): New macro.
19059 (obstack_chunk_free): Likewise.
19060 (record_offset): New function.
19061 (init_locale_data): Likewise.
19062 (align_locale_data): Likewise.
19063 (add_locale_empty): Likewise.
19064 (add_locale_raw_data): Likewise.
19065 (add_locale_raw_obstack): Likewise.
19066 (add_locale_string): Likewise.
19067 (add_locale_wstring): Likewise.
19068 (add_locale_uint32): Likewise.
19069 (add_locale_uint32_array): Likewise.
19070 (add_locale_char): Likewise.
19071 (start_locale_structure): Likewise.
19072 (end_locale_structure): Likewise.
19073 (start_locale_prelude): Likewise.
19074 (end_locale_prelude): Likewise.
19075 (write_locale_data): Take locale_file structure rather than an
19077 * locale/programs/locfile.h: Include "obstack.h".
19078 (struct locale_file): Change to store locale file contents instead
19080 (init_locale_data): New prototype.
19081 (align_locale_data): Likewise.
19082 (add_locale_empty): Likewise.
19083 (add_locale_raw_data): Likewise.
19084 (add_locale_raw_obstack): Likewise.
19085 (add_locale_string): Likewise.
19086 (add_locale_wstring): Likewise.
19087 (add_locale_uint32): Likewise.
19088 (add_locale_uint32_array): Likewise.
19089 (add_locale_char): Likewise.
19090 (start_locale_structure): Likewise.
19091 (end_locale_structure): Likewise.
19092 (start_locale_prelude): Likewise.
19093 (end_locale_prelude): Likewise.
19094 (write_locale_data): Update prototype.
19095 * locale/programs/3level.h (struct TABLE): Remove result field.
19096 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19097 Use new locale_file interface.
19098 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19099 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19100 * locale/programs/ld-address.c (address_output): Use new
19101 locale_file interface.
19102 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19104 (collate_finish): Don't call collseq_table_finalize.
19105 (collate_output): Use new locale_file interface.
19106 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19108 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19109 (TABLE): Move defines earlier in file.
19110 (ELEMENT): Likewise.
19111 (DEFAULT): Likewise.
19112 (wctrans_table_add): Move macro and inline function earlier in
19114 (struct wctype_table): Move type earlier in file.
19115 (add_locale_wctype_table): New static prototype.
19116 (struct locale_ctype_t): Use logical types instead of struct iovec
19117 pointers for members.
19118 (ctype_output): Use new locale_file interface.
19119 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19120 new locale_file interface.
19121 (allocate_arrays): Update for use of new locale_file interface.
19122 * locale/programs/ld-identification.c (identification_output): Use
19123 new locale_file interface.
19124 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19125 * locale/programs/ld-messages.c (messages_output): Likewise.
19126 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19127 * locale/programs/ld-name.c (name_output): Likewise.
19128 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19129 * locale/programs/ld-paper.c (paper_output): Likewise.
19130 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19131 * locale/programs/ld-time.c (time_output): Likewise.
19133 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19135 * benchtests/Makefile: Add memrchr benchmark.
19136 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19137 benchmark as memrchr.
19138 * benchtests/bench-memrchr-ifunc.c: New file.
19139 * benchtests/bench-memrchr.c: New file.
19141 2013-09-06 Will Newton <will.newton@linaro.org>
19143 * benchtests/Makefile (string-bench): Add memcpy.
19145 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19146 Cong Wang <amwang@redhat.com>
19149 * sysdeps/unix/sysv/linux/bits/in.h
19150 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19151 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19152 before __USE_KERNEL_IPV6_DEFS uses.
19153 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19155 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19156 sockaddr_in6, or ipv6_mreq.
19158 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19160 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19161 memory access for final bytes in some large inputs.
19162 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19164 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19166 * string/test-memrchr.c: New file.
19167 * string/test-memrchr-ifunc.c: New file.
19168 * string/Makefile: Add new memrchr testcase.
19170 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19172 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19173 fanotify_init returns EPERM.
19175 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19177 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19179 (top level): Treat second token from macro or constant entries for
19180 allowed headers as allowed.
19181 * include/complex.h: Condition internal declarations on
19183 * include/fenv.h: Condition include of <stdbool.h> and internal
19184 declarations on [!_ISOMAC].
19186 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19189 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19191 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19193 * configure.in (--enable-versioning): Remove configure option.
19194 (libc_cv_asm_symver_directive): Remove configure test.
19195 (libc_cv_ld_version_script_option): Likewise.
19196 (VERSIONING): Remove variable and AC_SUBST.
19197 (DO_VERSIONING): Remove AC_DEFINE.
19198 * configure: Regenerated.
19199 * config.h.in (DO_VERSIONING): Remove macro.
19200 * Makerules [$(versioning) = yes]: Change conditionals to
19201 [$(build-shared) = yes].
19202 * config.make.in (versioning): Remove variable.
19203 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19204 [$(build-shared) = yes].
19205 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19206 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19207 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19208 [$(build-shared) = yes].
19209 * extra-lib.mk [$(versioning) = yes]: Likewise.
19210 * hurd/Makefile [$(versioning) = yes]: Likewise.
19211 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19213 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19215 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19216 [SHARED && !NO_HIDDEN].
19217 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19219 [SHARED && DO_VERSIONING]: Likewise..
19220 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19221 [$(build-shared) = yes].
19222 * manual/install.texi (--disable-versioning): Remove
19224 * INSTALL: Regenerated.
19225 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19227 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19228 [$(build-shared) = yes].
19229 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19230 * sysdeps/i386/i686/multiarch/strstr-c.c
19231 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19232 [SHARED && !NO_HIDDEN].
19233 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19234 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19235 * sysdeps/powerpc/powerpc32/dl-machine.c
19236 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19237 * sysdeps/powerpc/powerpc32/sysdep.h
19238 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19239 to [SHARED && PIC && !NO_HIDDEN].
19240 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19241 conditional to [SHARED].
19243 2013-09-04 Will Newton <will.newton@linaro.org>
19245 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19246 * benchtests/bench-string.h: Include bench-timing.h instead
19247 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19248 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19249 call to HP_TIMING_DIFF_INIT.
19250 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19251 instead of hp-timing.h macros.
19252 * benchtests/bench-memchr.c: Likewise.
19253 * benchtests/bench-memcmp.c: Likewise.
19254 * benchtests/bench-memcpy.c: Likewise.
19255 * benchtests/bench-memmem.c: Likewise.
19256 * benchtests/bench-memmove.c: Likewise.
19257 * benchtests/bench-memset.c: Likewise.
19258 * benchtests/bench-rawmemchr.c: Likewise.
19259 * benchtests/bench-strcasecmp.c: Likewise.
19260 * benchtests/bench-strcasestr.c: Likewise.
19261 * benchtests/bench-strcat.c: Likewise.
19262 * benchtests/bench-strchr.c: Likewise.
19263 * benchtests/bench-strcmp.c: Likewise.
19264 * benchtests/bench-strcpy.c: Likewise.
19265 * benchtests/bench-strcpy_chk.c: Likewise.
19266 * benchtests/bench-strlen.c: Likewise.
19267 * benchtests/bench-strncasecmp.c: Likewise.
19268 * benchtests/bench-strncat.c: Likewise.
19269 * benchtests/bench-strncmp.c: Likewise.
19270 * benchtests/bench-strncpy.c: Likewise.
19271 * benchtests/bench-strnlen.c: Likewise.
19272 * benchtests/bench-strpbrk.c: Likewise.
19273 * benchtests/bench-strrchr.c: Likewise.
19274 * benchtests/bench-strspn.c: Likewise.
19275 * benchtests/bench-strstr.c: Likewise.
19277 2013-09-04 Will Newton <will.newton@linaro.org>
19279 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19281 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19284 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19285 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19286 * math/libm-test.inc (lgamma_test_data): Add more tests.
19287 * sysdeps/i386/fpu/libm-test-ulps: Update.
19288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19290 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19292 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19296 Add strcmp-sse2-unaligned
19297 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19299 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19301 * Versions.def (libc): Add GLIBC_2.19.
19303 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19305 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19306 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19308 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19311 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19312 intermediate calculations in recurrence.
19313 (__ieee754_ynf): Likewise.
19314 * math/libm-test.inc (jn_test_data): Do not allow spurious
19315 underflow exception. Add more tests.
19316 (yn_test_data): Add more tests.
19317 * sysdeps/i386/fpu/libm-test-ulps: Update.
19318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19320 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19322 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19324 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19326 * csu/init-first.c: Fix then/than typos.
19327 * locale/programs/ld-collate.c: Likewise.
19328 * locale/programs/linereader.h: Likewise.
19329 * manual/charset.texi: Likewise.
19330 * manual/filesys.texi: Likewise.
19331 * manual/stdio.texi: Likewise.
19332 * manual/string.texi: Likewise.
19333 * stdlib/fmtmsg.c: Likewise.
19334 * sysdeps/i386/stpncpy.S: Likewise.
19335 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19336 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19337 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19338 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19340 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19342 * elf/dl-open.c: Fix typos.
19343 * iconvdata/gbbig5.c: Likewise.
19344 * iconvdata/iso-2022-jp.c: Likewise.
19345 * iconv/gconv_int.h: Likewise.
19346 * iconv/loop.c: Likewise.
19347 * nis/rpcsvc/nis.h: Likewise.
19348 * resolv/ns_name.c: Likewise.
19349 * stdio-common/vfscanf.c: Likewise.
19350 * streams/stropts.h: Likewise.
19351 * sunrpc/rpc_thread.c: Likewise.
19352 * sysdeps/i386/strpbrk.S: Likewise.
19353 * sysdeps/ieee754/k_standard.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19356 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19357 * sysdeps/mach/hurd/profil.c: Likewise.
19358 * sysdeps/s390/dl-procinfo.h: Likewise.
19359 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19360 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19361 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19362 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19363 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19365 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19367 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19370 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19372 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19373 aix specific files.
19374 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19375 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19376 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19377 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19378 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19379 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19380 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19381 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19383 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19384 Roland McGrath <roland@hack.frob.com>
19386 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19387 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19389 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19391 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19392 __executable_start symbol instead of _start.
19394 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19396 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19397 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19399 * sysdeps/gnu/ldsodefs.h: ... this new file.
19401 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19402 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19403 instead of ELFOSABI_LINUX.
19405 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19406 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19407 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19408 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19410 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19411 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19414 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19415 (ibm_extended_long_double): Add ieee_nan member.
19416 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19417 (do_test): New function.
19419 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19421 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19422 functions, renamed from truncdfsf_test, trunctfsf_test,
19424 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19426 (do_test): Run all these.
19428 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19430 * argp/argp-help.c: Fix typos.
19431 * argp/argp-parse.c: Likewise.
19432 * debug/backtracesyms.c: Likewise.
19433 * elf/elf.h: Likewise.
19434 * malloc/malloc.c: Likewise.
19435 * nis/nis_print.c: Likewise.
19436 * resolv/res_comp.c: Likewise.
19437 * stdlib/stdlib.h: Likewise.
19438 * sunrpc/clnt_tcp.c: Likewise.
19439 * sunrpc/clnt_udp.c: Likewise.
19440 * sunrpc/clnt_unix.c: Likewise.
19441 * sysdeps/unix/bsd/ptsname.c: Likewise.
19442 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19443 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19450 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19452 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19454 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19457 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19460 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19461 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19462 ($(objpfx)bug-dl-leaf): New rule.
19463 ($(objpfx)bug-dl-leaf.so): Likewise.
19464 ($(objpfx)bug-dl-leaf.out): Likewise.
19465 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19466 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19467 * dlfcn/bug-dl-leaf.c: New test.
19468 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19469 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19470 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19471 (dlclose): Likewise.
19472 (dlmopen): Likewise.
19474 2013-08-27 Roland McGrath <roland@hack.frob.com>
19476 * include/netdb.h [!_ISOMAC]:
19477 Don't include <tls.h>.
19478 (h_errno, __libc_h_errno): Move declaration and macros out of
19481 * include/resolv.h [_RESOLV_H_]:
19482 Don't include <tls.h>.
19483 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19484 * resolv/res_libc.c: Don't include <tls.h>.
19485 (_res): Use __attribute__ ((nocommon)) in place of
19486 __attribute__ ((section (".bss"))).
19488 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19489 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19491 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19493 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19494 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19496 * resolv/res_mkquery.c: Include <sys/time.h>.
19498 * inet/ifreq.c: Moved to ...
19499 * sysdeps/unix/ifreq.c: ... here.
19500 * inet/ifreq.c: New file, true stub version.
19502 * socket/sa_len.c: New file.
19503 * socket/Makefile (aux): Add it.
19504 * sysdeps/unix/sysv/linux/Makefile
19505 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19506 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19507 and #include <socket/sa_len.c>.
19508 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19509 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19511 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19512 * bits/socket.h: ... here.
19514 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19515 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19516 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19518 2013-08-27 Andreas Schwab <schwab@suse.de>
19521 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19522 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19523 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19524 * string/test-strcasecmp.c (test_main): Run tests in several
19526 * string/test-strncasecmp.c (test_main): Likewise.
19528 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19529 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19530 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19531 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19532 (__strncasecmp_ssse3) [PIC]: Likewise.
19534 2013-08-26 Roland McGrath <roland@hack.frob.com>
19536 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19538 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19539 instead of explicitly declaring xdecrypt.
19540 * nis/nss_nis/nis-publickey.c: Likewise.
19542 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19545 * nscd/aicache.c: Include res_hconf.h.
19546 (addhstaiX): Initialize res_hconf.
19548 2013-08-26 Andreas Schwab <schwab@suse.de>
19550 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19551 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19553 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19555 * nscd/aicache.c (addhstaiX): Fix indentation.
19557 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19559 * configure.ac: Quote $build_pt_chown test.
19560 * configure: Regenerated.
19562 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19565 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19566 * math/s_cexpf.c (__cexpf): Likewise.
19567 * math/s_cexpl.c (__cexpl): Likewise.
19568 * math/libm-test.inc (cexp_test_data): Correct expected return
19569 value for NaN + i0. Add another test.
19571 2013-08-22 David S. Miller <davem@davemloft.net>
19573 * po/ca.po: Update Catalan translation from translation project.
19574 * po/uk.po: Add Ukrainian translations from translation project.
19576 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19579 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19580 is infinite, not alongside NaN test.
19581 * math/s_fdimf.c (__fdimf): Likewise.
19582 * math/s_fdiml.c (__fdiml): Likewise.
19583 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19584 errno is unchanged.
19586 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19588 * argp/argp-help.c: Fix typos.
19589 * crypt/speeds.c: Likewise.
19590 * csu/check_fds.c: Likewise.
19591 * elf/dl-load.c: Likewise.
19592 * elf/dl-open.c: Likewise.
19593 * elf/reldep3.c: Likewise.
19594 * elf/reldep.c: Likewise.
19595 * elf/sprof.c: Likewise.
19596 * iconv/iconv_charmap.c: Likewise.
19597 * iconv/skeleton.c: Likewise.
19598 * iconv/strtab.c: Likewise.
19599 * io/lockf64.c: Likewise.
19600 * libio/libioP.h: Likewise.
19601 * resolv/gai_notify.c: Likewise.
19602 * resolv/ns_name.c: Likewise.
19603 * resolv/ns_samedomain.c: Likewise.
19604 * resolv/res_send.c: Likewise.
19605 * stdlib/random.c: Likewise.
19606 * sunrpc/rpc/xdr.h: Likewise.
19607 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19608 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19609 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19610 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19611 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19613 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19614 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19615 * sysdeps/mach/hurd/check_fds.c: Likewise.
19616 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19617 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19618 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19619 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19620 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19621 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19622 * sysdeps/pthread/aio_notify.c: Likewise.
19623 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19624 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19625 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19626 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19627 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19629 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19631 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19632 version if bit_Slow_SSE4_2 is set.
19633 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19636 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19639 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19640 trampoline stack frame information.
19641 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19642 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19643 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19644 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19645 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19646 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19647 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19648 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19650 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19651 interrupting a syscall and set with option SA_SIGINFO.
19653 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19656 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19657 argument is infinite.
19658 * math/s_cprojf.c (__cprojf): Likewise.
19659 * math/s_cprojl.c (__cprojl): Likewise.
19660 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19661 * math/libm-test.inc (cproj_test_data): Add more tests.
19663 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19665 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19666 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19667 size. Use __ffs to determine corresponding shift.
19669 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19670 Roland McGrath <roland@hack.frob.com>
19672 * Makefile (INSTALL): Remove trailing blank lines from output of
19675 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19677 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19678 Align 32 bit compat elf_greg to 8 bytes.
19680 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19682 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19684 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19686 * string/strcoll_l.c (coll_seq): New structure.
19687 (get_next_seq_cached): New function.
19688 (get_next_seq): New function.
19689 (do_compare): New function.
19690 (STRCOLL): Use GNU style definition. Simplify implementation
19691 by using get_next_seq, get_next_seq_cached and do_compare.
19693 2013-08-16 Florian Weimer <fweimer@redhat.com>
19697 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19699 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19701 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19702 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19703 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19705 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19706 GETDENTS_64BIT_ALIGNED.
19707 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19708 * manual/filesys.texi (Reading/Closing Directory): Document
19709 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19711 * manual/conf.texi (Limits for Files): Add portability note to
19712 NAME_MAX, PATH_MAX.
19713 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19715 2013-08-13 Andreas Schwab <schwab@suse.de>
19718 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19720 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19721 LDBL_MAX_EXP >= 16384]: Add tests for it.
19723 2013-08-12 David S. Miller <davem@davemloft.net>
19725 * version.h (RELEASE): Set to "development".
19726 (VERSION): Set to "2.18.90".
19727 * NEWS: Add 2.19 section.
19729 2013-08-03 David S. Miller <davem@davemloft.net>
19731 * po/ko.po: Update Korean translation from translation project.
19733 2013-08-01 David S. Miller <davem@davemloft.net>
19735 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19736 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19739 2013-07-30 David S. Miller <davem@davemloft.net>
19741 * po/fr.po: Update French translation from translation project.
19743 2013-07-28 David S. Miller <davem@davemloft.net>
19745 * po/cs.po: Update Czech translation from translation project.
19747 * po/sv.po: Update Swedish translation from translation project.
19749 2013-07-27 David S. Miller <davem@davemloft.net>
19751 * po/eo.po: Update Esperanto translation from translation project.
19753 * po/vi.po: Update Vietnamese translation from translation project.
19755 * po/de.po: Update German translation from translation project.
19757 2013-07-26 David S. Miller <davem@davemloft.net>
19759 * po/bg.po: Update Bulgarian translation from translation project.
19761 * po/nl.po: Update Dutch translation from translation project.
19762 * po/pl.po: Update Polish translation from translation project.
19763 * po/ru.po: Update Russian translation from translation project.
19765 2013-07-24 David S. Miller <davem@davemloft.net>
19767 * po/libc.pot: Update.
19769 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19771 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19772 variable page size.
19773 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19774 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19775 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19777 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19779 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19781 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19782 Andreas Schwab <schwab@suse.de>
19783 Roland McGrath <roland@hack.frob.com>
19784 Joseph Myers <joseph@codesourcery.com>
19785 Carlos O'Donell <carlos@redhat.com>
19788 * config.h.in: Define HAVE_PT_CHOWN.
19789 * config.make.in (build-pt-chown): New variable.
19790 * configure.in (--enable-pt_chown): New configure option.
19791 * configure: Regenerate.
19792 * login/Makefile: Include Makeconfig. Build pt_chown only if
19793 build-pt-chown is enabled.
19794 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19795 pt_chown to fix pty ownership.
19796 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19798 * manual/install.texi (Configuring and compiling): Mention
19799 --enable-pt_chown. Add @findex for grantpt.
19800 * INSTALL: Regenerate.
19802 2013-07-20 David S. Miller <davem@davemloft.net>
19804 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19805 difference between 32-bit and 64-bit.
19807 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19810 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19811 Avoid system header dependency with -ffreestanding.
19812 ($(objpfx)bits/syscall%d): Likewise.
19814 2013-07-13 David S. Miller <davem@davemloft.net>
19816 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19817 underflows from atanl/atan2l due to bug 15319.
19818 (casinh_test_data): Likewise.
19820 2013-07-07 David S. Miller <davem@davemloft.net>
19822 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19824 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19826 * sysdeps/i386/fpu/libm-test-ulps: Update.
19827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19829 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19831 * configure.in (--enable-lock-elision): Fix message text.
19832 * INSTALL: Regenerate.
19833 * configure: Regenerate.
19835 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19839 2013-07-03 Andreas Jaeger <aj@suse.de>
19841 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19843 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19844 (ptrace_peeksiginfo_args): Add.
19845 (__ptrace_peeksiginfo_flags): Add.
19846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19847 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19848 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19850 2013-07-03 Allan McRae <allan@archlinux.org>
19852 * sysdeps/i386/fpu/libm-test-ulps: Update.
19854 2013-07-02 David S. Miller <davem@davemloft.net>
19856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19858 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19862 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19864 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19867 2013-07-02 Andi Kleen <ak@linux.intel.com>
19869 * config.h.in (ENABLE_LOCK_ELISION): Add.
19870 * configure.in (--enable-lock-elision): Add option.
19871 * manual/install.texi: Document --enable lock elision.
19872 * configure: Regenerate
19873 * INSTALL: Regenerate.
19875 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19877 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19878 SSE4.2 strcasecmp for libc.a.
19879 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19881 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19884 * soft-fp/op-common.h (_FP_FMA): New macro.
19885 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19886 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19887 (_FP_MUL_MEAT_1_imm): ... here.
19888 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19889 (_FP_MUL_MEAT_1_wide): ... here.
19890 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19891 (_FP_MUL_MEAT_1_hard): ... here.
19892 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19893 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19894 (_FP_MUL_MEAT_2_wide): ... here.
19895 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19896 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19897 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19898 (_FP_MUL_MEAT_2_gmp): ... here.
19899 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19900 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19901 (_FP_MUL_MEAT_4_wide): ... here.
19902 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19903 (_FP_MUL_MEAT_4_gmp): ... here.
19904 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19905 (_FP_WFRACBITS_DW_S): Likewise.
19906 (_FP_WFRACXBITS_DW_S): Likewise.
19907 (_FP_HIGHBIT_DW_S): Likewise.
19908 (FP_FMA_S): Likewise.
19909 (_FP_FRAC_HIGH_DW_S): Likewise.
19910 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19911 (_FP_WFRACBITS_DW_D): Likewise.
19912 (_FP_WFRACXBITS_DW_D): Likewise.
19913 (_FP_HIGHBIT_DW_D): Likewise.
19914 (FP_FMA_D): Likewise.
19915 (_FP_FRAC_HIGH_DW_D): Likewise.
19916 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19917 (_FP_WFRACBITS_DW_E): Likewise.
19918 (_FP_WFRACXBITS_DW_E): Likewise.
19919 (_FP_HIGHBIT_DW_E): Likewise.
19920 (FP_FMA_E): Likewise.
19921 (_FP_FRAC_HIGH_DW_E): Likewise.
19922 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19923 (_FP_WFRACBITS_DW_Q): Likewise.
19924 (_FP_WFRACXBITS_DW_Q): Likewise.
19925 (_FP_HIGHBIT_DW_Q): Likewise.
19926 (FP_FMA_Q): Likewise.
19927 (_FP_FRAC_HIGH_DW_Q): Likewise.
19928 * soft-fp/fmasf4.c: New file.
19929 * soft-fp/fmadf4.c: Likewise.
19930 * soft-fp/fmatf4.c: Likewise.
19932 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19935 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19939 (index_Slow_SSE4_2): Likewise.
19940 (index_Prefer_PMINUB_for_stringop): Likewise.
19941 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19942 bit_Slow_SSE4_2 is set.
19943 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19944 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19946 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19948 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19949 rtld_global._dl_hwcap2.
19950 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19952 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19953 POWER8 feature descriptions defined in _dl_hwcap2.
19954 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19955 string handling for POWER8 feature bits.
19956 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19957 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19958 _dl_powerpc_cap_flags.
19959 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19960 * sysdeps/powerpc/rtld-global-offsets.sym
19961 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19962 _dl_hwcap2 in the rtld_global_ro structure.
19964 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19966 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19967 hardware capabilities in support of AT_HWCAP2.
19968 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19969 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19971 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19972 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19973 explicitly the unknown a_type display mechanism is used.
19974 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19975 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19977 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19978 to macro prototype for AT_HWCAP2 support.
19979 * sysdeps/i386/dl-procinfo.h: Likewise.
19980 * sysdeps/s390/dl-procinfo.h: Likewise.
19981 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19982 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19983 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19984 return -1 for unknown a_type display fallback.
19985 * sysdeps/sparc/dl-procinfo.h: Likewise.
19986 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19987 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19989 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19991 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19992 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19994 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
19997 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
19998 mprotect making __stack_prot writable.
20000 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20001 Joseph Myers <joseph@codesourcery.com>
20003 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20004 as being properly aligned.
20006 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20008 * dlfcn/modstatic5.c: New file.
20009 * dlfcn/tststatic5.c: New file.
20010 * dlfcn/Makefile (tests): Add tststatic5.
20011 (tests-static): Likewise.
20012 (modules-names): Add modstatic5.
20013 (tststatic5-ENV): New variable.
20014 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20017 * elf/dl-support.c (_dl_main_map): New variable.
20018 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20019 (_dl_nns, _dl_load_adds): Set to 1.
20020 (_dl_initial_searchlist): Refer to _dl_main_map.
20021 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20022 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20023 call to _dl_get_origin.
20024 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20026 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20027 * dlfcn/modstatic3.c: New file.
20028 * dlfcn/tststatic3.c: New file.
20029 * dlfcn/tststatic4.c: New file.
20030 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20031 (tests-static): Likewise.
20032 (modules-names): Add modstatic3.
20033 (tststatic3-ENV, tststatic4-ENV): New variables.
20034 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20035 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20037 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20039 * configure.in (CC): Require GCC version 4.4 or later.
20040 * configure: Regenerated.
20041 * manual/install.texi (Tools for Compilation): Update GCC version
20043 * INSTALL: Regenerated.
20045 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20048 * string/test-memcmp.c (check2): New.
20049 (main): Call check2.
20051 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20053 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20056 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20058 (dl_open_worker) [!SHARED]: ... here.
20060 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20062 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20064 2013-06-25 Richard Henderson <rth@redhat.com>
20066 * locale/programs/locarchive.c: Include <libc-internal.h>
20068 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20070 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20071 trailing whitespace removed.
20073 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20076 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20077 * locale/programs/locarchive.c: Include libc-mmap.h.
20078 (prepare_address_space): Take two new outputs (the mmap base and len).
20079 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20081 (create_archive): Declare new mmap base and len values for
20082 prepare_address_space, and store the result in ah.
20083 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20084 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20085 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20086 Declare new mmap base and len values for
20087 prepare_address_space, and store the result in new_ah.
20088 (open_archive): Declare new mmap base and len values for
20089 prepare_address_space, and store the result in ah.
20090 (close_archive): If ah->mmap_base is not NULL, use that and
20091 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20092 * sysdeps/generic/libc-mmap.h: New file.
20094 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20096 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20097 (ALIGN_UP): Likewise.
20098 (PTR_ALIGN_DOWN): Likewise.
20099 (PTR_ALIGN_UP): Likewise.
20101 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20103 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20104 entry mapped to PPC_PLATFORM_POWER8.
20105 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20107 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20108 (_dl_string_platform): Add case for exporting platform position for
20110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20111 search path to sysdeps/powerpc/powerpc32/power8 directory.
20112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20113 search path to sysdeps/powerpc/powerpc64/power8 directory.
20114 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20115 power7 directories.
20116 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20117 power7 directories.
20119 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20121 * INSTALL: Regenerate.
20123 * nscd/connections.c (nscd_init): Fix comment.
20125 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20127 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20130 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20131 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20133 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20135 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20137 (DL_DST_REQ_STATIC): Remove macro.
20139 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20142 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20143 with a shift of 0 bits.
20145 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20147 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20150 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20153 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20155 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20157 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20158 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20159 accepts -fno-tree-loop-distribute-patterns.
20160 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20161 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20163 * string/memset.c (memset): Likewise.
20164 * string/test-memmove.c (simple_memmove): Disable loop transformation
20166 * string/test-memset.c (simple_memset): Likewise.
20167 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20168 * benchtests/bench-memset.c (simple_memset): Likewise.
20169 * configure: Regenerated.
20171 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20173 * math/test-misc.c (main): Ignore fesetround failure when failures
20174 of subsequent rounding tests would be ignored.
20177 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20178 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20179 * math/fegetenv.c (__fegetenv): Return 0.
20180 * math/fegetexcept.c (fegetexcept): Return 0.
20181 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20183 * math/feholdexcpt.c (feholdexcept): Return 0.
20184 * math/fesetenv.c (__fesetenv): Return 0.
20185 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20186 argument FE_TONEAREST.
20187 * math/feupdateenv.c (__feupdateenv): Return 0.
20188 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20190 2013-06-18 Roland McGrath <roland@hack.frob.com>
20192 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20193 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20194 ($(objpfx)rtld-%.os rules): Use them.
20196 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20198 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20201 2013-06-17 Roland McGrath <roland@hack.frob.com>
20203 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20204 length of target pattern, then descending length of dependency pattern.
20205 * configure.in (AWK): Require gawk 3.1.2 or newer.
20206 * manual/install.texi (Tools for Compilation): Say that we do.
20207 * configure: Regenerated.
20209 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20210 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20211 * scripts/sysd-rules.awk: ... this new script.
20212 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20213 than a glob-style pattern.
20215 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20217 * math/test-misc.c (main): Do not treat incorrectly rounded
20218 conversions as failure unless ROUNDING_TESTS passes.
20220 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20223 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20224 restore exception state around main square root computation, then
20225 check for inexactness explicitly.
20227 * math/libm-test.inc (fma_test_data): Add another test.
20229 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20231 * manual/threads.texi (Non-POSIX Extensions): New document
20232 node. Document pthread_getattr_default_np and
20233 pthread_setattr_default_np.
20235 * Versions.def (libpthread): Add GLIBC_2.18.
20236 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20243 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20245 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20247 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20256 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20259 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20261 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20262 H.J. Lu <hjl.tools@gmail.com>
20265 * sysdeps/x86_64/rtld-memset.c: Remove file.
20266 * sysdeps/x86_64/rtld-memset.S: New file.
20268 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20270 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20271 (test_in_one_mode): Take arguments for whether the rounding mode
20272 is supported for each floating-point type.
20273 (do_test): Pass new arguments to test_in_one_mode using
20276 2013-06-13 Roland McGrath <roland@hack.frob.com>
20278 * posix/tst-waitid.c (do_test): Distinguish different instances of
20279 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20280 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20281 before entering the kernel for waitpid.
20283 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20285 * NEWS: Fix note on clock function precision. Text by Roland
20288 2013-06-13 Roland McGrath <roland@hack.frob.com>
20290 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20291 it into place only when and if the sanity check passes.
20293 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20295 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20296 output for whether conversion result is exact. Take argument
20297 indicating whether type is IBM long double.
20298 (round_for_all): Change need_exact field to ibm_ld.
20299 * stdlib/tst-strtod-round.c (struct exactness): New type.
20300 (struct test): Change bool ld_ok field to struct exactness exact.
20301 (TEST): Update all definitions for change to field.
20302 (tests): Regenerate array contents.
20303 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20304 field value. Check for IBM long double here.
20305 (do_test): Update calls to test_in_one_mode.
20307 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20310 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20311 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20313 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20316 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20317 generated by the compiler on loop optimizations.
20318 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20319 general definitions.
20321 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20323 * math/bug-nextafter.c: Include <math-tests.h>.
20324 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20326 * math/bug-nexttoward.c: Include <math-tests.h>.
20327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20329 * math/test-misc.c: Include <math-tests.h>.
20330 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20333 2013-06-12 Andreas Jaeger <aj@suse.de>
20335 * po/ia.po: Update Interlingua translation from translation
20338 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20340 * include/fenv.h: Include stdbool.h.
20341 (struct rm_ctx): New structure.
20342 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20344 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20345 (SET_RESTORE_ROUNDF): Likewise.
20346 (SET_RESTORE_ROUNDL): Likewise.
20347 (SET_RESTORE_ROUND_NOEX): Likewise.
20348 (SET_RESTORE_ROUND_NOEXF): Likewise.
20349 (SET_RESTORE_ROUND_NOEXL): Likewise.
20350 (SET_RESTORE_ROUND_53BIT): Likewise.
20351 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20352 (libc_feresetround_noexf_ctx): Likewise.
20353 (libc_feresetround_noexl_ctx): Likewise.
20354 (libc_feholdsetround_53bit_ctx): Likewise.
20355 (libc_feresetround_53bit_ctx): Likewise.
20356 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20357 (libc_feholdexcept_setround_sse_ctx): New function.
20358 (libc_fesetenv_sse_ctx): Likewise.
20359 (libc_feupdateenv_sse_ctx): Likewise.
20360 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20361 (libc_feholdexcept_setround_387_ctx): Likewise.
20362 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20363 (libc_feholdsetround_387_prec_ctx): Likewise.
20364 (libc_feholdsetround_387_ctx): Likewise.
20365 (libc_feholdsetround_387_53bit_ctx): Likewise.
20366 (libc_feholdsetround_sse_ctx): Likewise.
20367 (libc_feresetround_sse_ctx): Likewise.
20368 (libc_feresetround_387_ctx): Likewise.
20369 (libc_feupdateenv_387_ctx): Likewise.
20370 (libc_feholdexcept_setroundf_ctx): Define macro.
20371 (libc_fesetenvf_ctx): Likewise.
20372 (libc_feupdateenvf_ctx): Likewise.
20373 (libc_feholdsetroundf_ctx): Likewise.
20374 (libc_feresetroundf_ctx): Likewise.
20375 (libc_feholdexcept_setround_ctx): Likewise.
20376 (libc_fesetenv_ctx): Likewise.
20377 (libc_feupdateenv_ctx): Likewise.
20378 (libc_feholdsetround_ctx): Likewise.
20379 (libc_feresetround_ctx): Likewise.
20380 (libc_feholdexcept_setroundl_ctx): Likewise.
20381 (libc_feupdateenvl_ctx): Likewise.
20382 (libc_feholdsetroundl_ctx): Likewise.
20383 (libc_feresetroundl_ctx): Likewise.
20384 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20385 (libc_feresetround_53bit_ctx): Likewise.
20387 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20389 * locale/iso-639.def: Convert to UTF-8.
20391 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20393 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20394 (EXCEPTION_TESTS_double): Likewise.
20395 (EXCEPTION_TESTS_long_double): Likewise.
20396 (EXCEPTION_TESTS): Likewise.
20397 * math/libm-test.inc (test_exceptions): Only test exceptions if
20398 EXCEPTION_TESTS (FLOAT).
20400 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20402 * benchtests/Makefile (string-bench): Add strcpy_chk and
20404 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20405 * benchtests/bench-stpcpy_chk.c: New file.
20406 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20407 * benchtests/bench-strcpy_chk.c: New file.
20408 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20410 (do_test): Likewise.
20412 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20414 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20415 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20416 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20417 with tabs where appropriate.
20418 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20420 [PPC_PLATFORM_PPC440]: Likewise.
20421 [PPC_PLATFORM_PPC464]: Likewise.
20422 [PPC_PLATFORM_PPC476]: Likewise.
20423 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20424 ppc464, and ppc476 platform strings merging from ports/
20427 2013-06-11 Andreas Schwab <schwab@suse.de>
20430 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20431 (from_ucs4_idx): Regenerate.
20432 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20433 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20434 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20435 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20436 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20437 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20438 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20439 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20440 from FROM_LOOP and TO_LOOP specific macros.
20441 (BODY): Handle combining characters.
20442 * iconvdata/BIG5HKSCS.irreversible: Update.
20443 * iconvdata/BIG5HKSCS.precomposed: New file.
20444 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20446 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20448 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20450 * include/sys/time.h: Fix indentation and add copyright header.
20452 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20453 (do_test): Likewise.
20454 * string/test-memchr.c (do_one_test): Likewise.
20455 (do_test): Likewise.
20456 * string/test-memcmp.c (do_one_test): Likewise.
20457 (do_test): Likewise.
20458 * string/test-memcpy.c (do_one_test): Likewise.
20459 (do_test): Likewise.
20460 * string/test-memmem.c (do_one_test): Likewise.
20461 (do_test): Likewise.
20462 (do_random_tests): Likewise.
20463 * string/test-memmove.c (do_one_test): Likewise.
20464 (do_test): Likewise.
20465 * string/test-memset.c (do_one_test): Likewise.
20466 (do_test): Likewise.
20467 * string/test-rawmemchr.c (do_one_test): Likewise.
20468 (do_test): Likewise.
20469 * string/test-strcasecmp.c (do_one_test): Likewise.
20470 (do_test): Likewise.
20471 * string/test-strcasestr.c (do_one_test): Likewise.
20472 (do_test): Likewise.
20473 * string/test-strcat.c (do_one_test): Likewise.
20474 (do_test): Likewise.
20475 * string/test-strchr.c (do_one_test): Likewise.
20476 (do_test): Likewise.
20477 * string/test-strcmp.c (do_one_test): Likewise.
20478 (do_test): Likewise.
20479 * string/test-strcpy.c (do_one_test): Likewise.
20480 (do_test): Likewise.
20481 * string/test-string.h: Likewise.
20482 (test_init): Likewise.
20483 * string/test-strlen.c (do_one_test): Likewise.
20484 (do_test): Likewise.
20485 * string/test-strncasecmp.c (do_one_test): Likewise.
20486 (do_test): Likewise.
20487 * string/test-strncat.c (do_one_test): Likewise.
20488 (do_test): Likewise.
20489 * string/test-strncmp.c (do_one_test): Likewise.
20490 (do_test_limit): Likewise.
20491 (do_test): Likewise.
20492 * string/test-strncpy.c (do_one_test): Likewise.
20493 (do_test): Likewise.
20494 * string/test-strnlen.c (do_one_test): Likewise.
20495 (do_test): Likewise.
20496 * string/test-strpbrk.c (do_one_test): Likewise.
20497 (do_test): Likewise.
20498 * string/test-strrchr.c (do_one_test): Likewise.
20499 (do_test): Likewise.
20500 * string/test-strspn.c (do_one_test): Likewise.
20501 (do_test): Likewise.
20502 * string/test-strstr.c (do_one_test): Likewise.
20503 (do_test): Likewise.
20505 * benchtests/Makefile (string-bench): Add string benchmarks.
20506 * benchtests/bench-bcopy-ifunc.c: New file.
20507 * benchtests/bench-bcopy.c: New file.
20508 * benchtests/bench-bzero-ifunc.c: New file.
20509 * benchtests/bench-bzero.c: New file.
20510 * benchtests/bench-memccpy-ifunc.c: New file.
20511 * benchtests/bench-memccpy.c: New file.
20512 * benchtests/bench-memchr-ifunc.c: New file.
20513 * benchtests/bench-memchr.c: New file.
20514 * benchtests/bench-memcmp-ifunc.c: New file.
20515 * benchtests/bench-memcmp.c: New file.
20516 * benchtests/bench-memmem-ifunc.c: New file.
20517 * benchtests/bench-memmem.c: New file.
20518 * benchtests/bench-memmove-ifunc.c: New file.
20519 * benchtests/bench-memmove.c: New file.
20520 * benchtests/bench-mempcpy-ifunc.c: New file.
20521 * benchtests/bench-mempcpy.c: New file.
20522 * benchtests/bench-memset-ifunc.c: New file.
20523 * benchtests/bench-memset.c: New file.
20524 * benchtests/bench-rawmemchr-ifunc.c: New file.
20525 * benchtests/bench-rawmemchr.c: New file.
20526 * benchtests/bench-stpcpy-ifunc.c: New file.
20527 * benchtests/bench-stpcpy.c: New file.
20528 * benchtests/bench-stpncpy-ifunc.c: New file.
20529 * benchtests/bench-stpncpy.c: New file.
20530 * benchtests/bench-strcasecmp-ifunc.c: New file.
20531 * benchtests/bench-strcasecmp.c: New file.
20532 * benchtests/bench-strcasestr-ifunc.c: New file.
20533 * benchtests/bench-strcasestr.c: New file.
20534 * benchtests/bench-strcat-ifunc.c: New file.
20535 * benchtests/bench-strcat.c: New file.
20536 * benchtests/bench-strchr-ifunc.c: New file.
20537 * benchtests/bench-strchr.c: New file.
20538 * benchtests/bench-strchrnul-ifunc.c: New file.
20539 * benchtests/bench-strchrnul.c: New file.
20540 * benchtests/bench-strcmp-ifunc.c: New file.
20541 * benchtests/bench-strcmp.c: New file.
20542 * benchtests/bench-strcpy-ifunc.c: New file.
20543 * benchtests/bench-strcpy.c: New file.
20544 * benchtests/bench-strcspn-ifunc.c: New file.
20545 * benchtests/bench-strcspn.c: New file.
20546 * benchtests/bench-strlen-ifunc.c: New file.
20547 * benchtests/bench-strlen.c: New file.
20548 * benchtests/bench-strncasecmp-ifunc.c: New file.
20549 * benchtests/bench-strncasecmp.c: New file.
20550 * benchtests/bench-strncat-ifunc.c: New file.
20551 * benchtests/bench-strncat.c: New file.
20552 * benchtests/bench-strncmp-ifunc.c: New file.
20553 * benchtests/bench-strncmp.c: New file.
20554 * benchtests/bench-strncpy-ifunc.c: New file.
20555 * benchtests/bench-strncpy.c: New file.
20556 * benchtests/bench-strnlen-ifunc.c: New file.
20557 * benchtests/bench-strnlen.c: New file.
20558 * benchtests/bench-strpbrk-ifunc.c: New file.
20559 * benchtests/bench-strpbrk.c: New file.
20560 * benchtests/bench-strrchr-ifunc.c: New file.
20561 * benchtests/bench-strrchr.c: New file.
20562 * benchtests/bench-strspn-ifunc.c: New file.
20563 * benchtests/bench-strspn.c: New file.
20564 * benchtests/bench-strstr-ifunc.c: New file.
20565 * benchtests/bench-strstr.c: New file.
20567 * benchtests/Makefile: Disable parallel execution of targets.
20568 (string-bench): Add memcpy.
20569 (benchset): New variable to store a list of benchmark sets.
20570 (bench-func): Renamed from bench.
20571 (bench-set): New target.
20572 (bench): Depend on bench-func and bench-set.
20573 * benchtests/README: Add section on benchmark sets.
20574 * benchtests/bench-memcpy-ifunc.c: New file.
20575 * benchtests/bench-memcpy.c: New file.
20576 * benchtests/bench-string.h: New file.
20578 2013-06-11 Andreas Schwab <schwab@suse.de>
20581 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20582 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20583 values in the triple.
20584 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20585 terminator in the group key.
20587 2013-06-11 Andreas Jaeger <aj@suse.de>
20589 * po/zh_TW.po: Update Chinese (traditional) translation from
20590 translation project.
20592 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20594 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20595 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20596 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20597 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20598 (clock_getcpuclockid): Likewise.
20599 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20600 Add weak_alias and libc_hidden_def.
20601 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20602 * rt/clock_gettime.c (clock_gettime): Rename to
20603 __clock_gettime. Add weak_alias and libc_hidden_def.
20604 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20605 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20606 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20607 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20608 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20610 * rt/clock_settime.c (clock_settime): Rename to
20611 __clock_settime. Add weak_alias and libc_hidden_def.
20612 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20614 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20616 * mach/err_boot.sub: Remove trailing whitespace.
20617 * mach/err_ipc.sub: Likewise.
20618 * mach/err_mach.sub: Likewise.
20620 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20621 (ROUNDING_TESTS_double): Likewise.
20622 (ROUNDING_TESTS_long_double): Likewise.
20623 (ROUNDING_TESTS): Likewise.
20624 * math/libm-test.inc: Include <math-tests.h>.
20625 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20626 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20627 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20628 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20630 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20632 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20635 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20637 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20638 otherwise empty TRANS lines.
20639 * sysdeps/gnu/errlist.c: Regenerated.
20641 * catgets/gencat.c (error_print): Use (void) in function
20643 * crypt/crypt_util.c (__init_des): Likewise.
20644 * crypt/speeds.c (Stop): Likewise.
20646 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20647 * inet/ruserpass.c (token): Likewise.
20648 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20649 * intl/localealias.c (extend_alias_table): Likewise.
20650 * intl/plural-exp.c (init_germanic_plural): Likewise.
20651 * libio/fcloseall.c (__fcloseall): Likewise.
20652 * libio/genops.c (_IO_flush_all): Likewise.
20653 (_IO_flush_all_linebuffered): Likewise.
20654 (_IO_cleanup): Likewise.
20655 (_IO_iter_begin): Likewise.
20656 (_IO_iter_end): Likewise.
20657 (_IO_list_lock): Likewise.
20658 (_IO_list_unlock): Likewise.
20659 (_IO_list_resetlock): Likewise.
20660 * libio/getchar.c (getchar): Likewise.
20661 * libio/getchar_u.c (getchar_unlocked): Likewise.
20662 * libio/getwchar.c (getwchar): Likewise.
20663 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20664 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20665 * login/getpt.c (__getpt): Likewise.
20666 * login/tst-utmp.c (main): Likewise.
20667 * malloc/hooks.c (__malloc_check_init): Likewise.
20668 * malloc/malloc.c (__malloc_stats): Likewise.
20669 * malloc/mtrace.c (tr_break): Likewise.
20670 (mtrace): Likewise.
20671 (muntrace): Likewise.
20672 * misc/fstab.c (endfsent): Likewise.
20673 * misc/getclktck.c (__getclktck): Likewise.
20674 * misc/getdtsz.c (__getdtablesize): Likewise.
20675 * misc/gethostid.c (gethostid): Likewise.
20676 * misc/getpagesize.c (__getpagesize): Likewise.
20677 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20678 (__get_nprocs): Likewise.
20679 (__get_phys_pages): Likewise.
20680 (__get_avphys_pages): Likewise.
20681 * misc/getttyent.c (getttyent): Likewise.
20682 (setttyent): Likewise.
20683 (endttyent): Likewise.
20684 * misc/getusershell.c (getusershell): Likewise.
20685 (endusershell): Likewise.
20686 (setusershell): Likewise.
20687 (initshells): Likewise.
20688 * misc/hsearch.c (__hdestroy): Likewise.
20689 * misc/sync.c (sync): Likewise.
20690 * misc/syslog.c (closelog_internal): Likewise.
20691 (closelog): Likewise.
20692 * misc/ttyslot.c (ttyslot): Likewise.
20693 * misc/vhangup.c (vhangup): Likewise.
20694 * posix/fork.c (__fork): Likewise.
20695 * posix/getegid.c (__getegid): Likewise.
20696 * posix/geteuid.c (__geteuid): Likewise.
20697 * posix/getgid.c (__getgid): Likewise.
20698 * posix/getpid.c (__getpid): Likewise.
20699 * posix/getppid.c (__getppid): Likewise.
20700 * posix/getuid.c (__getuid): Likewise.
20701 * posix/pause.c (pause): Likewise.
20702 * posix/setpgrp.c (setpgrp): Likewise.
20703 * posix/setsid.c (__setsid): Likewise.
20704 * posix/test-vfork.c (noop): Likewise.
20705 * resolv/gethnamaddr.c (_endhtent): Likewise.
20706 (_gethtent): Likewise.
20707 (ht_endhostent): Likewise.
20708 (gethostent): Likewise.
20709 (dns_service): Likewise.
20710 * stdlib/drand48.c (drand48): Likewise.
20711 * stdlib/lrand48.c (lrand48): Likewise.
20712 * stdlib/mrand48.c (mrand48): Likewise.
20713 * stdlib/rand.c (rand): Likewise.
20714 * stdlib/random.c (__random): Likewise.
20715 * stdlib/setenv.c (clearenv): Likewise.
20716 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20717 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20718 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20719 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20720 (__get_nprocs): Likewise.
20721 (__get_phys_pages): Likewise.
20722 (__get_avphys_pages): Likewise.
20723 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20724 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20725 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20726 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20727 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20728 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20729 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20730 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20731 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20732 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20733 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20734 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20735 * sysdeps/posix/clock.c (clock): Likewise.
20736 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20737 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20738 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20739 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20740 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20741 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20742 (__get_nprocs_conf): Likewise.
20743 (__get_phys_pages): Likewise.
20744 (__get_avphys_pages): Likewise.
20745 * time/clock.c (clock): Likewise.
20746 * time/tzset.c (__tzname_max): Likewise.
20748 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20750 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20751 (__bswap_32): Do not use "register".
20752 * crypt/crypt.c (_ufc_doit_r): Likewise.
20753 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20754 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20755 * gmon/gmon.c (__monstartup): Likewise.
20756 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20757 * hurd/hurdmalloc.c (more_memory): Likewise.
20758 (malloc): Likewise.
20760 (realloc): Likewise.
20761 (malloc_fork_prepare): Likewise.
20762 (malloc_fork_parent): Likewise.
20763 (malloc_fork_child): Likewise.
20764 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20765 (_svcauth_des): Likewise.
20766 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20767 * inet/inet_net.c (inet_network): Likewise.
20768 * inet/inet_netof.c (inet_netof): Likewise.
20769 * inet/rcmd.c (__validuser2_sa): Likewise.
20770 * io/fts.c (fts_open): Likewise.
20771 (fts_load): Likewise.
20772 (fts_close): Likewise.
20773 (fts_read): Likewise.
20774 (fts_children): Likewise.
20775 (fts_build): Likewise.
20776 (fts_stat): Likewise.
20777 (fts_sort): Likewise.
20778 (fts_alloc): Likewise.
20779 (fts_lfree): Likewise.
20780 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20781 (_IO_file_xsgetn): Likewise.
20782 (_IO_file_xsgetn_mmap): Likewise.
20783 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20784 (_IO_cookie_write): Likewise.
20785 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20786 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20787 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20788 * malloc/obstack.c (_obstack_begin): Likewise.
20789 (_obstack_begin_1): Likewise.
20790 (_obstack_newchunk): Likewise.
20791 (_obstack_allocated_p): Likewise.
20792 (obstack_free): Likewise.
20793 (_obstack_memory_used): Likewise.
20794 * misc/getttyent.c (getttynam): Likewise.
20795 (getttyent): Likewise.
20798 * misc/getusershell.c (initshells): Likewise.
20799 * misc/syslog.c (__vsyslog_chk): Likewise.
20800 * misc/ttyslot.c (ttyslot): Likewise.
20801 * nis/nis_hash.c (__nis_hash): Likewise.
20802 * posix/fnmatch_loop.c (FCT): Likewise.
20803 * posix/getconf.c (print_all): Likewise.
20805 * posix/getopt.c (exchange): Likewise.
20806 * posix/glob.c (globfree): Likewise.
20807 (prefix_array): Likewise.
20808 (__glob_pattern_type): Likewise.
20809 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20810 (NS_GET32): Likewise.
20811 (NS_PUT16): Likewise.
20812 (NS_PUT32): Likewise.
20813 * resolv/gethnamaddr.c (getanswer): Likewise.
20814 (gethostbyname2): Likewise.
20815 (gethostbyaddr): Likewise.
20816 (_gethtent): Likewise.
20817 (_gethtbyname2): Likewise.
20818 (_gethtbyaddr): Likewise.
20819 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20820 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20821 * resolv/res_init.c (__res_vinit): Likewise.
20822 (net_mask): Likewise.
20823 * resolv/res_mkquery.c (outchar): Likewise.
20825 * stdio-common/printf_fp.c (outchar): Likewise.
20827 * stdio-common/printf_fphex.c (outchar): Likewise.
20829 * stdio-common/printf_size.c (outchar): Likewise.
20831 * stdio-common/test_rdwr.c (main): Likewise.
20832 * stdio-common/tfformat.c (matches): Likewise.
20833 * stdio-common/vfprintf.c (outchar): Likewise.
20834 (printf_unknown): Likewise.
20835 (buffered_vfprintf): Likewise.
20836 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20837 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20838 (ReadFile): Likewise.
20839 * stdlib/qsort.c (SWAP): Likewise.
20840 (_quicksort): Likewise.
20841 * stdlib/setenv.c (__add_to_environ): Likewise.
20842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20843 * stdlib/strtol_l.c (__strtol_l): Likewise.
20844 * stdlib/tst-strtod.c (main): Likewise.
20845 * stdlib/tst-strtol.c (main): Likewise.
20846 * stdlib/tst-strtoll.c (main): Likewise.
20847 * string/bits/string2.h (__strcmp_cc): Likewise.
20848 (__strcmp_cg): Likewise.
20849 (__strcspn_c1): Likewise.
20850 (__strcspn_c2): Likewise.
20851 (__strcspn_c3): Likewise.
20852 (__strspn_c1): Likewise.
20853 (__strspn_c2): Likewise.
20854 (__strspn_c3): Likewise.
20855 (__strsep_1c): Likewise.
20856 (__strsep_2c): Likewise.
20857 (__strsep_3c): Likewise.
20858 * string/memccpy.c (__memccpy): Likewise.
20859 * string/stpcpy.c (__stpcpy): Likewise.
20860 * string/strcmp.c (strcmp): Likewise.
20861 * string/strrchr.c (strrchr): Likewise.
20862 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20864 * sysdeps/mach/hurd/getcwd.c
20865 (_hurd_canonicalize_directory_name_internal): Likewise.
20866 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20867 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20868 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20869 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20870 Likewise, in both definitions.
20871 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20873 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20874 64] (__bswap_64): Likewise.
20875 * time/test_time.c (main): Likewise.
20876 * time/tzfile.c (__tzfile_read): Likewise.
20877 (__tzfile_compute): Likewise.
20878 * time/tzset.c (__tzset_parse_tz): Likewise.
20879 (tzset_internal): Likewise.
20880 (compute_change): Likewise.
20881 * wcsmbs/wcscat.c (__wcscat): Likewise.
20882 * wcsmbs/wcschr.c (wcschr): Likewise.
20883 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20884 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20885 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20886 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20887 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20888 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20889 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20890 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20891 * wcsmbs/wmemset.c (wmemset): Likewise.
20893 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20895 * scripts/config.guess: Update to version 2013-05-16.
20896 * scripts/config.sub: Update to version 2013-04-24.
20897 * scripts/install-sh: Update to version 2011-11-20.07.
20898 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20899 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20901 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20903 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20904 * elf/sln.c: Likewise.
20905 * hurd/hurd/ioctl.h: Likewise.
20906 * hurd/hurdmalloc.c: Likewise.
20907 * hurd/xattr.c: Likewise.
20908 * include/shlib-compat.h: Likewise.
20909 * inet/ruserpass.c: Likewise.
20910 * libio/iofgets_u.c: Likewise.
20911 * libio/iofgetws_u.c: Likewise.
20912 * locale/programs/ld-identification.c: Likewise.
20913 * locale/programs/ld-time.c: Likewise.
20914 * mach/msg-destroy.c: Likewise.
20915 * nss/nss_files/files-netgrp.c: Likewise.
20916 * resolv/res_data.c: Likewise.
20917 * soft-fp/op-1.h: Likewise.
20918 * soft-fp/op-2.h: Likewise.
20919 * soft-fp/op-4.h: Likewise.
20920 * soft-fp/op-common.h: Likewise.
20921 * stdio-common/printf_fphex.c: Likewise.
20922 * stdlib/strtod_l.c: Likewise.
20923 * sunrpc/rpc/clnt.h: Likewise.
20924 * sysdeps/generic/framestate.c: Likewise.
20925 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20926 * sysdeps/i386/bsd-setjmp.S: Likewise.
20927 * sysdeps/i386/__longjmp.S: Likewise.
20928 * sysdeps/i386/setjmp.S: Likewise.
20929 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20930 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20931 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20932 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20934 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20947 * sysdeps/ieee754/support.c: Likewise.
20948 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20949 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20950 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20951 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20952 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20953 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20954 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20955 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20956 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20957 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20958 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20959 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20960 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20961 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20962 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20963 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20964 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20967 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20969 * posix/transbug.c: Remove executable mode.
20971 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20973 * crypt/speeds.c: Remove trailing whitespace.
20974 * dlfcn/default.c: Likewise.
20975 * elf/ifuncdep2.c: Likewise.
20976 * elf/ifuncmain1.c: Likewise.
20977 * elf/ifuncmain1vis.c: Likewise.
20978 * elf/testobj.h: Likewise.
20979 * elf/tst-stackguard1.c: Likewise.
20980 * gmon/sys/gmon.h: Likewise.
20981 * hurd/hurdmsg.c: Likewise.
20982 * hurd/new-fd.c: Likewise.
20983 * hurd/ports-get.c: Likewise.
20984 * iconvdata/ibm1008_420.c: Likewise.
20985 * inet/tst-getni1.c: Likewise.
20986 * inet/tst-getni2.c: Likewise.
20987 * libio/ioungetc.c: Likewise.
20988 * libio/wfiledoalloc.c: Likewise.
20989 * manual/libm-err-tab.pl: Likewise.
20990 * math/w_dremf.c: Likewise.
20991 * misc/ftruncate.c: Likewise.
20992 * posix/bug-glob2.c: Likewise.
20993 * posix/tst-pcre.c: Likewise.
20994 * posix/wait4.c: Likewise.
20995 * resolv/README: Likewise.
20996 * resolv/res_debug.h: Likewise.
20997 * resolv/tst-inet_ntop.c: Likewise.
20998 * setjmp/bug269-setjmp.c: Likewise.
20999 * soft-fp/extended.h: Likewise.
21000 * soft-fp/op-1.h: Likewise.
21001 * soft-fp/op-2.h: Likewise.
21002 * soft-fp/op-4.h: Likewise.
21003 * soft-fp/op-8.h: Likewise.
21004 * soft-fp/testit.c: Likewise.
21005 * stdio-common/bug16.c: Likewise.
21006 * stdlib/random.c: Likewise.
21007 * sunrpc/rpcsvc/rquota.x: Likewise.
21008 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21009 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21010 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21011 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21012 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21013 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21014 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21015 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21016 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21017 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21018 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21019 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21037 * sysdeps/ieee754/s_lib_version.c: Likewise.
21038 * sysdeps/mach/hurd/check_fds.c: Likewise.
21039 * sysdeps/mach/hurd/getsockname.c: Likewise.
21040 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21041 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21042 * sysdeps/powerpc/bits/link.h: Likewise.
21043 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21044 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21045 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21046 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21047 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21048 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21049 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21050 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21051 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21052 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21053 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21054 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21055 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21056 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21057 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21058 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21059 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21061 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21062 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21064 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21066 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21067 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21070 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21071 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21075 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21077 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21078 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21079 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21080 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21081 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21082 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21083 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21084 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21085 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21086 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21087 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21088 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21089 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21090 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21091 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21092 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21093 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21095 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21096 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21097 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21098 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21099 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21100 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21101 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21102 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21103 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21104 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21105 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21106 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21107 * sysdeps/powerpc/sysdep.h: Likewise.
21108 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21109 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21110 * sysdeps/sh/dl-trampoline.S: Likewise.
21111 * sysdeps/sh/memset.S: Likewise.
21112 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21113 * sysdeps/sh/strlen.S: Likewise.
21114 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21115 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21116 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21117 * sysdeps/sparc/sparc32/rem.S: Likewise.
21118 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21119 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21120 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21121 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21122 * sysdeps/sparc/sparc32/urem.S: Likewise.
21123 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21124 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21125 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21126 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21127 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21128 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21129 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21130 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21131 * sysdeps/unix/bsd/times.c: Likewise.
21132 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21133 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21137 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21138 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21139 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21140 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21141 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21142 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21143 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21144 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21145 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21146 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21147 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21148 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21149 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21150 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21151 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21152 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21153 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21154 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21155 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21156 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21157 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21158 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21159 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21160 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21161 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21162 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21163 * sysdeps/x86_64/strcspn.S: Likewise.
21165 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21167 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21168 generated file. Regenerate properly from gen-translit.pl.
21169 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21170 locale/C-translit.h.
21172 2013-06-05 Andreas Schwab <schwab@suse.de>
21175 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21176 week as 6 instead of -1.
21177 * time/tst-strptime.c (day_tests): Add test case.
21179 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21181 * sysdeps/generic/math_private.h
21182 (libc_feholdexcept_setround_53bit): Replace with
21183 libc_feholdsetround_53bit.
21184 (libc_feupdateenv_53bit): Replace with
21185 libc_feresetround_53bit.
21186 (SET_RESTORE_ROUND_53BIT): Adjust.
21188 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21190 * string/test-strchrnul.c: Add copyright header.
21192 * posix/tst-getaddrinfo4.c: Increase test timeout.
21194 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21197 * math/libm-test.inc (MAX_EXP): Remove
21199 (ulp): Use MIN_EXP - MANT_DIG.
21200 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21202 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21204 * po/be.po: Revert last change.
21205 * po/zh_CN.po: Likewise.
21206 * po/header.pot: Likewise.
21208 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21210 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21211 link-libc-deps to empty as target-specific variable.
21212 * Makerules (link-libc-args): New variable.
21213 (libc-for-link): Likewise.
21214 (link-libc-deps): Likewise.
21215 (lib%.so): Depend on $(link-libc-deps). Link with
21217 (build-module): Link with $(link-libc-args).
21218 (build-module-asneeded): Likewise.
21219 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21221 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21222 target-specific variable.
21223 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21224 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21225 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21227 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21229 ($(objpfx)libpcprofile.so): Likewise.
21230 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21232 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21233 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21234 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21236 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21237 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21238 * login/Makefile ($(objpfx)libutil.so): Likewise.
21239 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21240 * math/Makefile ($(objpfx)libm.so): Likewise.
21241 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21242 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21243 variable instead of depending directly on libc.
21244 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21245 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21247 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21249 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21250 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21251 ($(objpfx)libanl.so): Likewise.
21252 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21254 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21256 * sysdeps/i386/fpu/Makefile: Remove file.
21257 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21258 ($(objpfx)libm.so): Remove dependency on ld.so.
21260 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21263 * nis/yp_xdr.c (XDRMAXNAME): Define.
21264 (XDRMAXRECORD): Define.
21265 (xdr_domainname): Use XDRMAXNAME.
21266 (xdr_mapname): Likewise.
21267 (xdr_peername): Likewise.
21268 (xdr_keydat): Use XDRMAXRECORD.
21269 (xdr_valdat): Likewise.
21271 2013-05-30 Jeff Law <law@redhat.com>
21274 * manual/errno.texi (ESTALE): Update to account for more than
21275 just NFS file systems.
21276 * sysdeps/gnu/errlist.c: Regenerated.
21278 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21281 * elf/Makefile (tests): Add tst-null-argv.
21282 (modules-names): Add tst-null-argv-lib.
21283 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21284 (tst-null-argv-ENV): Set environment for tst-null-argv.
21285 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21286 (RTLD_PROGNAME): New macro.
21287 * elf/tst-null-argv.c: New test case.
21288 * elf/tst-null-argv-lib.c: Library for test case.
21289 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21290 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21291 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21292 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21293 * elf/dl-init.c (call_init): Likewise.
21294 (_dl_init): Likewise.
21295 * elf/dl-load.c (print_search_path): Likewise.
21296 (_dl_map_object): Likewise.
21297 * elf/dl-lookup.c (do_lookup_x): Likewise.
21298 (add_dependency): Likewise.
21299 (_dl_lookup_symbol_x): Likewise.
21300 (_dl_debug_bindings): Likewise.
21301 * elf/dl-open.c (_dl_show_scope): Likewise.
21302 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21303 * elf/dl-version.c (match_symbol): Likewise.
21304 (_dl_check_map_versions): Likewise.
21305 * elf/rtld.c (dl_main): Likewise.
21306 (print_unresolved): Use RTLD_PROGNAME.
21307 (print_missing_version): Likewise.
21308 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21309 (elf_machine_rela): Likewise.
21310 * sysdeps/powerpc/powerpc32/dl-machine.c
21311 (__process_machine_rela): Likewise.
21312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21314 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21316 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21318 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21321 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21325 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21327 * po/be.po: Add descriptive title.
21328 * po/zh_CN.po: Likewise.
21329 * po/header.pot: Likewise.
21331 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21333 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21335 (enlarge_archive): Likewise.
21337 2013-05-28 Ben North <ben@redfrontdoor.org>
21339 * manual/arith.texi (frexp): It is the magnitude of the return
21340 value which lies in [0.5, 1), not the return value itself.
21342 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21346 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21348 * stdio-common/bug26.c (main): Correct fscanf template.
21350 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21351 declare _dl_skip_args.
21353 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21356 * manual/platform.texi: Add missing @end deftypefun.
21358 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21361 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21362 bit of mantissa of 2^16382.
21363 * math/libm-test.inc (hypot_test_data): Add more tests.
21365 * math/libm-test.inc: Add drem and pow10 to list of tested
21367 (pow10_test): New function.
21368 (drem_test): Likewise.
21369 (drem_test_tonearest): Likewise.
21370 (drem_test_towardzero): Likewise.
21371 (drem_test_downward): Likewise.
21372 (drem_test_upward): Likewise.
21373 (main): Call the new functions.
21375 * math/libm-test.inc (finite_test_data): Remove.
21376 (finite_test): Run tests from isfinite_test_data.
21377 (gamma_test_data): Remove.
21378 (gamma_test): Run tests from lgamma_test_data.
21379 * sysdeps/i386/fpu/libm-test-ulps: Update.
21380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21382 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21384 * manual/platform.texi: Add PowerPC PPR function set documentation.
21385 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21388 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21390 * math/libm-test.inc (MAX_EXP): Define.
21392 (ulp): New function.
21393 (check_float_internal): Use ULPDIFF.
21394 (cpow_test): Disable failing test.
21395 (check_ulp): Test ulp() implemetnation.
21396 (main): Call check_ulp before starting tests.
21398 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21400 * math/gen-libm-test.pl (generate_testfile): Do not handle
21401 START_DATA and END_DATA.
21402 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21404 (acos_tonearest_test_data): Likewise.
21405 (acos_towardzero_test_data): Likewise.
21406 (acos_downward_test_data): Likewise.
21407 (acos_upward_test_data): Likewise.
21408 (acosh_test_data): Likewise.
21409 (asin_test_data): Likewise.
21410 (asin_tonearest_test_data): Likewise.
21411 (asin_towardzero_test_data): Likewise.
21412 (asin_downward_test_data): Likewise.
21413 (asin_upward_test_data): Likewise.
21414 (asinh_test_data): Likewise.
21415 (atan_test_data): Likewise.
21416 (atanh_test_data): Likewise.
21417 (atan2_test_data): Likewise.
21418 (cabs_test_data): Likewise.
21419 (cacos_test_data): Likewise.
21420 (cacosh_test_data): Likewise.
21421 (carg_test_data): Likewise.
21422 (casin_test_data): Likewise.
21423 (casinh_test_data): Likewise.
21424 (catan_test_data): Likewise.
21425 (catanh_test_data): Likewise.
21426 (cbrt_test_data): Likewise.
21427 (ccos_test_data): Likewise.
21428 (ccosh_test_data): Likewise.
21429 (ceil_test_data): Likewise.
21430 (cexp_test_data): Likewise.
21431 (cimag_test_data): Likewise.
21432 (clog_test_data): Likewise.
21433 (clog10_test_data): Likewise.
21434 (conj_test_data): Likewise.
21435 (copysign_test_data): Likewise.
21436 (cos_test_data): Likewise.
21437 (cos_tonearest_test_data): Likewise.
21438 (cos_towardzero_test_data): Likewise.
21439 (cos_downward_test_data): Likewise.
21440 (cos_upward_test_data): Likewise.
21441 (cosh_test_data): Likewise.
21442 (cosh_tonearest_test_data): Likewise.
21443 (cosh_towardzero_test_data): Likewise.
21444 (cosh_downward_test_data): Likewise.
21445 (cosh_upward_test_data): Likewise.
21446 (cpow_test_data): Likewise.
21447 (cproj_test_data): Likewise.
21448 (creal_test_data): Likewise.
21449 (csin_test_data): Likewise.
21450 (csinh_test_data): Likewise.
21451 (csqrt_test_data): Likewise.
21452 (ctan_test_data): Likewise.
21453 (ctan_tonearest_test_data): Likewise.
21454 (ctan_towardzero_test_data): Likewise.
21455 (ctan_downward_test_data): Likewise.
21456 (ctan_upward_test_data): Likewise.
21457 (ctanh_test_data): Likewise.
21458 (ctanh_tonearest_test_data): Likewise.
21459 (ctanh_towardzero_test_data): Likewise.
21460 (ctanh_downward_test_data): Likewise.
21461 (ctanh_upward_test_data): Likewise.
21462 (erf_test_data): Likewise.
21463 (erfc_test_data): Likewise.
21464 (exp_test_data): Likewise.
21465 (exp_tonearest_test_data): Likewise.
21466 (exp_towardzero_test_data): Likewise.
21467 (exp_downward_test_data): Likewise.
21468 (exp_upward_test_data): Likewise.
21469 (exp10_test_data): Likewise.
21470 (exp2_test_data): Likewise.
21471 (expm1_test_data): Likewise.
21472 (fabs_test_data): Likewise.
21473 (fdim_test_data): Likewise.
21474 (finite_test_data): Likewise.
21475 (floor_test_data): Likewise.
21476 (fma_test_data): Likewise.
21477 (fma_towardzero_test_data): Likewise.
21478 (fma_downward_test_data): Likewise.
21479 (fma_upward_test_data): Likewise.
21480 (fmax_test_data): Likewise.
21481 (fmin_test_data): Likewise.
21482 (fmod_test_data): Likewise.
21483 (fpclassify_test_data): Likewise.
21484 (frexp_test_data): Likewise.
21485 (gamma_test_data): Likewise.
21486 (hypot_test_data): Likewise.
21487 (ilogb_test_data): Likewise.
21488 (isfinite_test_data): Likewise.
21489 (isgreater_test_data): Likewise.
21490 (isgreaterequal_test_data): Likewise.
21491 (isinf_test_data): Likewise.
21492 (isless_test_data): Likewise.
21493 (islessequal_test_data): Likewise.
21494 (islessgreater_test_data): Likewise.
21495 (isnan_test_data): Likewise.
21496 (isnormal_test_data): Likewise.
21497 (issignaling_test_data): Likewise.
21498 (isunordered_test_data): Likewise.
21499 (j0_test_data): Likewise.
21500 (j1_test_data): Likewise.
21501 (jn_test_data): Likewise.
21502 (ldexp_test_data): Likewise.
21503 (lgamma_test_data): Likewise.
21504 (lrint_test_data): Likewise.
21505 (lrint_tonearest_test_data): Likewise.
21506 (lrint_towardzero_test_data): Likewise.
21507 (lrint_downward_test_data): Likewise.
21508 (lrint_upward_test_data): Likewise.
21509 (llrint_test_data): Likewise.
21510 (llrint_tonearest_test_data): Likewise.
21511 (llrint_towardzero_test_data): Likewise.
21512 (llrint_downward_test_data): Likewise.
21513 (llrint_upward_test_data): Likewise.
21514 (log_test_data): Likewise.
21515 (log10_test_data): Likewise.
21516 (log1p_test_data): Likewise.
21517 (log2_test_data): Likewise.
21518 (logb_test_data): Likewise.
21519 (logb_downward_test_data): Likewise.
21520 (lround_test_data): Likewise.
21521 (llround_test_data): Likewise.
21522 (modf_test_data): Likewise.
21523 (nearbyint_test_data): Likewise.
21524 (nextafter_test_data): Likewise.
21525 (nexttoward_test_data): Likewise.
21526 (pow_test_data): Likewise.
21527 (pow_tonearest_test_data): Likewise.
21528 (pow_towardzero_test_data): Likewise.
21529 (pow_downward_test_data): Likewise.
21530 (pow_upward_test_data): Likewise.
21531 (remainder_test_data): Likewise.
21532 (remainder_tonearest_test_data): Likewise.
21533 (remainder_towardzero_test_data): Likewise.
21534 (remainder_downward_test_data): Likewise.
21535 (remainder_upward_test_data): Likewise.
21536 (remquo_test_data): Likewise.
21537 (rint_test_data): Likewise.
21538 (rint_tonearest_test_data): Likewise.
21539 (rint_towardzero_test_data): Likewise.
21540 (rint_downward_test_data): Likewise.
21541 (rint_upward_test_data): Likewise.
21542 (round_test_data): Likewise.
21543 (scalb_test_data): Likewise.
21544 (scalbn_test_data): Likewise.
21545 (scalbln_test_data): Likewise.
21546 (signbit_test_data): Likewise.
21547 (sin_test_data): Likewise.
21548 (sin_tonearest_test_data): Likewise.
21549 (sin_towardzero_test_data): Likewise.
21550 (sin_downward_test_data): Likewise.
21551 (sin_upward_test_data): Likewise.
21552 (sincos_test_data): Likewise.
21553 (sinh_test_data): Likewise.
21554 (sinh_tonearest_test_data): Likewise.
21555 (sinh_towardzero_test_data): Likewise.
21556 (sinh_downward_test_data): Likewise.
21557 (sinh_upward_test_data): Likewise.
21558 (sqrt_test_data): Likewise.
21559 (tan_test_data): Likewise.
21560 (tan_tonearest_test_data): Likewise.
21561 (tan_towardzero_test_data): Likewise.
21562 (tan_downward_test_data): Likewise.
21563 (tan_upward_test_data): Likewise.
21564 (tanh_test_data): Likewise.
21565 (tgamma_test_data): Likewise.
21566 (trunc_test_data): Likewise.
21567 (y0_test_data): Likewise.
21568 (y1_test_data): Likewise.
21569 (yn_test_data): Likewise.
21570 (significand_test_data): Likewise.
21572 * math/gen-libm-test.pl (@functions): Remove variable.
21573 (generate_testfile): Don't handle START and END lines.
21574 * math/libm-test.inc (START): New macro.
21576 (END_COMPLEX): Likewise.
21577 (acos_test): Use END macro without arguments.
21578 (acos_test_tonearest): Likewise.
21579 (acos_test_towardzero): Likewise.
21580 (acos_test_downward): Likewise.
21581 (acos_test_upward): Likewise.
21582 (acosh_test): Likewise.
21583 (asin_test): Likewise.
21584 (asin_test_tonearest): Likewise.
21585 (asin_test_towardzero): Likewise.
21586 (asin_test_downward): Likewise.
21587 (asin_test_upward): Likewise.
21588 (asinh_test): Likewise.
21589 (atan_test): Likewise.
21590 (atanh_test): Likewise.
21591 (atan2_test): Likewise.
21592 (cabs_test): Likewise.
21593 (cacos_test): Use END_COMPLEX macro without arguments.
21594 (cacosh_test): Likewise.
21595 (carg_test): Use END macro without arguments.
21596 (casin_test): Use END_COMPLEX macro without arguments.
21597 (casinh_test): Likewise.
21598 (catan_test): Likewise.
21599 (catanh_test): Likewise.
21600 (cbrt_test): Use END macro without arguments.
21601 (ccos_test): Use END_COMPLEX macro without arguments.
21602 (ccosh_test): Likewise.
21603 (ceil_test): Use END macro without arguments.
21604 (cexp_test): Use END_COMPLEX macro without arguments.
21605 (cimag_test): Use END macro without arguments.
21606 (clog_test): Use END_COMPLEX macro without arguments.
21607 (clog10_test): Likewise.
21608 (conj_test): Likewise.
21609 (copysign_test): Use END macro without arguments.
21610 (cos_test): Likewise.
21611 (cos_test_tonearest): Likewise.
21612 (cos_test_towardzero): Likewise.
21613 (cos_test_downward): Likewise.
21614 (cos_test_upward): Likewise.
21615 (cosh_test): Likewise.
21616 (cosh_test_tonearest): Likewise.
21617 (cosh_test_towardzero): Likewise.
21618 (cosh_test_downward): Likewise.
21619 (cosh_test_upward): Likewise.
21620 (cpow_test): Use END_COMPLEX macro without arguments.
21621 (cproj_test): Likewise.
21622 (creal_test): Use END macro without arguments.
21623 (csin_test): Use END_COMPLEX macro without arguments.
21624 (csinh_test): Likewise.
21625 (csqrt_test): Likewise.
21626 (ctan_test): Likewise.
21627 (ctan_test_tonearest): Likewise.
21628 (ctan_test_towardzero): Likewise.
21629 (ctan_test_downward): Likewise.
21630 (ctan_test_upward): Likewise.
21631 (ctanh_test): Likewise.
21632 (ctanh_test_tonearest): Likewise.
21633 (ctanh_test_towardzero): Likewise.
21634 (ctanh_test_downward): Likewise.
21635 (ctanh_test_upward): Likewise.
21636 (erf_test): Use END macro without arguments.
21637 (erfc_test): Likewise.
21638 (exp_test): Likewise.
21639 (exp_test_tonearest): Likewise.
21640 (exp_test_towardzero): Likewise.
21641 (exp_test_downward): Likewise.
21642 (exp_test_upward): Likewise.
21643 (exp10_test): Likewise.
21644 (exp2_test): Likewise.
21645 (expm1_test): Likewise.
21646 (fabs_test): Likewise.
21647 (fdim_test): Likewise.
21648 (finite_test): Likewise.
21649 (floor_test): Likewise.
21650 (fma_test): Likewise.
21651 (fma_test_towardzero): Likewise.
21652 (fma_test_downward): Likewise.
21653 (fma_test_upward): Likewise.
21654 (fmax_test): Likewise.
21655 (fmin_test): Likewise.
21656 (fmod_test): Likewise.
21657 (fpclassify_test): Likewise.
21658 (frexp_test): Likewise.
21659 (gamma_test): Likewise.
21660 (hypot_test): Likewise.
21661 (ilogb_test): Likewise.
21662 (isfinite_test): Likewise.
21663 (isgreater_test): Likewise.
21664 (isgreaterequal_test): Likewise.
21665 (isinf_test): Likewise.
21666 (isless_test): Likewise.
21667 (islessequal_test): Likewise.
21668 (islessgreater_test): Likewise.
21669 (isnan_test): Likewise.
21670 (isnormal_test): Likewise.
21671 (issignaling_test): Likewise.
21672 (isunordered_test): Likewise.
21673 (j0_test): Likewise.
21674 (j1_test): Likewise.
21675 (jn_test): Likewise.
21676 (ldexp_test): Likewise.
21677 (lgamma_test): Likewise.
21678 (lrint_test): Likewise.
21679 (lrint_test_tonearest): Likewise.
21680 (lrint_test_towardzero): Likewise.
21681 (lrint_test_downward): Likewise.
21682 (lrint_test_upward): Likewise.
21683 (llrint_test): Likewise.
21684 (llrint_test_tonearest): Likewise.
21685 (llrint_test_towardzero): Likewise.
21686 (llrint_test_downward): Likewise.
21687 (llrint_test_upward): Likewise.
21688 (log_test): Likewise.
21689 (log10_test): Likewise.
21690 (log1p_test): Likewise.
21691 (log2_test): Likewise.
21692 (logb_test): Likewise.
21693 (logb_test_downward): Likewise.
21694 (lround_test): Likewise.
21695 (llround_test): Likewise.
21696 (modf_test): Likewise.
21697 (nearbyint_test): Likewise.
21698 (nextafter_test): Likewise.
21699 (nexttoward_test): Likewise.
21700 (pow_test): Likewise.
21701 (pow_test_tonearest): Likewise.
21702 (pow_test_towardzero): Likewise.
21703 (pow_test_downward): Likewise.
21704 (pow_test_upward): Likewise.
21705 (remainder_test): Likewise.
21706 (remainder_test_tonearest): Likewise.
21707 (remainder_test_towardzero): Likewise.
21708 (remainder_test_downward): Likewise.
21709 (remainder_test_upward): Likewise.
21710 (remquo_test): Likewise.
21711 (rint_test): Likewise.
21712 (rint_test_tonearest): Likewise.
21713 (rint_test_towardzero): Likewise.
21714 (rint_test_downward): Likewise.
21715 (rint_test_upward): Likewise.
21716 (round_test): Likewise.
21717 (scalb_test): Likewise.
21718 (scalbn_test): Likewise.
21719 (scalbln_test): Likewise.
21720 (signbit_test): Likewise.
21721 (sin_test): Likewise.
21722 (sin_test_tonearest): Likewise.
21723 (sin_test_towardzero): Likewise.
21724 (sin_test_downward): Likewise.
21725 (sin_test_upward): Likewise.
21726 (sincos_test): Likewise.
21727 (sinh_test): Likewise.
21728 (sinh_test_tonearest): Likewise.
21729 (sinh_test_towardzero): Likewise.
21730 (sinh_test_downward): Likewise.
21731 (sinh_test_upward): Likewise.
21732 (sqrt_test): Likewise.
21733 (tan_test): Likewise.
21734 (tan_test_tonearest): Likewise.
21735 (tan_test_towardzero): Likewise.
21736 (tan_test_downward): Likewise.
21737 (tan_test_upward): Likewise.
21738 (tanh_test): Likewise.
21739 (tgamma_test): Likewise.
21740 (trunc_test): Likewise.
21741 (y0_test): Likewise.
21742 (y1_test): Likewise.
21743 (yn_test): Likewise.
21744 (significand_test): Likewise.
21746 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21749 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21751 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21754 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21755 __ppc_mdoio and __ppc_mdoom.
21756 * manual/platform.texi: Document new functions __ppc_yield,
21757 __ppc_mdoio and __ppc_mdoom.
21759 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21761 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21762 (main): Mention "tls" pseudo-hwcap is legacy.
21763 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21765 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21767 * math/gen-libm-test.pl (parse_args): Output only string of
21768 arguments as text for test name, not full call or descriptions of
21769 tests for extra outputs.
21770 (generate_testfile): Do not pass function name to parse_args.
21771 Generate this_func variable from START.
21772 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21774 (struct test_ff_f_data): Likewise.
21775 (test_ff_f_data_nexttoward): Likewise.
21776 (struct test_fi_f_data): Likewise.
21777 (struct test_fl_f_data): Likewise.
21778 (struct test_if_f_data): Likewise.
21779 (struct test_fff_f_data): Likewise.
21780 (struct test_c_f_data): Likewise.
21781 (struct test_f_f1_data): Likewise. Remove field extra_name.
21782 (struct test_fF_f1_data): Likewise.
21783 (struct test_ffI_f1_data): Likewise.
21784 (struct test_c_c_data): Rename test_name field to arg_str.
21785 (struct test_cc_c_data): Likewise.
21786 (struct test_f_i_data): Likewise.
21787 (struct test_ff_i_data): Likewise.
21788 (struct test_f_l_data): Likewise.
21789 (struct test_f_L_data): Likewise.
21790 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21792 (COMMON_TEST_SETUP): New macro.
21793 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21794 (COMMON_TEST_CLEANUP): Likewise.
21795 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21796 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21798 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21799 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21801 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21802 (RUN_TEST_fff_f): Take argument string. Call new setup and
21804 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21805 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21807 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21808 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21810 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21811 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21813 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21814 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21816 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21817 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21819 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21820 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21822 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21823 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21825 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21826 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21828 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21829 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21831 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21832 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21834 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21835 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21837 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21838 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21840 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
21841 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
21843 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
21844 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
21846 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21847 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21849 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21851 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21853 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21854 to _sifields.sigfault.
21855 (si_addr_lsb): Define new macro.
21856 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21858 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21860 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21863 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21865 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21867 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21868 loading the domain.
21870 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21872 * math/gen-libm-test.pl (parse_args): Do not include expected
21873 result in test name.
21874 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21875 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21876 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21877 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21878 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21881 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21883 * benchtests/Makefile: Sort function entries.
21885 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21886 tanh, asinh, acosh, atanh.
21887 * benchtests/acos-inputs: New file.
21888 * benchtests/acosh-inputs: New file.
21889 * benchtests/asin-inputs: New file.
21890 * benchtests/asinh-inputs: New file.
21891 * benchtests/atanh-inputs: New file.
21892 * benchtests/cosh-inputs: New file.
21893 * benchtests/log-inputs: New file.
21894 * benchtests/sinh-inputs: New file.
21895 * benchtests/tanh-inputs: New file.
21897 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21900 * posix/tst-getaddrinfo4.c: New test.
21901 * posix/Makefile (tests): Add it.
21903 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21906 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21907 when no services were used.
21908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21909 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21911 2013-05-21 Andreas Schwab <schwab@suse.de>
21914 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21915 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21917 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21918 redundant variable declarations and reallocation of buffer when
21919 parsing as IPv6 address. Always set NSS status when called from
21920 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21921 buffer too small. Correct computation of needed size.
21922 * nss/Makefile (tests): Add test-digits-dots.
21923 * nss/test-digits-dots.c: New test.
21925 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21927 * benchtests/Makefile: Remove instructions for adding
21929 * benchtests/README: New file to explain how to execute and
21930 enhance the benchmark tests.
21932 2013-05-21 Andreas Schwab <schwab@suse.de>
21935 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21936 * setjmp/tst-sigsetjmp.c: New test.
21938 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21940 * sysdeps/x86_64/memset.S (memset): New implementation.
21941 (__bzero): Likewise.
21942 (__memset_tail): New function.
21944 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21946 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21947 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21948 __memcpy_sse2_unaligned ifunc selection.
21949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21950 Add memcpy-sse2-unaligned.S.
21951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21952 Add: __memcpy_sse2_unaligned.
21954 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21957 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21958 math_force_eval before restoring floating-point envrionment.
21959 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21962 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21964 (__nearbyintl): Use math_force_eval before restoring
21965 floating-point environment.
21966 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21968 * math/gen-libm-test.pl (special_functions): Remove.
21969 (parse_args): Don't handle TEST_extra. Handle functions with no
21971 * math/libm-test.inc (struct test_sincos_data): Replace with
21972 struct test_fFF_11_data.
21973 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21974 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21975 (sincos_test_data): Change element type to struct
21976 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21977 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21978 RUN_TEST_LOOP_sincos.
21979 * math/README.libm-test: Don't mention special handling of
21980 individual functions.
21981 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21983 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21984 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21985 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21988 * math/gen-libm-test.pl (get_variable): Remove function.
21989 (parse_args): Don't show pointer parameters to call in test
21990 names. Use "extra output N" in test names for extra outputs
21991 rather than naming variables.
21993 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21996 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
21997 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
21998 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22000 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22002 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22005 * math/gen-libm-test.pl (@tests): Remove variable.
22006 ($count): Likewise.
22007 (new_test): Remove function.
22008 (show_exceptions): New function.
22009 (special_functions): Use show_exceptions instead of new_test.
22010 (parse_args): Likewise.
22011 (generate_testfile): Pass only function name in generated call to
22012 print_max_error or print_complex_max_error.
22013 (get_ulps): Do not handle complex tests specially.
22014 (output_test): Rename to ...
22015 (get_all_ulps_for_test): ... this. Return a string rather than
22016 printing to a file. Require ulps to be present.
22017 (output_ulps): Generate arrays rather than #defines.
22018 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22019 (struct ulp_data): New type.
22020 (BUILD_COMPLEX_ULP): Remove macro.
22021 (compare_ulp_data): New function.
22022 (find_ulps): Likewise.
22023 (find_test_ulps): Likewise.
22024 (find_function_ulps): Likewise.
22025 (find_complex_function_ulps): Likewise.
22026 (print_max_error): Determine allowed ulps using
22027 find_function_ulps.
22028 (print_complex_max_error): Determine allowed ulps using
22029 find_complex_function_ulps.
22030 (check_float_internal): Determine max ulps using find_test_ulps.
22031 (check_float): Do not take max_ulp parameter. Update call to
22032 check_float_internal.
22033 (check_complex): Likewise.
22034 (check_int): Do not take max_ulp parameter.
22035 (check_long): Likewise.
22036 (check_bool): Likewise.
22037 (check_longlong): Likewise.
22038 (struct test_f_f_data): Remove max_ulp field.
22039 (struct test_ff_f_data): Likewise.
22040 (struct test_ff_f_data_nexttoward): Likewise.
22041 (struct test_fi_f_data): Likewise.
22042 (struct test_fl_f_data): Likewise.
22043 (struct test_if_f_data): Likewise.
22044 (struct test_fff_f_data): Likewise.
22045 (struct test_c_f_data): Likewise.
22046 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22047 (struct test_fF_f1_data): Likewise.
22048 (struct test_ffI_f1_data): Likewise.
22049 (struct test_c_c_data): Remove max_ulp field.
22050 (struct test_cc_c_data): Likewise.
22051 (struct test_f_i_data): Likewise.
22052 (struct test_ff_i_data): Likewise.
22053 (struct test_f_l_data): Likewise.
22054 (struct test_f_L_data): Likewise.
22055 (struct test_sincos_data): Likewise.
22056 (RUN_TEST_f_f): Do not handle ulps.
22057 (RUN_TEST_LOOP_f_f): Likewise.
22058 (RUN_TEST_2_f): Likewise.
22059 (RUN_TEST_LOOP_2_f): Likewise.
22060 (RUN_TEST_fff_f): Likewise.
22061 (RUN_TEST_LOOP_fff_f): Likewise.
22062 (RUN_TEST_c_f): Likewise.
22063 (RUN_TEST_LOOP_c_f): Likewise.
22064 (RUN_TEST_f_f1): Likewise.
22065 (RUN_TEST_LOOP_f_f1): Likewise.
22066 (RUN_TEST_fF_f1): Likewise.
22067 (RUN_TEST_LOOP_fF_f1): Likewise.
22068 (RUN_TEST_fI_f1): Likewise.
22069 (RUN_TEST_LOOP_fI_f1): Likewise.
22070 (RUN_TEST_ffI_f1): Likewise.
22071 (RUN_TEST_LOOP_ffI_f1): Likewise.
22072 (RUN_TEST_c_c): Likewise.
22073 (RUN_TEST_LOOP_c_c): Likewise.
22074 (RUN_TEST_cc_c): Likewise.
22075 (RUN_TEST_LOOP_cc_c): Likewise.
22076 (RUN_TEST_f_i): Likewise.
22077 (RUN_TEST_LOOP_f_i): Likewise.
22078 (RUN_TEST_f_i_tg): Likewise.
22079 (RUN_TEST_LOOP_f_i_tg): Likewise.
22080 (RUN_TEST_ff_i_tg): Likewise.
22081 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22082 (RUN_TEST_f_b): Likewise.
22083 (RUN_TEST_LOOP_f_b): Likewise.
22084 (RUN_TEST_f_b_tg): Likewise.
22085 (RUN_TEST_LOOP_f_b_tg): Likewise.
22086 (RUN_TEST_f_l): Likewise.
22087 (RUN_TEST_LOOP_f_l): Likewise.
22088 (RUN_TEST_f_L): Likewise.
22089 (RUN_TEST_LOOP_f_L): Likewise.
22090 (RUN_TEST_sincos): Likewise.
22091 (RUN_TEST_LOOP_sincos): Likewise.
22093 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22097 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22098 main case of finite arguments, set rounding mode to FE_TONEAREST
22099 and discard exceptions.
22100 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22102 (remainder_tonearest_test_data): New variable.
22103 (remainder_test_tonearest): New function.
22104 (remainder_towardzero_test_data): New variable.
22105 (remainder_test_towardzero): New function.
22106 (remainder_downward_test_data): New variable.
22107 (remainder_test_downward): New function.
22108 (remainder_upward_test_data): New variable.
22109 (remainder_test_upward): New function.
22110 (main): Call the new test functions.
22112 * math/libm-test.inc (struct test_f_f1_data): Remove field
22114 (struct test_fF_f1_data): Likewise.
22115 (struct test_ffI_f1_data): Likewise.
22116 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22117 based on value of EXTRA_EXPECTED.
22118 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22119 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22120 EXTRA_VAR based on value of EXTRA_EXPECTED.
22121 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22122 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22123 EXTRA_VAR based on value of EXTRA_EXPECTED.
22124 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22125 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22126 EXTRA_VAR based on value of EXTRA_EXPECTED.
22127 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22128 * math/gen-libm-test.pl (parse_args): Don't output initializers
22129 for extra output values.
22131 * math/libm-test.inc (check_int): Expect result to be exactly
22132 equal to expected value and do not handle ulps.
22133 (check_long): Likewise.
22134 (check_longlong): Likewise.
22136 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22138 (cimag_test_data): Likewise.
22139 (conj_test_data): Likewise.
22140 (copysign_test_data): Likewise.
22141 (cproj_test_data): Likewise.
22142 (creal_test_data): Likewise.
22143 (fabs_test_data): Likewise.
22144 (fdim_test_data): Likewise.
22145 (finite_test_data): Likewise.
22146 (floor_test_data): Likewise.
22147 (fmax_test_data): Likewise.
22148 (fmin_test_data): Likewise.
22149 (fmod_test_data): Likewise.
22150 (fpclassify_test_data): Likewise.
22151 (frexp_test_data): Likewise.
22152 (ilogb_test_data): Likewise.
22153 (isfinite_test_data): Likewise.
22154 (isgreater_test_data): Likewise.
22155 (isgreaterequal_test_data): Likewise.
22156 (isinf_test_data): Likewise.
22157 (isless_test_data): Likewise.
22158 (islessequal_test_data): Likewise.
22159 (islessgreater_test_data): Likewise.
22160 (isnan_test_data): Likewise.
22161 (isnormal_test_data): Likewise.
22162 (issignaling_test_data): Likewise.
22163 (isunordered_test_data): Likewise.
22164 (ldexp_test_data): Likewise.
22165 (lrint_test_data): Likewise.
22166 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22167 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22168 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22169 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22170 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22171 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22173 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22174 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22175 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22176 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22178 (lrint_downward_test_data): Test for "inexact" exceptions.
22179 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22180 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22181 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22183 (lrint_upward_test_data): Test for "inexact" exceptions.
22184 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22186 (llrint_test_data): Test for "inexact" exceptions.
22187 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22188 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22189 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22190 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22191 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22192 (llrint_downward_test_data): Test for "inexact" exceptions.
22193 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22194 (llrint_upward_test_data): Test for "inexact" exceptions.
22195 (logb_test_data): Likewise.
22196 (logb_downward_test_data): Likewise.
22197 (nextafter_test_data): Likewise.
22198 (nexttoward_test_data): Likewise.
22199 (remainder_test_data): Likewise.
22200 (remquo_test_data): Likewise.
22201 (scalbn_test_data): Likewise.
22202 (scalbln_test_data): Likewise.
22203 (signbit_test_data): Likewise.
22204 (sqrt_test_data): Likewise.
22205 (significand_test_data): Likewise.
22207 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22210 * benchtests/bench-modf.c (struct args): Mark arg0 as
22212 * scripts/bench.pl: Mark members of struct args as volatile.
22214 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22217 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22218 negative infinity on POWER6 or lower.
22219 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22221 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22224 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22225 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22226 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22227 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22228 (_FP_SETQNAN): New macro.
22229 (_FP_SETQNAN_SEMIRAW): Likewise.
22230 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22231 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22232 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22233 (FP_EXTEND): Use _FP_FRAC_SNANP.
22234 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22235 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22237 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22242 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22244 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22245 with DIVIDE_BY_ZERO_EXCEPTION.
22246 (gamma_test_data): Likewise.
22247 (lgamma_test_data): Likewise.
22248 (log_test_data): Likewise.
22249 (log10_test_data): Likewise.
22250 (log2_test_data): Likewise.
22251 (tgamma_test_data): Likewise.
22253 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22254 (acos_test_tonearest): Likewise.
22255 (acos_test_towardzero): Likewise.
22256 (acos_test_downward): Likewise.
22257 (acos_test_upward): Likewise.
22258 (acosh_test): Likewise.
22259 (asin_test): Likewise.
22260 (asin_test_tonearest): Likewise.
22261 (asin_test_towardzero): Likewise.
22262 (asin_test_downward): Likewise.
22263 (asin_test_upward): Likewise.
22264 (asinh_test): Likewise.
22265 (atan_test): Likewise.
22266 (atanh_test): Likewise.
22267 (atan2_test): Likewise.
22268 (cabs_test): Likewise.
22269 (cacos_test): Likewise.
22270 (cacosh_test): Likewise.
22271 (casin_test): Likewise.
22272 (casinh_test): Likewise.
22273 (catan_test): Likewise.
22274 (catanh_test): Likewise.
22275 (cbrt_test): Likewise.
22276 (ccos_test): Likewise.
22277 (ccosh_test): Likewise.
22278 (cexp_test): Likewise.
22279 (clog_test): Likewise.
22280 (clog10_test): Likewise.
22281 (cos_test): Likewise.
22282 (cos_test_tonearest): Likewise.
22283 (cos_test_towardzero): Likewise.
22284 (cos_test_downward): Likewise.
22285 (cos_test_upward): Likewise.
22286 (cosh_test): Likewise.
22287 (cosh_test_tonearest): Likewise.
22288 (cosh_test_towardzero): Likewise.
22289 (cosh_test_downward): Likewise.
22290 (cosh_test_upward): Likewise.
22291 (cpow_test): Likewise.
22292 (csin_test): Likewise.
22293 (csinh_test): Likewise.
22294 (csqrt_test): Likewise.
22295 (ctan_test): Likewise.
22296 (ctan_test_tonearest): Likewise.
22297 (ctan_test_towardzero): Likewise.
22298 (ctan_test_downward): Likewise.
22299 (ctan_test_upward): Likewise.
22300 (ctanh_test): Likewise.
22301 (ctanh_test_tonearest): Likewise.
22302 (ctanh_test_towardzero): Likewise.
22303 (ctanh_test_downward): Likewise.
22304 (ctanh_test_upward): Likewise.
22305 (erf_test): Likewise.
22306 (erfc_test): Likewise.
22307 (exp_test): Likewise.
22308 (exp_test_tonearest): Likewise.
22309 (exp_test_towardzero): Likewise.
22310 (exp_test_downward): Likewise.
22311 (exp_test_upward): Likewise.
22312 (exp10_test): Likewise.
22313 (exp2_test): Likewise.
22314 (expm1_test): Likewise.
22315 (fmod_test): Likewise.
22316 (gamma_test): Likewise.
22317 (hypot_test): Likewise.
22318 (j0_test): Likewise.
22319 (j1_test): Likewise.
22320 (jn_test): Likewise.
22321 (lgamma_test): Likewise.
22322 (log_test): Likewise.
22323 (log10_test): Likewise.
22324 (log1p_test): Likewise.
22325 (log2_test): Likewise.
22326 (logb_test_downward): Likewise.
22327 (pow_test): Likewise.
22328 (pow_test_tonearest): Likewise.
22329 (pow_test_towardzero): Likewise.
22330 (pow_test_downward): Likewise.
22331 (pow_test_upward): Likewise.
22332 (remainder_test): Likewise.
22333 (remquo_test): Likewise.
22334 (sin_test): Likewise.
22335 (sin_test_tonearest): Likewise.
22336 (sin_test_towardzero): Likewise.
22337 (sin_test_downward): Likewise.
22338 (sin_test_upward): Likewise.
22339 (sincos_test): Likewise.
22340 (sinh_test): Likewise.
22341 (sinh_test_tonearest): Likewise.
22342 (sinh_test_towardzero): Likewise.
22343 (sinh_test_downward): Likewise.
22344 (sinh_test_upward): Likewise.
22345 (sqrt_test): Likewise.
22346 (tan_test): Likewise.
22347 (tan_test_tonearest): Likewise.
22348 (tan_test_towardzero): Likewise.
22349 (tan_test_downward): Likewise.
22350 (tan_test_upward): Likewise.
22351 (tanh_test): Likewise.
22352 (tgamma_test): Likewise.
22353 (y0_test): Likewise.
22354 (y1_test): Likewise.
22355 (yn_test): Likewise.
22357 * math/gen-libm-test.pl (adjust_arg): Remove function.
22358 (special_function): Remove argument $in_func. Only handle
22359 generating output for tables of tests, not inside functions.
22360 (parse_args): Likewise.
22361 (generate_testfile): Remove variable $in_func. Update call to
22363 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22364 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22365 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22366 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22367 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22368 (MAX_VALUE_INIT): Rename macro to max_value.
22369 (MIN_VALUE_INIT): Rename macro to min_value.
22370 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22371 (plus_zero): Remove variable.
22372 (minus_zero): Likewise.
22373 (plus_infty): Likewise.
22374 (minus_infty): Likewise.
22375 (qnan_value): Likewise.
22376 (max_value): Likewise.
22377 (min_value): Likewise.
22378 (min_subnorm_value): Likewise.
22380 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22382 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22383 uint64_t or uint32_t usage.
22384 * crypt/sha256-block.c: Likewise.
22385 * crypt/sha256-crypt.c: Likewise.
22386 * crypt/sha256.c: Likewise.
22387 * crypt/sha512-block.c: Likewise.
22388 * crypt/sha512-crypt.c: Likewise.
22389 * crypt/sha512.c: Likewise.
22390 * debug/backtrace-tst.c: Likewise.
22391 * debug/pcprofiledump.c: Likewise.
22392 * elf/cache.c: Likewise.
22393 * elf/dl-cache.c: Likewise.
22394 * elf/dl-misc.c: Likewise.
22395 * elf/dl-profile.c: Likewise.
22396 * elf/dl-support.c: Likewise.
22397 * elf/ldconfig.c: Likewise.
22398 * elf/sprof.c: Likewise.
22399 * iconv/dummy-repertoire.c: Likewise.
22400 * iconv/iconv_charmap.c: Likewise.
22401 * iconv/skeleton.c: Likewise.
22402 * iconvdata/8bit-generic.c: Likewise.
22403 * iconvdata/cp737.h: Likewise.
22404 * iconvdata/cp775.h: Likewise.
22405 * iconvdata/ibm1008.h: Likewise.
22406 * iconvdata/ibm1025.h: Likewise.
22407 * iconvdata/ibm1046.h: Likewise.
22408 * iconvdata/ibm1097.h: Likewise.
22409 * iconvdata/ibm1112.h: Likewise.
22410 * iconvdata/ibm1122.h: Likewise.
22411 * iconvdata/ibm1123.h: Likewise.
22412 * iconvdata/ibm1124.h: Likewise.
22413 * iconvdata/ibm1129.h: Likewise.
22414 * iconvdata/ibm1130.h: Likewise.
22415 * iconvdata/ibm1132.h: Likewise.
22416 * iconvdata/ibm1133.h: Likewise.
22417 * iconvdata/ibm1137.h: Likewise.
22418 * iconvdata/ibm1140.h: Likewise.
22419 * iconvdata/ibm1141.h: Likewise.
22420 * iconvdata/ibm1142.h: Likewise.
22421 * iconvdata/ibm1143.h: Likewise.
22422 * iconvdata/ibm1144.h: Likewise.
22423 * iconvdata/ibm1145.h: Likewise.
22424 * iconvdata/ibm1146.h: Likewise.
22425 * iconvdata/ibm1147.h: Likewise.
22426 * iconvdata/ibm1148.h: Likewise.
22427 * iconvdata/ibm1149.h: Likewise.
22428 * iconvdata/ibm1153.h: Likewise.
22429 * iconvdata/ibm1154.h: Likewise.
22430 * iconvdata/ibm1155.h: Likewise.
22431 * iconvdata/ibm1156.h: Likewise.
22432 * iconvdata/ibm1157.h: Likewise.
22433 * iconvdata/ibm1158.h: Likewise.
22434 * iconvdata/ibm1160.h: Likewise.
22435 * iconvdata/ibm1161.h: Likewise.
22436 * iconvdata/ibm1162.h: Likewise.
22437 * iconvdata/ibm1163.h: Likewise.
22438 * iconvdata/ibm1164.h: Likewise.
22439 * iconvdata/ibm1166.h: Likewise.
22440 * iconvdata/ibm1167.h: Likewise.
22441 * iconvdata/ibm12712.h: Likewise.
22442 * iconvdata/ibm1390.h: Likewise.
22443 * iconvdata/ibm1399.h: Likewise.
22444 * iconvdata/ibm16804.h: Likewise.
22445 * iconvdata/ibm4517.h: Likewise.
22446 * iconvdata/ibm4899.h: Likewise.
22447 * iconvdata/ibm4909.h: Likewise.
22448 * iconvdata/ibm4971.h: Likewise.
22449 * iconvdata/ibm5347.h: Likewise.
22450 * iconvdata/ibm803.h: Likewise.
22451 * iconvdata/ibm856.h: Likewise.
22452 * iconvdata/ibm901.h: Likewise.
22453 * iconvdata/ibm902.h: Likewise.
22454 * iconvdata/ibm9030.h: Likewise.
22455 * iconvdata/ibm9066.h: Likewise.
22456 * iconvdata/ibm921.h: Likewise.
22457 * iconvdata/ibm922.h: Likewise.
22458 * iconvdata/ibm9448.h: Likewise.
22459 * iconvdata/isiri-3342.h: Likewise.
22460 * iconvdata/jis0201.h: Likewise.
22461 * include/link.h: Likewise.
22462 * include/netdb.h: Likewise.
22463 * inet/check_native.c: Likewise.
22464 * inet/check_pf.c: Likewise.
22465 * inet/getipv4sourcefilter.c: Likewise.
22466 * inet/getnameinfo.c: Likewise.
22467 * inet/getsourcefilter.c: Likewise.
22468 * inet/htonl.c: Likewise.
22469 * inet/setipv4sourcefilter.c: Likewise.
22470 * inet/setsourcefilter.c: Likewise.
22471 * inet/test-inet6_opt.c: Likewise.
22472 * inet/tst-network.c: Likewise.
22473 * locale/C-collate.c: Likewise.
22474 * locale/C-ctype.c: Likewise.
22475 * locale/C-time.c: Likewise.
22476 * locale/C-translit.h: Likewise.
22477 * locale/loadarchive.c: Likewise.
22478 * locale/programs/3level.h: Likewise.
22479 * locale/programs/charmap.c: Likewise.
22480 * locale/programs/charmap.h: Likewise.
22481 * locale/programs/ld-address.c: Likewise.
22482 * locale/programs/ld-collate.c: Likewise.
22483 * locale/programs/ld-ctype.c: Likewise.
22484 * locale/programs/ld-identification.c: Likewise.
22485 * locale/programs/ld-measurement.c: Likewise.
22486 * locale/programs/ld-messages.c: Likewise.
22487 * locale/programs/ld-monetary.c: Likewise.
22488 * locale/programs/ld-name.c: Likewise.
22489 * locale/programs/ld-numeric.c: Likewise.
22490 * locale/programs/ld-paper.c: Likewise.
22491 * locale/programs/ld-telephone.c: Likewise.
22492 * locale/programs/ld-time.c: Likewise.
22493 * locale/programs/linereader.c: Likewise.
22494 * locale/programs/locale.c: Likewise.
22495 * locale/programs/locarchive.c: Likewise.
22496 * locale/programs/locfile.h: Likewise.
22497 * locale/programs/repertoire.c: Likewise.
22498 * locale/programs/simple-hash.c: Likewise.
22499 * locale/programs/simple-hash.h: Likewise.
22500 * malloc/memusage.c: Likewise.
22501 * malloc/memusagestat.c: Likewise.
22502 * nis/nis_defaults.c: Likewise.
22503 * nis/nis_hash.c: Likewise.
22504 * nis/nis_print.c: Likewise.
22505 * nis/nis_xdr.c: Likewise.
22506 * nscd/connections.c: Likewise.
22507 * nscd/hstcache.c: Likewise.
22508 * nscd/nscd_gethst_r.c: Likewise.
22509 * nscd/nscd_getserv_r.c: Likewise.
22510 * nscd/nscd_helper.c: Likewise.
22511 * nscd/servicescache.c: Likewise.
22512 * nss/makedb.c: Likewise.
22513 * nss/nss_db/db-XXX.c: Likewise.
22514 * nss/nss_db/db-initgroups.c: Likewise.
22515 * nss/nss_db/db-netgrp.c: Likewise.
22516 * nss/nss_files/files-network.c: Likewise.
22517 * nss/nss_files/files-parse.c: Likewise.
22518 * posix/bug-regex5.c: Likewise.
22519 * posix/fnmatch_loop.c: Likewise.
22520 * posix/regcomp.c: Likewise.
22521 * posix/regexec.c: Likewise.
22522 * posix/tst-rfc3484-2.c: Likewise.
22523 * posix/tst-rfc3484-3.c: Likewise.
22524 * posix/tst-rfc3484.c: Likewise.
22525 * resolv/nss_dns/dns-canon.c: Likewise.
22526 * resolv/nss_dns/dns-network.c: Likewise.
22527 * resolv/res_init.c: Likewise.
22528 * resolv/res_mkquery.c: Likewise.
22529 * resolv/tst-aton.c: Likewise.
22530 * stdlib/cxa_atexit.c: Likewise.
22531 * stdlib/cxa_finalize.c: Likewise.
22532 * stdlib/gen-fpioconst.c: Likewise.
22533 * stdlib/strtol_l.c: Likewise.
22534 * string/tst-endian.c: Likewise.
22535 * sunrpc/auth_des.c: Likewise.
22536 * sunrpc/clnt_udp.c: Likewise.
22537 * sunrpc/rtime.c: Likewise.
22538 * sunrpc/svcauth_des.c: Likewise.
22539 * sunrpc/xdr.c: Likewise.
22540 * sunrpc/xdr_intXX_t.c: Likewise.
22541 * sunrpc/xdr_rec.c: Likewise.
22542 * sysdeps/generic/ldconfig.h: Likewise.
22543 * sysdeps/generic/ldsodefs.h: Likewise.
22544 * sysdeps/generic/memusage.h: Likewise.
22545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22548 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22555 * sysdeps/posix/getaddrinfo.c: Likewise.
22556 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22557 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22558 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22559 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22560 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22561 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22562 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22563 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22564 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22565 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22566 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22567 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22568 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22569 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22570 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22571 * sysdeps/x86_64/dl-tls.h: Likewise.
22572 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22573 * time/alt_digit.c: Likewise.
22574 * time/era.c: Likewise.
22575 * wcsmbs/tst-c16c32-1.c: Likewise.
22577 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22579 * math/libm-test.inc (struct test_sincos_data): New type.
22580 (RUN_TEST_LOOP_sincos): New macro.
22581 (sincos_test_data): New variable.
22582 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22584 2013-05-16 Richard Henderson <rth@redhat.com>
22586 * math/atest-exp2.c (LIMB64): New macro.
22587 (CONSTSZ): New macro.
22588 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22590 (print_mpn_fp): ... to function scope.
22591 (read_mpn_hex): Remove.
22592 (get_log2): Remove.
22593 (exp2_mpn): Use mp_log2.
22594 (main): Use mp_exp1.
22596 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22598 * math/libm-test.inc: Remove comment about not testing "inexact"
22600 (INEXACT_EXCEPTION): New macro.
22601 (NO_INEXACT_EXCEPTION): Likewise.
22602 (INVALID_EXCEPTION_OK): Update value.
22603 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22604 (OVERFLOW_EXCEPTION_OK): Likewise.
22605 (UNDERFLOW_EXCEPTION_OK): Likewise.
22606 (IGNORE_ZERO_INF_SIGN): Likewise.
22607 (ERRNO_UNCHANGED): Likewise.
22608 (ERRNO_EDOM): Likewise.
22609 (ERRNO_ERANGE): Likewise.
22610 (test_exceptions): Handle testing "inexact" exceptions.
22611 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22612 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22613 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22614 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22616 (rint_towardzero_test_data): Likewise.
22617 (rint_downward_test_data): Likewise.
22618 (rint_upward_test_data): Likewise.
22620 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22621 with OVERFLOW_EXCEPTION.
22622 (exp10_test_data): Likewise.
22623 (exp2_test_data): Likewise.
22624 (expm1_test_data): Likewise.
22625 (lgamma_test_data): Likewise.
22626 (pow_test_data): Likewise.
22627 (tgamma_test_data): Likewise.
22628 (yn_test_data): Remove duplicate test of overflow.
22630 * math/libm-test.inc (struct test_cc_c_data): New type.
22631 (RUN_TEST_LOOP_cc_c): New macro.
22632 (cpow_test_data): New variable.
22633 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22635 * math/libm-test.inc (struct test_f_L_data): New type.
22636 (RUN_TEST_LOOP_f_L): New macro.
22637 (llrint_test_data): New variable.
22638 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22639 (llrint_tonearest_test_data): New variable.
22640 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22641 (llrint_towardzero_test_data): New variable.
22642 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22643 (llrint_downward_test_data): New variable.
22644 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22645 (llrint_upward_test_data): New variable.
22646 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22647 (llround_test_data): New variable.
22648 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22650 2013-05-13 Peter Collingbourne <pcc@google.com>
22652 * math/atest-exp2.c (get_log2): Remove const attribute.
22654 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22656 * math/libm-test.inc (struct test_f_l_data): New type.
22657 (RUN_TEST_LOOP_f_l): New macro.
22658 (lrint_test_data): New variable.
22659 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22660 (lrint_tonearest_test_data): New variable.
22661 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22662 (lrint_towardzero_test_data): New variable.
22663 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22664 (lrint_downward_test_data): New variable.
22665 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22666 (lrint_upward_test_data): New variable.
22667 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22668 (lround_test_data): New variable.
22669 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22671 2013-05-15 Peter Collingbourne <pcc@google.com>
22673 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22674 (EXTRACT_WORDS64) Use where appropriate.
22675 (INSERT_WORDS64) Likewise.
22677 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22678 constraints with x constraints.
22679 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22681 * malloc/obstack.c (_obstack_compat): Add initializer.
22683 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22685 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22686 si_trapno and add si_addr_lsb to _sifields.sigfault.
22687 (si_trapno): Remove macro.
22688 (si_addr_lsb): Define new macro.
22689 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22691 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22693 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22694 instead of TEST_f_l.
22695 (llrint_test_tonearest): Likewise.
22696 (llrint_test_towardzero): Likewise.
22697 (llrint_test_downward): Likewise.
22698 (llrint_test_upward): Likewise.
22699 (llround_test): Likewise.
22701 * math/libm-test.inc (struct test_f_i_data): Add comment.
22702 (RUN_TEST_LOOP_f_b): New macro.
22703 (RUN_TEST_LOOP_f_b_tg): Likewise.
22704 (finite_test_data): New variable.
22705 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22706 (isfinite_test_data): New variable.
22707 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22708 (isinf_test_data): New variable.
22709 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22710 (isnan_test_data): New variable.
22711 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22712 (isnormal_test_data): New variable.
22713 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22714 (issignaling_test_data): New variable.
22715 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22716 (signbit_test_data): New variable.
22717 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22719 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22720 with INVALID_EXCEPTION.
22721 (acosh_test_data): Likewise.
22722 (asin_test_data): Likewise.
22723 (atanh_test_data): Likewise.
22724 (fmod_test_data): Likewise.
22725 (log_test_data): Likewise.
22726 (log10_test_data): Likewise.
22727 (log2_test_data): Likewise.
22728 (pow_test_data): Likewise.
22729 (sqrt_test_data): Likewise.
22730 (y0_test_data): Likewise.
22731 (y1_test_data): Likewise.
22732 (yn_test_data): Likewise.
22734 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22737 * math/libm-test.inc (struct test_ff_i_data): New type.
22738 (RUN_TEST_LOOP_ff_i_tg): New macro.
22739 (isgreater_test_data): New variable.
22740 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22741 (isgreaterequal_test_data): New variable.
22742 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22743 (isless_test_data): New variable.
22744 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22745 (islessequal_test_data): New variable.
22746 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22747 (islessgreater_test_data): New variable.
22748 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22749 (isunordered_test_data): New variable.
22750 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22752 2013-05-14 David S. Miller <davem@davemloft.net>
22754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22756 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22758 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22760 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22762 (struct test_f_i_data): Change type of max_ulp to int.
22764 * math/libm-test.inc (test_ffI_f1_data): New type.
22765 (RUN_TEST_LOOP_ffI_f1): New macro.
22766 (remquo_test_data): New variable.
22767 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22769 * setjmp/tst-setjmp-fp.c: New file.
22770 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22771 (link-libm): New variable.
22772 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22774 * math/libm-test.inc (struct test_f_i_data): New type.
22775 (RUN_TEST_LOOP_f_i): New macro.
22776 (RUN_TEST_LOOP_f_i_tg): Likewise.
22777 (fpclassify_test_data): New variable.
22778 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22779 (ilogb_test_data): New variable.
22780 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22782 * math/libm-test.inc (scalbln_test): Correct function name in END
22785 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22786 (RUN_TEST_LOOP_fI_f1): New macro.
22787 (frexp_test_data): New variable.
22788 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22790 * math/libm-test.inc (struct test_fF_f1_data): New type.
22791 (RUN_TEST_LOOP_fF_f1): New macro.
22792 (modf_test_data): New variable.
22793 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22795 * math/libm-test.inc (struct test_f_f1_data): New type.
22796 (RUN_TEST_LOOP_f_f1): New macro.
22797 (gamma_test_data): New variable.
22798 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22799 (lgamma_test_data): New variable.
22800 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22802 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22804 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22805 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22806 (main): Comment "tls" pseudo-hwcap.
22808 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22810 * math/libm-test.inc (struct test_fl_f_data): New type.
22811 (RUN_TEST_LOOP_fl_f): New variable.
22812 (scalbln_test_data): New variable.
22813 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22815 * math/libm-test.inc (struct test_fi_f_data): New type.
22816 (RUN_TEST_LOOP_fi_f): New macro.
22817 (ldexp_test_data): New variable.
22818 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22819 (scalbn_test_data): New variable.
22820 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22822 * math/libm-test.inc (struct test_c_f_data): New type.
22823 (RUN_TEST_LOOP_c_f): New macro.
22824 (cabs_test_data): New variable.
22825 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22826 (carg_test_data): New variable.
22827 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22828 (cimag_test_data): New variable.
22829 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22830 (creal_test_data): New variable.
22831 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22833 * math/libm-test.inc (struct test_if_f_data): New type.
22834 (RUN_TEST_LOOP_if_f): New macro.
22835 (jn_test_data): New variable.
22836 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22837 (yn_test_data): New variable.
22838 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22840 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22842 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22844 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22845 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22847 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22849 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22850 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22851 (bench-deps): Add bench-timing.h.
22852 * benchtests-bench-skeleton.c: Include bench-timing.h.
22853 (main): Use TIMING_* macros instead of clock_gettime.
22854 * benchtests/bench-timing.h: New file.
22857 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22858 Renamed from _LIB_VERSION.
22859 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22861 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22863 * math/libm-test.inc (struct test_fff_f_data): New type.
22864 (RUN_TEST_LOOP_fff_f): New macro.
22865 (fma_test_data): New variable.
22866 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22867 (fma_towardzero_test_data): New variable.
22868 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22869 (fma_downward_test_data): New variable.
22870 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22871 (fma_upward_test_data): New variable.
22872 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22874 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22875 (struct test_c_c_data): New type.
22876 (RUN_TEST_LOOP_c_c): New macro.
22877 (cacos_test_data): New variable.
22878 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22879 (cacosh_test_data): New variable.
22880 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22881 (casin_test_data): New variable.
22882 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22883 (casinh_test_data): New variable.
22884 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22885 (catan_test_data): New variable.
22886 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22887 (catanh_test_data): New variable.
22888 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22889 (ccos_test_data): New variable.
22890 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22891 (ccosh_test_data): New variable.
22892 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22893 (cexp_test_data): New variable.
22894 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22895 (clog_test_data): New variable.
22896 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22897 (clog10_test_data): New variable.
22898 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22899 (conj_test_data): New variable.
22900 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22901 (cproj_test_data): New variable.
22902 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22903 (csin_test_data): New variable.
22904 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22905 (csinh_test_data): New variable.
22906 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22907 (csqrt_test_data): New variable.
22908 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22909 (ctan_test_data): New variable.
22910 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22911 (ctan_tonearest_test_data): New variable.
22912 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22913 (ctan_towardzero_test_data): New variable.
22914 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22915 (ctan_downward_test_data): New variable.
22916 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22917 (ctan_upward_test_data): New variable.
22918 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22919 (ctanh_test_data): New variable.
22920 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22921 (ctanh_tonearest_test_data): New variable.
22922 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22923 (ctanh_towardzero_test_data): New variable.
22924 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22925 (ctanh_downward_test_data): New variable.
22926 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22927 (ctanh_upward_test_data): New variable.
22928 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22929 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22932 * math/libm-test.inc (struct test_ff_f_data): New type.
22933 (struct test_ff_f_data_nexttoward): Likewise.
22934 (RUN_TEST_LOOP_2_f): New macro.
22935 (RUN_TEST_LOOP_ff_f): Likewise.
22936 (atan2_test_data): New variable.
22937 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22938 (copysign_test_data): New variable.
22939 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22940 (fdim_test_data): New variable.
22941 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22942 (fmax_test_data): New variable.
22943 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22944 (fmin_test_data): New variable.
22945 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22946 (fmod_test_data): New variable.
22947 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22948 (hypot_test_data): New variable.
22949 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22950 (nextafter_test_data): New variable.
22951 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22952 (nexttoward_test_data): New variable.
22953 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22954 (pow_test_data): New variable.
22955 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22956 (pow_tonearest_test_data): New variable.
22957 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22958 (pow_towardzero_test_data): New variable.
22959 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22960 (pow_downward_test_data): New variable.
22961 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22962 (pow_upward_test_data): New variable.
22963 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22964 (remainder_test_data): New variable.
22965 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22966 (scalb_test_data): New variable.
22967 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22968 * sysdeps/i386/fpu/libm-test-ulps: Update.
22970 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22972 * math/libm-test.inc (fma_test): Use max_value instead of local
22974 (nextafter_test): Likewise.
22976 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22977 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22978 (acos_downward_test_data): New variable.
22979 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22980 (acos_upward_test_data): New variable.
22981 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22982 (acosh_test_data): New variable.
22983 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22984 (asin_test_data): New variable.
22985 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22986 (asin_tonearest_test_data): New variable.
22987 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22988 (asin_towardzero_test_data): New variable.
22989 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22990 (asin_downward_test_data): New variable.
22991 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22992 (asin_upward_test_data): New variable.
22993 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22994 (asinh_test_data): New variable.
22995 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22996 (atan_test_data): New variable.
22997 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
22998 (atanh_test_data): New variable.
22999 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23000 (cbrt_test_data): New variable.
23001 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23002 (ceil_test_data): New variable.
23003 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23004 (cos_test_data): New variable.
23005 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23006 (cos_tonearest_test_data): New variable.
23007 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23008 (cos_towardzero_test_data): New variable.
23009 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23010 (cos_downward_test_data): New variable.
23011 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23012 (cos_upward_test_data): New variable.
23013 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23014 (cosh_test_data): New variable.
23015 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23016 (cosh_tonearest_test_data): New variable.
23017 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23018 (cosh_towardzero_test_data): New variable.
23019 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23020 (cosh_downward_test_data): New variable.
23021 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23022 (cosh_upward_test_data): New variable.
23023 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23024 (erf_test_data): New variable.
23025 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23026 (erfc_test_data): New variable.
23027 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23028 (exp_test_data): New variable.
23029 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23030 (exp_tonearest_test_data): New variable.
23031 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23032 (exp_towardzero_test_data): New variable.
23033 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23034 (exp_downward_test_data): New variable.
23035 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23036 (exp_upward_test_data): New variable.
23037 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23038 (exp10_test_data): New variable.
23039 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23040 (exp2_test_data): New variable.
23041 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23042 (expm1_test_data): New variable.
23043 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23044 (fabs_test_data): New variable.
23045 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23046 (floor_test_data): New variable.
23047 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23048 (j0_test_data): New variable.
23049 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23050 (j1_test_data): New variable.
23051 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23052 (log_test_data): New variable.
23053 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23054 (log10_test_data): New variable.
23055 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23056 (log1p_test_data): New variable.
23057 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23058 (log2_test_data): New variable.
23059 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23060 (logb_test_data): New variable.
23061 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23062 (logb_downward_test_data): New variable.
23063 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23064 (nearbyint_test_data): New variable.
23065 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23066 (rint_test_data): New variable.
23067 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23068 (rint_tonearest_test_data): New variable.
23069 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23070 (rint_towardzero_test_data): New variable.
23071 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23072 (rint_downward_test_data): New variable.
23073 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23074 (rint_upward_test_data): New variable.
23075 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23076 (round_test_data): New variable.
23077 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23078 (sin_test_data): New variable.
23079 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23080 (sin_tonearest_test_data): New variable.
23081 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23082 (sin_towardzero_test_data): New variable.
23083 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23084 (sin_downward_test_data): New variable.
23085 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23086 (sin_upward_test_data): New variable.
23087 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23088 (sinh_test_data): New variable.
23089 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23090 (sinh_tonearest_test_data): New variable.
23091 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23092 (sinh_towardzero_test_data): New variable.
23093 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23094 (sinh_downward_test_data): New variable.
23095 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23096 (sinh_upward_test_data): New variable.
23097 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23098 (sqrt_test_data): New variable.
23099 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23100 (tan_test_data): New variable.
23101 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23102 (tan_tonearest_test_data): New variable.
23103 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23104 (tan_towardzero_test_data): New variable.
23105 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23106 (tan_downward_test_data): New variable.
23107 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23108 (tan_upward_test_data): New variable.
23109 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23110 (tanh_test_data): New variable.
23111 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23112 (tgamma_test_data): New variable.
23113 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23114 (trunc_test_data): New variable.
23115 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23116 (y0_test_data): New variable.
23117 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23118 (y1_test_data): New variable.
23119 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23120 (significand_test_data): New variable.
23121 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23123 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23126 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23128 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23130 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23132 2013-05-10 Andreas Jaeger <aj@suse.de>
23135 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23136 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23138 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23140 * math/gen-libm-test.pl (adjust_arg): New function.
23141 (special_functions): Handle generating output in both functions
23143 (parse_args): Likewise.
23144 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23145 $in_func argument to parse_args.
23146 * math/libm-test.inc (struct test_f_f_data): New type.
23147 (IF_ROUND_INIT_): New macro.
23148 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23149 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23150 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23151 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23152 (ROUND_RESTORE_): Likewise.
23153 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23154 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23155 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23156 (ROUND_RESTORE_FE_UPWARD): Likewise.
23157 (RUN_TEST_LOOP_f_f): New macro.
23158 (acos_test_data): New variable.
23159 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23160 (acos_tonearest_test_data): New variable.
23161 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23163 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23165 * benchtests/bench-skeleton.c (startup): Fix coding style.
23167 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23170 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23171 negative infinity argument.
23172 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23173 negative infinity argument.
23174 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23175 negative infinity argument.
23176 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23179 2013-05-10 Florian Weimer <fweimer@redhat.com>
23181 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23182 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23183 * iconv/iconv_prog.c (main): Likewise.
23184 * locale/programs/charmap-dir.c (charmap_readdir)
23185 (fopen_uncompressed): Likewise.
23186 * locale/programs/locfile.c (siblings_uncached)
23187 (write_locale_data): Use lstat64 instead of lstat.
23188 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23191 2013-05-10 Andreas Jaeger <aj@suse.de>
23194 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23196 Include <locale.h>.
23198 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23200 * elf/dl-close.c (_dl_close_worker): Add comments.
23202 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23205 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23207 (__ieee754_rem_pio2l): Update comments.
23210 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23212 (__ieee754_rem_pio2l): Update comments.
23214 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23215 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23217 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23220 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23221 (M_PI_34_LOG10El): Likewise.
23222 (M_PI2_LOG10El): Likewise.
23223 (M_PI4_LOG10El): Likewise.
23224 (M_PI_LOG10El): Likewise.
23226 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23230 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23232 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23233 (MINUS_ZERO_INIT): Likewise.
23234 (PLUS_INFTY_INIT): Likewise.
23235 (MINUS_INFTY_INIT): Likewise.
23236 (QNAN_VALUE_INIT): Likewise.
23237 (MAX_VALUE_INIT): Likewise.
23238 (MIN_VALUE_INIT): Likewise.
23239 (MIN_SUBNORM_VALUE_INIT): Likewise.
23240 (plus_zero): Initialize with PLUS_ZERO_INIT.
23241 (minus_zero): Initialize with MINUS_ZERO_INIT.
23242 (plus_infty): Initialize with PLUS_INFTY_INIT.
23243 (minus_infty): Initialize with MINUS_INFTY_INIT.
23244 (qnan_value): Initialize with QNAN_VALUE_INIT.
23245 (max_value): Initialize with MAX_VALUE_INIT.
23246 (min_value): Initialize with MIN_VALUE_INIT.
23247 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23249 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23250 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23251 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23252 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23254 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23255 (RUN_TEST_2_f): Likewise.
23256 (RUN_TEST_ff_f): Likewise.
23257 (RUN_TEST_fi_f): Likewise.
23258 (RUN_TEST_fl_f): Likewise.
23259 (RUN_TEST_fff_f): Likewise.
23260 (RUN_TEST_c_f): Likewise.
23261 (RUN_TEST_f_f1): Likewise.
23262 (RUN_TEST_fF_f1): Likewise.
23263 (RUN_TEST_fI_f1): Likewise.
23264 (RUN_TEST_ffI_f1): Likewise.
23265 (RUN_TEST_c_c): Likewise.
23266 (RUN_TEST_cc_c): Likewise.
23267 (RUN_TEST_f_i): Likewise.
23268 (RUN_TEST_f_i_tg): Likewise.
23269 (RUN_TEST_ff_i_tg): Likewise.
23270 (RUN_TEST_f_b): Likewise.
23271 (RUN_TEST_f_b_tg): Likewise.
23272 (RUN_TEST_f_l): Likewise.
23273 (RUN_TEST_f_L): Likewise.
23274 (RUN_TEST_sincos): Likewise.
23275 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23276 whether to show exceptions. Do not include ");\n" in return
23278 (special_functions): Output call to RUN_TEST_sincos instead of
23279 check_float calls. Update calls to new_test.
23280 (parse_args): Output call to single RUN_TEST_* macro instead of
23281 check_* calls and other assignments. Update calls to new_test.
23287 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23288 input to result for tgamma overflow.
23289 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23290 (gamma_coeff): New variable.
23291 (NCOEFF): New macro.
23292 (gamma_positive): New function.
23293 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23294 underflow here. Use gamma_positive instead of exp (lgamma) for
23296 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23297 (gamma_coeff): New variable.
23298 (NCOEFF): New macro.
23299 (gammaf_positive): New function.
23300 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23301 underflow here. Use gamma_positive instead of exp (lgamma) for
23303 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23304 (gamma_coeff): New variable.
23305 (NCOEFF): New macro.
23306 (gammal_positive): New function.
23307 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23308 underflow here. Use gamma_positive instead of exp (lgamma) for
23310 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23311 (gamma_coeff): New variable.
23312 (NCOEFF): New macro.
23313 (gammal_positive): New function.
23314 (__ieee754_gammal_r): Handle positive infinity, overflow and
23315 underflow here. Handle NaN the same as positive infinity. Remove
23316 check x < 0xffffffff for negative integers. Use gamma_positive
23317 instead of exp (lgamma) for other arguments.
23318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23319 (gamma_coeff): New variable.
23320 (NCOEFF): New macro.
23321 (gammal_positive): New function.
23322 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23323 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23326 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23327 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23328 * sysdeps/generic/math_private.h (__gamma_productf): New
23330 (__gamma_product): Likewise.
23331 (__gamma_productl): Likewise.
23332 * math/Makefile (libm-calls): Add gamma_product.
23333 * math/libm-test.inc (tgamma_test): Add more tests.
23334 * sysdeps/i386/fpu/libm-test-ulps: Update.
23335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23337 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23339 * benchtests/bench-skeleton.c (main): Preheat CPU.
23341 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23343 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23345 2013-05-07 Roland McGrath <roland@hack.frob.com>
23347 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23348 and _dl_skip_args_internal.
23350 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23352 * manual/message.texi (Message Translation): Talk about users.
23353 Message to key mapping impacts design.
23355 2013-05-06 Roland McGrath <roland@hack.frob.com>
23357 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23359 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23361 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23362 * sysdeps/wordsize-64/glob64.c: ... here.
23364 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23365 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23368 * debug/getlogin_r_chk.c: Moved to ...
23369 * login/getlogin_r_chk.c: ... here.
23370 * debug/Makefile (routines): Move getlogin_r_chk to ...
23371 * login/Makefile (routines): ... here.
23372 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23373 * login/Versions (libc: GLIBC_2.4): ... here.
23375 * io/poll.c (__poll): Renamed from poll.
23376 Add libc_hidden_def.
23377 (poll): Define as weak alias.
23379 * debug/ptsname_r_chk.c: Moved to ...
23380 * login/ptsname_r_chk.c: ... here.
23381 * debug/Makefile (routines): Move ptsname_r_chk to ...
23382 * login/Makefile (routines): ... here.
23383 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23384 * login/Versions (libc: GLIBC_2.4): ... here.
23386 * posix/getlogin.c: Moved to ...
23387 * login/getlogin.c: ... here.
23388 * posix/getlogin_r.c: Moved to ...
23389 * login/getlogin_r.c: ... here.
23390 * posix/getlogin_r.c: Moved to ...
23391 * login/getlogin_r.c: ... here.
23392 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23393 * login/Makefile (routines): ... here.
23394 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23395 * login/Versions (libc: GLIBC_2.0): ... here.
23397 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23398 (setrlimit): Define as weak alias.
23400 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23401 Call __ names for open, ftruncate, and close.
23402 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23403 (truncate): Define as weak alias.
23405 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23407 * math/gen-libm-test.pl (parse_args): Initialize x before each
23408 test of frexp, modf and remquo.
23410 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23411 test signgam value.
23413 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23417 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23419 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23421 2013-05-06 Roland McGrath <roland@hack.frob.com>
23423 * elf/dl-writev.h: New file.
23424 * elf/dl-misc.c: Include it.
23425 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23426 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23428 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23430 * math/libm-test.inc (noXFails): Remove variable.
23431 (noXPasses): Likewise.
23432 (BUILD_COMPLEX_INT): Remove macro.
23433 (print_screen): Remove xfail argument.
23434 (print_screen_max_error): Likewise.
23435 (update_stats): Likewise.
23436 (print_max_error): Likewise. Update calls to other affected
23438 (print_complex_max_error): Likewise.
23439 (test_single_exception): Update calls to print_screen.
23440 (test_single_errno): Likewise.
23441 (check_float_internal): Remove xfail argument. Update calls to
23442 other affected functions.
23443 (check_float): Likewise.
23444 (check_complex): Likewise.
23445 (check_int): Likewise.
23446 (check_long): Likewise.
23447 (check_bool): Likewise.
23448 (check_longlong): Likewise.
23449 (main): Don't print noXFails and noXPasses.
23450 * math/gen-libm-test.pl (top level): Don't mention expected
23451 failure handling in comment.
23452 (new_test): Don't handle expected failures.
23453 (parse_args): Don't mention expected failure handling in comment.
23454 (generate_testfile): Don't handle expected failures.
23455 (parse_ulps): Likewise.
23456 (print_ulps_file): Likewise.
23457 (get_failure): Remove function.
23458 (output_test): Don't handle expected failures.
23459 * make/README.libm-test: Don't mention expected failure handling.
23461 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23462 (minus_zero): Likewise.
23463 (plus_infty): Likewise.
23464 (minus_infty): Likewise.
23465 (qnan_value): Likewise.
23466 (max_value): Likewise.
23467 (min_value): Likewise.
23468 (min_subnorm_value): Likewise.
23469 (initialize): Do not initialize those variables dynamically.
23471 2013-05-03 Roland McGrath <roland@hack.frob.com>
23473 * io/open.c (__open_2): Moved to ...
23474 * io/open_2.c: ... this new file.
23475 * io/open64.c (__open64_2): Moved to ...
23476 * io/open64_2.c: ... this new file.
23477 * io/openat.c (__openat_2): Moved to ...
23478 * io/openat_2.c: ... this new file.
23479 * io/openat64.c (__openat64_2): Moved to ...
23480 * io/openat64_2.c: ... this new file.
23481 * io/Makefile (routines): Add them.
23482 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23483 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23484 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23485 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23486 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23487 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23488 (__openat64): Add hidden_ver.
23489 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23490 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23492 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23493 Separately conditionalize setting of GLRO(dl_sysinfo) so
23494 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23495 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23497 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23499 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23500 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23502 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23503 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23504 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23505 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23506 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23508 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23510 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23511 test signgam value.
23513 * math/libm-test.inc (hypot_test): Do not use
23514 IGNORE_ZERO_INF_SIGN.
23516 2013-05-03 Andreas Jaeger <aj@suse.de>
23518 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23520 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23521 (PF_MAX): Adjust for VSOCK change.
23523 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23527 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23530 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23531 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23532 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23534 2013-05-02 David S. Miller <davem@davemloft.net>
23536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23538 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23540 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23542 2013-05-01 Roland McGrath <roland@hack.frob.com>
23544 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23546 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23549 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23550 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23551 Use __attribute__ ((__gnu_inline__)).
23552 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23553 Don't use __attribute__ ((__gnu_inline__)).
23555 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23558 * math/s_catan.c (__catan): Handle small real or imaginary part of
23559 input specially to avoid spurious underflow.
23560 * math/s_catanf.c (__catanf): Likewise.
23561 * math/s_catanh.c (__catanh): Likewise.
23562 * math/s_catanhf.c (__catanhf): Likewise.
23563 * math/s_catanhl.c (__catanhl): Likewise.
23564 * math/s_catanl.c (__catanl): Likewise.
23565 * math/libm-test.inc (catan_test): Add more tests.
23566 (catanh_test): Likewise.
23567 * sysdeps/i386/fpu/libm-test-ulps: Update.
23568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23570 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23574 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23577 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23578 accurately for denominator in atan2.
23579 * math/s_catanf.c (__catanf): Likewise.
23580 * math/s_catanh.c (__catanh): Likewise.
23581 * math/s_catanhf.c (__catanhf): Likewise.
23582 * math/s_catanhl.c (__catanhl): Likewise.
23583 * math/s_catanl.c (__catanl): Likewise.
23584 * math/libm-test.inc (catan_test): Add more tests.
23585 (catanh_test): Likewise.
23586 * sysdeps/i386/fpu/libm-test-ulps: Update.
23587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23589 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23591 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23593 * benchtests/Makefile (bench): Remove slow benchmarks.
23594 * benchtests/atan-inputs: Add slow benchmark inputs.
23595 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23596 (BENCH_FUNC): Accept variant offset.
23598 * benchtests/bench-skeleton.c (main): Run benchmark for each
23600 * benchtests/cos-inputs: Add slow benchmark inputs.
23601 * benchtests/exp-inputs: Likewise.
23602 * benchtests/pow-inputs: Likewise.
23603 * benchtests/sin-inputs: Likewise.
23604 * benchtests/slowatan-inputs: Remove.
23605 * benchtests/slowatan.c: Remove.
23606 * benchtests/slowcos-inputs: Remove.
23607 * benchtests/slowcos.c: Remove.
23608 * benchtests/slowexp-inputs: Remove.
23609 * benchtests/slowexp.c: Remove.
23610 * benchtests/slowpow-inputs: Remove.
23611 * benchtests/slowpow.c: Remove.
23612 * benchtests/slowsin-inputs: Remove.
23613 * benchtests/slowsin.c: Remove.
23614 * benchtests/slowtan-inputs: Remove.
23615 * benchtests/slowtan.c: Remove.
23616 * benchtests/tan-inputs: Add slow benchmark inputs.
23617 * scripts/bench.pl: Parse comments and directives.
23619 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23621 ($(objpfx)bench-%.c): Remove *-ITER.
23622 * benchtests/bench-modf.c: Remove definition of ITER.
23623 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23624 (main): Loop for DURATION seconds instead of fixed number of
23626 * scripts/bench.pl: Don't expect iterations in parameters.
23628 2013-04-29 Roland McGrath <roland@hack.frob.com>
23630 * io/fchdir.c (__fchdir): Renamed from fchdir.
23631 (fchdir): Define as weak alias.
23633 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23635 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23636 (ERRNO_EDOM): Likewise.
23637 (ERRNO_ERANGE): Likewise.
23638 (noErrnoTests): New variable.
23639 (init_max_error): Set errno to 0.
23640 (test_single_errno): New function.
23641 (test_errno): Likewise.
23642 (check_float_internal): Call test_errno. Set errno to 0.
23643 (check_complex): Refer to errno tests in comment.
23644 (check_int): Call test_errno. Set errno to 0.
23645 (check_long): Likewise.
23646 (check_bool): Likewise.
23647 (check_longlong): Likewise.
23648 (cos_test): Use ERRNO_* flags for errno tests instead of
23650 (expm1_test): Likewise.
23651 (fmod_test): Likewise.
23652 (ilogb_test): Likewise.
23653 (lgamma_test): Likewise.
23654 (pow_test): Likewise.
23655 (remainder_test): Likewise.
23656 (sin_test): Likewise.
23657 (tan_test): Likewise.
23658 (yn_test): Likewise.
23659 (initialize): Set errno to 0.
23660 (main): Print number of errno tests.
23661 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23663 2013-04-29 Andreas Jaeger <aj@suse.de>
23666 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23670 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23671 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23675 * stdlib/random.c (__initstate): Return NULL if
23679 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23680 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23683 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23687 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23689 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23690 of individual tests.
23691 (casin_test): Likewise.
23692 (casinh_test): Likewise.
23694 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23697 * math/s_catan.c (__catan): Handle arguments with large real or
23698 imaginary part separately without squaring.
23699 * math/s_catanf.c (__catanf): Likewise.
23700 * math/s_catanh.c (__catanh): Likewise.
23701 * math/s_catanhf.c (__catanhf): Likewise.
23702 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23704 (__catanhl): Handle arguments with large real or imaginary part
23705 separately without squaring.
23706 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23708 (__catanl): Handle arguments with large real or imaginary part
23709 separately without squaring.
23710 * math/libm-test.inc (catan_test): Add more tests.
23711 (catanh_test): Likewise.
23712 * sysdeps/i386/fpu/libm-test-ulps: Update.
23713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23715 2013-04-27 Andreas Jaeger <aj@suse.de>
23718 * stdlib/stdlib.h: Update guards for qecvt.
23719 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23722 2013-04-27 Allan McRae <allan@archlinux.org>
23724 * sysdeps/i386/fpu/libm-test-ulps: Update.
23726 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23729 * math/s_catan.c: Include <float.h>.
23730 (__catan): Ensure underflow exception occurs for underflowed
23732 * math/s_catanf.c: Include <float.h>.
23733 (__catanf): Ensure underflow exception occurs for underflowed
23735 * math/s_catanh.c: Include <float.h>.
23736 (__catanh): Ensure underflow exception occurs for underflowed
23738 * math/s_catanhf.c: Include <float.h>.
23739 (__catanhf): Ensure underflow exception occurs for underflowed
23741 * math/s_catanhl.c: Include <float.h>.
23742 (__catanhl): Ensure underflow exception occurs for underflowed
23744 * math/s_catanl.c: Include <float.h>.
23745 (__catanl): Ensure underflow exception occurs for underflowed
23747 * math/libm-test.inc (catan_test): Add more tests.
23748 (catanh_test): Likewise.
23751 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23752 underflowed result.
23753 * math/s_ccoshf.c (__ccoshf): Likewise.
23754 * math/s_ccoshl.c (__ccoshl): Likewise.
23755 * math/s_csin.c (__csin): Likewise.
23756 * math/s_csinf.c (__csinf): Likewise.
23757 * math/s_csinh.c (__csinh): Likewise.
23758 * math/s_csinhf.c (__csinhf): Likewise.
23759 * math/s_csinhl.c (__csinhl): Likewise.
23760 * math/s_csinl.c (__csinl): Likewise.
23761 * math/libm-test.inc (ccos_test): Add more tests.
23762 (ccosh_test): Likewise.
23763 (csin_test): Likewise.
23764 (csinh_test): Likewise.
23766 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23768 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23769 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23770 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23771 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23772 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23773 powerpc/power5+/fpu folders.
23774 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23777 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23779 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23781 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23783 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23784 additions to variable.
23785 [$(config-machine) = x86_64] (modules-names): Likewise.
23786 ($(objpfx)tst-audit3): Remove dependency.
23787 ($(objpfx)tst-audit3.out): Likewise.
23788 ($(objpfx)tst-audit4): Likewise.
23789 ($(objpfx)tst-audit4.out): Likewise.
23790 ($(objpfx)tst-audit5): Likewise.
23791 ($(objpfx)tst-audit5.out): Likewise.
23792 ($(objpfx)tst-audit6): Likewise.
23793 ($(objpfx)tst-audit6.out): Likewise.
23794 ($(objpfx)tst-audit7): Likewise.
23795 ($(objpfx)tst-audit7.out): Likewise.
23796 (tst-audit3-ENV): Remove variable.
23797 (tst-audit4-ENV): Likewise.
23798 (tst-audit5-ENV): Likewise.
23799 (tst-audit6-ENV): Likewise.
23800 (tst-audit7-ENV): Likewise.
23801 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23802 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23803 addition to variable.
23804 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23805 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23806 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23807 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23808 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23809 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23810 tst-audit3, tst-audit4 and tst-audit5.
23811 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23812 tst-audit6 and tst-audit7.
23813 [$(subdir) = elf] (modules-names): Add audit modules for those
23815 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23816 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23817 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23818 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23819 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23820 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23821 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23822 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23823 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23824 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23825 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23826 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23827 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23828 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23829 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23830 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23832 [$(subdir) = elf && $(config-cflags-avx) = yes]
23833 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23834 [$(subdir) = elf && $(config-cflags-avx) = yes]
23835 (CFLAGS-tst-auditmod4a.c): Likewise.
23836 [$(subdir) = elf && $(config-cflags-avx) = yes]
23837 (CFLAGS-tst-auditmod4b.c): Likewise.
23838 [$(subdir) = elf && $(config-cflags-avx) = yes]
23839 (CFLAGS-tst-auditmod6b.c): Likewise.
23840 [$(subdir) = elf && $(config-cflags-avx) = yes]
23841 (CFLAGS-tst-auditmod6c.c): Likewise.
23842 [$(subdir) = elf && $(config-cflags-avx) = yes]
23843 (CFLAGS-tst-auditmod7b.c): Likewise.
23844 * elf/tst-audit3.c: Move to ...
23845 * sysdeps/x86_64/tst-audit3.c: ... here.
23846 * elf/tst-audit4.c: Move to ...
23847 * sysdeps/x86_64/tst-audit4.c: ... here.
23848 * elf/tst-audit5.c: Move to ...
23849 * sysdeps/x86_64/tst-audit5.c: ... here.
23850 * elf/tst-audit6.c: Move to ...
23851 * sysdeps/x86_64/tst-audit6.c: ... here.
23852 * elf/tst-audit7.c: Move to ...
23853 * sysdeps/x86_64/tst-audit7.c: ... here.
23854 * elf/tst-auditmod3a.c: Move to ...
23855 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23856 * elf/tst-auditmod3b.c: Move to ...
23857 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23858 * elf/tst-auditmod4a.c: Move to ...
23859 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23860 * elf/tst-auditmod4b.c: Move to ...
23861 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23862 * elf/tst-auditmod5a.c: Move to ...
23863 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23864 * elf/tst-auditmod5b.c: Move to ...
23865 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23866 * elf/tst-auditmod6a.c: Move to ...
23867 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23868 * elf/tst-auditmod6b.c: Move to ...
23869 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23870 * elf/tst-auditmod6c.c: Move to ...
23871 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23872 * elf/tst-auditmod7a.c: Move to ...
23873 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23874 * elf/tst-auditmod7b.c: Move to ...
23875 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23877 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23880 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23881 define unconditionally.
23882 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23883 define unconditionally.
23884 (INT8_C, INT16_C, etc.): Likewise.
23886 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23888 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23889 __ehdr_start with hidden visibility.
23891 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23893 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23895 * math/libm-test.inc (cos_test): Use accurate hex constants.
23896 (sincost_test): Likewise.
23898 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23900 * math/libm-test.inc (catan_test): Add more tests.
23901 (catanh_test): Likewise.
23903 * math/s_catanf.c (__catanf): Use suffixed floating-point
23905 * math/s_catanhf.c (__catanhf): Likewise.
23906 * math/s_catanhl.c (__catanhl): Likewise.
23907 * math/s_catanl.c (__catanl): Likewise.
23910 * math/s_catan.c (__catan): Calculate imaginary part of result
23911 with log1p not log unless computing log of number close to 0.
23912 * math/s_catanf.c (__catanf): Likewise.
23913 * math/s_catanl.c (__catanl): Likewise.
23914 * math/s_catanh.c (__catanh): Calculate real part of result with
23915 log1p not log unless computing log of number close to 0.
23916 * math/s_catanhf.c (__catanhf): Likewise.
23917 * math/s_catanhl.c (__catanhl): Likewise.
23918 * math/libm-test.inc (catan_test): Add more tests.
23919 (catanh_test): Likewise.
23920 * sysdeps/i386/fpu/libm-test-ulps: Update.
23921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23923 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23925 * benchtests/Makefile: Mention files in which fast and slow
23926 paths of math functions are implemented.
23928 2013-04-23 Roland McGrath <roland@hack.frob.com>
23930 * sysdeps/posix/timespec_get.c: New file.
23932 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23934 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23936 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23938 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23939 powerpc/power5/fpu folders.
23940 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23941 * benchtests/Makefile: Add modf testcase.
23942 * benchtests/bench-modf.c: New file: Benchmark test for mo
23944 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23947 * time/Makefile (tests): Add tst-strptime-whitespace.
23948 * time/strptime_l.c (get_number): Use ISSPACE.
23949 (__strptime_internal): Likewise.
23950 * time/tst-strptime-whitespace.c: New test case.
23952 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23954 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23956 (_nss_files_init): Set it here.
23958 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23960 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23961 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23964 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23966 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23968 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23973 2013-04-21 David S. Miller <davem@davemloft.net>
23975 * po/ru.po: Update Russion translation from translation project.
23977 2013-04-17 Adam Conrad <adconrad@0c3.net>
23979 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23982 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23984 * configure.in: Remove i386 configure warning. Remove i386 case.
23985 * configure: Regenerate.
23986 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23987 Add example to error message.
23988 * sysdeps/i386/configure: Regenerate.
23990 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23992 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23994 * benchtests/cos-inputs: New file.
23995 * benchtests/slowcos-inputs: New file.
23996 * benchtests/slowcos.c: New file.
23997 * benchtests/slowtan-inputs: New file.
23998 * benchtests/slowtan.c: New file.
23999 * benchtests/tan-inputs: New file.
24001 2013-04-16 Roland McGrath <roland@hack.frob.com>
24003 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24006 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24008 * benchtests/Makefile: Include cppflags-iterator.mk to add
24009 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24011 * Makefile.in (bench-clean): New target.
24012 * benchtests/Makefile (bench-clean): Likewise.
24014 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24016 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24018 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24020 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24022 2013-04-15 Andreas Schwab <schwab@suse.de>
24024 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24025 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24026 * nscd/pwdcache.c (cache_addpw): Likewise.
24027 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24030 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24032 * benchtests/Makefile (bench): Write all output to
24033 bench-out.tmp together.
24035 2013-04-15 Andreas Schwab <schwab@suse.de>
24037 * nscd/nscd.c (main): Don't fork again after closing files.
24039 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24041 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24043 * benchtests/Rules (bench-deps): Collect dependencies into a
24044 single variable. Add Makefile to dependencies.
24045 ($(objpfx)bench-%.c): Depend on bench-deps.
24047 2013-04-12 Roland McGrath <roland@hack.frob.com>
24048 Xavier Roche <roche+kml2@exalead.com>
24051 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24052 just that it's a file descriptor.
24053 * manual/llio.texi (Synchronizing AIO Operations): Update description
24054 for EBADF error from aio_fsync.
24056 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24058 * Rules (bench): Move target definition...
24059 * benchtests/Makefile: ... here.
24061 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24063 * math/libm-test.inc (cos_test): Fix PI/2 test.
24064 (sincos_test): Likewise.
24065 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24066 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24068 2013-04-11 Andreas Schwab <schwab@suse.de>
24071 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24072 accept exponent character only when digits were seen.
24073 * stdio-common/Makefile (tests): Add bug26.
24074 * stdio-common/bug26.c: New file.
24077 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24080 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24082 * Makeconfig (rtld-prefix): Define built linker prefix.
24083 * Rules (run-bench): Use it.
24084 * math/Makefile (run-regen-ulps): Likewise.
24086 * Rules (bench): Remove eval.
24088 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24089 Roland McGrath <roland@hack.frob.com>
24090 Ondrej Bilka <neleai@seznam.cz>
24093 * time/getdate.c: Include ctype.h and alloca.h.
24094 (__getdate_r): Trim leading and trailing spaces of input.
24095 * time/tst-getdate.c (tests): Add tests with leading and
24098 2013-04-08 Roland McGrath <roland@hack.frob.com>
24101 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24102 when computing value.
24104 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24106 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24107 Use testrun.sh to run libm tests.
24110 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24112 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24115 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24117 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24119 * Makefile.in (regen-ulps): New target.
24120 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24121 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24122 [ifneq (no,$(PERL)] (regen-ulps): New target.
24123 [ifeq (no,$(PERL)] (regen-ulps): New target.
24124 * math/libm-test.inc (ulps_file_name): Define.
24125 (output_dir): New variable.
24126 (options): Add "output-dir" option.
24127 (parse_opt): Handle 'o' case.
24128 (main): If output_dir is non-NULL use it as a prefix
24130 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24132 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24134 [BZ #10060, #10062]
24135 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24136 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24137 fail configure if __sync_val_compare_and_swap is not inlined.
24138 * sysdeps/i386/configure: Regenerate.
24139 * configure.in: Build for i686 when configured for i386.
24140 * configure: Regenerate.
24141 * README: Remove i386 reference.
24143 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24145 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24146 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24148 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24150 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24151 (lmsnanval): New variables.
24152 (F): Add conversion tests.
24153 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24154 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24156 * stdio-common/tstdiomisc.c (F): Properly collect individual
24159 [BZ #14686, #15336]
24160 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24161 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24162 Instead, use input NaN values or generate a qNaN by arithmetic
24163 operation. Also fix bugs to comply with the standard.
24164 * math/libm-test.inc (remainder_test): Add more tests.
24166 [BZ #15335, #15342]
24167 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24168 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24169 input NaN values or generate a qNaN by arithmetic operation.
24171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24174 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24177 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24180 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24181 underflowed result.
24182 * math/s_cexpf.c (__cexpf): Likewise.
24183 * math/s_cexpl.c (__cexpl): Likewise.
24184 * math/libm-test.inc (cexp_test): Add more tests.
24186 2013-04-03 Andreas Schwab <schwab@suse.de>
24189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24190 order arrays from heap if bigger than alloca cutoff.
24192 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24194 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24195 (SNAN_TESTS_double): Refer to GCC PR56831.
24196 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24199 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24201 * Rules (bench): Move bench.out after the run is complete.
24203 * Rules (bench): Echo currently running benchmark.
24205 * benchtests/Makefile (bench): Add atan and slowatan.
24206 * benchtests/atan-inputs: New file.
24207 * benchtests/slowatan-inputs: New file.
24208 * benchtests/slowatan.c: New file.
24210 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24211 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24215 * sysdeps/unix/sysv/linux/kernel-features.h
24216 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24217 __ASSUME_XFS_RESTRICTED_CHOWN.
24218 * sysdeps/unix/sysv/linux/pathconf.c
24219 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24220 Save and restore errno.
24222 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24225 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24226 arguments using __kernel_casinh.
24227 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24228 arguments using __kernel_casinhf.
24229 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24230 arguments using __kernel_casinhl.
24231 * math/libm-test.inc (cacosh_test): Add more tests.
24232 * sysdeps/i386/fpu/libm-test-ulps: Update.
24233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24235 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24237 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24238 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24240 * bench/Makefile (bench): Add sin and slowsin.
24241 * benchtests/sin-inputs: New file.
24242 * benchtests/slowsin-inputs: New file.
24243 * benchtests/slowsin.c: New file.
24245 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24246 (bench): Add slowexp and slowpow.
24247 (exp-ITER): Increase iterations.
24248 (pow-ITER): Likewise.
24249 * benchtests/exp-inputs: Change input.
24250 * benchtests/pow-inputs: Likewise.
24251 * benchtests/slowexp-inputs: New file.
24252 * benchtests/slowexp.c: New file.
24253 * benchtests/slowpow-inputs: New file.
24254 * benchtests/slowpow.c: New file.
24256 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24258 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24260 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24261 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24262 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24263 * benchtests/Makefile: Add rint benchtest.
24264 * benchtests/rint-inputs: Input for rint benchtest.
24266 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24268 * Versions.def (libm): Add GLIBC_2.18.
24269 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24270 hidden libm prototypes.
24271 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24272 * math/Makefile (libm-calls): Add s_issignaling.
24273 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24274 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24275 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24277 * math/math.h [__USE_GNU] (issignaling): New macro.
24278 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24279 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24280 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24284 * manual/arith.texi (issignaling): New section.
24285 * manual/libm-err-tab.pl (@all_functions): Update comment.
24286 * math/gen-libm-test.pl (parse_args): Apply special handling for
24288 * math/libm-test.inc (print_float, issignaling_test): New
24290 (check_float_internal): Add issignaling checks.
24291 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24292 default definition.
24293 * sysdeps/powerpc/math-tests.h: New file.
24294 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24296 * math/test-snan.c (TEST_FUNC): Likewise.
24298 2013-03-30 David S. Miller <davem@davemloft.net>
24300 * po/de.po: Update from translation team.
24302 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24305 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24306 imaginary part less than 1.0 and real part less than 0.5
24308 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24309 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24310 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24311 (cacos_test): Add more tests.
24312 (casin_test): Likewise.
24313 (casinh_test): Likewise.
24314 * sysdeps/i386/fpu/libm-test-ulps: Update.
24315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24317 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24319 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24320 ONE with its value.
24322 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24323 (__pow_mp): Replace ONE and MONE with their values.
24324 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24326 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24327 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24328 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24329 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24331 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24333 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24334 (__pow_mp): Replace ZERO and MZERO with their values.
24335 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24336 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24337 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24339 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24340 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24343 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24345 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24347 2013-03-28 Roland McGrath <roland@hack.frob.com>
24349 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24350 Declare with __attribute__ ((weak)).
24351 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24352 Call __call_tls_dtors only if it's not NULL.
24354 2013-03-28 Roland McGrath <roland@hack.frob.com>
24356 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24357 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24358 magic __ehdr_start linker symbol if it's defined.
24359 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24360 them up here if it was already done.
24362 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24363 (_dl_aux_init): Use const in cast when setting it.
24364 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24365 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24366 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24368 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24370 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24371 * csu/libc-tls.c: Nor here.
24372 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24374 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24375 (__libc_message): Never call vsyslog.
24377 2013-03-28 Alan Modra <amodra@gmail.com>
24379 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24381 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24384 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24387 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24391 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24394 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24395 Don't add gid passed as argument.
24397 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24399 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24402 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24403 imaginary part between 1.0 and 1.5 and real part less than 0.5
24405 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24406 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24407 * math/libm-test.inc (cacos_test): Add more tests.
24408 (casin_test): Likewise.
24409 (casinh_test): Likewise.
24410 * sysdeps/i386/fpu/libm-test-ulps: Update.
24411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24413 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24415 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24418 (denorm): Likewise.
24419 (__dbl_mp): Likewise.
24420 (add_magnitudes): Likewise.
24421 (sub_magnitudes): Likewise.
24429 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24431 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24432 (__dubcos): Likewise.
24433 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24434 (__ieee754_acos): Likewise.
24435 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24436 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24437 (__exp1): Likewise.
24438 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24441 (my_log2): Likewise.
24442 (checkint): Likewise.
24443 * sysdeps/ieee754/dbl-64/e_remainder.c
24444 (__ieee754_remainder): Likewise.
24445 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24446 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24447 (bsloww): Likewise.
24448 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24450 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24451 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24452 MANTISSA_STORE_T to store computations on mantissa. Use
24453 macros for rounding and division.
24454 (denorm): Likewise.
24455 (__dbl_mp): Likewise.
24456 (add_magnitudes): Likewise.
24457 (sub_magnitudes): Likewise.
24460 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24461 powers of two in terms of TWOPOW macro.
24462 (mp_no): Make type of mantissa as MANTISSA_T.
24463 [!RADIXI]: Define RADIXI.
24464 [!TWO52]: Define TWO52.
24465 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24467 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24469 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24470 llroundl symbol when building for PPC32.
24472 2013-03-24 Mark H Weaver <mhw@netris.org>
24474 * manual/arith.texi (Normalization Functions): Fix prototypes for
24475 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24477 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24480 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24481 high value to check if expl overflow.
24482 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24483 to check for underflow and overflow.
24484 * math/libm-test.inc: Add exp test.
24486 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24489 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24492 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24494 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24497 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24499 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24500 wrap blocks consisting of several statements.
24502 * sysdeps/generic/math-tests.h: New file.
24503 * sysdeps/i386/fpu/math-tests.h: Likewise.
24504 * math/test-snan.c: Include it.
24505 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24507 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24510 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24511 (__ieee754_j0l): Do not improve calculations using cos of twice
24512 input for inputs above LDBL_MAX / 2.0L.
24513 (__ieee754_y0l): Likewise.
24514 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24515 (__ieee754_j1l): Do not improve calculations using cos of twice
24516 input for inputs above LDBL_MAX / 2.0L.
24517 (__ieee754_y1l): Likewise.
24518 * math/libm-test.inc (j0_test): Add another test.
24519 (j1_test): Likewise.
24520 (y0_test): Likewise.
24521 (y1_test): Likewise.
24522 * sysdeps/i386/fpu/libm-test-ulps: Update.
24524 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24526 * Rules ($(objpfx)bench-%.c): Include code from a C source
24529 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24532 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24533 imaginary part 1.0 and real part less than 0.5 specially.
24534 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24535 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24536 * math/libm-test.inc (cacos_test): Add more tests.
24537 (casin_test): Likewise.
24538 (casinh_test): Likewise.
24539 * sysdeps/i386/fpu/libm-test-ulps: Update.
24540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24542 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24544 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24545 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24547 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24549 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24550 * config.make.in (config-cflags-sse4): Remove variable.
24551 (config-cflags-avx): Likewise.
24552 (config-cflags-sse2avx): Likewise.
24553 (config-cflags-novzeroupper): Likewise.
24554 (config-asflags-i686): Likewise.
24555 (have-mfma4): Likewise.
24556 (have-as-vis3): Likewise.
24558 * configure.in (MIG): Do not AC_SUBST.
24559 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24560 (libc_cv_cc_sse4): Do not AC_SUBST.
24561 (libc_cv_cc_avx): Likewise.
24562 (libc_cv_cc_sse2avx): Likewise.
24563 (libc_cv_cc_novzeroupper): Likewise.
24564 (libc_cv_cc_fma4): Likewise.
24565 (libc_cv_as_i686): Likewise.
24566 (libc_cv_sparc_as_vis3): Likewise.
24567 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24569 (config-asflags-i686): Likewise.
24570 (config-cflags-avx): Likewise.
24571 (config-cflags-sse2avx): Likewise.
24572 (have-mfma4): Likewise.
24573 (config-cflags-novzeroupper): Likewise.
24574 * sysdeps/mach/configure.in (MIG): Likewise.
24575 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24576 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24578 (config-cflags-avx): Likewise.
24579 (config-cflags-sse2avx): Likewise.
24580 (have-mfma4): Likewise.
24581 (config-cflags-novzeroupper): Likewise.
24582 * configure: Regenerated.
24583 * sysdeps/i386/configure: Likewise.
24584 * sysdeps/mach/configure: Likewise.
24585 * sysdeps/sparc/configure: Likewise.
24586 * sysdeps/x86_64/configure: Likewise.
24588 2013-03-20 Roland McGrath <roland@hack.frob.com>
24591 * locale/programs/localedef.c (options): Put N_ translation marker
24592 on argument names, not just descriptions.
24594 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24596 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24598 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24601 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24603 2013-03-19 Roland McGrath <roland@hack.frob.com>
24605 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24606 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24607 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24608 [!BEFORE_ABORT] (before_abort): New function.
24609 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24610 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24611 (writev_for_fatal): New function.
24612 (WRITEV_FOR_FATAL): New macro; call that.
24613 (backtrace_and_maps): New function.
24614 (BEFORE_ABORT): New macro; call that.
24615 (struct str_list): Type removed.
24616 (__libc_message, __libc_fatal): Functions removed.
24617 Include <sysdeps/posix/libc_fatal.c> instead.
24619 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24621 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24623 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24626 2013-03-19 Andreas Schwab <schwab@suse.de>
24628 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24629 * sysdeps/gnu/configure: Regenerate.
24631 * configure.in: Substitute libc_cv_rtlddir.
24632 * configure: Regenerate.
24633 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24634 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24635 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24636 * elf/Makefile (install-others, CFLAGS-interp.c)
24637 (ldso_install, common-ldd-rewrite): Likewise.
24638 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24639 $(inst_slibdir)/$(rtld-installed-name).
24640 * scripts/rellns-sh: Add -p option.
24641 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24644 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24646 * manual/nptl.texi: Renamed to ...
24647 * manual/threads.texi: ... this.
24648 * manual/Makefile (chapters): Update.
24650 2013-03-18 Roland McGrath <roland@hack.frob.com>
24653 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24654 on argument names, not just descriptions.
24655 * malloc/memusagestat.c (options): Likewise.
24656 * nss/getent.c (options): Likewise.
24658 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24661 * iconv/iconv_prog.c (options): Put N_ translation marker
24662 on argument names, not just descriptions.
24663 * iconv/iconvconfig.c (options): Likewise.
24665 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24667 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24668 implementation which is faster on all x86_64 architectures.
24669 Tested on AMD, Intel Nehalem, SNB, IVB.
24670 * sysdeps/x86_64/strnlen.S: Likewise.
24672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24673 Remove all multiarch strlen and strnlen versions.
24674 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24675 Remove strlen and strnlen related parts.
24677 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24678 Inline strlen part.
24679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24681 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24682 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24683 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24684 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24685 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24686 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24688 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24690 * manual/memory.texi (Malloc Tunable Parameters):
24691 Sort parameters alphabetically. Add comments for missing entries.
24693 2013-03-17 David S. Miller <davem@davemloft.net>
24695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24697 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24700 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24701 for arguments at most half maximum finite value.
24702 * math/libm-test.inc (j0_test): Add more tests.
24703 (j1_test): Likewise.
24704 (y0_test): Likewise.
24705 (y1_test): Likewise.
24706 * sysdeps/i386/fpu/libm-test-ulps: Update.
24707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24710 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24711 1 / x and functions P and Q for arguments above 0x1p256L.
24712 (__ieee754_y0l): Likewise.
24713 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24714 (__ieee754_y1l): Likewise.
24715 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24716 (j1_test): Likewise.
24717 (y0_test): Likewise.
24718 (y1_test): Likewise.
24720 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24722 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24725 2013-03-15 Roland McGrath <roland@hack.frob.com>
24727 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24728 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24729 zero since it's initialized to EXEC_PAGESIZE.
24731 * sysdeps/unix/sysv/linux/ldsodefs.h
24732 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24733 * sysdeps/generic/ldsodefs.h: ... here.
24735 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24737 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24739 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24741 * math/test-snan.c: Renamed from
24742 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24743 * math/Makefile (tests): Add test-snan.
24744 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24747 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24748 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24750 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24751 __builtin_nan family of functions.
24752 * math/libm-test.inc (initialize): Initialize qnan_value with
24753 __builtin_nan family of functions.
24754 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24756 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24758 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24759 storage class. Initialize qNaN_var and sNaN_var with
24760 __builtin_nan and __builtin_nans families of functions,
24763 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24764 (sqrt_test): Remove duplicate test with qNaN input.
24765 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24766 (round_test, signbit_test, significand_test): Note missing +/-Inf
24767 as well as qNaN tests.
24769 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24770 qNaN_var. Fix a few strings, too.
24771 * math/libm-test.inc (nan_value): Rename to qnan_value.
24772 * math/gen-libm-test.pl (%beautify): Adjust to that.
24773 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24774 * math/test-misc.c (main): Likewise.
24775 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24776 to __qnan_bytes, and __qnan_union, respectively.
24777 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24779 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24780 and lqnanval, respectively.
24781 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24782 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24783 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24784 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24786 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24787 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24790 * math/test-misc.c (main): Fix copy'n'pastos.
24791 * misc/tst-efgcvt.c (special): Likewise.
24793 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24794 Remove declarations.
24796 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24798 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24799 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24800 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24801 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24803 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24806 macro to return vdso values correctly in IFUNC implementations.
24807 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24808 Optimization by using IFUNC.
24810 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24811 Richard Henderson <rth@redhat.com>
24812 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24814 * Makefile.in (bench): New target.
24815 * NEWS: Mention the benchmark framework.
24816 * Rules (bench): Likewise.
24817 (binaries-bench): Generate binaries for functions to
24819 * benchtests/Makefile: New makefile for benchmark tests.
24820 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24822 * benchtests/exp-inputs: New input file for EXP function.
24823 * benchtests/pow-inputs: New input file for POW function.
24824 * scripts/bench.pl: New script to generate source files for
24825 benchmark programs.
24827 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24829 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24830 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24831 computations on mantissa. Use macros for rounding and
24833 (denorm): Likewise.
24834 (__dbl_mp): Likewise.
24835 (add_magnitudes): Likewise.
24836 (sub_magnitudes): Likewise.
24839 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24840 powers of two in terms of TWOPOW macro.
24841 (mp_no): Make type of mantissa as MANTISSA_T.
24842 [!RADIXI]: Define RADIXI.
24843 [!TWO52]: Define TWO52.
24844 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24846 * manual/nptl.texi (cindex): Modify threads to pthreads.
24848 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24850 * sysdeps/x86_64/preconfigure: Regenerated.
24852 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24855 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24857 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24858 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24860 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24861 * math/libm-test.inc (j0_test): Do not allow one spurious
24862 underflow exception.
24863 (y1_test): Likewise.
24865 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24867 * manual/Makefile (chapters): Add nptl.
24868 * manual/debug.texi (Debugging Support): Add link to Threads
24870 * manual/nptl.texi: New file.
24872 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24874 2013-03-14 Petr Baudis <pasky@ucw.cz>
24876 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24877 for non-NULL pointer before the memory validity test. Pointed
24878 out by Holger Brunck <holger.brunck@keymile.com>.
24880 2013-03-13 Andreas Schwab <schwab@suse.de>
24882 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24885 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24887 * timezone/zic.c: Update from tzcode 2013b.
24889 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24891 * manual/install.texi (Configuring and compiling):
24892 Mention i686 and i586.
24893 * INSTALL: Regenerate.
24895 2013-03-12 Roland McGrath <roland@hack.frob.com>
24897 * sysdeps/init_array/elf-init.c: New file.
24899 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24900 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24902 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24903 __gmon_start__ as global, but as static with a .preinit_array pointer.
24904 * sysdeps/init_array/gmon-start.c: New file. Use that.
24905 * sysdeps/init_array/crti.S: New file, empty except for comments.
24906 * sysdeps/init_array/crtn.S: Likewise.
24908 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24910 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24913 Remove Prefer_SSE_for_memop.
24914 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24915 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24916 HAS_PREFER_SSE_FOR_MEMOP.
24917 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24919 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24920 Remove bzero, memset ifunc support.
24921 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24922 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24923 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24924 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24926 2013-03-11 Andreas Schwab <schwab@suse.de>
24929 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24932 (GLIBC_2.16): Remove pthread_atfork.
24934 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24936 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24937 (ptestcases.h): Likewise.
24939 2013-03-08 Roland McGrath <roland@hack.frob.com>
24941 * Makeconfig ($(common-objpfx)config.status): Depend on
24942 sysdeps/*/preconfigure{,.in} too.
24944 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24946 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24947 (__free_hook): Use void * instead of __malloc_ptr_t.
24948 (__malloc_hook): Likewise.
24949 (__realloc_hook): Likewise.
24950 (__memalign_hook): Likewise.
24951 (__after_morecore_hook): Likewise.
24952 * malloc/arena.c (save_malloc_hook): Likewise.
24953 (save_free_hook): Likewise.
24954 * malloc/hooks.c (malloc_hook_ini): Likewise.
24955 (realloc_hook_ini): Likewise.
24956 (memalign_hook_ini): Likewise.
24957 * malloc/malloc.c (malloc_hook_ini): Likewise.
24958 (realloc_hook_ini): Likewise.
24959 (memalign_hook_ini): Likewise.
24960 (__free_hook): Likewise.
24961 (__malloc_hook): Likewise.
24962 (__realloc_hook): Likewise.
24963 (__memalign_hook): Likewise.
24964 (__libc_malloc): Likewise.
24965 (__libc_free): Likewise.
24966 (__libc_realloc): Likewise.
24967 (__libc_memalign): Likewise.
24968 (__libc_valloc): Likewise.
24969 (__libc_pvalloc): Likewise.
24970 (__libc_calloc): Likewise.
24971 (__posix_memalign): Likewise.
24972 * malloc/morecore.c (__sbrk): Likewise.
24973 (__default_morecore): Likewise.
24975 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24977 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24978 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24979 __malloc_ptrdiff_t.
24981 * malloc/malloc.h (__malloc_size_t): Remove macro.
24982 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24984 (old_memalign_hook): Likewise.
24985 (old_realloc_hook): Likewise.
24986 (struct hdr): Likewise.
24988 (mallochook): Likewise.
24989 (memalignhook): Likewise.
24990 (reallochook): Likewise.
24991 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24992 (tr_old_realloc_hook): Likewise.
24993 (tr_old_memalign_hook): Likewise.
24994 (tr_mallochook): Likewise.
24995 (tr_reallochook): Likewise.
24996 (tr_memalignhook): Likewise.
24998 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25000 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25001 default_ldbl_pack and using as default implementation.
25002 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25004 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25005 redundant definition.
25006 (ldbl_insert_mantissa): Likewise.
25007 (ldbl_canonicalize): Likewise.
25008 (ldbl_nearbyint): Likewise.
25009 (ldbl_pack): Rename to ldbl_pack_ppc.
25010 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25011 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25012 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25014 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25016 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25017 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25018 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25019 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25021 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25022 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25023 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25025 2013-03-07 Andreas Jaeger <aj@suse.de>
25027 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25030 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25032 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25033 Include mpa.h and declare __MPEXP.
25034 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25035 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25036 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25037 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25038 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25039 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25040 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25042 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25043 (__slowpow): Use long double EXPL and LOGL functions to
25045 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25046 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25047 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25048 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25049 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25050 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25053 intermediate variable to calculate exponent.
25055 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25059 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25060 [!NO__SQR]: Define __sqr.
25061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25062 and NO__SQR. Remove all code except __mul and __sqr. Include
25063 sysdeps/ieee754/dbl-64/mpa.c.
25064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25067 * posix/Makefile (tests): Add tst-pathconf.
25068 * posix/tst-pathconf.c: New test case.
25069 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25071 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25073 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25075 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25077 2013-03-06 Andreas Jaeger <aj@suse.de>
25079 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25080 definition via __MAP_ANONYMOUS.
25082 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25083 it's not part of Linux headers.
25085 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25086 (MAP_HUGE_MASK): Define.
25088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25090 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25091 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25094 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25097 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25099 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25101 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25102 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25103 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25104 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25105 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25106 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25108 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25111 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25112 Handle f2fs and efivarfs.
25114 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25117 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25118 (EFIVARFS_MAGIC): Add.
25119 (F2FS_LINK_MAX): Add.
25121 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25123 * stdio-common/vfprintf.c: Replace __builtin_expect with
25126 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25129 * sysdeps/generic/bp-sym.h: Remove file.
25130 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25131 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25132 <bp-sym.h> and <bp-asm.h>.
25133 (__longjmp): Don't use BP_SYM.
25134 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25136 (memcpy): Don't use BP_SYM.
25137 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25138 <bp-sym.h> and <bp-asm.h>.
25139 (memcpy): Don't use BP_SYM.
25140 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25142 (memcpy): Don't use BP_SYM.
25143 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25145 (memset): Don't use BP_SYM.
25146 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25147 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25148 (__bzero): Don't use BP_SYM.
25149 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25150 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25151 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25152 <bp-sym.h> and <bp-asm.h>.
25153 (memcmp): Don't use BP_SYM. Remove comment about bounded
25155 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25156 <bp-sym.h> and <bp-asm.h>.
25157 (memcpy): Don't use BP_SYM.
25158 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25159 <bp-sym.h> and <bp-asm.h>.
25160 (memset): Don't use BP_SYM.
25161 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25162 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25163 (__bzero): Don't use BP_SYM.
25164 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25165 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25166 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25167 <bp-sym.h> and <bp-asm.h>.
25168 (strncmp): Don't use BP_SYM. Remove comment about bounded
25170 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25171 <bp-sym.h> and <bp-asm.h>.
25172 (memcpy): Don't use BP_SYM.
25173 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25174 <bp-sym.h> and <bp-asm.h>.
25175 (memset): Don't use BP_SYM.
25176 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25177 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25178 (__bzero): Don't use BP_SYM.
25179 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25180 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25181 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25182 <bp-sym.h> and <bp-asm.h>.
25183 (__memchr): Don't use BP_SYM.
25184 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25185 <bp-sym.h> and <bp-asm.h>.
25186 (memcmp): Don't use BP_SYM. Remove comment about bounded
25188 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25189 <bp-sym.h> and <bp-asm.h>.
25190 (memcpy): Don't use BP_SYM.
25191 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25192 <bp-sym.h> and <bp-asm.h>.
25193 (__mempcpy): Don't use BP_SYM.
25194 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25195 <bp-sym.h> and <bp-asm.h>.
25196 (__memrchr): Don't use BP_SYM.
25197 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25198 <bp-sym.h> and <bp-asm.h>.
25199 (memset): Don't use BP_SYM.
25200 (__bzero): Likewise.
25201 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25202 <bp-sym.h> and <bp-asm.h>.
25203 (__rawmemchr): Don't use BP_SYM.
25204 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25205 <bp-sym.h> and <bp-asm.h>.
25206 (__STRCMP): Don't use BP_SYM.
25207 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25208 <bp-sym.h> and <bp-asm.h>.
25209 (strchr): Don't use BP_SYM.
25210 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25211 <bp-sym.h> and <bp-asm.h>.
25212 (__strchrnul): Don't use BP_SYM.
25213 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25214 <bp-sym.h> and <bp-asm.h>.
25215 (strlen): Don't use BP_SYM.
25216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25217 <bp-sym.h> and <bp-asm.h>.
25218 (strncmp): Don't use BP_SYM. Remove comment about bounded
25220 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25221 <bp-sym.h> and <bp-asm.h>.
25222 (__strnlen): Don't use BP_SYM.
25223 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25224 <bp-sym.h> and <bp-asm.h>.
25225 (__GI__setjmp): Don't use BP_SYM.
25226 (_setjmp): Likewise.
25227 (__sigsetjmp): Likewise.
25228 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25229 (L(start_addresses)): Don't use BP_SYM.
25230 (_start): Likewise.
25231 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25233 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25234 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25235 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25236 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25237 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25239 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25240 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25241 about bounded pointers.
25242 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25243 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25244 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25246 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25247 about bounded pointers. Remove GKM FIXME comments.
25248 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25249 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25251 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25252 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25253 Remove GKM FIXME comments.
25254 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25255 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25256 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25258 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25259 about bounded pointers. Remove GKM FIXME comment.
25260 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25262 (strncmp): Don't use BP_SYM. Remove comment about bounded
25264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25265 <bp-sym.h> and <bp-asm.h>.
25266 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25268 <bp-sym.h> and <bp-asm.h>.
25269 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25272 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25274 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25277 2013-03-05 David S. Miller <davem@davemloft.net>
25279 * po/es.po: Update from translation team.
25281 2013-03-05 Andreas Jaeger <aj@suse.de>
25283 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25284 <bits/mman-linux.h>.
25285 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25287 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25288 <bits/mman-linux.h> to end of file.
25289 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25291 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25292 <bits/mman-linux.h> to end of file.
25293 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25295 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25296 <bits/mman-linux.h> to end of file.
25298 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25299 (MCL_CURRENT, MCL_FUTURE): Define here.
25301 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25304 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25306 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25308 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25310 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25311 fourth parameter needed for rt_sigprocmask syscall.
25312 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25313 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25314 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25315 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25316 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25317 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25319 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25322 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25323 comment about bounded pointers.
25324 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25325 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25327 2013-03-04 Andreas Jaeger <aj@suse.de>
25329 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25330 common definitions.
25332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25333 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25334 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25335 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25336 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25337 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25339 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25342 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25343 __ieee754_sqrl instead of __sqrl.
25345 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25347 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25348 * sysdeps/powerpc/fpu_control.h: ... here.
25349 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25350 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25351 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25352 * sysdeps/powerpc/bits/mathinline.h: ... here.
25354 2013-03-01 Roland McGrath <roland@hack.frob.com>
25356 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25357 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25358 to just [NEED_DL_SYSINFO_DSO].
25359 * elf/dl-support.c: Likewise.
25360 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25361 * elf/rtld.c (dl_main): Likewise.
25362 * elf/setup-vdso.h (setup_vdso): Likewise.
25363 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25364 * sysdeps/unix/sysv/linux/dl-sysdep.c
25365 (_dl_discover_osversion): Likewise.
25367 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25369 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25370 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25372 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25374 * NEWS: Mention libm performance improvements and non-x86 PI
25377 * csu/libc-start.c (__pthread_initialize_minimal): Change
25378 function arguments.
25379 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25381 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25384 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25385 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25386 <bp-sym.h> and <bp-asm.h>.
25387 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25388 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25390 (memcpy): Don't use BP_SYM.
25391 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25393 (__mpn_add_n): Don't use BP_SYM.
25394 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25395 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25397 (__mpn_addmul_1): Don't use BP_SYM.
25398 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25399 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25401 (_setjmp): Don't use BP_SYM.
25402 (__novmx_setjmp): Likewise.
25403 (__GI__setjmp): Likewise.
25404 (__vmx_setjmp): Likewise.
25405 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25407 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25408 (__bzero): Don't use BP_SYM.
25409 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25410 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25411 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25412 <bp-sym.h> and <bp-asm.h>.
25413 (memcpy): Don't use BP_SYM.
25414 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25415 <bp-sym.h> and <bp-asm.h>.
25416 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25417 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25418 <bp-sym.h> and <bp-asm.h>.
25419 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25420 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25422 (__mpn_lshift): Don't use BP_SYM.
25423 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25424 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25426 (memset): Don't use BP_SYM.
25427 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25428 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25429 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25431 (__mpn_mul_1): Don't use BP_SYM.
25432 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25433 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25434 <bp-sym.h> and <bp-asm.h>.
25435 (memcmp): Don't use BP_SYM.
25436 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25437 <bp-sym.h> and <bp-asm.h>.
25438 (memcpy): Don't use BP_SYM.
25439 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25440 <bp-sym.h> and <bp-asm.h>.
25441 (memset): Don't use BP_SYM.
25442 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25443 <bp-sym.h> and <bp-asm.h>.
25444 (strncmp): Don't use BP_SYM.
25445 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25446 <bp-sym.h> and <bp-asm.h>.
25447 (memcpy): Don't use BP_SYM.
25448 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25449 <bp-sym.h> and <bp-asm.h>.
25450 (memset): Don't use BP_SYM.
25451 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25452 <bp-sym.h> and <bp-asm.h>.
25453 (__memchr): Don't use BP_SYM.
25454 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25455 <bp-sym.h> and <bp-asm.h>.
25456 (memcmp): Don't use BP_SYM.
25457 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25458 <bp-sym.h> and <bp-asm.h>.
25459 (memcpy): Don't use BP_SYM.
25460 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25461 <bp-sym.h> and <bp-asm.h>.
25462 (__mempcpy): Don't use BP_SYM.
25463 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25464 <bp-sym.h> and <bp-asm.h>.
25465 (__memrchr): Don't use BP_SYM.
25466 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25467 <bp-sym.h> and <bp-asm.h>.
25468 (memset): Don't use BP_SYM.
25469 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25470 <bp-sym.h> and <bp-asm.h>.
25471 (__rawmemchr): Don't use BP_SYM.
25472 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25473 <bp-sym.h> and <bp-asm.h>.
25474 (__STRCMP): Don't use BP_SYM.
25475 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25476 <bp-sym.h> and <bp-asm.h>.
25477 (strchr): Don't use BP_SYM.
25478 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25479 <bp-sym.h> and <bp-asm.h>.
25480 (__strchrnul): Don't use BP_SYM.
25481 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25482 <bp-sym.h> and <bp-asm.h>.
25483 (strlen): Don't use BP_SYM.
25484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25485 <bp-sym.h> and <bp-asm.h>.
25486 (strncmp): Don't use BP_SYM.
25487 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25488 <bp-sym.h> and <bp-asm.h>.
25489 (__strnlen): Don't use BP_SYM.
25490 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25492 (__mpn_rshift): Don't use BP_SYM.
25493 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25494 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25495 <bp-sym.h> and <bp-asm.h>.
25496 (__sigsetjmp): Don't use BP_SYM.
25497 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25498 (L(start_addresses)): Don't use BP_SYM.
25499 (_start): Likewise.
25500 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25502 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25503 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25504 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25505 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25507 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25508 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25509 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25510 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25512 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25514 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25515 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25517 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25519 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25520 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25521 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25523 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25525 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25527 (strncmp): Don't use BP_SYM,
25528 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25530 (__mpn_sub_n): Don't use BP_SYM.
25531 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25532 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25534 (__mpn_submul_1): Don't use BP_SYM.
25535 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25537 <bp-sym.h> and <bp-asm.h>.
25538 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25540 <bp-sym.h> and <bp-asm.h>.
25541 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25544 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25547 Use ZK to minimize writes to Z.
25548 (sub_magnitudes): Simplify code a bit.
25549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25550 Use ZK to minimize writes to Z.
25551 (sub_magnitudes): Simplify code a bit.
25553 2013-02-27 Roland McGrath <roland@hack.frob.com>
25555 * csu/gmon-start.c: Add special exception to license text.
25557 2013-02-27 Richard Henderson <rth@redhat.com>
25559 * scripts/config.guess: Update from config.git.
25560 * scripts/config.sub: Likewise.
25562 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25564 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25566 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25568 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25570 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25572 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25574 2013-02-26 Roland McGrath <roland@hack.frob.com>
25576 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25577 [$(build-shared = yes].
25579 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25581 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25582 (__mul): Reduce iterations for calculating mantissa.
25584 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25586 (__mpranred): Likewise.
25589 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25590 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25592 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25594 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25595 Define __attribute__.
25597 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25599 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25601 * posix/regex_internal.h (__attribute): Remove.
25602 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25603 (re_string_context_at): Likewise.
25604 (bitset_not): Use __attribute__ and mark function as possibly
25606 (bitset_merge): Likewise.
25607 (bitset_mask): Likewise.
25608 (re_string_char_size_at): Likewise.
25609 (re_string_wchar_at): Likewise.
25610 (re_string_elem_size_at): Likewise.
25612 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25614 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25618 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25622 (denorm): Likewise.
25623 (__dbl_mp): Likewise.
25624 (add_magnitudes): Likewise.
25625 (sub_magnitudes): Likewise.
25629 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25632 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25635 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25639 up changes with default code.
25640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25643 2013-02-24 Allan McRae <allan@archlinux.org>
25645 * manual/socket.texi (The Internet Namespace): Order menu items
25646 to match that in the file.
25648 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25649 node listing of the info page menu.
25651 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25654 * sysdeps/i386/bp-asm.h: Remove file.
25655 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25656 (PARMS): Do not use macros from bp-asm.h.
25660 (__mpn_add_n): Do not use BP_SYM
25661 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25663 (PARMS): Do not use macros from bp-asm.h.
25666 (__mpn_addmul_1): Do not use BP_SYM
25667 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25669 (PARMS): Do not use macros from bp-asm.h.
25670 (SIGMSK): Likewise.
25671 (_setjmp): Likewise. Do not use BP_SYM.
25672 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25674 (PARMS): Do not use macros from bp-asm.h.
25675 (SIGMSK): Likewise.
25676 (setjmp): Likewise. Do not use BP_SYM.
25677 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25679 (PARMS): Do not use macros from bp-asm.h.
25680 (__frexp): Do not use BP_SYM.
25682 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25684 (PARMS): Do not use macros from bp-asm.h.
25685 (__frexpf): Do not use BP_SYM.
25686 (frexpf): Likewise.
25687 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25689 (PARMS): Do not use macros from bp-asm.h.
25690 (__frexpl): Do not use BP_SYM.
25691 (frexpl): Likewise.
25692 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25694 (PARMS): Do not use macros from bp-asm.h.
25695 (__remquo): Do not use BP_SYM.
25696 (remquo): Likewise.
25697 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25699 (PARMS): Do not use macros from bp-asm.h.
25700 (__remquof): Do not use BP_SYM.
25701 (remquof): Likewise.
25702 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25704 (PARMS): Do not use macros from bp-asm.h.
25705 (__remquol): Do not use BP_SYM.
25706 (remquol): Likewise.
25707 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25709 (PARMS): Do not use macros from bp-asm.h.
25712 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25713 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25715 (PARMS): Do not use macros from bp-asm.h.
25716 (strlen): Do not use BP_SYM.
25717 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25719 (PARMS): Do not use macros from bp-asm.h.
25723 (__mpn_add_n): Do not use BP_SYM.
25724 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25726 (PARMS): Do not use macros from bp-asm.h.
25729 (__mpn_addmul_1): Do not use BP_SYM.
25730 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25733 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25735 (PARMS): Do not use macros from bp-asm.h.
25738 (__mpn_lshift): Do not use BP_SYM.
25739 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25741 (PARMS): Do not use macros from bp-asm.h.
25745 (memcpy): Likewise. Do not use BP_SYM.
25746 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25747 libc_hidden_def and weak_alias.
25748 (mempcpy): Do not use BP_SYM in weak_alias.
25749 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25751 (PARMS): Do not use macros from bp-asm.h.
25754 [!BZERO_P] (CHR): Likewise.
25755 (memset): Likewise. Do not use BP_SYM.
25756 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25758 (PARMS): Do not use macros from bp-asm.h.
25761 (__mpn_mul_1): Do not use BP_SYM.
25762 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25764 (PARMS): Do not use macros from bp-asm.h.
25767 (__mpn_rshift): Do not use BP_SYM.
25768 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25770 (PARMS): Do not use macros from bp-asm.h.
25773 (strchr): Likewise. Do not use BP_SYM.
25774 (index): Do not use BP_SYM in weak_alias.
25775 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25777 (PARMS): Do not use macros from bp-asm.h.
25780 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25781 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25783 (PARMS): Do not use macros from bp-asm.h.
25784 (strlen): Do not use BP_SYM.
25785 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25787 (PARMS): Do not use macros from bp-asm.h.
25791 (__mpn_sub_n): Do not use BP_SYM.
25792 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25794 (PARMS): Do not use macros from bp-asm.h.
25797 (__mpn_submul_1): Do not use BP_SYM.
25798 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25800 (PARMS): Do not use macros from bp-asm.h.
25804 (__mpn_add_n): Do not use BP_SYM.
25805 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25808 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25810 (PARMS): Do not use macros from bp-asm.h.
25813 (memcmp): Do not use BP_SYM.
25814 (bcmp): Do not use BP_SYM in weak_alias.
25815 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25817 (PARMS): Do not use macros from bp-asm.h.
25821 (memcpy): Likewise. Do not use BP_SYM.
25822 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25824 (PARMS): Do not use macros from bp-asm.h.
25828 (memmove): Likewise. Do not use BP_SYM.
25829 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25831 (PARMS): Do not use macros from bp-asm.h.
25835 (__mempcpy): Likewise. Do not use BP_SYM.
25836 (mempcpy): Do not use BP_SYM in weak_alias.
25837 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25839 (PARMS): Do not use macros from bp-asm.h.
25842 [!BZERO_P] (CHR): Likewise.
25843 (memset): Likewise. Do not use BP_SYM.
25844 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25846 (PARMS): Do not use macros from bp-asm.h.
25848 (strcmp): Do not use BP_SYM.
25849 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25851 (PARMS): Do not use macros from bp-asm.h.
25854 [USE_AS_STRTOK_R] (SAVE): Likewise.
25855 (FUNCTION): Likewise. Do not use BP_SYM.
25856 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25858 (strtok_r): Likewise.
25859 (__GI___strtok_r): Likewise.
25860 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25861 (PARMS): Do not use macros from bp-asm.h.
25864 (__mpn_lshift): Do not use BP_SYM.
25865 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25866 (PARMS): Do not use macros from bp-asm.h.
25869 (__memchr): Do not use BP_SYM.
25870 (memchr): Do not use BP_SYM in weak_alias.
25871 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25872 (PARMS): Do not use macros from bp-asm.h.
25875 (memcmp): Do not use BP_SYM.
25876 (bcmp): Do not use BP_SYM in weak_alias.
25877 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25878 (PARMS): Do not use macros from bp-asm.h.
25881 (__mpn_mul_1): Do not use BP_SYM.
25882 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25884 (PARMS): Do not use macros from bp-asm.h.
25887 (__rawmemchr): Do not use BP_SYM.
25888 (rawmemchr): Do not use BP_SYM in weak_alias.
25889 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25890 (PARMS): Do not use macros from bp-asm.h.
25893 (__mpn_rshift): Do not use BP_SYM.
25894 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25895 (PARMS): Do not use macros from bp-asm.h.
25896 (SIGMSK): Likewise.
25897 (__sigsetjmp): Likewise. Do not use BP_SYM.
25898 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25899 (_start): Do not use BP_SYM.
25900 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25901 (PARMS): Do not use macros from bp-asm.h.
25904 (__stpcpy): Likewise. Do not use BP_SYM.
25905 (stpcpy): Do not use BP_SYM in weak_alias.
25906 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25908 (PARMS): Do not use macros from bp-asm.h.
25912 (__stpncpy): Likewise. Do not use BP_SYM.
25913 (stpncpy): Do not use BP_SYM in weak_alias.
25914 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25915 (PARMS): Do not use macros from bp-asm.h.
25918 (strchr): Likewise. Do not use BP_SYM.
25919 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25921 (PARMS): Do not use macros from bp-asm.h.
25924 (__strchrnul): Likewise. Do not use BP_SYM.
25925 (strchrnul): Do not use BP_SYM in weak_alias.
25926 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25928 (PARMS): Do not use macros from bp-asm.h.
25930 (strcspn): Do not use BP_SYM.
25931 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25933 (PARMS): Do not use macros from bp-asm.h.
25936 (strpbrk): Likewise. Do not use BP_SYM.
25937 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25939 (PARMS): Do not use macros from bp-asm.h.
25942 (strrchr): Likewise. Do not use BP_SYM.
25943 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25944 (PARMS): Do not use macros from bp-asm.h.
25946 (strspn): Do not use BP_SYM.
25947 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25948 (PARMS): Do not use macros from bp-asm.h.
25952 (FUNCTION): Likewise. Do not use BP_SYM.
25953 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25955 (strtok_r): Likewise.
25956 (__GI___strtok_r): Likewise.
25957 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25958 (PARMS): Do not use macros from bp-asm.h.
25962 (__mpn_sub_n): Do not use BP_SYM.
25963 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25965 (PARMS): Do not use macros from bp-asm.h.
25968 (__mpn_submul_1): Do not use BP_SYM.
25969 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25971 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25973 (PARMS): Do not use macros from bp-asm.h.
25978 (__clone): Do not use BP_SYM.
25979 (clone): Do not use BP_SYM in weak_alias.
25980 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25982 (PARMS): Do not use macros from bp-asm.h.
25984 (__mmap64): Do not use BP_SYM.
25985 (mmap64): Do not use BP_SYM in weak_alias.
25986 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25987 <bp-sym.h> and <bp-asm.h>.
25988 (PARMS): Do not use macros from bp-asm.h.
25989 (__posix_fadvise64_l64): Do not use BP_SYM.
25990 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25991 (PARMS): Do not use macros from bp-asm.h.
25993 (semtimedop): Do not use BP_SYM.
25994 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
25997 2013-02-21 Allan McRae <allan@archlinux.org>
25999 * manual/message.texi (Charset conversion in gettext):
26000 Move @end statement to beginning of line.
26002 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26009 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26010 (denorm): Likewise.
26011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26014 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26016 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26017 tail-call to the resolved function if pltexit isn't needed.
26019 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26022 or Y being zero as being unlikely.
26023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26026 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26028 * manual/nss.texi (System Databases and Name Service Switch):
26029 Remove frobnicate @pxref.
26031 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26033 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26034 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26036 2013-02-20 Petr Machata <pmachata@redhat.com>
26038 * elf/elf.h (R_ARM_TARGET1): New macro.
26039 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26040 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26041 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26042 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26043 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26044 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26045 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26046 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26047 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26048 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26049 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26050 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26051 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26052 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26053 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26054 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26055 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26056 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26057 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26058 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26059 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26060 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26061 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26062 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26063 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26064 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26065 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26066 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26067 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26068 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26069 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26070 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26071 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26072 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26073 (R_ARM_THM_GOT_BREL12): Likewise.
26074 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26075 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26076 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26077 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26078 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26079 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26080 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26081 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26082 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26084 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26086 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26087 __attribute_used__ to __attribute__ ((unused)).
26089 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26091 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26094 comment formatting.
26095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26097 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26100 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26102 (ENTER): Remove both macro definitions.
26104 (CHECK_BOUNDS_LOW): Likewise.
26105 (CHECK_BOUNDS_HIGH): Likewise.
26106 (CHECK_BOUNDS_BOTH): Likewise.
26107 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26108 (RETURN_BOUNDED_POINTER): Likewise.
26109 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26110 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26111 (POP_ERRNO_LOCATION_RETURN): Likewise.
26112 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26113 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26114 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26116 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26117 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26118 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26119 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26120 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26121 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26122 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26123 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26124 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26125 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26126 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26127 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26128 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26129 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26131 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26132 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26134 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26135 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26136 * sysdeps/i386/i586/memset.S (memset): Likewise.
26137 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26138 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26139 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26141 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26142 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26143 Change uses of L(2) to L(out).
26144 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26145 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26146 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26147 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26148 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26150 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26151 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26153 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26154 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26155 (RETURN): Do not use macro LEAVE.
26156 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26157 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26158 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26159 * sysdeps/i386/i686/memset.S (memset): Likewise.
26160 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26161 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26162 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26163 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26165 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26166 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26167 L(1_2) and L(1_3) into L(1).
26168 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26169 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26170 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26171 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26172 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26173 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26174 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26175 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26176 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26178 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26179 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26180 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26181 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26182 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26183 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26184 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26185 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26186 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26187 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26188 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26189 * sysdeps/i386/strspn.S (strspn): Likewise.
26190 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26192 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26193 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26194 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26195 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26196 L(1_3) into L(1_1).
26197 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26198 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26199 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26201 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26203 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26205 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26208 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26210 * math/atest-exp.c (exp_mpn): Remove ROUND.
26211 * math/atest-exp2.c (exp_mpn): Likewise.
26212 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26214 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26215 * stdlib/tst-tls-atexit-lib.c: Likewise.
26216 * stdlib/tst-tls-atexit.c: Likewise.
26218 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26220 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26221 and __attribute_alloc_size__.
26223 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26225 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26226 __attribute_alloc_size__.
26227 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26228 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26230 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26232 * include/programs/xmalloc.h: New file.
26233 * catgets/gencat.c: Include it.
26234 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26235 * elf/pldd.c: Likewise.
26236 * iconv/iconv_charmap.c: Likewise.
26237 * iconv/iconvconfig.c: Likewise.
26238 * iconv/strtab.c: Likewise.
26239 * locale/programs/locale.c: Likewise.
26240 * locale/programs/localedef.h: Likewise.
26241 * locale/programs/simple-hash.c: Likewise.
26242 * nscd/nscd.h: Likewise.
26243 * nss/makedb.c: Likewise.
26244 * sysdeps/generic/ldconfig.h: Likewise.
26246 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26248 * Versions.def: Add GLIBC_2.18.
26249 * include/link.h (struct link_map): New member l_tls_dtor_count.
26250 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26251 (__call_tls_dtors): Likewise.
26252 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26253 __cxa_thread_atexit_impl.
26254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26262 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26270 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26271 (tests): Add test case tst-tls-atexit.
26272 (modules-names): Add shared library for tst-tls-atexit.
26273 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26274 (GLIBC_PRIVATE): Add __call_tls_dtors.
26275 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26277 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26278 * stdlib/tst-tls-atexit.c: New test case.
26279 * stdlib/tst-tls-atexit-lib.c: New test case.
26281 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26283 * elf/Versions (ld): Add _dl_find_dso_for_object.
26284 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26285 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26286 (dl_open_worker): Use _dl_find_dso_for_object.
26287 * elf/dl-sym.c (do_sym): Likewise.
26288 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26290 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26292 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26293 Syntactic changes only.
26294 (_dl_runtime_profile): Do a tail-call to the resolved function.
26296 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26299 * sysdeps/x86_64/bp-asm.h: Remove file.
26300 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26301 <bp-sym.h> and <bp-asm.h>.
26302 (__clone): Do not use BP_SYM.
26303 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26304 <bp-sym.h> and <bp-asm.h>.
26305 * sysdeps/unix/x86_64/sysdep.S: Likewise.
26306 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
26308 (_setjmp): Do not use BP_SYM.
26309 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
26311 (setjmp): Do not use BP_SYM.
26312 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26314 (mempcpy): Do not use BP_SYM in weak_alias.
26315 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26317 (strchr): Do not use BP_SYM.
26318 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26320 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26321 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26322 (_start): Do not use BP_SYM.
26323 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26325 (strcat): Do not use BP_SYM.
26326 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26328 (STRCMP): Do not use BP_SYM.
26329 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26331 (STRCPY): Do not use BP_SYM.
26332 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26334 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26336 (FUNCTION): Do not use BP_SYM.
26337 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26339 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26341 2013-02-17 Andreas Jaeger <aj@suse.de>
26343 * time/Versions: Sort entries.
26344 * string/Versions: Likewise.
26345 * resolv/Versions: Likewise.
26346 * posix/Versions: Likewise.
26347 * iconv/Versions: Likewise.
26348 * elf/Versions: Likewise.
26349 * wcsmbs/Versions: Likewise.
26351 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26353 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26354 loop termination condition.
26356 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26357 variable to calculate EZ.
26360 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26361 the lower precision input.
26363 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26366 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26367 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26368 (run-via-rtld-prefix): Do not handle %-bp tests.
26369 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26370 (all-object-suffixes): Remove .ob.
26371 (bppfx): Remove variable.
26372 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26373 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26374 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26375 [$(build-bounded) = yes] (libtype.ob): Likewise.
26376 * Makerules (elide-routines.ob): Remove variable.
26377 (do-tests-clean): Do not handle *-bp.out.
26378 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26379 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26380 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26381 (tests): Do not include $(tests-bp.out).
26382 (xtests): Do not include $(xtests-bp.out).
26383 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26384 [$(build-bounded) = yes] ($(addprefix
26385 $(objpfx),$(binaries-bounded))): Remove rule.
26386 ($(objpfx)%-bp.out): Remove rule.
26387 * config.make.in (build-bounded): Remove variable.
26388 * crypt/Makefile [$(build-bounded) = yes]
26389 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26390 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26391 append to variable.
26392 [$(build-bounded) = yes] (install-lib): Likewise.
26393 [$(build-bounded) = yes] (generated): Likewise.
26394 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26396 * intl/Makefile [$(build-bounded) = yes]
26397 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26398 * math/Makefile [$(build-bounded) = yes]
26399 ($(tests:%=$(objpfx)%-bp): Likewise.
26400 * misc/Makefile [$(build-bounded) = yes]
26401 ($(objpfx)tst-tsearch-bp): Likewise.
26402 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26403 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26405 * string/Makefile (o-objects.ob): Remove variable.
26406 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26407 (CFLAGS-.ob): Remove variable.
26408 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26409 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26410 both definitions of variable.
26411 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26412 (ASFLAGS-.ob): Remove variable.
26414 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26417 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26418 Remove __BOUNDED_POINTERS__ from condition.
26419 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26420 * string/bits/string2.h [!__NO_STRING_INLINES &&
26421 !__BOUNDED_POINTERS__]: Likewise.
26422 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26424 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26425 Remove conditional code.
26426 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26427 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26428 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26432 * csu/libc-start.c: Do not include <bp-sym.h>.
26433 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26434 * elf/dl-open.c: Do not include <bp-sym.h>.
26435 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26436 * math/fegetenv.c: Do not include <bp-sym.h>.
26437 (fegetenv): Do not use BP_SYM in versioned symbols.
26438 * nptl/sysdeps/pthread/bits/libc-lockP.h
26439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26442 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26444 (__pthread_mutex_destroy): Likewise.
26445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26446 (__pthread_mutex_lock): Likewise.
26447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26448 (__pthread_mutex_trylock): Likewise.
26449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26450 (__pthread_mutex_unlock): Likewise.
26451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26452 (__pthread_mutexattr_init): Likewise.
26453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26454 (__pthread_mutexattr_destroy): Likewise.
26455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26456 (__pthread_mutexattr_settype): Likewise.
26457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26458 (__pthread_rwlock_init): Likewise.
26459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26460 (__pthread_rwlock_destroy): Likewise.
26461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26462 (__pthread_rwlock_rdlock): Likewise.
26463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26464 (__pthread_rwlock_tryrdlock): Likewise.
26465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26466 (__pthread_rwlock_wrlock): Likewise.
26467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26468 (__pthread_rwlock_trywrlock): Likewise.
26469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26470 (__pthread_rwlock_unlock): Likewise.
26471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26472 (__pthread_key_create): Likewise.
26473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26474 (__pthread_setspecific): Likewise.
26475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26476 (__pthread_getspecific): Likewise.
26477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26480 (_pthread_cleanup_push_defer): Likewise.
26481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26482 (_pthread_cleanup_pop_restore): Likewise.
26483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26484 (pthread_setcancelstate): Likewise.
26485 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26487 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26488 (memchr): Do not use BP_SYM in weak_alias.
26489 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26490 (fegetenv): Do not use BP_SYM in versioned symbols.
26491 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26492 (fesetenv): Do not use BP_SYM in versioned symbols.
26493 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26494 (feupdateenv): Do not use BP_SYM in versioned symbols.
26495 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26496 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26497 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26498 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26499 (open64): Do not use BP_SYM in weak_alias.
26500 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26501 (fegetenv): Do not use BP_SYM in versioned symbols.
26502 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26503 (fesetenv): Do not use BP_SYM in versioned symbols.
26504 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26505 (feupdateenv): Do not use BP_SYM in versioned symbols.
26506 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26507 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26508 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26509 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26510 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26511 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26512 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26514 (__libc_start_main): Do not use BP_SYM.
26516 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26518 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26519 redundant return line.
26521 (denorm): Likewise.
26522 (dbl_mp): Likewise.
26523 (sub_magnitudes): Likewise.
26529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26531 (denorm): Likewise.
26532 (dbl_mp): Likewise.
26533 (sub_magnitudes): Likewise.
26540 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26542 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26543 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26546 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26547 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26549 of __mul for squares.
26550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26554 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26555 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26557 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26560 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26562 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26563 prototype or function definition. Rename ubp_* variables and
26564 parameters. Remove argv definitions conditional on
26565 [__BOUNDED_POINTERS__].
26566 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26567 * elf/dl-runtime.c (_dl_fixup): Likewise.
26568 * include/set-hooks.h (RUN_HOOK): Likewise.
26569 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26571 * string/strcpy.c (strcpy): Do not use __unbounded.
26572 * sysdeps/generic/frame.h (struct layout): Likewise.
26573 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26574 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26575 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26576 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26577 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26578 (__backtrace): Likewise.
26579 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26581 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26582 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26583 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26585 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26586 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26587 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26588 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26589 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26590 Do not use __unbounded.
26591 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26592 Rename __unboundedrlimits parameter to rlimits in prototype.
26593 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26594 Do not use __unbounded.
26595 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26596 not use __ptrvalue.
26597 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26598 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26599 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26600 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26601 __ptrvalue or __unbounded.
26602 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26603 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26605 (__new_msgctl): Do not use __ptrvalue.
26606 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26608 (__libc_msgrcv): Do not use __ptrvalue.
26609 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26610 startup_info): Do not use __unbounded.
26611 (__libc_start_main): Likewise. Rename ubp_* variables and
26612 parameters. Remove argv definitions conditional on
26613 [__BOUNDED_POINTERS__].
26614 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26616 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26618 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26620 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26622 (__new_shmctl): Do not use __ptrvalue.
26623 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26624 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26626 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26627 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26628 (__libc_sigaction): Likewise.
26629 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26630 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26632 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26634 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26636 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26638 * string/mempcpy.c: Implement by calling memcpy.
26640 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26644 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26648 values in the mantissa.
26650 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26651 minimize writes to Z.
26652 (sub_magnitudes): Simplify code a bit.
26654 2013-02-12 Roland McGrath <roland@hack.frob.com>
26656 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26657 from the message. The linker prefixes all warnings with that already.
26659 2013-02-12 Andreas Schwab <schwab@suse.de>
26662 * posix/regexec.c (extend_buffers): Add parameter min_len.
26663 (check_matching): Pass minimum needed length.
26664 (clean_state_log_if_needed): Likewise.
26665 (get_subexp): Likewise.
26666 * posix/Makefile (tests): Add bug-regex34.
26667 (bug-regex34-ENV): Define.
26668 * posix/bug-regex34.c: New file.
26671 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26672 elements compare against the byte sequence of it, not its name.
26673 * posix/Makefile (tests): Add bug-regex35.
26674 (bug-regex35-ENV): Define.
26675 * posix/bug-regex35.c: New file.
26677 2013-02-11 Tom de Vries <tom@codesourcery.com>
26679 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26681 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26682 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26683 (CHECK_EOL): Add undef.
26685 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26687 * bits/stdlib-bsearch.h: New file.
26688 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26689 * stdlib/stdlib.h: Likewise.
26691 2013-02-11 Roland McGrath <roland@hack.frob.com>
26693 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26694 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26696 * manual/search.texi (Array Search Function): Add missing const in
26698 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26699 declaration to use rlim_t.
26700 (Basic Scheduling Functions): Remove erroneous const from
26701 sched_getparam prototype. Remove erroneous * from
26702 sched_get_priority_max and sched_get_priority_min prototypes.
26703 (Resource Usage): Fix summary @comment on vtimes to refer to
26704 sys/vtimes.h rather than vtimes.h.
26705 Add missing *s in vtimes prototype.
26706 (Limits on Resources): Fix ulimit prototype to return long int.
26707 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26708 prototypes to use long int rather than double.
26709 (BSD Random): Fix initstate and setstate to use char *, not void *.
26710 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26711 prototype to make second argument 'struct aiocb64 *const[]'.
26712 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26713 (Status of AIO Operations): Remove erroneous const in aio_return and
26714 aio_return64 prototypes.
26715 (Synchronizing I/O): Fix sync prototype to return void.
26716 * manual/startup.texi (Suboptions): Remove an erroneous const in
26717 getsubopt prototype.
26718 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26719 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26720 use size_t rather than int.
26721 (Scanning All Users): Likewise for getpwent_r.
26722 (Setting Groups): Add missing const to setgroups prototype.
26723 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26724 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26725 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26726 'const void *' rather than 'const char *'.
26727 (Host Address Functions): Likewise for inet_ntop.
26728 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26729 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26730 ssize_t for return value.
26731 (Sending Data): Likewise for send, sendto, sendmsg.
26732 (Socket Option Functions): Add a missing const in setsockopt prototype.
26733 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26734 use wchar_t for the argument.
26735 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26736 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26738 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26739 double/float/long double for second argument.
26740 Fix return types of significand, significandf, significandl.
26741 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26742 argument in fchmod prototype.
26743 (File Owner): Use uid_t and gid_t in fchown prototype.
26744 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26745 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26746 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26747 use 'const struct dirent **' as argument types to CMP function pointer
26749 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26750 (File Times): Fix summary magic @comment for struct utimbuf and utime
26751 to refer to utime.h, not time.h.
26752 * manual/string.texi (Argz Functions): Add missing const in
26753 argz_extract and argz_next prototypes.
26754 (Finding Tokens in a String): Likewise for basename.
26755 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26756 (Copying and Concatenation): Fix typo in wmemmove prototype.
26757 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26758 (Signal Stack): Remove erroneous const in sigstack prototype.
26759 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26761 (Simple Calendar Time): Likewise for stime.
26762 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26764 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26765 say sys/sysctl.h instead.
26766 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26767 and vsyslog prototypes.
26769 2013-02-11 Tom de Vries <tom@codesourcery.com>
26771 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26774 2013-02-11 Roland McGrath <roland@hack.frob.com>
26776 * misc/sys/mman.h: Fix typo in mremap comment.
26778 2013-02-08 Roland McGrath <roland@hack.frob.com>
26780 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26781 the '\0' terminator.
26783 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26786 * debug/segfault.c: Don't include <bp-checks.h>.
26787 * sysdeps/generic/bp-checks.h: Remove file.
26788 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26789 (__GETDENTS): Don't use CHECK_N.
26790 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26791 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26792 (__getgroups): Don't use CHECK_N.
26793 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26794 (setgroups): Don't use CHECK_N.
26795 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26796 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26797 (__libc_msgrcv): Don't use CHECK_N.
26798 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26799 (__libc_msgsnd): Don't use CHECK_N.
26800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26802 (__libc_pread): Don't use CHECK_N.
26803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26804 include <bp-checks.h>.
26805 (__libc_pread64): Don't use CHECK_N.
26806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26807 include <bp-checks.h>.
26808 (__libc_pwrite): Don't use CHECK_N.
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26810 include <bp-checks.h>.
26811 (__libc_pwrite64): Don't use CHECK_N.
26812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26814 (__libc_pread): Don't use CHECK_N.
26815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26816 include <bp-checks.h>.
26817 (__libc_pread64): Don't use CHECK_N.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26819 include <bp-checks.h>.
26820 (__libc_pwrite): Don't use CHECK_N.
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26822 include <bp-checks.h>.
26823 (__libc_pwrite64): Don't use CHECK_N.
26824 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26825 (do_pread): Don't use CHECK_N.
26826 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26827 (do_pread64): Don't use CHECK_N.
26828 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26829 (do_pwrite): Don't use CHECK_N.
26830 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26831 (do_pwrite64): Don't use CHECK_N.
26832 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26833 (__libc_readv): Don't use CHECK_N.
26834 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26835 (semop): Don't use CHECK_N.
26836 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26838 (semtimedop): Don't use CHECK_N.
26839 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26840 (__libc_pread): Don't use CHECK_N.
26841 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26843 (__libc_pread64): Don't use CHECK_N.
26844 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26846 (__libc_pwrite): Don't use CHECK_N.
26847 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26849 (__libc_pwrite64): Don't use CHECK_N.
26850 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26852 (__libc_msgrcv): Don't use CHECK_N.
26853 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26854 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26855 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26856 (__libc_writev): Don't use CHECK_N.
26858 2013-02-08 Roland McGrath <roland@hack.frob.com>
26860 * string/strcpy.c: Removed unused variable.
26862 * Makeconfig (+sysdep-includes): Define with := rather than =.
26863 Use an existing include/ subdir of each sysdeps dir before it.
26865 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26867 * nscd/connection.c (register_traced_file): Comment function.
26868 [HAVE_INOTIFY] (union __inev): Define.
26869 [HAVE_INOTIFY] (inotify_check_files): New function.
26870 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26871 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26873 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26875 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26877 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26878 loaded if not already and that a failure is permanent.
26880 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26883 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26884 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26886 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26889 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26890 (CHECK_1_NULL_OK): Likewise.
26891 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26892 (__fxstat): Do not use CHECK_1.
26893 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26895 (___fxstat64): Do not use CHECK_1.
26896 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26898 (__fxstatat): Do not use CHECK_1.
26899 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26901 (__fxstatat64): Do not use CHECK_1.
26902 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26904 (__fxstat): Do not use CHECK_1.
26905 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26907 (__fxstatat): Do not use CHECK_1.
26908 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26910 (__getresgid): Do not use CHECK_1.
26911 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26913 (__getresuid): Do not use CHECK_1.
26914 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26916 (__lxstat): Do not use CHECK_1.
26917 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26919 (__old_msgctl): Do not use CHECK_1.
26920 (__new_msgctl): Likewise.
26921 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26923 (__new_setrlimit): Do not use CHECK_1.
26924 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26926 (__old_shmctl): Do not use CHECK_1.
26927 (__new_shmctl): Likewise.
26928 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26930 (__xstat): Do not use CHECK_1.
26931 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26932 (__lxstat): Do not use CHECK_1.
26933 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26935 (___lxstat64): Do not use CHECK_1.
26936 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26937 (__old_msgctl): Do not use CHECK_1.
26938 (__new_msgctl): Likewise.
26939 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26941 (__gettimeofday): Do not use CHECK_1.
26942 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26943 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26944 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26946 (__gettimeofday): Do not use CHECK_1.
26947 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26948 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26949 (__new_shmctl): Do not use CHECK_1.
26950 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26952 (do_sigtimedwait): Do not use CHECK_1.
26953 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26955 (do_sigwaitinfo): Do not use CHECK_1.
26956 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26958 (msgctl): Do not use CHECK_1.
26959 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26961 (shmctl): Do not use CHECK_1.
26962 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26963 (ustat): Do not use CHECK_1.
26964 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26966 (__fxstat): Do not use CHECK_1.
26967 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26969 (__fxstatat): Do not use CHECK_1.
26970 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26972 (__lxstat): Do not use CHECK_1.
26973 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26975 (__xstat): Do not use CHECK_1.
26976 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26977 (__xstat): Do not use CHECK_1.
26978 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26979 (___xstat64): Do not use CHECK_1.
26982 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26984 (CHECK_BOUNDS_HIGH): Likewise.
26985 * string/strcpy.c: Do not include <bp-checks.h>.
26986 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26988 2013-02-07 Roland McGrath <roland@hack.frob.com>
26990 * nscd/nscd-client.h (__nscd_drop_map_ref):
26991 Add __attribute__ ((unused)).
26992 * nis/nss-nisplus.h (niserr2nss): Likewise.
26994 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26995 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
26997 * csu/libc-tls.c (init_static_tls, init_slotinfo):
26998 Remove inline keyword.
26999 * include/rounding-mode.h (round_away): Likewise.
27000 * libio/wfileops.c (adjust_wide_data): Likewise.
27001 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27002 (__m128i_strloadu_tolower): Likewise.
27003 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27004 (__m128i_strloadu_tolower): Likewise.
27005 * time/mktime.c (ydhms_diff): Likewise.
27006 * locale/elem-hash.h (elem_hash): Likewise.
27007 * locale/setlocale.c (setdata): Likewise.
27008 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27009 (re_string_wchar_at): Likewise.
27010 (bitset_not, bitset_merge, bitset_mask): Likewise.
27011 [!(__GNUC__ > 3)] (inline): Remove macro.
27012 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27013 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27014 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27015 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27016 * string/memcmp.c (memcmp_bytes): Likewise.
27017 * locale/programs/locarchive.c (compute_hashval): Likewise.
27018 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27019 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27020 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27021 * nss/getent.c (print_rpc, print_protocols): Likewise.
27022 (print_passwd, print_group, print_aliases): Likewise.
27023 * nis/nss-nisplus.h (niserr2nss): Likewise.
27024 * nscd/connections.c (restart_p): Likewise.
27025 Change return type to bool.
27027 2013-02-05 Roland McGrath <roland@hack.frob.com>
27029 * Makeconfig (all-Depend-files): Add existing
27030 $(sorted-subdirs:=/Depend) files.
27031 (all-subdirs): Remove nss.
27032 * sysdeps/unix/inet/Subdirs: Add it here instead.
27033 * hesiod/Depend: New file.
27035 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27036 instead of calling alloca.
27038 * io/lseek.c (__lseek): Rename to __libc_lseek.
27039 Define __lseek as an alias.
27041 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27043 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27045 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27046 else clause and remove check for non-standard endianness.
27048 2013-02-04 David S. Miller <davem@davemloft.net>
27050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27052 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27055 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27056 (__ubp_memchr): Remove prototype.
27057 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27058 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27059 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27060 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27061 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27063 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27064 (__ubp_memchr): Likewise.
27065 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27066 (__ubp_memchr): Likewise.
27067 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27068 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27069 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27070 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27072 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27073 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27074 (__getcwd): Do not use CHECK_STRING.
27075 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27077 (__real_chown): Do not use CHECK_STRING.
27078 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27080 (fchownat): Do not use CHECK_STRING.
27081 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27083 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27085 (__lchown): Do not use CHECK_STRING.
27086 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27087 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27088 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27089 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27091 include <bp-checks.h>.
27092 (truncate64): Do not use CHECK_STRING.
27093 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27095 (__real_chown): Do not use CHECK_STRING.
27096 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27098 (__lchown): Do not use CHECK_STRING.
27099 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27101 (__chown): Do not use CHECK_STRING.
27102 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27104 (truncate64): Do not use CHECK_STRING.
27105 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27107 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27108 (__xmknod): Do not use CHECK_STRING.
27109 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27111 (__xmknodat): Do not use CHECK_STRING.
27112 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27113 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27115 2013-02-04 Andreas Schwab <schwab@suse.de>
27118 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27119 * include/netdb.h: Likewise for h_errno.
27120 * elf/tst-stackguard1.c: Include <tls.h>.
27122 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27124 * elf/link.h (struct link_map): Extend the l_addr comment.
27125 * include/link.h (struct link_map): Likewise.
27127 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27130 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27131 (BOUNDED_1): Remove macro.
27132 * debug/backtrace.c: Don't include <bp-checks.h>.
27133 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27134 (__backtrace): Likewise.
27135 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27137 (__backtrace): Don't use BOUNDED_1.
27138 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27140 (__backtrace): Don't use BOUNDED_1.
27141 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27142 (__backtrace): Don't use BOUNDED_1.
27143 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27144 (shmat): Don't use BOUNDED_N.
27146 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27149 * sysdeps/generic/bp-start.h: Remove file.
27150 * csu/libc-start.c: Don't include <bp-start.h>.
27151 (LIBC_START_MAIN): Set up __environ directly instead of using
27152 INIT_ARGV_and_ENVIRON.
27153 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27157 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27159 (CHECK_FCNTL): Likewise.
27160 (CHECK_N_PAGES): Likewise.
27163 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27165 (CHECK_SIGSET_NULL_OK): Likewise.
27166 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27168 (sigpending): Don't use CHECK_SIGSET.
27169 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27171 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27172 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27174 (do_sigsuspend): Don't use CHECK_SIGSET.
27175 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27177 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27178 (do_sigwait): Don't use CHECK_SIGSET.
27179 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27181 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27182 include <bp-checks.h>.
27183 (sigpending): Don't use CHECK_SIGSET.
27184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27185 include <bp-checks.h>.
27186 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27187 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27189 (sigpending): Don't use CHECK_SIGSET.
27190 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27192 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27195 * sysdeps/generic/bp-semctl.h: Remove file.
27196 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27197 <bp-checks.h> and <bp-semctl.h>.
27198 (__old_semctl): Don't use CHECK_SEMCTL.
27199 (__new_semctl): Likewise.
27200 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27202 (__old_semctl): Don't use CHECK_SEMCTL.
27203 (__new_semctl): Likewise.
27204 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27205 <bp-checks.h> and <bp-semctl.h>.
27206 (__old_semctl): Don't use CHECK_SEMCTL.
27207 (__new_semctl): Likewise.
27208 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27209 <bp-checks.h> and <bp-semctl.h>.
27210 (semctl): Don't use CHECK_SEMCTL.
27213 * Makerules (elide-bp-thunks): Remove variable.
27214 (elide-routines.oS): Don't use $(elide-bp-thunks).
27215 (elide-routines.os): Likewise.
27216 (elide-routines.o): Likewise.
27217 (elide-routines.op): Likewise.
27218 (elide-routines.og): Likewise.
27219 (objects): Don't use $(bp-thunks).
27220 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27222 (common-generated): Do not add s-proto-bp.d.
27223 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27226 Do not generate makefile rules for bounded-pointer thunks.
27227 * sysdeps/generic/bp-thunks.h: Remove file.
27228 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27229 * sysdeps/unix/s-proto-bp.S: Likewise.
27232 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27233 parts of result separately when argument is not close to line from
27234 -i to i and one part of argument is small.
27235 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27236 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27237 * math/libm-test.inc (cacos_test): Add more tests.
27238 (casin_test): Likewise.
27239 (casinh_test): Likewise.
27240 * sysdeps/i386/fpu/libm-test-ulps: Update.
27241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27243 2013-01-31 David S. Miller <davem@davemloft.net>
27245 * po/de.po: Update from translation team.
27247 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27249 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27251 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27253 * configure.in (_AC_PROG_CC_C89): New definition.
27254 * configure: Regenerate.
27256 * configure.in (AC_PROG_CPP): New definition.
27257 * configure: Regenerate.
27259 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27261 * debug/tst-backtrace.h: New file.
27262 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27263 (ret): Remove variable.
27265 (FAIL): Remove macro.
27266 (NO_INLINE): Likewise.
27267 (fn1): Use match function instead of strstr.
27268 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27269 (ret): Remove variable.
27271 (FAIL): Remove macro.
27272 (NO_INLINE): Likewise.
27273 (fn): Use match function instead of strstr.
27274 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27275 (ret): Remove variable.
27277 (FAIL): Remove macro.
27278 (NO_INLINE): Likewise.
27279 (handle_signal): Use match function instead of strstr.
27280 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27281 (ret): Remove variable.
27283 (FAIL): Remove macro.
27284 (NO_INLINE): Likewise.
27285 (handle_signal): Use match function instead of strstr.
27287 2013-01-23 Roland McGrath <roland@hack.frob.com>
27289 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27291 2013-01-23 David S. Miller <davem@davemloft.net>
27293 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27294 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27295 argument of CAS if possible.
27296 * sysdeps/sparc/sparc64/bits/atomic.h
27297 (__arch_compare_and_exchange_val_32_acq): Likewise.
27298 (__arch_compare_and_exchange_val_64_acq): Likewise.
27300 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27302 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27303 * sysdeps/posix/ulimit.c: ... this.
27304 Include <limits.h>.
27305 * sysdeps/unix/bsd/ulimit.c: Remove file.
27307 2013-01-23 Adam Conrad <adconrad@0c3.net>
27309 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27310 (LDFLAGS-tst-array5): Likewise.
27312 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27315 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27316 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27317 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27318 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27320 2013-01-21 David S. Miller <davem@davemloft.net>
27322 * sysdeps/sparc/backtrace.c: New file.
27323 * sysdeps/sparc/sparc32/backtrace.h: New file.
27324 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27325 * sysdeps/sparc/sparc64/backtrace.h: New file.
27326 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27327 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27330 2013-01-21 Andreas Schwab <schwab@suse.de>
27333 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27336 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27342 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27343 Mark Mitchell <mark@codesourcery.com>
27344 Tom de Vries <tom@codesourcery.com>
27345 Paul Pluzhnikov <ppluzhnikov@google.com>
27347 * debug/tst-backtrace2.c: New file.
27348 * debug/tst-backtrace3.c: Likewise.
27349 * debug/tst-backtrace4.c: Likewise.
27350 * debug/tst-backtrace5.c: Likewise.
27351 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27352 (CFLAGS-tst-backtrace3.c): Likewise.
27353 (CFLAGS-tst-backtrace4.c): Likewise.
27354 (CFLAGS-tst-backtrace5.c): Likewise.
27355 (LDFLAGS-tst-backtrace2): Likewise.
27356 (LDFLAGS-tst-backtrace3): Likewise.
27357 (LDFLAGS-tst-backtrace4): Likewise.
27358 (LDFLAGS-tst-backtrace5): Likewise.
27359 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27360 tst-backtrace4 and tst-backtrace5.
27362 2013-01-18 Anton Blanchard <anton@samba.org>
27363 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27365 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27366 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27367 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27368 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27370 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27371 "+r" and remove output regs list as redundant. Add explicit inline
27372 asm to specify register of return val to work around compiler codegen
27373 bug. Remove (int) cast on return value. Add return type parameter to
27374 use in macro so that this macro does not truncate return value for
27376 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27377 pass to INTERNAL_VSYSCALL_NCS.
27378 (INLINE_VSYSCALL): Add 'long int' as return type to
27379 INTERNAL_VSYSCALL_NCS macro invocation.
27380 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27381 INTERNAL_VSYSCALL_NCS macro invocation.
27382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27384 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27387 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27388 Fix application of SIMD FP exception mask.
27390 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27391 mp_no from a power of two.
27392 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27393 __mpexp_twomm1. Use __pow_mp.
27395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27398 2013-01-17 David S. Miller <davem@davemloft.net>
27400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27402 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27405 * include/complex.h: Condition contents on [!_COMPLEX_H].
27406 (__kernel_casinhf): New prototype.
27407 (__kernel_casinh): Likewise.
27408 (__kernel_casinhl): Likewise.
27409 * math/Makefile (libm_calls): Add k_casinh.
27410 * math/k_casinh.c: New file.
27411 * math/k_casinhf.c: Likewise.
27412 * math/k_casinhl.c: Likewise.
27413 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27414 finite nonzero arguments.
27415 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27416 finite nonzero arguments.
27417 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27418 finite nonzero arguments.
27419 * math/s_casinh.c: Do not include <float.h>.
27420 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27421 * math/s_casinhf.c: Do not include <float.h>.
27422 (__casinhf): Move code for finite nonzero arguments to
27424 * math/s_casinhl.c: Do not include <float.h>.
27425 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27427 (__casinhl): Move code for finite nonzero arguments to
27429 * math/libm-test.inc (cacos_test): Add more tests.
27430 * sysdeps/i386/fpu/libm-test-ulps: Update.
27431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27433 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27435 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27436 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27437 [!HAVE_MREMAP]: Remove [defined linux] case.
27438 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27440 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27442 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27444 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27446 * elf/elf.h (R_386_SIZE32): New relocation.
27447 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27449 (elf_machine_rela): Likewise.
27450 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27451 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27453 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27455 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27456 (FP_FAST_FMA): Do not define.
27457 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27458 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27459 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27460 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27461 !_SOFT_FLOAT]: Likewise.
27462 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27463 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27465 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27466 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27467 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27468 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27469 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27470 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27473 2013-01-16 Andreas Schwab <schwab@suse.de>
27476 * include/stdlib.h (__mktemp): Add declaration.
27477 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27478 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27480 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27482 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27484 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27485 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27486 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27488 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27489 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27491 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27493 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27494 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27495 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27497 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27498 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27500 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27502 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27504 2013-01-15 David S. Miller <davem@davemloft.net>
27506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27507 trunc{,f} to libm-sysdep_routes.
27508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27518 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27519 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27520 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27521 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27522 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27523 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27526 nearbyint{,f} to libm-sysdep_routes.
27527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27538 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27540 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27541 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27544 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27545 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27547 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27548 libc_feholdexcept and libc_fesetenv.
27550 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27552 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27554 2013-01-14 David S. Miller <davem@davemloft.net>
27556 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27557 (SPARC_ASM_VIS2_IFUNC): Likewise.
27558 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27560 use of 'siam' instruction.
27561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27591 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27592 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27594 routines to libm-sysdep_routines.
27595 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27598 fdim/fdimf to libm-sysdep_routines.
27599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27607 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27608 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27609 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27610 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27612 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27614 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27615 to optimize copies.
27617 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27619 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27622 local variable MPTWO.
27623 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27626 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27628 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27631 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27633 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27635 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27637 * manual/pattern.texi (glob_t): Document gl_flags.
27638 (glob64_t): Likewise.
27640 2013-01-11 David S. Miller <davem@davemloft.net>
27642 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27643 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27644 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27645 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27646 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27647 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27648 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27649 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27650 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27651 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27652 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27653 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27654 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27656 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27657 sparc V9 rather than using V8 code.
27658 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27659 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27661 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27663 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27666 2013-01-11 Roland McGrath <roland@hack.frob.com>
27668 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27669 not in the main loop.
27670 * configure: Regenerated.
27672 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27674 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27675 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27677 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27678 [!__GLIBC_HAVE_LONG_LONG] case.
27679 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27680 condition to just #else.
27681 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27682 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27683 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27684 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27686 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27687 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27688 #elif condition to just #else.
27689 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27690 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27691 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27692 #elif condition to just #else.
27694 2013-01-11 Steve Ellcey <sellcey@mips.com>
27696 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27697 (EF_MIPS_ARCH_64): Fix value.
27698 (EF_MIPS_ARCH_32R2): New.
27699 (EF_MIPS_ARCH_64R2): New.
27701 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27703 * Makeconfig (+link-pie-before-libc): New.
27704 (+link-pie-after-libc): Likewise.
27705 (+link-pie-tests): Likewise.
27706 (+link-pie): Rewritten.
27707 (link-before-libc): Remove $(config-LDFLAGS).
27708 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27709 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27710 (config-LDFLAGS): Renamed to ...
27711 (rtld-LDFLAGS): This.
27712 (rtld-tests-LDFLAGS): New macro.
27713 (link-libc-rpath-link): Likewise.
27714 (link-libc-tests-rpath-link): Likewise.
27715 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27716 (link-libc): Prepand $(link-libc-rpath-link).
27717 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27718 (test-program-prefix): New macro.
27719 (test-via-rtld-prefix): Likewise.
27720 (test-program-cmd): Likewise.
27721 (host-test-program-cmd): Likewise.
27722 * Makefile ($(common-objpfx)testrun.sh): Replace
27723 $(run-program-prefix) with $(test-program-prefix).
27724 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27726 ($(common-objpfx)shlib.lds): Likewise.
27727 (build-module-helper): Likewise.
27728 ($(common-objpfx)format.lds): Likewise.
27729 * Rules (binaries-pie-tests): New.
27730 (binaries-pie-notests): Likewise.
27731 (binaries-pie): Rewritten.
27732 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27733 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27734 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27735 (make-test-out): Replace $(host-built-program-cmd) with
27736 $(host-test-program-cmd).
27737 * config.make.in (build-hardcoded-path-in-tests): New variable.
27738 * configure.in (--enable-hardcoded-path-in-tests): New configure
27740 (hardcoded_path_in_tests): New AC_SUBST.
27741 * configure: Regenerated.
27742 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27743 $(built-program-cmd) with $(test-program-cmd).
27744 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27745 (test_program_cmd): This.
27746 * elf/Makefile ($(objpfx)order.out): Run test with
27747 $(test-program-prefix).
27748 ($(objpfx)order2.out): Likewise.
27749 ($(objpfx)tst-initorder.out): Likewise.
27750 ($(objpfx)tst-initorder2.out): Likewise.
27751 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27752 $(test-program-cmd).
27753 ($(objpfx)tst-array1-static.out): Likewise.
27754 ($(objpfx)tst-array2.out): Likewise.
27755 ($(objpfx)tst-array3.out): Likewise.
27756 ($(objpfx)tst-array4.out): Likewise.
27757 ($(objpfx)tst-array5.out): Likewise.
27758 ($(objpfx)tst-array5-static.out): Likewise.
27759 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27760 $(test-program-cmd).
27761 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27762 $(run-program-prefix) with $(test-program-prefix).
27763 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27764 (test_program_prefix): This.
27765 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27766 $(run-program-prefix) with $(test-program-prefix).
27767 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27768 (test_program_prefix): This.
27769 * iconvdata/tst-tables.sh: Likewise.
27770 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27771 $(run-program-prefix) with $(test-program-prefix).
27772 ($(objpfx)tst-translit.out): Likewise.
27773 ($(objpfx)tst-gettext2.out): Likewise.
27774 ($(objpfx)tst-gettext4.out): Likewise.
27775 ($(objpfx)tst-gettext6.out): Likewise.
27776 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27777 (test_program_prefix): This.
27778 * intl/tst-gettext2.sh: Likewise.
27779 * intl/tst-gettext4.sh Likewise.
27780 * intl/tst-gettext6.sh: Likewise.
27781 * intl/tst-translit.sh: Likewise.
27782 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27783 with $(test-program-cmd).
27784 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27785 $(run-program-prefix) with $(test-program-prefix).
27786 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27787 (test_program_prefix): This.
27788 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27789 $(run-program-prefix) with $(test-program-prefix).
27790 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27791 (test_program_prefix): This.
27792 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27793 * posix/Makefile ($(objpfx)globtest.out): Replace
27794 $(run-via-rtld-prefix) and $(test-wrapper) with
27795 $(test-program-prefix) and $(test-via-rtld-prefix).
27796 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27797 $(test-program-prefix).
27798 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27799 $(host-test-program-cmd).
27800 (tst-spawn-ARGS): Likewise.
27801 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27802 $(test-program-prefix).
27803 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27804 (test_via_rtld_prefix): This.
27805 (test_wrapper): Renamed to ...
27806 (test_program_prefix): This.
27807 (run_program_prefix): Replaced by test_program_prefix.
27808 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27809 (test_program_prefix): This.
27810 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27811 with $(host-test-program-cmd).
27812 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27813 $(run-program-prefix) with $(test-program-prefix).
27814 ($(objpfx)tst-printf.out): Likewise.
27815 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27816 $(test-program-cmd).
27817 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27818 (test_program_prefix): This.
27819 * stdio-common/tst-unbputc.sh: Likewise.
27820 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27821 $(run-program-prefix) with $(test-program-prefix).
27822 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27823 (test_program_prefix): This.
27824 * string/Makefile ($(objpfx)tst-svc.out): Replace
27825 $(built-program-cmd) with $(test-program-cmd).
27827 2013-01-11 Andreas Jaeger <aj@suse.de>
27830 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27831 value. Sync with Linux 3.7.
27833 2013-01-10 David S. Miller <davem@davemloft.net>
27835 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27839 2013-01-10 Roland McGrath <roland@hack.frob.com>
27841 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27843 * configure: Regenerated.
27845 2013-01-10 David S. Miller <davem@davemloft.net>
27847 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27848 sparc V9 rather than using V8 code.
27849 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27850 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27852 2013-01-10 Roland McGrath <roland@hack.frob.com>
27854 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27855 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27856 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27857 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27858 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27859 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27860 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27861 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27862 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27863 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27864 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27865 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27866 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27867 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27868 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27869 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27870 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27871 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27872 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27873 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27874 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27875 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27876 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27877 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27878 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27879 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27880 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27882 2013-01-10 David S. Miller <davem@davemloft.net>
27884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27886 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27888 * posix/Makefile (tests-static): New variable.
27889 (tests): Add $(tests-static).
27890 (tst-exec-static-ARGS): New variable.
27891 (tst-spawn-static-ARGS): Likewise.
27892 * posix/tst-exec-static.c: New file.
27893 * posix/tst-spawn-static.c: Likewise.
27894 * posix/tst-exec.c: Support run directly.
27895 * posix/tst-spawn.c: Likewise.
27897 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27899 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27901 * math/bits/mathcalls.h (llrint): Likewise.
27902 (llround): Likewise.
27903 * stdlib/stdlib.h (struct drand48_data): Likewise.
27904 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27905 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27906 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27908 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27910 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27911 (elf_greg_t): Likewise.
27912 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27913 (__jmp_buf): Likewise.
27914 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27916 (llrint): Likewise, for all definitions.
27917 (llrintl): Likewise.
27919 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27920 Remove [__GNUC__] condition.
27921 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27922 condition to just [__USE_ISOC99].
27923 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27925 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27928 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27929 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27931 (_POSIX_V6_ILP32_OFF32): Likewise.
27932 (_XBS5_ILP32_OFF32): Likewise.
27933 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27934 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27936 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27938 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27940 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27941 doubles __mpexp_twomm1. Adjust usage.
27942 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27945 2013-01-10 Andreas Schwab <schwab@suse.de>
27948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27949 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27951 2013-01-09 David S. Miller <davem@davemloft.net>
27954 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27955 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27956 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27957 (TCP_FASTOPEN): Define.
27958 (tcp_repair_opt): New structure.
27959 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27961 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27962 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27963 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27964 (tcp_cookie_transactions): New structure.
27966 2013-01-09 Anton Blanchard <anton@samba.org>
27968 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27969 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27971 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27973 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27975 * include/features.h (__USE_ANSI): Remove.
27977 2013-01-09 Roland McGrath <roland@hack.frob.com>
27979 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27981 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27983 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27985 * sysdeps/s390/fpu/libm-test-ulps: Update.
27987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27989 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27993 (denorm): Likewise.
27994 (__mp_dbl): Likewise.
27995 (__dbl_mp): Likewise.
27996 (add_magnitudes): Likewise.
27997 (sub_magnitudes): Likewise.
28003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28007 (denorm): Likewise.
28008 (__mp_dbl): Likewise.
28009 (__dbl_mp): Likewise.
28010 (add_magnitudes): Likewise.
28011 (sub_magnitudes): Likewise.
28017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28021 (denorm): Likewise.
28022 (__mp_dbl): Likewise.
28023 (__dbl_mp): Likewise.
28024 (add_magnitudes): Likewise.
28025 (sub_magnitudes): Likewise.
28032 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28034 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28035 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28036 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28037 2 && __USE_EXTERN_INLINES]: Likewise.
28039 2013-01-08 Andreas Jaeger <aj@suse.de>
28042 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28044 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28045 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28047 2013-01-07 Anton Blanchard <anton@samba.org>
28049 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28050 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28051 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28052 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28053 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28054 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28055 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28056 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28058 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28059 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28060 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28061 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28063 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28064 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28065 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28066 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28067 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28069 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28070 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28071 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28072 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28073 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28074 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28075 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28076 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28077 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28078 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28079 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28082 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28083 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28084 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28085 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28086 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28087 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28088 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28089 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28091 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28093 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28095 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28096 (__MALLOC_PMT): Likewise.
28097 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28098 [__GNUC__], only on [_LIBC].
28099 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28100 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28101 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28102 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28103 forward declaration.
28104 (realloc_hook_ini): Likewise.
28105 (memalign_hook_ini): Likewise.
28106 (__libc_memalign): Do not use __MALLOC_PMT in variable
28108 (__libc_valloc): Likewise.
28109 (__libc_pvalloc): Likewise.
28110 (__libc_calloc): Likewise.
28111 (__posix_memalign): Likewise.
28114 * math/s_casinh.c: Include <float.h>.
28115 (__casinh): Do not do computation with squaring and square root
28116 for large arguments.
28117 * math/s_casinhf.c: Include <float.h>.
28118 (__casinhf): Do not do computation with squaring and square root
28119 for large arguments.
28120 * math/s_casinhl.c: Include <float.h>.
28121 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28122 (__casinhl): Do not do computation with squaring and square root
28123 for large arguments.
28124 * math/libm-test.inc (casin_test): Add more tests.
28125 (casinh_test): Likewise.
28126 * sysdeps/i386/fpu/libm-test-ulps: Update.
28127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28129 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28131 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28132 (__x86_64_raw_data_cache_size): Likewise.
28133 (__x86_64_data_cache_size_half): Likewise.
28134 (__x86_64_raw_data_cache_size_half): Likewise.
28135 (__x86_64_shared_cache_size): Likewise.
28136 (__x86_64_raw_shared_cache_size): Likewise.
28137 (__x86_64_shared_cache_size_half): Likewise.
28138 (__x86_64_raw_shared_cache_size_half): Likewise.
28139 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28141 (__x86_data_cache_size): This.
28142 (__x86_64_raw_data_cache_size): Renamed to ...
28143 (__x86_raw_data_cache_size): This.
28144 (__x86_64_data_cache_size_half): Renamed to ...
28145 (__x86_data_cache_size_half): This.
28146 (__x86_64_raw_data_cache_size_half): Renamed to ...
28147 (__x86_raw_data_cache_size_half): This.
28148 (__x86_64_shared_cache_size): Renamed to ...
28149 (__x86_shared_cache_size): This.
28150 (__x86_64_raw_shared_cache_size): Renamed to ...
28151 (__x86_raw_shared_cache_size): This.
28152 (__x86_64_shared_cache_size_half): Renamed to ...
28153 (__x86_shared_cache_size_half): This.
28154 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28155 (__x86_raw_shared_cache_size_half): This.
28156 * sysdeps/x86_64/memcpy.S: Updated.
28157 * sysdeps/x86_64/memset.S: Likewise.
28158 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28159 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28160 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28162 2013-01-04 David S. Miller <davem@davemloft.net>
28164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28166 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28168 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28169 1 to avoid redefinition warning.
28170 (__USE_GNU): Don't define.
28171 (init_signaling_nan): Protoize.
28173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28175 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28177 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28179 (__cpymn): Likewise.
28180 (norm): Remove commented code.
28181 (denorm): Likewise.
28182 (__mp_dbl): Likewise.
28184 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28185 (__cpymn): Likewise.
28186 (norm): Remove commented code.
28187 (denorm): Likewise.
28188 (__mp_dbl): Likewise.
28191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28192 mp_no value for 1.0 and 2.0.
28193 (norm): Use RADIXI instead of radixi.d.
28194 (denorm): Likewise.
28195 (__mul): Use 0.0 instead of zero.d.
28196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28197 mp_no value for 1.0 and 2.0.
28198 (norm): Use RADIXI instead of radixi.d.
28199 (denorm): Likewise.
28200 (__mul): Use 0.0 instead of zero.d.
28202 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28205 * math/s_casinh.c (__casinh): Reduce finite argument to first
28206 quadrant then set signs of results at the end.
28207 * math/s_casinhf.c (__casinhf): Likewise.
28208 * math/s_casinhl.c (__casinhl): Likewise.
28209 * math/libm-test.inc (casin_test): Add more tests.
28210 (casinh_test): Likewise.
28211 * sysdeps/i386/fpu/libm-test-ulps: Update.
28212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28214 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28216 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28218 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28220 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28222 (denorm): Likewise.
28223 (__mp_dbl): Likewise.
28226 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28227 and adjust the header comment.
28229 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28230 variable name from declaration.
28232 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28235 Initialize COMMON_CPUID_INDEX_7 element.
28236 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28237 (CPUID_RTM): Likewise.
28238 (HAS_RTM): Likewise.
28239 (COMMON_CPUID_INDEX_7): New enum.
28241 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28244 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28245 size is zero, record memory as freed.
28247 2013-01-03 Andreas Jaeger <aj@suse.de>
28249 * po/ia.po: Add new Interlingua translation.
28251 2012-01-03 Allan McRae <allan@archlinux.org>
28253 * locale/programs/localedef.c: Fix description of '--posix' flag.
28255 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28257 * NEWS: Update dates in second copyright notice.
28258 * README: Update copyright dates in example.
28259 * manual/libc.texinfo: Update copyright dates.
28260 * scripts/test-installation.pl: Update copyright date in --version
28263 * hurd/ctty-input.c: Fix copyright notice formatting.
28264 * hurd/ctty-output.c: Likewise.
28265 * hurd/dtable.c: Likewise.
28266 * hurd/hurd-raise.c: Likewise.
28267 * hurd/hurdprio.c: Likewise.
28268 * hurd/msgportdemux.c: Likewise.
28269 * misc/sys/file.h: Likewise.
28270 * misc/sys/ioctl.h: Likewise.
28271 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28272 * sysdeps/mach/hurd/chdir.c: Likewise.
28273 * sysdeps/mach/hurd/fchdir.c: Likewise.
28274 * sysdeps/mach/hurd/rename.c: Likewise.
28275 * sysdeps/mach/hurd/rmdir.c: Likewise.
28276 * sysdeps/mach/hurd/seekdir.c: Likewise.
28277 * sysdeps/mach/hurd/setsid.c: Likewise.
28278 * sysdeps/posix/wait3.c: Likewise.
28280 * All files with FSF copyright notices: Update copyright dates
28281 using scripts/update-copyrights.
28282 * intl/plural.c: Regenerated.
28283 * locale/programs/charmap-kw.h: Likewise.
28284 * locale/programs/locfile-kw.h: Likewise.
28286 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28288 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28291 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28292 calculation loop and add branch prediction.
28294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28295 check access beyond bounds of m1np.
28297 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28299 (__inv): Remove local variable MPTWO to use the global
28301 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28302 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28304 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28305 MP3HALFS static const.
28307 2013-01-01 David S. Miller <davem@davemloft.net>
28309 * po/ca.po: Update from translation team.
28311 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28313 * scripts/update-copyrights: New file.
28314 * Makeconfig: Reformat copyright notice.
28315 * ctype/ctype.h: Likewise.
28316 * debug/swprintf_chk.c: Likewise.
28317 * elf/dl-cache.c: Likewise.
28318 * elf/dl-debug.c: Likewise.
28319 * elf/dl-object.c: Likewise.
28320 * grp/initgroups.c: Likewise.
28321 * hurd/Makefile: Likewise.
28322 * hurd/hurd/signal.h: Likewise.
28323 * hurd/hurdfault.c: Likewise.
28324 * hurd/hurdioctl.c: Likewise.
28325 * hurd/hurdlookup.c: Likewise.
28326 * hurd/intr-msg.c: Likewise.
28327 * iconv/gconv_open.c: Likewise.
28328 * libio/swprintf.c: Likewise.
28329 * locale/lc-ctype.c: Likewise.
28330 * locale/nl_langinfo.c: Likewise.
28331 * mach/Machrules: Likewise.
28332 * mach/Makefile: Likewise.
28333 * malloc/obstack.h: Likewise.
28334 * manual/Makefile: Likewise.
28335 * manual/tsort.awk: Likewise.
28336 * misc/bits/stab.def: Likewise.
28337 * nis/nis_print_group_entry.c: Likewise.
28338 * nis/nis_table.c: Likewise.
28339 * nis/nss_compat/compat-pwd.c: Likewise.
28340 * nis/nss_compat/compat-spwd.c: Likewise.
28341 * po/Makefile: Likewise.
28342 * posix/fnmatch.c: Likewise.
28343 * posix/regex.h: Likewise.
28344 * resolv/Makefile: Likewise.
28345 * resolv/nss_dns/dns-network.c: Likewise.
28346 * resolv/res_hconf.c: Likewise.
28347 * scripts/gen-sorted.awk: Likewise.
28348 * soft-fp/soft-fp.h: Likewise.
28349 * stdio-common/printf.h: Likewise.
28350 * stdlib/monetary.h: Likewise.
28351 * stdlib/random.c: Likewise.
28352 * stdlib/random_r.c: Likewise.
28353 * sysdeps/generic/Makefile: Likewise.
28354 * sysdeps/gnu/Makefile: Likewise.
28355 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28356 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28357 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28359 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28360 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28361 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28362 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28363 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28378 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28379 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28380 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28383 * sysdeps/mach/hurd/errnos.awk: Likewise.
28384 * sysdeps/mach/hurd/fork.c: Likewise.
28385 * sysdeps/mach/hurd/getcwd.c: Likewise.
28386 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28387 * sysdeps/mach/hurd/mmap.c: Likewise.
28388 * sysdeps/mach/hurd/utimes.c: Likewise.
28389 * sysdeps/mach/hurd/xmknod.c: Likewise.
28390 * sysdeps/posix/profil.c: Likewise.
28391 * sysdeps/posix/readdir_r.c: Likewise.
28392 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28393 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28394 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28395 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28397 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28398 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28399 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28401 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28403 * sysdeps/pthread/lio_listio.c: Likewise.
28404 * sysdeps/sparc/dl-procinfo.h: Likewise.
28405 * sysdeps/unix/i386/sysdep.S: Likewise.
28406 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28407 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28408 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28409 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28411 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28412 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28413 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28414 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28415 * sysdeps/wordsize-32/divdi3.c: Likewise.
28416 * time/sys/time.h: Likewise.
28417 * wcsmbs/Makefile: Likewise.
28419 2013-01-01 David S. Miller <davem@davemloft.net>
28421 * po/fr.po: Update from translation team.
28423 * catgets/gencat.c: Update copyright year.
28424 * csu/version.c: Likewise.
28425 * debug/catchsegv.sh: Likewise.
28426 * debug/pcprofiledump.c: Likewise.
28427 * debug/xtrace.sh: Likewise.
28428 * elf/ldconfig.c: Likewise.
28429 * elf/ldd.bash.in: Likewise.
28430 * elf/pldd.c: Likewise.
28431 * elf/sotruss.ksh: Likewise.
28432 * elf/sprof.c: Likewise.
28433 * iconv/iconv_prog.c: Likewise.
28434 * iconv/iconvconfig.c: Likewise.
28435 * locale/programs/locale.c: Likewise.
28436 * locale/programs/localedef.c: Likewise.
28437 * login/programs/pt_chown.c: Likewise.
28438 * malloc/memusage.sh: Likewise.
28439 * malloc/memusagestat.c: Likewise.
28440 * malloc/mtrace.pl: Likewise.
28441 * nscd/nscd.c: Likewise.
28442 * nss/getent.c: Likewise.
28443 * nss/makedb.c: Likewise.
28444 * posix/getconf.c: Likewise.
28446 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28448 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28451 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28453 * math/bits/mathcalls.h (modf): Use __nonnull.
28455 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28457 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28458 (split): Use macro CN instead of the bare value.
28459 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28461 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28462 instead of the bare value.
28463 (power1): Likewise.
28465 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28467 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28469 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28471 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28473 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28474 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28475 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28476 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28478 2012-12-28 Andreas Jaeger <aj@suse.de>
28480 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28481 values are from Linux 3.7.
28483 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28484 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28486 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28488 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28491 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28493 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28494 variables with preprocessor constants.
28495 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28496 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28497 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28499 2012-12-27 Bruno Haible <bruno@clisp.org>
28502 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28505 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28508 and use variable directly.
28509 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28511 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28513 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28514 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28516 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28517 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28518 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28519 include directive. Remove local variable MPONE.
28520 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28521 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28522 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28524 2012-12-25 David S. Miller <davem@davemloft.net>
28526 * version.h (RELEASE): Set to "development".
28527 (VERSION): Set to "2.17.90".
28528 * NEWS: Add 2.18 section.
28530 2012-12-21 David S. Miller <davem@davemloft.net>
28532 * po/hr.po: Update from translation team.
28534 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28536 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28538 2012-12-19 Steve Ellcey <sellcey@mips.com>
28540 * NEWS: Mention new memcpy for MIPS.
28542 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28544 * manual/contrib.texi (Contributors): Spelling correction.
28546 2012-12-15 David S. Miller <davem@davemloft.net>
28548 * po/ru.po: Update from translation team.
28550 2012-12-13 David S. Miller <davem@davemloft.net>
28552 * NEWS: Mention IFUNC testsuite enhancements.
28554 * po/pl.po: Update from translation team.
28555 * po/bg.po: Likewise.
28557 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28558 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28560 2012-12-11 David S. Miller <davem@davemloft.net>
28562 * po/sv.po: Update from translation team.
28564 * po/vi.po: Update from translation team.
28566 * po/cs.po: Update from translation team.
28568 * po/de.po: Update from translation team.
28569 * po/eo.po: Likewise.
28570 * po/nl.po: Likewise.
28572 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28575 * manual/argp.texi (Argp Helper Functions): Move node to follow
28576 Argp Parsing State.
28579 * manual/conf.texi (Limits on File System Capacity): Mention if
28580 terminating null is included in the max size.
28582 2012-12-10 Andreas Jaeger <aj@suse.de>
28584 * po/cs.po: Update from translation team.
28586 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28588 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28589 void pointer and cast to uintptr_t.
28590 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28592 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28593 * sysdeps/s390/s390-64/memset.S: Likewise.
28595 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28598 * menual/message.texi (Message Translation): Fix typos.
28599 (Helper programs for gettext): Likewise.
28601 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28604 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28607 2012-12-07 David S. Miller <davem@davemloft.net>
28609 * po/libc.pot: Update.
28611 2012-12-07 Richard Henderson <rth@redhat.com>
28614 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28615 normal/normal case to before the switch.
28616 (_FP_DIV): Likewise.
28618 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28619 Mike Frysinger <vapier@gentoo.org>
28621 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28622 check for __NR_fadvise64_64.
28624 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28626 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28627 0, not just to plain "0" as a statement.
28628 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28631 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28633 * NEWS: Use sourceware.org in Bugzilla URL.
28635 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28638 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28640 * stdio-common/tst-put-error.c (do_test): Add newline to the
28641 padded test to ensure flush.
28643 2012-12-05 Jeff Law <law@redhat.com>
28645 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28647 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28649 * README: Don't refer to ports add-on as distributed separately.
28650 Mention AArch64 in list of systems supported in the ports add-on.
28652 * LICENSES: Add more non-FSF copyright and license notices.
28654 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28657 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28659 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28660 10000 as width of padded output.
28662 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28664 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28666 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28667 variable LX with __attribute__ ((unused)).
28668 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28670 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28671 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28673 with __attribute__ ((unused)).
28675 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28677 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28679 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28681 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28682 (CFLAGS-nldbl-acos.c): New variable.
28683 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28684 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28685 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28686 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28687 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28688 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28689 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28690 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28691 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28692 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28693 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28694 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28695 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28696 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28697 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28698 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28699 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28700 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28701 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28702 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28703 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28704 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28705 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28706 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28707 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28708 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28709 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28710 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28711 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28712 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28713 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28714 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28715 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28716 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28717 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28718 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28719 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28720 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28721 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28722 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28723 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28724 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28725 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28726 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28727 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28728 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28729 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28730 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28731 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28732 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28733 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28734 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28735 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28736 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28737 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28738 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28739 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28740 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28741 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28742 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28743 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28744 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28745 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28746 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28747 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28748 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28749 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28750 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28751 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28752 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28753 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28754 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28755 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28756 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28757 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28758 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28759 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28760 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28761 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28762 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28763 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28764 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28765 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28766 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28767 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28768 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28769 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28770 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28771 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28772 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28773 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28774 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28775 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28776 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28777 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28778 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28779 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28782 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28785 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28786 whole low double instead of just low 47 bits when splitting values
28789 2012-12-03 Allan McRae <allan@archlinux.org>
28791 * manual/stdio.texi (Predefined Printf Handlers): Remove
28792 @hsep and @vsep usage.
28794 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28796 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28797 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28799 2012-12-03 Jeff Law <law@redhat.com>
28801 * time/sys/time.h (settimeofday): Do not mark TV argument
28804 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28806 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28807 when currently writing and seek to current position when not.
28808 * libio/Makefile (tests): Remove bug-fclose1.
28809 * libio/bug-fclose1.c: Delete.
28811 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28813 * manual/arith.texi (feenableexcept): Fix typo.
28814 (fedisableexcept): Likewise.
28816 2012-11-30 Roland McGrath <roland@hack.frob.com>
28818 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28819 second, differently-typed declaration, rather than a cast.
28821 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28823 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28824 * include/rpc/svc.h: ... here.
28826 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28829 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28830 depending n and resplen2 to catch cases where answer
28833 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28835 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28836 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28838 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28840 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28842 2012-11-29 Roland McGrath <roland@hack.frob.com>
28844 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28846 2012-11-28 Jeff Law <law@redhat.com>
28849 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28850 dataset_temporary. Track alloca usage into alloca_used.
28851 If dataset is large allocate and release it via malloc/free.
28853 2012-06-04 Florian Weimer <fweimer@redhat.com>
28856 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28858 2012-11-28 David S. Miller <davem@davemloft.net>
28860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28862 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28865 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28866 of pi/2 rounded to nearest to 64 bits.
28867 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28868 nearest to 64 bits.
28869 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28872 2012-11-28 Jeff Law <law@redhat.com>
28873 Martin Osvald <mosvald@redhat.com>
28876 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28877 * sunrpc/svc.c: Include time.h.
28878 (__svc_accept_failed): New function.
28879 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28880 any reason other than EINTR, call __svc_accept_failed.
28881 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28882 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28884 2012-11-28 Andreas Schwab <schwab@suse.de>
28886 * scripts/abilist.awk: Also handle indirect functions in .opd
28889 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28892 * sysdeps/x86/fpu/powl_helper.c: New file.
28893 * sysdeps/x86/fpu/Makefile: Likewise.
28894 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28896 (__ieee754_powl): Use __powl_helper for finite arguments except
28897 integer exponents below 8.
28898 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28900 (__ieee754_powl): Use __powl_helper for finite arguments except
28901 integer exponents below 8.
28902 * math/libm-test.inc (pow_test): Add more tests and enable some
28903 previously disabled tests.
28904 * sysdeps/i386/fpu/libm-test-ulps: Update.
28905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28907 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28908 Carlos O'Donell <carlos_odonell@mentor.com>
28910 * nss/makedb.c (is_prime): Assert that input is odd and greater
28911 than 4. Note that fact in a comment too.
28912 (next_prime): Add 4 to input.
28914 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28917 * libio/Makefile (tests): Add test case tst-fwrite-error.
28918 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28919 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28920 * libio/tst-fwrite-error.c: New test case.
28922 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28924 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28925 before casting to void *.
28926 * include/libc-internal.h (__pointer_type): New macro.
28927 (__integer_if_pointer_type_sub): Likewise.
28928 (__integer_if_pointer_type): Likewise.
28929 (cast_to_integer): Likewise.
28930 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28931 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28932 before casting to atomic64_t.
28933 (atomic_exchange_acq): Likewise.
28934 (__arch_exchange_and_add_body): Likewise.
28935 (__arch_add_body): Likewise.
28936 (atomic_add_negative): Likewise.
28937 (atomic_add_zero): Likewise.
28939 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28941 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28942 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28943 (add_fdes): Likewise.
28944 (linear_search_fdes): Likewise.
28945 (binary_search_unencoded_fdes): Likewise.
28947 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28949 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28951 2012-11-24 Adam Conrad <adconrad@0c3.net>
28953 * configure.in: Autodetect C++ header directories.
28954 * configure: Regenerated.
28956 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28958 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28960 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28964 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28966 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28967 LDBL_MANT_DIG == 106]: Disable some tests.
28968 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28970 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28974 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28975 input for small inputs. Return +/- pi/2 for large inputs.
28976 * math/libm-test.inc (atan_test): Add more tests.
28978 * sysdeps/generic/unwind-dw2-fde-glibc.c
28979 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28980 __attribute__ ((unused)).
28983 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28984 x * y if x and y are nonzero and z is zero.
28987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28988 nonzero exponents with absolute value below 0x1p-117 to +/-
28992 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28993 up arguments below 2**-450, not just those below 2**-500.
28994 * math/libm-test.inc (hypot_test): Add another test.
28997 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
28998 Return a+b for ratio over 2**120, not 2**60.
28999 * math/libm-test.inc (hypot_test): Add another test.
29001 * math/libm-test.inc (clog_test): Use
29002 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29003 (clog10_test): Likewise.
29006 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29008 2012-11-22 Andreas Schwab <schwab@suse.de>
29010 * sysdeps/i386/fpu/libm-test-ulps: Update.
29012 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29014 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29015 printf output with newline.
29017 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29020 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29021 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29022 -z nodlopen, -z initfirst and -z execstack support.
29023 * configure: Regenerated.
29025 * elf/elf.h (DF_1_NODIRECT): New macro.
29026 (DF_1_IGNMULDEF): Likewise.
29027 (DF_1_NOKSYMS): Likewise.
29028 (DF_1_NOHDR): Likewise.
29029 (DF_1_EDITED): Likewise.
29030 (DF_1_NORELOC): Likewise.
29031 (DF_1_SYMINTPOSE): Likewise.
29032 (DF_1_GLOBAUDIT): Likewise.
29033 (DF_1_SINGLETON): Likewise.
29034 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29035 DT_1_SUPPORTED_MASK bits.
29036 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29038 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29040 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29042 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29044 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29047 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29048 (sendmmsg): Move declarations...
29049 * socket/sys/socket.h: ... here.
29050 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29051 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29053 * socket/recvmmsg.c: ... this new file.
29054 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29055 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29056 definition of __sendmmsg hidden.
29057 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29058 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29059 Move ENOSYS stub into and include it from...
29060 * socket/sendmmsg.c: ... this new file.
29061 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29062 (sysdep_routines): Move recvmmsg and sendmmsg...
29063 * socket/Makefile (routines): ... here.
29064 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29065 (GLIBC_PRIVATE): Add __sendmmsg.
29066 * include/sys/socket.h (__sendmmsg): Add declarations.
29067 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29070 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29072 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29073 variable I1 with __attribute__ ((unused)).
29074 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29076 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29078 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29079 DUMMY variables with __attribute__ ((unused)).
29081 * bits/byteswap.h: Include <bits/types.h>.
29082 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29084 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29086 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29087 string_t. Do not manually set errno.
29088 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29089 length with __strnlen. Make sure to both set errno and return it on
29092 2012-11-19 David S. Miller <davem@davemloft.net>
29094 With help from Joseph Myers.
29095 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29096 very large arguments properly.
29097 * math/libm-test.inc (atan_test): New tests.
29098 (atan2_test): New tests.
29099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29102 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29105 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29108 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29109 [POSIX] (EADDRNOTAVAIL): Likewise.
29110 [POSIX] (EAFNOSUPPORT): Likewise.
29111 [POSIX] (EALREADY): Likewise.
29112 [POSIX] (ECONNABORTED): Likewise.
29113 [POSIX] (ECONNREFUSED): Likewise.
29114 [POSIX] (ECONNRESET): Likewise.
29115 [POSIX] (EDESTADDRREQ): Likewise.
29116 [POSIX] (EDQUOT): Likewise.
29117 [POSIX] (EHOSTUNREACH): Likewise.
29118 [POSIX] (EIDRM): Likewise.
29119 [POSIX] (EISCONN): Likewise.
29120 [POSIX] (ELOOP): Likewise.
29121 [POSIX] (EMULTIHOP): Likewise.
29122 [POSIX] (ENETDOWN): Likewise.
29123 [POSIX] (ENETUNREACH): Likewise.
29124 [POSIX] (ENOBUFS): Likewise.
29125 [POSIX] (ENODATA): Likewise.
29126 [POSIX] (ENOLINK): Likewise.
29127 [POSIX] (ENOMSG): Likewise.
29128 [POSIX] (ENOPROTOOPT): Likewise.
29129 [POSIX] (ENOSR): Likewise.
29130 [POSIX] (ENOSTR): Likewise.
29131 [POSIX] (ENOTCONN): Likewise.
29132 [POSIX] (ENOTSOCK): Likewise.
29133 [POSIX] (EOPNOTSUPP): Likewise.
29134 [POSIX] (EOVERFLOW): Likewise.
29135 [POSIX] (EPROTO): Likewise.
29136 [POSIX] (EPROTONOSUPPORT): Likewise.
29137 [POSIX] (EPROTOTYPE): Likewise.
29138 [POSIX] (ESTALE): Likewise.
29139 [POSIX] (ETIME): Likewise.
29140 [POSIX] (ETXTBSY): Likewise.
29141 [POSIX] (EWOULDBLOCK): Likewise.
29142 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29143 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29144 [POSIX] (SEEK_CUR): Likewise.
29145 [POSIX] (SEEK_END): Likewise.
29146 [POSIX || UNIX98] (mode_t): Do not require.
29147 [POSIX] (off_t): Likewise.
29148 [POSIX] (pid_t): Likewise.
29149 [POSIX] (sys/stat.h): Do not allow header.
29150 [POSIX] (unistd.h): Likewise.
29151 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29152 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29153 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29154 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29156 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29157 sigevent): Specify elements.
29158 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29160 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29161 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29163 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29164 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29165 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29166 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29167 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29168 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29169 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29170 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29171 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29172 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29173 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29174 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29175 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29176 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29178 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29180 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29182 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29184 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29185 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29186 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29187 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29188 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29189 Specify lower bound on value.
29190 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29191 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29192 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29193 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29194 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29195 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29196 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29197 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29199 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29201 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29202 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29203 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29204 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29205 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29206 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29207 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29208 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29209 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29210 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29211 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29212 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29213 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29214 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29215 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29216 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29218 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29220 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29221 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29222 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29223 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29224 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29225 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29227 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29228 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29229 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29230 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29231 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29232 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29233 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29235 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29236 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29237 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29238 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29239 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29240 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29241 specify as optional.
29242 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29243 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29244 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29245 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29246 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29247 [XPG3] (NL_LANGMAX): Likewise.
29248 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29249 [POSIX || XPG3] (NL_NMAX): Likewise.
29250 [POSIX || XPG3] (NL_SETMAX): Likewise.
29251 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29252 [XPG3] (NZERO): Likewise.
29253 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29254 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29255 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29256 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29257 (REG_ERANGE): Expect.
29258 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29260 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29261 Use (void) in prototype.
29262 [POSIX] (*_t): Allow.
29263 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29264 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29265 (WRDE_BADVAL): Expect.
29267 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29269 [XPG3 || XPG4] (O_RSYNC): Likewise.
29270 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29272 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29273 [XPG3 || XPG4] (sigqueue): Likewise.
29274 [XPG3 || XPG4] (sigtimedwait): Likewise.
29275 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29276 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29277 [XPG3 || XPG4] (vsnprintf): Likewise.
29278 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29280 [XPG3 || XPG4] (blksize_t): Likewise.
29281 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29283 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29284 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29285 [XPG3 || XPG4] (struct itimerspec): Likewise.
29286 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29287 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29288 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29289 [XPG3 || XPG4] (clockid_t): Likewise.
29290 [XPG3 || XPG4] (timer_t): Likewise.
29291 [XPG3 || XPG4] (clock_getres): Likewise.
29292 [XPG3 || XPG4] (clock_gettime): Likewise.
29293 [XPG3 || XPG4] (clock_settime): Likewise.
29294 [XPG3 || XPG4] (nanosleep): Likewise.
29295 [XPG3 || XPG4] (timer_create): Likewise.
29296 [XPG3 || XPG4] (timer_delete): Likewise.
29297 [XPG3 || XPG4] (timer_gettime): Likewise.
29298 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29299 [XPG3 || XPG4] (timer_settime): Likewise.
29300 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29301 [XPG3 || XPG4] (getlogin_r): Likewise.
29302 [XPG3 || XPG4] (pread): Likewise.
29303 [XPG3 || XPG4] (pthread_atfork): Likewise.
29304 [XPG3 || XPG4] (pwrite): Likewise.
29307 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29310 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29312 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29313 finalizing MALLSTREAM.
29315 * sysdeps/mach/hurd/syncfs.c: New file.
29317 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29320 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29321 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29322 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29323 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29324 (_nss_dns_gethostbyname4_r): Likewise.
29325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29326 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29328 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29331 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29333 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29335 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29336 * elf/cache.c (print_entry): Print ",AArch64" for
29339 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29340 * elf/cache.c (print_entry): Print ",hard-float" for
29343 2012-11-18 David S. Miller <davem@davemloft.net>
29345 With help from Joseph Myers.
29346 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29348 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29350 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29351 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29353 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29354 * math/libm-test.inc (y0_test): New tests.
29355 (y1_test): New tests.
29356 * sysdeps/i386/fpu/libm-test-ulps: Update.
29357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29360 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29362 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29364 * configure: Regenerated.
29366 2012-11-17 David S. Miller <davem@davemloft.net>
29369 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29370 nonzero exponents with absolute value below 0x1p-128 to +/-
29373 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29375 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29377 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29379 * posix/getconf-speclist.c: New file.
29380 * posix/posix-envs.def: Likewise.
29381 * posix/confstr.c (START_ENV_GROUP): New macro.
29382 (END_ENV_GROUP): Likewise.
29383 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29384 (KNOWN_PRESENT_ENV_STRING): Likewise.
29385 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29386 (UNKNOWN_ENVIRONMENT): Likewise.
29387 (confstr): Include posix-envs.def instead of handling
29388 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29389 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29390 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29391 (END_ENV_GROUP): Likewise.
29392 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29393 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29394 (UNKNOWN_ENVIRONMENT): Likewise.
29395 (__sysconf): Include posix-envs.def instead of handling associated
29396 cases directly here.
29397 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29398 preprocessing getconf-speclist.c rather than running getconf or
29399 generating empty file.
29401 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29403 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29405 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29408 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29410 2012-11-16 David S. Miller <davem@davemloft.net>
29412 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29413 smaller than LDBL_EPSILON/2.0L, just return xm1.
29415 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29417 * elf/tst-array1.c (init): Set constructor priority to 1000.
29418 (fini): Set destructor priority to 1000.
29419 * elf/tst-array2dep.c: Likewise.
29421 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29424 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29425 (_IO_new_file_xsputn): Also return EOF if none of the input
29426 data was written when overflow failed.
29427 * libio/iopadn.c (_IO_padn): Likewise.
29428 * libio/iowpadn.c (_IO_wpadn): Likewise.
29429 * stdio-common/tst-put-error.c: Add copyright notice.
29430 (do_test): Add case for printing padded string.
29431 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29432 _IO_padn returned error.
29433 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29434 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29437 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29439 * libio/libioP.h: Add comment note that the references to C++
29440 bits are now obsolete.
29442 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29444 * math/libm-test.inc (check_complex): Use asprintf.
29446 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29448 * debug/pcprofiledump.c (print_version): Update copyright year.
29449 * malloc/memusagestat.c (print_version): Likewise.
29451 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29454 * elf/Makefile (tests): Add tst-audit8.
29455 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29456 ($(objpfx)tst-audit8.out): New target.
29457 (tst-audit8-ENV): New variable.
29458 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29459 audit if l_reloc_result is NULL.
29460 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29461 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29462 * elf/tst-audit8.c: New file.
29464 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29466 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29467 * misc/Makefile (CFLAGS-select.c): Define.
29468 * posix/Makefile (CFLAGS-pause.c): Define.
29470 2012-11-13 David S. Miller <davem@davemloft.net>
29472 * crypt/Makefile: Move test targets after toplevel Rules
29473 inclusion. Grab any necessary sysdep routines when linking.
29474 * crypt/md5.c (md5_process_block): Remove define, we will always
29475 name it __md5_process_block.
29476 (md5_finish_ctx): Update md5_process_block call.
29477 (md5_stream): Likewise.
29478 (md5_process_bytes): Likewise.
29479 (md5_process_block): Rename to __md5_process_block and move to ...
29480 * crypt/md5-block.c: ... here.
29481 * crypt/sha256.c (sha256_process_block): Move to ...
29482 * crypt/sha256-block.c: ... here.
29483 * crypt/sha512.c (sha512_process_block): Move to ...
29484 * crypt/sha512-block.c: ... here.
29485 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29487 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29488 * sysdeps/sparc/sparc64/multiarch/Makefile
29489 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29491 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29492 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29494 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29495 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29496 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29497 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29498 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29499 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29500 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29501 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29502 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29504 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29505 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29507 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29509 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29511 * timezone/tzselect.ksh: Update from tzcode git revision
29512 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29513 * timezone/zdump.c: Likewise.
29514 * timezone/zic.c: Likewise.
29515 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29516 in TZVERSION setting, not $(PKGVERSION).
29517 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29518 REPORT_BUGS_TO settings.
29521 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29524 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29526 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29527 detection to immediately after _FP_ROUND().
29528 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29531 2012-11-11 David S. Miller <davem@davemloft.net>
29533 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29535 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29536 __close rather than their public counterparts.
29538 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29540 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29542 [UNIX98] (sem_timedwait): Do not expect.
29543 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29544 [XPG4 || UNIX98] (sockatmark): Do not expect.
29545 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29546 (clock_getcpuclockid): Do not expect.
29547 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29548 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29550 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29551 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29552 [UNIX98] (vwscanf): Likewise.
29553 [UNIX98] (vswscanf): Likewise.
29555 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29557 * timezone/version.h: Remove file.
29558 * timezone/README: Do not refer to version.h.
29559 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29560 $(objpfx)version.h.
29561 ($(objpfx)zdump.o): Likewise.
29562 ($(objpfx)version.h): New target.
29564 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29566 * timezone/README: Don't mention modification to tzselect.ksh.
29567 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29568 work on unmodified tzselect.ksh. Substitute version numbers in
29571 * Makefile (format-me): Remove.
29572 (INSTALL): Adjust indentation. Use commands directly instead of
29573 using $(format-me).
29575 * aclocal.m4 (ACX_PKGVERSION): New macro.
29576 (ACX_BUGURL): Likewise.
29577 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29578 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29579 (REPORT_BUGS_TO): Likewise.
29580 * configure: Regenerated.
29581 * config.h.in (PKGVERSION): New macro.
29582 (REPORT_BUGS_TO): Likewise.
29583 * config.make.in (PKGVERSION): New variable.
29584 (PKGVERSION_TEXI): Likewise.
29585 (REPORT_BUGS_TO): Likewise.
29586 (REPORT_BUGS_TEXI): Likewise.
29587 * Makefile (format-me): Use -I$(common-objpfx)manual.
29588 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29589 ($(common-objpfx)manual/%): New target.
29590 (manual/%): Remove target.
29591 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29592 (print_version): Use PKGVERSION.
29593 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29594 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29595 and REPORT_BUGS_TO.
29596 ($(objpfx)xtrace): Likewise.
29597 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29598 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29599 (print_version): Use PKGVERSION.
29600 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29601 (do_version): Use PKGVERSION.
29602 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29604 (common-ldd-rewrite): Likewise.
29605 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29606 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29607 (print_version): Use PKGVERSION.
29608 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29609 * elf/pldd.c (argp_program_bug_address): Remove variable.
29610 (more_help): New function.
29611 (argp): Use more_help.
29612 (print_version): Use PKGVERSION.
29613 * elf/sln.c (main): Use PKGVERSION.
29614 (usage): Use REPORT_BUGS_TO.
29615 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29616 (top level): Use PKGVERSION.
29617 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29618 (print_version): Use PKGVERSION.
29619 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29620 (print_version): Use PKGVERSION.
29621 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29622 (print_version): Use PKGVERSION.
29623 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29624 (print_version): Use PKGVERSION.
29625 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29626 (print_version): Use PKGVERSION.
29627 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29628 (print_version): Use PKGVERSION.
29629 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29631 ($(objpfx)memusage): Likewise.
29632 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29633 (do_version): Use PKGVERSION.
29634 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29635 (print_version): Use PKGVERSION.
29636 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29637 ($PKGVERSION): New variable.
29638 ($REPORT_BUGS_TO): Likewise.
29639 (usage): Use $REPORT_BUGS_TO.
29640 (top level): Use $PKGVERSION.
29641 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29642 ($(objpfx)pkgvers.texi): New rule.
29643 ($(objpfx)stamp-pkgvers): Likewise.
29644 * manual/install.texi: Include pkgvers.texi.
29645 (--with-pkgversion): Document new configure option.
29646 (--with-bugurl): Likewise.
29647 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29648 than necessarily for this particular distribution. Use
29649 REPORT_BUGS_TO for where to report bugs.
29650 * INSTALL: Regenerated.
29651 * manual/libc.texinfo: Include pkgvers.texi.
29652 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29653 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29654 (print_version): Use PKGVERSION.
29655 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29656 (print_version): Use PKGVERSION.
29657 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29658 (print_version): Use PKGVERSION.
29659 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29660 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29662 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29663 (print_version): Use PKGVERSION.
29664 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29665 (print_version): Use PKGVERSION.
29666 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29669 * timezone/checktab.awk: Update from tzcode 2012i.
29670 * timezone/ialloc.c: Likewise.
29671 * timezone/private.h: Likewise.
29672 * timezone/scheck.c: Likewise.
29673 * timezone/tzfile.h: Likewise.
29674 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29675 (TZVERSION): Hardcode tzcode version number.
29676 * timezone/zdump.c: Update from tzcode 2012i.
29677 * timezone/zic.c: Likewise.
29678 * timezone/version.h: New file.
29679 * timezone/README: Describe version.h. Update upstream location.
29682 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29683 (mktemp): Enable declaration.
29684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29685 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29686 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29691 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29693 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29695 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29697 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29701 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29702 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29703 for copies of such integer values.
29704 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29705 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29707 2012-11-09 Andreas Jaeger <aj@suse.de>
29709 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29710 definitions and declarations that are provided by
29711 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29713 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29715 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29716 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29717 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29720 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29722 * elf/elf.h: Update comment before AArch64 relocations.
29724 2012-11-07 David S. Miller <davem@davemloft.net>
29726 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29727 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29728 (__start_context): Declare.
29729 (__makecontext_ret): Delete.
29730 (__makecontext): Hook up __start_context instead of
29732 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29733 (sysdep_routines): Add __start_context when in stdlib.
29735 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29737 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29738 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29739 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29741 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29742 (READELF): New variable. Use it instead of hardcoded "readelf".
29744 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29746 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29747 * sysdeps/x86/Makefile: Here.
29748 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29749 * sysdeps/x86/tst-xmmymm.sh: This.
29751 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29753 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29755 [UNIX98] (pthread_barrier_t): Do not expect.
29756 [UNIX98] (pthread_barrierattr_t): Likewise.
29757 [UNIX98] (pthread_spinlock_t): Likewise.
29758 [UNIX98] (pthread_barrier_destroy): Likewise.
29759 [UNIX98] (pthread_barrier_init): Likewise.
29760 [UNIX98] (pthread_barrier_wait): Likewise.
29761 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29762 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29763 [UNIX98] (pthread_barrierattr_init): Likewise.
29764 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29765 [UNIX98] (pthread_getcpuclockid): Likewise.
29766 [UNIX98] (pthread_mutex_timedlock): Likewise.
29767 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29768 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29769 [UNIX98] (pthread_sigmask): Likewise.
29770 [UNIX98] (pthread_spin_destroy): Likewise.
29771 [UNIX98] (pthread_spin_init): Likewise.
29772 [UNIX98] (pthread_spin_lock): Likewise.
29773 [UNIX98] (pthread_spin_trylock): Likewise.
29774 [UNIX98] (pthread_spin_unlock): Likewise.
29775 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29777 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29778 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29779 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29780 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29781 [XPG3 || XPG4] (pthread_key_t): Likewise.
29782 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29783 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29784 [XPG3 || XPG4] (pthread_once_t): Likewise.
29785 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29786 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29787 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29788 [XPG3 || XPG4] (pthread_t): Likewise.
29790 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29792 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29794 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29795 Change function return type to int.
29797 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29798 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29799 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29800 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29801 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29802 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29803 [!POSIX] (posix_madvise): Likewise.
29804 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29806 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29807 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29808 (mode_t): Likewise.
29809 (posix_mem_offset): Likewise.
29810 (posix_typed_mem_get_info): Likewise.
29811 (posix_typed_mem_open): Likewise.
29813 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29814 Change condition to [XOPEN2K8].
29816 * conform/conformtest.pl: Preprocess allow-header data with -x c
29817 instead of from stdin.
29818 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29819 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29820 [C99-based standards] (cerfc): Likewise.
29821 [C99-based standards] (cexp2): Likewise.
29822 [C99-based standards] (cexpm1): Likewise.
29823 [C99-based standards] (clog10): Likewise.
29824 [C99-based standards] (clog1p): Likewise.
29825 [C99-based standards] (clog2): Likewise.
29826 [C99-based standards] (clgamma): Likewise.
29827 [C99-based standards] (ctgamma): Likewise.
29828 [C99-based standards] (cerff): Likewise.
29829 [C99-based standards] (cerfcf): Likewise.
29830 [C99-based standards] (cexp2f): Likewise.
29831 [C99-based standards] (cexpm1f): Likewise.
29832 [C99-based standards] (clog10f): Likewise.
29833 [C99-based standards] (clog1pf): Likewise.
29834 [C99-based standards] (clog2f): Likewise.
29835 [C99-based standards] (clgammaf): Likewise.
29836 [C99-based standards] (ctgammaf): Likewise.
29837 [C99-based standards] (cerfl): Likewise.
29838 [C99-based standards] (cerfcl): Likewise.
29839 [C99-based standards] (cexp2l): Likewise.
29840 [C99-based standards] (cexpm1l): Likewise.
29841 [C99-based standards] (clog10l): Likewise.
29842 [C99-based standards] (clog1pl): Likewise.
29843 [C99-based standards] (clog2l): Likewise.
29844 [C99-based standards] (clgammal): Likewise.
29845 [C99-based standards] (ctgammal): Likewise.
29846 * conform/data/inttypes.h-data [C99-based standards]: Include
29847 stdint.h-data. Remove all expectations for stdint.h contents.
29848 [C99-based standards] (PRI*): Do not allow.
29849 [C99-based standards] (SCN*): Likewise.
29850 [C99-based standards] (*_t): Likewise.
29851 [C99-based-standards] (PRId8): Expect macro.
29852 [C99-based-standards] (PRIi8): Likewise.
29853 [C99-based-standards] (PRIo8): Likewise.
29854 [C99-based-standards] (PRIu8): Likewise.
29855 [C99-based-standards] (PRIx8): Likewise.
29856 [C99-based-standards] (PRIX8): Likewise.
29857 [C99-based-standards] (SCNd8): Likewise.
29858 [C99-based-standards] (SCNi8): Likewise.
29859 [C99-based-standards] (SCNo8): Likewise.
29860 [C99-based-standards] (SCNu8): Likewise.
29861 [C99-based-standards] (SCNx8): Likewise.
29862 [C99-based-standards] (PRIdLEAST8): Likewise.
29863 [C99-based-standards] (PRIiLEAST8): Likewise.
29864 [C99-based-standards] (PRIoLEAST8): Likewise.
29865 [C99-based-standards] (PRIuLEAST8): Likewise.
29866 [C99-based-standards] (PRIxLEAST8): Likewise.
29867 [C99-based-standards] (PRIXLEAST8): Likewise.
29868 [C99-based-standards] (SCNdLEAST8): Likewise.
29869 [C99-based-standards] (SCNiLEAST8): Likewise.
29870 [C99-based-standards] (SCNoLEAST8): Likewise.
29871 [C99-based-standards] (SCNuLEAST8): Likewise.
29872 [C99-based-standards] (SCNxLEAST8): Likewise.
29873 [C99-based-standards] (PRIdFAST8): Likewise.
29874 [C99-based-standards] (PRIiFAST8): Likewise.
29875 [C99-based-standards] (PRIoFAST8): Likewise.
29876 [C99-based-standards] (PRIuFAST8): Likewise.
29877 [C99-based-standards] (PRIxFAST8): Likewise.
29878 [C99-based-standards] (PRIXFAST8): Likewise.
29879 [C99-based-standards] (SCNdFAST8): Likewise.
29880 [C99-based-standards] (SCNiFAST8): Likewise.
29881 [C99-based-standards] (SCNoFAST8): Likewise.
29882 [C99-based-standards] (SCNuFAST8): Likewise.
29883 [C99-based-standards] (SCNxFAST8): Likewise.
29884 [C99-based-standards] (PRId16): Likewise.
29885 [C99-based-standards] (PRIi16): Likewise.
29886 [C99-based-standards] (PRIo16): Likewise.
29887 [C99-based-standards] (PRIu16): Likewise.
29888 [C99-based-standards] (PRIx16): Likewise.
29889 [C99-based-standards] (PRIX16): Likewise.
29890 [C99-based-standards] (SCNd16): Likewise.
29891 [C99-based-standards] (SCNi16): Likewise.
29892 [C99-based-standards] (SCNo16): Likewise.
29893 [C99-based-standards] (SCNu16): Likewise.
29894 [C99-based-standards] (SCNx16): Likewise.
29895 [C99-based-standards] (PRIdLEAST16): Likewise.
29896 [C99-based-standards] (PRIiLEAST16): Likewise.
29897 [C99-based-standards] (PRIoLEAST16): Likewise.
29898 [C99-based-standards] (PRIuLEAST16): Likewise.
29899 [C99-based-standards] (PRIxLEAST16): Likewise.
29900 [C99-based-standards] (PRIXLEAST16): Likewise.
29901 [C99-based-standards] (SCNdLEAST16): Likewise.
29902 [C99-based-standards] (SCNiLEAST16): Likewise.
29903 [C99-based-standards] (SCNoLEAST16): Likewise.
29904 [C99-based-standards] (SCNuLEAST16): Likewise.
29905 [C99-based-standards] (SCNxLEAST16): Likewise.
29906 [C99-based-standards] (PRIdFAST16): Likewise.
29907 [C99-based-standards] (PRIiFAST16): Likewise.
29908 [C99-based-standards] (PRIoFAST16): Likewise.
29909 [C99-based-standards] (PRIuFAST16): Likewise.
29910 [C99-based-standards] (PRIxFAST16): Likewise.
29911 [C99-based-standards] (PRIXFAST16): Likewise.
29912 [C99-based-standards] (SCNdFAST16): Likewise.
29913 [C99-based-standards] (SCNiFAST16): Likewise.
29914 [C99-based-standards] (SCNoFAST16): Likewise.
29915 [C99-based-standards] (SCNuFAST16): Likewise.
29916 [C99-based-standards] (SCNxFAST16): Likewise.
29917 [C99-based-standards] (PRId32): Likewise.
29918 [C99-based-standards] (PRIi32): Likewise.
29919 [C99-based-standards] (PRIo32): Likewise.
29920 [C99-based-standards] (PRIu32): Likewise.
29921 [C99-based-standards] (PRIx32): Likewise.
29922 [C99-based-standards] (PRIX32): Likewise.
29923 [C99-based-standards] (SCNd32): Likewise.
29924 [C99-based-standards] (SCNi32): Likewise.
29925 [C99-based-standards] (SCNo32): Likewise.
29926 [C99-based-standards] (SCNu32): Likewise.
29927 [C99-based-standards] (SCNx32): Likewise.
29928 [C99-based-standards] (PRIdLEAST32): Likewise.
29929 [C99-based-standards] (PRIiLEAST32): Likewise.
29930 [C99-based-standards] (PRIoLEAST32): Likewise.
29931 [C99-based-standards] (PRIuLEAST32): Likewise.
29932 [C99-based-standards] (PRIxLEAST32): Likewise.
29933 [C99-based-standards] (PRIXLEAST32): Likewise.
29934 [C99-based-standards] (SCNdLEAST32): Likewise.
29935 [C99-based-standards] (SCNiLEAST32): Likewise.
29936 [C99-based-standards] (SCNoLEAST32): Likewise.
29937 [C99-based-standards] (SCNuLEAST32): Likewise.
29938 [C99-based-standards] (SCNxLEAST32): Likewise.
29939 [C99-based-standards] (PRIdFAST32): Likewise.
29940 [C99-based-standards] (PRIiFAST32): Likewise.
29941 [C99-based-standards] (PRIoFAST32): Likewise.
29942 [C99-based-standards] (PRIuFAST32): Likewise.
29943 [C99-based-standards] (PRIxFAST32): Likewise.
29944 [C99-based-standards] (PRIXFAST32): Likewise.
29945 [C99-based-standards] (SCNdFAST32): Likewise.
29946 [C99-based-standards] (SCNiFAST32): Likewise.
29947 [C99-based-standards] (SCNoFAST32): Likewise.
29948 [C99-based-standards] (SCNuFAST32): Likewise.
29949 [C99-based-standards] (SCNxFAST32): Likewise.
29950 [C99-based-standards] (PRId64): Likewise.
29951 [C99-based-standards] (PRIi64): Likewise.
29952 [C99-based-standards] (PRIo64): Likewise.
29953 [C99-based-standards] (PRIu64): Likewise.
29954 [C99-based-standards] (PRIx64): Likewise.
29955 [C99-based-standards] (PRIX64): Likewise.
29956 [C99-based-standards] (SCNd64): Likewise.
29957 [C99-based-standards] (SCNi64): Likewise.
29958 [C99-based-standards] (SCNo64): Likewise.
29959 [C99-based-standards] (SCNu64): Likewise.
29960 [C99-based-standards] (SCNx64): Likewise.
29961 [C99-based-standards] (PRIdLEAST64): Likewise.
29962 [C99-based-standards] (PRIiLEAST64): Likewise.
29963 [C99-based-standards] (PRIoLEAST64): Likewise.
29964 [C99-based-standards] (PRIuLEAST64): Likewise.
29965 [C99-based-standards] (PRIxLEAST64): Likewise.
29966 [C99-based-standards] (PRIXLEAST64): Likewise.
29967 [C99-based-standards] (SCNdLEAST64): Likewise.
29968 [C99-based-standards] (SCNiLEAST64): Likewise.
29969 [C99-based-standards] (SCNoLEAST64): Likewise.
29970 [C99-based-standards] (SCNuLEAST64): Likewise.
29971 [C99-based-standards] (SCNxLEAST64): Likewise.
29972 [C99-based-standards] (PRIdFAST64): Likewise.
29973 [C99-based-standards] (PRIiFAST64): Likewise.
29974 [C99-based-standards] (PRIoFAST64): Likewise.
29975 [C99-based-standards] (PRIuFAST64): Likewise.
29976 [C99-based-standards] (PRIxFAST64): Likewise.
29977 [C99-based-standards] (PRIXFAST64): Likewise.
29978 [C99-based-standards] (SCNdFAST64): Likewise.
29979 [C99-based-standards] (SCNiFAST64): Likewise.
29980 [C99-based-standards] (SCNoFAST64): Likewise.
29981 [C99-based-standards] (SCNuFAST64): Likewise.
29982 [C99-based-standards] (SCNxFAST64): Likewise.
29983 [C99-based-standards] (PRIdMAX): Likewise.
29984 [C99-based-standards] (PRIiMAX): Likewise.
29985 [C99-based-standards] (PRIoMAX): Likewise.
29986 [C99-based-standards] (PRIuMAX): Likewise.
29987 [C99-based-standards] (PRIxMAX): Likewise.
29988 [C99-based-standards] (PRIXMAX): Likewise.
29989 [C99-based-standards] (SCNdMAX): Likewise.
29990 [C99-based-standards] (SCNiMAX): Likewise.
29991 [C99-based-standards] (SCNoMAX): Likewise.
29992 [C99-based-standards] (SCNuMAX): Likewise.
29993 [C99-based-standards] (SCNxMAX): Likewise.
29994 [C99-based-standards] (PRIdPTR): Likewise.
29995 [C99-based-standards] (PRIiPTR): Likewise.
29996 [C99-based-standards] (PRIoPTR): Likewise.
29997 [C99-based-standards] (PRIuPTR): Likewise.
29998 [C99-based-standards] (PRIxPTR): Likewise.
29999 [C99-based-standards] (PRIXPTR): Likewise.
30000 [C99-based-standards] (SCNdPTR): Likewise.
30001 [C99-based-standards] (SCNiPTR): Likewise.
30002 [C99-based-standards] (SCNoPTR): Likewise.
30003 [C99-based-standards] (SCNuPTR): Likewise.
30004 [C99-based-standards] (SCNxPTR): Likewise.
30005 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30007 * conform/data/stdint.h-data: Update comments to clarify
30009 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30011 [C99-based standards] (INT8_MAX): Likewise.
30012 [C99-based standards] (INT16_MIN): Likewise.
30013 [C99-based standards] (INT16_MAX): Likewise.
30014 [C99-based standards] (INT32_MIN): Likewise.
30015 [C99-based standards] (INT32_MAX): Likewise.
30016 [C99-based standards] (INT64_MIN): Likewise.
30017 [C99-based standards] (INT64_MAX): Likewise.
30018 [C99-based standards] (UINT8_MAX): Likewise.
30019 [C99-based standards] (UINT16_MAX): Likewise.
30020 [C99-based standards] (UINT32_MAX): Likewise.
30021 [C99-based standards] (UINT64_MAX): Likewise.
30022 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30023 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30024 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30025 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30026 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30027 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30028 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30029 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30030 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30031 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30032 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30033 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30034 [C99-based standards] (INT_FAST8_MIN): Likewise.
30035 [C99-based standards] (INT_FAST8_MAX): Likewise.
30036 [C99-based standards] (INT_FAST16_MIN): Likewise.
30037 [C99-based standards] (INT_FAST16_MAX): Likewise.
30038 [C99-based standards] (INT_FAST32_MIN): Likewise.
30039 [C99-based standards] (INT_FAST32_MAX): Likewise.
30040 [C99-based standards] (INT_FAST64_MIN): Likewise.
30041 [C99-based standards] (INT_FAST64_MAX): Likewise.
30042 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30043 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30044 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30045 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30046 [C99-based standards] (INTPTR_MIN): Likewise.
30047 [C99-based standards] (INTPTR_MAX): Likewise.
30048 [C99-based standards] (UINTPTR_MAX): Likewise.
30049 [C99-based standards] (INTMAX_MIN): Likewise.
30050 [C99-based standards] (INTMAX_MAX): Likewise.
30051 [C99-based standards] (UINTMAX_MAX): Likewise.
30052 [C99-based standards] (PTRDIFF_MIN): Likewise.
30053 [C99-based standards] (PTRDIFF_MAX): Likewise.
30054 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30055 [C99-based standards] (SIZE_MAX): Likewise.
30056 [C99-based standards] (WCHAR_MAX): Likewise.
30057 [C99-based standards] (WINT_MAX): Likewise.
30058 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30059 constraint on value.
30060 [C99-based standards] (WCHAR_MIN): Likewise.
30061 [C99-based standards] (WINT_MIN): Likewise.
30062 [C99-based standards] (*_t): Allow.
30063 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30064 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30065 Include math.h-data and complex.h-data. Remove all expectations
30066 of math.h and complex.h contents.
30067 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30069 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30070 (struct tm): Expect tag.
30071 [C99-based-standards] (wcstof): Expect function.
30072 [C99-based-standards] (wcstold): Likewise.
30073 [C99-based-standards] (wcstoll): Likewise.
30074 [C99-based-standards] (wcstoull): Likewise.
30075 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30076 macro-int-constant. Specify type.
30077 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30078 constraint on value.
30079 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30081 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30083 [ISO C standards]: Do not allow headers.
30084 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30085 wcs[abcdefghijklmnopqrstuvwxyz]*.
30086 [ISO C standards] (*_t): Do not allow.
30087 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30089 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30090 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30092 [ISO C standards]: Do not allow headers.
30093 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30094 is[abcdefghijklmnopqrstuvwxyz]*.
30095 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30096 to[abcdefghijklmnopqrstuvwxyz]*.
30097 [ISO C standards] (*_t): Do not allow.
30098 * conform/data/stdalign.h-data: New file.
30099 * conform/data/stdbool.h-data: Likewise.
30100 * conform/data/stdnoreturn.h-data: Likewise.
30102 2012-11-07 Roland McGrath <roland@hack.frob.com>
30105 * manual/filesys.texi (Directory Entries): Typo fix.
30106 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30108 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30110 * elf/elf.h (EM_AARCH64): New macro.
30111 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30112 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30113 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30114 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30115 (R_AARCH64_TLSDESC): Likewise.
30116 (NT_ARM_TLS): Likewise.
30117 (NT_ARM_HW_BREAK): Likewise.
30118 (NT_ARM_HW_WATCH): Likewise.
30120 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30123 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30124 (__ieee754_powl): Saturate nonzero exponents with absolute value
30125 below 0x1p-79 to +/- 0x1p-79.
30126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30127 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30128 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30129 nonzero exponents with absolute value below 0x1p-32 to +/-
30131 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30132 (__ieee754_powl): Saturate nonzero exponents with absolute value
30133 below 0x1p-79 to +/- 0x1p-79.
30134 * math/libm-test.inc (pow_test): Add more tests.
30136 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30138 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30139 _dl_s390_cap_flags with kernel. Increase string length.
30140 (_dl_s390_platforms): Add z196 and zEC12.
30142 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30144 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30145 Change XOPEN21K to XOPEN2K.
30147 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30149 * string/memmove.c: Use memcpy when possible.
30151 2012-11-06 Andreas Jaeger <aj@suse.de>
30153 * po/eo.po: Update from translation team.
30155 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30159 exponent and small x and y exponents, scale x or y up. Increase
30160 by 2 the exponent used in scaling up.
30161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30163 * math/libm-test.inc (fma_test): Add more tests.
30164 (fma_test_towardzero): Likewise.
30165 (fma_test_downward): Likewise.
30166 (fma_test_upward): Likewise.
30168 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30171 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30175 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30176 namespace for names of struct fields.
30177 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30179 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30180 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30182 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30185 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30187 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30189 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30193 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30196 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30199 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30200 definitely overflow as x * y not x * y + z.
30201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30202 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30203 * math/libm-test.inc (fma_test): Add more tests.
30204 (fma_test_towardzero): Likewise.
30205 (fma_test_downward): Likewise.
30206 (fma_test_upward): Likewise.
30208 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30212 * include/stub-tag.h: Remove file.
30213 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30215 * manual/maint.texi (Porting): Don't reference it.
30216 * Makerules ($(objpfx)stubs): Likewise.
30217 * dirent/closedir.c: Don't include <stub-tag.h>.
30218 * dirent/dirfd.c: Likewise.
30219 * dirent/fdopendir.c: Likewise.
30220 * dirent/getdents.c: Likewise.
30221 * dirent/getdents64.c: Likewise.
30222 * dirent/opendir.c: Likewise.
30223 * dirent/readdir.c: Likewise.
30224 * dirent/readdir64.c: Likewise.
30225 * dirent/readdir64_r.c: Likewise.
30226 * dirent/readdir_r.c: Likewise.
30227 * dirent/rewinddir.c: Likewise.
30228 * dirent/seekdir.c: Likewise.
30229 * dirent/telldir.c: Likewise.
30230 * gmon/profil.c: Likewise.
30231 * grp/setgroups.c: Likewise.
30232 * inet/if_index.c: Likewise.
30233 * io/access.c: Likewise.
30234 * io/chdir.c: Likewise.
30235 * io/chmod.c: Likewise.
30236 * io/chown.c: Likewise.
30237 * io/close.c: Likewise.
30238 * io/dup.c: Likewise.
30239 * io/dup2.c: Likewise.
30240 * io/dup3.c: Likewise.
30241 * io/euidaccess.c: Likewise.
30242 * io/faccessat.c: Likewise.
30243 * io/fchdir.c: Likewise.
30244 * io/fchmod.c: Likewise.
30245 * io/fchmodat.c: Likewise.
30246 * io/fchown.c: Likewise.
30247 * io/fchownat.c: Likewise.
30248 * io/fcntl.c: Likewise.
30249 * io/flock.c: Likewise.
30250 * io/fstatfs.c: Likewise.
30251 * io/fstatfs64.c: Likewise.
30252 * io/fstatvfs.c: Likewise.
30253 * io/fstatvfs64.c: Likewise.
30254 * io/futimens.c: Likewise.
30255 * io/fxstat.c: Likewise.
30256 * io/fxstat64.c: Likewise.
30257 * io/fxstatat.c: Likewise.
30258 * io/fxstatat64.c: Likewise.
30259 * io/getcwd.c: Likewise.
30260 * io/isatty.c: Likewise.
30261 * io/lchmod.c: Likewise.
30262 * io/lchown.c: Likewise.
30263 * io/link.c: Likewise.
30264 * io/linkat.c: Likewise.
30265 * io/lseek.c: Likewise.
30266 * io/lseek64.c: Likewise.
30267 * io/lxstat64.c: Likewise.
30268 * io/mkdir.c: Likewise.
30269 * io/mkdirat.c: Likewise.
30270 * io/mkfifo.c: Likewise.
30271 * io/mkfifoat.c: Likewise.
30272 * io/open.c: Likewise.
30273 * io/open64.c: Likewise.
30274 * io/openat.c: Likewise.
30275 * io/openat64.c: Likewise.
30276 * io/pipe.c: Likewise.
30277 * io/pipe2.c: Likewise.
30278 * io/poll.c: Likewise.
30279 * io/posix_fadvise.c: Likewise.
30280 * io/posix_fadvise64.c: Likewise.
30281 * io/posix_fallocate.c: Likewise.
30282 * io/posix_fallocate64.c: Likewise.
30283 * io/read.c: Likewise.
30284 * io/readlink.c: Likewise.
30285 * io/readlinkat.c: Likewise.
30286 * io/rmdir.c: Likewise.
30287 * io/sendfile.c: Likewise.
30288 * io/sendfile64.c: Likewise.
30289 * io/statfs.c: Likewise.
30290 * io/statfs64.c: Likewise.
30291 * io/statvfs.c: Likewise.
30292 * io/statvfs64.c: Likewise.
30293 * io/symlink.c: Likewise.
30294 * io/symlinkat.c: Likewise.
30295 * io/ttyname.c: Likewise.
30296 * io/ttyname_r.c: Likewise.
30297 * io/umask.c: Likewise.
30298 * io/unlink.c: Likewise.
30299 * io/unlinkat.c: Likewise.
30300 * io/utime.c: Likewise.
30301 * io/utimensat.c: Likewise.
30302 * io/write.c: Likewise.
30303 * io/xmknod.c: Likewise.
30304 * io/xmknodat.c: Likewise.
30305 * io/xstat.c: Likewise.
30306 * io/xstat64.c: Likewise.
30307 * login/getpt.c: Likewise.
30308 * login/grantpt.c: Likewise.
30309 * login/unlockpt.c: Likewise.
30310 * math/e_acoshl.c: Likewise.
30311 * math/e_acosl.c: Likewise.
30312 * math/e_asinl.c: Likewise.
30313 * math/e_atan2l.c: Likewise.
30314 * math/e_atanhl.c: Likewise.
30315 * math/e_coshl.c: Likewise.
30316 * math/e_expl.c: Likewise.
30317 * math/e_fmodl.c: Likewise.
30318 * math/e_gammal_r.c: Likewise.
30319 * math/e_hypotl.c: Likewise.
30320 * math/e_j0l.c: Likewise.
30321 * math/e_j1l.c: Likewise.
30322 * math/e_jnl.c: Likewise.
30323 * math/e_lgammal_r.c: Likewise.
30324 * math/e_log10l.c: Likewise.
30325 * math/e_log2l.c: Likewise.
30326 * math/e_logl.c: Likewise.
30327 * math/e_powl.c: Likewise.
30328 * math/e_rem_pio2l.c: Likewise.
30329 * math/e_sinhl.c: Likewise.
30330 * math/e_sqrtl.c: Likewise.
30331 * math/fclrexcpt.c: Likewise.
30332 * math/fedisblxcpt.c: Likewise.
30333 * math/feenablxcpt.c: Likewise.
30334 * math/fegetenv.c: Likewise.
30335 * math/fegetexcept.c: Likewise.
30336 * math/fegetround.c: Likewise.
30337 * math/feholdexcpt.c: Likewise.
30338 * math/fesetenv.c: Likewise.
30339 * math/fesetround.c: Likewise.
30340 * math/feupdateenv.c: Likewise.
30341 * math/fgetexcptflg.c: Likewise.
30342 * math/fraiseexcpt.c: Likewise.
30343 * math/fsetexcptflg.c: Likewise.
30344 * math/ftestexcept.c: Likewise.
30345 * math/k_cosl.c: Likewise.
30346 * math/k_rem_pio2l.c: Likewise.
30347 * math/k_sinl.c: Likewise.
30348 * math/k_tanl.c: Likewise.
30349 * math/s_asinhl.c: Likewise.
30350 * math/s_atanl.c: Likewise.
30351 * math/s_cbrtl.c: Likewise.
30352 * math/s_erfl.c: Likewise.
30353 * math/s_expm1l.c: Likewise.
30354 * math/s_log1pl.c: Likewise.
30355 * math/s_tanhl.c: Likewise.
30356 * misc/acct.c: Likewise.
30357 * misc/brk.c: Likewise.
30358 * misc/chflags.c: Likewise.
30359 * misc/chroot.c: Likewise.
30360 * misc/fchflags.c: Likewise.
30361 * misc/fgetxattr.c: Likewise.
30362 * misc/flistxattr.c: Likewise.
30363 * misc/fremovexattr.c: Likewise.
30364 * misc/fsetxattr.c: Likewise.
30365 * misc/fsync.c: Likewise.
30366 * misc/ftruncate.c: Likewise.
30367 * misc/futimes.c: Likewise.
30368 * misc/futimesat.c: Likewise.
30369 * misc/getdomain.c: Likewise.
30370 * misc/getdtsz.c: Likewise.
30371 * misc/gethostid.c: Likewise.
30372 * misc/gethostname.c: Likewise.
30373 * misc/getloadavg.c: Likewise.
30374 * misc/getpagesize.c: Likewise.
30375 * misc/getsysstats.c: Likewise.
30376 * misc/getxattr.c: Likewise.
30377 * misc/gtty.c: Likewise.
30378 * misc/ioctl.c: Likewise.
30379 * misc/lgetxattr.c: Likewise.
30380 * misc/listxattr.c: Likewise.
30381 * misc/llistxattr.c: Likewise.
30382 * misc/lremovexattr.c: Likewise.
30383 * misc/lsetxattr.c: Likewise.
30384 * misc/lutimes.c: Likewise.
30385 * misc/madvise.c: Likewise.
30386 * misc/mincore.c: Likewise.
30387 * misc/mlock.c: Likewise.
30388 * misc/mlockall.c: Likewise.
30389 * misc/mmap.c: Likewise.
30390 * misc/mprotect.c: Likewise.
30391 * misc/msync.c: Likewise.
30392 * misc/munlock.c: Likewise.
30393 * misc/munlockall.c: Likewise.
30394 * misc/munmap.c: Likewise.
30395 * misc/preadv.c: Likewise.
30396 * misc/preadv64.c: Likewise.
30397 * misc/ptrace.c: Likewise.
30398 * misc/pwritev.c: Likewise.
30399 * misc/pwritev64.c: Likewise.
30400 * misc/readv.c: Likewise.
30401 * misc/reboot.c: Likewise.
30402 * misc/remap_file_pages.c: Likewise.
30403 * misc/removexattr.c: Likewise.
30404 * misc/revoke.c: Likewise.
30405 * misc/select.c: Likewise.
30406 * misc/setdomain.c: Likewise.
30407 * misc/setegid.c: Likewise.
30408 * misc/seteuid.c: Likewise.
30409 * misc/sethostid.c: Likewise.
30410 * misc/sethostname.c: Likewise.
30411 * misc/setregid.c: Likewise.
30412 * misc/setreuid.c: Likewise.
30413 * misc/setxattr.c: Likewise.
30414 * misc/sstk.c: Likewise.
30415 * misc/stty.c: Likewise.
30416 * misc/swapoff.c: Likewise.
30417 * misc/swapon.c: Likewise.
30418 * misc/sync.c: Likewise.
30419 * misc/syncfs.c: Likewise.
30420 * misc/syscall.c: Likewise.
30421 * misc/truncate.c: Likewise.
30422 * misc/ualarm.c: Likewise.
30423 * misc/usleep.c: Likewise.
30424 * misc/ustat.c: Likewise.
30425 * misc/utimes.c: Likewise.
30426 * misc/vhangup.c: Likewise.
30427 * misc/writev.c: Likewise.
30428 * posix/_exit.c: Likewise.
30429 * posix/alarm.c: Likewise.
30430 * posix/execve.c: Likewise.
30431 * posix/fexecve.c: Likewise.
30432 * posix/fork.c: Likewise.
30433 * posix/fpathconf.c: Likewise.
30434 * posix/getaddrinfo.c: Likewise.
30435 * posix/getegid.c: Likewise.
30436 * posix/geteuid.c: Likewise.
30437 * posix/getgid.c: Likewise.
30438 * posix/getgroups.c: Likewise.
30439 * posix/getlogin.c: Likewise.
30440 * posix/getlogin_r.c: Likewise.
30441 * posix/getpgid.c: Likewise.
30442 * posix/getpid.c: Likewise.
30443 * posix/getppid.c: Likewise.
30444 * posix/getresgid.c: Likewise.
30445 * posix/getresuid.c: Likewise.
30446 * posix/getsid.c: Likewise.
30447 * posix/getuid.c: Likewise.
30448 * posix/glob64.c: Likewise.
30449 * posix/nanosleep.c: Likewise.
30450 * posix/pathconf.c: Likewise.
30451 * posix/pause.c: Likewise.
30452 * posix/posix_madvise.c: Likewise.
30453 * posix/pread.c: Likewise.
30454 * posix/pread64.c: Likewise.
30455 * posix/pwrite.c: Likewise.
30456 * posix/pwrite64.c: Likewise.
30457 * posix/sched_getaffinity.c: Likewise.
30458 * posix/sched_getp.c: Likewise.
30459 * posix/sched_gets.c: Likewise.
30460 * posix/sched_primax.c: Likewise.
30461 * posix/sched_primin.c: Likewise.
30462 * posix/sched_rr_gi.c: Likewise.
30463 * posix/sched_setaffinity.c: Likewise.
30464 * posix/sched_setp.c: Likewise.
30465 * posix/sched_sets.c: Likewise.
30466 * posix/sched_yield.c: Likewise.
30467 * posix/setgid.c: Likewise.
30468 * posix/setlogin.c: Likewise.
30469 * posix/setpgid.c: Likewise.
30470 * posix/setresgid.c: Likewise.
30471 * posix/setresuid.c: Likewise.
30472 * posix/setsid.c: Likewise.
30473 * posix/setuid.c: Likewise.
30474 * posix/sleep.c: Likewise.
30475 * posix/spawni.c: Likewise.
30476 * posix/sysconf.c: Likewise.
30477 * posix/times.c: Likewise.
30478 * posix/wait.c: Likewise.
30479 * posix/wait3.c: Likewise.
30480 * posix/wait4.c: Likewise.
30481 * posix/waitpid.c: Likewise.
30482 * resolv/gai_sigqueue.c: Likewise.
30483 * resource/getpriority.c: Likewise.
30484 * resource/getrlimit.c: Likewise.
30485 * resource/getrusage.c: Likewise.
30486 * resource/nice.c: Likewise.
30487 * resource/setpriority.c: Likewise.
30488 * resource/setrlimit.c: Likewise.
30489 * resource/ulimit.c: Likewise.
30490 * rt/aio_cancel.c: Likewise.
30491 * rt/aio_fsync.c: Likewise.
30492 * rt/aio_read.c: Likewise.
30493 * rt/aio_sigqueue.c: Likewise.
30494 * rt/aio_suspend.c: Likewise.
30495 * rt/aio_write.c: Likewise.
30496 * rt/clock_getres.c: Likewise.
30497 * rt/clock_gettime.c: Likewise.
30498 * rt/clock_nanosleep.c: Likewise.
30499 * rt/clock_settime.c: Likewise.
30500 * rt/lio_listio.c: Likewise.
30501 * rt/mq_close.c: Likewise.
30502 * rt/mq_getattr.c: Likewise.
30503 * rt/mq_notify.c: Likewise.
30504 * rt/mq_open.c: Likewise.
30505 * rt/mq_receive.c: Likewise.
30506 * rt/mq_send.c: Likewise.
30507 * rt/mq_setattr.c: Likewise.
30508 * rt/mq_timedreceive.c: Likewise.
30509 * rt/mq_timedsend.c: Likewise.
30510 * rt/mq_unlink.c: Likewise.
30511 * rt/shm_open.c: Likewise.
30512 * rt/shm_unlink.c: Likewise.
30513 * rt/timer_create.c: Likewise.
30514 * rt/timer_delete.c: Likewise.
30515 * rt/timer_getoverr.c: Likewise.
30516 * rt/timer_gettime.c: Likewise.
30517 * rt/timer_settime.c: Likewise.
30518 * setjmp/__longjmp.c: Likewise.
30519 * setjmp/setjmp.c: Likewise.
30520 * signal/kill.c: Likewise.
30521 * signal/killpg.c: Likewise.
30522 * signal/raise.c: Likewise.
30523 * signal/sigaction.c: Likewise.
30524 * signal/sigaltstack.c: Likewise.
30525 * signal/sigblock.c: Likewise.
30526 * signal/sigignore.c: Likewise.
30527 * signal/sigintr.c: Likewise.
30528 * signal/signal.c: Likewise.
30529 * signal/sigpause.c: Likewise.
30530 * signal/sigpending.c: Likewise.
30531 * signal/sigqueue.c: Likewise.
30532 * signal/sigreturn.c: Likewise.
30533 * signal/sigset.c: Likewise.
30534 * signal/sigsetmask.c: Likewise.
30535 * signal/sigstack.c: Likewise.
30536 * signal/sigsuspend.c: Likewise.
30537 * signal/sigtimedwait.c: Likewise.
30538 * signal/sigvec.c: Likewise.
30539 * signal/sigwait.c: Likewise.
30540 * signal/sigwaitinfo.c: Likewise.
30541 * signal/sysv_signal.c: Likewise.
30542 * socket/accept.c: Likewise.
30543 * socket/accept4.c: Likewise.
30544 * socket/bind.c: Likewise.
30545 * socket/connect.c: Likewise.
30546 * socket/getpeername.c: Likewise.
30547 * socket/getsockname.c: Likewise.
30548 * socket/getsockopt.c: Likewise.
30549 * socket/isfdtype.c: Likewise.
30550 * socket/listen.c: Likewise.
30551 * socket/recv.c: Likewise.
30552 * socket/recvfrom.c: Likewise.
30553 * socket/recvmsg.c: Likewise.
30554 * socket/send.c: Likewise.
30555 * socket/sendmsg.c: Likewise.
30556 * socket/sendto.c: Likewise.
30557 * socket/setsockopt.c: Likewise.
30558 * socket/shutdown.c: Likewise.
30559 * socket/sockatmark.c: Likewise.
30560 * socket/socket.c: Likewise.
30561 * socket/socketpair.c: Likewise.
30562 * stdio-common/ctermid.c: Likewise.
30563 * stdio-common/cuserid.c: Likewise.
30564 * stdio-common/remove.c: Likewise.
30565 * stdio-common/rename.c: Likewise.
30566 * stdio-common/renameat.c: Likewise.
30567 * stdio-common/tempname.c: Likewise.
30568 * stdlib/getcontext.c: Likewise.
30569 * stdlib/makecontext.c: Likewise.
30570 * stdlib/setcontext.c: Likewise.
30571 * stdlib/swapcontext.c: Likewise.
30572 * stdlib/system.c: Likewise.
30573 * streams/fattach.c: Likewise.
30574 * streams/fdetach.c: Likewise.
30575 * streams/getmsg.c: Likewise.
30576 * streams/getpmsg.c: Likewise.
30577 * streams/putmsg.c: Likewise.
30578 * streams/putpmsg.c: Likewise.
30579 * sysdeps/unix/bsd/getpt.c: Likewise.
30580 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30581 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30582 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30585 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30586 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30587 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30588 * sysvipc/msgctl.c: Likewise.
30589 * sysvipc/msgget.c: Likewise.
30590 * sysvipc/msgrcv.c: Likewise.
30591 * sysvipc/msgsnd.c: Likewise.
30592 * sysvipc/semctl.c: Likewise.
30593 * sysvipc/semget.c: Likewise.
30594 * sysvipc/semop.c: Likewise.
30595 * sysvipc/semtimedop.c: Likewise.
30596 * sysvipc/shmat.c: Likewise.
30597 * sysvipc/shmctl.c: Likewise.
30598 * sysvipc/shmdt.c: Likewise.
30599 * sysvipc/shmget.c: Likewise.
30600 * termios/tcdrain.c: Likewise.
30601 * termios/tcflow.c: Likewise.
30602 * termios/tcflush.c: Likewise.
30603 * termios/tcgetattr.c: Likewise.
30604 * termios/tcgetpgrp.c: Likewise.
30605 * termios/tcsendbrk.c: Likewise.
30606 * termios/tcsetattr.c: Likewise.
30607 * termios/tcsetpgrp.c: Likewise.
30608 * time/adjtime.c: Likewise.
30609 * time/clock.c: Likewise.
30610 * time/getitimer.c: Likewise.
30611 * time/gettimeofday.c: Likewise.
30612 * time/setitimer.c: Likewise.
30613 * time/settimeofday.c: Likewise.
30614 * time/stime.c: Likewise.
30615 * time/time.c: Likewise.
30617 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30619 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30622 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30624 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30626 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30630 FE_TONEAREST before applying Dekker multiplication and Knuth
30631 addition. Clear inexact exceptions and check for exact zero
30632 results afterwards.
30633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30634 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30635 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30636 * math/libm-test.inc (fma_test): Add more tests.
30637 (fma_test_towardzero): Likewise.
30638 (fma_test_downward): Likewise.
30639 (fma_test_upward): Likewise.
30640 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30642 (libc_fesetround): New macro.
30643 (libc_fesetroundf): Likewise.
30644 (libc_fesetroundl): Likewise.
30645 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30647 (libc_fesetround_387): Likewise.
30648 (libc_fesetroundf): New macro.
30649 (libc_fesetround): Likewise.
30650 (libc_fesetroundl): Likewise.
30651 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30653 (libc_fesetroundf): New macro.
30654 (libc_fesetround): Likewise.
30655 (libc_fesetroundl): Likewise.
30656 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30657 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30658 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30660 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30661 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30663 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30664 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30666 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30670 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30671 integer constant usable in #if and use that to give value to enum
30673 (FE_DIVBYZERO): Likewise.
30674 (FE_UNDERFLOW): Likewise.
30675 (FE_OVERFLOW): Likewise.
30676 (FE_INVALID): Likewise.
30677 (FE_INVALID_SNAN): Likewise.
30678 (FE_INVALID_ISI): Likewise.
30679 (FE_INVALID_IDI): Likewise.
30680 (FE_INVALID_ZDZ): Likewise.
30681 (FE_INVALID_IMZ): Likewise.
30682 (FE_INVALID_COMPARE): Likewise.
30683 (FE_INVALID_SOFTWARE): Likewise.
30684 (FE_INVALID_SQRT): Likewise.
30685 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30686 (FE_TONEAREST): Likewise.
30687 (FE_TOWARDZERO): Likewise.
30688 (FE_UPWARD): Likewise.
30689 (FE_DOWNWARD): Likewise.
30690 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30691 (FE_DIVBYZERO): Likewise.
30692 (FE_OVERFLOW): Likewise.
30693 (FE_UNDERFLOW): Likewise.
30694 (FE_INEXACT): Likewise.
30695 (FE_TONEAREST): Likewise.
30696 (FE_DOWNWARD): Likewise.
30697 (FE_UPWARD): Likewise.
30698 (FE_TOWARDZERO): Likewise.
30699 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30700 (FE_UNDERFLOW): Likewise.
30701 (FE_OVERFLOW): Likewise.
30702 (FE_DIVBYZERO): Likewise.
30703 (FE_INVALID): Likewise.
30704 (FE_TONEAREST): Likewise.
30705 (FE_TOWARDZERO): Likewise.
30706 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30707 (FE_OVERFLOW): Likewise.
30708 (FE_UNDERFLOW): Likewise.
30709 (FE_DIVBYZERO): Likewise.
30710 (FE_INEXACT): Likewise.
30711 (FE_TONEAREST): Likewise.
30712 (FE_TOWARDZERO): Likewise.
30713 (FE_UPWARD): Likewise.
30714 (FE_DOWNWARD): Likewise.
30715 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30716 (FE_DIVBYZERO): Likewise.
30717 (FE_OVERFLOW): Likewise.
30718 (FE_UNDERFLOW): Likewise.
30719 (FE_INEXACT): Likewise.
30720 (FE_TONEAREST): Likewise.
30721 (FE_DOWNWARD): Likewise.
30722 (FE_UPWARD): Likewise.
30723 (FE_TOWARDZERO): Likewise.
30725 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30727 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30729 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30731 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30732 commands. Quote $PWD.
30733 (blacklist_exports): Don't use remove_newlines. Replace "declare
30735 (remove_newlines): Remove.
30737 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30739 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30740 * stdlib/stdlib.h (atof): Moved to ...
30741 * include/bits/stdlib-float.h: Here. New file.
30742 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30743 * stdlib/bits/stdlib-float.h: New file.
30744 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30749 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30751 * conform/conformtest.pl (@headers): Add fenv.h.
30752 * conform/data/fenv.h-data: New file.
30753 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30754 include of <math/fenv.h>.
30756 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30757 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30758 && !UNIX98]. Enables tests for XOPEN2K8.
30759 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30760 POSIX2008]: Likewise.
30762 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30763 (struct rusage): Do not expect type or its members.
30766 * math/math.h (FP_NAN): Define macro to integer constant usable in
30767 #if and use that to give value to enum constant.
30768 (FP_INFINITE): Likewise.
30769 (FP_ZERO): Likewise.
30770 (FP_SUBNORMAL): Likewise.
30771 (FP_NORMAL): Likewise.
30773 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30775 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30776 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30779 2012-11-02 Roland McGrath <roland@hack.frob.com>
30781 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30782 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30783 autoconf-time if not.
30784 * configure.in: Remove AC_PREREQ.
30786 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30788 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30789 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30790 of the internal implementation.
30792 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30794 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30795 except include of <misc/sys/syslog.h>.
30797 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30800 function returns with a NULL context exit with zero.
30802 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30804 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30806 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30808 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30809 (run_program_cmd): This.
30810 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30811 (tst_langinfo): New variable. Use it.
30813 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30815 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30816 floating point opcodes.
30818 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30820 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30823 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30825 * sysdeps/mach/hurd/powerpc: Remove directory.
30826 * sysdeps/mach/powerpc: Likewise.
30828 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30830 * scripts/check-local-headers.sh: Ignore c++ headers.
30832 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30834 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30835 __libc_cleanup_region_start argument.
30837 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30841 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30842 x * y using scaling, not as x * y + z.
30843 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30845 * math/libm-test.inc (fma_test): Add more tests.
30846 (fma_test_towardzero): Likewise.
30847 (fma_test_downward): Likewise.
30848 (fma_test_upward): Likewise.
30850 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30852 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30854 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30856 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30859 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30861 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30863 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30870 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30873 Fix the order of the list for glibc 2.17.
30874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30877 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30881 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30884 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30885 for low part of x being zero before using __atanl (y).
30886 * math/libm-test.inc (atan2_test): Add another test.
30888 * manual/install.texi (Configuring and compiling): Document
30889 general use of test-wrapper and test-wrapper-env.
30890 * INSTALL: Regenerated.
30892 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30893 (__fma): Do not extract and scale down low bits on after-rounding
30894 systems when result rounded to normal precision would have normal
30896 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30897 (__fmal): Do not extract and scale down low bits on after-rounding
30898 systems when result rounded to normal precision would have normal
30900 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30901 (__fmal): Do not extract and scale down low bits on after-rounding
30902 systems when result rounded to normal precision would have normal
30904 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30906 (fma_test): Add more tests.
30907 (fma_test_towardzero): Likewise.
30908 (fma_test_downward): Likewise.
30909 (fma_test_upward): Likewise.
30911 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30913 * sysdeps/i386/tininess.h: Renamed to ...
30914 * sysdeps/x86/tininess.h: This.
30915 * sysdeps/x86_64/tininess.h: Removed.
30917 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30919 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30920 input. Use $(build-program-cmd).
30921 ($(objpfx)tst-array1-static.out): Likewise.
30922 ($(objpfx)tst-array2.out): Likewise.
30923 ($(objpfx)tst-array3.out): Likewise.
30924 ($(objpfx)tst-array4.out): Likewise.
30925 ($(objpfx)tst-array5.out): Likewise.
30926 ($(objpfx)tst-array5-static.out): Likewise.
30928 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30930 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30933 * nss/nsswitch.h (nss_interface_function): Provide new
30934 macro for use with NSS functions.
30935 * grp/initgroups.c: Use new macro.
30936 * nss/getXXbyYY.c: Likewise.
30937 * nss/getXXbyYY_r.c: Likewise.
30938 * nss/getXXent.c: Likewise.
30939 * nss/getXXent_r.c: Likewise.
30940 * sysdeps/posix/getaddrinfo.c: Likewise.
30942 2012-10-30 Andreas Jaeger <aj@suse.de>
30944 * po/ru.po: Update Russion translation from translation project.
30946 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30951 result and shift together with sticky bit instead of replicating
30952 round-to-nearest rounding.
30953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30955 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30956 missing underflow exceptions.
30957 (fma_test_towardzero): Add more tests.
30958 (fma_test_downward): Likewise.
30959 (fma_test_upward): Likewise.
30962 * sysdeps/generic/tininess.h: New file.
30963 * sysdeps/i386/tininess.h: Likewise.
30964 * sysdeps/sh/tininess.h: Likewise.
30965 * sysdeps/x86_64/tininess.h: Likewise.
30966 * stdlib/tst-strtod-underflow.c: Likewise.
30967 * stdlib/tst-tininess.c: Likewise.
30968 * stdlib/strtod_l.c: Include <tininess.h>.
30969 (round_and_return): Do not set errno for exact underflow cases.
30970 Force an underflow exception when setting errno for underflow.
30971 Determine underflow based on rounding to normal precision if
30972 TININESS_AFTER_ROUNDING.
30973 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30974 ERANGE for exact underflow cases.
30975 * stdlib/Makefile (tests): Add tst-tininess and
30976 tst-strtod-underflow.
30977 ($(objpfx)tst-tininess): Use $(link-libm).
30978 ($(objpfx)tst-strtod-underflow): Likewise.
30980 2012-10-30 Andreas Jaeger <aj@suse.de>
30983 * elf/Makefile (tests): Remove conditional for have-initfini-array
30984 since this is now always required and the variable does not exist
30986 (tests-static): Likewise.
30987 (modules-names): Likewise.
30989 * po/eo.po: Add Esperanto translation from translation project.
30991 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30992 merged with constructor/destructor.
30993 (init_array): Likewise.
30994 * elf/tst-array2dep.c (fini_array): Likewise.
30995 (init_array): Likewise.
30997 2012-10-29 Mike Frysinger <vapier@gentoo.org>
30999 * manual/message.texi: Delete @cartouche tags.
31001 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31003 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31005 * sysdeps/mach/hurd/fsync.c: Likewise.
31007 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31008 [_POSIX_REALTIME_SIGNALS]: Change condition to
31009 [_POSIX_REALTIME_SIGNALS > 0].
31011 2012-10-27 Andreas Jaeger <aj@suse.de>
31013 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31014 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31015 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31016 [__WORDSIZE != 64]: Likewise.
31018 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31020 * iconvdata/tst-table.sh: Remove ${SHELL}.
31021 * iconvdata/tst-tables.sh: Likewise.
31023 2012-10-25 David S. Miller <davem@davemloft.net>
31025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31026 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31031 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31032 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31033 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31036 2012-10-25 Roland McGrath <roland@hack.frob.com>
31038 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31039 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31042 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31043 Jim Blandy <jimb@codesourcery.com>
31045 * scripts/cross-test-ssh.sh: New file.
31046 * manual/install.texi (Configuring and compiling): Document use of
31048 * INSTALL: Regenerated.
31050 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31052 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31055 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31057 * Makeconfig (run-program-prefix): Fix comment.
31059 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31060 Jim Blandy <jimb@codesourcery.com>
31062 * Makeconfig (test-wrapper): New variable,
31063 (test-wrapper-env): Likewise.
31064 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31065 (run-built-tests): Define to yes.
31066 (run-program-prefix): Use $(test-wrapper).
31067 (built-program-cmd): Likewise.
31068 * Rules (make-test-out): Use $(test-wrapper-env) and
31069 $(host-built-program-cmd).
31070 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31071 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31073 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31074 $(test-wrapper-env) to tst-rtld-load-self.sh.
31075 ($(objpfx)order2.out): Use $(test-wrapper).
31076 ($(objpfx)tst-initorder.out): Likewise.
31077 ($(objpfx)tst-initorder2.out): Likewise.
31078 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31079 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31080 (test_wrapper_env): New variable. Use it to run ld.so.
31081 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31082 Use it to run ld.so.
31083 (test_wrapper_env): Likewise.
31084 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31085 $(test-wrapper) to run-iconv-test.sh.
31086 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31087 (ICONV): Use $test_wrapper.
31088 * posix/Makefile ($(objpfx)globtest.out): Pass
31089 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31090 globtest.sh, not $(run-program-prefix).
31091 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31092 (test_wrapper): Likewise.
31093 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31094 set together with run_via_rtld_prefix.
31095 (run_program_prefix): Define in terms of test_wrapper and
31096 run_via_rtld_prefix.
31098 2012-10-24 Roland McGrath <roland@hack.frob.com>
31100 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31101 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31105 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31106 Declare __clock_getres, __clock_gettime, __clock_settime,
31107 __clock_nanosleep, and __clock_getcpuclockid.
31108 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31109 Remove librt_hidden_def (clock_gettime).
31110 * sysdeps/unix/clock_gettime.c: Likewise.
31111 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31112 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31113 * rt/clock_getres.c: Define __clock_getres as an alias.
31114 * sysdeps/posix/clock_getres.c: Likewise.
31115 * rt/clock_settime.c: Define __clock_settime as an alias.
31116 * sysdeps/unix/clock_settime.c: Likewise.
31117 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31118 * sysdeps/unix/clock_nanosleep.c: Likewise.
31119 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31120 * rt/clock-compat.c: New file.
31121 * rt/Makefile (librt-routines): Add clock-compat and move
31122 $(clock-routines) to ...
31123 (routines): ... here, new variable.
31124 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31125 Don't add get_clockfreq here.
31126 * rt/Versions (libc: GLIBC_2.17): New version set.
31127 Add clock_* symbols here.
31128 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31129 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31130 (GLIBC_2.17): Add clock_* symbols.
31131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31133 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31142 * NEWS: Mention the move.
31144 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31145 Use __open, __read, __close rather than their public counterparts.
31146 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31147 (__get_clockfreq_via_cpuinfo): Likewise.
31148 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31149 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31151 * config.h.in (HAVE_IFUNC): New #undef.
31152 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31154 * configure: Regenerated.
31156 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31158 * configure.in: Move READELF check to start of file.
31159 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31160 libc_cv_asm_gnu_indirect_function in the process.
31161 * configure: Regenerated.
31163 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31165 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31166 send the output to /dev/null.
31167 (libc_cv_cc_with_libunwind): Likewise.
31168 (libc_cv_as_noexecstack): Likewise.
31169 * configure: Regenerate.
31171 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31173 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31175 * posix/globtest.sh (TMPDIR): Do not set.
31176 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31177 (testout): Likewise.
31179 2012-10-24 Andreas Jaeger <aj@suse.de>
31181 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31182 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31183 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31184 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31185 posix_fadvise64, posix_fallocate64.
31187 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31188 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31189 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31191 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31193 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31196 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31197 <bits/fcntl-linux.h>.
31198 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31201 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31202 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31203 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31204 [__WORDSIZE != 64]: Likewise.
31206 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31208 * Makeconfig (run-built-tests): New variable.
31209 * Rules [$(cross-compiling) = yes]: Change condition to
31210 [$(run-built-tests) = no].
31211 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31212 to [$(run-built-tests) = yes].
31213 * elf/Makefile [$(cross-compiling) = no]: Likewise
31214 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31215 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31216 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31217 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31218 * io/Makefile [$(cross-compiling) = no]: Likewise.
31219 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31220 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31221 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31222 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31223 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31224 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31225 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31226 * string/Makefile [$(cross-compiling) = no]: Likewise.
31228 * posix/Makefile ($(objpfx)globtest.out): Pass
31229 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31230 $(rtld-installed-name).
31231 * posix/globtest.sh (elf_objpfx): Remove variable.
31232 (rtld_installed_name): Likewise.
31233 (library_path): Likewise.
31234 (run_program_prefix): New variable. Use for running globtest
31237 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31238 Joseph Myers <joseph@codesourcery.com>
31240 * Makeconfig (host-built-program-cmd): New variable.
31241 * elf/Makefile (tst-stackguard1-ARGS): Use
31242 $(host-built-program-cmd).
31243 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31244 (tst-spawn-ARGS): Likewise.
31245 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31247 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31248 Jim Blandy <jimb@codesourcery.com>
31250 * Makeconfig (run-via-rtld-prefix): New variable.
31251 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31252 (built-program-cmd): Likewise.
31254 2012-10-22 Andreas Jaeger <aj@suse.de>
31256 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31257 __O_RSYNC if it exists, otherwise to O_SYNC.
31259 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31260 Joseph Myers <joseph@codesourcery.com>
31262 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31264 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31266 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31269 2012-10-22 Andreas Jaeger <aj@suse.de>
31271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31276 bits/fcntl-linux.h.
31278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31279 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31286 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31287 Joseph Myers <joseph@codesourcery.com>
31289 * config.make.in (NM): New variable.
31291 2012-10-21 Andreas Jaeger <aj@suse.de>
31293 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31294 definitions and declarations that are provided by
31295 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31297 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31300 * elf/Makefile (tests-static): Add tst-leaks1-static.
31301 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31302 ($(objpfx)tst-leaks1-static): New rule.
31303 ($(objpfx)tst-leaks1-static-mem): Likewise.
31304 (tst-leaks1-static-ENV): New macro.
31305 * elf/dl-open.c (dl_open_worker): Check the main application
31306 only if SHARED is defined.
31307 * elf/tst-leaks1-static.c: New file.
31309 2012-10-20 Andreas Jaeger <aj@suse.de>
31311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31312 generic values for Linux.
31313 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31314 and declarations that are provided by <bits/fcntl-linux.h> and
31315 include <bits/fcntl-linux.h>.
31316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31319 2012-10-20 Roland McGrath <roland@hack.frob.com>
31321 * io/fcntl.h: Move include of <bits/types.h> to the top and
31322 include it unconditionally.
31324 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31326 * wcsmbs/Makefile (tests-ifunc): New variable.
31327 (tests): Add $(tests-ifunc).
31328 * wcsmbs/test-wcschr-ifunc.c: New file.
31329 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31330 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31331 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31332 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31333 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31335 * string/Makefile (tests-ifunc): New variable.
31336 (tests): Add $(tests-ifunc).
31337 * string/test-memccpy.c (TEST_NAME): New macro.
31338 * string/test-memchr.c (TEST_NAME): Likewise.
31339 * string/test-memcmp.c (TEST_NAME): Likewise.
31340 * string/test-memcpy.c (TEST_NAME): Likewise.
31341 * string/test-memmem.c (TEST_NAME): Likewise.
31342 * string/test-memmove.c (TEST_NAME): Likewise.
31343 * string/test-memset.c (TEST_NAME): Likewise.
31344 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31345 * string/test-stpcpy.c (TEST_NAME): Likewise.
31346 * string/test-stpncpy.c (TEST_NAME): Likewise.
31347 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31348 * string/test-strcasestr.c (TEST_NAME): Likewise.
31349 * string/test-strcat.c (TEST_NAME): Likewise.
31350 * string/test-strchr.c (TEST_NAME): Likewise.
31351 * string/test-strcmp.c(TEST_NAME): Likewise.
31352 * string/test-strcpy.c (TEST_NAME): Likewise.
31353 * string/test-strcspn.c (TEST_NAME): Likewise.
31354 * string/test-strlen.c (TEST_NAME): Likewise.
31355 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31356 * string/test-strncmp.c (TEST_NAME): Likewise.
31357 * string/test-strncpy.c (TEST_NAME): Likewise.
31358 * string/test-strnlen.c (TEST_NAME): Likewise.
31359 * string/test-strpbrk.c (TEST_NAME): Likewise.
31360 * string/test-strrchr.c (TEST_NAME): Likewise.
31361 * string/test-strspn.c (TEST_NAME): Likewise.
31362 * string/test-strstr.c (TEST_NAME): Likewise.
31363 * string/test-bcopy-ifunc.c: New file.
31364 * string/test-bzero-ifunc.c: Likewise.
31365 * string/test-memccpy-ifunc.c: Likewise.
31366 * string/test-memchr-ifunc.c: Likewise.
31367 * string/test-memcmp-ifunc.c: Likewise.
31368 * string/test-memcpy-ifunc.c: Likewise.
31369 * string/test-memmem-ifunc.c: Likewise.
31370 * string/test-memmove-ifunc.c: Likewise.
31371 * string/test-mempcpy-ifunc.c: Likewise.
31372 * string/test-memset-ifunc.c: Likewise.
31373 * string/test-rawmemchr-ifunc.c: Likewise.
31374 * string/test-stpcpy-ifunc.c: Likewise.
31375 * string/test-stpncpy-ifunc.c: Likewise.
31376 * string/test-strcasecmp-ifunc.c: Likewise.
31377 * string/test-strcasestr-ifunc.c: Likewise.
31378 * string/test-strcat-ifunc.c: Likewise.
31379 * string/test-strchr-ifunc.c: Likewise.
31380 * string/test-strchrnul-ifunc.c: Likewise.
31381 * string/test-strcmp-ifunc.c: Likewise.
31382 * string/test-strcpy-ifunc.c: Likewise.
31383 * string/test-strcspn-ifunc.c: Likewise.
31384 * string/test-strlen-ifunc.c: Likewise.
31385 * string/test-strncasecmp-ifunc.c: Likewise.
31386 * string/test-strncat-ifunc.c: Likewise.
31387 * string/test-strncmp-ifunc.c: Likewise.
31388 * string/test-strncpy-ifunc.c: Likewise.
31389 * string/test-strnlen-ifunc.c: Likewise.
31390 * string/test-strpbrk-ifunc.c: Likewise.
31391 * string/test-strrchr-ifunc.c: Likewise.
31392 * string/test-strspn-ifunc.c: Likewise.
31393 * string/test-strstr-ifunc.c: Likewise.
31395 * debug/Makefile (tests-ifunc): New variable.
31396 (tests): Add $(tests-ifunc).
31397 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31398 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31399 * debug/test-stpcpy_chk-ifunc.c: New file.
31400 * debug/test-strcpy_chk-ifunc.c: Likewise.
31402 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31405 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31406 header is not read in.
31408 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31410 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31411 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31412 directly. Pass built executable to script as
31413 $(built-program-cmd).
31414 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31415 $testprogram without using LD_LIBRARY_PATH and $ldso.
31417 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31418 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31419 $(rtld-installed-name).
31420 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31421 (rtld_installed_name): Likewise.
31422 (library_path): Likewise.
31423 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31424 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31425 $(run-program-prefix) to tst-tables.sh.
31426 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31427 it to run tst-table-from and tst-table-to.
31428 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31429 Pass it to tst-table.sh.
31430 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31431 $(run-program-prefix) to tst-gettext.sh.
31432 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31434 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31436 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31437 to run tst-gettext.
31438 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31439 to run tst-gettext2.
31440 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31441 to run tst-translit.
31442 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31443 $(run-program-prefix) to tst-mtrace.sh.
31444 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31446 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31447 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31448 $(rtld-installed-name).
31449 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31450 (rtld_installed_name): Likewise.
31451 (run_program_prefix): New variable. Use it to run wordexp-test.
31453 * Makeconfig (ARCH): Remove all definitions.
31454 (machine): Likewise.
31455 [ARCH]: Remove conditional code.
31456 [!objdir]: Give error.
31457 [!objdir] (objpfx): Remove.
31458 [!objdir] (common-objpfx): Likewise.
31459 [!objdir] (common-objdir): Likewise.
31460 * configure.in (config_makefile): Remove. Hardcode Makefile in
31461 AC_CONFIG_FILES call.
31462 * configure: Regenerated.
31465 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31467 (testout): Likewise.
31469 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31470 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31471 $(rtld-installed-name).
31472 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31473 (rtld_installed_name): Likwise.
31474 (runit): Remove function.
31475 (run_getconf): New variable, Use it for running getconf binary.
31477 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31480 * string/test-memmem.c (check_result): New function.
31481 (do_one_test): Use it.
31482 (check1): New function.
31483 (test_main): Use it.
31485 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31487 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31489 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31491 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31492 (_G_LSEEK64): Likewise.
31493 (_G_MMAP64): Likewise.
31494 (_G_FSTAT64): Likewise.
31495 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31496 (_G_LSEEK64): Likewise.
31497 (_G_MMAP64): Likewise.
31498 (_G_FSTAT64): Likewise.
31499 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31500 unconditional. Call __mmap64 directly.
31501 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31502 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31503 __lseek64 directly.
31504 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31505 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31507 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31508 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31509 __lseek64 directly.
31510 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31511 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31512 __lseek64 directly.
31513 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31514 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31515 __lseek64 directly.
31516 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31517 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31518 __fxstat64 directly.
31519 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31520 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31522 (freopen64) [!_G_OPEN64]: Remove conditional code.
31523 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31525 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31526 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31528 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31529 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31531 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31532 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31534 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31535 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31537 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31538 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31540 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31541 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31543 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31545 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31548 * manual/memory.texi (Malloc Tunable Parameters): Add note
31549 about free list pointers overwriting some perturb bytes.
31550 Wording suggested by Roland McGrath.
31552 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31554 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31555 (lgamma_test): Likewise.
31556 (tgamma_test): Likewise.
31558 2012-10-16 Florian Weimer <fweimer@redhat.com>
31561 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31562 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31564 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31566 * NEWS: Mention BZ #14716.
31567 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31568 when removing AVAILABLE1_USES_J macro.
31570 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31572 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31573 (__bswap_64): __uint64_t for unsigned 64-bit int.
31575 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31577 * include/string.h (memmem): Declare libc hidden alias.
31578 * string/memmem.c (memmem): Define libc hidden alias.
31579 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31580 __read, __close instead of open, read, close.
31582 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31585 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31587 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31588 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31589 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31591 (__rawmemchr_sse2): Likewise.
31592 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31593 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31594 (__strchr_sse2): Likewise.
31595 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31596 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31597 (__strcasecmp_sse2): Likewise.
31598 (__strncasecmp_sse2): Likewise.
31599 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31600 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31601 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31602 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31603 (__strrchr_sse2): Likewise.
31604 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31606 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31607 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31608 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31609 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31610 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31611 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31612 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31613 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31614 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31615 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31616 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31617 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31618 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31619 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31620 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31621 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31622 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31623 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31624 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31625 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31626 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31627 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31628 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31629 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31630 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31631 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31632 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31633 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31634 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31635 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31637 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31639 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31640 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31641 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31642 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31644 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31646 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31647 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31648 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31649 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31651 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31652 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31653 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31654 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31655 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31656 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31657 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31658 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31659 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31660 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31661 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31662 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31663 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31664 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31665 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31666 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31667 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31668 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31669 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31670 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31671 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31672 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31673 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31674 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31675 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31676 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31677 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31678 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31679 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31680 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31681 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31682 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31683 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31684 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31685 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31686 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31687 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31688 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31689 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31690 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31691 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31693 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31694 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31695 * include/ifunc-impl-list.h: New file.
31696 * misc/ifunc-impl-list.c: Likewise.
31697 * misc/Makefile (routines): Add ifunc-impl-list.
31698 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31699 * string/test-string.h: Include <ifunc-impl-list.h>.
31700 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31701 TEST_NAME]: New variables.
31702 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31704 (test_init): Call __libc_ifunc_impl_list to initialize
31705 func_list if TEST_IFUNC and TEST_NAME are defined.
31707 * string/Makefile (strop-tests): Add bcopy and bzero.
31708 * string/test-bcopy.c: New file.
31709 * string/test-bzero.c: Likewise.
31710 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31712 * string/test-memset.c: Support bzero test if TEST_BZERO is
31714 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31716 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31718 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31721 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31723 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31724 * configure: Regenerated.
31726 * Makeconfig (+link-static-before-libc): Don't include
31727 $(link-static-libc).
31729 * libio/libio.h (_IO_pos_t): Remove.
31731 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31733 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31736 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31738 * crypt/crypt-entry.c: Include fips-private.h.
31739 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31740 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31741 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31742 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31744 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31746 * crypt/crypt-private.h: Include stdbool.h.
31747 (_ufc_setup_salt_r): Return bool.
31748 * crypt/crypt-entry.c: Include errno.h.
31749 (__crypt_r): Return NULL with EINVAL for bad salt.
31750 * crypt/crypt_util.c (bad_for_salt): New.
31751 (_ufc_setup_salt_r): Check that salt is long enough and within
31752 the specified alphabet.
31753 * crypt/badsalttest.c: New file.
31754 * crypt/Makefile (tests): Add it.
31755 ($(objpfx)badsalttest): New.
31757 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31759 * NEWS: Add entry for BZ #14602.
31761 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31763 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31765 * math/libm-test.inc: Update comment listing what functions and
31767 (isgreater_test): New function.
31768 (isgreaterequal_test): Likewise.
31769 (isless_test): Likewise.
31770 (islessequal_test): Likewise.
31771 (islessgreater_test): Likewise.
31772 (isunordered_test): Likewise.
31773 (main): Call the new functions.
31775 2012-10-09 Roland McGrath <roland@hack.frob.com>
31777 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31778 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31779 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31780 * sysdeps/i386/configure: Regenerated.
31781 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31782 * sysdeps/mach/configure: Regenerated.
31783 * sysdeps/mach/hurd/configure: Regenerated.
31784 * sysdeps/powerpc/configure: Regenerated.
31785 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31786 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31787 * sysdeps/s390/s390-32/configure: Regenerated.
31788 * sysdeps/s390/s390-64/configure: Regenerated.
31789 * sysdeps/sh/configure: Regenerated.
31790 * sysdeps/sparc/configure: Regenerated.
31791 * sysdeps/unix/sysv/linux/configure: Regenerated.
31792 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31793 * sysdeps/x86_64/configure: Regenerated.
31795 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31796 defined. Don't check if MAP is NULL.
31798 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31800 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31801 (_G_stat64): Likewise.
31802 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31803 (_G_stat64): Likewise.
31804 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31805 instead of struct _G_stat64.
31806 * libio/fileops.c (mmap_remap_check): Likewise.
31807 (decide_maybe_mmap): Likewise.
31808 (_IO_new_file_seekoff): Likewise.
31809 (_IO_file_stat): Likewise.
31810 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31812 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31813 instead of struct _G_stat64.
31814 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31816 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31819 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31821 (CHECK_EOL): New macro.
31822 (two_way_short_needle): Check beginning of haystack for EOL. Use
31824 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31825 Replace with CHECK_EOL.
31826 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31827 Replace with CHECK_EOL.
31829 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31831 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31833 * math/libm-test.inc: Update comment listing what functions and
31835 (finite_test): New function.
31836 (isinf_test): Likewise.
31837 (isnan_test): Likewise.
31838 (fpclassify_test): Test subnormal input.
31839 (isfinite_test): Likewise.
31840 (isnormal_test): Likewise.
31841 (main): Call the new functions.
31843 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31846 * Makerules (%.dynsym): Force C locale when running
31847 $(OBJDUMP) --dynamic-syms.
31849 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31851 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31854 2012-10-06 David S. Miller <davem@davemloft.net>
31856 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31857 upper 32-bits of the length value in %o2 since we use branch-on-register
31858 tests which consider the entire 64-bit register.
31860 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31862 * string/test-strstr.c (check2): Add a test for page boundary.
31864 2012-10-05 David S. Miller <davem@davemloft.net>
31866 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31867 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31869 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31871 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31872 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31873 and bzero when HWCAP_SPARC_CRYPTO is present.
31875 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31878 * string/test-strstr.c (check2): New function.
31879 (test_main): Call check2.
31881 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31883 * string/bug-strcasestr1.c (do_test): Moved to ...
31884 * string/test-strcasestr.c (check1): Here. New function.
31885 (do_one_test): Break out result checking code into ...
31886 (check_result): This. New function.
31887 (do_one_test): Call check_result.
31888 (test_main): Call check1.
31889 * string/bug-strchr1.c (do_test): Moved to ...
31890 * string/test-strchr.c (check1): Here. New function.
31891 (do_one_test): Break out result checking code into ...
31892 (check_result): This. New function.
31893 (do_one_test): Call check_result.
31894 (test_main): Call check1.
31895 * string/bug-strstr1.c (main): Moved to ...
31896 * string/test-strstr.c (check1): Here. New function.
31897 (do_one_test): Break out result checking code into ...
31898 (check_result): This. New function.
31899 (do_one_test): Call check_result.
31900 (test_main): Call check1.
31901 * string/bug-strcasestr1.c: Removed.
31902 * string/bug-strchr1.c: Likewise.
31903 * string/bug-strstr1.c: Likewise.
31905 * elf/Makefile (dl-routines): Add hwcaps.
31906 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31907 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31908 (_dl_important_hwcaps): Moved to ...
31909 * elf/dl-hwcaps.c: Here. New file.
31910 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31913 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31914 if IS_IN_rtld isn't defined.
31916 * elf/dl-support.c (_dl_sysinfo_map): New.
31917 Include "get-dynamic-info.h" and "setup-vdso.h".
31918 (_dl_non_dynamic_init): Call setup_vdso.
31919 * elf/dynamic-link.h: Don't include <assert.h>.
31920 (elf_get_dynamic_info): Moved to ...
31921 * elf/get-dynamic-info.h: Here. New file.
31922 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31923 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31924 * elf/setup-vdso.h: Here. New file.
31925 * elf/rtld.c: Include "setup-vdso.h".
31926 (dl_main): Call setup_vdso.
31928 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31930 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31931 creal in comment listing functions tested. List finite, isinf,
31932 isnan, isless, islessequal, isgreater, isgreaterequal,
31933 islessgreater, isunordered, lgamma_r and pow10 as functions and
31934 macros not tested. Mention which functions not tested are aliases
31935 for other functions. Fix typo. Note that signs of NaNs are not
31938 * scripts/config.guess: Update from config.git.
31939 * scripts/config.sub: Likewise.
31941 2012-10-04 Roland McGrath <roland@hack.frob.com>
31943 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31944 * misc/madvise.c (madvise): Renamed to __madvise.
31945 Make madvise a weak alias.
31946 * include/sys/mman.h: Declare __madvise.
31947 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31948 * sysdeps/unix/syscalls.list
31949 (madvise): Make __madvise the strong name, and madvise a weak alias.
31950 * sysdeps/unix/sysv/linux/syscalls.list
31951 (madvise, mmap): Remove redundant entries.
31952 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31953 * malloc/malloc.c (mtrim): Likewise.
31954 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31956 2012-10-03 Roland McGrath <roland@hack.frob.com>
31958 * sysdeps/mach/hurd/dl-cache.c: File removed.
31959 * config.h.in (USE_LDCONFIG): New #undef.
31960 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31961 * configure: Regenerated.
31962 * elf/Makefile (dl-routines): Add dl-cache only under
31963 [$(use-ldconfig) = yes].
31964 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31965 cache on [USE_LDCONFIG].
31966 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31968 * elf/rtld.c (dl_main): Likewise.
31970 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31972 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31973 _SC_LEVEL4_CACHE_LINESIZE.
31975 2012-10-03 Roland McGrath <roland@hack.frob.com>
31977 * sysdeps/unix/bsd/confstr.h: File removed.
31979 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31981 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31984 2012-10-02 Roland McGrath <roland@hack.frob.com>
31986 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31987 Make 'mapoff' field ElfW(Off) rather than off_t.
31989 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31991 * nscd/Makefile: Remove nscd-cflags and all its users.
31992 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31993 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31996 * malloc.c (malloc_printerr): Clarify error message.
31998 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32002 Set bit_FMA_Usable if FMA is supported.
32003 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32005 (bit_FMA4_Usable): Updated.
32006 (index_FMA_Usable): New macro.
32007 (CPUID_FMA): Likewise
32008 (HAS_FMA): Defined with bit_FMA_Usable.
32010 2012-10-01 Roland McGrath <roland@hack.frob.com>
32012 * bits/types.h (__swblk_t): Type removed.
32013 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32014 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32016 (__SWBLK_T_TYPE): Likewise.
32017 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32018 (__SWBLK_T_TYPE): Likewise.
32019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32020 (__SWBLK_T_TYPE): Likewise.
32021 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32022 (__SWBLK_T_TYPE): Likewise.
32024 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32025 Honza Horak <hhorak@redhat.com>
32027 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32028 (xdr_mapname): Use YPMAXMAP as maxsize.
32029 (xdr_peername): Use YPMAXPEER as maxsize.
32030 (xdr_keydat): Use YPAXRECORD as maxsize.
32031 (xdr_valdat): Use YPMAXRECORD as maxsize.
32033 2012-10-01 Roland McGrath <roland@hack.frob.com>
32035 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32037 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32038 * csu/init-first.c: ... here.
32039 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32040 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32041 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32042 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32043 * sysdeps/i386/init-first.c: File removed.
32044 * sysdeps/sh/init-first.c: File removed.
32046 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32050 if x * y might underflow to zero and z is zero.
32051 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32052 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32053 * math/libm-test.inc (min_subnorm_value): New variable.
32054 (fma_test): Add more tests.
32055 (fma_test_towardzero): Likewise.
32056 (fma_test_downward): Likewise
32057 (fma_test_upward): Likewise.
32058 (initialize): Set min_subnorm_value.
32060 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32065 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32066 mode for addition resulting in exact zero.
32067 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32070 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32072 * math/libm-test.inc (fma_test): Add more tests.
32073 (fma_test_towardzero): New function.
32074 (fma_test_downward): Likewise.
32075 (fma_test_upward): Likewise.
32076 (main): Call the new functions.
32078 2012-09-28 David S. Miller <davem@davemloft.net>
32080 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32082 2012-09-28 Roland McGrath <roland@hack.frob.com>
32084 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32085 instead of SIGALRM.
32087 * sysdeps/gnu/_G_config.h: Moved to ...
32088 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32089 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32090 * sysdeps/generic/_G_config.h: ... here.
32092 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32094 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32096 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32097 Conditionalize target on [libnss_test1.so-version].
32099 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32101 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32102 (elfobjdir): Move out of conditionals.
32104 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32105 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32106 (__nss_lookup_function): Conditionalize label remove_from_tree on
32107 [!DO_STATIC_NSS || SHARED], matching its only use.
32109 2012-09-28 David S. Miller <davem@davemloft.net>
32111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32112 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32114 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32116 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32117 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32118 when HWCAP_SPARC_CRYPTO is present.
32120 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32122 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32124 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32127 * stdio-common/vfprintf.c (process_string_arg): Revert
32130 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32132 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32134 * stdio-common/tst-sprintf.c: Include <locale.h>
32135 (main): Test sprintf's handling of incomplete multibyte
32138 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32140 * elf/dl-runtime.c (VERSYMIDX): Removed.
32141 * elf/dl-version.c (VERSYMIDX): Likewise.
32142 * elf/do-rel.h (VERSYMIDX): Likewise.
32143 (VALIDX): Likewise.
32144 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32145 * elf/rtld.c (VALIDX): Likewise.
32146 (ADDRIDX): Likewise.
32147 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32148 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32149 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32150 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32151 (VALIDX): Likewise.
32152 (ADDRIDX): Likewise.
32154 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32156 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32158 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32161 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32163 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32164 addresses are in the same scope as 192.0.2/24.
32165 * posix/gai.conf: Document new scope table defaults.
32167 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32170 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32171 for ftell. Compute offsets from write pointers instead.
32172 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32174 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32177 * libio/Makefile (tests): New test case tst-fseek.
32178 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32179 combination works in wide mode.
32180 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32181 state when the external buffer state changes.
32183 2012-09-27 David S. Miller <davem@davemloft.net>
32186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32187 pass reloc->r_addend in as the 'high' argument to
32188 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32192 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32194 * rt/tst-aio2.c: Include <pthread.h>.
32195 * rt/tst-aio3.c: Likewise.
32197 2012-09-27 Steve Ellcey <sellcey@mips.com>
32199 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32201 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32203 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32204 contents on [SHARED].
32206 2012-09-26 Marek Polacek <polacek@redhat.com>
32210 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32211 for C++ and GCC <4.3 as well as for non GCC compilers.
32213 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32217 2012-09-25 Roland McGrath <roland@hack.frob.com>
32219 * Makefile.in (all, install): Declare with .PHONY.
32220 Reported by Michael Hope <michael.hope@linaro.org>.
32222 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32224 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32225 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32227 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32229 (sydep_routines): Add the new and the internal functions.
32230 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32231 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32233 (GLIBC_2.17): Add the new function.
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32235 (GLIBC_2.17): Likewise.
32236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32237 (GLIBC_2.17): Likewise.
32238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32239 (GLIBC_2.17): Likewise.
32240 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32242 2012-09-25 Alan Modra <amodra@gmail.com>
32244 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32245 Add release barrier before setting once_control to say
32246 initialisation is done. Add hints on lwarx. Use macro in
32248 (clear_once_control): Add release barrier.
32250 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32253 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32255 * math/s_clog10.c (__clog10): Likewise.
32256 * math/s_clog10f.c (__clog10f): Likewise.
32257 * math/s_clog10l.c (__clog10l): Likewise.
32258 * math/s_clogf.c (__clogf): Likewise.
32259 * math/s_clogl.c (__clogl): Likewise.
32260 * math/Makefile (libm-calls): Add x2y2m1.
32261 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32262 (__x2y2m1): Likewise.
32263 (__x2y2m1l): Likewise.
32264 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32265 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32266 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32267 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32268 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32269 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32270 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32271 * sysdeps/i386/fpu/libm-test-ulps: Update.
32272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32275 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32276 int as type of variable DEPTH.
32277 (glob): Use size_t instead of int as type of variables NEWCOUNT
32280 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32282 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32283 Add s_sincosf-sse2.
32284 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32285 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32286 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32287 macros for using routine as __sincosf_ia32.
32288 Use macro for function declaration and weak_alias.
32289 * sysdeps/i386/fpu/libm-test-ulps: Update.
32291 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32294 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32295 subnormal argument.
32296 * math/s_cexpf.c (__cexpf): Likewise.
32297 * math/s_csinf.c (__csinf): Likewise.
32298 * math/s_csinhf.c (__csinhf): Likewise.
32299 * math/s_ctanf.c (__ctanf): Likewise.
32300 * math/s_ctanhf.c (__ctanhf): Likewise.
32301 * math/s_ccosh.c (__ccoshf): Likewise.
32302 * math/s_cexp.c (__cexpl): Likewise.
32303 * math/s_csin.c (__csin): Likewise.
32304 * math/s_csinh.c (__csinh): Likewise.
32305 * math/s_ctan.c (__ctan): Likewise.
32306 * math/s_ctanh.c (ctanh): Likewise.
32307 * math/s_ccoshl.c (__ccoshl): Likewise.
32308 * math/s_cexpl.c (__cexpl): Likewise.
32309 * math/s_csinl.c (__csinl): Likewise.
32310 * math/s_csinhl.c (__csinhl): Likewise.
32311 * math/s_ctanl.c (__ctanl): Likewise.
32312 * math/s_ctanhl.c (__ctanhl): Likewise.
32314 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32316 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32317 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32318 (_IO_off_t): Define to __off_t, not _G_off_t.
32319 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32320 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32321 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32322 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32323 type of __dummy and __dummy2 fields.
32324 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32325 (_G_ssize_t): Likewise.
32326 (_G_off_t): Likewise.
32327 (_G_pid_t): Likewise.
32328 (_G_uid_t): Likewise.
32329 (_G_wchar_t): Likewise.
32330 (_G_wint_t): Likewise.
32331 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32332 (_G_ssize_t): Likewise.
32333 (_G_off_t): Likewise.
32334 (_G_pid_t): Likewise.
32335 (_G_uid_t): Likewise.
32336 (_G_wchar_t): Likewise.
32337 (_G_wint_t): Likewise.
32338 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32339 (_G_ssize_t): Likewise.
32340 (_G_off_t): Likewise.
32341 (_G_pid_t): Likewise.
32342 (_G_uid_t): Likewise.
32343 (_G_wchar_t): Likewise.
32344 (_G_wint_t): Likewise.
32346 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32348 * malloc/arena.c: Include malloc-sysdep.h.
32349 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32350 is sufficient to shrink the heap or an unmap is needed.
32351 * sysdeps/generic/malloc-sysdep.h: New file. Define
32352 new function check_may_shrink_heap.
32353 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32354 new function check_may_shrink_heap.
32356 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32358 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32361 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32363 * catgets/test-gencat.sh: Add "set -e".
32364 * elf/tst-pathopt.sh: Likewise.
32365 * grp/tst_fgetgrent.sh: Likewise.
32366 * iconvdata/run-iconv-test.sh: Likewise.
32367 * intl/tst-gettext.sh: Likewise.
32368 * intl/tst-gettext2.sh: Likewise.
32369 * intl/tst-gettext4.sh: Likewise.
32370 * intl/tst-gettext6.sh: Likewise.
32371 * intl/tst-translit.sh: Likewise.
32372 * io/ftwtest-sh: Likewise.
32373 * libio/test-freopen.sh: Likewise.
32374 * malloc/tst-mtrace.sh: Likewise.
32375 * posix/globtest.sh: Likewise.
32376 * posix/tst-getconf.sh: Likewise.
32377 * posix/wordexp-tst.sh: Likewise.
32378 * stdio-common/tst-printf.sh: Likewise.
32379 * stdio-common/tst-unbputc.sh: Likewise.
32380 * stdlib/tst-fmtmsg.sh: Likewise.
32381 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32382 * catgets/Makefile: Do not specify -e option when running
32383 testsuite shell scripts.
32384 * elf/Makefile: Likewise.
32385 * grp/Makefile: Likewise.
32386 * iconvdata/Makefile: Likewise.
32387 * intl/Makefile: Likewise.
32388 * io/Makefile: Likewise.
32389 * libio/Makefile: Likewise.
32390 * malloc/Makefile: Likewise.
32391 * posix/Makefile: Likewise.
32392 * stdio-common/Makefile: Likewise.
32393 * stdlib/Makefile: Likewise.
32394 * sysdeps/x86_64/Makefile: Likewise.
32396 * io/ftwtest-sh: Add copyright header.
32397 * posix/globtest.sh: Likewise.
32398 * posix/tst-getconf.sh: Likewise.
32399 * posix/wordexp-tst.sh: Likewise.
32400 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32402 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32405 * Makeconfig (+link): Defined as $(+link-static) if
32406 $(build-shared) isn't yes.
32407 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32409 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32411 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32414 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32415 new chunk size with MALLOC_ALIGN_MASK.
32417 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32420 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32422 (__printf_fphex): Determine rounding using get_rounding_mode and
32424 * stdio-common/tst-printf-round.c (struct hex_test): New
32426 (hex_tests): New variable.
32427 (test_hex_in_one_mode): New function.
32428 (do_test): Also run tests for hex float output.
32430 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32432 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32433 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32434 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32435 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32436 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32437 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32438 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32439 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32441 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32443 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32444 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32445 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32446 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32448 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32451 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32453 * elf/tst-rtld-load-self.sh: New test.
32454 * elf/Makefile: Run it.
32456 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32458 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32459 (tst-writev-ENV): Remove.
32460 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32462 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32464 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32466 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32468 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32470 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32472 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32473 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32474 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32477 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32480 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32481 * config.make.in (have-cpp-asm-debuginfo): Removed.
32482 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32483 * configure: Regenerated.
32485 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32488 * stdio-common/printf_fp.c: Include <stdbool.h> and
32490 (___printf_fp): Determine rounding using get_rounding_mode and
32492 * stdio-common/tst-printf-round.c: New file.
32493 * stdio-common/Makefile (tests): Add tst-printf-round.
32494 (link-libm): New variable.
32495 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32497 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32500 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32501 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32503 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32506 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32508 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32509 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32510 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32511 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32513 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32516 * include/rounding-mode.h: New file.
32517 * sysdeps/generic/get-rounding-mode.h: Likewise.
32518 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32519 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32520 (MAX_VALUE): New macro.
32521 (MIN_VALUE): Likewise.
32522 (overflow_value): New function.
32523 (underflow_value): Likewise.
32524 (round_and_return): Use overflow_value and underflow_value to
32525 determine return values in overflow and underflow cases. Use
32526 round_away to determine rounding depending on rounding mode.
32527 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32528 determine return values in overflow and underflow cases.
32529 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32530 (struct test_results): New structure.
32531 (struct test): Use struct test_results to store expected results
32532 for all rounding modes.
32533 (TEST): Include expected results for all rounding modes.
32534 (test_in_one_mode): New function.
32535 (do_test): Use test_in_one_mode to compute and check results.
32536 Check results for all rounding modes.
32537 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32540 2012-12-09 Allan McRae <allan@archlinux.org>
32542 * sysdeps/i386/fpu/libm-test-ulps: Update
32544 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32546 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32547 (_G_int32_t): Likewise.
32548 (_G_uint16_t): Likewise.
32549 (_G_uint32_t): Likewise.
32550 (_G_HAVE_BOOL): Likewise.
32551 (_G_HAVE_ATEXIT): Likewise.
32552 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32553 (_G_HAVE_IO_FILE_OPEN): Likewise.
32554 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32555 (_G_int32_t): Likewise.
32556 (_G_uint16_t): Likewise.
32557 (_G_uint32_t): Likewise.
32558 (_G_HAVE_BOOL): Likewise.
32559 (_G_HAVE_ATEXIT): Likewise.
32560 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32561 (_G_HAVE_IO_FILE_OPEN): Likewise.
32562 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32563 (_G_int32_t): Likewise.
32564 (_G_uint16_t): Likewise.
32565 (_G_uint32_t): Likewise.
32566 (_G_HAVE_BOOL): Likewise.
32567 (_G_HAVE_ATEXIT): Likewise.
32568 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32569 (_G_HAVE_IO_FILE_OPEN): Likewise.
32571 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32573 * csu/libc-tls.c: Update copyright years.
32575 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32577 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32578 [!_G_USING_THUNKS]: Remove conditional code.
32579 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32580 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32582 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32583 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32584 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32585 (_G_VTABLE_LABEL_PREFIX): Likewise.
32586 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32587 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32588 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32589 (_G_VTABLE_LABEL_PREFIX): Likewise.
32590 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32591 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32592 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32593 (_G_VTABLE_LABEL_PREFIX): Likewise.
32594 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32596 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32598 * libio/Makefile: Include ../Makeconfig before tests.
32599 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32600 only if $(build-shared) is yes.
32602 * iconv/gconv_db.c: Update copyright years.
32604 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32606 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32607 unwind info if defined PIC. Fix special cases description.
32608 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32610 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32612 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32614 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32616 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32618 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32621 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32622 (LDLIBS-tst-chk4): This.
32623 (LDFLAGS-tst-chk5): Renamed to ...
32624 (LDLIBS-tst-chk5): This.
32625 (LDFLAGS-tst-chk6): Renamed to ...
32626 (LDLIBS-tst-chk6): This.
32627 (LDFLAGS-tst-lfschk4): Renamed to ...
32628 (LDLIBS-tst-lfschk4): This.
32629 (LDFLAGS-tst-lfschk5): Renamed to ...
32630 (LDLIBS-tst-lfschk5): This.
32631 (LDFLAGS-tst-lfschk6): Renamed to ...
32632 (LDLIBS-tst-lfschk6): This.
32634 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32635 on $(common-objpfx)soversions.mk.
32637 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32640 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32643 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32645 * malloc/arena.c (arena_get_retry): New function that gets
32646 another arena for the caller to try its request on.
32647 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32648 current arena cannot fulfill the request.
32649 (__libc_memalign): Likewise.
32650 (__libc_memalign): Likewise.
32651 (__libc_pvalloc): Likewise.
32652 (__libc_calloc): Likewise.
32654 2012-09-05 John Tobey <john.tobey@gmail.com>
32657 * manual/arith.texi (Operations on Complex): Fix description
32658 of carg branch cut.
32660 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32663 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32667 * manual/memory.texi (Memory): Make order of menu items match
32670 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32672 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32673 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32674 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32676 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32678 * csu/libc-tls.c (static_dtv): Renamed to ...
32679 (_dl_static_dtv): This. Make it global.
32680 (_dl_initial_dtv): Removed.
32681 (__libc_setup_tls): Updated.
32682 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32683 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32686 2012-09-06 Petr Machata <pmachata@redhat.com>
32688 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32689 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32690 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32691 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32693 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32696 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32697 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32700 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32703 * Makeconfig (link-static-before-libc): Replace $(+prector)
32705 (link-static-after-libc): Replace $(+postctor) with
32707 (link-bounded): Replace $(+prector)/$(+postctor) with
32708 $(+prectorT)/$(+postctorT).
32709 (+prectorT): New macro.
32710 (+postctorT): Likewise.
32712 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32714 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32715 (round_str): Handle values above the maximum for IBM long double
32717 * stdlib/tst-strtod-round.c (tests): Regenerated.
32719 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32721 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32723 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32724 zarch_nohighgprs around the zarch optimized routines.
32725 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32726 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32727 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32730 2012-09-05 David S. Miller <davem@davemloft.net>
32732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32734 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32735 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32736 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32737 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32740 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32742 * malloc/arena.c: Fold copyright years.
32743 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32745 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32747 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32749 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32751 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32753 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32755 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32756 change internal state upon failure.
32758 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32760 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32761 * malloc/memusage.c (mmap): Likewise.
32762 (mmap64, mremap): Likewise. Adjust name in comment.
32764 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32766 * libio/fileops.c: Fix typos in comments.
32767 * libio/oldfileops.c: Likewise.
32768 * libio/wfileops.c: Likewise.
32770 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32773 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32774 (tst-malloc-usable-ENV): Set environment for test case.
32775 * malloc/hooks.c (malloc_check_get_size): New function to get
32777 * malloc/malloc.c (musable): Use malloc_check_get_size.
32778 * malloc/tst-malloc-usable.c: New test case.
32780 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32782 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32784 2012-09-05 Allan McRae <allan@archlinux.org>
32787 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32788 determine header location.
32789 * configure: Regenerated.
32791 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32793 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32795 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32796 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32798 (test): Regenerate.
32800 2012-09-04 David S. Miller <davem@davemloft.net>
32802 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32803 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32804 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32806 2012-09-04 Florian Weimer <fweimer@redhat.com>
32808 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32811 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32813 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32816 * libio/iogetdelim.c: Include <limits.h>.
32817 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32818 + len + 1 would overflow.
32820 2012-09-03 Andreas Jaeger <aj@suse.de>
32822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32823 * sysdeps/i386/fpu/libm-test-ulps: Update.
32825 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32827 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32828 Add s_sinf-sse2, s_conf-sse2.
32830 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32831 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32832 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32833 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32835 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32836 for using routine as __sinf_ia32.
32837 Use macro for function declaration and weak_alias.
32838 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32839 for using routine as __cosf_ia32.
32840 Use macro for function declaration and weak_alias.
32842 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32843 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32845 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32846 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32849 * math/libm-test.inc (cos_test): Add more test cases.
32850 (sin_test): Likewise.
32851 (sincos_test): Likewise.
32853 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32855 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32856 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32858 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32860 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32863 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32864 first element of the GOT.
32865 (elf_machine_load_address): Return the difference between
32866 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32868 2012-09-01 Allan McRae <allan@archlinux.org>
32871 * configure.in (AWK): Require gawk version 3.0 or later.
32872 * configure: Regenerated.
32874 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32876 * sysdeps/unix/sysv/linux/kernel-features.h
32877 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32878 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32879 [__NR_clock_getres]: Make code unconditional.
32880 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32881 (clock_getcpuclockid): Remove code left unreachable by removal of
32883 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32884 code unconditional.
32885 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32886 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32887 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32888 Make code unconditional.
32889 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32890 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32891 * sysdeps/unix/sysv/linux/clock_settime.c
32892 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32894 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32895 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32897 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32900 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32901 scripts/test-installation.pl.
32903 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32904 and $ld_so_version if it is set.
32906 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32910 failure if reading from procfs failed.
32911 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32913 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32915 * sysdeps/unix/sysv/linux/kernel-features.h
32916 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32917 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32918 Remove conditional code.
32919 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32920 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32921 Remove conditional code.
32922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32923 * sysdeps/unix/sysv/linux/i386/fxstat.c
32924 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32926 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32927 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32929 * sysdeps/unix/sysv/linux/i386/lxstat.c
32930 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32932 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32933 Remove conditional code.
32934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32935 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32936 Remove conditional code.
32937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32938 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32939 <kernel-features.h>.
32940 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32942 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32943 Remove conditional code.
32944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32945 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32946 Remove conditional.
32948 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32951 * NEWS: Add fixed bug number.
32953 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32956 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32957 underflowing exponent in case of negative sign.
32958 * stdlib/tst-strtod-round-data: Add more tests.
32959 * stdlib/tst-strtod-round.c (tests): Regenerated.
32962 * stdlib/strtod_l.c (NDIG): Remove.
32963 (HEXNDIG): Likewise.
32964 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32965 smallest representable value.
32966 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32967 lie within an exact representation of 1/2 ulp of the result.
32968 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32970 (TENS_P9_IDX): Define unconditionally.
32971 (TENS_P9_SIZE): Likewise.
32972 (TENS_P10_IDX): Likewise.
32973 (TENS_P10_SIZE): Likewise.
32974 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32975 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32976 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32977 entries for 10^2^13 and 10^2^14.
32978 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32979 (TENS_P13_IDX): Define.
32980 (TENS_P13_SIZE): Likewise.
32981 (TENS_P14_IDX): Likewise.
32982 (TENS_P14_SIZE): Likewise.
32983 (_fpioconst_pow10): Change array size to
32984 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32986 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32987 1024]: Add entries for 10^2^13 and 10^2^14.
32988 [LAST_POW10 > _LAST_POW10]: Remove #error.
32989 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32990 (_fpioconst_pow10): Change array size to
32991 FPIOCONST_POW10_ARRAY_SIZE.
32992 * stdlib/gen-fpioconst.c: New file.
32993 * stdlib/gen-tst-strtod-round.c: Likewise.
32994 * stdlib/tst-strtod-round-data: Likewise.
32995 * stdlib/tst-strtod-round.c: Likewise.
32996 * stdlib/Makefile (tests): Add tst-strtod-round.
32999 * stdlib/strtod_l.c: Include <stdint.h>.
33000 (NDEBUG): Do not define.
33001 (round_and_return): Change EXPONENT parameter to type intmax_t.
33002 Rearrange calculations to avoid internal overflow possibilities.
33003 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33004 Rearrange calculations to avoid internal overflow possibilities.
33005 Assert that number fits inside MPNSIZE limbs.
33006 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33007 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33008 calculations and add assertions to avoid internal overflow
33009 possibilities. Add casts to avoid signed/unsigned operations.
33010 * stdlib/tst-strtod-overflow.c: New file.
33011 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33013 2012-08-25 Marek Polacek <polacek@redhat.com>
33015 * time/time.h: Fix some typos in comments.
33017 2012-08-23 Roland McGrath <roland@hack.frob.com>
33019 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33020 * posix/tst-rfc3484-2.c: Likewise.
33021 * posix/tst-rfc3484-3.c: Likewise.
33023 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33025 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33026 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33028 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33030 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33031 #include of fxstatat64.c.
33033 2012-08-22 Roland McGrath <roland@hack.frob.com>
33035 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33036 * shadow/getspent_r.c: Likewise.
33037 * shadow/getspnam.c: Likewise.
33038 * shadow/getspnam_r.c: Likewise.
33039 * gshadow/getsgent.c: Likewise.
33040 * gshadow/getsgent_r.c: Likewise.
33041 * gshadow/getsgnam.c: Likewise.
33042 * gshadow/getsgnam_r.c: Likewise.
33043 * inet/getnetbyad.c: Likewise.
33044 * inet/getnetbyad_r.c: Likewise.
33045 * inet/getnetbynm.c: Likewise.
33046 * inet/getnetbynm_r.c: Likewise.
33047 * inet/getnetent.c: Likewise.
33048 * inet/getnetent_r.c: Likewise.
33049 * inet/getproto.c: Likewise.
33050 * inet/getproto_r.c: Likewise.
33051 * inet/getprtent.c: Likewise.
33052 * inet/getprtent_r.c: Likewise.
33053 * inet/getprtname.c: Likewise.
33054 * inet/getprtname_r.c: Likewise.
33055 * inet/getrpcbyname.c: Likewise.
33056 * inet/getrpcbyname_r.c: Likewise.
33057 * inet/getrpcbynumber.c: Likewise.
33058 * inet/getrpcbynumber_r.c: Likewise.
33059 * inet/getrpcent.c: Likewise.
33060 * inet/getrpcent_r.c: Likewise.
33061 * inet/getaliasent.c: Likewise.
33062 * inet/getaliasent_r.c: Likewise.
33063 * inet/getaliasname.c: Likewise.
33064 * inet/getaliasname_r.c: Likewise.
33065 * nscd/getgrgid_r.c: Likewise.
33066 * nscd/getgrnam_r.c: Likewise.
33067 * nscd/gethstbyad_r.c: Likewise.
33068 * nscd/gethstbynm3_r.c: Likewise.
33069 * nscd/getpwnam_r.c: Likewise.
33070 * nscd/getpwuid_r.c: Likewise.
33071 * nscd/getsrvbynm_r.c: Likewise.
33072 * nscd/getsrvbypt_r.c: Likewise.
33073 * nscd/gai.c: Likewise.
33075 * configure.in (build_nscd): New substituted variable, set
33076 by --disable-build-nscd and defaults to $use_nscd.
33077 * configure: Regenerated.
33078 * config.make.in (build-nscd): New substituted variable.
33079 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33080 Change conditional to require [$(build-nscd) = yes] as well.
33081 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33084 * configure.in (use_nscd): New substituted variable, set by
33085 --disable-nscd. If enabled, define USE_NSCD.
33086 * configure: Regenerated.
33087 * config.h.in: Add USE_NSCD.
33088 * config.make.in (use-nscd): New substituted variable.
33089 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33090 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33091 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33092 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33093 (CFLAGS-getgrnam_r.c): Likewise.
33094 (CFLAGS-initgroups.c): Likewise.
33095 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33096 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33098 * inet/getnetgrent_r.c
33099 (nscd_setnetgrent): New function, broken out of ...
33100 (setnetgrent): ... here. Call it.
33101 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33102 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33103 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33104 * nscd/Makefile (routines, aux): Move definitions after include of
33105 Makeconfig. Conditionalize on [$(use-nscd) != no].
33106 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33107 Conditionalize on [USE_NSCD].
33108 (is_nscd, nscd_init_cb): Likewise.
33109 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33110 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33111 * nss/nss_db/db-init.c: Likewise.
33112 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33114 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33115 (make_request): Use it.
33116 (cache_valid_p): New function.
33117 (__check_pf): Use it.
33118 * NEWS: Add item for --disable-nscd.
33120 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33122 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33123 to support sed >= 4.2.1-20-ga9bf076.
33124 * configure: Regenerated.
33126 2012-08-22 Roland McGrath <roland@hack.frob.com>
33128 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33129 Conditionalize whole body on [IREL].
33131 2012-08-22 Jeff Law <law@redhat.com>
33134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33135 if the family is PF_UNSPEC.
33137 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33139 * Makerules (lib-version): Rename from V.
33140 (install-lib-nosubdir): Change V to lib-version.
33142 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33145 * powerpc32/power6/wcschr.c: New file.
33146 * powerpc32/power6/wcscpy.c: New file.
33147 * powerpc32/power6/wcsrchr.c: New file.
33148 * powerpc64/power6/wcschr.c: New file.
33149 * powerpc64/power6/wcscpy.c: New file.
33150 * powerpc64/power6/wcsrchr.c: New file.
33152 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33154 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33155 (two_way_short_needle): Use it.
33156 * string/strstr.c (AVAILABLE1_USES_J): Define.
33157 * string/strcasestr.c: Likewise.
33159 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33161 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33164 * NEWS: Add an entry.
33165 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33166 define their defaults.
33167 (two_way_short_needle): Detect end-of-string on-the-fly.
33168 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33169 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33170 * string/bug-strcasestr1.c: New test.
33171 * string/Makefile: Run it.
33173 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33176 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33177 the first character.
33179 2012-08-21 Roland McGrath <roland@hack.frob.com>
33181 * csu/elf-init.c (__libc_csu_irel): Function removed.
33182 * csu/libc-start.c (apply_irel): New function.
33183 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33185 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33187 * sysdeps/unix/sysv/linux/kernel-features.h
33188 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33189 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33190 <kernel-features.h>.
33191 [__NR_fadvise64_64]: Make code unconditional.
33192 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33193 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33194 !__NR_fadvise64_64)]: Likewise.
33195 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33196 !__NR_fadvise64_64))]: Likewise.
33197 [__NR_fadvise64]: Make code unconditional.
33198 [!__NR_fadvise64]: Remove conditional code.
33199 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33200 <kernel-features.h>.
33201 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33203 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33206 not include <kernel-features.h>.
33207 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33209 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33211 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33212 include <kernel-features.h>.
33213 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33215 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33218 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33220 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33221 slight instruction rearrangements per scrollpipe analysis.
33222 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33224 2012-08-20 Roland McGrath <roland@hack.frob.com>
33226 * manual/syslog.texi (syslog; vsyslog, closelog):
33227 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33228 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33230 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33231 DSOCAPS to match condition on defining it.
33233 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33235 * sysdeps/unix/sysv/linux/kernel-features.h
33236 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33238 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33239 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33241 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33242 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33244 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33245 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33247 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33248 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33250 * sysdeps/unix/sysv/linux/kernel-features.h
33251 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33252 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33254 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33255 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33256 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33257 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33258 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33259 Make code unconditional.
33260 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33261 (__mmap64) [!__NR_mmap2]: Likewise.
33262 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33263 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33264 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33265 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33266 [__NR_mmap2]: Make code unconditional.
33267 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33268 (__mmap64) [!__NR_mmap2]: Likewise.
33270 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33272 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33274 2012-08-18 Andreas Jaeger <aj@suse.de>
33276 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33278 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33280 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33281 * include/unistd.h (__have_sock_cloexec): Likewise.
33282 (__have_pipe2): Likewise.
33283 (__have_dup3): Likewise.
33285 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33288 * include/unistd.h (__have_pipe2): Change define into an extern int.
33289 (__have_dup3): Likewise.
33290 * socket/have_sock_cloexec.c: Include fcntl.h.
33291 (__have_pipe2): New variable.
33292 (__have_dup3): Likewise.
33294 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33296 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33298 2012-08-17 Marek Polacek <polacek@redhat.com>
33300 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33301 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33303 2012-08-17 Roland McGrath <roland@hack.frob.com>
33305 * configure.in: Add AC_SUBST for sysheaders.
33306 * configure: Regenerated.
33307 * config.make.in (sysheaders): New substituted variable.
33309 * sysdeps/unix/mkfifo.c: Moved ...
33310 * sysdeps/posix/mkfifo.c: ... here.
33311 * sysdeps/unix/mkfifoat.c: Moved ...
33312 * sysdeps/posix/mkfifoat.c: ... here.
33314 * sysdeps/unix/utime.c: Moved ...
33315 * sysdeps/posix/utime.c: ... here.
33317 * sysdeps/unix/time.c: Moved ...
33318 * sysdeps/posix/time.c: ... here.
33319 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33320 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33322 * sysdeps/unix/nice.c: Moved ...
33323 * sysdeps/posix/nice.c: ... here.
33325 * sysdeps/unix/alarm.c: Moved ...
33326 * sysdeps/posix/alarm.c: ... here.
33328 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33330 2012-08-17 Jeff Law <law@redhat.com>
33332 * intl/Makefile (codeset_mo): New variable.
33333 ($(codeset_mo)): New target.
33334 (tst-codeset.out): Depend on that. Remove explicit rule.
33335 (tst-gettext3.out, tst-gettext5.out): Likewise.
33336 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33337 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33338 * intl/tst-codeset.sh: Remove.
33339 * intl/tst-gettext3.sh: Likewise.
33340 * intl/tst-gettext5.sh: Likewise.
33342 2012-08-17 Roland McGrath <roland@hack.frob.com>
33344 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33345 * sysdeps/unix/syscalls.list: ... here.
33347 * sysdeps/posix/getaddrinfo.c
33348 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33349 (gaiconf_init, gaiconf_reload): Use them.
33350 [!_STATBUF_ST_NSEC]
33351 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33352 Define using time_t rather than struct timespec.
33354 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33355 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33357 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33359 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33360 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33363 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33364 __libc_cleanup_push argument.
33366 * bits/param.h: New file.
33367 * misc/sys/param.h: New file.
33368 * include/sys/param.h: New file.
33369 * misc/Makefile (headers): Add bits/param.h.
33370 * sysdeps/generic/sys/param.h: File removed.
33371 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33372 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33373 * sysdeps/mach/hurd/bits/param.h: New file.
33374 * sysdeps/mach/hurd/sys/param.h: File removed.
33376 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33379 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33381 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33382 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33385 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33386 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33387 rather than -D_IO_MTSAFE_IO conditionally.
33388 * stdio-common/Makefile (CPPFLAGS): Likewise.
33389 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33390 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33391 Use $(libio-mtsafe).
33392 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33393 of -D_IO_MTSAFE_IO.
33394 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33395 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33396 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33397 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33398 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33399 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33400 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33401 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33402 (CFLAGS-fread_u_chk.c): Likewise.
33403 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33404 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33405 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33406 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33407 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33408 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33409 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33410 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33411 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33413 * libio/Makefile: Test [$(libc-reentrant) = yes]
33414 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33417 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33418 * sysdeps/pthread/configure: File removed.
33419 * sysdeps/pthread/Makeconfig: New file.
33420 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33421 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33423 2012-08-16 Gary Benson <gbenson@redhat.com>
33425 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33426 unmapping the first object in a namespace.
33428 2012-08-16 Roland McGrath <roland@hack.frob.com>
33430 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33431 (__internal_setnetgrent): ... this. Add internal_function to
33432 definition. Add libc_hidden_def.
33433 (setnetgrent): Update caller.
33434 (internal_endnetgrent): Renamed to ...
33435 (__internal_endnetgrent): ... this. Add internal_function to
33436 definition. Add libc_hidden_def.
33437 (endnetgrent): Update caller.
33438 (internal_getnetgrent_r): Renamed to ...
33439 (__internal_getnetgrent_r): ... this. Add internal_function to
33440 definition. Add libc_hidden_def.
33441 (__getnetgrent_r): Update caller.
33442 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33444 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33446 * stdlib/longlong.h: Update from GCC.
33448 2012-08-16 Roland McGrath <roland@hack.frob.com>
33450 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33451 on _QL, which is set by umul_ppmm but never used.
33452 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33453 variables, which are set by GMP macros but never used.
33454 * stdio-common/_itowa.c (_itowa): Likewise.
33455 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33456 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33458 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33460 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33461 struct La_sh_regs is not constant.
33462 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33463 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33464 and struct La_sparc64_regs are not constant.
33466 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33468 * sysdeps/unix/sysv/linux/kernel-features.h
33469 (__ASSUME_POSIX_TIMERS): Remove.
33470 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33471 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33472 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33473 Make code unconditional.
33474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33475 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33476 Make code unconditional.
33477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33479 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33481 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33482 Make code unconditional.
33483 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33484 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33485 (__libc_missing_posix_timers): Remove.
33487 2012-08-15 Roland McGrath <roland@hack.frob.com>
33489 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33490 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33492 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33494 * elf/dl-sym.c: Include <stdlib.h>.
33496 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33497 constants, which avoids warnings in 32-bit builds.
33499 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33500 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33502 * misc/lseek.c: File moved to ...
33503 * io/lseek.c: ... here.
33505 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33507 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33508 shifting LEN more than 31 bits at once.
33510 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33513 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33514 segmentation fault for a case of two empty input strings.
33515 * string/test-strncasecmp.c (check1): Renamed to...
33516 (bz12205): ...this.
33517 (bz14195): Add new testcase for two empty input strings and N > 0.
33518 (test_main): Call new testcase, adapt for renamed function.
33520 2012-08-15 Andreas Jaeger <aj@suse.de>
33523 * crypt/md5test2.c: New test, based on test supplied by Serge
33524 Belyshev <belyshev@depni.sinp.msu.ru>.
33525 * crypt/Makefile (xtests): Add md5test-giant..
33526 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33528 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33531 * crypt/md5.c (md5_process_block): Don't assume the buffer
33532 length is less than 2**32.
33533 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33534 length is less than 2**64.
33536 2012-08-15 Roland McGrath <roland@hack.frob.com>
33538 * string/str-two-way.h: Include <sys/param.h>.
33539 (MAX): Macro removed.
33541 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33542 Move #define and #undef of memmove to just before and after
33543 including <string.h>.
33545 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33546 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33547 and after including <string.h>. Move declarations of
33548 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33549 to before #include "string/memmove.c".
33551 * include/dirent.h: Declare __getdirentries.
33553 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33554 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33556 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33558 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33559 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33560 * sysdeps/i386/configure: Regenerated.
33561 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33562 STABS_CURRENT_FILE, and STABS_FUN.
33563 (END): Remove call to STABS_FUN_END.
33564 (STABS_CURRENT_FILE1): Delete.
33565 (STABS_CURRENT_FILE): Likewise.
33566 (STABS_FUN): Likewise.
33567 (STABS_FUN_END): Likewise.
33568 (STABS_FUN2): Likewise.
33569 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33570 * sysdeps/x86_64/configure: Regenerated.
33572 2012-08-14 Roland McGrath <roland@hack.frob.com>
33574 * elf/dl-open.c: Include <atomic.h>.
33575 * elf/dl-lookup.c: Likewise.
33577 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33579 * sysdeps/unix/sysv/linux/kernel-features.h
33580 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33581 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33583 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33585 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33586 condition on __ASSUME_CLONE_THREAD_FLAGS.
33588 2012-08-14 Andreas Jaeger <aj@suse.de>
33590 * sysdeps/i386/fpu/libm-test-ulps: Update.
33592 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33594 * include/atomic.h (atomic_exchange_and_add): Split into ...
33595 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33598 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33600 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33602 2012-08-13 Jeff Law <law@redhat.com>
33604 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33605 null byte in the output string.
33607 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33609 * sysdeps/unix/sysv/linux/kernel-features.h
33610 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33611 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33612 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33613 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33614 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33615 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33616 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33618 2012-08-09 Jeff Law <law@redhat.com>
33621 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33622 When avoid_arena is set, don't retry in the that arena. Pick the
33623 next one, whatever it might be.
33624 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33625 (arena_lock): Pass in new parameter to arena_get2.
33626 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33628 (__libc_malloc): Unify retrying after main arena failure with
33629 __libc_memalign version.
33630 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33632 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33635 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33636 to __redirect_strstr.
33637 (__strstr_sse42): Use typeof __redirect_strstr.
33638 (__strstr_ia32): Likewise.
33639 (__libc_strstr): New prototype.
33640 (strstr): Renamed to ...
33641 (__libc_strstr): This.
33642 (strstr): New strong alias of __libc_strstr.
33643 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33644 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33647 (__libc_time): New prototype.
33648 (time_ifunc): Replace time with __libc_time.
33649 (time): New strong alias and hidden definition of __libc_time.
33650 (__GI_time): Remove strong alias.
33651 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33652 Include <stddef.h>.
33653 (memmove): Redefined to __redirect_memmove.
33654 (__memmove_sse2): Use typeof __redirect_memmove.
33655 (__memmove_ssse3): Likewise.
33656 (__memmove_ssse3_back): Likewise.
33657 (__libc_memmove): New prototype.
33658 (memmove): Renamed to ...
33659 (__libc_memmove): This.
33660 (memmove): New strong alias of __libc_memmove.
33662 2012-08-08 Mark Salter <msalter@redhat.com>
33665 (R_MN10300_TLS_GD): Define.
33666 (R_MN10300_TLS_LD): Likewise.
33667 (R_MN10300_TLS_LDO): Likewise.
33668 (R_MN10300_TLS_GOTIE): Likewise.
33669 (R_MN10300_TLS_IE): Likewise.
33670 (R_MN10300_TLS_LE): Likewise.
33671 (R_MN10300_TLS_DTPMOD): Likewise.
33672 (R_MN10300_TLS_DTPOFF): Likewise.
33673 (R_MN10300_TLS_TPOFF): Likewise.
33674 (R_MN10300_SYM_DIFF): Likewise.
33675 (R_MN10300_ALIGN): Likewise.
33676 (R_MN10300_NUM): Update.
33678 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33680 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33683 2012-08-08 Roland McGrath <roland@hack.frob.com>
33685 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33687 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33688 sysdeps/unix -> sysdeps/posix move.
33689 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33691 2012-08-07 Allan McRae <allan@archlinux.org>
33694 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33695 (SUNOS_CPP): Likewise.
33696 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33698 (open_input): Call CPP using execvp.
33700 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33702 * sysdeps/unix/sysv/linux/kernel-features.h
33703 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33704 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33705 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33706 (__ASSUME_WAITID_SYSCALL): Likewise.
33707 * sysdeps/unix/sysv/linux/dl-execstack.c
33708 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33709 code unconditional.
33710 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33713 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33714 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33716 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33718 [__ASSUME_WAITID_SYSCALL]: Likewise.
33719 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33721 2012-08-07 Roland McGrath <roland@hack.frob.com>
33723 * sysdeps/unix/closedir.c: Renamed to ...
33724 * sysdeps/posix/closedir.c: ... here.
33725 * sysdeps/unix/dirfd.c: Renamed to ...
33726 * sysdeps/posix/dirfd.c: ... here.
33727 * sysdeps/unix/dirstream.h: Renamed to ...
33728 * sysdeps/posix/dirstream.h: ... here.
33729 * sysdeps/unix/fdopendir.c: Renamed to ...
33730 * sysdeps/posix/fdopendir.c: ... here.
33731 * sysdeps/unix/opendir.c: Renamed to ...
33732 * sysdeps/posix/opendir.c: ... here.
33733 * sysdeps/unix/readdir.c: Renamed to ...
33734 * sysdeps/posix/readdir.c: ... here.
33735 * sysdeps/unix/readdir_r.c: Renamed to ...
33736 * sysdeps/posix/readdir_r.c: ... here.
33737 * sysdeps/unix/rewinddir.c: Renamed to ...
33738 * sysdeps/posix/rewinddir.c: ... here.
33739 * sysdeps/unix/seekdir.c: Renamed to ...
33740 * sysdeps/posix/seekdir.c: ... here.
33741 * sysdeps/unix/telldir.c: Renamed to ...
33742 * sysdeps/posix/telldir.c: ... here.
33743 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33744 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33745 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33746 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33748 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33749 * bits/fcntl.h: ... here.
33751 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33753 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33754 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33755 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33756 (struct flock): Move l_start, l_len to the beginning.
33757 Use __pid_t for l_pid.
33758 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33759 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33760 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33761 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33762 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33763 [__USE_LARGEFILE64] (struct flock64): New type.
33764 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33766 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33767 * bits/dirent.h: ... here.
33769 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33770 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33772 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33775 Change from 2.6.0 to 2.6.16.
33776 * sysdeps/unix/sysv/linux/configure: Regenerated.
33777 * sysdeps/unix/sysv/linux/kernel-features.h
33778 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33779 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33781 (__ASSUME_UTIMES): Likewise.
33782 (__ASSUME_CLONE_STOPPED): Remove.
33783 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33784 architectures, not kernel version.
33785 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33786 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33787 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33788 (__ASSUME_WAITID_SYSCALL): Likewise.
33789 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33790 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33791 * README: State 2.6.16 as minimum Linux kernel version. Do not
33792 refer to older versions.
33794 2012-08-06 Roland McGrath <roland@hack.frob.com>
33796 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33797 Define alphasort64 as an alias.
33798 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33799 Define versionsort64 as an alias.
33800 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33801 Define scandir64 as an alias.
33802 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33803 Define scandirat64 as an alias.
33804 * dirent/alphasort64.c (alphasort64):
33805 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33806 * dirent/versionsort64.c: Likewise.
33807 * dirent/scandir64.c: Likewise.
33808 * dirent/scandirat64.c: Likewise.
33809 * sysdeps/wordsize-64/alphasort.c: File removed.
33810 * sysdeps/wordsize-64/alphasort64.c: File removed.
33811 * sysdeps/wordsize-64/scandir.c: File removed.
33812 * sysdeps/wordsize-64/scandir64.c: File removed.
33813 * sysdeps/wordsize-64/scandirat.c: File removed.
33814 * sysdeps/wordsize-64/scandirat64.c: File removed.
33815 * sysdeps/wordsize-64/versionsort.c: File removed.
33816 * sysdeps/wordsize-64/versionsort64.c: File removed.
33817 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33818 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33820 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33822 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33823 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33826 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33827 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33828 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33829 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33830 [defined __arch64__ || defined __sparcv9]
33831 (__INO_T_MATCHES_INO64_T): New macro.
33832 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33833 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33834 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33835 * sysdeps/unix/sysv/linux/bits/dirent.h
33836 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33837 (_DIRENT_MATCHES_DIRENT64): New macro.
33839 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33840 Define lockf64 as an alias.
33841 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33842 Define fseeko64 as an alias.
33843 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33844 Define ftello64 as an alias.
33845 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33846 Define _IO_fgetpos64 and fgetpos64 as aliases.
33847 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33848 Define _IO_fsetpos64 and fsetpos64 as aliases.
33849 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33850 Conditionalize body on this.
33851 * libio/fseeko64.c: Likewise.
33852 * libio/ftello64.c: Likewise.
33853 * libio/iofgetpos64.c: Likewise.
33854 * libio/iofsetpos64.c: Likewise.
33855 * sysdeps/wordsize-64/lockf.c: File removed.
33856 * sysdeps/wordsize-64/lockf64.c: File removed.
33857 * sysdeps/wordsize-64/fseeko.c: File removed.
33858 * sysdeps/wordsize-64/fseeko64.c: File removed.
33859 * sysdeps/wordsize-64/ftello.c: File removed.
33860 * sysdeps/wordsize-64/ftello64.c: File removed.
33861 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33862 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33863 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33864 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33865 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33866 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33867 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33868 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33869 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33870 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33871 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33872 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33873 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33874 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33876 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33877 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33878 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33879 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33880 [defined __arch64__ || defined __sparcv9]
33881 (__OFF_T_MATCHES_OFF64_T): New macro.
33882 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33883 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33885 (__OFF_T_MATCHES_OFF64_T): New macro.
33887 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33889 * stdlib/secure-getenv.c (__secure_getenv): Replace
33890 GLIBC_2_16 with GLIBC_2_17.
33892 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33894 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33895 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33897 2012-08-03 David S. Miller <davem@davemloft.net>
33899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33901 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33903 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33905 (__ASSUME_CORRECT_SI_PID): Likewise.
33906 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33907 (__ASSUME_TMPFS_NAME): Likewise.
33908 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33909 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33910 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33911 (HAVE_AUX_SECURE): Make definition unconditional.
33912 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33913 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33915 2012-08-03 Roland McGrath <roland@hack.frob.com>
33917 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33918 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33919 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33920 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33921 __eloop_threshold instead of SYMLOOP_MAX.
33923 * sysdeps/generic/eloop-threshold.h: New file.
33924 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33926 * elf/chroot_canon.c (chroot_canon): Likewise.
33928 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33931 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33932 Change to 2.6.0 everywhere.
33933 * sysdeps/unix/sysv/linux/configure: Regenerated.
33934 * sysdeps/unix/sysv/linux/kernel-features.h
33935 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33936 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33938 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33939 (__ASSUME_FUTEX_REQUEUE): Remove.
33940 (__ASSUME_STATFS64): Define unconditionally.
33941 (__ASSUME_AT_SECURE): Likewise.
33942 (__ASSUME_CORRECT_SI_PID): Likewise.
33943 (__ASSUME_TGKILL): Define without depending on kernel version for
33945 (__ASSUME_UTIMES): Likewise.
33946 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33948 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33949 (__ASSUME_TMPFS_NAME): Likewise.
33950 * README: Update reference to Linux kernel versions.
33952 2012-08-02 Marek Polacek <polacek@redhat.com>
33955 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33956 libc_cv_asm_type_prefix with %.
33957 * configure: Regenerated.
33958 * include/libc-symbols.h: Remove comment about
33959 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33960 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33961 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33962 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33963 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33964 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33965 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33966 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33967 * elf/tst-unique2mod1.c: Likewise.
33968 * elf/tst-unique1mod2.c: Likewise.
33969 * elf/tst-unique1mod1.c: Likewise.
33970 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33971 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33972 Replace ASM_TYPE_DIRECTIVE with .type.
33973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33974 * sysdeps/i386/sysdep.h: Likewise.
33975 * sysdeps/x86_64/sysdep.h: Likewise.
33976 * sysdeps/sh/sysdep.h: Likewise.
33977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33978 Do not define ASM_TYPE_DIRECTIVE.
33979 * sysdeps/powerpc/sysdep.h: Likewise.
33980 * sysdeps/powerpc/powerpc32/sysdep.h:
33981 Replace ASM_TYPE_DIRECTIVE with .type.
33982 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33983 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33984 * sysdeps/i386/fpu/e_powf.S: Likewise.
33985 * sysdeps/i386/fpu/e_expl.S: Likewise.
33986 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33987 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33988 * sysdeps/i386/fpu/e_pow.S: Likewise.
33989 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33990 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33991 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33992 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33993 * sysdeps/i386/fpu/e_log2.S: Likewise.
33994 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33995 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33996 * sysdeps/i386/fpu/e_powl.S: Likewise.
33997 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33998 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
33999 * sysdeps/i386/fpu/e_logl.S: Likewise.
34000 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34001 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34002 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34003 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34004 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34005 * sysdeps/i386/fpu/e_log.S: Likewise.
34006 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34007 * sysdeps/i386/fpu/e_logf.S: Likewise.
34008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34010 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34011 * sysdeps/i386/fpu/e_log10.S: Likewise.
34012 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34013 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34014 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34015 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34016 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34017 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34018 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34019 * sysdeps/i386/i686/strtok.S: Likewise.
34020 * sysdeps/i386/i386-mcount.S: Likewise.
34021 * sysdeps/i386/strtok.S: Likewise.
34022 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34023 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34024 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34025 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34026 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34027 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34028 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34029 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34030 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34031 * sysdeps/x86_64/_mcount.S: Likewise.
34032 * sysdeps/x86_64/strtok.S: Likewise.
34033 * sysdeps/sh/_mcount.S: Likewise.
34035 2012-08-01 Roland McGrath <roland@hack.frob.com>
34037 * libio/iofopen.c: Include <fcntl.h>.
34038 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34039 (_IO_fopen64, fopen64): Define as aliases.
34040 * libio/iofopen64.c: Include <fcntl.h>.
34041 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34042 Conditionalize body on this.
34043 * sysdeps/wordsize-64/iofopen.c: File removed.
34044 * sysdeps/wordsize-64/iofopen64.c: File removed.
34046 2012-08-01 Marek Polacek <polacek@redhat.com>
34048 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34049 Use dlfcn directly instead of a variable.
34050 (binfmt-subdir): Do not define.
34053 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34055 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34056 Remove all definitions.
34057 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34058 <kernel-features.h>.
34059 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34060 (miss_F_GETOWN_EX): Remove all definitions.
34061 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34063 [!__ASSUME_FCNTL64]: Remove conditional code.
34064 [__ASSUME_FCNTL64]: Make code unconditional.
34065 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34066 <kernel-features.h>.
34067 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34068 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34069 (lockf64) [__NR_fcntl64]: Make code unconditional.
34070 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34072 * sysdeps/unix/sysv/linux/kernel-features.h
34073 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34074 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34075 Make code unconditional.
34076 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34077 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34079 [__NR_vfork]: Make code unconditional.
34080 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34081 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34083 [__NR_vfork]: Make code unconditional.
34084 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34085 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34087 2012-08-01 Roland McGrath <roland@hack.frob.com>
34089 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34090 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34092 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34093 Define mkstemp64 as an alias.
34094 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34095 Define mkstemps64 as an alias.
34096 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34097 Define mkostemp64 as an alias.
34098 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34099 Define mkostemps64 as an alias.
34100 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34101 Conditionalize body on this.
34102 * misc/mkostemp64.c: Likewise.
34103 * misc/mkostemps64.c: Likewise.
34104 * misc/mkstemps64.c: Likewise.
34105 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34106 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34107 * sysdeps/wordsize-64/mkostemp.c: File removed.
34108 * sysdeps/wordsize-64/mkstemp.c: File removed.
34109 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34110 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34111 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34115 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34116 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34117 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34118 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34120 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34121 compat_symbol macros from <shlib-compat.h> rather than the underlying
34122 default_symbol_version and symbol_version macros, so that DEFAULT
34123 lines in shlib-versions are respected.
34124 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34126 2012-08-01 Florian Weimer <fweimer@redhat.com>
34128 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34129 Declare with warn_unused_result.
34130 (setgid, setregid, setegid, setresgid): Likewise.
34131 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34133 * WUR-REPORT: Remove set*id functions.
34135 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34137 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34139 2012-07-31 Roland McGrath <roland@hack.frob.com>
34142 * include/sys/socket.h (__libc_accept, __libc_accept4):
34143 Add attribute_hidden.
34144 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34146 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34148 * inet/getnetgrent_r.c (setup): Likewise.
34150 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34152 2012-07-31 David S. Miller <davem@davemloft.net>
34154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34156 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34159 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34160 value between 1.0 and 2.0 and smaller part has absolute value less
34162 * math/s_clog10.c (__clog10): Likewise.
34163 * math/s_clog10f.c (__clog10f): Likewise.
34164 * math/s_clog10l.c (__clog10l): Likewise.
34165 * math/s_clogf.c (__clogf): Likewise.
34166 * math/s_clogl.c (__clogl): Likewise.
34167 * math/libm-test.inc (clog_test): Add more tests.
34168 (clog10_test): Likewise.
34169 * sysdeps/i386/fpu/libm-test-ulps: Update.
34170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34172 2012-07-31 Florian Weimer <fweimer@redhat.com>
34174 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34175 Exit with zero in case no suitable GID is found, and write a
34176 message to standard error.
34178 2012-07-30 Roland McGrath <roland@hack.frob.com>
34180 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34182 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34183 (MAXPATHLEN): Removed.
34184 (NOGROUP, NODEV): New macros.
34185 (setbit, clrbit, isset, isclr): New macros.
34186 (howmany, roundup, powerof2): New macros.
34187 (DEV_BSIZE): New macro.
34189 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34190 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34192 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34193 definition on [!__NO_LONG_DOUBLE_MATH].
34195 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34196 PTR_MANGLE and PTR_DEMANGLE.
34198 * socket/accept4.c (accept4): Rename to __libc_accept4.
34199 Define accept4 as a weak alias.
34201 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34202 on [_DIRENT_HAVE_D_TYPE].
34203 * io/ftw.c (ftw_dir): Likewise.
34205 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34207 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34209 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34210 Use the BSD numbers rather than the arbitrary ones we had.
34211 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34212 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34213 (SIGXCPU, SIGXFSZ): New macros.
34216 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34217 initializer on [_LIBC_REENTRANT].
34219 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34220 definitions inside [_POSIX_MAPPED_FILES].
34222 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34224 * dirent/opendir.c: Include <fcntl.h>.
34226 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34227 (__libc_getspecific): Likewise.
34228 (__libc_key_create): Likewise.
34230 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34231 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34232 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34233 (tmpfile64): Define as alias.
34234 * sysdeps/wordsize-64/tmpfile.c: File removed.
34235 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34236 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34239 * stdio-common/vfscanf.c: Include <stdbool.h>.
34240 * nss/makedb.c: Likewise.
34241 * stdio-common/_i18n_number.h: Likewise.
34242 * argp/argp-help.c: Likewise.
34243 * posix/wordexp.c: Likewise.
34244 * sysdeps/posix/spawni.c: Likewise.
34245 * nss/nss_files/files-initgroups.c: Likewise.
34246 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34247 * nss/nss_files/files-initgroups.c: Likewise.
34248 * nss/nss_db/db-netgrp.c: Likewise.
34249 * nss/nss_db/db-initgroups.c: Likewise.
34250 * io/fchmodat.c: Include <sys/stat.h>.
34252 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34253 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34255 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34258 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34259 Add multiple inclusion protection.
34261 2012-07-27 David S. Miller <davem@davemloft.net>
34263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34265 2012-07-27 Gary Benson <gbenson@redhat.com>
34268 * elf/rtld.c: Include <stap-probe.h>.
34269 (dl_main): Added static probes "init_start" and "init_complete".
34270 * elf/dl-load.c: Include <stap-probe.h>.
34271 (lose): Take new parameter "nsid".
34272 Added static probe "map_failed".
34273 (_dl_map_object_from_fd): Pass namespace id to lose.
34274 Added static probe "map_start".
34275 (open_verify): Pass namespace id to lose.
34276 * elf/dl-open.c: Include <stap-probe.h>.
34277 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34278 and "reloc_complete".
34279 * elf/dl-close.c: Include <stap-probe.h>.
34280 (_dl_close_worker): Added static probes "unmap_start" and
34282 * elf/rtld-debugger-interface.txt: New file documenting the above.
34284 2012-07-26 Roland McGrath <roland@hack.frob.com>
34286 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34287 rather than a string variable.
34288 * sunrpc/rpc_main.c (h_output): Likewise.
34289 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34291 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34293 * inet/check_native.c: New file.
34295 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34298 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34299 if larger part has absolute value 1.0.
34300 * math/s_clog10.c (__clog10): Likewise.
34301 * math/s_clog10f.c (__clog10f): Likewise.
34302 * math/s_clog10l.c (__clog10l): Likewise.
34303 * math/s_clogf.c (__clogf): Likewise.
34304 * math/s_clogl.c (__clogl): Likewise.
34305 * math/libm-test.inc (clog_test): Add more tests.
34306 (clog10_test): Likewise.
34307 * sysdeps/i386/fpu/libm-test-ulps: Update.
34308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34310 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34311 (pltexit): Likewise.
34312 (La_regs): Likewise.
34313 (La_retval): Likewise.
34314 (int_retval): Likewise.
34315 Update #error for removed macros to refer only to definitions in
34317 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34319 (pltexit): Likewise.
34320 (La_regs): Likewise.
34321 (La_retval): Likewise.
34322 (int_retval): Likewise.
34323 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34325 (pltexit): Likewise.
34326 (La_regs): Likewise.
34327 (La_retval): Likewise.
34328 (int_retval): Likewise.
34329 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34331 (pltexit): Likewise.
34332 (La_regs): Likewise.
34333 (La_retval): Likewise.
34334 (int_retval): Likewise.
34335 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34337 (pltexit): Likewise.
34338 (La_regs): Likewise.
34339 (La_retval): Likewise.
34340 (int_retval): Likewise.
34341 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34343 (pltexit): Likewise.
34344 (La_regs): Likewise.
34345 (La_retval): Likewise.
34346 (int_retval): Likewise.
34347 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34349 (pltexit): Likewise.
34350 (La_regs): Likewise.
34351 (La_retval): Likewise.
34352 (int_retval): Likewise.
34353 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34354 macro definitions in tst-audit.h.
34355 * sysdeps/i386/tst-audit.h: New file.
34356 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34357 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34358 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34359 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34360 * sysdeps/sh/tst-audit.h: Likewise.
34361 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34362 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34363 * sysdeps/x86_64/tst-audit.h: Likewise.
34365 2012-07-26 Andreas Jaeger <aj@suse.de>
34367 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34370 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34371 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34372 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34374 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34375 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34376 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34378 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34381 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34383 (si_call_addr, si_syscall, si_arch): Define new macro.
34384 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34386 (si_call_addr, si_syscall, si_arch): Define new marcro.
34387 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34389 (si_call_addr, si_syscall, si_arch): Define new macro.
34390 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34392 (si_call_addr, si_syscall, si_arch): Define new macro.
34394 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34397 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34398 Change to 2.4.21 where previously 2.4.1.
34399 * sysdeps/unix/sysv/linux/configure: Regenerated.
34400 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34401 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34402 Linux kernel version.
34403 (__ASSUME_STD_AUXV): Remove.
34404 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34406 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34407 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34408 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34409 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34410 (__ASSUME_NETLINK_SUPPORT): Likewise.
34411 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34412 (__no_netlink_support): Remove conditional definition.
34413 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34415 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34416 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34417 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34418 (if_nameindex_ioctl): Remove.
34419 (if_nameindex_netlink): Do not handle __no_netlink_support.
34420 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34422 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34423 Remove conditional code.
34424 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34426 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34428 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34429 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34430 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34432 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34433 [!__ASSUME_STD_AUXV]: Remove conditional code.
34434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34435 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34436 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34438 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34439 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34441 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34443 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34444 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34446 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34448 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34451 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34454 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34455 code unconditional.
34456 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34458 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34460 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34463 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34465 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34468 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34469 code unconditional.
34470 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34472 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34474 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34477 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34478 code unconditional.
34479 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34481 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34483 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34486 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34488 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34489 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34490 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34491 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34492 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34493 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34494 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34495 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34496 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34497 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34498 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34499 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34500 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34501 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34502 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34503 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34504 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34505 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34506 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34508 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34509 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34510 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34512 2012-07-25 Florian Weimer <fweimer@redhat.com>
34514 * Versions.def: Add GLIBC_2.17.
34515 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34516 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34517 Introduce __libc_secure_getenv.
34518 * stdlib/Versions (2.17): Add secure_getenv
34519 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34520 * stdlib/secure-getenv.c: Rename __secure_getenv to
34521 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34522 symbol __secure_getenv for GLIBC_2.0.
34523 * stdlib/tst-secure-getenv.c: New.
34524 * stdlib/Makefile (tests): Add testcase.
34525 * manual/startup.texi (Environment Access): Document
34527 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34528 __libc_secure_getenv.
34529 * inet/ruserpass.c (ruserpass): Likewise.
34530 * malloc/mtrace.c (mtrace): Likewise.
34531 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34532 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34533 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34534 * sysdeps/posix/tempname.c: Likewise. Evaluate
34535 HAVE_SECURE_GETENV.
34536 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34537 __secure_getenv to __libc_secure_getenv.
34538 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34551 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34553 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34554 (struct La_i86_retval): Likewise.
34555 (struct La_x86_64_regs): Likewise.
34556 (struct La_x86_64_retval): Likewise.
34557 (struct La_x32_regs): Likewise.
34558 (struct La_x32_retval): Likewise.
34559 (struct La_ppc32_regs): Likewise.
34560 (struct La_ppc32_retval): Likewise.
34561 (struct La_ppc64_regs): Likewise.
34562 (struct La_ppc64_retval): Likewise.
34563 (struct La_sh_regs): Likewise.
34564 (struct La_sh_retval): Likewise.
34565 (struct La_s390_32_regs): Likewise.
34566 (struct La_s390_32_retval): Likewise.
34567 (struct La_s390_64_regs): Likewise.
34568 (struct La_s390_64_retval): Likewise.
34569 (struct La_sparc32_regs): Likewise.
34570 (struct La_sparc32_retval): Likewise.
34571 (struct La_sparc64_regs): Likewise.
34572 (struct La_sparc64_retval): Likewise.
34573 (struct audit_ifaces): Remove architecture-specific pltenter and
34575 * sysdeps/i386/ldsodefs.h: New file.
34576 * sysdeps/powerpc/ldsodefs.h: Likewise.
34577 * sysdeps/s390/ldsodefs.h: Likewise.
34578 * sysdeps/sh/ldsodefs.h: Likewise.
34579 * sysdeps/sparc/ldsodefs.h: Likewise.
34580 * sysdeps/x86_64/ldsodefs.h: Likewise.
34582 2012-07-25 Marek Polacek <polacek@redhat.com>
34585 * math/libm-test.inc (yn_test): Add another test.
34586 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34587 to ERANGE when the result is +-Inf.
34588 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34589 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34590 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34591 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34593 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34595 * conform/data/time.h-data (NULL): Use macro-constant. Require
34597 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34599 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34601 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34603 * configure.in <sysdeps resolving>: Correct printing
34605 * configure: Regenerate.
34607 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34609 * math/w_ilogb.c: Include <limits.h>.
34610 * math/w_ilogbl.c: Likewise.
34612 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34614 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34615 va_copy. Document allowing for unavailable va_copy only as
34616 pre-C99 compatibility.
34617 * manual/string.texi (Copying and Concatenation): Use va_copy
34618 instead of __va_copy in concat example.
34620 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34622 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34623 (__sendto): Use create_address_port. Initialize APORT and deallocate
34626 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34627 with O_NOLINK passed to __file_name_lookup.
34629 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34630 with O_NOLINK passed to __file_name_lookup.
34632 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34633 negative N or less than NGIDS.
34635 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34636 type to string_t. Set ERANGE as errno and return it if NAME is not big
34637 enough. Use memcpy instead of strncpy.
34639 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34641 * elf/Makefile (check-data): Remove.
34642 (localplt.data): New vpath directive.
34643 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34644 instead of $(check-data).
34645 * scripts/data/localplt-generic.data: Move to ...
34646 * sysdeps/generic/localplt.data: ... here.
34647 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34648 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34649 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34652 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34655 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34658 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34661 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34664 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34668 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34670 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34671 PPC32 and PPC64 files.
34672 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34673 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34675 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34677 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34678 __makecontext_ret to ...
34679 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34680 ... here and call exit if uc_link is NULL. New file.
34681 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34682 __makecontext_ret.S.
34683 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34684 __makecontext_ret to ...
34685 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34686 ... here and call exit if uc_link is NULL. New file.
34687 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34688 __makecontext_ret.S.
34690 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34692 * elf/elf.h (R_390_IRELATIVE): New definition.
34693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34694 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34695 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34696 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34697 (elf_machine_lazy_rel): Likewise.
34698 * sysdeps/s390/dl-irel.h: New file.
34699 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34700 * sysdeps/s390/s390-64/memset.S: New asm code.
34701 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34702 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34704 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34705 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34706 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34708 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34709 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34710 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34711 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34712 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34713 * sysdeps/s390/s390-32/memset.S: New asm code.
34714 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34716 2012-07-17 Marek Polacek <polacek@redhat.com>
34719 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34720 * sysdeps/s390/s390-64/configure.in: Likewise.
34721 * sysdeps/sparc/configure.in: Likewise.
34722 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34723 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34724 * sysdeps/i386/configure.in: Likewise.
34725 * sysdeps/x86_64/configure.in: Likewise.
34726 * sysdeps/sh/configure.in: Likewise.
34727 * sysdeps/s390/s390-32/configure: Regenerated.
34728 * sysdeps/s390/s390-64/configure: Likewise.
34729 * sysdeps/x86_64/configure: Likewise.
34730 * sysdeps/sh/configure: Likewise.
34731 * sysdeps/powerpc/powerpc64/configure: Likewise.
34732 * sysdeps/powerpc/powerpc32/configure: Likewise.
34733 * sysdeps/sparc/configure: Likwise.
34734 * sysdeps/i386/configure: Likewise.
34736 * elf/dl-open.c: Comment fixes.
34738 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34740 * Makefile [CXX] (check-data): Remove.
34741 [CXX] (c++-types.data): New vpath directive.
34742 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34743 vpath. Do not allow for C++ type data being missing.
34744 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34745 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34746 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34747 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34748 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34749 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34750 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34753 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34756 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34759 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34762 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34765 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34768 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34771 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34774 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34775 definitions to architecture-specific files.
34776 (TLS_IE): Likewise.
34777 (TLS_LD): Likewise.
34778 (TLS_GD): Likewise.
34779 * sysdeps/i386/tls-macros.h: New file.
34780 * sysdeps/powerpc/tls-macros.h: Likewise.
34781 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34782 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34783 * sysdeps/sh/tls-macros.h: Likewise.
34784 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34785 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34786 * sysdeps/x86_64/tls-macros.h: Likewise.
34788 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34790 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34791 zero value for regular exit case.
34793 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34794 (__start_context): Preserve zero value for regular exit case.
34796 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34797 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34799 * manual/setjmp.texi (setcontext): Clarify normal process
34800 termination when uc_link is the null pointer.
34801 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34804 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34806 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34807 preprocessor. Test for each exception mask separately.
34809 2012-07-16 Andreas Jaeger <aj@suse.de>
34811 * po/ru.po: Update from translation team.
34813 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34815 * conform/data/string.h-data (NULL): Use macro-constant. Require
34817 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34818 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34819 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34820 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34821 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34823 2012-07-13 Andreas Jaeger <aj@suse.de>
34825 * po/fr.po: Update from translation team.
34827 2012-07-12 Marek Polacek <polacek@redhat.com>
34830 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34831 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34834 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34838 Change to 2.4.1 where previously 2.4.0.
34839 * sysdeps/unix/sysv/linux/configure: Regenerated.
34840 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34841 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34843 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34844 (__ASSUME_AT_CLKTCK): Remove.
34845 (__ASSUME_AT_PAGESIZE): Likewise.
34846 (__ASSUME_AT_XID): Likewise.
34847 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34848 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34849 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34851 (HAVE_AUX_PAGESIZE): Likewise.
34852 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34853 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34854 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34856 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34860 the temporary buffer used to invoke __gethostbyname2_r,
34861 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34862 host_data / struct gaih_addrtuple.
34863 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34864 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34865 header file nss/nsswitch.h.
34866 * nss/nsswitch.h (global scope): Add definition of implementation
34867 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34868 resolv/nss_dns/dns-host.c).
34870 2012-07-11 Andreas Jaeger <aj@suse.de>
34872 * po/fr.po: Update from translation team.
34874 * po/sv.po: Update from translation team
34875 * po/fr.po: Another update from translation team.
34877 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34879 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34880 for subnormals or multiply small sinh result by itself.
34881 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34884 2012-07-11 David S. Miller <davem@davemloft.net>
34886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34888 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34891 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34892 (INTERNAL_MARK): Shift it here.
34894 2012-07-10 Marek Polacek <polacek@redhat.com>
34897 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34898 libc_cv_asm_global_directive with .globl.
34899 * configure: Regenerated.
34900 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34902 * sysdeps/i386/configure: Regenerated.
34903 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34905 * sysdeps/x86_64/configure: Regenerated.
34906 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34907 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34908 * elf/tst-unique2mod2.c: Likewise.
34909 * elf/tst-unique2mod1.c: Likewise.
34910 * elf/tst-unique1mod2.c: Likewise.
34911 * elf/tst-unique1mod1.c: Likewise.
34912 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34913 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34914 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34915 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34916 * sysdeps/mach/sysdep.h: Likewise.
34917 * sysdeps/i386/sysdep.h: Likewise.
34918 * sysdeps/i386/i386-mcount.S: Likewise.
34919 * sysdeps/x86_64/_mcount.S: Likewise.
34920 * sysdeps/x86_64/sysdep.h: Likewise.
34921 * sysdeps/sh/_mcount.S: Likewise.
34922 * sysdeps/sh/sysdep.h: Likewise.
34923 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34924 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34925 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34926 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34927 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34928 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34929 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34930 * locale/localeinfo.h: Likewise.
34931 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34932 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34934 2012-07-09 Roland McGrath <roland@hack.frob.com>
34937 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34939 * manual/message.texi (The Uniforum approach): Likewise.
34940 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34941 (glibc iconv Implementation): Likewise.
34943 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34946 * math/s_clog.c (__clog): Avoid scaling a value down where that
34947 could result in underflow.
34948 * math/s_clog10.c (__clog10): Likewise.
34949 * math/s_clog10f.c (__clog10f): Likewise.
34950 * math/s_clog10l.c (__clog10l): Likewise.
34951 * math/s_clogf.c (__clogf): Likewise.
34952 * math/s_clogl.c (__clogl): Likewise.
34953 * math/libm-test.inc (clog_test): Add more tests.
34954 (clog10_test): Likewise.
34955 * sysdeps/i386/fpu/libm-test-ulps: Update.
34956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34958 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34961 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34962 by 7 not 8 to examine high bit of fractional part.
34965 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34966 for call to __mcount_internal.
34967 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34968 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34969 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34971 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34974 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34975 approximation for values within 0x1p-13f of an odd multiple of
34977 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34978 exception. Add more tests.
34979 * sysdeps/i386/fpu/libm-test-ulps: Update.
34982 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34983 inputs and return -1 for them. Do not check for +Inf in case not
34984 reachable for +Inf.
34985 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34986 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34987 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34988 and return -1 for them. Do not check for +Inf in case not
34989 reachable for +Inf.
34990 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34993 and return -1 for them. Do not check for +Inf in case not
34994 reachable for +Inf.
34995 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34996 spurious underflow.
34997 * sysdeps/i386/fpu/libm-test-ulps: Update.
34998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35000 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35002 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35004 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35008 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35009 could result in spurious underflow. Scale down values above
35010 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35011 * math/s_csqrtf.c (__csqrtf): Likewise.
35012 * math/s_csqrtl.c (__csqrtl): Likewise.
35013 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35014 spurious underflow.
35015 * sysdeps/i386/fpu/libm-test-ulps: Update.
35016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35018 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35020 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35022 * catgets/xopen-msg.awk: New file.
35023 * catgets/xopen-msg.sed: Removed.
35025 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35027 * intl/po2test.awk: New file.
35028 * intl/po2test.sed: Removed.
35030 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35033 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35034 or multiply small sinh result by itself.
35035 * math/s_ctanf.c (__ctanf): Likewise.
35036 * math/s_ctanh.c (__ctanh): Likewise.
35037 * math/s_ctanhf.c (__ctanhf): Likewise.
35038 * math/s_ctanhl.c (__ctanhl): Likewise.
35039 * math/s_ctanl.c (__ctanl): Likewise.
35040 * math/libm-test.inc (ctan_test_tonearest): New function.
35041 (ctan_test_towardzero): Likewise.
35042 (ctan_test_downward): Likewise.
35043 (ctan_test_upward): Likewise.
35044 (ctanh_test_tonearest): Likewise.
35045 (ctanh_test_towardzero): Likewise.
35046 (ctanh_test_downward): Likewise.
35047 (ctanh_test_upward): Likewise.
35048 (main): Call these new functions.
35049 * sysdeps/i386/fpu/libm-test-ulps: Update.
35050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35052 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35054 * .gitignore: Delete /ports entry.
35056 2012-07-03 Andreas Jaeger <aj@suse.de>
35058 * po/bg.po: Update from translation team.
35059 * po/cs.po: Likewise.
35060 * po/de.po: Likewise.
35061 * po/hr.po: Likewise.
35062 * po/nl.pl: Likewise.
35063 * po/pl.po: Likewise.
35064 * po/vi.po: Likewise.
35066 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35068 * Makeconfig [!+link] (+link-before-libc): New variable.
35069 [!+link] (+link-after-libc): Likewise.
35070 [!+link] (+link-tests): Likewise.
35071 [!+link] (+link): Define in terms of $(+link-before-libc) and
35072 $(+link-after-libc).
35073 [!+link-static] (+link-static-before-libc): New variable.
35074 [!+link-static] (+link-static-after-libc): Likewise.
35075 [!+link-static] (+link-static-tests): Likewise.
35076 [!+link-static] (+link-static): Define in terms of
35077 $(+link-static-before-libc) and $(+link-static-after-libc).
35078 [build-shared] (link-libc-before-gnulib): New variable.
35079 [build-shared] (link-libc-tests): Likewise.
35080 [build-shared] (link-libc): Define in terms of
35081 $(link-libc-before-gnulib).
35082 [!build-shared] (link-libc-tests): New variable.
35083 (link-libc-static-tests): New variable.
35084 [!gnulib] (gnulib-arch): New variable.
35085 [!gnulib] (gnulib-tests): Likewise.
35086 [!gnulib] (static-gnulib-arch): Likewise.
35087 [!gnulib] (static-gnulib-tests): Likewise.
35088 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35089 Define with "=" instead of ":=".
35090 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35091 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35092 * Rules (binaries-all-notests): New variable.
35093 (binaries-all-tests): Likewise.
35094 (binaries-static-notests): Likewise.
35095 (binaries-static-tests): Likewise.
35096 (binaries-all): Define using $(binaries-all-notests) and
35097 $(binaries-all-tests).
35098 (binaries-static): Define using $(binaries-static-notests) and
35099 $(binaries-static-tests).
35100 (binaries-shared-tests): New variable.
35101 (binaries-shared-notests): Likewise.
35102 (binaries-shared): Remove variable.
35103 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35104 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35105 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35106 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35107 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35108 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35109 * elf/Makefile (sln-modules): New variable.
35110 (extra-objs): Add $(sln-modules:=.o).
35111 (ldconfig-modules): Add static-stubs.
35112 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35113 * elf/static-stubs.c: New file.
35116 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35117 by 7 not 8 to examine high bit of fractional part. Use volatile
35118 variables when splitting into final array of floats if
35119 __FLT_EVAL_METHOD__ != 0.
35120 * math/libm-test.inc (cos_test): Add another test.
35121 (sin_test): Likewise.
35122 * sysdeps/i386/fpu/libm-test-ulps: Update.
35125 * math/libm-test.inc (cosh_test): Add more tests.
35127 * version.h (RELEASE): Set to "development".
35128 (VERSION): Set to "2.16.90".
35130 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35132 * NEWS: Update copyright. Remove last-updated date.
35133 Mention math library bug fixes and timezone data changes.
35134 * README: Mention GNU/Hurd, x32, and HPPA support status.
35136 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35138 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35140 2012-06-27 Andreas Jaeger <aj@suse.de>
35142 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35144 2012-06-25 Andreas Jaeger <aj@suse.de>
35146 * sysdeps/s390/fpu/libm-test-ulps: Update.
35148 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35149 Thomas Schwinge <thomas@codesourcery.com>
35151 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35152 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35153 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35156 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35158 * sysdeps/mach/start.c: Remove file.
35159 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35160 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35161 * sysdeps/sh/init-first.c: Likewise.
35163 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35164 registers for frame unwinding purposes, add CFI directives.
35165 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35166 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35167 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35170 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35171 __fortify_fail returning.
35172 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35174 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35175 sysdeps/sh/____longjmp_chk.S.
35176 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35177 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35178 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35179 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35181 * sysdeps/sh/abort-instr.h: New file.
35182 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35183 process in case exit returns.
35185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35186 initialize the GOT register before use.
35188 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35189 calculation of ARGC > 4.
35191 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35192 meaningful names to some local labels.
35194 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35195 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35197 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35198 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35199 (__arch_compare_and_exchange_val_16_acq): Likewise.
35200 (__arch_compare_and_exchange_val_32_acq): Likewise.
35201 (atomic_exchange_and_add): Fix gUSA sequence.
35202 (atomic_add): Likewise.
35203 (atomic_add_negative): Likewise.
35204 (atomic_add_zero): Likewise.
35205 (atomic_bit_test_set): Likewise.
35207 2012-06-22 Andreas Schwab <schwab@redhat.com>
35210 * include/link.h (struct link_map): Add l_free_initfini.
35211 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35213 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35214 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35215 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35218 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35220 * configure.in: Use AC_LANG_SOURCE.
35221 * configure: Regenerate.
35223 2012-06-22 Roland McGrath <roland@hack.frob.com>
35225 * configure.in (libc_cv_localstatedir): New substituted variable.
35226 * configure: Regenerated.
35227 * config.make.in (localstatedir): New variable, substituted from
35228 libc_cv_localstatedir.
35229 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35230 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35231 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35232 * sysdeps/gnu/configure: Regenerated.
35234 2012-06-21 Jeff Law <law@redhat.com>
35237 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35238 free. Simplify list management for _LIBC case.
35240 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35243 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35244 Clear sign bit of 64-bit integer value before comparing against
35247 * sysdeps/mach/configure: Regenerated.
35249 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35252 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35254 2012-06-21 Jeff Law <law@redhat.com>
35257 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35258 uint16_t for elements in the "seen" array to avoid char overflows.
35259 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35260 * elf/dl-open.c (dl_open_worker): Likewise.
35262 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35264 * scripts/list-sources.sh: Scan PORTS for translations.
35265 * po/libc.pot: Regenerated.
35267 2012-06-21 Andreas Jaeger <aj@suse.de>
35270 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35272 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35273 * bits/byteswap-16.h (__bswap_16): Likewise.
35274 * bits/byteswap.h (__bswap_constant_16): Likewise.
35276 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/i386/fpu_control.h: Removed.
35280 * sysdeps/x86_64/fpu_control.h: Moved to ...
35281 * sysdeps/x86/fpu_control.h: Here.
35283 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35284 (_FPU_SETCW): Likewise.
35286 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35289 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35290 * sysdeps/x86/fpu/bits/mathinline.h: This.
35291 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35295 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35296 functions if __x86_64__ is defined.
35298 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35300 * string/endian.h: Add !__ASSEMBLER__ condition for including
35301 conversion interfaces.
35303 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35307 of ABS(x) in calculating zero to negative powers other than odd
35309 * math/libm-test.inc (pow_test): Add more tests.
35311 2012-06-15 Andreas Jaeger <aj@suse.de>
35313 * manual/contrib.texi (Contributors): Update entry of Liubov
35314 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35317 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35319 * string/string.h: Add __wur to GNU version of strerror_r.
35321 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35324 * string/Makefile (tests): Add tst-strtok_r.
35325 * string/tst-strtok_r.c: New file.
35326 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35327 RAX_LP/RDX_LP on SAVE_PTR.
35329 2012-06-14 Roland McGrath <roland@hack.frob.com>
35331 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35333 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35335 * libm_test.inc (csqrt_test): Allow more spurious underflow
35337 (j0_test): Likewise.
35338 (j1_test): Likewise.
35339 (y0_test): Likewise.
35340 (y1_test): Likewise.
35342 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35344 * po/Makefile (libc.pot): Use UTF-8 charset.
35346 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35349 Suppress sign-conversion warning from FD_SET.
35350 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35351 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35352 not unsigned long int.
35353 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35355 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35359 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35360 __extern_always_inline instead of __extern_inline.
35361 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35362 (__signbit): Likewise.
35363 (__signbitl): Support C++ namespace.
35364 (lrintf): New inline function.
35366 (llrintf): Likewise.
35367 (llrint): Likewise.
35377 (floorf): Likewise.
35378 (nearbyint): Likewise.
35379 (nearbyintf): Likewise.
35381 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35383 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35384 non-default versions.
35386 2012-06-11 Roland McGrath <roland@hack.frob.com>
35389 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35391 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35393 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35394 (FE_UPWARD, FE_DOWNWARD): Don't define.
35395 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35396 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35400 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35401 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35403 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35405 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35406 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35407 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35408 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35410 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35413 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35414 * sysdeps/i386/fpu/Implies: New file.
35415 * sysdeps/x86_64/fpu/Implies: Likewise.
35416 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35417 * sysdeps/x86/fpu/bits/fenv.h: This.
35419 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35422 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35425 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35426 character 0xffff that matches the last element of the
35429 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35431 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35434 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35437 values higher than 25.6283.
35439 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35441 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35442 subnormal exponent extraction and add some __builtin_expect.
35443 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35444 Fix for subnormal mantissa calculation.
35446 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35448 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35449 cpu2 is -1 and errno is not ENOSYS.
35451 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35454 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35455 * sysdeps/x86/bits/string.h: This.
35456 * sysdeps/x86_64/bits/string.h: Removed.
35458 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35459 if not compiling for x86-64, but compiling for >= i486.
35461 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35462 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35465 New macro from Linux kernel 3.4.0.
35466 (FP_XSTATE_MAGIC2): Likewise.
35467 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35468 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35469 (struct _fpx_sw_bytes): New struct.
35470 (struct _xsave_hdr): Likewise.
35471 (struct _ymmh_state): Likewise.
35472 (struct _xstate): Likewise.
35474 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35475 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35476 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35477 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35478 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35479 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35481 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35482 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35483 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35484 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35485 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35486 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35488 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35491 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35492 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35493 (sysdep_headers): Include sys/platform/ppc.h.
35494 * sysdeps/powerpc/test-gettimebase.c: Test for
35495 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35496 * manual/Makefile (appendices): Include platform.texi.
35497 * manual/contrib.texi (Contributors): Update @node pointers.
35498 * manual/maint.texi (Maintenance): Likewise.
35499 (Platform): New node.
35500 * manual/platform.texi: New file. Document the new features.
35502 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35503 Jakub Jelinek <jakub@redhat.com>
35506 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35507 where __builtin_expect is unavailable.
35509 2012-06-03 David S. Miller <davem@davemloft.net>
35511 * stdlib/longlong.h: Updated from GCC.
35513 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35516 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35517 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35520 (GLIBC_2.16): Likewise.
35522 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35524 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35526 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35529 (default-abi): New variable.
35530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35531 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35533 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35535 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35537 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35540 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35541 definition. Document in comment.
35543 2012-06-01 David S. Miller <davem@davemloft.net>
35545 * stdlib/longlong.h: Updated from GCC.
35547 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35550 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35551 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35552 sys/debugreg.h sys/io.h here.
35553 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35554 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35556 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35557 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35558 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35559 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35560 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35561 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35563 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35564 Define only if __x86_64__ is defined.
35566 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35569 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35570 Use int64_t for variable i.
35571 * math/libm-test.inc (fmod_test): Add more tests.
35573 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35574 z computation is not scheduled after fetestexcept.
35575 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35576 Use math_force_eval instead of asm to ensure calculation scheduled
35577 before exception test.
35578 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35579 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35581 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35584 computation is not scheduled after fetestexcept.
35586 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35589 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35590 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35592 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35594 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35595 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35597 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35600 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35602 (__WCHAR_MIN): Support __WORDSIZE == 64.
35603 (__WCHAR_MAX): Likewise.
35605 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35606 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35609 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35610 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35613 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35614 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35616 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35617 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35619 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35620 Defined to 1 if __x86_64__ isn't defined.
35621 (_STAT_VER_LINUX_OLD): New.
35622 (st_atime): Remove duplicate.
35623 (st_mtime): Likewise.
35624 (st_ctime): Likewise.
35626 2012-05-31 David S. Miller <davem@davemloft.net>
35628 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35631 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35633 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35637 * elf/dl-reloc.c: Include <_itoa.h>.
35638 (_dl_reloc_bad_type): Remove use of INTUSE.
35639 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35640 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35641 * stdio-common/psiginfo.c (psiginfo): Likewise.
35642 * stdio-common/psignal.c (psignal): Likewise.
35643 * string/strsignal.c (strsignal): Likewise.
35644 * include/signal.h (_sys_siglist): Declare hidden proto.
35645 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35646 INTVARDEF with libc_hidden_data_def.
35647 * stdio-common/itoa-udigits.c: Likewise.
35648 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35649 (_itoa_lower_digits_internal): Remove declaration.
35650 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35651 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35652 (_sys_sigabbrev_internal): Remove aliases.
35653 (_sys_siglist): Define hidden alias.
35655 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35657 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35660 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35663 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35664 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35666 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35667 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35668 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35669 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35670 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35671 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35673 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35674 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35675 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35677 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35685 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35686 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35687 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35689 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35690 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35691 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35692 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35693 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35694 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35696 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35697 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35699 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35700 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35702 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35703 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35704 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35706 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35707 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35709 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35711 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35712 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35713 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35715 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35717 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35719 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35721 * math/math.h (M_El): Use two more decimal places.
35722 (M_LOG2El): Likewise.
35723 (M_LOG10El): Likewise.
35724 (M_LN2l): Likewise.
35725 (M_LN10l): Likewise.
35727 (M_PI_2l): Likewise.
35728 (M_PI_4l): Likewise.
35729 (M_1_PIl): Likewise.
35730 (M_2_PIl): Likewise.
35731 (M_2_SQRTPIl): Likewise.
35732 (M_SQRT2l): Likewise.
35733 (M_SQRT1_2l): Likewise.
35735 2012-05-31 David S. Miller <davem@davemloft.net>
35737 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35738 values between float registers.
35739 * sysdeps/sparc/sparc64/memset.S: Likewise.
35740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35742 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35744 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35745 -D_FORTIFY_SOURCE=1.
35746 (CPPFLAGS-tst-longjmp_chk.c): Define.
35747 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35748 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35749 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35750 CFLAGS-tst-wchar-h.c.
35752 2012-05-31 Marek Polacek <polacek@redhat.com>
35755 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35756 __endmntent_internal): Remove declaration.
35757 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35758 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35759 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35761 2012-05-30 David S. Miller <davem@davemloft.net>
35763 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35764 (___Q_simulate_exceptions): Use real FP ops rather than writing
35766 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35769 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35772 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35773 * sysdeps/x86/bits/xtitypes.h: This.
35775 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35776 * sysdeps/x86/bits/wordsize.h: This.
35778 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35779 * sysdeps/x86/bits/huge_vall.h: This.
35781 * sysdeps/i386/bits/select.h: Removed.
35782 * sysdeps/x86_64/bits/select.h: Renamed to ...
35783 * sysdeps/x86/bits/select.h: This.
35785 * sysdeps/i386/bits/setjmp.h: Removed.
35786 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35787 * sysdeps/x86/bits/setjmp.h: This.
35789 * sysdeps/i386/bits/mathdef.h: Removed.
35790 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35791 * sysdeps/x86/bits/mathdef.h: This.
35793 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35796 * include/sys/socket.h (__connect_internal)
35797 (__libc_sa_len_internal): Remove declaration.
35798 (__connect, __libc_sa_len): Declare hidden_proto.
35799 (SA_LEN): Remove use of INTUSE.
35800 * socket/connect.c: Add libc_hidden_def.
35801 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35802 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35803 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35805 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35806 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35807 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35808 of adding _internal alias.
35810 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35813 * sysdeps/i386/bits/link.h: Removed.
35814 * sysdeps/i386/bits/linkmap.h: Likewise.
35815 * sysdeps/x86_64/bits/link.h: Renamed to ...
35816 * sysdeps/x86/bits/link.h: This.
35817 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35818 * sysdeps/x86/bits/linkmap.h: This.
35820 * sysdeps/i386/bits/endian.h: Removed.
35821 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35822 * sysdeps/x86/bits/endian.h: This.
35824 * sysdeps/i386/bits/byteswap.h: Removed.
35825 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35826 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35827 * sysdeps/x86/bits/byteswap.h: This.
35828 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35829 * sysdeps/x86/bits/byteswap-16.h: This.
35830 * sysdeps/i386/Implies: Add x86.
35831 * sysdeps/x86_64/Implies: Likewise.
35833 2012-05-30 David S. Miller <davem@davemloft.net>
35835 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35836 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35837 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35838 (FP_TRAPPING_EXCEPTIONS): Define.
35839 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35840 (FP_TRAPPING_EXCEPTIONS): Define.
35841 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35842 subnormals only when inexact has been signalled or underflow
35843 exceptions are enabled.
35844 (_FP_PACK_CANONICAL): Likewise.
35846 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35849 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35850 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35852 2012-05-30 Richard Henderson <rth@twiddle.net>
35854 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35855 with #ifndef NOT_IN_libc.
35857 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35858 marked to avoid plt entry.
35860 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35863 * Makeconfig (default-abi): New macro.
35864 (abi-includes): Likewise.
35865 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35866 $(abi-$(default-abi)-lib-soname) for soname if defined.
35867 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35869 * Makefile (installed-stubs): Likewise.
35870 * include/stubs-biarch.h: Removed.
35871 * scripts/lib-names.awk: Only handle one library at a time.
35872 * scripts/soversions.awk: Remove WORDSIZE support.
35873 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35875 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35877 (syscall-list-default-condition): Likewise.
35878 (syscall-list-default-condition): Likewise.
35879 (syscall-list-includes): Likewise.
35880 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35881 syscall-list-* with abi-*. Handle undefined abi-variants.
35882 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35883 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35884 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35885 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35886 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35887 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35889 (syscall-list-32-options): Likewise.
35890 (syscall-list-32-condition): Likewise.
35891 (syscall-list-64-options): Likewise.
35892 (syscall-list-64-condition): Likewise.
35893 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35895 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35898 (abi-64-ld-soname): New macro.
35899 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35900 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35903 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35904 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35906 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35908 * sysdeps/unix/sysv/linux/kernel-features.h
35909 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35910 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35911 include <kernel-features.h>.
35912 [!__NR_ftruncate64]: Remove conditional code.
35913 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35914 [__NR_ftruncate64]: Make code unconditional.
35915 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35916 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35917 include <kernel-features.h>.
35918 [!__NR_ftruncate64]: Remove conditional code.
35919 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35920 [__NR_ftruncate64]: Make code unconditional.
35921 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35923 include <kernel-features.h>.
35924 [!__NR_ftruncate64]: Remove conditional code.
35925 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35926 [__NR_ftruncate64]: Make code unconditional.
35927 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35929 include <kernel-features.h>.
35930 [!__NR_ftruncate64]: Remove conditional code.
35931 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35932 [__NR_ftruncate64]: Make code unconditional.
35933 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35935 * configure.in (libc_cv_fpie): Weaken to a compile test using
35936 LIBC_TRY_CC_OPTION.
35937 * configure: Regenerated.
35939 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35954 2012-05-27 David S. Miller <davem@davemloft.net>
35956 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35958 (__Q_simulate_exceptions): Return void. Change to simulate
35959 exceptions by writing into the %fsr.
35960 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35961 (__Qp_handle_exceptions): Likewise.
35963 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35964 __Qp_handle_exceptions.
35965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35966 __Qp_handle_exceptions.
35967 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35968 as unused and give dummy FP_RND_NEAREST initializer.
35969 (FP_INHIBIT_RESULTS): Define.
35970 (___Q_simulate_exceptions): Update declaration.
35971 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35973 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35974 as unused and give dummy FP_RND_NEAREST initializer.
35975 (__Qp_handle_exceptions): Update declaration.
35976 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35979 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35981 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35982 the temporary FPU control word.
35983 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35984 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35985 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35986 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35987 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35988 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35989 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35990 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35991 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35992 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35993 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35995 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35997 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36000 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36002 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36003 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36004 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36005 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36007 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36008 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36011 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36013 * po/h.po: Update from translation team.
36015 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36017 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36019 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36020 handling of denormals.
36021 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36022 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36023 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36024 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36030 2012-05-26 Marek Polacek <polacek@redhat.com>
36033 * math/libm-test.inc (fma_test): Don't always expect underflow
36036 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36039 * elf/tst-execstack.c: Include stackinfo.h.
36040 (do_test): Adjust test case to ensure that pthread_getattr_np
36041 behaviour remains the same after marking stack executable.
36043 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36045 * sysdeps/unix/sysv/linux/kernel-features.h
36046 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36047 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36049 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36050 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36051 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36053 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36054 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36056 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36058 * configure.in: Define the default includes to being none.
36059 * configure: Regenerated.
36061 2012-05-25 Roland McGrath <roland@hack.frob.com>
36063 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36064 * sysdeps/x86_64/setjmp.S: Likewise.
36065 * sysdeps/i386/bsd-setjmp.S: Likewise.
36066 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36067 * sysdeps/i386/setjmp.S: Likewise.
36068 * sysdeps/i386/__longjmp.S: Likewise.
36069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36070 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36072 * include/stap-probe.h: New file.
36073 * configure.in: Handle --enable-systemtap.
36074 * configure: Regenerated.
36075 * config.h.in (USE_STAP_PROBE): New #undef.
36076 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36077 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36078 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36080 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36083 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36084 to 2.4.0 where earlier.
36085 * sysdeps/unix/sysv/linux/configure: Regenerated.
36086 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36087 <kernel-features.h>.
36088 [__ASSUME_32BITUIDS]: Make code unconditional.
36089 [!__ASSUME_32BITUIDS]: Remove conditional code.
36090 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36091 <kernel-features.h>.
36092 [__ASSUME_32BITUIDS]: Make code unconditional.
36093 [!__ASSUME_32BITUIDS]: Remove conditional code.
36094 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36095 [__ASSUME_32BITUIDS]: Make code unconditional.
36096 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36097 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36098 <kernel-features.h>.
36099 [__ASSUME_32BITUIDS]: Make code unconditional.
36100 [!__ASSUME_32BITUIDS]: Remove conditional code.
36101 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36102 <kernel-features.h>.
36103 [__ASSUME_32BITUIDS]: Make code unconditional.
36104 [!__ASSUME_32BITUIDS]: Remove conditional code.
36105 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36106 <kernel-features.h>.
36107 [__ASSUME_32BITUIDS]: Make code unconditional.
36108 [!__ASSUME_32BITUIDS]: Remove conditional code.
36109 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36110 <kernel-features.h>.
36111 [__ASSUME_32BITUIDS]: Make code unconditional.
36112 [!__ASSUME_32BITUIDS]: Remove conditional code.
36113 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36114 <kernel-features.h>.
36115 [__ASSUME_32BITUIDS]: Make code unconditional.
36116 [!__ASSUME_32BITUIDS]: Remove conditional code.
36117 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36118 <kernel-features.h>.
36119 [__ASSUME_32BITUIDS]: Make code unconditional.
36120 [!__ASSUME_32BITUIDS]: Remove conditional code.
36121 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36122 <kernel-features.h>.
36123 [__ASSUME_32BITUIDS]: Make code unconditional.
36124 [!__ASSUME_32BITUIDS]: Remove conditional code.
36125 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36126 <kernel-features.h>.
36127 [__ASSUME_32BITUIDS]: Make code unconditional.
36128 [!__ASSUME_32BITUIDS]: Remove conditional code.
36129 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36130 <kernel-features.h>.
36131 [__ASSUME_32BITUIDS]: Make code unconditional.
36132 [!__ASSUME_32BITUIDS]: Remove conditional code.
36133 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36134 <kernel-features.h>.
36135 [__ASSUME_32BITUIDS]: Make code unconditional.
36136 [!__ASSUME_32BITUIDS]: Remove conditional code.
36137 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36138 <kernel-features.h>.
36139 [__NR_setresgid] (__setresgid): Do not declare.
36140 [__ASSUME_32BITUIDS]: Make code unconditional.
36141 [!__ASSUME_32BITUIDS]: Remove conditional code.
36142 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36143 <kernel-features.h>.
36144 [__NR_setresuid] (__setresuid): Do not declare.
36145 [__ASSUME_32BITUIDS]: Make code unconditional.
36146 [!__ASSUME_32BITUIDS]: Remove conditional code.
36147 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36148 <kernel-features.h>.
36149 [__ASSUME_32BITUIDS]: Make code unconditional.
36150 [!__ASSUME_32BITUIDS]: Remove conditional code.
36151 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36152 <kernel-features.h>.
36153 [__ASSUME_32BITUIDS]: Make code unconditional.
36154 [!__ASSUME_32BITUIDS]: Remove conditional code.
36155 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36156 <kernel-features.h>.
36157 [__ASSUME_32BITUIDS]: Make code unconditional.
36158 [!__ASSUME_32BITUIDS]: Remove conditional code.
36159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36160 <kernel-features.h>.
36161 [__ASSUME_32BITUIDS]: Make code unconditional.
36162 [!__ASSUME_32BITUIDS]: Remove conditional code.
36163 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36164 <kernel-features.h>.
36165 [__ASSUME_32BITUIDS]: Make code unconditional.
36166 [!__ASSUME_32BITUIDS]: Remove conditional code.
36167 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36168 <kernel-features.h>.
36169 [__ASSUME_32BITUIDS]: Make code unconditional.
36170 [!__ASSUME_32BITUIDS]: Remove conditional code.
36171 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36172 <kernel-features.h>.
36173 [__ASSUME_32BITUIDS]: Make code unconditional.
36174 [!__ASSUME_32BITUIDS]: Remove conditional code.
36175 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36176 <kernel-features.h>.
36177 [__ASSUME_32BITUIDS]: Make code unconditional.
36178 [!__ASSUME_32BITUIDS]: Remove conditional code.
36179 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36180 <kernel-features.h>.
36181 [__ASSUME_32BITUIDS]: Make code unconditional.
36182 [!__ASSUME_32BITUIDS]: Remove conditional code.
36183 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36184 <kernel-features.h>.
36185 [__ASSUME_32BITUIDS]: Make code unconditional.
36186 [!__ASSUME_32BITUIDS]: Remove conditional code.
36187 * sysdeps/unix/sysv/linux/kernel-features.h
36188 (__ASSUME_SETRESUID_SYSCALL): Remove.
36189 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36190 (__ASSUME_32BITUIDS): Likewise.
36191 (__ASSUME_LDT_WORKS): Likewise.
36192 (__ASSUME_O_DIRECTORY): Likewise.
36193 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36194 architecture but not kernel version.
36195 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36196 (__ASSUME_MMAP2_SYSCALL): Likewise.
36197 (__ASSUME_STAT64_SYSCALL): Likewise.
36198 (__ASSUME_IPC64): Likewise.
36199 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36200 <kernel-features.h>.
36201 [__ASSUME_32BITUIDS]: Make code unconditional.
36202 [!__ASSUME_32BITUIDS]: Remove conditional code.
36203 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36204 <kernel-features.h>.
36205 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36206 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36207 132096]: Remove conditional code.
36208 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36209 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36210 <kernel-features.h>.
36211 [__ASSUME_32BITUIDS]: Make code unconditional.
36212 [!__ASSUME_32BITUIDS]: Remove conditional code.
36213 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36214 <kernel-features.h>.
36215 [__ASSUME_32BITUIDS]: Make code unconditional.
36216 [!__ASSUME_32BITUIDS]: Remove conditional code.
36217 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36218 <kernel-features.h>.
36219 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36221 (__setresgid): Do not declare.
36222 [__ASSUME_32BITUIDS]: Make code unconditional.
36223 [!__ASSUME_32BITUIDS]: Remove conditional code.
36224 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36225 <kernel-features.h>.
36226 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36228 (__setresuid): Do not declare.
36229 [__ASSUME_32BITUIDS]: Make code unconditional.
36230 [!__ASSUME_32BITUIDS]: Remove conditional code.
36231 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
36236 <kernel-features.h>.
36237 [__ASSUME_32BITUIDS]: Make code unconditional.
36238 [!__ASSUME_32BITUIDS]: Remove conditional code.
36240 2012-05-25 Richard Henderson <rth@twiddle.net>
36242 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36243 dl_hwcap to ifunc resolver.
36244 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36246 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36247 dl_hwcap to ifunc resolver.
36248 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36250 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36253 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36254 for |x| <= 2**-26, not 2**-57.
36255 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36258 2012-05-24 Jeff Law <law@redhat.com>
36260 * stdio-common/Makefile (tests): Add bug25.
36261 * stdio-common/bug25.c: New test.
36263 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36266 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36267 multiple of MALLOC_ALIGNMENT in size.
36268 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36270 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36272 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36274 (FILENAME_MAX): Use macro-int-constant.
36275 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36276 (_IOFBF): Use macro-int-constant.
36277 (_IOLBF): Likewise.
36278 (_IONBF): Likewise.
36279 (SEEK_CUR): Likewise.
36280 (SEEK_END): Likewise.
36281 (SEEK_SET): Likewise.
36282 (TMP_MAX): Likewise.
36283 (EOF): Use macro-int-constant. Require < 0.
36284 (NULL): Use macro-constant. Require == 0.
36285 (stdin): Require type to be FILE *.
36286 (stdout): Likewise.
36287 (stderr): Likewise.
36288 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36289 macro-int-constant.
36290 (EXIT_SUCCESS): Likewise.
36291 (NULL): Use macro-constant. Require == 0.
36292 (RAND_MAX): Use macro-int-constant.
36293 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36294 [C99-based standards] (strtof): Require function.
36295 [C99-based standards] (strtold): Likewise.
36296 [C99-based standards] (strtoll): Likewise.
36297 [C99-based standards] (strtoull): Likewise.
36298 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36299 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36300 [ISO || ISO99 || ISO11] (math.h): Likewise.
36301 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36302 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36305 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36308 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36309 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36310 * intl/dgettext.c (DCGETTEXT): Likewise.
36311 * intl/gettext.c (DCGETTEXT): Likewise.
36312 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36313 * posix/regex_internal.h (gettext): Likewise.
36314 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36315 Remove declaration.
36316 * include/argz.h (__argz_count_internal)
36317 (__argz_stringify_internal): Remove declaration.
36318 (__argz_count, __argz_stringify): Declare hidden proto.
36319 * intl/dcgettext.c: Remove use of INTDEF.
36320 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36321 * string/argz-stringify.c: Likewise.
36322 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36323 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36324 Declare hidden proto.
36325 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36326 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36327 Declare hidden proto.
36328 * include/stdio.h (__asprintf_internal): Don't declare.
36329 (__asprintf): Don't define as macro. Declare hidden proto.
36330 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36331 (__fsetlocking): Declare hidden proto.
36332 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36333 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36335 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36336 (_IO_setlinebuf): Remove use of INTUSE.
36337 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36338 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36339 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36340 Remove declaration.
36341 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36342 (_IO_do_flush): Remove use of INTUSE.
36343 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36344 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36345 (_IO_adjust_column, _IO_least_wmarker)
36346 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36347 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36348 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36349 (_IO_default_doallocate, _IO_wdefault_doallocate)
36350 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36351 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36352 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36353 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36354 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36355 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36356 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36357 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36358 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36359 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36360 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36361 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36362 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36364 (_IO_flush_all_internal, _IO_adjust_column_internal)
36365 (_IO_default_uflow_internal, _IO_default_finish_internal)
36366 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36367 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36368 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36369 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36370 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36371 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36372 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36373 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36374 (_IO_file_close_internal, _IO_file_close_it_internal)
36375 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36376 (_IO_file_init_internal, _IO_file_attach_internal)
36377 (_IO_file_fopen_internal, _IO_file_read_internal)
36378 (_IO_file_sync_internal, _IO_file_seek_internal)
36379 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36380 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36381 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36382 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36383 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36384 (_IO_list_all_internal, _IO_link_in_internal)
36385 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36386 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36387 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36388 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36389 (_IO_do_write_internal, _IO_padn_internal)
36390 (_IO_getline_info_internal, _IO_getline_internal)
36391 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36392 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36393 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36394 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36395 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36396 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36397 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36398 with libc_hidden_ver, remove use of INTUSE.
36399 * libio/genops.c: Likewise.
36400 * libio/freopen.c: Likewise.
36401 * libio/freopen64.c: Likewise.
36402 * libio/iofclose.c: Likewise.
36403 * libio/iofdopen.c: Likewise.
36404 * libio/iofflush.c: Likewise.
36405 * libio/iofflush_u.c: Likewise.
36406 * libio/iofgets.c: Likewise.
36407 * libio/iofgets_u.c: Likewise.
36408 * libio/iofopen.c: Likewise.
36409 * libio/iofopncook.c: Likewise.
36410 * libio/iofread.c: Likewise.
36411 * libio/iofread_u.c: Likewise.
36412 * libio/ioftell.c: Likewise.
36413 * libio/iofwrite.c: Likewise.
36414 * libio/iogetline.c: Likewise.
36415 * libio/iogets.c: Likewise.
36416 * libio/iogetwline.c: Likewise.
36417 * libio/iopadn.c: Likewise.
36418 * libio/iopopen.c: Likewise.
36419 * libio/ioseekoff.c: Likewise.
36420 * libio/ioseekpos.c: Likewise.
36421 * libio/iosetbuffer.c: Likewise.
36422 * libio/iosetvbuf.c: Likewise.
36423 * libio/ioungetc.c: Likewise.
36424 * libio/ioungetwc.c: Likewise.
36425 * libio/iovdprintf.c: Likewise.
36426 * libio/iovsprintf.c: Likewise.
36427 * libio/iovsscanf.c: Likewise.
36428 * libio/memstream.c: Likewise.
36429 * libio/obprintf.c: Likewise.
36430 * libio/oldfileops.c: Likewise.
36431 * libio/oldiofclose.c: Likewise.
36432 * libio/oldiofdopen.c: Likewise.
36433 * libio/oldiofopen.c: Likewise.
36434 * libio/oldiopopen.c: Likewise.
36435 * libio/oldstdfiles.c: Likewise.
36436 * libio/putc.c: Likewise.
36437 * libio/setbuf.c: Likewise.
36438 * libio/setlinebuf.c: Likewise.
36439 * libio/stdfiles.c: Likewise.
36440 * libio/strops.c: Likewise.
36441 * libio/vasprintf.c: Likewise.
36442 * libio/vscanf.c: Likewise.
36443 * libio/vsnprintf.c: Likewise.
36444 * libio/vswprintf.c: Likewise.
36445 * libio/wfiledoalloc.c: Likewise.
36446 * libio/wfileops.c: Likewise.
36447 * libio/wgenops.c: Likewise.
36448 * libio/wmemstream.c: Likewise.
36449 * libio/wstrops.c: Likewise.
36450 * libio/__fpurge.c: Likewise.
36451 * libio/__fsetlocking.c: Likewise.
36452 * assert/assert.c: Likewise.
36453 * debug/fgets_chk.c: Likewise.
36454 * debug/fgets_u_chk.c: Likewise.
36455 * debug/fread_chk.c: Likewise.
36456 * debug/fread_u_chk.c: Likewise.
36457 * debug/gets_chk.c: Likewise.
36458 * debug/obprintf_chk.c: Likewise.
36459 * debug/vasprintf_chk.c: Likewise.
36460 * debug/vdprintf_chk.c: Likewise.
36461 * debug/vsnprintf_chk.c: Likewise.
36462 * debug/vsprintf_chk.c: Likewise.
36463 * malloc/mtrace.c: Likewise.
36464 * misc/error.c: Likewise.
36465 * misc/syslog.c: Likewise.
36466 * stdio-common/asprintf.c: Likewise.
36467 * stdio-common/fxprintf.c: Likewise.
36468 * stdio-common/getw.c: Likewise.
36469 * stdio-common/isoc99_fscanf.c: Likewise.
36470 * stdio-common/isoc99_scanf.c: Likewise.
36471 * stdio-common/isoc99_vfscanf.c: Likewise.
36472 * stdio-common/isoc99_vscanf.c: Likewise.
36473 * stdio-common/isoc99_vsscanf.c: Likewise.
36474 * stdio-common/printf-prs.c: Likewise.
36475 * stdio-common/printf_fp.c: Likewise.
36476 * stdio-common/printf_fphex.c: Likewise.
36477 * stdio-common/printf_size.c: Likewise.
36478 * stdio-common/putw.c: Likewise.
36479 * stdio-common/scanf.c: Likewise.
36480 * stdio-common/sprintf.c: Likewise.
36481 * stdio-common/tmpfile.c: Likewise.
36482 * stdio-common/vfprintf.c: Likewise.
36483 * stdio-common/vfscanf.c: Likewise.
36484 * stdlib/strfmon_l.c: Likewise.
36485 * sunrpc/openchild.c: Likewise.
36486 * sunrpc/xdr_stdio.c: Likewise.
36487 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36488 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36490 2012-05-24 Roland McGrath <roland@hack.frob.com>
36492 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36494 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36495 in the third column, to generate for the shared library an IFUNC
36496 that uses _dl_vdso_vsym.
36497 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36498 * Makeconfig (object-suffixes-noshared): New variable.
36500 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36501 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36502 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36503 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36506 * include/sys/time.h (__gettimeofday): Remove macro.
36507 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36508 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36510 (__gettimeofday): Add libc_hidden_def.
36511 (gettimeofday): Add libc_hidden_weak.
36512 * sysdeps/mach/gettimeofday.c: Likewise.
36513 * sysdeps/posix/gettimeofday.c: Likewise.
36514 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36515 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36517 (__gettimeofday_internal): Remove strong_alias.
36518 (__gettimeofday): Add libc_hidden_def.
36519 (gettimeofday): Add libc_hidden_weak.
36520 * sysdeps/unix/syscalls.list (gettimeofday):
36521 Remove __gettimeofday_internal alias.
36523 2012-05-24 Daniel Jacobowitz <drow@false.org>
36524 H.J. Lu <hongjiu.lu@intel.com>
36527 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36528 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36529 (largebin_index_32_big): New.
36530 (largebin_index): Use it for 16-byte alignment.
36531 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36532 correction with front_misalign.
36534 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36547 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36549 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36553 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36562 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36563 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36565 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36569 * math/libm-test.inc (exp_test): Add test from bug 14036.
36570 (pow_test): Add test from bug 10846.
36572 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36574 (special_function): Do not include flags in test name.
36575 (parse_args): Likewise.
36576 * sysdeps/i386/fpu/libm-test-ulps: Update.
36577 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36578 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36579 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36582 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36584 * math/libm-test.inc ("Philosophy"): Update comment about
36586 (UNDERFLOW_EXCEPTION): New macro.
36587 (UNDERFLOW_EXCEPTION_OK): Likewise.
36588 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36589 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36590 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36591 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36592 (INVALID_EXCEPTION_OK): Update value.
36593 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36594 (OVERFLOW_EXCEPTION_OK): Likewise.
36595 (IGNORE_ZERO_INF_SIGN): Likewise.
36596 (test_exceptions): Handle underflow exceptions.
36597 (acos_test): Update for underflow exception expectations.
36598 (cexp_test): Likewise.
36599 (clog_test): Likewise.
36600 (clog10_test): Likewise.
36601 (csqrt_test): Likewise.
36602 (ctan_test): Likewise.
36603 (ctanh_test): Likewise.
36604 (exp_test): Likewise.
36605 (exp10_test): Likewise.
36606 (exp2_test): Likewise.
36607 (expm1_test): Likewise.
36608 (fma_test): Likewise.
36609 (j0_test): Likewise.
36610 (jn_test): Likewise.
36611 (nexttoward_test): Likewise.
36612 (pow_test): Likewise.
36613 (scalbn_test): Likewise.
36614 (scalbln_test): Likewise.
36615 (tan_test): Likewise.
36616 (y1_test): Likewise.
36617 * sysdeps/i386/fpu/libm-test-ulps: Update.
36618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36620 2012-05-23 David S. Miller <davem@davemloft.net>
36622 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36623 (__libc_sigaction): Remove unused local variables.
36625 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36627 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36629 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36631 mktime: avoid signed integer overflow
36632 * time/mktime.c (__mktime_internal): Do not mishandle the case
36633 where diff == INT_MIN.
36635 mktime: simplify computation of average
36636 * time/mktime.c (ranged_convert): Use new time_t_avg function
36637 instead of rolling our own (probably-slower) code.
36639 mktime: do not assume signed right shift propagates sign bit
36640 * time/mktime.c (isdst_differ): New static function.
36641 (__mktime_internal): No need to normalize tm_isdst now.
36642 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36645 mktime: merge another wrapv change from gnulib
36646 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36647 from some compilers.
36649 mktime: remove incorrect attempt at unusual arithmetics
36650 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36651 The code didn't really work on such machines anyway.
36652 (TYPE_MINIMUM): Assume two's complement.
36653 (twos_complement_arithmetic): Verify that long_int and time_t
36654 are two's complement (or unsigned, in the latter case).
36656 mktime: check signed shifts on long_int and time_t, too
36657 * time/mktime.c (SHR): Check that shifts work as desired
36658 on the types long_int and time_t too, as SHR is used on
36661 mktime: do not assume 'long' is wide enough
36662 * time/mktime.c (verify): Move decl up.
36663 (long_int): New type.
36664 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36665 to remove assumption in the code that 'long' is wide enough to
36666 store year values. This assumption is not true on x32 and on
36667 some non-glibc platforms.
36669 mktime: merge wrapv change from gnulib
36670 * time/mktime.c (WRAPV): New macro.
36671 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36672 (guess_time_tm, __mktime_internal): Do not assume that signed
36673 integer overflow wraps around; modern compilers generate code
36674 where this assumption is no longer valid.
36676 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36678 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36679 Replace "jmp L(pseudo_end)" with "ret".
36680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36683 2012-05-23 Andreas Jaeger <aj@suse.de>
36685 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36686 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36688 2012-05-23 Andreas Jaeger <aj@suse.de>
36689 Maximilian Attems <max@stro.at>
36691 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36694 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36696 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36697 code so that pseudo_end is just ret and the stack pointer is
36698 correct also for static library in error case.
36700 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36702 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36703 move to syscalls.list.
36704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36709 * manual/install.texi (Running make install): Do not mention Linux
36710 kernel version for which pt_chown is not needed.
36711 (Linux): Do not mention problems with nscd with 2.0 kernels.
36712 * INSTALL: Regenerated.
36714 2012-05-23 Andreas Jaeger <aj@suse.de>
36716 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36717 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36719 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36720 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36721 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36722 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36723 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36724 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36725 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36726 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36727 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36728 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36729 * sysdeps/unix/sysv/linux/bits/in.h
36730 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36732 2012-05-22 Roland McGrath <roland@hack.frob.com>
36734 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36735 (PREPARE_VERSION): Just use assert instead, it will be elided
36736 under [NDEBUG] anyway.
36738 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36740 * sysdeps/unix/sysv/linux/Makefile: Include
36741 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36742 (sysdep_routines): Remove sysctl.
36743 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36744 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36745 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36746 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36747 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36749 2012-05-22 Andreas Jaeger <aj@suse.de>
36751 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36752 that pseudo_end is just ret and the stack pointer is correct also
36753 for static library in error case.
36755 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36758 * nss/nsswitch.c (defconfig_entries): New variable.
36759 (__nss_database_lookup): Don't leak defconfig entries.
36760 (nss_parse_service_list): Don't leak on error paths.
36761 (free_database_entries): New function.
36762 (free_defconfig): New function.
36763 (free_mem): Move common code to free_database_entries.
36765 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36767 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36769 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36771 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36772 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36775 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36776 (INTERNAL_SYSCALL_TYPES): Likewise.
36777 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36778 (LOAD_REGS_TYPES_[1-6]): Likewise.
36779 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36780 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36782 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36784 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36785 copysignl for GLIBC_2_0.
36786 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36787 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36789 logbl for GLIBC_2_0.
36790 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36791 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36793 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36796 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36798 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36801 * time/mktime.c: Update copyright years.
36803 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36805 mktime: merge comment-quoting-style change from gnulib
36806 * time/mktime.c: Quote 'like this' in comments.
36807 The GNU coding standards suggest that we no longer quote `like this',
36808 as "`" and "'" are typically rendered asymmetrically nowadays.
36809 The typical gnulib style is to quote 'like this' when quoting
36810 code, and "like this" when quoting English.
36812 * time/mktime.c (compile-command): Add "-I.".
36814 mktime: merge mktime-internal.h change from gnulib
36815 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36817 mktime: merge time_r change from gnulib
36818 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36820 mktime: merge DEBUG change from gnulib
36821 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36822 case system <time.h> has a #define.
36824 mktime: merge <sys/types.h> change from gnulib
36825 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36826 since <time.t> is now guaranteed to define time_t.
36828 mktime: merge HAVE_CONFIG_H change from gnulib
36829 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36831 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36833 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36836 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36838 (struct rusage): Use anonymous union to pad each field to
36841 2012-05-21 David S. Miller <davem@davemloft.net>
36843 * Makefules (o-iterator): Remove .s cases.
36844 (compile-command.s): Delete.
36845 (COMPILE.s): Delete.
36846 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36848 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36850 * configure.in (libc_cv_predef_stack_protector): Only consider
36851 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36852 * configure: Regenerated.
36854 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36857 New macro. Use R*LP on int and pointer.
36858 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36859 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36860 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36861 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36863 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36864 [__WORDSIZE_TIME64_COMPAT32] instead of
36865 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36866 (struct utmp): Likewise.
36867 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36868 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36870 (__WORDSIZE_TIME64_COMPAT32): This.
36871 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36872 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36873 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36874 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36875 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36876 (__WORDSIZE_TIME64_COMPAT32): New macro.
36878 2012-05-21 Andreas Jaeger <aj@suse.de>
36880 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36881 only if [SHARED]. Add prototype for __wcschr_ia32.
36883 2012-05-21 Roland McGrath <roland@hack.frob.com>
36885 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36886 of %rbp unmolested in the jmp_buf while mangling the low bits.
36887 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36888 unmolested high bits of %rbp while demangling the low bits.
36889 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36891 2012-05-21 Andreas Jaeger <aj@suse.de>
36893 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36894 * sunrpc/svc_simple.c: Use it for registerrpc.
36895 * sunrpc/xcrypt.c: Use it for passwd2des.
36897 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36899 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36901 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36902 Don't define if [__SYSCALL_WORDSIZE != 32].
36903 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36906 2012-05-21 Bruno Haible <bruno@clisp.org>
36907 Andreas Jaeger <aj@suse.de>
36909 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36910 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36911 inptr and inend for must_buffer_ch.
36912 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36913 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36914 * stdio-common/Makefile (tests): Remove bug15.
36915 (bug15-ENV): Remove macro.
36916 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36919 2012-05-19 Andreas Jaeger <aj@suse.de>
36920 Roland McGrath <roland@hack.frob.com>
36922 * manual/contrib.texi: Completely rewritten. It contains now an
36923 alphabetical list of contributors and their contributions.
36925 2012-05-21 Richard Henderson <rth@twiddle.net>
36927 * misc/getauxval.c (__getauxval): Use unsigned long int.
36928 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36929 (getauxval): Use unsigned long int.
36931 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36933 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36935 2012-05-21 Roland McGrath <roland@hack.frob.com>
36937 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36938 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36939 __alignof__ (long double).
36941 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36945 2012-05-20 Richard Henderson <rth@twiddle.net>
36947 * misc/getauxval.c: New file.
36948 * misc/sys/auxv.h: New file.
36949 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36950 (routines): Add getauxval.
36951 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36952 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36953 * elf/dl-sysdep.c (_dl_auxv): Remove.
36954 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36955 * elf/dl-support.c (_dl_auxv): New variable.
36956 (_dl_aux_init): Initialize it.
36957 * manual/startup.texi (Auxiliary Vector): New node.
36958 * sysdeps/generic/bits/hwcap.h: New file.
36959 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36960 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36961 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36962 * sysdeps/sparc/sysdep.h: ... here. Include it.
36963 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36964 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36970 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36976 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36980 2012-05-19 David S. Miller <davem@davemloft.net>
36982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36984 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36987 * math/s_ccosh.c: Include <float.h>
36988 (__ccosh): Avoid internal overflow calculating sinh and cosh
36989 values before multiplying by sin and cos values.
36990 * math/s_ccoshf.c: Likewise.
36991 * math/s_ccoshl.c: Likewise.
36992 * math/s_csin.c: Likewise.
36993 * math/s_csinf.c: Likewise.
36994 * math/s_csinl.c: Likewise.
36995 * math/s_csinh.c: Likewise.
36996 * math/s_csinhf.c: Likewise.
36997 * math/s_csinhl.c: Likewise.
36998 * math/libm-test.inc (ccos_test): Add more tests.
36999 (ccosh_test): Likewise.
37000 (csin_test): Likewise.
37001 (csinh_test): Likewise.
37002 * sysdeps/i386/fpu/libm-test-ulps: Update.
37003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37005 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37007 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37008 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37010 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37012 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37014 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37015 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37016 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37017 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37018 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37019 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37020 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37021 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37022 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37023 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37024 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37025 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37026 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37027 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37028 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37029 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37030 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37031 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37032 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37033 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37034 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37035 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37036 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37037 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37038 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37039 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37040 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37041 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37042 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37043 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37044 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37046 2012-05-18 Andreas Jaeger <aj@suse.de>
37048 * csu/.gitignore: Delete.
37050 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37052 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37053 (timex): Use __syscall_slong_t.
37055 2012-05-18 Andreas Jaeger <aj@suse.de>
37056 Carlos O'Donell <carlos_odonell@mentor.com>
37058 * manual/install.texi (Configuring and compiling): Update
37059 description about files modified in the source directory.
37060 * INSTALL: Regenerated.
37062 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37064 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37065 value. Use "or" to set return value to -1.
37066 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37067 negate return value.
37069 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37071 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37072 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37073 failure if the compiler has Graphite support disabled.
37074 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37076 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37077 (CFLAGS-memmove.c): Likewise.
37078 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37081 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37083 * sysdeps/x86_64/x32/_itoa.h: New file.
37085 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37086 getdents system call only if kernel and user dirents have the
37087 same d_ino and d_off.
37089 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37090 LLONG_MAX != LONG_MAX.
37091 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37092 (_fitoa_word): Likewise.
37094 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37096 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37097 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37098 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37100 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37101 include <bits/wordsize.h>. Check __x86_64__ instead of
37103 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37104 if __x86_64__ is defined. Use anonymous union on fpstate.
37106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37109 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37111 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37112 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37114 Refer to _rtld_local_ro instead of _rtld_global_ro.
37115 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37117 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37119 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37121 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37122 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37123 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37125 * sysdeps/powerpc/powerpc32/dl-machine.c
37126 (__elf_machine_runtime_setup) [PROF]: Don't reference
37129 2012-05-18 Andreas Jaeger <aj@suse.de>
37131 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37132 function only available for GCCs before 3.4 since GCC 3.4
37133 introduced a builtin.
37135 (llrintf): Likewise.
37136 (llrint): Likewise.
37143 (nearbyint): Likewise.
37144 (nearbyintf): Likewise.
37148 (floorf): Likewise.
37150 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37152 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37153 on both fields and cast pointer to __syscall_ulong_t.
37155 * bits/types.h (__fsword_t): New type.
37156 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37157 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37159 (__FSWORD_T_TYPE): Likewise.
37160 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37161 (__FSWORD_T_TYPE): Likewise.
37162 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37163 (__FSWORD_T_TYPE): Likewise.
37164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37165 (__FSWORD_T_TYPE): Likewise.
37166 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37167 __SWORD_TYPE with __fsword_t.
37168 (statfs64): Likewise.
37170 2012-05-17 David S. Miller <davem@davemloft.net>
37172 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37174 2012-05-17 Andreas Jaeger <aj@suse.de>
37176 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37179 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37181 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37183 2012-05-17 Andreas Jaeger <aj@suse.de>
37185 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37188 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37190 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37192 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37194 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37195 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37197 2012-05-17 Andreas Jaeger <aj@suse.de>
37198 Carlos O'Donell <carlos_odonell@mentor.com>
37201 * sysdeps/x86_64/multiarch/init-arch.h
37202 (bit_YMM_Usable): Rename to...
37203 (bit_AVX_Usable): ... this.
37204 (bit_FMA4_Usable): New macro.
37205 (bit_XMM_state): New macro.
37206 (bit_YMM_state): New macro.
37207 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37208 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37209 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37210 (CPUID_OSXSAVE): New macro.
37211 (CPUID_AVX): New macro.
37212 (CPUID_FMA4): New macro.
37213 (index_YMM_Usable): Rename to...
37214 (index_AVX_Usable): ... this.
37215 (HAS_AVX): Use HAS_ARCH_FEATURE.
37216 (HAS_FMA4): Likewise.
37217 (HAS_YMM_USABLE): Remove.
37218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37219 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37221 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37222 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37223 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37224 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37225 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37227 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37229 * math/libm-test.c: Support platforms without multiple rounding modes.
37230 * math/bug-nextafter.c: Support platforms without FP exceptions.
37231 * math/bug-nexttoward.c: Likewise.
37232 * math/test-fenv.c: Likewise.
37233 * math/test-misc.c: Likewise.
37234 * stdlib/bug-getcontext.c: Likewise.
37236 2012-05-17 Andreas Jaeger <aj@suse.de>
37238 * manual/examples/search.c (critter_cmp): Change signature to
37240 * manual/string.texi (Collation Functions): Likewise.
37242 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37244 * bits/types.h: Fold copyright years.
37245 * bits/typesizes.h: Likewise.
37246 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37248 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37249 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37250 * time/time.h: Likewise.
37252 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37255 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37256 in instead of returning them. Return void.
37257 (__libc_mallinfo): Accumulate over all arenas.
37258 (__malloc_stats): Adjust for change in int_mallinfo interface.
37260 2012-05-16 Roland McGrath <roland@hack.frob.com>
37263 * configure.in (NM): Add AC_CHECK_TOOL for it.
37264 (libc_extra_cflags): New substituted variable.
37265 Check for -fstack-protector being used implicitly.
37266 * configure: Regenerated.
37267 * config.make.in (config-extra-cflags): New variable,
37268 gets @libc_extra_cflags@.
37269 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37272 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37273 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37274 * configure: Regenerated.
37275 * config.make.in (CPPUNDEFS): New substituted variable.
37276 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37277 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37278 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37280 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37282 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37283 (mq_attr): Use __syscall_slong_t.
37285 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37287 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37288 Check __x86_64__ instead of __WORDSIZE.
37289 (_STAT_VER_LINUX): Likewise.
37290 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37291 __syscall_ulong_t and __syscall_slong_t.
37292 (stat64): Likewise.
37294 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37298 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37300 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37302 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37304 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37307 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37308 include <bits/wordsize.h>. Check __x86_64__ instead of
37310 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37312 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37315 include <bits/wordsize.h>. Check __x86_64__ instead of
37317 (user_regs_struct): Use "__extension__ unsigned long long"
37318 instead of "unsigned long" if __x86_64__ is defined.
37319 (user): Likewise. Pad after pointer field if __ILP32__ is
37322 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37324 * configure.in (makeinfo): Require version 4.5 or later. Allow
37326 * configure: Regenerated.
37327 * manual/install.texi (texinfo): Increase version requirement to
37329 * INSTALL: Regenerated.
37331 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37333 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37335 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37337 * sysdeps/x86_64/x32/ffs.c: New file.
37339 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37341 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37342 defined. Use __syscall_ulong_t.
37343 (shminfo): Use __syscall_ulong_t.
37344 (shm_info): Likewise.
37346 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37349 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37351 (msgqnum_t): Use __syscall_ulong_t.
37352 (msglen_t): Likewise.
37353 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37356 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37357 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37359 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37361 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37362 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37364 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37367 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37368 include <bits/wordsize.h>. Check __x86_64__ instead of
37371 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37372 "unsigned long long int" if __x86_64__ is defined.
37373 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37375 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37376 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37377 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37379 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37381 (GET_PC): Cast to uintptr_t first.
37382 (GET_FRAME): Likewise.
37383 (GET_STACK): Likewise.
37385 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37386 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37387 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37388 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37389 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37390 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37391 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37392 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37393 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37394 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37395 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37396 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37397 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37398 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37399 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37400 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37401 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37402 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37403 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37404 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37405 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37406 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37407 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37408 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37409 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37410 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37411 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37412 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37413 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37415 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37417 * Makerules (+depfiles): Also collect depfiles from .oS in
37419 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37420 .oS, $(libnldbl-routines)).
37422 * Makerules (native-compile-mkdep-flags): Define.
37423 * sunrpc/Makefile (extra-objs): Add $(addprefix
37424 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37425 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37426 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37427 calling $(make-target-directory).
37429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37431 * bits/types.h (__snseconds_t): Removed.
37432 * time/time.h (struct timespec): Replace __snseconds_t with
37434 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37435 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37437 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37438 (__SNSECONDS_T_TYPE): Likewise.
37439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37440 (__SNSECONDS_T_TYPE): Likewise.
37441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37442 (__SNSECONDS_T_TYPE): Likewise.
37444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37446 * sysdeps/mach/hurd/bits/typesizes.h
37447 (__SYSCALL_SLONG_TYPE): New macro.
37448 (__SYSCALL_ULONG_TYPE): Likewise.
37450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37452 * bits/types.h (__syscall_slong_t): New type.
37453 (__syscall_ulong_t): Likewise.
37455 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37456 (__SYSCALL_ULONG_TYPE): Likewise.
37457 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37458 (__SYSCALL_SLONG_TYPE): Likewise.
37459 (__SYSCALL_ULONG_TYPE): Likewise.
37460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37461 (__SYSCALL_SLONG_TYPE): Likewise.
37462 (__SYSCALL_ULONG_TYPE): Likewise.
37463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37464 (__SYSCALL_SLONG_TYPE): Likewise.
37465 (__SYSCALL_ULONG_TYPE): Likewise.
37467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37469 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37470 Add sigaltstack-offsets.sym.
37471 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37472 <sigaltstack-offsets.h>.
37473 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37474 longjmp_msg pointer.
37475 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37476 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37478 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37480 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37482 * elf/stackguard-macros.h: Remove file.
37483 * sysdeps/generic/stackguard-macros.h: New file.
37484 * sysdeps/i386/stackguard-macros.h: Likewise.
37485 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37486 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37487 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37488 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37489 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37490 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37491 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37492 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37493 <elf/stackguard-macros.h>.
37496 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37497 __aligned__ in attribute.
37498 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37499 (gregset_t): Likewise.
37501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37503 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37504 * sysdeps/x86_64/64/Implies-after: Here. New file.
37505 * sysdeps/x86_64/x32/Implies-after: New file.
37507 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37509 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37510 and access return value for _dl_profile_fixup. Use R10_LP to
37513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37515 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37519 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37520 * sysdeps/x86_64/x32/sysdep.h: New file.
37522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37524 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37525 * sysdeps/x86_64/setjmp.S: Likewise.
37527 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37529 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37530 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37531 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37532 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37533 remove unused global constant.
37535 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37537 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37538 include of <not-cancel.h>.
37540 2012-05-15 Roland McGrath <roland@hack.frob.com>
37542 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37544 2012-05-15 Jeff Law <law@redhat.com>
37545 Andreas Jaeger <aj@suse.de>
37548 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37550 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37551 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37552 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37553 code changing __hst_map_handle.map.
37555 2012-05-15 Roland McGrath <roland@hack.frob.com>
37557 * configure.in (sysnames): Look for Implies-before and Implies-after
37559 * configure: Regenerated.
37561 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37563 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37564 8-byte data alignment with LP_SIZE alignment.
37566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37568 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37571 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37573 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37577 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37578 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37579 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37581 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37585 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37586 (stackinfo_sub_sp): Likewise.
37588 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37590 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37593 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37595 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37600 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37603 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37605 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37609 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37610 into R11_LP and load __x86_64_shared_cache_size_half into
37613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37615 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37618 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37620 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37622 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37624 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37626 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37627 powerpc32/power7/fpu/s_logb.c via #include.
37628 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37629 powerpc32/power7/fpu/s_logbf.c via #include.
37630 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37631 powerpc32/power7/fpu/s_logbl.c via #include.
37633 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37635 * README.libm: Remove file.
37637 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37639 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37640 count for x32. Use R*_LP and omit operand-size suffix.
37642 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37644 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37645 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37646 * sysdeps/x86_64/x32/shlib-versions: New file.
37648 2012-05-14 Roland McGrath <roland@hack.frob.com>
37650 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37651 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37652 Use _dl_fatal_printf instead.
37654 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37656 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37657 set if not set by the user. Do not allow for being unset.
37658 * sysdeps/unix/sysv/linux/configure: Regenerated.
37660 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37662 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37663 the `q' suffix from lea and replace .quad with ASM_ADDR.
37665 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37668 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37670 (PTR_DEMANGLE): Likewise.
37672 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37674 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37676 (ASM_ADDR): Likewise.
37677 (RAX_LP): Likewise.
37678 (RBP_LP): Likewise.
37679 (RBX_LP): Likewise.
37680 (RCX_LP): Likewise.
37681 (RDI_LP): Likewise.
37682 (RSI_LP): Likewise.
37683 (RSP_LP): Likewise.
37686 (R10_LP): Likewise.
37687 (R10_LP): Likewise.
37688 (R11_LP): Likewise.
37689 (R12_LP): Likewise.
37690 (R13_LP): Likewise.
37691 (R14_LP): Likewise.
37692 (R15_LP): Likewise.
37694 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37696 * sysdeps/x86_64/x32/dl-machine.h: New file.
37698 2012-05-14 Andreas Jaeger <aj@suse.de>
37700 * manual/Makefile (subdir): Remove export of subdir.
37701 (all): Remove target.
37702 (.PHONY): Remove all from list.
37703 (mkinstalldirs): Remove.
37704 (.PHONY): Remove installdirs from list.
37705 ($(inst_infodir)/libc.info): Use make-target-directory.
37706 (installdirs): Remove.
37707 (subdir_%): Remove.
37708 (glibc-targets): Remove.
37711 ($(objpfx)stubs ../po/manual.pot): Remove.
37712 ($(objpfx)stamp%): Remove.
37713 (make-target-directory): Remove.
37714 (subdir_install): Remove.
37715 (routines): Remove.
37722 * manual/.gitignore: Remove, it's not needed anymore.
37723 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37725 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37727 (texis): Renamed to $(objpfx)texis.
37728 (texis-path): New, contains path to generated files.
37729 (chapters.%): Use texis-path for complete path, add extra argument
37731 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37732 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37733 (summary,texi, stamp-summary): Use complete path of
37734 files. Generate files in build dir.
37735 (dir-add.texi): Build in build dir.
37736 (libm-err.texi,stamp-libm-err): Likewise.
37737 (version.texi, stamp-version): Likewise.
37738 (.%c.texi): Likewise.
37739 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37740 (mostlyclean): Remove target.
37741 (realclean): Remove target.
37742 (generated): Add new variable with contents from mostlyclean and
37743 realclean, remove entries duplicated in common-mostlyclean, add
37744 stamp-libm-err and stamp-version.
37745 (generated-dirs): Add libc directory.
37746 ($(inst_infodir)/libc.info): Install files from build dir.
37748 * manual/install.texi (Configuring and compiling): Adjust since
37749 the info files are not part of the tar ball anymore.
37751 2012-05-14 Andreas Jaeger <aj@suse.de>
37753 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37756 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37759 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37760 to 2.2.0 where earlier.
37761 * sysdeps/unix/sysv/linux/configure: Regenerated.
37762 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37763 Remove conditional code.
37764 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37765 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37766 Remove conditional code.
37767 [!__NR_lchown]: Likewise.
37768 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37769 [__NR_lchown]: Likewise.
37770 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37771 comment referencing __ASSUME_LCHOWN_SYSCALL.
37772 * sysdeps/unix/sysv/linux/i386/sigaction.c
37773 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37774 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37775 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37776 Remove conditional code.
37777 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37778 (__protocol_available): Remove #if 0 code.
37779 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37781 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37782 * sysdeps/unix/sysv/linux/kernel-features.h
37783 (__ASSUME_GETCWD_SYSCALL): Don't define.
37784 (__ASSUME_REALTIME_SIGNALS): Likewise.
37785 (__ASSUME_PREAD_SYSCALL): Likewise.
37786 (__ASSUME_PWRITE_SYSCALL): Likewise.
37787 (__ASSUME_POLL_SYSCALL): Likewise.
37788 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37789 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37791 (__ASSUME_SIOCGIFNAME): Don't define.
37792 (__ASSUME_MSG_NOSIGNAL): Likewise.
37793 (__ASSUME_SENDFILE): Define unconditionally.
37794 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37795 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37797 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37798 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37799 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37800 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37801 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37802 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37803 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37805 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37806 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37811 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37812 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37817 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37818 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37823 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37828 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37829 Remove conditional code.
37830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37831 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37832 Remove conditional code.
37833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37834 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37835 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37836 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37837 Remove conditional code.
37838 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37839 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37840 Remove conditional code.
37841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37842 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37843 Remove conditional code.
37844 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37845 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37846 Remove conditional code.
37847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37848 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37849 Remove conditional code.
37850 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37851 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37852 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37854 * sysdeps/unix/sysv/linux/sigaction.c
37855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37857 * sysdeps/unix/sysv/linux/sigpending.c
37858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37860 * sysdeps/unix/sysv/linux/sigprocmask.c
37861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37863 * sysdeps/unix/sysv/linux/sigsuspend.c
37864 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37865 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37866 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37867 (__libc_missing_rt_sigs): Remove.
37868 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37869 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37870 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37871 Remove conditional code.
37872 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37873 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37875 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37876 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37877 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37878 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37880 2012-05-14 Andreas Jaeger <aj@suse.de>
37882 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37883 it's not used in glibc.
37884 (__coshm1): Likewise.
37885 (__acosh1p): Likewise.
37888 * manual/string.texi (Copying and Concatenation): Add missing
37889 variable in concat example.
37890 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37892 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37896 __builtin_clzl with __builtin_clzll.
37898 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37901 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37904 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37906 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37907 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37908 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37909 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37911 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37913 * NEWS: Update ia64 info.
37915 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37917 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37920 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37922 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37923 * sysdeps/unix/syscalls.list (dup3): Likewise.
37924 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37925 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37927 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37929 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37930 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37932 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37934 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37936 (TLS_IE): Use mov/add instead of movq/addq to load thread
37938 (TLS_GD_PREFIX): New.
37941 2012-05-11 David S. Miller <davem@davemloft.net>
37943 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37944 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37945 (_FPU_SETCW): Likewise.
37947 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37949 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37950 is 32-byte aligned.
37952 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37955 * iconvdata/gb18030.c: Update tables.
37956 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37957 characters specially.
37958 (BODY for TO_LOOP): Add encoding of missing ranges.
37960 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37963 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37964 * sysdeps/mach/hurd/dup3.c: Likewise.
37965 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37966 * sysdeps/powerpc/memmove.c:: Likewise.
37968 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37970 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37971 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37973 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37975 * elf/elf.h (R_X86_64_RELATIVE64): New.
37976 (R_X86_64_NUM): Updated.
37977 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37978 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37979 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37980 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37981 tst-quad1pie tst-quad2pie
37982 (modules-names): Add tst-quadmod1 tst-quadmod2.
37983 ($(objpfx)tst-quad1): New dependency.
37984 ($(objpfx)tst-quad2): Likewise.
37985 ($(objpfx)tst-quad1pie): Likewise.
37986 ($(objpfx)tst-quad2pie): Likewise.
37987 * sysdeps/x86_64/tst-quad1.c: New file.
37988 * sysdeps/x86_64/tst-quad1pie.c: New file.
37989 * sysdeps/x86_64/tst-quad2.c: Likewise.
37990 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37991 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37992 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37993 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37994 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
37998 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
37999 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38000 * streams/stropts.h (t_scalar_t): Define type.
38002 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38003 (_PATH_PRESERVE): Set to "/var/lib".
38004 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38006 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38009 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38010 if __dir_mkfile succeeded.
38012 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38013 checking for _hurd_dtablesize. Unlock it right after having
38014 finished _hurd_dtable allocation.
38016 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38018 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38019 * sysdeps/mach/hurd/configure: Regenerated.
38020 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38021 special-casing to...
38022 * sysdeps/gnu/configure.in: ... this new file.
38023 * sysdeps/unix/sysv/linux/configure: Regenerated.
38024 * sysdeps/gnu/configure: New generated file.
38026 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38027 for Linux: use nsec instead of usec, as well as:
38028 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38029 members of type struct timespec.
38030 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38032 (struct stat64): Likewise.
38033 (_STATBUF_ST_NSEC): New macro.
38034 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38036 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38037 __strtoul_internal rather than strtoul.
38039 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38041 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38046 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38047 which preserves existing values.
38048 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38050 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38052 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38053 TIMEOUT values. Return EINVAL for NFDS values either negative or
38054 greater than FD_SETSIZE.
38056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38058 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38059 allocated, call __vm_protect to finish enabling the existing space, and
38060 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38061 allocate the remainder.
38063 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38065 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38066 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38070 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38071 sysdeps/mach/hurd/readlink.c.
38073 * posix/tst-sysconf.c (posix_options): Only use
38074 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38075 _POSIX_SYNCHRONIZED_IO when they are defined
38076 * sysdeps/mach/hurd/bits/posix_opt.h:
38077 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38078 (_XOPEN_REALTIME): Undefine macro.
38079 (_XOPEN_REALTIME_THREADS): Undefine macro.
38080 (_XOPEN_SHM): Undefine macro.
38081 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38083 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38085 (_POSIX_ASYNC_IO): Undefine macro.
38086 (_POSIX_PRIORITIZED_IO): Undefine macro.
38087 (_POSIX_SPIN_LOCKS): Define macro to -1.
38089 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38090 SA_NODEFER, SA_RESETHAND.
38091 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38092 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38095 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38097 * elf/Makefile (pldd-modules): Define unconditionally.
38099 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38101 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38103 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38105 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38106 Return ENOENT when name is empty.
38107 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38109 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38111 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38113 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38115 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38117 Fix mlock in all cases except non-readable pages.
38118 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38119 instead of VM_PROT_ALL as parameter to __vm_wire function.
38121 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38122 (__mkdir): When path is `/', just fail with EEXIST.
38123 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38125 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38127 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38128 <sys/uio.h> (for writev).
38129 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38130 and <sys/param.h> (for MIN).
38132 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38134 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38135 REQUESTED_TIME. Properly set the remaining time and return EINTR
38138 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38140 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38141 Depend on against $(link-rpcuserlibs).
38143 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38145 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38146 (__libc_stack_end): Do not use attribute_relro.
38147 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38148 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38149 to libthread-provided value.
38150 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38153 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38156 * bits/libc-lock.h (__libc_once_get): New macro.
38157 * sysdeps/mach/bits/libc-lock.h: Likewise.
38158 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38159 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38160 instead of using implementation details.
38162 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38163 * libio/freopen.c: Likewise.
38164 * libio/freopen64.c: Likewise.
38165 * misc/syslog.c: Likewise.
38166 * nscd/connections.c: Likewise.
38167 * nscd/netgroupcache.c: Likewise.
38168 * sysdeps/posix/getcwd.c: Likewise.
38170 2012-05-10 Roland McGrath <roland@hack.frob.com>
38172 * math/w_ilogbf.c: Add #include <limits.h>.
38174 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38176 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38177 path instead of returning without unlocking.
38179 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38180 immediate-write ioctls.
38181 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38183 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38185 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38186 __builtin_frame_address instead of making assumptions about the
38187 location of the return address relative to DATA. Force early load of
38188 the return address.
38189 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38190 __builtin_frame_address.
38193 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38194 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38195 implement dup3 and do some further code clean-ups.
38196 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38197 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38199 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38201 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38203 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38204 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38205 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38206 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38207 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38210 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38211 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38212 when handler == SIG_ERR, not when handler != SIG_ERR.
38214 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38216 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38217 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38220 accept4 for GNU Hurd.
38221 * include/sys/socket.h (__libc_accept4): New prototype.
38222 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38223 to implement __libc_accept4.
38224 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38226 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38228 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38229 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38230 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38231 signal-defines.sym.
38233 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38235 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38237 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38239 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38240 assertion on O_CLOEXEC flag.
38241 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38242 * hurd/intern-fd.c: Likewise.
38243 * hurd/port2fd.c: Likewise.
38245 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38248 * bits/in.h (IPV6_PKTINFO): Define new macro.
38249 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38251 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38256 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38257 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38258 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38259 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38261 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38262 * math/libm-test.inc (logb_test) : Additional logb tests.
38264 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38265 Andreas Jaeger <aj@suse.de>
38267 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38268 * configure: Regenerated.
38269 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38270 * config.make.in (link-obsolete-rpc): New substituted variable.
38271 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38272 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38273 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38274 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38275 so that libc.a contains the symbols.
38276 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38277 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38278 * sunrpc/auth_none.c: Likewise.
38279 * sunrpc/auth_unix.c: Likewise.
38280 * sunrpc/authdes_prot.c: Likewise.
38281 * sunrpc/authuxprot.c: Likewise.
38282 * sunrpc/clnt_gen.c: Likewise.
38283 * sunrpc/clnt_perr.c: Likewise.
38284 * sunrpc/clnt_raw.c: Likewise.
38285 * sunrpc/clnt_simp.c: Likewise.
38286 * sunrpc/clnt_tcp.c: Likewise.
38287 * sunrpc/clnt_udp.c: Likewise.
38288 * sunrpc/clnt_unix.c: Likewise.
38289 * sunrpc/des_crypt.c: Likewise.
38290 * sunrpc/des_soft.c: Likewise.
38291 * sunrpc/get_myaddr.c: Likewise.
38292 * sunrpc/key_call.c: Likewise.
38293 * sunrpc/key_prot.c: Likewise.
38294 * sunrpc/netname.c: Likewise.
38295 * sunrpc/pm_getmaps.c: Likewise.
38296 * sunrpc/pm_getport.c: Likewise.
38297 * sunrpc/pmap_clnt.c: Likewise.
38298 * sunrpc/pmap_prot.c: Likewise.
38299 * sunrpc/pmap_prot2.c: Likewise.
38300 * sunrpc/pmap_rmt.c: Likewise.
38301 * sunrpc/publickey.c: Likewise.
38302 * sunrpc/rpc_cmsg.c: Likewise.
38303 * sunrpc/rpc_common.c: Likewise.
38304 * sunrpc/rpc_dtable.c: Likewise.
38305 * sunrpc/rpc_prot.c: Likewise.
38306 * sunrpc/rpc_thread.c: Likewise.
38307 * sunrpc/rtime.c: Likewise.
38308 * sunrpc/svc.c: Likewise.
38309 * sunrpc/svc_auth.c: Likewise.
38310 * sunrpc/svc_raw.c: Likewise.
38311 * sunrpc/svc_run.c: Likewise.
38312 * sunrpc/svc_tcp.c: Likewise.
38313 * sunrpc/svc_udp.c: Likewise.
38314 * sunrpc/svc_unix.c: Likewise.
38315 * sunrpc/svcauth_des.c: Likewise.
38316 * sunrpc/xcrypt.c: Likewise.
38317 * sunrpc/xdr.c: Likewise.
38318 * sunrpc/xdr_array.c: Likewise.
38319 * sunrpc/xdr_float.c: Likewise.
38320 * sunrpc/xdr_intXX_t.c: Likewise.
38321 * sunrpc/xdr_mem.c: Likewise.
38322 * sunrpc/xdr_rec.c: Likewise.
38323 * sunrpc/xdr_ref.c: Likewise.
38324 * sunrpc/xdr_sizeof.c: Likewise.
38325 * sunrpc/xdr_stdio.c: Likewise.
38327 2012-05-10 Roland McGrath <roland@hack.frob.com>
38329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38330 change. Update copyright years.
38332 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38334 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38336 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38337 Joseph Myers <joseph@codesourcery.com>
38338 Paul Pluzhnikov <ppluzhnikov@google.com>
38341 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38343 [cross-compiling] (extra-libs): Likewise.
38344 [cross-compiling] (extra-libs-others): Likewise.
38345 [cross-compiling] (librpcsvc-routines): Likewise.
38346 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38347 [cross-compiling] (omit-deps): Likewise.
38348 (sunrpc-CPPFLAGS): New variable.
38349 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38350 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38351 (cross-rpcgen-objs): New variable.
38352 (extra-objs): Append $(cross-rpcgen-objs).
38353 ($(cross-rpcgen-objs)): New rule.
38354 ($(objpfx)cross-rpcgen): Likewise.
38355 (rpcgen-cmd): Define to use $(built-program-file). Expand
38357 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38358 ($(objpfx)x%.stmp): Likewise.
38359 * sunrpc/proto.h [IS_IN_build] (_): Define.
38360 [IS_IN_build] (_libc_intl_domainname): Likewise.
38362 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38364 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38365 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38366 and R_X86_64_TPOFF64.
38368 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38370 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38371 sysdeps/unix/sysv/syscalls.list.
38374 * sysdeps/unix/sysv/syscalls.list: Remove file.
38376 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38379 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38380 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38381 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38382 (__LC_IDENTIFICATION): Make these macros useful in #if
38383 expressions, as required by C99.
38385 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38387 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38388 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38391 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38393 * stdlib/longlong.h: Updated from GCC.
38395 2012-05-09 Andreas Jaeger <aj@suse.de>
38397 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38398 default is first entry.
38399 (run_mode): Set type.
38400 (main): Remove informal message about syslog.
38401 (options): Fix typo.
38404 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38407 (llrintf): Likewise.
38408 (llrint): Likewise.
38411 (nearbyint): Likewise.
38412 (nearbyintf): Likewise.
38414 2012-05-09 Andreas Jaeger <aj@suse.de>
38415 Pedro Alves <palves@redhat.com>
38417 * nscd/nscd.c (run_mode): Use enum.
38418 (main): Cleanup coding style issue.
38420 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38421 Andreas Jaeger <aj@suse.de>
38423 * nscd/nscd.c (go_background): Replaced with...
38424 (run_mode): ... this.
38425 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38426 (options): Add -F --foreground.
38427 (main): Implement it.
38428 (parse_opt): Parse it.
38430 2012-05-09 Andreas Jaeger <aj@suse.de>
38433 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38434 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38435 -Wconversion warning.
38436 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38439 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38441 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38443 (LC_ALL): Use macro-int-constant.
38444 (LC_COLLATE): Likewise.
38445 (LC_CTYPE): Likewise.
38446 (LC_MESSAGES): Likewise.
38447 (LC_MONETARY): Likewise.
38448 (LC_NUMERIC): Likewise.
38449 (LC_TIME): Likewise.
38450 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38451 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38452 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38453 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38455 [C99-based standards] (float_t): Expect type.
38456 [C99-based standards] (double_t): Expect type.
38457 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38459 [C99-based standards] (HUGE_VALL): Likewise.
38460 [C99-based standards] (INFINITY): Likewise.
38461 [C99-based standards] (NAN): Likewise.
38462 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38463 [C99-based standards] (FP_NAN): Likewise.
38464 [C99-based standards] (FP_NORMAL): Likewise.
38465 [C99-based standards] (FP_SUBNORMAL): Likewise.
38466 [C99-based standards] (FP_ZERO): Likewise.
38467 [C99-based standards] (FP_FAST_FMA): Use
38468 optional-macro-int-constant. Specify type. Require == 1.
38469 [C99-based standards] (FP_FAST_FMAF): Likewise.
38470 [C99-based standards] (FP_FAST_FMAL): Likewise.
38471 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38472 [C99-based standards] (FP_ILOGBNAN): Likewise.
38473 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38475 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38476 [C99-based standards] (math_errhandling): Specify type.
38477 [ISO99 || ISO11] (signgam): Do not allow.
38478 [non-C99-based standards] (copysignf): Do not allow.
38479 [non-C99-based standards] (exp2f): Likewise.
38480 [non-C99-based standards] (log2f): Likewise.
38481 [non-C99-based standards] (modff): Allow.
38482 [non-C99-based standards] (erff): Do not allow.
38483 [non-C99-based standards] (erfcf): Likewise.
38484 [non-C99-based standards] (gammaf): Likewise.
38485 [non-C99-based standards] (hypotf): Likewise.
38486 [non-C99-based standards] (j0f): Likewise.
38487 [non-C99-based standards] (j1f): Likewise.
38488 [non-C99-based standards] (jnf): Likewise.
38489 [non-C99-based standards] (lgammaf): Likewise.
38490 [non-C99-based standards] (tgammaf): Likewise.
38491 [non-C99-based standards] (y0f): Likewise.
38492 [non-C99-based standards] (y1f): Likewise.
38493 [non-C99-based standards] (ynf): Likewise.
38494 [non-C99-based standards] (isnanf): Likewise.
38495 [non-C99-based standards] (acoshf): Likewise.
38496 [non-C99-based standards] (asinhf): Likewise.
38497 [non-C99-based standards] (atanhf): Likewise.
38498 [non-C99-based standards] (cbrtf): Likewise.
38499 [non-C99-based standards] (expm1f): Likewise.
38500 [non-C99-based standards] (ilogbf): Likewise.
38501 [non-C99-based standards] (log1pf): Likewise.
38502 [non-C99-based standards] (logbf): Likewise.
38503 [non-C99-based standards] (nextafterf): Likewise.
38504 [non-C99-based standards] (remainderf): Likewise.
38505 [non-C99-based standards] (rintf): Likewise.
38506 [non-C99-based standards] (scalbf): Likewise.
38507 [non-C99-based standards] (copysignl): Likewise.
38508 [non-C99-based standards] (exp2l): Likewise.
38509 [non-C99-based standards] (log2l): Likewise.
38510 [non-C99-based standards] (modfl): Allow.
38511 [non-C99-based standards] (erfl): Do not allow.
38512 [non-C99-based standards] (erfcl): Likewise.
38513 [non-C99-based standards] (gammal): Likewise.
38514 [non-C99-based standards] (hypotl): Likewise.
38515 [non-C99-based standards] (j0l): Likewise.
38516 [non-C99-based standards] (j1l): Likewise.
38517 [non-C99-based standards] (jnl): Likewise.
38518 [non-C99-based standards] (lgammal): Likewise.
38519 [non-C99-based standards] (tgammal): Likewise.
38520 [non-C99-based standards] (y0l): Likewise.
38521 [non-C99-based standards] (y1l): Likewise.
38522 [non-C99-based standards] (ynl): Likewise.
38523 [non-C99-based standards] (isnanl): Likewise.
38524 [non-C99-based standards] (acoshl): Likewise.
38525 [non-C99-based standards] (asinhl): Likewise.
38526 [non-C99-based standards] (atanhl): Likewise.
38527 [non-C99-based standards] (cbrtl): Likewise.
38528 [non-C99-based standards] (expm1l): Likewise.
38529 [non-C99-based standards] (ilogbl): Likewise.
38530 [non-C99-based standards] (log1pl): Likewise.
38531 [non-C99-based standards] (logbl): Likewise.
38532 [non-C99-based standards] (nextafterl): Likewise.
38533 [non-C99-based standards] (remainderl): Likewise.
38534 [non-C99-based standards] (rintl): Likewise.
38535 [non-C99-based standards] (scalbl): Likewise.
38536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38537 [non-C99-based standards] (FP_*): Do not allow.
38538 [C99-based standards] (FP_*): Change to
38539 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38540 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38542 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38543 (SIG_ERR): Likewise.
38544 [X/Open-based standards] (SIG_HOLD): Likewise.
38545 (SIG_IGN): Likewise.
38546 (SIGABRT): Use macro-int-constant. Specify type. Require
38548 (SIGFPE): Likewise.
38549 (SIGILL): Likewise.
38550 (SIGINT): Likewise.
38551 (SIGSEGV): Likewise.
38552 (SIGTER): Likewise.
38553 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38554 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38555 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38556 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38557 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38558 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38559 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38560 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38561 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38562 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38563 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38564 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38565 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38566 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38567 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38568 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38569 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38570 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38571 [X/Open-based standards] (SIGTRAP): Likewise.
38572 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38573 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38574 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38575 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38576 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38579 2012-05-08 Ian Wienand <ianw@vmware.com>
38582 * time/tzset.c (__tzset_parse_tz): Update default rules for
38583 daylight time changes in the Energy Policy Act of 2005.
38585 2012-05-09 Andreas Jaeger <aj@suse.de>
38588 * elf/ldconfig.c (parse_conf): Change string to make clear that
38589 ldconfig only issued a warning if ld.so.conf does not exist.
38591 2012-05-08 David S. Miller <davem@davemloft.net>
38593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38594 movxtod instead of popping the value on the stack.
38596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38598 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38600 * config.h.in: Add HAVE_ARM_PCS_VFP.
38602 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38605 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38606 checking but the checks are disabled for any reason.
38608 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38610 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38611 and ELF64_R_TYPE with ELFW(R_TYPE).
38613 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38615 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38616 (ulimit): Likewise.
38618 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38619 (settimeofday): Likewise.
38621 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38623 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38624 a struct th_u2 inside the union, and move tu_block/tu_code into
38625 a new th_u3 union of tu_block/tu_code inside of that. Move
38626 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38627 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38628 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38629 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38630 (th_stuff): Change to th_u1.tu_stuff.
38632 (th_msg): Change to th_u1.th_u2.tu_data.
38634 2012-05-07 David S. Miller <davem@davemloft.net>
38636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38639 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38640 (SETUP_PIC_REG): Use it.
38641 (SETUP_PIC_REG_LEAF): Use it.
38643 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38647 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38649 (EXPL_FINITE): Likewise.
38650 (FLDLOG): Likewise.
38651 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38652 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38654 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38656 (EXPL_FINITE): Likewise.
38657 (FLDLOG): Likewise.
38658 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38659 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38661 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38662 test of -max_value argument for long double.
38663 * sysdeps/i386/fpu/libm-test-ulps: Update.
38664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38666 2012-05-06 David S. Miller <davem@davemloft.net>
38668 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38669 quad soft-float symbols whose references which are compiler
38671 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38673 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38677 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38679 (EXPL_FINITE): Likewise.
38680 (FLDLOG): Likewise.
38683 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38684 Adjust comments for base varying.
38685 (__expl_finite): Change alias to EXPL_FINITE.
38686 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38688 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38689 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38690 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38691 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38692 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38694 (EXPL_FINITE): Likewise.
38695 (FLDLOG): Likewise.
38698 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38699 Adjust comments for base varying.
38700 (__expl_finite): Change alias to EXPL_FINITE.
38701 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38706 * math/libm-test.inc (check_float_internal): Correct ulp
38707 calculation for subnormal expected results.
38709 2012-05-06 Andreas Jaeger <aj@suse.de>
38711 * Makeconfig (+math-flags): New, set to -frounding-math.
38712 (+cflags): Add +math-flags so that all of glibc gets compiled with
38715 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38717 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38719 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38725 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38726 (__ieee754_expl): Allow for and saturate large arguments.
38727 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38728 (u_threshold): Likewise.
38729 (__exp): Call __ieee754_exp before checking for overflow and
38731 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38732 (u_threshold): Likewise.
38733 (__expf): Call __ieee754_expf before checking for overflow and
38735 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38736 (u_threshold): Likewise.
38737 (__expl): Call __ieee754_expl before checking for overflow and
38739 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38740 (__ieee754_expl): Allow for and saturate large arguments.
38741 * math/libm-test.inc (exp_test): Add another test. Do not allow
38742 missing overflow exception on overflow.
38743 (expm1_test): Do not allow missing overflow exception on overflow.
38745 * sysdeps/i386/fpu/e_expl.c: Move to ...
38746 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38747 rather than using inline asm.
38748 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38749 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38750 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38752 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38755 (signal): Likewise.
38759 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38761 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38762 sysdeps/unix/common/syscalls.list.
38763 (fchmod): Likewise.
38764 (fchown): Likewise.
38765 (ftruncate): Likewise.
38766 (getrusage): Likewise.
38767 (gettimeofday): Likewise.
38768 (setpgid): Likewise.
38769 (setregid): Likewise.
38770 (setreuid): Likewise.
38771 (sigaction): Likewise.
38772 (truncate): Likewise.
38773 (vhangup): Likewise.
38774 * sysdeps/unix/common/syscalls.list: Remove file.
38775 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38776 * sysdeps/unix/sysv/linux/Implies: Likewise.
38778 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38780 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38782 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38786 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38789 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38792 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38795 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38798 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38801 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38804 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38808 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38812 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38815 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38819 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38823 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38825 * sysdeps/unix/common/bits/dirent.h: Remove file.
38826 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38828 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38829 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38830 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38831 * sysdeps/unix/bsd/isatty.c: Likewise.
38832 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38833 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38834 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38836 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38839 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38840 long double comparison inaccuracies.
38841 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38844 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38846 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38849 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38852 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38853 nonzero digits before rounding a hex value.
38854 * stdlib/tst-strtod.c (tests): Add another test.
38856 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38858 * sysdeps/s390/fpu/libm-test-ulps: Update.
38860 2012-05-03 Andreas Jaeger <aj@suse.de>
38862 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38863 does not get optimized out.
38864 (malloc_opt_barrier): New.
38866 2012-05-03 Andreas Jaeger <aj@suse.de>
38867 Roland McGrath <roland@hack.frob.com>
38869 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38870 intermediate file deletion.
38871 (generated): Add .symlist files.
38873 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38876 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38877 Redirect under this condition.
38878 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38879 [__USE_GNU] (__dprintf_chk): Not under this condition.
38880 [__USE_GNU] (__vdprintf_chk): Likewise.
38881 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38882 under this condition.
38883 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38884 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38885 [__USE_XOPEN2K8] (vdprintf): Likewise.
38886 [__USE_GNU] (__dprintf_chk): Not under this condition.
38887 [__USE_GNU] (__vdprintf_chk): Likewise.
38888 [__USE_GNU] (dprintf): Likewise.
38889 [__USE_GNU] (vdprintf): Likewise.
38891 2012-05-03 Roland McGrath <roland@hack.frob.com>
38893 * elf/Makefile (common-generated): Set this instead of generated for
38894 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38895 $(all-built-dso)-derived lists.
38897 2012-05-03 Andreas Jaeger <aj@suse.de>
38899 * sysdeps/i386/fpu/libm-test-ulps: Update.
38902 * FAQ.in: Likewise.
38903 * scripts/gen-FAQ.pl: Likewise.
38904 * manual/install.texi (Installation): Point to online location of
38906 * Makefile (files-for-dist): Remove FAQ.
38909 2012-05-02 Allan McRae <allan@archlinux.org>
38911 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38912 (LDFLAGS-reldepmod5.so): Likewise.
38913 (LDFLAGS-reldep6mod1.so): Likewise.
38914 (LDFLAGS-reldep6mod4.so): Likewise.
38915 (LDFLAGS-reldep8mod3.so): Likewise.
38916 (LDFLAGS-unload4mod1.so): Likewise.
38917 (LDFLAGS-unload4mod2.so): Likewise.
38918 (LDFLAGS-tst-initorder): Likewise.
38919 (LDFLAGS-tst-initordera2.so): Likewise.
38920 (LDFLAGS-tst-initordera3.so): Likewise.
38921 (LDFLAGS-tst-initordera4.so): Likewise.
38922 (LDFLAGS-tst-initorderb2.so): Likewise.
38923 (LDFLAGS-noload): Likewise.
38924 (LDFLAGS-next): Likewise.
38925 (LDFLAGS-order2mod1.so): Likewise.
38926 (LDFLAGS-order2mod2.so): Likewise.
38927 (LDFLAGS-tst-initorder2): Likewise.
38928 (LDFLAGS-tst-initorder2a.so): Likewise.
38929 (LDFLAGS-tst-initorder2b.so): Likewise.
38930 (LDFLAGS-tst-initorder2c.so): Likewise.
38931 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38933 2012-05-02 David S. Miller <davem@davemloft.net>
38935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38937 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38940 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38942 2012-05-02 Andreas Jaeger <aj@suse.de>
38944 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38945 since we manipulate rounding mode.
38946 (CPPFLAGS-test-idouble.c): Likewise.
38947 (CPPFLAGS-test-ifloat.c): Likewise.
38948 (CFLAGS-test-ldouble.c): Likewise.
38949 (CFLAGS-test-double.c): Likewise.
38950 (CFLAGS-test-float.c): Likewise.
38951 (CFLAGS-test-misc.c): Likewise.
38952 (CFLAGS-test-test-fenv.c): Likewise.
38954 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38958 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38959 comparisons to determine direction to adjust input.
38961 2012-05-01 Roland McGrath <roland@hack.frob.com>
38963 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38964 output to the target.
38966 * scripts/localplt.awk: New file.
38967 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38968 (check-localplt-CFLAGS): Variable removed.
38969 ($(all-built-dso:=.jmprel)): New static pattern rule.
38970 (generated): Add those targets.
38971 (localplt-built-dso): New variable.
38972 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38974 * elf/check-localplt.c: File removed.
38976 * scripts/check-execstack.awk: New file.
38977 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38978 (check-execstack-CFLAGS): Variable removed.
38979 ($(objpfx)check-execstack.h): Target removed.
38980 ($(objpfx)execstack-default): New target.
38981 (generated): Add that instead of check-execstack.h.
38982 ($(all-built-dso:=.phdr)): New static pattern rule.
38983 (generated): Add those targets.
38984 * elf/check-execstack.c: File removed.
38986 * scripts/check-textrel.awk: New file.
38987 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38988 (check-textrel-CFLAGS): Variable removed.
38989 (all-built-dso): Use := to define.o
38990 ($(all-built-dso:=.dyn)): New static pattern rule.
38991 (generated): Add those targets.
38992 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38993 * config.make.in (READELF): New substituted variable.
38994 * elf/check-textrel.c: File removed.
38996 2012-05-01 Joseph Myers <joseph@codesourcery.com>
38998 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39000 * conform/data/ctype.h-data [C99-based standards] (isblank):
39002 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39003 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39004 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39005 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39006 Specify type. Require positive value.
39007 (EILSEQ): Likewise.
39008 (ERANGE): Likewise.
39009 [ISO || POSIX] (EILSEQ): Do not expect.
39010 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39011 Specify type. Require positive value.
39012 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39013 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39014 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39015 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39016 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39017 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39018 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39019 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39020 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39021 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39022 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39023 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39024 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39025 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39026 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39027 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39028 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39029 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39030 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39031 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39032 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39033 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39034 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39035 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39036 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39037 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39038 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39039 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39040 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39041 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39042 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39043 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39044 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39045 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39046 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39047 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39048 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39049 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39050 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39051 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39052 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39053 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39054 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39055 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39056 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39057 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39058 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39059 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39060 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39061 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39062 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39063 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39064 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39065 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39066 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39067 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39068 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39071 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39072 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39073 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39074 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39075 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39076 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39077 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39078 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39079 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39080 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39081 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39082 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39083 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39084 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39085 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39086 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39087 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39088 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39090 (FLT_ROUNDS): Expect as macro, not constant.
39091 (FLT_MANT_DIG): Use macro-int-constant.
39092 (DBL_MANT_DIG): Likewise.
39093 (LDBL_MANT_DIG): Likewise.
39094 (FLT_DIG): Likewise.
39095 (DBL_DIG): Likewise.
39096 (LDBL_DIG): Likewise.
39097 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39098 (DBL_MIN_EXP): Likewise.
39099 (LDBL_MIN_EXP): Likewise.
39100 (FLT_MAX_EXP): Use macro-int-constant.
39101 (DBL_MAX_EXP): Likewise.
39102 (LDBL_MAX_EXP): Likewise.
39103 (FLT_MAX_10_EXP): Likewise.
39104 (DBL_MAX_10_EXP): Likewise.
39105 (LDBL_MAX_10_EXP): Likewise.
39106 (FLT_MAX): Use macro-constant.
39107 (DBL_MAX): Likewise.
39108 (LDBL_MAX): Likewise.
39109 (FLT_EPSILON): Use macro-constant. Give upper bound.
39110 (DBL_EPSILON): Likewise.
39111 (LDBL_EPSILON): Likewise.
39112 (FLT_MIN): Likewise.
39113 (DBL_MIN): Likewise.
39114 (LDBL_MIN): Likewise.
39115 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39116 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39117 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39118 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39119 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39120 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39121 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39122 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39123 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39124 [ISO11] (FLT_TRUE_MIN): Likewise.
39125 [ISO11] (LDBL_TRUE_MIN): Likewise.
39126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39127 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39128 (SCHAR_MIN): Use macro-int-constant. Specify type.
39129 (SCHAR_MAX): Likewise.
39130 (UCHAR_MAX): Likewise.
39131 (CHAR_MIN): Likewise.
39132 (CHAR_MAX): Likewise.
39133 (MB_LEN_MAX): Use macro-int-constant.
39134 (SHRT_MIN): Use macro-int-constant. Specify type.
39135 (SHRT_MAX): Likewise.
39136 (USHRT_MAX): Likewise.
39137 (INT_MAX): Likewise.
39138 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39140 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39142 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39144 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39145 bound negative. Suffix upper bound with "L".
39146 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39148 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39150 [C99-based standards] (LLONG_MAX): Likewise.
39151 [C99-based standards] (ULLONG_MAX): Likewise.
39152 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39154 [ISO11] (max_align_t): Require type.
39155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39157 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39158 from $CFLAGS, without defining away __attribute__ calls.
39159 (checknamespace): Use $CFLAGS_namespace.
39161 * conform/conformtest.pl (@keywords): Only include C99 keywords
39162 for standards based on C99 or C11.
39164 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39166 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39169 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39170 usability of symbols in #if.
39172 * conform/conformtest.pl: If macro or constant types start
39173 "promoted:", expect the symbol to be of the following type
39174 promoted by the integer promotions.
39176 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39177 in one place. Also handle "macro-constant".
39179 * conform/conformtest.pl: Only accept expected macro values with
39180 "==". Parse all "macro" lines in one place.
39181 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39183 * conform/conformtest.pl: Handle braced types on "constant" lines
39184 instead of handling "typed-constant".
39185 * conform/data/signal.h-data: Use "constant" instead of
39188 * conform/conformtest.pl: Handle "optional-" at start of lines in
39189 one place rather than duplicating several cases. Handle each
39190 format of "macro" line with initial "optional-".
39192 * conform/conformtest.pl: Only accept expected constant or
39193 optional-constant values with "==". Parse all "constant" lines in
39194 one place. Parse all "optional-constant" lines in one place.
39195 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39196 * conform/data/fmtmsg.h-data: Likewise.
39197 * conform/data/netinet/in.h-data: Likewise.
39198 * conform/data/tar.h-data: Likewise.
39199 * conform/data/limits.h-data: Use "==" form on "constant" and
39200 "optional-constant" lines.
39202 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39203 Use -std=c99 for XOPEN2K.
39204 (@knownproblems): Remove.
39205 (newtoken): Don't check %isknown.
39207 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39208 Do not expect macro.
39209 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39210 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39211 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39212 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39213 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39214 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39215 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39216 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39217 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39218 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39219 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39220 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39221 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39222 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39223 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39224 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39225 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39226 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39227 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39228 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39229 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39230 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39231 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39232 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39233 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39234 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39235 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39236 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39237 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39238 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39239 [XPG3] (acosh): Likewise.
39240 [XPG3] (asinh): Likewise.
39241 [XPG3] (atanh): Likewise.
39242 [XPG3] (cbrt): Likewise.
39243 [XPG3] (expm1): Likewise.
39244 [XPG3] (ilogb): Likewise.
39245 [XPG3] (log1p): Likewise.
39246 [XPG3] (logb): Likewise.
39247 [XPG3] (nextafter): Likewise.
39248 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39249 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39250 [XPG3] (remainder): Likewise.
39251 [XPG3] (rint): Likewise.
39252 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39253 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39254 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39255 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39256 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39257 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39258 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39259 [UNIX98 || XOPEN2K] (scalb): Expect.
39260 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39261 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39262 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39263 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39264 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39265 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39266 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39267 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39268 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39269 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39270 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39271 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39272 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39273 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39274 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39275 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39276 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39277 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39278 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39279 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39280 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39281 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39282 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39283 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39284 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39285 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39286 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39287 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39288 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39289 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39290 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39291 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39292 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39293 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39294 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39295 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39296 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39297 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39298 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39299 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39300 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39301 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39302 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39303 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39304 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39305 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39306 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39307 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39308 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39309 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39310 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39311 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39312 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39313 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39314 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39315 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39316 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39317 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39318 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39319 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39320 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39321 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39322 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39323 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39324 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39325 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39326 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39327 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39328 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39329 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39330 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39331 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39332 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39333 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39334 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39335 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39336 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39337 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39338 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39339 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39340 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39341 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39342 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39343 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39344 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39345 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39346 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39347 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39348 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39349 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39350 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39351 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39352 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39353 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39354 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39355 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39356 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39357 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39358 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39359 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39360 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39362 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39363 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39372 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39373 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39380 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39381 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39382 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39383 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39384 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39385 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39386 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39387 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39388 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39390 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39391 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39392 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39393 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39398 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39399 _XOPEN_SOURCE_EXTENDED for XPG4.
39401 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39403 * Makeconfig (localtime): Remove variable.
39404 (inst_localtime-file): Likewise.
39406 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39427 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39431 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39432 comparisons to determine direction to adjust input.
39433 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39434 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39435 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39439 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39441 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39442 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39444 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39446 * math/libm-test.inc (nexttoward_test): Add more tests.
39448 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39451 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39452 in version GLIBC_2.1, not GLIBC_2.0.
39453 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39456 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39459 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39461 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39462 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39463 * math/libm-test.inc (acos_test): Add more tests.
39464 (asin_test): Likewise.
39465 * sysdeps/i386/fpu/libm-test-ulps: Update.
39466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39469 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39471 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39472 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39473 * math/libm-test.inc (acos_test_tonearest): New function.
39474 (acos_test_towardzero): Likewise.
39475 (acos_test_downward): Likewise.
39476 (acos_test_upward): Likewise.
39477 (asin_test_tonearest): Likewise.
39478 (asin_test_towardzero): Likewise.
39479 (asin_test_downward): Likewise.
39480 (asin_test_upward): Likewise.
39481 (main): Call the new functions.
39482 * sysdeps/i386/fpu/libm-test-ulps: Update.
39483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39487 * math/e_exp10.c: Include <float.h>.
39488 (__ieee754_exp10): Handle underflow here rather than multiplying
39489 large negative argument by M_LN10.
39490 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39492 * math/e_exp10l.c: Include <float.h>.
39493 (__ieee754_exp10l): Handle underflow here rather than multiplying
39494 large negative argument by M_LN10l.
39495 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39496 spurious overflow exception on underflow.
39498 2012-04-29 Marek Polacek <polacek@redhat.com>
39500 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39501 (__fortify_function): New macro.
39502 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39503 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39504 __extern_always_inline.
39505 * libio/bits/stdio2.h: Likewise.
39506 * libio/bits/stdio.h: Likewise.
39507 * string/string.h: Likewise.
39508 * string/bits/string3.h: Likewise.
39509 * include/stdio.h: Likewise.
39510 * stdlib/bits/stdlib.h: Likewise.
39511 * stdlib/stdlib.h: Likewise.
39512 * rt/bits/mqueue2.h: Likewise.
39513 * rt/mqueue.h: Likewise.
39514 * posix/bits/unistd.h: Likewise.
39515 * posix/unistd.h: Likewise.
39516 * io/bits/poll2.h: Likewise.
39517 * io/bits/fcntl2.h: Likewise.
39518 * io/fcntl.h: Likewise.
39519 * io/sys/poll.h: Likewise.
39520 * misc/bits/syslog.h: Likewise.
39521 * misc/bits/syslog-ldbl.h: Likewise.
39522 * misc/sys/syslog.h: Likewise.
39523 * socket/bits/socket2.h: Likewise.
39524 * socket/sys/socket.h: Likewise.
39525 * debug/tst-chk1.c: Likewise.
39526 * wcsmbs/bits/wchar2.h: Likewise.
39527 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39528 * wcsmbs/wchar.h: Likewise.
39530 2012-04-29 Andreas Jaeger <aj@suse.de>
39532 * Makerules (tests): Remove enable-check-abi protection.
39533 (check-abi-warn): Remove.
39534 (check-abi-%): Remove check-abi-warn usage.
39536 * configure.in: Remove check-abi configure option.
39537 * configure: Regenerated.
39538 * config.make.in (enable-check-abi): Remove.
39540 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39543 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39544 double functions to double *_finite functions.
39547 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39548 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39550 * stdio-common/Makefile (tests): Add tst-sprintf3.
39551 * stdio-common/tst-sprintf3.c: New file.
39553 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39554 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39556 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39558 * conform/conformtest.pl: Remove duplicate typed-constant
39561 2012-04-28 David S. Miller <davem@davemloft.net>
39563 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39564 (check-abi-%): Remove AWK script prerequisite and explicit
39566 (check-abi): Rewrite to just diff the symlist with the abilist.
39567 (config-tls, config-abi-config): Delete, no longer used.
39568 (update-abi-%): Remove AWK script and explicit abilist directory.
39569 (update-abi): Rewrite to simply compare and conditionally copy the
39570 symlist and the sysdep abilist file. Remove update-abi-config
39572 * abilist/ld.abilist: Remove.
39573 * abilist/libBrokenLocale.abilist: Remove.
39574 * abilist/libanl.abilist: Remove.
39575 * abilist/libcrypt.abilist: Remove.
39576 * abilist/libdl.abilist: Remove.
39577 * abilist/librt.abilist: Remove.
39578 * abilist/libthread_db.abilist: Remove.
39579 * abilist/libutil.abilist: Remove.
39580 * scripts/extract-abilist.awk: Remove.
39581 * scripts/merge-abilist.awk: Remove.
39582 * sysdeps/generic/libcidn.abilist: New file.
39583 * sysdeps/generic/libnss_compat.abilist: New file.
39584 * sysdeps/generic/libnss_db.abilist: New file.
39585 * sysdeps/generic/libnss_dns.abilist: New file.
39586 * sysdeps/generic/libnss_files.abilist: New file.
39587 * sysdeps/generic/libnss_hesiod.abilist: New file.
39588 * sysdeps/generic/libnss_nis.abilist: New file.
39589 * sysdeps/generic/libnss_nisplus.abilist: New file.
39590 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39591 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39592 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39594 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39595 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39596 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39597 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39598 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39599 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39600 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39601 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39602 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39604 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39605 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39606 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39607 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39609 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39610 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39611 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39612 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39613 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39614 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39616 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39617 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39618 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39620 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39633 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39635 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39637 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39639 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39641 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39709 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39715 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39717 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39723 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39724 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39725 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39728 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39729 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39730 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39731 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39732 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39733 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39734 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39735 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39736 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39750 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39752 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39773 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39775 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39777 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39779 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39788 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39790 * conform/conformtest.pl: Fix typo in handling typed-constant from
39793 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39795 * README: Cut down references to pre-2.6 Linux kernels and
39796 Linuxthreads. Update lists of configurations in libc and ports
39797 and sort alphabetically. Say "or newer" with Linux kernel version
39800 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39802 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39805 * math/libm-test.inc (logb_test_downward): New test to expose
39806 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39809 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39812 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39814 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39815 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39817 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39819 * sysdeps/unix/i386/brk.S: Remove file.
39820 * sysdeps/unix/i386/dl-brk.S: Likewise.
39821 * sysdeps/unix/i386/pipe.S: Likewise.
39822 * sysdeps/unix/i386/sigreturn.S: Likewise.
39823 * sysdeps/unix/i386/syscall.S: Likewise.
39824 * sysdeps/unix/i386/vfork.S: Likewise.
39825 * sysdeps/unix/i386/wait.S: Likewise.
39827 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39828 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39830 * configure.in (arm*-none*): Do not allow without
39831 --enable-hacker-mode.
39832 (netbsd*): Remove case setting base_os.
39833 (386bsd*): Likewise.
39834 (freebsd*): Likewise.
39837 (sunos*): Likewise.
39838 (ultrix*): Likewise.
39839 (newsos*): Likewise.
39840 (dynix*): Likewise.
39846 (minix*): Likewise.
39847 (irix4*): Likewise.
39848 (irix6*): Likewise.
39849 (solaris[2-9]*): Likewise.
39851 * configure: Regenerated.
39853 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39856 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39857 overflow or cancellation in calculating denominator.
39858 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39860 down expression to avoid unexpected rounding in newer GCCs.
39861 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39863 2012-04-26 David S. Miller <davem@davemloft.net>
39865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39866 long-double compat symbols.
39867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39881 2012-04-25 David S. Miller <davem@davemloft.net>
39883 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39884 HWCAP_* values only after the memory barriers have been defined.
39885 (atomic_full_barrier): Define.
39886 (atomic_read_barrier): Define.
39887 (atomic_write_barrier): Define.
39889 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39891 * shlib-versions: Add libgcc_s version information.
39892 * sysdeps/generic/libgcc_s.h: Remove.
39893 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39895 * sysdeps/gnu/unwind-resume.c: Likewise.
39896 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39898 2012-04-25 David S. Miller <davem@davemloft.net>
39900 * sysdeps/unix/sparc/brk.S: Delete.
39901 * sysdeps/unix/sparc/dl-brk.S: Delete.
39902 * sysdeps/unix/sparc/pipe.S: Delete.
39903 * sysdeps/unix/sparc/sysdep.S: Delete.
39904 * sysdeps/unix/sparc/sysdep.h: Delete.
39905 * sysdeps/unix/sparc/vfork.S: Delete.
39906 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39907 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39908 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39909 (ret_ERRVAL, r0, r1, MOVE): Define.
39910 (JUMPTARGET): Remove.
39911 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39912 sysdeps/unix/sparc/sysdep.h
39913 (ENTRY, END): Remove.
39914 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39916 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39918 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39919 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39922 * timezone/README: Update upstream location and email address for
39924 * timezone/zdump.c: Update from tzcode 2012b.
39925 * timezone/zic.c: Likewise.
39927 * configure.in (libc_cv_as_needed): Remove test.
39928 * configure: Regenerated.
39929 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39930 conditional definition.
39931 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39932 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39933 * config.make.in (have-as-needed): Remove variable.
39935 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39936 Paul Pluzhnikov <ppluzhnikov@google.com>
39938 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39941 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39943 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39944 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39945 * sysdeps/sh/strlen.S: Likewise.
39947 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39949 * sysdeps/unix/fork.S: Remove file.
39950 * sysdeps/unix/i386/fork.S: Likewise.
39951 * sysdeps/unix/sparc/fork.S: Likewise.
39953 * sysdeps/unix/system.c: Remove file.
39954 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39956 * sysdeps/unix/getegid.S: Remove file.
39957 * sysdeps/unix/geteuid.S: Likewise.
39959 2012-04-24 Roland McGrath <roland@hack.frob.com>
39961 * scripts/check-localplt.awk: New file.
39962 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39964 * scripts/data/localplt-generic.data: Add a comment.
39966 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39967 NODE when __dir_mkfile failed.
39968 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39969 Reported by Ludovic Courtès <ludo@gnu.org>.
39971 2012-04-24 Andreas Jaeger <aj@suse.de>
39973 * Makerules (common-clean): Also remove gen-as-const-headers
39976 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39978 * Makerules (native-compile): Do not change working directory for
39979 build. Use $(OUTPUT_OPTION) in command.
39980 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39982 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39985 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39986 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39987 * math/libm-test.inc (floor_test): Add more tests.
39988 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39990 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39992 * sysdeps/unix/getdents.c: Remove file.
39993 * sysdeps/unix/sysv/getdents.c: Likewise.
39994 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39996 * sysdeps/unix/syscalls.list (madvise): Add syscall from
39997 sysdeps/unix/mman/syscalls.list.
39999 (mprotect): Likewise.
40001 (munmap): Likewise.
40002 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40003 * sysdeps/unix/mman/syscalls.list: Remove.
40004 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40006 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40007 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40008 * configure: Regenerated.
40009 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40010 $(libgcc_s_suffix).
40011 * config.make.in (libgcc_s_suffix): Remove variable.
40013 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40015 * sysdeps/unix/sysv/gethostname.c: Move to ...
40016 * sysdeps/posix/gethostname.c: ... here.
40018 * sysdeps/unix/execve.S: Remove file.
40020 * sysdeps/unix/_exit.S: Remove file.
40022 2012-04-23 Andreas Jaeger <aj@suse.de>
40025 * manual/Makefile: Remove make dist support, there's no
40026 need for a stand-alone documentation tar ball.
40027 (TEXI2DVI): Define always, it's not in Makeconfig.
40030 (edition): Removed.
40031 (glibc-doc-$(edition).tar): Removed
40035 (ETAGS): Remove, it's in Makeconfig.
40036 (move-if-change): Remove, it's in Makeconfig.
40038 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40041 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40042 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40043 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40044 (strtod_l, strtof_l, strtold_l): Remove __wur.
40045 It is not necessarily an error to ignore strtol's return value.
40046 One can reliably look at the stored endptr to decide whether
40047 the number had valid syntax.
40049 2012-04-21 Andreas Jaeger <aj@suse.de>
40052 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40054 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40056 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40057 * sysdeps/unix/sysv/Versions: Remove file.
40059 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40064 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40068 version from __vm86.
40070 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40072 * sysdeps/unix/common/lxstat.c: Remove file.
40073 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40075 * sysdeps/unix/sysv/Makefile: Remove file.
40077 * sysdeps/unix/sysv/direct.h: Remove file.
40079 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40080 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40081 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40082 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40083 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40084 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40085 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40087 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40089 * sysdeps/unix/xmknod.c: Remove file.
40090 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40092 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40094 * sysdeps/unix/sysv/i386/time.S: Remove file.
40096 * sysdeps/unix/fxstat.c: Remove file.
40097 * sysdeps/unix/xstat.c: Likewise.
40098 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40100 * sysdeps/unix/sysv/sigaction.c: Remove file.
40102 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40103 (sysdep_headers): Remove variable.
40104 [termio.h not in sysdep_headers] (generated): Likewise.
40105 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40106 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40107 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40108 * sysdeps/unix/sysv/tcflow.c: Likewise.
40109 * sysdeps/unix/sysv/tcflush.c: Likewise.
40110 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40111 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40112 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40113 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40114 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40116 * sysdeps/unix/siglist.c: Remove file.
40118 * sysdeps/unix/getppid.S: Remove file.
40120 * sysdeps/unix/mkdir.c: Remove file.
40121 * sysdeps/unix/rmdir.c: Likewise.
40123 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40125 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40127 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40128 errlist-compat value.
40130 2012-04-18 David S. Miller <davem@davemloft.net>
40132 * sysdeps/generic/memcopy.h (reg_char): Delete.
40133 * debug/strcat_chk.c: Use char, not reg_char.
40134 * debug/strcpy_chk.c: Likewise.
40135 * debug/strncat_chk.c: Likewise.
40136 * debug/strncpy_chk.c: Likewise.
40137 * string/memchr.c: Likewise.
40138 * string/memrchr.c: Likewise.
40139 * string/rawmemchr.c: Likewise.
40140 * string/strcat.c: Likewise.
40141 * string/strchr.c: Likewise.
40142 * string/strchrnul.c: Likewise.
40143 * string/strcmp.c: Likewise.
40144 * string/strcpy.c: Likewise.
40145 * string/strncat.c: Likewise.
40146 * string/strncmp.c: Likewise.
40147 * string/strncpy.c: Likewise.
40149 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40151 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40152 __builtin_memcopy is called when src and dest ranges are known to not
40155 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40157 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40158 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40159 fwd_align_merge macro call.
40160 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40161 bwd_align_merge macro call.
40162 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40164 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40166 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40167 bwd_align_merge macros.
40168 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40169 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40170 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40172 2012-04-18 David S. Miller <davem@davemloft.net>
40174 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40176 2012-04-18 Andreas Jaeger <aj@suse.de>
40179 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40180 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40181 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40183 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40184 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40185 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40187 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40188 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40189 Adjust for changed ldbl-128 files.
40191 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40192 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40193 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40195 2012-04-17 David S. Miller <davem@davemloft.net>
40197 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40199 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40201 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40202 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40203 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40204 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40205 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40206 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40208 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40211 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40212 * math/libm-test.inc: Add ilogb errno and exception tests.
40213 * math/w_ilogb.c: New file: ilogb wrapper.
40214 * math/w_ilogbf.c: New file: ilogbf wrapper.
40215 * math/w_ilogbl.c: New file: ilogbl wrapper.
40216 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40217 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40218 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40219 exception being thrown with 0.0 as argument.
40220 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40221 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40222 exception being thrown with 0.0 as argument.
40223 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40224 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40225 exception being thrown with 0.0 as argument.
40226 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40227 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40228 exception being thrown with 0.0 as argument.
40229 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40230 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40231 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40232 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40233 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40234 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40235 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40236 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40237 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40239 2012-04-17 Petr Baudis <pasky@ucw.cz>
40241 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40244 2012-04-16 Marek Polacek <polacek@redhat.com>
40246 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40248 2012-04-16 Marek Polacek <polacek@redhat.com>
40250 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40251 operands of fdivp instruction.
40253 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40255 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40256 * elf/tst-auditmod3b.c: Likewise.
40257 * elf/tst-auditmod4b.c: Likewise.
40258 * elf/tst-auditmod5b.c: Likewise.
40259 * elf/tst-auditmod6b.c: Likewise.
40260 * elf/tst-auditmod6c.c: Likewise.
40261 * elf/tst-auditmod7b.c: Likewise.
40262 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40263 * sysdeps/x86_64/preconfigure.in: Likewise.
40264 * sysdeps/x86_64/preconfigure: Regenerated.
40266 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40268 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40271 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40273 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40274 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40276 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40279 * locale/iso-639.def: Fix gl language name. Spotted by
40282 2012-04-12 Roland McGrath <roland@hack.frob.com>
40285 * libio/libio.h (__io_write_fn): Update comment.
40287 2012-04-12 Petr Baudis <pasky@ucw.cz>
40290 * stdio.texi (Hook Functions): The user provided writer function
40291 is not allowed to return -1.
40293 2012-04-11 David S. Miller <davem@davemloft.net>
40295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40297 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40299 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40300 Add a leading slash to rtkaio.
40302 2012-04-11 Jim Meyering <meyering@redhat.com>
40305 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40306 It is not necessarily an error to ignore fwrite's return
40307 value. One can reliably use ferror to test for errors after
40310 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40312 * bits/types.h (__snseconds_t): New type.
40313 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40315 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40317 (__SNSECONDS_T_TYPE): Likewise.
40318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40319 (__SNSECONDS_T_TYPE): Likewise.
40320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40321 (__SNSECONDS_T_TYPE): Likewise.
40323 2012-04-10 Andreas Jaeger <aj@suse.de>
40326 * manual/time.texi (Processor Time): Return type of times is
40327 elapsed real time since an arbitrary point in the past.
40328 (CPU Time): Move CLK_TCK from here...
40329 (Processor Time): ...to here. Correct description.
40330 * manual/conf.texi (Constants for Sysconf): Correct description of
40333 2012-04-10 David S. Miller <davem@davemloft.net>
40336 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40337 where the is a gap between DT_REL(A) and DT_JMPREL.
40339 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40341 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40342 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40343 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40345 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40347 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40348 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40349 (dl_main): Handle --inhibit-cache.
40350 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40352 * elf/dl-load.c (_dl_map_object): Use it.
40353 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40355 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40358 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40359 (__ieee754_powl): Saturate large exponents rather than testing for
40360 overflow of y*log2(x).
40361 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40362 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40366 * math/s_ctan.c: Include <float.h>.
40367 (__ctan): Avoid internal overflow or cancellation in calculating
40369 * math/s_ctanf.c: Likewise.
40370 * math/s_ctanl.c: Likewise.
40371 * math/s_ctanh.c: Likewise.
40372 * math/s_ctanhf.c: Likewise.
40373 * math/s_ctanhl.c: Likewise.
40374 * math/libm-test.inc (ctan_test): Add more tests.
40375 (ctanh_test): Likewise.
40376 * sysdeps/i386/fpu/libm-test-ulps: Update.
40377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40379 2012-04-09 Andreas Jaeger <aj@suse.de>
40382 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40383 is an optional BSD extension.
40386 * manual/stdio.texi (Opening Streams): Document additional fopen
40389 2012-04-09 Roland McGrath <roland@hack.frob.com>
40391 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40392 %eax without telling the compiler.
40394 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40397 * manual/install.texi: Use sourceware.org.
40399 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40402 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40403 (__ieee754_pow): Generate overflow and underflow using huge*huge
40404 and tiny*tiny rather than just returning constant infinity or zero
40405 for large exponents.
40406 * math/libm-test.inc (pow_test): Require overflow exceptions for
40407 applicable cases of large exponents.
40410 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40411 (__ieee754_pow): Use iterative multiplication algorithm only for
40412 integer exponents with absolute value below 1024. Check for odd
40413 integer exponents when using algorithm for real exponents.
40414 * math/libm-test.inc (pow_test): Add more tests.
40415 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40417 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40420 * math/libm-test.inc (exp_test): Do not allow overflow exception
40423 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40426 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40427 instead of __kernel_standard_f.
40429 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40431 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40432 * sysdeps/x86_64/memset_chk.S: Likewise.
40434 2012-04-08 Andreas Jaeger <aj@suse.de>
40437 * manual/startup.texi (Environment Access): Describe return value
40438 for putenv and setenv.
40441 * manual/filesys.texi (Directory Entries): Add description for
40445 * manual/filesys.texi (Directory Entries): Clarify that it's file
40446 system not operating system in the description of DT_UNKNOWN.
40449 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40451 2012-04-08 Stephen Compall <s11@member.fsf.org>
40454 * manual/llio.texi (Opening and Closing Files): Add cross
40455 reference to explain mode argument.
40457 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40459 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40460 * sysdeps/x86_64/memset_chk.S: Likewise.
40462 2012-04-07 David S. Miller <davem@davemloft.net>
40464 * elf/elf.h (R_SPARC_WDISP10): Define.
40465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40467 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40468 R_SPARC_SIZE64 and R_SPARC_H34.
40470 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40472 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40473 conditions and remove no longer applicable assertion.
40475 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40477 * bits/byteswap.h: Include <features.h>.
40478 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40479 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40481 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40483 * bits/byteswap.h (__bswap_16): Removed.
40484 Include <bits/byteswap-16.h> to get __bswap_16.
40485 * sysdeps/i386/bits/byteswap.h: Likewise.
40486 * sysdeps/s390/bits/byteswap.h: Likewise.
40487 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40488 * bits/byteswap-16.h: New file.
40489 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40490 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40491 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40492 * string/Makefile (headers): Add bits/byteswap-16.h.
40494 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40497 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40499 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40500 * nss/tst-nss-static.c: New.
40502 2012-04-06 Robert Millan <rmh@gnu.org>
40505 * manual/llio.texi (File Position Primitive): lseek
40506 refers to WHENCE when it really means OFFSET.
40508 2012-04-06 Andreas Jaeger <aj@suse.de>
40510 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40511 strncmp declarations.
40513 * abilist/libc.abilist: Add __poll and __ppoll.
40515 2012-04-05 David S. Miller <davem@davemloft.net>
40517 * scripts/check-local-headers.sh: Accept a host triplet in the
40518 path matched by the exclude regexp.
40520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40522 * sysdeps/powerpc/powerpc32/dl-machine.h
40523 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40524 * sysdeps/s390/s390-32/dl-machine.h
40525 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40526 * sysdeps/sparc/sparc32/dl-machine.h
40527 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40528 * sysdeps/sparc/sparc64/dl-machine.h
40529 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40531 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40533 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40534 undefined symbol errors.
40536 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40539 2012-04-05 Michael Matz <matz@suse.de>
40542 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40544 2012-04-05 Andreas Jaeger <aj@suse.de>
40547 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40550 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40552 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40553 which ROUND is no valid rounding mode.
40555 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40557 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40559 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40561 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40563 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40564 an exception using FPU order intentionally.
40566 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40568 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40569 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40570 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40571 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40573 2012-04-05 Simon Josefsson <simon@josefsson.org>
40576 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40577 EINVAL when BUFLEN is too smal.
40579 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40582 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40583 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40585 2012-04-03 Andreas Jaeger <aj@suse.de>
40588 * manual/setjmp.texi (System V contexts): Fix sentence.
40591 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40592 New macro for this case.
40593 [!__GNUC__] (__bswap_64): New inline function for this case.
40594 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40595 * bits/byteswap.h: Likewise.
40596 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40597 ull, guard with __GLIBC_HAVE_LONG_LONG.
40599 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40600 __GLIBC_HAVE_LONG_LONG.
40602 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40603 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40605 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40608 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40609 inptr and inend, rather than using last_ch.
40611 2012-04-02 David S. Miller <davem@davemloft.net>
40613 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40614 * stdio-common/printf-parse.h (read_int): Change return type to
40615 'int', return -1 on INT_MAX overflow.
40616 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40617 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40618 overflows INT_MAX. Check for overflow of in-format-string precision
40619 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40620 SIZE_MAX not INT_MAX for integer overflow test.
40621 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40622 skip the construct in the format string but do not record anything.
40623 * stdio-common/bug22.c: Adjust to test both width/prevision
40624 INT_MAX overflow as well as total length INT_MAX overflow. Check
40625 explicitly for proper errno values.
40627 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40629 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40631 * string/test-strcmp.c [! WIDE]: Likewise.
40632 * time/tst-mktime2.c: Likewise for INT_MAX.
40633 * string/test-string.h: #include <sys/param.h> for MIN.
40635 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40636 * sysdeps/i386/init-first.c (init): Likewise.
40637 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40638 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40639 * sysdeps/sh/init-first.c (init): Likewise.
40641 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40643 * po/ru.po: Update from translation team.
40644 * po/vi.po: Likewise.
40646 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40648 * resolv/nss_dns/dns-host.c: Merge copyright years.
40650 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40652 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40653 Optimize memcpy with prefetch if
40654 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40655 src, dst pointers have unequal 16 byte alignments.
40657 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40660 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40661 from a CNAME entry and return the minimum ttl for the query.
40662 (gaih_getanswer_slice): Likewise.
40664 2012-03-30 Jeff Law <law@redhat.com>
40666 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40668 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40669 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40671 * resolv/nss_dns/dns-host.c: Update copyright year.
40673 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40675 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40676 requests to save a system call. Fix check that all bytes are sent.
40678 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40679 comments for sendmmsg.
40681 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40684 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40685 with only 1 character between 0x0041 and 0x01b0.
40686 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40687 * wcsmbs/tst-mbsnrtowcs.c: New file.
40689 2012-03-29 David S. Miller <davem@davemloft.net>
40691 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40692 small copies by hand.
40694 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40697 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40698 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40701 2012-03-28 David S. Miller <davem@davemloft.net>
40703 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40704 that branches into memcpy.
40705 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40706 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40707 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40708 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40711 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40712 implementation too.
40713 * sysdeps/sparc/mempcpy.S: New file.
40715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40716 the IFUNC routine in the libc case.
40717 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40719 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40720 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40721 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40722 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40723 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40724 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40725 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40726 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40728 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40729 loop to 256 bytes instead of 64 bytes and fix test signedness.
40731 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40732 * sysdeps/sparc/sparc32/Makefile: rather than here...
40733 * sysdeps/sparc/sparc64/Makefile: and here.
40735 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40737 * malloc/mallocbug.c: Avoid warnings about unused variables.
40739 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40742 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40743 in the right place. Discard and retry query if response is
40744 larger than input buffer size.
40746 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40751 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40752 x for large integer exponent.
40753 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40754 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40755 sign of result as needed afterwards.
40756 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40757 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40758 result for underflowing pow the same as for overflow.
40759 (__kernel_standard_l): Handle powl overflow and underflow here
40760 rather than calling __kernel_standard.
40761 * math/libm-test.inc (pow_test): Add more tests.
40776 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40777 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40778 (__kernel_standard_l): New function.
40779 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40781 * math/w_acosl.c (__acosl): Likewise.
40782 * math/w_asinl.c (__asinl): Likewise.
40783 * math/w_atan2l.c (__atan2l): Likewise.
40784 * math/w_atanhl.c (__atanhl): Likewise.
40785 * math/w_coshl.c (__coshl): Likewise.
40786 * math/w_exp10l.c (__exp10l): Likewise.
40787 * math/w_exp2l.c (__exp2l): Likewise.
40788 * math/w_fmodl.c (__fmodl): Likewise.
40789 * math/w_hypotl.c (__hypotl): Likewise.
40790 * math/w_j0l.c (__j0l, __y0l): Likewise.
40791 * math/w_j1l.c (__j1l, __y1l): Likewise.
40792 * math/w_jnl.c (__jnl, __ynl): Likewise.
40793 * math/w_lgammal.c (__lgammal): Likewise.
40794 * math/w_log10l.c (__log10l): Likewise.
40795 * math/w_log2l.c (__log2l): Likewise.
40796 * math/w_logl.c (__logl): Likewise.
40797 * math/w_powl.c (__powl): Likewise.
40798 * math/w_remainderl.c (__remainderl): Likewise.
40799 * math/w_scalbl.c (sysv_scalbl): Likewise.
40800 * math/w_sinhl.c (__sinhl): Likewise.
40801 * math/w_sqrtl.c (__sqrtl): Likewise.
40802 * math/w_tgammal.c (__tgammal): Likewise.
40803 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40804 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40805 * math/libm-test.inc (acos_test): Add more tests.
40806 (acosh_test): Likewise.
40807 (asin_test): Likewise.
40808 (atanh_test): Likewise.
40809 (exp_test): Likewise.
40810 (exp10_test): Likewise.
40811 (exp2_test): Likewise.
40812 (expm1_test): Likewise.
40813 (lgamma_test): Likewise.
40814 (log_test): Likewise.
40815 (log10_test): Likewise.
40816 (log1p_test): Likewise.
40817 (log2_test): Likewise.
40818 (pow_test): Do not allow some spurious overflow exceptions.
40819 (sqrt_test): Add more tests.
40820 (tgamma_test): Likewise.
40821 (y0_test): Likewise.
40822 (y1_test): Likewise.
40823 (yn_test): Likewise.
40825 2012-03-27 Anton Blanchard <anton@samba.org>
40827 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40829 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40830 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40831 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40833 2012-03-27 David S. Miller <davem@davemloft.net>
40835 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40837 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40838 have-as-vis3 check.
40840 2012-03-27 Andreas Jaeger <aj@suse.de>
40842 * sysdeps/x86_64/elf/configure.in: Moved to ...
40843 * sysdeps/x86_64/configure.in: ... here.
40844 * sysdeps/x86_64/elf/start.S: Moved to ...
40845 * sysdeps/x86_64/start.S: ... here.
40846 * sysdeps/x86_64/elf/configure: Delete.
40848 * sysdeps/x86_64/configure.in: Merge contents from
40849 sysdeps/i386/configure.in (without i686 check).
40851 * sysdeps/i386/elf/Versions: Merge into ...
40852 * sysdeps/i386/Versions: ... this.
40853 * sysdeps/i386/elf/Versions: Delete file.
40854 * sysdeps/i386/elf/start.S: Moved to ...
40855 * sysdeps/i386/start.S: ...here.
40856 * sysdeps/i386/elf/configure.in: Merge into...
40857 * sysdeps/i386/configure.in: ...here.
40858 * sysdeps/i386/elf/configure.in: Delete file.
40859 * sysdeps/i386/elf/configure: Delete file.
40861 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40862 * debug/backtracesyms.c: ... here.
40863 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40864 * debug/backtracesymsfd.c: ... here.
40865 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40866 * sysdeps/generic/ifunc-sel.h: ... here.
40868 * sysdeps/unix/i386/start.c: Delete file.
40869 * sysdeps/unix/sparc/start.c: Delete file.
40870 * sysdeps/unix/start.c: Delete file.
40872 * sysdeps/sh/elf/configure.in: Moved to ...
40873 * sysdeps/sh/configure.in: ... here.
40874 * sysdeps/sh/elf/start.S: Moved to ...
40875 * sysdeps/sh/start.S: ... here.
40876 * sysdeps/sh/elf/configure: Delete file.
40878 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40879 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40880 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40881 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40882 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40883 * sysdeps/powerpc/powerpc64/start.S: here.
40884 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40885 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40886 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40887 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40888 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40890 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40891 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40892 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40893 * sysdeps/powerpc/powerpc32/start.S: ... here.
40894 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40895 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40896 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40898 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40899 * sysdeps/powerpc/ifunc-sel.h: ... here.
40900 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40901 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40903 * sysdeps/sparc/elf/configure.in: Moved to ...
40904 * sysdeps/sparc/configure.in: ... here.
40905 * sysdeps/sparc/elf/configure: Delete file.
40906 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40907 * sysdeps/sparc/sparc32/start.S: ... here.
40908 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40909 * sysdeps/sparc/sparc64/start.S: ... here.
40910 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40911 * sysdeps/sparc/sparc32/Makefile: ... this.
40912 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40913 * sysdeps/sparc/sparc64/Makefile: ... this.
40915 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40916 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40917 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40918 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40919 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40920 * sysdeps/s390/s390-32/setjmp.S: ... here.
40921 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40922 * sysdeps/s390/s390-32/configure.in: ... here.
40923 * sysdeps/s390/s390-32/elf/configure: Delete file.
40924 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40925 * sysdeps/s390/s390-32/start.S: ... here.
40927 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40928 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40929 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40930 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40931 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40932 * sysdeps/s390/s390-64/setjmp.S: ... here.
40933 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40934 * sysdeps/s390/s390-64/configure.in: ... here
40935 * sysdeps/s390/s390-64/elf/configure: Delete file.
40936 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40937 * sysdeps/s390/s390-64/start.S: ... here.
40938 * sysdeps/s390/s390-64/elf/configure: Delete.
40940 * configure.in: Remove support for elf directories in sysdeps.
40942 * configure: Regenerated.
40943 * sysdeps/i386/configure: Regenerated.
40944 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40945 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40946 * sysdeps/s390/s390-32/configure: Regenerated.
40947 * sysdeps/s390/s390-64/configure: Regenerated.
40948 * sysdeps/sh/configure: Regenerated.
40949 * sysdeps/sparc/configure: Regenerated.
40950 * sysdeps/x86_64/configure: Regenerated.
40952 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40956 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40957 denormal result into account.
40959 2012-03-25 Roland McGrath <roland@hack.frob.com>
40961 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40962 Reported by Allan McRae <allan@archlinux.org>.
40964 2012-03-23 Jeff Law <law@redhat.com>
40966 * nss/getnssent.c (__nss_getent): Fix typo.
40968 2012-03-23 David S. Miller <davem@davemloft.net>
40970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40972 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40974 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40975 to pad to uint64_t for each field.
40976 (dl_tls_index): Replace unsigned long with uint64_t.
40978 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40979 Paul Pluzhnikov <ppluzhnikov@google.com>
40982 * grp/Makefile (otherlibs): Don't set it.
40983 * inet/Makefile (otherlibs): Likewise.
40984 * login/Makefile (otherlibs): Likewise.
40985 * nscd/Makefile (otherlibs): Likewise.
40986 * posix/Makefile (otherlibs): Likewise.
40987 * pwd/Makefile (otherlibs): Likewise.
40988 * rt/Makefile (otherlibs): Likewise.
40989 * sunrpc/Makefile (otherlibs): Likewise.
40990 * nss/Makefile (otherlibs): Likewise.
40991 Add libnss_files to routines and static-only-routines.
40992 ($(objpfx)getent): Remove rule.
40993 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40994 static-only-routines.
40996 2012-03-22 Joseph Myers <joseph@codesourcery.com>
40999 * math/s_cexp.c: Include <float.h>.
41000 (__cexp): Handle exp result overflowing not necessarily
41001 overflowing both real and imaginary parts of result.
41002 * math/s_cexpf.c: Likewise.
41003 * math/s_cexpl.c: Likewise.
41004 * math/libm-test.inc (cexp_test): Add more tests.
41005 * sysdeps/i386/fpu/libm-test-ulps: Update.
41006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41008 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41010 * include/link.h (ELFW): New macro.
41011 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41012 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41014 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41016 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41019 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41021 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41023 (struct La_x32_retval): Likewise.
41025 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41027 * sysdeps/x86_64/preconfigure.in: New file.
41028 * sysdeps/x86_64/preconfigure: New generated file.
41030 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41033 * math/e_exp2l.c: Include <float.h>.
41034 (__ieee754_exp2l): Handle overflow and underflow cases
41035 separately. Only pass fractional part of argument to
41037 * math/libm-test.inc (exp2_test): Add more tests.
41039 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41040 negating x to take absolute value.
41041 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41043 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41044 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41046 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41047 computing low part if x was negated.
41048 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41050 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41052 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41053 la_x32_gnu_pltexit.
41054 (pltexit): Cast int_retval to ptrdiff_t.
41055 * elf/tst-auditmod3b.c: Likewise.
41056 * elf/tst-auditmod4b.c: Likewise.
41057 * elf/tst-auditmod5b.c: Likewise.
41058 * elf/tst-auditmod6b.c: Likewise.
41059 * elf/tst-auditmod6c.c: Likewise.
41060 * elf/tst-auditmod7b.c: Likewise.
41062 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41063 and x32_gnu_pltexit.
41065 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41066 __ELF_NATIVE_CLASS.
41067 (La_x32_regs): New macro.
41068 (La_x32_retval): Likewise.
41069 (la_x32_gnu_pltenter): New function prototype.
41070 (la_x32_gnu_pltexit): Likewise.
41072 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41074 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41079 * configure.in (libc_cv_cc_nofma): Check for option to disable
41080 generation of FMA instructions.
41081 * configure: Regenerate.
41082 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41083 * sysdeps/ieee754/dbl-64/Makefile: New file.
41084 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41085 Remove brandred-fma4.
41086 (CFLAGS-brandred-fma4.c): Remove.
41087 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41088 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41090 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41093 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41095 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41096 LLONG_MAX != LONG_MAX.
41097 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41098 (_fitoa_word): Likewise.
41099 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41100 LLONG_MAX != LONG_MAX.
41101 * stdio-common/_itowa.h: Include <_itoa.h>.
41102 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41103 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41104 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41105 only if not defined.
41106 (_ITOA_WORD_TYPE): Likewise.
41107 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41108 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41110 2012-03-21 David S. Miller <davem@davemloft.net>
41112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41114 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41116 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41117 of x86_64 when setting libc_cv_slibdir, libdir and
41119 * sysdeps/unix/sysv/linux/configure: Regenerated.
41121 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41123 * manual/lang.texi (Old Varargs): Remove section.
41124 (How Variadic): Update menu.
41125 (va_start): Do not mention varargs.h.
41127 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41128 Joseph Myers <joseph@codesourcery.com>
41130 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41132 * configure: Regenerated.
41134 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41136 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41137 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41140 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41143 * Makefile (files-for-dist): Remove NOTES.
41144 (NOTES): Remove rule.
41145 * README: Don't refer to NOTES.
41146 * manual/creature.texi: Don't include macros.texi.
41147 * manual/intro.texi (creature.texi): Remove comment referring to
41150 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41151 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41152 * configure: Regenerated.
41153 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41154 LIBC_TRY_CC_OPTION.
41155 (libc_cv_as_i686): Likewise.
41156 (libc_cv_cc_avx): Likewise.
41157 (libc_cv_cc_sse2avx): Likewise.
41158 (libc_cv_cc_fma4): Likewise.
41159 (libc_cv_cc_novzeroupper): Likewise.
41160 * sysdeps/i386/configure: Regenerated.
41163 * sysdeps/i386/fpu/s_cexp.S: Remove.
41164 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41165 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41166 * math/libm-test.inc (cexp_test): Add more tests.
41167 * sysdeps/i386/fpu/libm-test-ulps: Update.
41168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41170 2012-03-21 Allan McRae <allan@archlinux.org>
41172 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41174 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41177 * math/w_exp2.c: Do not include <float.h>.
41178 (o_threshold, u_threshold): Remove.
41179 (__exp2): Calculate result before checking finiteness and calling
41181 * math/w_exp2f.c: Likewise.
41182 * math/w_exp2l.c: Likewise.
41183 * math/libm-test.inc (exp2_test): Require overflow exception for
41187 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41188 range of signed 64-bit integers before using fistpll. Remove
41189 checks for whether integers fit in mantissa bits.
41190 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41191 the range of signed 32-bit integers before using fistpl. Remove
41192 checks for whether integers fit in mantissa bits.
41193 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41194 (__ieee754_powl): Test for y outside the range of signed 64-bit
41195 integers before using fistpll. Reduce 64-bit values to 63-bit
41197 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41198 divide-by-zero is raised for zero to large negative powers.
41199 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41200 (__ieee754_powl): Test for y outside the range of signed 64-bit
41201 integers before using fistpll. Reduce 64-bit values to 63-bit
41203 * math/libm-test.inc (pow_test): Add more tests.
41205 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41207 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41208 <stdio-common/_itoa.h>.
41209 * debug/segfault.c: Likewise.
41210 * elf/dl-cache.c: Likewise.
41211 * elf/dl-minimal.c: Likewise.
41212 * elf/dl-misc.c: Likewise.
41213 * elf/dl-sysdep.c: Likewise.
41214 * elf/dl-version.c: Likewise.
41215 * elf/rtld.c: Likewise.
41216 * hurd/hurdsock.c: Likewise.
41217 * hurd/lookup-retry.c: Likewise.
41218 * malloc/malloc.c: Likewise.
41219 * malloc/mtrace.c: Likewise.
41220 * nscd/nscd_getgr_r.c: Likewise.
41221 * nscd/nscd_getpw_r.c: Likewise.
41222 * nscd/nscd_getserv_r.c: Likewise.
41223 * posix/getopt_init.c: Likewise.
41224 * posix/wordexp.c: Likewise.
41225 * stdio-common/_itoa.c: Likewise.
41226 * stdio-common/printf_fphex.c: Likewise.
41227 * stdio-common/vfprintf.c: Likewise.
41228 * string/_strerror.c: Likewise.
41229 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41230 * sysdeps/i386/i686/hp-timing.h: Likewise.
41231 * sysdeps/mach/_strerror.c: Likewise.
41232 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41233 * sysdeps/mach/hurd/sethostid.c: Likewise.
41234 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41235 * sysdeps/mach/xpg-strerror.c: Likewise.
41236 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41237 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41238 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41239 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41240 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41241 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41242 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41243 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41244 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41245 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41246 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41247 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41248 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41249 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41250 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41251 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41252 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41253 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41254 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41255 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41256 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41258 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41260 * stdio-common/_itoa.h: Moved to ...
41261 * sysdeps/generic/_itoa.h: Here.
41263 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41265 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41266 instead of "_itoa.h" and "_itowa.h".
41267 * stdio-common/vfprintf.: Likewise.
41269 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41271 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41273 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41274 (__signbit): Likwise.
41275 (llrintf): Likwise.
41278 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41280 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41283 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41285 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41286 OVERFLOW_EXCEPTION_OK.
41287 * math/libm-test.inc ("Philosophy"): Update comment about
41289 (OVERFLOW_EXCEPTION): Define.
41290 (OVERFLOW_EXCEPTION_OK): Likewise.
41291 (INVALID_EXCEPTION_OK): Renumber.
41292 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41293 (IGNORE_ZERO_INF_SIGN): Likewise.
41294 (test_exceptions): Handle FE_OVERFLOW.
41295 (exp10_test): Expect overflow exceptions.
41296 (exp2_test): Likewise.
41297 (expm1_test): Likewise.
41298 (nextafter_test): Likewise.
41299 (pow_test): Likewise.
41300 (scalbn_test): Likewise.
41301 (scalbln_test): Likewise.
41303 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41305 * sysdeps/x86_64/bits/atomic.h
41306 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41308 (atomic_exchange_acq): Likewise.
41309 (__arch_exchange_and_add_body): Likewise.
41310 (__arch_add_body): Likewise.
41311 (atomic_add_negative): Likewise.
41312 (atomic_add_zero): Likewise.
41314 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41316 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41317 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41321 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41322 Check __x86_64__ instead of __WORDSIZE.
41324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41326 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41328 2012-03-19 David S. Miller <davem@davemloft.net>
41330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41332 * sysdeps/sparc/fpu/fenv_private.h: New file.
41333 * sysdeps/sparc/fpu/math_private.h: Use it.
41334 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41336 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41337 (libc_feholdexcept_setroundl): Remove.
41338 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41340 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41341 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41343 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41345 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41346 int64_t instead of long int.
41347 (INSERT_WORDS64): Likwise.
41349 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41351 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41352 _Unwind_GetCFA return to _Unwind_Ptr first.
41354 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41357 * math/s_clog.c: Include <float.h>.
41358 (__clog): Scale large or subnormal inputs.
41359 * math/s_clogf.c: Likewise.
41360 * math/s_clogl.c: Likewise.
41361 * math/s_clog10.c: Include <float.h>.
41362 (M_LOG10_2): Define.
41363 (__clog10): Scale large or subnormal inputs.
41364 * math/s_clog10f.c: Likewise.
41365 * math/s_clog10l.c: Likewise.
41366 * math/libm-test.inc (clog_test): Add more tests.
41367 (clog10_test): Likewise.
41368 * sysdeps/i386/fpu/libm-test-ulps: Update.
41369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41372 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41374 * math/libm-test.inc (atan2_test): Add another test.
41376 * Makerules (common-objdir-compile): Remove.
41377 * sysdeps/unix/Makefile (config-generated): Do not add
41378 $(unix-generated) to variable.
41379 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41380 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41382 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41384 [generic bits/local_lim.h] (before-compile): Do not append to
41386 [generic bits/local_lim.h] (common-generated): Likewise.
41387 [generic sys/param.h] (before-compile): Do not append to variable.
41388 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41389 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41390 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41391 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41393 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41394 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41395 [generic sys/param.h] ($(addprefix
41396 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41397 [generic sys/param.h] (common-generated): Do not append to
41399 [generic sys/param.h] (sysdep_headers): Likewise.
41400 [generic bits/errno.h] (before-compile): Do not append to
41402 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41404 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41405 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41406 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41407 [generic bits/errno.h] (common-generated): Do not append to
41409 [generic bits/ioctls.h] (before-compile): Do not append to
41411 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41413 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41414 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41415 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41417 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41418 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41419 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41420 [generic bits/ioctls.h] (common-generated): Do not append to
41422 [generic sys/syscall.h] (syscall.h): Remove variable.
41423 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41425 [generic sys/syscall.h] (before-compile): Do not append to
41427 [generic sys/syscall.h] (common-generated): Likewise.
41428 * sysdeps/unix/errnos-tmpl.c: Remove file.
41429 * sysdeps/unix/errnos.awk: Likewise.
41430 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41431 * sysdeps/unix/ioctls.awk: Likewise.
41432 * sysdeps/unix/mk-local_lim.c: Likewise.
41433 * sysdeps/unix/snarf-ioctls: Likewise.
41435 2012-03-19 Richard Henderson <rth@twiddle.net>
41437 * sysdeps/i386/fpu/fenv_private.h: New file.
41438 * sysdeps/i386/fpu/math_private.h: Use it.
41439 (math_opt_barrier, math_force_eval): Remove.
41440 (libc_feholdexcept_setround_53bit): Remove.
41441 (libc_feupdateenv_53bit): Remove.
41442 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41443 (math_opt_barrier, math_force_eval): Remove.
41444 (libc_feholdexcept): Remove.
41445 (libc_feholdexcept_setround): Remove.
41446 (libc_fetestexcept, libc_fesetenv): Remove.
41447 (libc_feupdateenv_test): Remove.
41448 (libc_feupdateenv, libc_feholdsetround): Remove.
41449 (libc_feresetround): Remove.
41451 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41452 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41454 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41455 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41456 (libc_feupdateenv_testl): New.
41457 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41458 (libc_feupdateenv_testf): New.
41459 (libc_feupdateenv): Use libc_feupdateenv_test.
41460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41461 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41463 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41464 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41465 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41466 (libc_feresetround_noex): New.
41467 (libc_feresetround_noexf): New.
41468 (libc_feresetround_noexl): New.
41469 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41470 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41471 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41472 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41477 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41478 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41479 SET_RESTORE_ROUND_NOEX.
41480 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41481 SET_RESTORE_ROUND_NOEXF.
41482 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41483 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41484 (libc_feholdsetroundf): New.
41485 (libc_feresetround, libc_feresetroundf): New.
41487 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41488 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41489 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41491 * sysdeps/generic/math_private.h: Include <fenv.h>.
41492 (default_libc_feholdexcept): New.
41493 (default_libc_feholdexcept_setround): New.
41494 (default_libc_fesetenv, default_libc_feupdateenv): New.
41495 (libc_feholdexcept): Only define if undefined.
41496 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41497 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41498 (libc_feholdexcept_setroundl): Likewise.
41499 (libc_feholdexcept_setround_53bit): Likewise.
41500 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41501 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41502 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41503 (libc_feupdateenv_53bit): Likewise.
41504 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41505 (libc_feholdexcept): Convert from macro to inline function.
41506 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41507 (libc_fesetenv, libc_feupdateenv): Likewise.
41509 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41510 not previously defined.
41511 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41512 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41513 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41514 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41515 * sysdeps/ieee754/flt-32/math_private.h: New file.
41516 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41517 math_private.h below SET_FLOAT_WORD.
41518 (__isnan, __isinf_ns, __finite): Remove.
41519 (__isnanf, __isinf_nsf, __finitef): Remove.
41521 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41525 2012-03-17 David S. Miller <davem@davemloft.net>
41528 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41531 2012-03-16 David S. Miller <davem@davemloft.net>
41533 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41537 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41539 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41540 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41541 sysdep_routines when subdir is sysvipc.
41542 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41543 __getshmlba helper.
41545 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41547 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41549 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41552 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41555 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41556 (__lround): Renamed to ...
41557 (__llround): This. Replace long int with long long int.
41558 Define lround functions as aliases of llround functions.
41559 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41561 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41563 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41564 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41565 adresses to uintptr_t. Replace "long int" and "unsigned long
41566 int" with "greg_t" on va_arg.
41568 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41570 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41571 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41573 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41574 Move e_machine check before EI_CLASS check. Handle x32
41575 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41576 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41577 SKIP_EM_IA_64 and include
41578 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41580 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41581 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41582 (add_system_dir): New macro.
41584 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41585 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41587 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41598 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41600 * math/w_j0f.c (j0f): Likewise.
41602 * math/w_j0l.c (__j0l): Likewise.
41604 * math/w_j1.c (j1): Likewise.
41606 * math/w_j1f.c (j1f): Likewise.
41608 * math/w_j1l.c (__j1l): Likewise.
41610 * math/w_jn.c (jn): Likewise.
41612 * math/w_jnf.c (jnf): Likewise.
41614 * math/w_jnl.c (__jnl): Likewise.
41616 * math/libm-test.inc (j0_test): Add more tests.
41617 (j1_test): Likewise.
41618 (jn_test): Likewise. Add trailing semicolon to existing test.
41619 (y0_test): Likewise.
41620 (y1_test): Likewise.
41621 * sysdeps/i386/fpu/libm-test-ulps: Update.
41622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41626 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41627 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41628 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41629 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41630 (__tanl): Set errno for infinite argument.
41631 * sysdeps/i386/fpu/mptan.c: Remove.
41632 * sysdeps/i386/fpu/s_tan.S: Likewise.
41633 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41634 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41635 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41636 * math/libm-test.inc (tan_test): Add more tests and enable more
41637 tests for double and long double.
41638 * sysdeps/i386/fpu/libm-test-ulps: Update.
41639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41641 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41643 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41644 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41646 2012-03-16 Roland McGrath <roland@hack.frob.com>
41648 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41649 * configure.in: Use it for both main tree and add-ons.
41650 * configure: Regenerated.
41652 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41654 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41656 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41658 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41662 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41663 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41664 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41665 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41666 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41668 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41669 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41670 != 0 for prec == 2.
41671 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41672 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41673 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41674 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41675 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41676 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41677 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41678 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41679 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41680 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41681 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41682 * math/libm-test.inc (cos_test): Add more tests and enable more
41683 tests for long double.
41684 (sin_test): Likewise.
41685 (sincos_test): Likewise.
41686 * sysdeps/i386/fpu/libm-test-ulps: Update.
41687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41689 2012-03-16 David S. Miller <davem@davemloft.net>
41691 * sysdeps/sparc/fpu/math_private.h: New file.
41693 2012-03-15 David S. Miller <davem@davemloft.net>
41695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41705 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41709 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41710 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41712 * sysdeps/sparc/sparc-ifunc.h: New file.
41713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41739 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41740 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41741 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41742 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41743 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41744 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41747 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41748 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41751 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41752 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41753 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41754 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41758 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41760 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41764 2012-03-15 Andreas Jaeger <aj@suse.de>
41767 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41768 ieee754/flt-32 implementation for sin, cos and sincos.
41769 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41770 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41771 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41772 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41773 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41774 ieee754/flt-32 implementation for tan.
41776 * math/libm-test.inc (cos_test): Enable some large input tests for
41778 (sin_test): Likewise.
41779 (sincos_test): Likewise.
41780 (tan_test): Add tests for large input.
41782 * sysdeps/i386/fpu/libm-test-ulps: Update.
41784 2012-03-15 Andreas Jaeger <aj@suse.de>
41787 * math/libm-test.inc (cos_test): Add more test cases.
41788 (sin_test): Likewise.
41789 (sincos_test): Likewise.
41791 2012-03-15 Andreas Jaeger <aj@suse.de>
41794 * math/libm-test.inc (cos_test): Add a test case for large input
41796 (sin_test): Likewise.
41797 (sincos_test): Likewise.
41799 2012-03-15 Andreas Jaeger <aj@suse.de>
41800 Joseph Myers <joseph@codesourcery.com>
41803 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41804 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41805 * sysdeps/i386/fpu/branred.c: Likewise.
41806 * sysdeps/i386/fpu/dosincos.c: Likewise.
41807 * sysdeps/i386/fpu/mpa.c: Likewise.
41808 * sysdeps/i386/fpu/s_cos.S: Likewise.
41809 * sysdeps/i386/fpu/s_sin.S: Likewise.
41810 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41811 * sysdeps/i386/fpu/sincos32.c: Likewise.
41813 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41815 (libc_feupdateenv_53bit): Define.
41816 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41818 (libc_feupdateenv_53bit): Define.
41820 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41821 53 bit (without extend i386 double precision).
41823 * math/libm-test.inc (sincos_test): Add tests for large input.
41827 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41829 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41833 2012-03-15 David S. Miller <davem@davemloft.net>
41835 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41836 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41837 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41838 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41862 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41863 fmin/fmax sysdep routines.
41864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41866 2012-03-14 David S. Miller <davem@davemloft.net>
41868 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41872 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41873 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41874 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41876 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41877 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41880 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41881 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41882 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41888 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41889 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41890 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41892 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41893 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41894 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41896 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41940 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41945 * sysdeps/sparc/configure.in: New file.
41946 * sysdeps/sparc/configure: Generate.
41947 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41948 * configure: Regenerate.
41949 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41950 * config.make.in (have-as-vis3): New.
41951 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41952 available use -Av9d instead of -Av9a.
41953 * sysdeps/sparc/sparc64/Makefile: Likewise.
41954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41963 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41964 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41965 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41966 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41969 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41970 fzeros/fnegs to load 0x80000000 into a float register instead of
41972 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41974 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41978 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41979 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41980 ($(inst_includedir)/bits/syscall.h): Remove rule.
41981 ($(objpfx)bits/syscall.d): Include instead of
41982 $(objpfx)syscall-list.d.
41983 (generated): Change syscall-list.h and syscall-list.d to
41984 bits/syscall.h and bits/syscall.d.
41986 2012-03-14 Roland McGrath <roland@hack.frob.com>
41989 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41991 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41994 * math/s_csqrt.c: Include <float.h>.
41995 (__csqrt): Scale large or subnormal inputs.
41996 * math/s_csqrtf.c: Likewise.
41997 * math/s_csqrtl.c: Likewise.
41998 * math/libm-test.inc (csqrt_test): Add more tests.
41999 * sysdeps/i386/fpu/libm-test-ulps: Update.
42000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42003 * math/libm-test.inc (hypot_test): Add more tests.
42005 2012-03-13 David S. Miller <davem@davemloft.net>
42008 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42009 double-precision for the calculation instead of scaling.
42011 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42013 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42014 manipulate bits before adding and subtracting TWO52[sx].
42015 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42016 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42018 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42020 2012-03-13 David S. Miller <davem@davemloft.net>
42022 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42023 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42025 rtld-global-offsets.h
42026 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42028 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42031 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42033 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42034 'err' in the ifdef scope in which it is actually used.
42036 * nss/nss_db/db-init.c: Include string.h
42038 2012-03-12 David S. Miller <davem@davemloft.net>
42040 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42041 masking out of the most significant byte of random value used.
42042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42043 Fix coding style in previous change.
42045 * sysdeps/unix/sysv/linux/kernel-features.h
42046 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42047 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42049 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42052 2012-03-11 David S. Miller <davem@davemloft.net>
42054 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42055 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42057 for 'resultvar' otherwise things get truncated on 64-bit.
42059 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42060 Fix masking out of the most significant byte of random value used.
42062 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42064 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42068 2012-03-09 David S. Miller <davem@davemloft.net>
42070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42071 variables with appropriate CPP guards.
42072 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42073 from the frame pointer, not the stack pointer. Correct layout
42074 comments. Fix test on resulting framesize and the management of
42075 the outregs buffer for pltexit. Preserve floating point return
42076 values across _dl_call_pltexit call.
42077 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42078 framesize and the management of the outregs buffer for pltexit.
42079 Preserve floating point return values across _dl_call_pltexit
42081 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42082 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42083 (la_sparc64_gnu_pltexit): New functions.
42084 (print_exit): Fix format string for return register value.
42086 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42088 * sunrpc/Makefile (others): Add rpcgen.
42089 ($(objpfx)rpcgen): Remove special build rule and dependency on
42091 * sunrpc/rpcgen.c: New file.
42093 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42096 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42097 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42098 * sysdeps/i386/crti.S: Likewise.
42099 * sysdeps/i386/crtn.S: Likewise.
42100 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42101 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42102 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42103 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42104 * sysdeps/sh/crti.S: Likewise.
42105 * sysdeps/sh/crtn.S: Likewise.
42106 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42109 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42111 * locale/programs/locfile-kw.gperf: Likewise.
42112 * locale/programs/charmap-kw.h: Regenerated.
42113 * locale/programs/locfile-kw.h: Likewise.
42116 * intl/plural.y: Replace FSF snail mail address with URL.
42117 * intl/plural.c: Regenerated.
42119 2012-03-09 Richard Henderson <rth@twiddle.net>
42121 * include/math_private.h: Remove file.
42122 * math/math_private.h: Move file ...
42123 * sysdeps/generic/math_private.h: ... here.
42125 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42126 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42127 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42129 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42130 and <math_private.h>.
42131 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42132 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42133 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42134 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42135 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42136 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42137 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42151 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42152 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42153 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42154 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42155 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42156 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42157 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42160 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42161 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42166 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42168 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42169 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42170 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42174 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42175 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42176 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42177 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42178 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42179 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42181 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42182 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42183 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42184 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42212 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42213 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42219 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42220 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42221 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42222 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42223 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42224 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42225 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42226 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42227 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42228 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42229 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42230 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42231 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42232 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42233 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42234 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42235 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42236 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42237 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42238 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42239 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42240 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42241 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42242 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42243 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42244 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42245 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42246 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42248 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42249 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42250 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42251 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42252 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42253 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42254 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42255 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42256 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42257 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42258 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42259 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42260 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42261 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42262 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42263 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42264 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42265 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42266 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42267 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42268 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42269 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42270 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42271 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42272 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42273 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42274 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42275 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42276 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42277 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42278 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42279 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42280 * sysdeps/ieee754/k_standard.c: Likewise.
42281 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42282 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42283 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42284 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42288 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42289 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42290 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42291 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42292 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42293 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42294 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42295 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42296 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42297 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42298 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42299 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42300 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42301 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42302 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42303 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42304 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42305 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42306 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42307 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42308 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42309 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42310 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42311 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42312 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42314 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42315 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42316 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42317 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42318 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42320 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42321 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42322 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42325 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42326 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42396 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42400 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42401 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42403 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42404 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42406 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42408 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42411 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42413 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42416 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42420 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42421 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42426 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42429 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42430 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42431 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42441 * sysdeps/ieee754/s_lib_version.c: Likewise.
42442 * sysdeps/ieee754/s_matherr.c: Likewise.
42443 * sysdeps/ieee754/s_signgam.c: Likewise.
42444 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42445 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42446 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42447 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42448 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42449 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42450 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42451 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42452 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42453 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42454 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42455 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42456 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42457 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42458 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42459 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42460 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42461 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42463 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42464 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42466 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42468 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42469 * sunrpc/rpc_main.c: Likewise.
42470 * sunrpc/rpc_svcout.c: Likewise.
42472 2012-03-09 David S. Miller <davem@davemloft.net>
42474 * include/math_private.h: New file.
42476 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42478 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42479 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42480 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42481 from <bits/socket_type.h>.
42482 (enum __socket_type): Don't define here.
42483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42485 bits/socket_type.h.
42488 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42489 checking __USE_GNU.
42491 * Makerules ($(inst_includedir)/%.h): New rule.
42492 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42493 (install-others): Remove variable setting.
42494 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42496 2012-03-08 Richard Henderson <rth@twiddle.net>
42498 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42499 from macro to inline function; merge with the
42500 !__LIBC_INTERNAL_MATH_INLINES version.
42501 (__ieee754_sqrtf): Likewise.
42503 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42504 to inline function.
42505 (__rintf, __floor, __floorf): Likewise.
42507 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42508 macro to inline function.
42509 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42512 not <math/math_private.h>.
42514 2012-03-08 David S. Miller <davem@davemloft.net>
42516 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42518 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42520 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42522 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42524 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42525 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42527 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42529 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42530 be defined individually, they must be defined as a block. Define
42531 S for printing a string instead of hidint the different by using a
42532 macro for adding the 'l'.
42533 * stdio-common/tst-fphex-wide.c: Adjust.
42535 2012-03-07 Marek Polacek <polacek@redhat.com>
42537 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42539 2012-03-08 Marek Polacek <polacek@redhat.com>
42542 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42543 * stdio-common/tst-fphex.c: Define a few macros to make the
42544 test reusable. Use them.
42545 * stdio-common/tst-fphex-wide.c: New file.
42547 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42550 * manual/macros.texi (gnusystems): New macro.
42551 (nongnusystems): Likewise.
42552 (gnulinuxhurdsystems): Likewise.
42553 (gnuhurdsystems): Likewise..
42554 (gnulinuxsystems): Likewise.
42555 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42556 variants of the GNU system, not "GNU system".
42557 * manual/conf.texi: Likewise.
42558 * manual/errno.texi: Likewise. Update example of errno macro
42560 * manual/filesys.texi: Likewise.
42561 (getumask): Document as specific to GNU/Hurd.
42562 * manual/install.texi: Likewise. Reword some references to
42564 * manual/intro.texi: Likewise.
42565 * manual/io.texi: Likewise.
42566 (File Name Portability): Detail which constraints are inapplicable
42567 to all GNU systems and which are only inapplicable to GNU/Hurd.
42568 * manual/job.texi: Likewise.
42569 * manual/llio.texi: Likewise.
42570 (O_NOCTTY): Document as present on GNU/Linux.
42571 * manual/maint.texi: Likewise.
42572 * manual/memory.texi: Likewise.
42573 * manual/pattern.texi: Likewise.
42574 * manual/pipe.texi: Likewise.
42575 * manual/process.texi: Likewise.
42576 * manual/resource.texi: Likewise.
42577 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42579 * manual/setjmp.texi: Likewise.
42580 * manual/signal.texi: Likewise.
42581 * manual/startup.texi: Likewise.
42582 * manual/stdio.texi: Likewise.
42583 * manual/terminal.texi: Likewise.
42584 (ONLCR): Document as POSIX.
42585 (OXTABS): Document availability on GNU/Linux as XTABS.
42586 (ONOEOT): Document availability separately from other bits.
42587 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42588 * manual/time.texi: Likewise.
42589 * manual/users.texi: Likewise.
42590 * INSTALL: Regenerated.
42591 * sysdeps/gnu/errlist.c: Regenerated.
42593 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42594 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42595 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42597 * configure: Regenerated.
42599 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42601 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42602 default includes instead of AC_HEADER_CHECK.
42603 * sysdeps/i386/configure: Regenerated.
42606 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42607 * math/s_cacoshf.c (__cacoshf): Likewise.
42608 * math/s_cacoshl.c (__cacoshl): Likewise.
42609 * math/s_casinh.c (__casinh): Set signs of result from argument.
42610 * math/s_casinhf.c (__casinhf): Likewise.
42611 * math/s_casinhl.c (__casinhl): Likewise.
42612 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42613 (casinh_test): Add more tests.
42614 * sysdeps/i386/fpu/libm-test-ulps: Update.
42615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42617 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42619 * po/zh_TW.po: Update from translation team.
42621 * login/Makefile (distribute): Remove variable.
42622 * catgets/Makefile: Likewise.
42623 * mach/Makefile: Likewise.
42624 * malloc/Makefile: Likewise.
42625 * misc/Makefile: Likewise.
42626 * iconv/Makefile: Likewise.
42627 * nscd/Makefile: Likewise.
42628 * hurd/Makefile: Likewise.
42629 * manual/Makefile: Likewise.
42630 * locale/Makefile: Likewise.
42631 * intl/Makefile: Likewise.
42632 * conform/Makefile: Likewise.
42633 * nss/Makefile: Likewise.
42634 * time/Makefile: Likewise.
42635 * soft-fp/Makefile: Likewise.
42636 * dirent/Makefile: Likewise.
42637 * gmon/Makefile: Likewise.
42638 * po/Makefile: Likewise.
42639 * rt/Makefile: Likewise.
42640 * socket/Makefile: Likewise.
42641 * math/Makefile: Likewise.
42642 * signal/Makefile: Likewise.
42643 * debug/Makefile: Likewise.
42644 * elf/Makefile: Likewise.
42645 * timezone/Makefile: Likewise.
42646 * stdlib/Makefile: Likewise.
42647 * iconvdata/Makefile: Likewise.
42648 * sunrpc/Makefile: Likewise.
42649 * io/Makefile: Likewise.
42650 * argp/Makefile: Likewise.
42651 * inet/Makefile: Likewise.
42652 * hesiod/Makefile: Likewise.
42653 * grp/Makefile: Likewise.
42654 * csu/Makefile: Likewise.
42655 * wctype/Makefile: Likewise.
42656 * crypt/Makefile: Likewise.
42657 * libio/Makefile: Likewise.
42658 * string/Makefile: Likewise.
42659 * nis/Makefile: Likewise.
42660 * resolv/Makefile: Likewise.
42661 * stdio-common/Makefile: Likewise.
42662 * wcsmbs/Makefile: Likewise.
42663 * dlfcn/Makefile: Likewise.
42664 * posix/Makefile: Likewise.
42667 * timezone/Makefile: Don't install timezone files, just the programs
42670 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42672 * nss/databases.def: Add missing gshadow entry.
42674 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42676 2012-03-06 Marek Polacek <polacek@redhat.com>
42679 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42680 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42681 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42682 * stdio-common/tst-long-dbl-fphex.c: New file.
42684 2012-03-06 David S. Miller <davem@davemloft.net>
42686 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42687 (set_obp_int): New function.
42688 (get_obp_int): New function.
42689 (__get_clockfreq_via_dev_openprom): Likewise.
42690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42691 Avoid unused variable warnings on 'val' and use builtin_expect.
42692 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42694 (INLINE_CLONE_SYSCALL): Likewise.
42696 2012-03-05 David S. Miller <davem@davemloft.net>
42698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42700 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42705 only for |x| >= 40.
42706 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42708 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42710 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42711 Replace gettimeofday with __vdso_gettimeofday.
42713 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42714 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42715 __vdso_clock_gettime and __vdso_getcpu.
42717 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42718 time with __vdso_time.
42720 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42722 * manual/lang.texi (size_t): Note types to which size_t may be
42723 equivalent with the GNU C Library, but do not describe when
42724 differences between them are significant.
42726 2012-03-05 Andreas Jaeger <aj@suse.de>
42728 * sysdeps/i386/fpu/libm-test-ulps: Update.
42730 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42733 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42734 (__ieee754_pow): Save and restore rounding mode and use
42735 round-to-nearest for main computations.
42736 * math/libm-test.inc (pow_test_tonearest): New function.
42737 (pow_test_towardzero): Likewise.
42738 (pow_test_downward): Likewise.
42739 (pow_test_upward): Likewise.
42740 (main): Call the new functions.
42741 * sysdeps/i386/fpu/libm-test-ulps: Update.
42742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42745 * math/libm-test.inc (cosh_test_tonearest): New function.
42746 (cosh_test_towardzero): Likewise.
42747 (cosh_test_downward): Likewise.
42748 (cosh_test_upward): Likewise.
42749 (sinh_test_tonearest): Likewise.
42750 (sinh_test_towardzero): Likewise.
42751 (sinh_test_downward): Likewise.
42752 (sinh_test_upward): Likewise.
42753 (main): Call the new functions.
42754 * sysdeps/i386/fpu/libm-test-ulps: Update.
42755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42757 2012-03-05 Tom de Vries <tom@codesourcery.com>
42759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42760 default stack guard is set in last bytes.
42761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42763 2012-03-05 Kees Cook <keescook@chromium.org>
42765 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42768 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42769 possibly allocate from heap instead of stack.
42770 * stdio-common/bug-vfprintf-nargs.c: New file.
42771 * stdio-common/Makefile (tests): Add nargs overflow test.
42773 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42777 2012-03-03 Marek Polacek <polacek@redhat.com>
42779 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42780 * math/math_private.h: Likewise.
42781 * stdlib/tst-strtod.c: Likewise.
42782 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42783 * sysdeps/x86_64/bits/atomic.h: Likewise.
42785 2012-03-02 David S. Miller <davem@davemloft.net>
42787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42791 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42792 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42793 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42794 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42796 2012-03-02 Roland McGrath <roland@hack.frob.com>
42799 * manual/examples/README: New file, says the example source files
42800 can be used under GPL>=2.
42801 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42802 line containing just "*/".
42803 * manual/examples/add.c: Add copyright header (GPL>=2).
42804 * manual/examples/argp-ex1.c: Likewise.
42805 * manual/examples/argp-ex2.c: Likewise.
42806 * manual/examples/argp-ex3.c: Likewise.
42807 * manual/examples/argp-ex4.c: Likewise.
42808 * manual/examples/atexit.c: Likewise.
42809 * manual/examples/db.c: Likewise.
42810 * manual/examples/dir.c: Likewise.
42811 * manual/examples/dir2.c: Likewise.
42812 * manual/examples/execinfo.c: Likewise.
42813 * manual/examples/filecli.c: Likewise.
42814 * manual/examples/filesrv.c: Likewise.
42815 * manual/examples/fmtmsgexpl.c: Likewise.
42816 * manual/examples/genpass.c: Likewise.
42817 * manual/examples/inetcli.c: Likewise.
42818 * manual/examples/inetsrv.c: Likewise.
42819 * manual/examples/isockad.c: Likewise.
42820 * manual/examples/longopt.c: Likewise.
42821 * manual/examples/memopen.c: Likewise.
42822 * manual/examples/memstrm.c: Likewise.
42823 * manual/examples/mkfsock.c: Likewise.
42824 * manual/examples/mkisock.c: Likewise.
42825 * manual/examples/mygetpass.c: Likewise.
42826 * manual/examples/pipe.c: Likewise.
42827 * manual/examples/popen.c: Likewise.
42828 * manual/examples/rprintf.c: Likewise.
42829 * manual/examples/search.c: Likewise.
42830 * manual/examples/select.c: Likewise.
42831 * manual/examples/setjmp.c: Likewise.
42832 * manual/examples/sigh1.c: Likewise.
42833 * manual/examples/sigusr.c: Likewise.
42834 * manual/examples/stpcpy.c: Likewise.
42835 * manual/examples/strdupa.c: Likewise.
42836 * manual/examples/strftim.c: Likewise.
42837 * manual/examples/strncat.c: Likewise.
42838 * manual/examples/subopt.c: Likewise.
42839 * manual/examples/swapcontext.c: Likewise.
42840 * manual/examples/termios.c: Likewise.
42841 * manual/examples/testopt.c: Likewise.
42842 * manual/examples/testpass.c: Likewise.
42843 * manual/examples/timeval_subtract.c: Likewise.
42846 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42848 * manual/timeval_subtract.c.texi: ... here, new file.
42850 2012-03-02 David S. Miller <davem@davemloft.net>
42852 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42854 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42857 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42858 (__sin): Save and restore rounding mode and use round-to-nearest
42859 for all computations.
42860 (__cos): Save and restore rounding mode and use round-to-nearest
42861 for all computations.
42862 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42864 (tan): Save and restore rounding mode and use round-to-nearest for
42866 * math/libm-test.inc (cos_test_tonearest): New function.
42867 (cos_test_towardzero): Likewise.
42868 (cos_test_downward): Likewise.
42869 (cos_test_upward): Likewise.
42870 (sin_test_tonearest): Likewise.
42871 (sin_test_towardzero): Likewise.
42872 (sin_test_downward): Likewise.
42873 (sin_test_upward): Likewise.
42874 (tan_test_tonearest): Likewise.
42875 (tan_test_towardzero): Likewise.
42876 (tan_test_downward): Likewise.
42877 (tan_test_upward): Likewise.
42878 (main): Call the new functions.
42879 * sysdeps/i386/fpu/libm-test-ulps: Update.
42880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42883 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42884 small n, then large n, before computing and testing k+n.
42885 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42888 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42890 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42891 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42892 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42893 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42894 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42895 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42896 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42897 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42898 * math/libm-test.inc (scalbn_test): Add more tests.
42899 (scalbln_test): Likewise.
42901 * manual/filesys.texi (mode_t): Describe constraints on size and
42902 signedness, not exact equivalence to a particular type.
42904 (ino64_t): Likewise.
42906 (nlink_t): Likewise.
42907 (blkcnt_t): Likewise.
42908 (blkcnt64_t): Likewise.
42909 * manual/llio.texi (off_t): Likewise.
42912 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42913 (__ieee754_exp): Save and restore rounding mode and use
42914 round-to-nearest for all computations.
42915 * math/libm-test.inc (exp_test_tonearest): New function.
42916 (exp_test_towardzero): Likewise.
42917 (exp_test_downward): Likewise.
42918 (exp_test_upward): Likewise.
42919 (main): Call the new functions.
42920 * sysdeps/i386/fpu/libm-test-ulps: Update.
42921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42923 2012-03-01 Chris Demetriou <cgd@google.com>
42925 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42926 have predictable order.
42928 2012-03-01 David S. Miller <davem@davemloft.net>
42930 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42932 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42933 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42934 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42935 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42937 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42938 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42939 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42941 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42942 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42943 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42944 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42945 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42950 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42951 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42953 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42954 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42955 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42956 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42957 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42958 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42959 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42960 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42961 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42962 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42963 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42964 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42965 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42966 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42967 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42969 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42970 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42971 * sysdeps/sparc/elf/configure: Regenerated.
42973 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42975 * configure.in (AS, LD): Require binutils 2.20 or later.
42976 * configure: Regenerated.
42977 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42978 as required minimum version.
42979 * INSTALL: Regenerated.
42983 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42984 before squaring exponent.
42985 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42986 bottom long double and 27 bits of top long double before squaring
42988 * math/libm-test.inc (erfc_test): Add more tests.
42989 * sysdeps/i386/fpu/libm-test-ulps: Update.
42990 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42993 2012-03-01 Kai Tietz <ktietz@redhat.com>
42995 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42996 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
42997 containing bit-fields.
42998 * soft-fp/extended.h (_FP_UNION_E): Likewise.
42999 * soft-fp/single.h (_FP_UNION_S): Likewise.
43000 * soft-fp/double.h (_FP_UNION_D): Likewise.
43002 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43005 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43006 not include ../strcmp.S.
43007 [USE_AS_STRNCASECMP_L]: Likewise.
43008 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43009 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43010 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43011 (__strncasecmp_l_ia32): Define as alias to
43012 __strncasecmp_l_nonascii.
43015 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43016 * sysdeps/i386/fpu/libm-test-ulps: Update.
43017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43019 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43022 2012-02-29 Jeff Law <law@redhat.com>
43024 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43025 out of bounds read.
43027 2012-02-29 Marek Polacek <polacek@redhat.com>
43030 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43031 * elf/Makefile: Add rules to run tst-unused-dep.out.
43033 2012-02-28 David S. Miller <davem@davemloft.net>
43035 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43036 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43037 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43038 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43039 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43040 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43042 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43044 * math/libm-test.inc (llround_test): Move one test from
43045 lround_test. Use TEST_f_L in moved test.
43046 (lround_test): Move misplaced test to llround_test. Add testcase
43049 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43051 * sysdeps/x86_64/fpu/e_expf.S: New file.
43052 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43054 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43057 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43058 of remain_len that may cause incomplete multi-byte character and
43060 * posix/bug-regex33.c: New file.
43061 * posix/Makefile (tests): Add bug-regex33.
43063 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43065 * manual/macros.texi: New file.
43066 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43067 * manual/libc.texinfo: Include macros.texi.
43068 * manual/creatute.texi: Likewise.
43069 * manual/install.texi: Likewise.
43070 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43071 @glibcadj{} in references to the GNU C Library.
43072 * manual/charset.texi: Likewise.
43073 * manual/conf.texi: Likewise.
43074 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43075 when not using those macros.
43076 * manual/creature.texi: Likewise.
43077 * manual/crypt.texi: Likewise.
43078 * manual/errno.texi: Likewise.
43079 * manual/filesys.texi: Likewise.
43080 * manual/header.texi: Likewise.
43081 * manual/install.texi: Likewise.
43082 * manual/intro.texi: Likewise.
43083 * manual/io.texi: Likewise.
43084 * manual/job.texi: Likewise.
43085 * manual/lang.texi: Likewise.
43086 * manual/libc.texiinfo: Likewise.
43087 * manual/llio.texi: Likewise.
43088 * manual/locale.texi: Likewise.
43089 * manual/maint.texi: Likewise.
43090 * manual/math.texi: Likewise.
43091 * manual/memory.texi: Likewise.
43092 * manual/message.texi: Likewise.
43093 * manual/nss.texi: Likewise.
43094 * manual/pattern.texi: Likewise.
43095 * manual/process.texi: Likewise.
43096 * manual/resource.texi: Likewise.
43097 * manual/search.texi: Likewise.
43098 * manual/setjmp.texi: Likewise.
43099 * manual/signal.texi: Likewise.
43100 * manual/socket.texi: Likewise.
43101 * manual/startup.texi: Likewise.
43102 * manual/stdio.texi: Likewise.
43103 * manual/string.texi: Likewise.
43104 * manual/sysinfo.texi: Likewise.
43105 * manual/syslog.texi: Likewise.
43106 * manual/terminal.texi: Likewise.
43107 * manual/time.texi: Likewise.
43108 * manual/users.texi: Likewise.
43109 * INSTALL: Regenerated.
43110 * NOTES: Regenerated.
43111 * sysdeps/gnu/errlist.c: Regenerated.
43113 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43115 * include/dirent.h: Include <dirstream.h> before
43118 2012-02-28 David S. Miller <davem@davemloft.net>
43120 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43121 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43122 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43123 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43125 2012-02-27 David S. Miller <davem@davemloft.net>
43127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43129 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43130 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43133 frame pointer instead of stack pointer relative arg slot.
43134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43135 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43136 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43138 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43141 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43143 2012-02-27 David S. Miller <davem@davemloft.net>
43145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43149 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43150 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43151 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43152 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43154 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43156 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43157 later. Allow versions 5-9.
43158 * configure: Regenerated.
43159 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43160 required minimum version and 4.6 as recommended version. Do not
43161 mention bugs in GCC 2.7 and 2.8.
43162 * INSTALL: Regenerated.
43164 2012-02-27 David S. Miller <davem@davemloft.net>
43166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43170 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43171 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43172 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43173 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43176 manipulate bits before adding and subtracting TWO112[sx].
43177 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43179 2012-02-27 Roland McGrath <roland@hack.frob.com>
43182 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43183 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43184 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43185 being in POSIX, because they are in 1003.1-2008.
43187 * rt/tst-aio.c: Include <fcntl.h>.
43188 * rt/tst-aio7.c: Likewise.
43189 * rt/tst-aio64.c: Likewise.
43191 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43193 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43195 * manual/install.texi (--with-headers): Describe headers as
43196 interface headers, not private headers.
43197 (Specific advice for GNU/Linux systems): Describe use of headers
43198 from "make headers_install", not private headers from older
43200 * INSTALL: Regenerated.
43201 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43203 * sysdeps/unix/sysv/linux/configure: Regenerated.
43205 * manual/llio.texi (fclean): Remove documentation.
43207 * manual/Makefile (libc-texi-generated): New variable. Include
43209 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43210 $(libc-texi-generated), not duplicated list of files.
43211 (version.texi, stamp-version): New rules.
43212 (realclean): Remove $(libc-texi-generated), not individual files
43213 from that list. Do not remove dir-add.texinfo.
43214 * manual/libc.texinfo: Comment out uses of edition numbers and
43215 references to printed manual. Remove last-updated dates.
43216 (EDITION): Comment out.
43218 (VERSION, UPDATED): Remove.
43219 (version.texi): Include.
43221 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43223 * sysdeps/posix/spawni.c: Include <signal.h>.
43224 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43225 * sysdeps/pthread/aio_fsync.c: Likewise.
43227 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43229 * conform/Makefile (tests): Run only when not cross-compiling and
43230 when fast-check is not defined.
43232 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43233 * conform/data/limits.h-data: Fixes for POSIX2008.
43234 * conform/run-conformtest.sh: Run all tests.
43235 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43237 * include/bits/dlfcn.h: Likewise.
43238 * include/langinfo.h: Likewise.
43239 * include/monetary.h: Likewise.
43240 * include/sys/poll.h: Likewise.
43242 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43244 * posix/spawn.h: Define __need_sigset_t.
43245 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43246 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43247 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43248 to get sigevent_t only.
43249 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43250 only for __USE_GNU.
43251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43252 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43253 process_vm_writev only for __USE_GNU.
43254 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43256 * conform/Makefile: For now ignore errors from run-conformtest.
43257 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43258 POSIX to avoid namespace pollution. Don't prepend headers.
43259 * conform/data/aio.h-data: Fixes for POSIX testing.
43260 * conform/data/fcntl.h-data: Likewise.
43261 * conform/data/glob.h-data: Likewise.
43262 * conform/data/grp.h-data: Likewise.
43263 * conform/data/pthread.h-data: Likewise.
43264 * conform/data/pwd.h-data: Likewise.
43265 * conform/data/signal.h-data: Likewise.
43266 * conform/data/spawn.h-data: Likewise.
43267 * conform/data/stdio.h-data: Likewise.
43268 * conform/data/stdlib.h-data: Likewise.
43269 * conform/data/stropts.h-data: Likewise.
43270 * conform/data/sys/mman.h-data: Likewise.
43271 * conform/data/sys/stat.h-data: Likewise.
43272 * conform/data/sys/types.h-data: Likewise.
43273 * conform/data/sys/wait.h-data: Likewise.
43274 * conform/data/time.h-data: Likewise.
43275 * conform/data/unistd.h-data: Likewise.
43276 * conform/data/utime.h-data: Likewise.
43278 * io/sys/stat.h: fchmod was always in POSIX.
43279 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43280 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43281 * rt/aio.h: Define __need_timespec before including <time.h>.
43282 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43283 struct. Add forward declaration of pthread_attr_t and use it in
43285 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43286 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43287 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43288 always remove CLK_TCK definition.
43290 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43292 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43294 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43296 * conform/run-conformtest.sh: New file.
43297 * conform/Makefile: Run run-conformtest for tests.
43298 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43301 * conform/data/uchar.h-data: New file.
43302 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43303 * conform/data/arpa/inet.h-data: Likewise.
43304 * conform/data/assert.h-data: Likewise.
43305 * conform/data/complex.h-data: Likewise.
43306 * conform/data/cpio.h-data: Likewise.
43307 * conform/data/ctype.h-data: Likewise.
43308 * conform/data/dirent.h-data: Likewise.
43309 * conform/data/dlfcn.h-data: Likewise.
43310 * conform/data/errno.h-data: Likewise.
43311 * conform/data/fcntl.h-data: Likewise.
43312 * conform/data/float.h-data: Likewise.
43313 * conform/data/fmtmsg.h-data: Likewise.
43314 * conform/data/fnmatch.h-data: Likewise.
43315 * conform/data/ftw.h-data: Likewise.
43316 * conform/data/glob.h-data: Likewise.
43317 * conform/data/grp.h-data: Likewise.
43318 * conform/data/iconv.h-data: Likewise.
43319 * conform/data/inttypes.h-data: Likewise.
43320 * conform/data/langinfo.h-data: Likewise.
43321 * conform/data/libgen.h-data: Likewise.
43322 * conform/data/limits.h-data: Likewise.
43323 * conform/data/locale.h-data: Likewise.
43324 * conform/data/math.h-data: Likewise.
43325 * conform/data/monetary.h-data: Likewise.
43326 * conform/data/mqueue.h-data: Likewise.
43327 * conform/data/ndbm.h-data: Likewise.
43328 * conform/data/net/if.h-data: Likewise.
43329 * conform/data/netdb.h-data: Likewise.
43330 * conform/data/netinet/in.h-data: Likewise.
43331 * conform/data/nl_types.h-data: Likewise.
43332 * conform/data/poll.h-data: Likewise.
43333 * conform/data/pthread.h-data: Likewise.
43334 * conform/data/pwd.h-data: Likewise.
43335 * conform/data/regex.h-data: Likewise.
43336 * conform/data/sched.h-data: Likewise.
43337 * conform/data/search.h-data: Likewise.
43338 * conform/data/semaphore.h-data: Likewise.
43339 * conform/data/setjmp.h-data: Likewise.
43340 * conform/data/signal.h-data: Likewise.
43341 * conform/data/spawn.h-data: Likewise.
43342 * conform/data/stdarg.h-data: Likewise.
43343 * conform/data/stdio.h-data: Likewise.
43344 * conform/data/stdlib.h-data: Likewise.
43345 * conform/data/string.h-data: Likewise.
43346 * conform/data/strings.h-data: Likewise.
43347 * conform/data/stropts.h-data: Likewise.
43348 * conform/data/sys/ipc.h-data: Likewise.
43349 * conform/data/sys/mman.h-data: Likewise.
43350 * conform/data/sys/msg.h-data: Likewise.
43351 * conform/data/sys/resource.h-data: Likewise.
43352 * conform/data/sys/select.h-data: Likewise.
43353 * conform/data/sys/sem.h-data: Likewise.
43354 * conform/data/sys/shm.h-data: Likewise.
43355 * conform/data/sys/socket.h-data: Likewise.
43356 * conform/data/sys/stat.h-data: Likewise.
43357 * conform/data/sys/statvfs.h-data: Likewise.
43358 * conform/data/sys/time.h-data: Likewise.
43359 * conform/data/sys/timeb.h-data: Likewise.
43360 * conform/data/sys/times.h-data: Likewise.
43361 * conform/data/sys/types.h-data: Likewise.
43362 * conform/data/sys/uio.h-data: Likewise.
43363 * conform/data/sys/un.h-data: Likewise.
43364 * conform/data/sys/utsname.h-data: Likewise.
43365 * conform/data/sys/wait.h-data: Likewise.
43366 * conform/data/syslog.h-data: Likewise.
43367 * conform/data/tar.h-data: Likewise.
43368 * conform/data/termios.h-data: Likewise.
43369 * conform/data/utime.h-data: Likewise.
43370 * conform/data/utmpx.h-data: Likewise.
43371 * conform/data/varargs.h-data: Likewise.
43372 * conform/data/wchar.h-data: Likewise.
43373 * conform/data/wctype.h-data: Likewise.
43374 * conform/data/wordexp.h-data: Likewise.
43376 * include/stropts.h: New file.
43377 * include/uchar.h: New file.
43378 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43379 * include/assert.h: Likewise.
43380 * include/ctype.h: Likewise.
43381 * include/dirent.h: Likewise.
43382 * include/dlfcn.h: Likewise.
43383 * include/fcntl.h: Likewise.
43384 * include/fnmatch.h: Likewise.
43385 * include/glob.h: Likewise.
43386 * include/grp.h: Likewise.
43387 * include/libio.h: Likewise.
43388 * include/locale.h: Likewise.
43389 * include/math.h: Likewise.
43390 * include/net/if.h: Likewise.
43391 * include/netdb.h: Likewise.
43392 * include/netinet/in.h: Likewise.
43393 * include/pthread.h: Likewise.
43394 * include/pwd.h: Likewise.
43395 * include/regex.h: Likewise.
43396 * include/sched.h: Likewise.
43397 * include/search.h: Likewise.
43398 * include/setjmp.h: Likewise.
43399 * include/signal.h: Likewise.
43400 * include/stdio.h: Likewise.
43401 * include/stdlib.h: Likewise.
43402 * include/string.h: Likewise.
43403 * include/sys/cdefs.h: Likewise.
43404 * include/sys/mman.h: Likewise.
43405 * include/sys/msg.h: Likewise.
43406 * include/sys/resource.h: Likewise.
43407 * include/sys/select.h: Likewise.
43408 * include/sys/socket.h: Likewise.
43409 * include/sys/stat.h: Likewise.
43410 * include/sys/statvfs.h: Likewise.
43411 * include/sys/time.h: Likewise.
43412 * include/sys/times.h: Likewise.
43413 * include/sys/uio.h: Likewise.
43414 * include/sys/utsname.h: Likewise.
43415 * include/sys/wait.h: Likewise.
43416 * include/termios.h: Likewise.
43417 * include/time.h: Likewise.
43418 * include/ulimit.h: Likewise.
43419 * include/unistd.h: Likewise.
43420 * include/utime.h: Likewise.
43421 * include/wchar.h: Likewise.
43422 * include/wctype.h: Likewise.
43423 * include/wordexp.h: Likewise.
43425 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43427 * time/time.h: TIME_UTC must be a macro.
43428 Make timespec_get available for ISO C11 only as well.
43430 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43432 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43433 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43435 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43437 * configure.in: Use -o not -a in test for unsupported multi-arch.
43439 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43441 * manual/texinfo.tex: Update to version 2012-01-19.16.
43443 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43445 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43447 2012-02-24 Roland McGrath <roland@hack.frob.com>
43450 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43451 * manual/fdl-1.3.texi: New file.
43452 * manual/fdl-1.1.texi: File removed.
43455 * manual/libc.texinfo (FDL_VERSION): New @set.
43456 Use it for mention of FDL in cover text.
43457 (Documentation License): Use it in @include file name.
43459 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43460 Roland McGrath <roland@hack.frob.com>
43463 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43464 (not LONG_LONG_MAX and LONG_LONG_MIN.
43465 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43466 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43468 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43470 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43474 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43475 manipulate bits before adding and subtracting TWO23[sx].
43476 * math/libm-test.inc (nearbyint_test): Add more tests.
43478 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43481 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43482 bits before adding and subtracting TWO23[sx].
43483 * math/libm-test.inc (rint_test): Add more tests.
43484 (rint_test_tonearest): Likewise.
43485 (rint_test_towardzero): Likewise.
43486 (rint_test_downward): Likewise.
43487 (rint_test_upward: Likewise.
43489 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43492 * include/stdc-predef.h: New file. Extracted from features.h.
43493 * include/features.h: Include stdc-predef.h.
43494 * Makefile (headers): Add stdc-predef.h.
43495 * CONFORMANCE (Compiler limitations): Update.
43497 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43499 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43501 2012-02-21 David S. Miller <davem@davemloft.net>
43503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43504 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43506 2012-02-20 David S. Miller <davem@davemloft.net>
43508 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43509 using a normal save/restore sequence, rather than allocating a
43510 dummy stack frame just to store a frame pointer and restore.
43511 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43513 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43515 * manual/install.texi: Fix stray word in line-wrapped comment.
43517 2012-02-20 David S. Miller <davem@davemloft.net>
43519 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43520 both binutils and gcc support GOTDATA.
43522 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43523 "rd %pc" in the PIC register setup sequences.
43525 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43526 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43528 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43529 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43530 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43531 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43532 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43533 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43534 (SYSCALL_ERROR_HANDLER): Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43536 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43537 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43538 (SYSCALL_ERROR_HANDLER): Likewise.
43540 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43541 (HAVE_GCC_GOTDATA): New.
43542 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43543 relocation support in both binutils and gcc.
43544 * sysdeps/sparc/elf/configure: Regenerate.
43546 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43547 * sysdeps/sparc/sparc32/elf/configure: Delete.
43548 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43549 * sysdeps/sparc/sparc64/elf/configure: Delete.
43550 * sysdeps/sparc/elf/configure.in: New file.
43551 * sysdeps/sparc/elf/configure: Generate.
43553 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43554 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43555 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43556 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43557 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43559 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43561 * manual/install.texi: Do not mention specific glibc version
43563 * manual/libc.texinfo (VERSION, UPDATED): Update.
43564 (@copying): Use @copyright{} and range of years.
43566 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43569 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43570 [crti.S not in sysdirs] (generated): Do not append.
43571 [crti.S not in sysdirs] (omit-deps): Likewise.
43572 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43573 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43574 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43575 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43576 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43578 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43579 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43580 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43581 * csu/defs.awk: Remove file.
43582 * sysdeps/generic/initfini.c: Likewise.
43583 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43585 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43588 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43590 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43591 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43592 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43593 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43594 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43595 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43597 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43598 (__EPOLL_PACKED): Define to empty if not defined by
43600 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43604 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43606 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43607 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43608 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43609 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43611 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43615 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43617 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43620 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43621 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43624 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43626 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43627 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43629 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43631 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43632 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43634 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43636 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43639 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43641 * math/w_acos.c: Use non-signaling floating-point comparisons.
43642 * math/w_acosf.c: Likewise.
43643 * math/w_acosh.c: Likewise.
43644 * math/w_acoshf.c: Likewise.
43645 * math/w_acoshl.c: Likewise.
43646 * math/w_acosl.c: Likewise.
43647 * math/w_asin.c: Likewise.
43648 * math/w_asinf.c: Likewise.
43649 * math/w_asinl.c: Likewise.
43650 * math/w_atanh.c: Likewise.
43651 * math/w_atanhf.c: Likewise.
43652 * math/w_atanhl.c: Likewise.
43653 * math/w_exp2.c: Likewise.
43654 * math/w_exp2f.c: Likewise.
43655 * math/w_exp2l.c: Likewise.
43656 * math/w_j0.c: Likewise.
43657 * math/w_j0f.c: Likewise.
43658 * math/w_j0l.c: Likewise.
43659 * math/w_j1.c: Likewise.
43660 * math/w_j1f.c: Likewise.
43661 * math/w_j1l.c: Likewise.
43662 * math/w_jn.c: Likewise.
43663 * math/w_jnf.c: Likewise.
43664 * math/w_log.c: Likewise.
43665 * math/w_log10.c: Likewise.
43666 * math/w_log10f.c: Likewise.
43667 * math/w_log10l.c: Likewise.
43668 * math/w_log2.c: Likewise.
43669 * math/w_log2f.c: Likewise.
43670 * math/w_log2l.c: Likewise.
43671 * math/w_logf.c: Likewise.
43672 * math/w_logl.c: Likewise.
43673 * math/w_sqrt.c: Likewise.
43674 * math/w_sqrtf.c: Likewise.
43675 * math/w_sqrtl.c: Likewise.
43676 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43677 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43679 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43680 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43682 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43685 * manual/string.texi (strnlen): Use correct parameter name in
43686 equivalent expression.
43688 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43691 * manual/users.texi (seteuid): Consistently use neweuid for
43694 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43697 * manual/nss.texi (Services in the NSS configuration): Correct
43698 list of services in example configuration file.
43700 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43703 * manual/arith.texi: Remove statements about negative zero
43704 behaving identically to zero.
43706 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43709 * manual/install.texi: Do not document upgrading from libc5.
43711 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43714 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43716 2012-02-18 David S. Miller <davem@davemloft.net>
43718 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43719 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43720 %o7 across the call.
43721 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43724 SETUP_PIC_REG_LEAF.
43725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43726 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43727 * sysdeps/sparc/crtn.S: Likewise.
43729 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43731 * aout/Makefile: Remove.
43733 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43736 * manual/examples/argp-ex1.c (main): Format definition in GNU
43738 * manual/examples/argp-ex2.c (main): Likewise.
43739 * manual/examples/argp-ex3.c (main): Likewise.
43740 * manual/examples/argp-ex4.c (main): Likewise.
43741 * manual/examples/longopt.c (main): Use new-style prototype
43743 * manual/examples/strncat.c (main): Specify return type and use
43744 (void) for arguments.
43745 * manual/examples/subopt.c (main): Use char **argv argument.
43747 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43750 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43753 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43756 * manual/string.texi (strchr): Change when strchrnul is
43759 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43762 * manual/locale.texi (setlocale): Document LOCPATH.
43764 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43767 * manual/process.texi (execle): Move @dots{} before last argument.
43769 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43772 * manual/charset.texi (Generic Charset Conversion): Fix typo
43773 (LC_TYPE -> LC_CTYPE).
43775 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43778 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43779 (scalbnf): Likewise.
43780 (scalbnl): Likewise.
43781 (scalbln): Likewise.
43782 (scalblnf): Likewise.
43783 (scalblnl): Likewise.
43784 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43785 (vwarnx): Likewise.
43788 * manual/filesys.texi (telldir): Use braces around return type.
43789 * manual/llio.texi (mmap): Add space after comma.
43790 (mmap64): Likewise.
43791 * manual/math.texi (jn): Use @var{} on parameter names.
43797 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43799 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43801 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43802 (sched_get_priority_max): Likewise.
43803 * manual/signal.texi (sigvec): Add space after comma.
43804 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43806 (if_indextoname): Likewise.
43807 (if_freenameindex): Likewise.
43808 (sendto): Use ',' instead of '.' in prototype.
43809 * manual/startup.texi (syscall): Use @dots{} instead of literal
43811 * manual/stdio.texi (__fpending): Separate initial words of
43812 paragraph from @deftypefun line.
43813 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43815 (vsyslog): Use @var{} on parameter names.
43816 * manual/terminal.texi (stty): Use @var{} on parameter names.
43817 * manual/users.texi (getutmp): Use @var{} on parameter names.
43818 (getutmpx): Likewise.
43820 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43823 * manual/stdio.texi (fopen): Fix typos in description of
43826 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43829 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43830 get clock_id definition.
43832 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43835 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43836 (madvise): Cast every argument to void on its own.
43838 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43841 * manual/startup.texi (Exit Status): Fix typo.
43843 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43846 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43847 * manual/examples/argp-ex2.c: Likewise.
43848 * manual/examples/argp-ex3.c: Likewise.
43850 2012-02-16 Richard Henderson <rth@redhat.com>
43852 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43853 * sysdeps/s390/s390-32/initfini.c: Remove.
43854 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43855 * sysdeps/s390/s390-64/initfini.c: Remove.
43857 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43859 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43860 compiler output for sysdeps/generic/initfini.c.
43861 * sysdeps/sh/elf/initfini.c: Remove file.
43863 2012-02-16 David S. Miller <davem@davemloft.net>
43866 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43868 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43869 * sysdeps/sparc/crti.S: New file.
43870 * sysdeps/sparc/crtn.S: New file.
43871 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43872 * sysdeps/sparc/sparc64/Makefile: Likewise.
43874 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43877 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43879 2012-02-15 Roland McGrath <roland@hack.frob.com>
43882 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43884 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43885 (write, read, close): Likewise.
43886 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43888 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43890 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43891 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43892 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43893 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43895 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43899 2012-02-14 Marek Polacek <polacek@redhat.com>
43901 * sysdeps/x86_64/crti.S: New file.
43902 * sysdeps/x86_64/crtn.S: New file.
43903 * sysdeps/x86_64/elf/initfini.c: Remove file.
43905 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43907 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43908 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43909 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43910 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43912 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43916 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43918 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43919 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43920 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43921 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43923 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43924 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43927 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43929 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43930 __feraiseexcept instead of feraiseexcept.
43932 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43933 nanosleep invocations.
43934 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43935 strings, and add error checking for a nanosleep invocations.
43937 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43939 Replace FSF snail mail address with URLs, as per GNU coding standards.
43940 Most of the snail mail addresses were wrong anyway, and omitting
43941 them makes the source code easier to maintain. Almost all of the
43942 changes are to license notices and to locale LC_IDENTIFICATION
43943 addresses, except for this one:
43944 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43945 not its snail mail address.
43947 2012-02-09 Richard Henderson <rth@twiddle.net>
43949 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43950 of kernel-features.h.
43952 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43954 2012-02-08 Marek Polacek <polacek@redhat.com>
43956 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43957 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43958 * sysdeps/gnu/_G_config.h: Likewise.
43959 * sysdeps/generic/_G_config.h: Likewise.
43961 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43963 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43967 * sysdeps/powerpc/powerpc32/crti.S: New file.
43968 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43969 * sysdeps/powerpc/powerpc64/crti.S: New file.
43970 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43972 * Makeconfig (have-initfini): Don't set.
43973 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43974 * configure.in (nopic_initfini): Don't substitute.
43975 * config.h.in (HAVE_INITFINI): Don't #undef.
43976 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43977 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43979 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43981 Support crti.S and crtn.S provided directly by architectures.
43982 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43983 [crti.S in sysdirs] (omit-deps): Likewise.
43984 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43985 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43986 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43987 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43988 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43989 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43990 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43991 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43992 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43993 compiler output for sysdeps/generic/initfini.c.
43994 * sysdeps/i386/elf/Makefile: Remove file.
43995 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
43997 2012-02-07 Marek Polacek <polacek@redhat.com>
43999 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44000 * sysdeps/gnu/_G_config.h: Likewise.
44001 * sysdeps/mach/hurd/_G_config.h: Likewise.
44003 2012-02-07 Marek Polacek <polacek@redhat.com>
44005 * math/Makefile (tests): Add tst-CMPLX2.
44006 * math/tst-CMPLX2.c: New file.
44008 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44010 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44012 * math/libm-test.inc (jn_test): Add missing L suffix.
44014 2012-02-06 Marek Polacek <polacek@redhat.com>
44016 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44017 * sysdeps/i386/fpu/e_powf.S: Likewise.
44018 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44019 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44020 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44021 * sysdeps/i386/fpu/e_pow.S: Likewise.
44022 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44023 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44024 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44025 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44026 * sysdeps/i386/fpu/e_log2.S: Likewise.
44027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44028 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44029 * sysdeps/i386/fpu/e_powl.S: Likewise.
44030 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44031 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44032 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44033 * sysdeps/i386/fpu/e_logl.S: Likewise.
44034 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44035 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44036 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44037 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44038 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44039 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44040 * sysdeps/i386/fpu/e_log.S: Likewise.
44041 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44042 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44043 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44044 * sysdeps/i386/fpu/e_logf.S: Likewise.
44045 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44047 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44048 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44049 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44050 * sysdeps/i386/fpu/e_log10.S: Likewise.
44051 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44052 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44053 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44054 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44055 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44056 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44057 * sysdeps/i386/asm-syntax.h: Likewise.
44058 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44059 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44060 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44061 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44062 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44063 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44064 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44065 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44066 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44067 * sysdeps/powerpc/sysdep.h: Likewise.
44068 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44069 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44071 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44074 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44076 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44078 * sysdeps/i386/sysdep.h: Include <features.h>.
44079 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44082 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44084 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44086 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44089 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44091 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44092 (SETUP_PIC_REG): Use GET_PC_THUNK.
44093 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44096 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44098 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44099 for non-PIC compilation.
44100 (SETUP_PIC_REG): Add .p2align directive.
44101 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44102 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44103 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44104 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44105 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44106 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44107 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44108 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44109 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44110 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44111 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44112 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44113 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44114 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44115 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44116 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44117 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44118 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44119 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44120 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44121 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44122 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44123 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44124 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44125 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44127 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44129 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44130 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44131 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44133 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44134 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44135 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44136 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44137 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44138 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44139 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44140 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44141 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44143 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44145 * math/tst-CMPLX.c: Include <stdio.h>.
44147 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44149 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44151 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44152 * sysdeps/sparc/bits/mathdef.h: Likewise.
44154 2012-01-31 Marek Polacek <polacek@redhat.com>
44156 * libio/libio.h: Don't define _PARAMS.
44157 * locale/programs/config.h: Don't define PARAMS.
44158 * stdlib/strtol_l.c: Likewise.
44159 (__strtol_l): Remove PARAMS from the prototype.
44161 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44163 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44164 names. Just use the correct names. Remove unnecessary wrapper
44166 * malloc/arena.c: Likewise.
44167 * malloc/hooks.c: Likewise.
44169 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44170 ARENA_TEST says not to. Simplify test for creation of a new arena.
44171 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44173 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44175 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44177 (update_get_addr): New function.
44178 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44179 GET_ADDR_MODULE parameter.
44181 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44183 * crypt/cert.c: Remove __STDC__ conditionals.
44184 * crypt/crypt-entry.c: Likewise.
44185 * crypt/crypt_util.c: Likewise.
44186 * libio/filedoalloc.c: Likewise.
44187 * libio/fileops.c: Likewise.
44188 * libio/genops.c: Likewise.
44189 * libio/iofclose.c: Likewise.
44190 * libio/iofdopen.c: Likewise.
44191 * libio/iofopen.c: Likewise.
44192 * libio/iofopen64.c: Likewise.
44193 * libio/iogetdelim.c: Likewise.
44194 * libio/iopopen.c: Likewise.
44195 * libio/obprintf.c: Likewise.
44196 * libio/oldfileops.c: Likewise.
44197 * libio/oldiofclose.c: Likewise.
44198 * libio/oldiofdopen.c: Likewise.
44199 * libio/oldiofopen.c: Likewise.
44200 * libio/oldiopopen.c: Likewise.
44201 * libio/wfiledoalloc.c: Likewise.
44202 * libio/wgenops.c: Likewise.
44203 * locale/programs/xmalloc.c: Likewise.
44204 * misc/syslog.c: Likewise.
44205 * stdio-common/xbug.c: Likewise.
44206 * string/memchr.c: Likewise.
44207 * string/memcmp.c: Likewise.
44208 * string/memrchr.c: Likewise.
44209 * string/rawmemchr.c: Likewise.
44210 * sysdeps/posix/getcwd.c: Likewise.
44211 * time/strftime_l.c: Likewise.
44213 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44215 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44216 * config.make.in (config-cflags-sse2avx): Define.
44217 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44220 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44222 * scripts/config.guess: Update from upstream config git repository.
44223 * scripts/config.sub: Likewise.
44225 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44227 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44229 (R_TILEPRO_*, R_TILEGX_*): New macros.
44231 * scripts/firstversions.awk: Fix bug in version range handling.
44233 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44235 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44237 * include/sys/epoll.h: New file.
44238 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44241 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44243 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44244 Avoid unnecessary __WORDSIZE == 64 test.
44245 (fmaxf): Use VEX format if possible.
44250 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44251 * math/math_private.h: Remove libc_fegetround* and
44253 * sysdeps/i386/configure.in: Check for -msse2avx.
44254 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44255 also if SSE2AVX is defined.
44256 Remove libc_fegetround* and libc_fesetround*.
44257 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44258 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44259 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44261 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44262 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44263 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44264 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44265 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44267 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44269 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44271 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44273 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44275 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44278 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44280 * Makeconfig (libm): Define.
44281 * elf/Makefile: Add rules to build and run tst-relsort1.
44282 * elf/tst-relsort1.c: New file.
44283 * elf/tst-relsort1mod1.c: New file.
44284 * elf/tst-relsort1mod2.c: New file.
44286 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44288 * math/s_ldexp.c: Remove __STDC__ conditionals.
44289 * math/s_ldexpf.c: Likewise.
44290 * math/s_ldexpl.c: Likewise.
44291 * math/s_nextafter.c: Likewise.
44292 * math/s_nexttowardf.c: Likewise.
44293 * math/s_significand.c: Likewise.
44294 * math/s_significandf.c: Likewise.
44295 * math/s_significandl.c: Likewise.
44296 * math/w_jnl.c: Likewise.
44297 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44298 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44299 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44300 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44301 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44302 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44303 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44304 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44305 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44306 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44307 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44308 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44309 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44310 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44311 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44312 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44313 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44314 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44315 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44316 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44317 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44318 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44319 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44320 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44321 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44322 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44323 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44324 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44325 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44326 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44327 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44328 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44329 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44330 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44331 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44332 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44333 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44334 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44335 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44336 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44337 * sysdeps/ieee754/k_standard.c: Likewise.
44338 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44339 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44340 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44343 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44344 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44345 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44357 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44358 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44359 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44360 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44363 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44367 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44368 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44369 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44370 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44371 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44374 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44375 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44376 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44377 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44378 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44381 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44383 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44384 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44386 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44387 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44393 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44394 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44396 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44397 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44398 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44399 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44400 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44402 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44404 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44405 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44406 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44407 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44408 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44409 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44410 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44411 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44412 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44413 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44414 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44415 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44416 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44417 * sysdeps/ieee754/s_matherr.c: Likewise.
44418 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44419 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44420 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44423 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44425 * crypt/md5.h: Remove __STDC__ conditionals.
44426 * libio/libioP.h: Likewise.
44427 * locale/programs/config.h: Likewise.
44428 * sysdeps/generic/sysdep.h: Likewise.
44429 * sysdeps/i386/asm-syntax.h: Likewise.
44430 * sysdeps/s390/asm-syntax.h: Likewise.
44431 * sysdeps/unix/sysdep.h: Likewise.
44432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44435 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44437 * libio/libio.h: Remove __STDC__ conditionals.
44438 * malloc/obstack.h: Likewise.
44439 * math/complex.h: Likewise.
44440 * math/math.h: Likewise.
44441 * sysdeps/generic/_G_config.h: Likewise.
44442 * sysdeps/gnu/_G_config.h: Likewise.
44443 * sysdeps/mach/hurd/_G_config.h: Likewise.
44444 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44445 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44446 * sysdeps/sparc/bits/mathdef.h: Likewise.
44448 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44451 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44452 Clean up HAS_* macros.
44453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44454 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44456 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44458 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44459 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44460 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44461 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44462 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44464 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44466 * elf/tst-unique3.cc (gets): Remove declaration.
44467 * elf/tst-unique3lib.cc (gets): Likewise.
44468 * elf/tst-unique3lib2.cc (gets): Likewise.
44469 * elf/tst-unique4.cc (gets): Likewise.
44471 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44473 * include/stdio.h: Add C++ protection. Add gets declarations and
44475 * debug/tst-chk1.c: Don't declare gets here.
44476 * stdio-common/tst-gets.c: Likewise.
44478 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44480 * posix/glob: Remove directory.
44482 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44484 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44486 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44488 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44489 of the non-standard EPFNOSUPPORT.
44491 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44493 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44494 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44495 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44497 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44499 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44501 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44503 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44505 * nscd/grpcache.c (cache_addgr): Likewise.
44506 * nscd/hstcache.c (cache_addhst): Likewise.
44507 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44508 * nscd/pwdcache.c (cache_addpw): Likewise.
44509 * nscd/servicescache.c (cache_addserv): Likewise.
44511 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44513 * malloc/malloc.c: Various cleanups.
44514 * malloc/hooks.c: Likewise.
44516 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44517 * stdlib/bug-fmtmsg1.c: New file.
44519 * stdlib/fmtmsg.c (init): Add missing unlock.
44520 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44522 2012-01-12 Marek Polacek <polacek@redhat.com>
44524 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44527 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44529 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44530 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44531 macro to ensure uniqueness of label name.
44532 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44533 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44535 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44537 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44539 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44540 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44541 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44544 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44546 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44548 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44549 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44550 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44552 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44554 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44555 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44556 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44557 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44559 * math/bits/math-finite.h: Add ldexp support.
44561 2012-01-10 Marek Polacek <polacek@redhat.com>
44563 * locale/programs/localedef.h (show_archive_content): Add noreturn
44566 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44568 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44570 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44572 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44574 * io/Makefile (headers): Add bits/poll2.h.
44576 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44579 typo #include statement.
44581 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44583 * include/sys/cdefs.h: Define __attribute_alloc_size.
44584 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44585 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44586 * elf/pldd.c: Likewise.
44587 * iconv/iconv_charmap.c: Likewise.
44588 * iconv/iconvconfig.c: Likewise.
44589 * iconv/strtab.c: Likewise.
44590 * locale/programs/locale.c: Likewise.
44591 * locale/programs/localedef.h: Likewise.
44592 * locale/programs/simple-hash.c: Likewise.
44593 * nscd/nscd.h: Likewise.
44594 * nss/makedb.c: Likewise.
44595 * sysdeps/generic/ldconfig.h: Likewise.
44596 * locale/programs/localedef.c: Remove xmalloc prototype.
44597 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44599 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44601 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44604 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44606 * math/Makefile (tests): Add tst-CMPLX.
44607 * math/tst-CMPLX.c: New file.
44609 * math/complex.h (CMPLXL): Fix typo.
44611 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44612 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44614 * debug/tst-chk1.c: Add poll and ppoll tests.
44615 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44616 * include/sys/poll.h: Add hidden proto for ppoll.
44617 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44618 * sysdeps/mach/hurd/ppoll.c: Likewise.
44619 * io/ppoll.c: Likewise.
44620 * debug/poll_chk.c: New file.
44621 * debug/ppoll_chk.c: New file.
44622 * include/bits/poll2.h: New file.
44623 * io/bits/poll2.h: New file.
44626 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44628 * configure.in: static is always set to yes. Remove.
44629 * config.make.in: Don't set build-static.
44630 * Makeconfig: Remove use of build-static.
44631 * dlfcn/Makefile: Likewise.
44632 * elf/Makefile: Likewise.
44633 * math/Makefile: Likewise.
44634 * misc/Makefile: Likewise.
44635 * nptl/Makefile: Likewise.
44636 * sysdeps/mach/hurd/Makefile: Likewise.
44638 * configure.in: PWD_P is not used anymore.
44639 * config.make.in: Remove PWD_P entry.
44641 * configure.in: Remove last remnants of RANLIB.
44642 No need to check for signed size_t anymore.
44643 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44645 Remove __builtin_expect test because we require at least gcc 3.4.
44646 * aclocal.m4: Likewise.
44648 * wcsmbs/mbrtoc16.c: Implement using towc function.
44649 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44650 * wcsmbs/wcsmbsload.c: Likewise.
44651 * iconv/gconv_simple.c: Likewise.
44652 * iconv/gconv_int.h: Likewise.
44653 * iconv/gconv_builtin.h: Likewise.
44654 * iconv/iconv_prog.c: Remove CHAR16 handling.
44656 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44658 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44660 * configure.in: Remove --with-elf and --enable-bounded options.
44661 Dont set base_machine for ia64. More non-ELF conditions removed.
44662 Remove testing and setting of leading underscore information.
44663 * config.make.in (build-bounded): Set to no.
44664 * config.h.in: Remove NO_UNDERSCORES entry.
44665 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44667 * csu/start.c: Remove !NO_UNDERSCORE code.
44668 * locale/localeinfo.h: Likewise.
44669 * sysdeps/generic/machine-gmon.h: Likewise.
44670 * sysdeps/generic/sysdep.h: Likewise.
44671 * sysdeps/i386/sysdep.h: Likewise.
44672 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44673 * sysdeps/mach/sysdep.h: Likewise.
44674 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44675 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44676 * sysdeps/sh/sysdep.h: Likewise.
44677 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44678 * sysdeps/unix/i386/sysdep.S: Likewise.
44679 * sysdeps/unix/sparc/start.c: Likewise.
44680 * sysdeps/unix/sparc/sysdep.S: Likewise.
44681 * sysdeps/unix/sparc/sysdep.h: Likewise.
44682 * sysdeps/unix/start.c: Likewise.
44683 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44684 * sysdeps/x86_64/sysdep.h: Likewise.
44686 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44689 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44691 * argp/argp-fmtstream.h: Use const instead __const.
44692 * argp/argp.h: Likewise.
44693 * assert/assert.h: Likewise.
44694 * bits/fenv.h: Likewise.
44695 * bits/sched.h: Likewise.
44696 * bits/sigset.h: Likewise.
44697 * bits/sigthread.h: Likewise.
44698 * catgets/nl_types.h: Likewise.
44699 * conform/data/pthread.h-data: Likewise.
44700 * crypt/crypt-private.h: Likewise.
44701 * crypt/crypt.h: Likewise.
44702 * crypt/crypt_util.c: Likewise.
44703 * ctype/ctype.h: Likewise.
44704 * debug/execinfo.h: Likewise.
44705 * debug/mbsnrtowcs_chk.c: Likewise.
44706 * debug/mbsrtowcs_chk.c: Likewise.
44707 * debug/wcsnrtombs_chk.c: Likewise.
44708 * debug/wcsrtombs_chk.c: Likewise.
44709 * debug/wcstombs_chk.c: Likewise.
44710 * dirent/dirent.h: Likewise.
44711 * dlfcn/dlfcn.h: Likewise.
44712 * elf/neededtest4.c: Likewise.
44713 * grp/grp.h: Likewise.
44714 * gshadow/gshadow.h: Likewise.
44715 * iconv/gconv.h: Likewise.
44716 * iconv/gconv_int.h: Likewise.
44717 * iconv/gconv_simple.c: Likewise.
44718 * iconv/iconv.h: Likewise.
44719 * iconv/loop.c: Likewise.
44720 * iconv/skeleton.c: Likewise.
44721 * include/aio.h: Likewise.
44722 * include/aliases.h: Likewise.
44723 * include/argz.h: Likewise.
44724 * include/arpa/inet.h: Likewise.
44725 * include/assert.h: Likewise.
44726 * include/dirent.h: Likewise.
44727 * include/dlfcn.h: Likewise.
44728 * include/execinfo.h: Likewise.
44729 * include/fcntl.h: Likewise.
44730 * include/fenv.h: Likewise.
44731 * include/glob.h: Likewise.
44732 * include/grp.h: Likewise.
44733 * include/libintl.h: Likewise.
44734 * include/mntent.h: Likewise.
44735 * include/netdb.h: Likewise.
44736 * include/pwd.h: Likewise.
44737 * include/rpc/netdb.h: Likewise.
44738 * include/sched.h: Likewise.
44739 * include/search.h: Likewise.
44740 * include/shadow.h: Likewise.
44741 * include/signal.h: Likewise.
44742 * include/stdio.h: Likewise.
44743 * include/stdlib.h: Likewise.
44744 * include/string.h: Likewise.
44745 * include/sys/socket.h: Likewise.
44746 * include/sys/stat.h: Likewise.
44747 * include/sys/statfs.h: Likewise.
44748 * include/sys/statvfs.h: Likewise.
44749 * include/sys/syslog.h: Likewise.
44750 * include/sys/time.h: Likewise.
44751 * include/sys/uio.h: Likewise.
44752 * include/time.h: Likewise.
44753 * include/unistd.h: Likewise.
44754 * include/utmp.h: Likewise.
44755 * include/wchar.h: Likewise.
44756 * include/wctype.h: Likewise.
44757 * inet/aliases.h: Likewise.
44758 * inet/arpa/inet.h: Likewise.
44759 * inet/netinet/ether.h: Likewise.
44760 * inet/netinet/in.h: Likewise.
44761 * intl/libintl.h: Likewise.
44762 * io/bits/fcntl2.h: Likewise.
44763 * io/fcntl.h: Likewise.
44764 * io/ftw.h: Likewise.
44765 * io/sys/poll.h: Likewise.
44766 * io/sys/stat.h: Likewise.
44767 * io/sys/statfs.h: Likewise.
44768 * io/sys/statvfs.h: Likewise.
44769 * io/utime.h: Likewise.
44770 * libio/bits/stdio.h: Likewise.
44771 * libio/bits/stdio2.h: Likewise.
44772 * libio/libio.h: Likewise.
44773 * libio/libioP.h: Likewise.
44774 * libio/stdio.h: Likewise.
44775 * locale/lc-ctype.c: Likewise.
44776 * locale/locale.h: Likewise.
44777 * login/utmp.h: Likewise.
44778 * malloc/arena.c: Likewise.
44779 * malloc/malloc.c: Likewise.
44780 * malloc/malloc.h: Likewise.
44781 * malloc/mcheck.c: Likewise.
44782 * malloc/mtrace.c: Likewise.
44783 * math/bits/mathcalls.h: Likewise.
44784 * math/fenv.h: Likewise.
44785 * math/math_private.h: Likewise.
44786 * misc/bits/error.h: Likewise.
44787 * misc/bits/syslog.h: Likewise.
44788 * misc/err.h: Likewise.
44789 * misc/error.h: Likewise.
44790 * misc/fstab.h: Likewise.
44791 * misc/mntent.h: Likewise.
44792 * misc/regexp.h: Likewise.
44793 * misc/search.h: Likewise.
44794 * misc/sgtty.h: Likewise.
44795 * misc/sys/mman.h: Likewise.
44796 * misc/sys/syslog.h: Likewise.
44797 * misc/sys/uio.h: Likewise.
44798 * misc/sys/xattr.h: Likewise.
44799 * misc/ttyent.h: Likewise.
44800 * nis/rpcsvc/ypclnt.h: Likewise.
44801 * nss/nss.h: Likewise.
44802 * posix/bits/unistd.h: Likewise.
44803 * posix/fnmatch.h: Likewise.
44804 * posix/glob.h: Likewise.
44805 * posix/sched.h: Likewise.
44806 * posix/spawn.h: Likewise.
44807 * posix/sys/wait.h: Likewise.
44808 * posix/unistd.h: Likewise.
44809 * posix/wordexp.h: Likewise.
44810 * pwd/pwd.h: Likewise.
44811 * resolv/netdb.h: Likewise.
44812 * resource/sys/resource.h: Likewise.
44813 * rt/aio.h: Likewise.
44814 * rt/bits/mqueue2.h: Likewise.
44815 * rt/mqueue.h: Likewise.
44816 * shadow/shadow.h: Likewise.
44817 * signal/signal.h: Likewise.
44818 * socket/send.c: Likewise.
44819 * socket/sendto.c: Likewise.
44820 * socket/sys/socket.h: Likewise.
44821 * stdio-common/printf.h: Likewise.
44822 * stdlib/bits/stdlib.h: Likewise.
44823 * stdlib/fmtmsg.h: Likewise.
44824 * stdlib/monetary.h: Likewise.
44825 * stdlib/stdlib.h: Likewise.
44826 * stdlib/ucontext.h: Likewise.
44827 * streams/stropts.h: Likewise.
44828 * string/argz.h: Likewise.
44829 * string/bits/string2.h: Likewise.
44830 * string/string.h: Likewise.
44831 * string/strings.h: Likewise.
44832 * sunrpc/rpc/auth.h: Likewise.
44833 * sunrpc/rpc/auth_des.h: Likewise.
44834 * sunrpc/rpc/clnt.h: Likewise.
44835 * sunrpc/rpc/netdb.h: Likewise.
44836 * sunrpc/rpc/pmap_clnt.h: Likewise.
44837 * sunrpc/rpc/xdr.h: Likewise.
44838 * sysdeps/generic/inttypes.h: Likewise.
44839 * sysdeps/generic/net/if.h: Likewise.
44840 * sysdeps/generic/sys/swap.h: Likewise.
44841 * sysdeps/gnu/net/if.h: Likewise.
44842 * sysdeps/gnu/utmpx.h: Likewise.
44843 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44844 * sysdeps/i386/i486/bits/string.h: Likewise.
44845 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44846 * sysdeps/s390/bits/string.h: Likewise.
44847 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44848 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44849 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44850 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44851 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44852 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44853 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44854 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44855 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44856 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44857 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44858 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44859 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44860 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44861 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44862 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44863 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44865 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44867 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44868 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44869 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44870 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44871 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44872 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44873 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44875 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44876 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44877 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44878 * sysvipc/sys/ipc.h: Likewise.
44879 * sysvipc/sys/msg.h: Likewise.
44880 * sysvipc/sys/sem.h: Likewise.
44881 * sysvipc/sys/shm.h: Likewise.
44882 * termios/termios.h: Likewise.
44883 * time/sys/time.h: Likewise.
44884 * time/time.h: Likewise.
44885 * wcsmbs/bits/wchar2.h: Likewise.
44886 * wcsmbs/uchar.h: Likewise.
44887 * wcsmbs/wchar.h: Likewise.
44888 * wctype/wctype.h: Likewise.
44891 * Makeconfig: Remove all but ELF support including AIX support.
44892 * Makerules: Likewise.
44893 * config.h.in: Likewise.
44894 * config.make.in: Likewise.
44895 * configure: Likewise.
44896 * configure.in: Likewise.
44897 * csu/Makefile: Likewise.
44898 * csu/version.c: Likewise.
44899 * debug/Makefile: Likewise.
44900 * dlfcn/Makefile: Likewise.
44901 * elf/Makefile: Likewise.
44902 * extra-lib.mk: Likewise.
44903 * iconv/Makefile: Likewise.
44904 * include/libc-symbols.h: Likewise.
44905 * include/shlib-compat.h: Likewise.
44906 * resolv/Makefile: Likewise.
44907 * resolv/res_libc.c: Likewise.
44908 * rt/Makefile: Likewise.
44909 * sysdeps/i386/asm-syntax.h: Likewise.
44910 * sysdeps/i386/sysdep.h: Likewise.
44911 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44912 * sysdeps/mach/sysdep.h: Likewise.
44913 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44914 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44915 * sysdeps/s390/asm-syntax.h: Likewise.
44916 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44918 * sysdeps/sh/sysdep.h: Likewise.
44919 * sysdeps/unix/sparc/sysdep.h: Likewise.
44920 * sysdeps/wordsize-32/divdi3.c: Likewise.
44921 * sysdeps/x86_64/sysdep.h: Likewise.
44923 * argp/Versions: Remove _argp_unlock_xxx.
44926 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44927 * abilist/libBrokenLocale.abilist: Likewise.
44928 * abilist/libanl.abilist: Likewise.
44929 * abilist/libc.abilist: Likewise.
44930 * abilist/libcrypt.abilist: Likewise.
44931 * abilist/libdl.abilist: Likewise.
44932 * abilist/libm.abilist: Likewise.
44933 * abilist/libnsl.abilist: Likewise.
44934 * abilist/libpthread.abilist: Likewise.
44935 * abilist/libresolv.abilist: Likewise.
44936 * abilist/librt.abilist: Likewise.
44937 * abilist/libthread_db.abilist: Likewise.
44938 * abilist/libutil.abilist: Likewise.
44939 * abilist/libnss_db.abilist: New file.
44941 * scripts/abilist.awk: Add support for indirect functions.
44943 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44945 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44947 * shlib-versions: Remove entries for ports architectures.
44949 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44951 * elf/stackguard-macros.h: Remove support for IA-64.
44952 * elf/tst-auditmod1.c: Likewise.
44953 * sysdeps/generic/ldsodefs.h: Likewise.
44955 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44956 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44960 * configure.in: Remove --enable-omitfp support.
44962 * config.make.in: Likewise.
44963 * Makeconfig: Likewise.
44964 * manual/install.texi: Likewise.
44966 In case anyone cares, the IA-64 architecture could move to ports.
44967 * sysdeps/ia64/*: Removed.
44968 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44969 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44972 * configure.in: Remove entries for unsupported architectures.
44975 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44976 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44978 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44979 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44980 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44981 fall back to using wcrtomb.
44982 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44983 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44985 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44986 * wcsmbs/tst-c16c32-1.c: New file.
44988 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44991 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44993 * elf/tst-unique3.cc: Add explicit declaration of gets.
44994 * elf/tst-unique3lib.cc: Likewise.
44995 * elf/tst-unique3lib2.cc: Likewise.
44996 * elf/tst-unique4.cc: Likewise.
44998 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45000 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45003 * assert/assert.h (static_assert): Don't define for C++.
45004 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45005 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45007 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45009 * iconv/loop.c (single loop): Fix assertion in storing of
45012 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45014 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45016 * posix/getconf.c: Update copyright year.
45017 * nss/getent.c: Likewise.
45018 * nss/makedb.c: Likewise.
45019 * iconv/iconvconfig.c: Likewise.
45020 * iconv/iconv_prog.c: Likewise.
45021 * elf/ldconfig.c: Likewise.
45022 * elf/pldd.c: Likewise.
45023 * elf/sotruss.ksh: Likewise.
45024 * catgets/gencat.c: Likewise.
45025 * csu/version.c: Likewise.
45026 * elf/ldd.bash.in: Likewise.
45027 * elf/sprof.c (print_version): Likewise.
45028 * locale/programs/locale.c: Likewise.
45029 * locale/programs/localedef.c: Likewise.
45030 * login/programs/pt_chown.c: Likewise.
45031 * nscd/nscd.c (print_version): Likewise.
45032 * debug/xtrace.sh: Likewise.
45033 * malloc/memusage.sh: Likewise.
45034 * malloc/mtrace.pl: Likewise.
45035 * debug/catchsegv.sh: Likewise.
45037 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45039 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45042 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45045 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45046 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45048 * iconv/gconv_int.h: Likewise.
45049 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45050 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45051 from libc for GLIBC_2.16.
45052 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45053 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45054 * wcsmbs/uchar.h: Really define mbstate_t.
45055 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45056 * wcsmbs/c16rtomb.c: New file.
45057 * wcsmbs/mbrtoc16.c: New file.
45058 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45059 for C/POSIX locale.
45060 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45061 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45063 * wcsmbs/wchar.h: Add missing __restrict.
45065 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45068 * time/Makefile (routines): Add timespec_get.
45069 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45070 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45071 timespec for ISO C11.
45072 * time/timespec_get.c: New file.
45073 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45074 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45077 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45078 * stdlib/stdlib.h: Declare aligned_alloc.
45079 * Versions.def: Add GLIBC_2.16 for libc.
45080 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45083 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45086 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45090 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45093 * assert/assert.h (static_assert): Define.
45095 * version.h: Update for 2.16 development version.
45098 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45101 * version.h (RELEASE): Bump for 2.15 release.
45102 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45104 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45105 Patch by Marek Polacek <mpolacek@redhat.com>.
45107 * bits/byteswap.h: Protect long long constants with __extension__.
45108 * sysdeps/i386/bits/byteswap.h: Likewise.
45109 * sysdeps/ia64/bits/byteswap.h: Likewise.
45110 * sysdeps/s390/bits/byteswap.h: Likewise.
45111 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45113 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45116 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45117 destination buffer.
45118 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45120 2011-12-23 Marek Polacek <polacek@redhat.com>
45122 * elf/dl-addr.c (determine_info): Add inline keyword.
45123 * elf/tst-auditmod4b.c (check_avx): Likewise.
45124 * elf/tst-auditmod6b.c (check_avx): Likewise.
45125 * elf/tst-auditmod6c.c (check_avx): Likewise.
45126 * elf/tst-auditmod7b.c (check_avx): Likewise.
45128 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45130 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45133 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45136 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45137 processing for last bytes.
45139 2011-08-06 Bruno Haible <bruno@clisp.org>
45142 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45143 U+0385, not to U+1FEE.
45146 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45147 entry for U+00A5 U+0301.
45149 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45152 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45153 buffer for the output is too small.
45155 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45159 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45160 SSE flags if possible.
45162 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45165 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45166 processing for last bytes.
45168 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45170 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45171 (syscall-list-default-options, syscall-list-default-condition)
45172 (syscall-list-includes): Define.
45173 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45174 list of ABIs and options and #if conditions for each ABI. Do not
45175 handle common syscalls between ABIs specially.
45176 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45178 (syscall-list-variants, syscall-list-32bit-options)
45179 (syscall-list-32bit-condition, syscall-list-64bit-options)
45180 (syscall-list-64bit-condition): Define.
45181 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45182 (syscall-list-variants, syscall-list-32bit-options)
45183 (syscall-list-32bit-condition, syscall-list-64bit-options)
45184 (syscall-list-64bit-condition): Define.
45185 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45187 (syscall-list-variants, syscall-list-32bit-options)
45188 (syscall-list-32bit-condition, syscall-list-64bit-options)
45189 (syscall-list-64bit-condition): Define.
45190 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45192 (syscall-list-variants, syscall-list-32bit-options)
45193 (syscall-list-32bit-condition, syscall-list-64bit-options)
45194 (syscall-list-64bit-condition): Define.
45196 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45198 * locale/iso-639.def: Add brx entry.
45201 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45202 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45204 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45205 __feraiseexcept_renamed.
45207 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45210 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45211 EPOLLET with unsigned values.
45212 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45213 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45215 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45216 to large cancellation.
45217 * math/s_cacoshf.c: Likewise.
45218 * math/s_cacoshl.c: Likewise.
45220 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45224 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45225 * math/s_cacoshf.c: Likewise.
45226 * math/s_cacoshl.c: Likewise.
45228 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45231 * iconv/gconv.h: Define __GCONV_SWAP.
45232 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45233 * iconvdata/utf-16.c: Likewise.
45234 * iconvdata/utf-32.c: Likewise.
45236 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45239 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45240 numerator after shifting it by one limb.
45242 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45244 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45245 under [__USE_EXTERN_INLINES].
45247 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45250 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45252 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45254 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45255 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45257 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45258 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45259 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45260 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45261 for strncasecmp/strncasecmp_l compilation.
45262 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45263 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45265 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45268 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45271 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45274 * time/tzfile.c (__tzfile_read): Check values from file header.
45276 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45278 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45279 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45280 * powerpc/powerpc32/dl-start.S: Likewise.
45281 * powerpc/powerpc32/elf/start.S: Likewise.
45282 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45283 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45284 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45285 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45286 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45287 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45288 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45289 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45290 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45291 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45292 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45293 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45294 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45295 * powerpc/powerpc32/memset.S: Likewise.
45296 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45297 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45298 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45299 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45300 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45301 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45302 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45303 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45304 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45305 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45306 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45307 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45308 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45310 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45312 * math/libm-test.inc: Added more nearbyint tests.
45313 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45315 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45318 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45320 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45323 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45325 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45326 Add wcscpy-ssse3 wcscpy-c.
45327 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45328 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45329 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45330 * sysdeps/x86_64/wcschr.S: New file.
45331 * sysdeps/x86_64/wcsrchr.S: New file.
45332 * string/test-strcmp.c: Remove checking of wcscmp function for
45334 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45335 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45336 wcsrchr-sse2 wcsrchr-c.
45337 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45338 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45339 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45340 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45341 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45342 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45343 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45344 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45345 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45346 * wcsmbc/wcschr.c (WCSCHR): New macro.
45348 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45350 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45351 * wcsmbs/test-wcsrchr.c: New file.
45352 * string/test-strrchr.c: Add wcsrchr support.
45354 * wcsmbs/test-wcscpy.c: New file.
45355 * string/test-strcpy.c: Add wcscpy support.
45358 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45360 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45363 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45366 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45368 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45371 Minor optimizations.
45373 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45374 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45375 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45377 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45379 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45380 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45381 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45382 for gcc to avoid warnings.
45383 * inet/Makefile (tests): Add tst-checks.
45384 * inet/tst-checks.c: New file.
45386 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45389 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45392 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45393 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45395 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45397 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45399 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45402 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45404 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45406 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45407 conditional on GCC version.
45408 (__arch_compare_and_exchange_val_8_acq)
45409 (__arch_compare_and_exchange_val_16_acq)
45410 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45411 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45412 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45414 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45416 * sysdeps/sh/backtrace.c: New file.
45418 2011-12-02 Andreas Schwab <schwab@redhat.com>
45420 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45423 2011-12-01 Andreas Schwab <schwab@redhat.com>
45425 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45426 falling back to utime.
45428 2011-11-30 Andreas Schwab <schwab@redhat.com>
45430 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45431 expectations for float.
45433 2011-11-29 Andreas Schwab <schwab@redhat.com>
45435 * locale/weight.h (findidx): Add parameter len.
45436 * locale/weightwc.h (findidx): Likewise.
45437 * posix/fnmatch_loop.c (FCT): Adjust caller.
45438 * posix/regcomp.c (build_equiv_class): Likewise.
45439 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45440 * posix/regexec.c (check_node_accept_bytes): Likewise.
45441 * string/strcoll_l.c (STRCOLL): Likewise.
45442 * string/strxfrm_l.c (STRXFRM): Likewise.
45444 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45446 * Makefile.in: Remove CVSOPT handling.
45447 * configure.in: Remove use of AC_REVISION.
45448 * iconvdata/Makefile (distribute): No need to filter out CVS.
45449 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45452 2011-11-16 Andreas Schwab <schwab@redhat.com>
45454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45455 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45456 [USE_AS_STRNCASECMP_L]: Likewise.
45457 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45458 NO_TLS_DIRECT_SEG_REFS.
45459 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45460 Fix argument offsets for non-PIC.
45461 [USE_AS_STRNCASECMP_L]: Likewise.
45462 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45463 NO_TLS_DIRECT_SEG_REFS.
45465 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45467 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45469 * locale/loadlocale.c (_nl_load_locale): Likewise.
45471 2011-11-15 Andreas Schwab <schwab@redhat.com>
45473 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45474 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45475 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45476 (SYSCALL_GETTIME): Set errno on error.
45478 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45479 count references to noai6ai_cached.
45481 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45483 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45485 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45486 FD_CLOEXEC for /proc/self/maps.
45488 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45489 FD_CLOEXEC for /proc/meminfo.
45491 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45494 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45495 FD_CLOEXEC for given file.
45497 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45499 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45500 FD_CLOEXEC for /etc/hosts.
45501 (_gethtent): Likewise.
45503 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45505 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45506 cancellation and set FD_CLOEXEC for /etc/netgroup.
45508 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45509 reading /etc/publickey.
45511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45512 allow cancellation when reading /etc/group.
45514 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45516 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45518 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45519 when using data file.
45521 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45523 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45524 (write_nis_obj): Use "c" and "e" in fopen.
45526 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45528 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45530 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45532 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45534 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45537 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45539 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45541 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45543 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45544 file parsing and set FD_CLOEXEC.
45546 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45548 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45550 2011-11-14 Andreas Schwab <schwab@redhat.com>
45552 * malloc/arena.c (arena_get2): Don't call reused_arena when
45553 _int_new_arena failed.
45555 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45557 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45558 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45559 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45560 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45561 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45562 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45563 to compile strcasecmp and strncasecmp.
45564 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45565 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45567 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45569 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45571 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45572 locale-defines.sym to gen-as-const-headers.
45573 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45574 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45575 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45576 to compile strcasecmp and strncasecmp.
45577 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45578 strcasecmp_l and strncasecmp_l.
45579 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45580 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45581 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45582 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45583 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45584 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45585 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45586 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45587 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45588 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45589 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45591 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45593 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45594 result of SYSDEP_GETTIME_CPU to retval.
45595 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45596 parameter list to macro. Remove trailing semicolon. Adjust users.
45598 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45601 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45603 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45605 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45606 from unused variable.
45608 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45610 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45613 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45616 * sunrpc/rpc_prot.c (rejected): Fix case value.
45618 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45619 unsigned long long int to avoid warnings in shift.
45621 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45623 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45626 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45627 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45628 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45630 * nis/nis_table.c (nis_list): Use variable of correct type for
45631 result of __follow_path call.
45633 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45635 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45636 of math functions ceil, trunc, floor, round, and sqrt, when
45637 avaliable on the platform.
45638 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45640 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45641 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45642 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45644 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45646 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45647 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45649 2011-11-11 Roland McGrath <roland@hack.frob.com>
45651 * include/unistd.h: Fix __readlink return type.
45652 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45654 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45656 * stdlib/ucontext.h: Undo last change for makecontext.
45658 2011-11-11 Andreas Schwab <schwab@redhat.com>
45660 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45662 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45663 * setjmp/setjmp.h: Mark functions as non-leaf.
45664 * setjmp/bits/setjmp2.h: Likewise.
45665 * stdlib/ucontext.h: Likewise.
45667 2011-11-10 Andreas Schwab <schwab@redhat.com>
45669 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45670 (reused_arena): Don't check arena limit.
45671 (arena_get2): Atomically check arena limit.
45673 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45675 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45676 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45678 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45681 2011-11-07 Andreas Schwab <schwab@redhat.com>
45683 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45684 handler when locking.
45686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45687 Fix size of allocated buffer.
45689 2011-11-04 Andreas Schwab <schwab@redhat.com>
45692 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45693 declarations for long double functions.
45694 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45696 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45698 2011-11-03 Andreas Schwab <schwab@redhat.com>
45700 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45703 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45706 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45708 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45710 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45712 * include/alloca.h (stackinfo_alloca_round): Define.
45713 (extend_alloca): Use it.
45714 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45715 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45718 * scripts/check-local-headers.sh: Ignore libaudit.h.
45720 * nscd/Makefile (extra-objs): Make recursively expanded.
45722 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45724 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45725 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45727 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45728 * posix/tst-rfc3484-2.c: Likewise.
45729 * posix/tst-rfc3484-3.c: Likewise.
45731 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45733 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45735 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45736 process_vm_writev from libc using GLIBC_2.15 version.
45738 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45740 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45742 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45745 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45748 * nss/getent.c (initgroups_keys): Show error message in case no group
45751 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45752 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45753 __bump_nl_timestamp.
45754 * nscd/connections (nscd_init): When host database is served open
45755 netlink socket and request notification about configuration changes.
45756 (main_loop_poll): Track netlink file descriptor and bump timestamp
45757 in case data becomes available.
45758 (main_loop_epoll): Likewise.
45759 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45760 (database_pers_head): Add extra_data fileds.
45761 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45762 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45763 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45765 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45766 in6ai data, call __free_in6ai.
45767 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45768 Add -DHAVE_NETLINK.
45769 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45770 interface information. Reuse previous data if netlink timestamp
45772 (__bump_nl_timestamp): New function.
45773 (__free_in6ai): New function.
45775 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45777 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45778 close_not_cancel_no_status here.
45779 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45781 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45784 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45787 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45788 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45789 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45791 2011-07-03 Andreas Jaeger <aj@suse.de>
45794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45795 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45796 * math/libm-test.inc (sin_test): Add test case.
45798 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45801 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45802 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45804 * elf/chroot_canon.c (chroot_canon): Cleanups.
45806 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45809 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45810 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45812 * string/test-strchr.c: Make usable for strchrnul testing.
45813 * string/test-strchrnul.c: New file.
45814 * string/Makefile (strop-tests): Add strchrnul.
45816 * po/it.po: Update from translation team.
45817 * po/es.po: Likewise.
45819 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45821 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45822 the three constants needed as parameters. Drop the others.
45823 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45824 __m128i_strloadu_tolower.
45825 Create and initialize variable zero and use it in all the places
45826 where _mm_setzero_si128 was used.
45828 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45829 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45830 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45831 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45833 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45834 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45835 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45836 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45837 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45838 __mpranred, __mptan.
45839 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45840 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45841 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45842 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45843 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45844 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45846 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45847 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45849 2011-10-28 Andreas Schwab <schwab@redhat.com>
45851 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45852 redefine if SHARED.
45853 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45856 wide char related routines to wcsmbs subdir.
45858 2011-10-27 Andreas Schwab <schwab@redhat.com>
45861 * misc/sys/cdefs.h (__THROWNL): Define.
45862 * posix/unistd.h: Use __THREADNL instead of __THREAD
45863 for memory synchronization functions.
45865 2011-10-26 Roland McGrath <roland@hack.frob.com>
45868 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45870 * manual/stdio.texi (Obstack Streams): Node removed.
45872 2011-10-26 Andreas Schwab <schwab@redhat.com>
45874 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45875 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45876 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45878 * math/math_private.h (math_force_eval): Allow non-addressable
45880 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45882 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45884 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45885 file is not needed.
45887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45888 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45889 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45890 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45892 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45893 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45894 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45896 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45897 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45898 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45899 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45900 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45901 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45902 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45903 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45904 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45905 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45906 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45907 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45909 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45910 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45911 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45912 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45913 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45914 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45916 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45917 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45919 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45920 place. Use VEX encoding when compiling for AVX.
45922 2011-10-25 Andreas Schwab <schwab@redhat.com>
45924 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45925 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45927 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45929 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45931 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45932 useless if() expression.
45933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45934 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45935 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45936 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45943 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45944 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45945 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45946 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45947 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45948 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45949 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45951 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45953 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45955 2011-10-25 Andreas Schwab <schwab@redhat.com>
45957 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45959 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45961 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45963 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45964 .text section. Avoid duplicate constants.
45965 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45967 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45973 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45975 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45976 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45977 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45978 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45979 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45980 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45981 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45982 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45983 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45985 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45987 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45988 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45989 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45990 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45991 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45992 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45993 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45994 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45995 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
45997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
45998 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
45999 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46000 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46001 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46002 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46003 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46004 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46005 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46006 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46007 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46008 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46009 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46011 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46013 * sysdeps/x86_64/dla.h: Move to ...
46014 * sysdeps/x86_64/fpu/dla.h: ...here.
46015 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46016 situations. Use __builtin_fma only for gcc 4.6 and up.
46018 * config.make.in: Add have-mfma4 entry.
46019 * configure.in: Substitute libc_cv_cc_fma4.
46020 * math/Makefile (dbl-only-routines): Add sincostab.
46021 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46022 Use __sincostab not sincos.
46023 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46026 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46027 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46030 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46031 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46032 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46033 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46036 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46038 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46039 define aliases when function name is a macro.
46040 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46041 sysdeps/ieee754/dbl-64/sincos.tbl.
46042 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46043 fma4-enabled routines.
46044 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46045 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46046 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46047 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46049 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46050 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46051 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46052 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46053 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46054 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46055 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46056 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46057 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46058 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46059 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46060 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46061 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46062 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46063 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46064 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46065 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46066 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46067 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46068 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46069 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46070 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46071 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46072 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46073 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46075 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46077 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46086 2011-10-24 Andreas Schwab <schwab@redhat.com>
46088 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46090 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46092 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46094 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46096 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46098 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46099 Remove unused variable magic_bits.
46100 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46102 * string/strnlen.c: Define and use STRNLEN macro.
46103 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46104 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46105 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46106 * wcsmbs/wcslen.c: Define and use WCSLEN.
46107 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46108 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46109 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46110 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46111 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46112 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46113 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46115 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46118 strnlen-sse2-no-bsf.
46119 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46121 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46122 Add strnlen support.
46123 (USE_AS_STRNLEN): New macro.
46124 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46125 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46126 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46127 * sysdeps/x86_64/wcslen.S: New file.
46129 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46132 XMM-moves are used for copying on small sizes.
46134 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46136 * wcsmbs/Makefile (strop-tests): Add wcschr.
46137 * wcsmbs/test-wcschr.c: New file.
46138 * string/test-strchr.c: Update.
46139 Add wcschr support.
46142 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46144 * wcsmbs/Makefile (strop-tests): Add wcslen.
46145 * wcsmbs/test-wcslen.c: New file.
46146 * string/test-strlen.c: Update.
46147 Add wcslen support.
46150 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46152 * po/it.po: Update from translation team.
46154 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46156 * sysdeps/x86_64/wcscmp.S: Update.
46157 Fix wrong comparison semantics.
46158 wcscmp shall use signed comparison not unsigned.
46159 Don't use substraction to avoid overflow bug.
46160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46161 * wcsmbc/wcscmp.c: Likewise.
46162 * string/test-strcmp.c: Likewise.
46163 Add new tests to check cases with negative values.
46165 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46167 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46168 * sysdeps/x86_64/dla.h: ...here. New file.
46169 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46176 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46179 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46182 __ynl_finite aliases.
46184 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46188 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46190 [DLA_FMA] (EMULV): Use DLA_FMA.
46191 [DLA_FMA] (MUL12): Use EMULV.
46192 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46193 that are not needed.
46194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46198 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46200 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46202 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46204 * math/s_nan.c: Undef __nan.
46205 * math/s_nanf.c: Undef __nanf.
46206 * math/s_nanl.c: Undef __nanl.
46207 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46210 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46212 * math/s_catan.c: Add branch predictions.
46213 * math/s_catanf.c: Likewise.
46214 * math/s_catanh.c: Likewise.
46215 * math/s_catanhf.c: Likewise.
46216 * math/s_catanhl.c: Likewise.
46217 * math/s_catanl.c: Likewise.
46218 * math/s_cexp.c: Likewise.
46219 * math/s_cexpf.c: Likewise.
46220 * math/s_cexpl.c: Likewise.
46221 * math/s_clog.c: Likewise.
46222 * math/s_clog10.c: Likewise.
46223 * math/s_clog10f.c: Likewise.
46224 * math/s_clog10l.c: Likewise.
46225 * math/s_clogf.c: Likewise.
46226 * math/s_clogl.c: Likewise.
46227 * math/s_csqrt.c: Likewise.
46228 * math/s_csqrtf.c: Likewise.
46229 * math/s_csqrtl.c: Likewise.
46230 * math/s_ctanf.c: Likewise.
46231 * math/s_ctanh.c: Likewise.
46232 * math/s_ctanhf.c: Likewise.
46233 * math/s_ctanhl.c: Likewise.
46234 * math/s_ctanl.c: Likewise.
46236 * math/math_private.h: Define __nan, __nanf, __nanl.
46237 * math/s_cacosh.c: Include <math_private.h>.
46238 * math/s_cacoshl.c: Likewise.
46239 * math/s_casinh.c: Likewise.
46240 * math/s_casinhf.c: Likewise.
46241 * math/s_casinhl.c: Likewise.
46242 * math/s_ccos.c: Rely entire on ccosh.
46243 * math/s_ccosf.c: Rely entire on ccoshf.
46244 * math/s_ccosl.c: Rely entirely on ccoshl.
46245 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46246 Remove tests for FE_INVALID.
46247 * math/s_ccoshf.c: Likewise.
46248 * math/s_ccoshl.c: Likewise.
46249 * math/s_csin.c: Likewise.
46250 * math/s_csinf.c: Likewise.
46251 * math/s_csinh.c Likewise.
46252 * math/s_csinhf.c: Likewise.
46253 * math/s_csinhl.c: Likewise.
46254 * math/s_csinl.c: Likewise.
46255 * math/s_ctan.c: Likewise.
46256 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46257 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46258 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46260 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46263 compilation problems.
46265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46268 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46270 * sysdeps/i386/configure.in: Test for -mfma4 option.
46271 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46272 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46273 COMMON_CPUID_INDEX_80000001.
46274 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46275 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46276 use it if FMA3 is not supported.
46277 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46279 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46280 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46282 2011-10-20 Andreas Schwab <schwab@redhat.com>
46285 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46286 it would create a cycle with a link time dependency.
46288 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46290 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46292 * string/Makefile (strop-tests): Add rawmemchr.
46293 * string/test-rawmemchr.c: New file.
46295 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46297 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46298 when compiling str{,n}casecmp and when AVX is available. Hook up
46299 new optimized code in initializers.
46301 2011-10-19 Andreas Schwab <schwab@redhat.com>
46303 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46304 __feraiseexcept instead of feraiseexcept.
46306 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46308 * math/math_private.h: Define defaults for libc_fetestexcept and
46310 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46311 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46312 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46313 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46314 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46315 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46316 libc_fetestexcept and libc_feupdateenv.
46318 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46319 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46320 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46321 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46322 libc_feholdexcept_setround.
46324 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46325 Add s_nearbyint-c and s_nearbyintf-c.
46326 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46327 nearbyintf inlines.
46328 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46329 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46330 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46331 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46333 * math/math_private.h: Define defaults for libc_fegetround,
46334 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46335 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46336 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46337 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46338 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46339 standard functions.
46340 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46341 Remove comments and hacks for old compiler versions.
46342 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46343 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46344 libc_feholdexceptl.
46346 2011-10-18 Andreas Schwab <schwab@redhat.com>
46348 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46349 (__feraiseexcept_renamed): Add __NTH.
46350 (feraiseexcept): Add __NTH. Rename local variables to fix
46351 namespace violations.
46353 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46355 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46357 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46359 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46360 recently added interfaces.
46361 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46363 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46364 about macro parameter expansion.
46366 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46367 __NO_MATH_INLINES is defined. Cleanups.
46369 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46370 and __floorf is target has SSE4.1.
46371 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46373 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46374 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46376 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46378 (floorf): Likewise.
46380 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46382 2011-10-17 Andreas Schwab <schwab@redhat.com>
46384 * misc/sys/cdefs.h: Fix last change.
46386 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46389 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46391 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46393 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46394 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46395 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46396 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46399 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46400 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46401 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46402 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46403 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46404 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46405 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46406 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46407 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46408 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46409 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46410 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46411 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46412 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46413 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46414 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46416 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46417 ceil, ceilf, floor, floorf.
46419 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46420 Perform IRELATIVE relocations last.
46422 * elf/do-rel.h: Add another parameter nrelative, replacing the
46423 local variable with the same name. Change name of the function
46424 to end in Rel or Rela (uppercase).
46425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46426 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46427 elf_dynamic_do_##reloc function.
46429 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46431 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46432 is sufficient, at least on modern CPUs.
46434 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46436 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46439 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46441 * math/bits/math-finite.h: Add entries for exp.
46442 * math/e_expl.c: Add __*_finite alias.
46443 * sysdeps/i386/fpu/e_exp.S: Likewise.
46444 * sysdeps/i386/fpu/e_expf.S: Likewise.
46445 * sysdeps/i386/fpu/e_expl.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46447 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46448 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46451 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46452 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46454 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46455 is sufficient, at least on modern CPUs.
46457 * ctype/ctype-info.c (__ctype_init): Define.
46458 * include/ctype.h (__ctype_init): Declare.
46459 (__ctype_b_loc): The variable is always initialized.
46460 (__ctype_toupper_loc): Likewise.
46461 (__ctype_tolower_loc): Likewise.
46462 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46463 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46465 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46467 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46469 * configure.in: Also look in $cxxmachine/include for C++ system
46472 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46474 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46475 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46476 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46477 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46478 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46479 (USE_AS_WMEMCMP): New macro.
46481 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46482 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46483 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46484 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46486 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46487 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46488 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46489 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46490 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46491 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46492 (USE_AS_WMEMCMP): New macro.
46493 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46494 * sysdeps/string/test-memcmp.c: Update.
46495 Fix simple_wmemcmp.
46497 * wcsmbs/wmemcmp.c: Update.
46498 (WMEMCMP): New macro.
46501 2011-10-12 Andreas Jaeger <aj@suse.de>
46504 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46506 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46508 * libio/iofwide.c (do_length): Avoid warning.
46510 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46512 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46514 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46516 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46517 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46518 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46519 * sysdeps/i386/i686/fpu/e_log.S: New file.
46520 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46521 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46523 * ctype/ctype.h: Add support for inlined isXXX functions when
46524 compiling C++ code.
46526 2011-10-14 Andreas Schwab <schwab@redhat.com>
46528 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46530 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46532 2011-10-13 Roland McGrath <roland@hack.frob.com>
46535 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46537 2011-10-13 Andreas Schwab <schwab@redhat.com>
46539 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46540 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46543 * sysdeps/x86_64/memrchr.S: Check for zero size.
46545 * string/stratcliff.c: Add memrchr tests.
46547 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46550 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46551 rawmemchr-sse2 rawmemchr-sse2-bsf.
46552 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46553 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46554 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46555 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46556 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46557 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46558 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46559 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46560 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46561 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46562 * string/memrchr.c (MEMRCHR): New macro.
46564 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46566 Add integration with gcc's -ffinite-math-only and optimize wrapper
46568 * Versions.def: Define GLIBC_2.15 version for libm.
46569 * math/Makefile (headers): Add bits/math-finite.h.
46570 * math/bits/math-finite.h: New file.
46571 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46572 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46573 * math/e_acoshl.c: Add __*_finite alias.
46574 * math/e_acosl.c: Likewise.
46575 * math/e_asinl.c: Likewise.
46576 * math/e_atan2l.c: Likewise.
46577 * math/e_atanhl.c: Likewise.
46578 * math/e_coshl.c: Likewise.
46579 * math/e_exp10.c: Likewise.
46580 * math/e_exp10f.c: Likewise.
46581 * math/e_exp10l.c: Likewise.
46582 * math/e_exp2l.c: Likewise.
46583 * math/e_fmodl.c: Likewise.
46584 * math/e_gammal_r.c: Likewise.
46585 * math/e_hypotl.c: Likewise.
46586 * math/e_j0l.c: Likewise.
46587 * math/e_j1l.c: Likewise.
46588 * math/e_jnl.c: Likewise.
46589 * math/e_lgammal_r.c: Likewise.
46590 * math/e_log10l.c: Likewise.
46591 * math/e_log2l.c: Likewise.
46592 * math/e_logl.c: Likewise.
46593 * math/e_powl.c: Likewise.
46594 * math/e_sinhl.c: Likewise.
46595 * math/e_sqrtl.c: Likewise.
46596 * math/e_scalb.c: Completely rewritten and optimized.
46597 * math/e_scalbf.c: Likewise.
46598 * math/e_scalbl.c: Likewise.
46599 * math/w_acos.c: Likewise.
46600 * math/w_acosf.c: Likewise.
46601 * math/w_acosl.c: Likewise.
46602 * math/w_acosh.c: Likewise.
46603 * math/w_acoshf.c: Likewise.
46604 * math/w_acoshl.c: Likewise.
46605 * math/w_asin.c: Likewise.
46606 * math/w_asinf.c: Likewise.
46607 * math/w_asinl.c: Likewise.
46608 * math/w_atan2.c: Likewise.
46609 * math/w_atan2f.c: Likewise.
46610 * math/w_atan2l.c: Likewise.
46611 * math/w_atanh.c: Likewise.
46612 * math/w_atanhf.c: Likewise.
46613 * math/w_atanhl.c: Likewise.
46614 * math/w_exp10.c: Likewise.
46615 * math/w_exp10f.c: Likewise.
46616 * math/w_exp10l.c: Likewise.
46617 * math/w_fmod.c: Likewise.
46618 * math/w_fmodf.c: Likewise.
46619 * math/w_fmodl.c: Likewise.
46620 * math/w_j0.c: Likewise.
46621 * math/w_j0f.c: Likewise.
46622 * math/w_j0l.c: Likewise.
46623 * math/w_j1.c: Likewise.
46624 * math/w_j1f.c: Likewise.
46625 * math/w_j1l.c: Likewise.
46626 * math/w_jn.c: Likewise.
46627 * math/w_jnf.c: Likewise.
46628 * math/w_log.c: Likewise.
46629 * math/w_logf.c: Likewise.
46630 * math/w_logl.c: Likewise.
46631 * math/w_log10.c: Likewise.
46632 * math/w_log10f.c: Likewise.
46633 * math/w_log10l.c: Likewise.
46634 * math/w_log2.c: Likewise.
46635 * math/w_log2f.c: Likewise.
46636 * math/w_log2l.c: Likewise.
46637 * math/w_pow.c: Likewise.
46638 * math/w_powf.c: Likewise.
46639 * math/w_powl.c: Likewise.
46640 * math/w_remainder.c: Likewise.
46641 * math/w_remainderf.c: Likewise.
46642 * math/w_remainderl.c: Likewise.
46643 * math/w_scalb.c: Likewise.
46644 * math/w_scalbf.c: Likewise.
46645 * math/w_scalbl.c: Likewise.
46646 * math/w_sqrt.c: Likewise.
46647 * math/w_sqrtf.c: Likewise.
46648 * math/w_sqrtl.c: Likewise.
46649 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46650 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46652 * math/math_private.h: Declare __kernel_standard_f.
46653 * math/w_cosh.c: Remove cruft and optimize a bit.
46654 * math/w_coshf.c: Likewise.
46655 * math/w_coshl.c: Likewise.
46656 * math/w_exp2.c: Likewise.
46657 * math/w_exp2f.c: Likewise.
46658 * math/w_exp2l.c: Likewise.
46659 * math/w_hypot.c: Likewise.
46660 * math/w_hypotf.c: Likewise.
46661 * math/w_hypotl.c: Likewise.
46662 * math/w_lgamma.c: Likewise.
46663 * math/w_lgamma_r.c: Likewise.
46664 * math/w_lgammaf.c: Likewise.
46665 * math/w_lgammaf_r.c: Likewise.
46666 * math/w_lgammal.c: Likewise.
46667 * math/w_lgammal_r.c: Likewise.
46668 * math/w_sinh.c: Likewise.
46669 * math/w_sinhf.c: Likewise.
46670 * math/w_sinhl.c: Likewise.
46671 * math/w_tgamma.c: Likewise.
46672 * math/w_tgammaf.c: Likewise.
46673 * math/w_tgammal.c: Likewise.
46674 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46675 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46676 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46677 Minor optimizations. Pretty printing. Remove cruft.
46678 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46679 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46680 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46681 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46682 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46683 * sysdeps/i386/fpu/e_asin.S: Likewise.
46684 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46685 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46686 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46687 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46688 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46689 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46690 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46691 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46692 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46693 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46694 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46695 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46696 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46697 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46698 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46699 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46700 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46701 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46702 * sysdeps/i386/fpu/e_log.S: Likewise.
46703 * sysdeps/i386/fpu/e_log10.S: Likewise.
46704 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46705 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46706 * sysdeps/i386/fpu/e_log2.S: Likewise.
46707 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46708 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46709 * sysdeps/i386/fpu/e_logf.S: Likewise.
46710 * sysdeps/i386/fpu/e_logl.S: Likewise.
46711 * sysdeps/i386/fpu/e_pow.S: Likewise.
46712 * sysdeps/i386/fpu/e_powf.S: Likewise.
46713 * sysdeps/i386/fpu/e_powl.S: Likewise.
46714 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46715 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46716 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46717 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46718 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46719 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46720 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46721 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46722 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46730 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46731 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46732 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46733 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46734 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46736 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46737 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46740 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46741 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46743 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46744 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46745 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46746 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46747 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46748 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46749 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46750 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46751 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46752 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46753 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46754 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46755 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46756 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46757 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46758 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46759 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46760 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46761 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46762 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46763 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46764 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46765 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46766 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46767 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46778 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46779 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46780 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46781 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46782 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46783 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46785 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46788 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46791 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46792 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46793 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46794 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46795 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46797 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46798 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46803 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46808 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46810 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46811 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46812 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46814 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46815 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46816 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46817 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46818 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46819 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46820 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46821 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46822 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46823 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46824 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46825 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46826 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46827 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46828 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46829 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46830 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46831 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46832 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46833 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46834 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46835 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46836 (__isnanf): Likewise.
46837 (__isinf_ns): Likewise.
46838 (__isinf_nsf): Likewise.
46839 (__finite): Likewise.
46840 (__finitef): Likewise.
46841 (__ieee754_sqrt): Define as macro.
46842 (__ieee754_sqrtf): Define as macro.
46843 (__ieee754_sqrtl): Define as macro.
46844 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46846 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46847 __FINITE_MATH_ONLY__ consistent.
46848 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46850 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46852 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46855 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46857 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46859 * po/ja.po: Update from translation team.
46861 2011-10-08 Roland McGrath <roland@hack.frob.com>
46863 * locale/programs/locarchive.c (prepare_address_space): New function.
46864 (create_archive, enlarge_archive, open_archive): Use it.
46866 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46867 inside [SHARED], where it is used.
46869 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46871 * nss/getent.c (netgroup_keys): Remove unused variable.
46872 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46874 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46876 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46877 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46879 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46880 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46881 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46882 * math/Makefile (libm-calls): Add s_isinf_ns.
46883 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46884 * math/multc3.c: Likewise.
46885 * math/s_casin.c: Likewise.
46886 * math/s_casinf.c: Likewise.
46887 * math/s_casinl.c: Likewise.
46888 * math/s_ccos.c: Likewise.
46889 * math/s_ccosf.c: Likewise.
46890 * math/s_ccosl.c: Likewise.
46891 * math/s_ctan.c: Likewise.
46892 * math/s_ctanf.c: Likewise.
46893 * math/s_ctanh.c: Likewise.
46894 * math/s_ctanhf.c: Likewise.
46895 * math/s_ctanhl.c: Likewise.
46896 * math/s_ctanl.c: Likewise.
46897 * math/w_fmod.c: Likewise.
46898 * math/w_fmodf.c: Likewise.
46899 * math/w_fmodl.c: Likewise.
46900 * math/w_remainder.c: Likewise.
46901 * math/w_remainderf.c: Likewise.
46902 * math/w_remainderl.c: Likewise.
46903 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46904 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46905 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46907 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46908 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46909 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46910 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46912 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46914 * stdio-common/printf_fphex.c: Likewise.
46915 * stdio-common/printf_size.c: Likewise.
46917 * math/e_exp10.c: Include math_private.h using <...> not "...".
46918 * math/e_exp10f.c: Likewise.
46919 * math/e_exp10l.c: Likewise.
46920 * math/e_exp2l.c: Likewise.
46921 * math/e_j0l.c: Likewise.
46922 * math/e_j1l.c: Likewise.
46923 * math/e_jnl.c: Likewise.
46924 * math/e_lgammal_r.c: Likewise.
46925 * math/e_rem_pio2l.c: Likewise.
46926 * math/e_scalb.c: Likewise.
46927 * math/e_scalbf.c: Likewise.
46928 * math/e_scalbl.c: Likewise.
46929 * math/k_cosl.c: Likewise.
46930 * math/k_sinl.c: Likewise.
46931 * math/k_tanl.c: Likewise.
46932 * math/s_cacoshf.c: Likewise.
46933 * math/s_catan.c: Likewise.
46934 * math/s_catanf.c: Likewise.
46935 * math/s_catanh.c: Likewise.
46936 * math/s_catanhf.c: Likewise.
46937 * math/s_catanhl.c: Likewise.
46938 * math/s_catanl.c: Likewise.
46939 * math/s_ccosh.c: Likewise.
46940 * math/s_ccoshf.c: Likewise.
46941 * math/s_ccoshl.c: Likewise.
46942 * math/s_cexp.c: Likewise.
46943 * math/s_cexpf.c: Likewise.
46944 * math/s_cexpl.c: Likewise.
46945 * math/s_clog.c: Likewise.
46946 * math/s_clog10.c: Likewise.
46947 * math/s_clog10f.c: Likewise.
46948 * math/s_clog10l.c: Likewise.
46949 * math/s_clogf.c: Likewise.
46950 * math/s_clogl.c: Likewise.
46951 * math/s_csin.c: Likewise.
46952 * math/s_csinf.c: Likewise.
46953 * math/s_csinh.c: Likewise.
46954 * math/s_csinhf.c: Likewise.
46955 * math/s_csinhl.c: Likewise.
46956 * math/s_csinl.c: Likewise.
46957 * math/s_csqrt.c: Likewise.
46958 * math/s_csqrtf.c: Likewise.
46959 * math/s_csqrtl.c: Likewise.
46960 * math/s_ctan.c: Likewise.
46961 * math/s_ctanf.c: Likewise.
46962 * math/s_ctanh.c: Likewise.
46963 * math/s_ctanhf.c: Likewise.
46964 * math/s_ctanhl.c: Likewise.
46965 * math/s_ctanl.c: Likewise.
46966 * math/s_ldexp.c: Likewise.
46967 * math/s_ldexpf.c: Likewise.
46968 * math/s_ldexpl.c: Likewise.
46969 * math/s_significand.c: Likewise.
46970 * math/s_significandf.c: Likewise.
46971 * math/s_significandl.c: Likewise.
46972 * math/w_acos.c: Likewise.
46973 * math/w_acosf.c: Likewise.
46974 * math/w_acosh.c: Likewise.
46975 * math/w_acoshf.c: Likewise.
46976 * math/w_acoshl.c: Likewise.
46977 * math/w_acosl.c: Likewise.
46978 * math/w_asin.c: Likewise.
46979 * math/w_asinf.c: Likewise.
46980 * math/w_asinl.c: Likewise.
46981 * math/w_atan2.c: Likewise.
46982 * math/w_atan2f.c: Likewise.
46983 * math/w_atan2l.c: Likewise.
46984 * math/w_atanh.c: Likewise.
46985 * math/w_atanhf.c: Likewise.
46986 * math/w_atanhl.c: Likewise.
46987 * math/w_cosh.c: Likewise.
46988 * math/w_coshf.c: Likewise.
46989 * math/w_coshl.c: Likewise.
46990 * math/w_dremf.c: Likewise.
46991 * math/w_exp10.c: Likewise.
46992 * math/w_exp10f.c: Likewise.
46993 * math/w_exp10l.c: Likewise.
46994 * math/w_exp2.c: Likewise.
46995 * math/w_exp2f.c: Likewise.
46996 * math/w_fmod.c: Likewise.
46997 * math/w_fmodf.c: Likewise.
46998 * math/w_fmodl.c: Likewise.
46999 * math/w_hypot.c: Likewise.
47000 * math/w_hypotf.c: Likewise.
47001 * math/w_hypotl.c: Likewise.
47002 * math/w_j0.c: Likewise.
47003 * math/w_j0f.c: Likewise.
47004 * math/w_j0l.c: Likewise.
47005 * math/w_j1.c: Likewise.
47006 * math/w_j1f.c: Likewise.
47007 * math/w_j1l.c: Likewise.
47008 * math/w_jn.c: Likewise.
47009 * math/w_jnf.c: Likewise.
47010 * math/w_jnl.c: Likewise.
47011 * math/w_lgamma.c: Likewise.
47012 * math/w_lgamma_r.c: Likewise.
47013 * math/w_lgammaf.c: Likewise.
47014 * math/w_lgammaf_r.c: Likewise.
47015 * math/w_lgammal.c: Likewise.
47016 * math/w_lgammal_r.c: Likewise.
47017 * math/w_log.c: Likewise.
47018 * math/w_log10.c: Likewise.
47019 * math/w_log10f.c: Likewise.
47020 * math/w_log10l.c: Likewise.
47021 * math/w_log2.c: Likewise.
47022 * math/w_log2f.c: Likewise.
47023 * math/w_log2l.c: Likewise.
47024 * math/w_logf.c: Likewise.
47025 * math/w_logl.c: Likewise.
47026 * math/w_pow.c: Likewise.
47027 * math/w_powf.c: Likewise.
47028 * math/w_powl.c: Likewise.
47029 * math/w_remainder.c: Likewise.
47030 * math/w_remainderf.c: Likewise.
47031 * math/w_remainderl.c: Likewise.
47032 * math/w_scalb.c: Likewise.
47033 * math/w_scalbf.c: Likewise.
47034 * math/w_scalbl.c: Likewise.
47035 * math/w_sinh.c: Likewise.
47036 * math/w_sinhf.c: Likewise.
47037 * math/w_sinhl.c: Likewise.
47038 * math/w_sqrt.c: Likewise.
47039 * math/w_sqrtf.c: Likewise.
47040 * math/w_sqrtl.c: Likewise.
47041 * math/w_tgamma.c: Likewise.
47042 * math/w_tgammaf.c: Likewise.
47043 * math/w_tgammal.c: Likewise.
47045 * po/ja.po: Update from translation team.
47047 2011-09-29 Andreas Jaeger <aj@suse.de>
47050 * sunrpc/netname.c (netname2host): Fix logic.
47054 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47056 * math/w_remainder.c (__remainder): Likewise.
47057 * math/w_remainderf.c (__remainderf): Likewise.
47058 * math/libm-test.inc (remainder_test): Add test cases.
47060 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47062 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47065 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47067 * string/test-memcmp.c: Avoid unncessary #defines.
47068 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47070 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47072 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47073 Use new sse2 version for core i3 - i7 as it's faster
47074 than sse42 version.
47075 (bit_Prefer_PMINUB_for_stringop): New.
47076 * sysdeps/x86_64/rawmemchr.S: Update.
47077 Replace with faster SSE2 version.
47078 * sysdeps/x86_64/memrchr.S: New file.
47079 * sysdeps/x86_64/memchr.S: Update.
47080 Replace with faster SSE2 version.
47082 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47084 * elf/dl-load.c (lose): Add cast to avoid warning.
47086 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47088 * po/ca.po: Update from translation team.
47090 * inet/getnetgrent_r.c: Hook up nscd.
47091 * nscd/Makefile (routines): Add nscd_netgroup.
47092 (nscd-modules): Add netgroupcache.
47093 (CFLAGS-netgroupcache.c): Define.
47094 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47095 (cache_search): Add const to second parameter.
47096 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47098 (dbs): Add netgrdb entry.
47099 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47100 (verify_persistent_db): Handle netgrdb.
47101 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47102 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47104 (netgroup_response_header): Define.
47105 (innetgroup_response_header): Define.
47106 (datahead): Add netgroup_response_header and innetgroup_response_header
47108 * nscd/nscd.conf: Add entries for netgroup cache.
47109 * nscd/nscd.h (dbtype): Add netgrdb.
47110 (_PATH_NSCD_NETGROUP_DB): Define.
47111 (netgroup_iov_disabled): Declare.
47112 (xmalloc, xcalloc, xrealloc): Move declarations here.
47113 (cache_search): Adjust prototype.
47114 Add netgroup-related prototypes.
47115 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47116 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47117 (__nscd_innetgr): Declare.
47118 * nscd/selinux.c (perms): Use access_vector_t as element type and
47119 add netgroup-related initializers.
47120 * nscd/netgroupcache.c: New file.
47121 * nscd/nscd_netgroup.c: New file.
47122 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47123 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47124 For four parameters use innetgr.
47125 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47126 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47127 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47128 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47130 * nscd/connections.c (register_traced_file): Don't register file
47131 for disabled databases.
47133 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47135 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47137 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47138 from tree and freeing node.
47140 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47142 * nss/nsswitch.c (__nss_database_lookup): Handle
47143 nss_parse_service_list out of memory case.
47145 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47147 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47148 out of memory case.
47150 2011-10-04 Andreas Schwab <schwab@redhat.com>
47152 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47153 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47155 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47156 elf_machine_rela, elf_machine_lazy_rel.
47157 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47158 (ELF_DYNAMIC_DO_REL): Likewise.
47159 (ELF_DYNAMIC_DO_RELA): Likewise.
47160 (ELF_DYNAMIC_RELOCATE): Likewise.
47161 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47162 to ELF_DYNAMIC_DO_REL.
47163 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47164 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47165 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47167 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47168 skip_ifunc, don't call ifunc function if non-zero.
47169 (elf_machine_rela): Likewise.
47170 (elf_machine_lazy_rel): Likewise.
47171 (elf_machine_lazy_rela): Likewise.
47172 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47173 (elf_machine_lazy_rel): Likewise.
47174 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47176 (elf_machine_lazy_rel): Likewise.
47177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47179 (elf_machine_lazy_rel): Likewise.
47180 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47181 (elf_machine_lazy_rel): Likewise.
47182 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47183 (elf_machine_lazy_rel): Likewise.
47184 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47185 (elf_machine_lazy_rel): Likewise.
47186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47187 (elf_machine_lazy_rel): Likewise.
47188 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47189 (elf_machine_lazy_rel): Likewise.
47190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47191 (elf_machine_lazy_rel): Likewise.
47193 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47195 * nss/nss_files/files-init.c (_nss_files_init): Use static
47196 initialization for all the *_traced_file variables.
47198 2011-09-28 Andreas Schwab <schwab@redhat.com>
47200 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47202 2011-09-27 Roland McGrath <roland@hack.frob.com>
47205 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47207 2011-09-27 Andreas Schwab <schwab@redhat.com>
47209 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47210 Reread the line before reparsing it.
47212 2011-09-26 Andreas Schwab <schwab@redhat.com>
47214 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47216 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47217 Maxim Kuvyrkov <maxim@codesourcery.com>
47218 Joseph Myers <joseph@codesourcery.com>
47220 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47221 if needed for __stack_chk_guard.
47223 2011-09-19 Roland McGrath <roland@hack.frob.com>
47225 * sysdeps/posix/spawni.c (script_execute): Always define it.
47226 It will be optimized away if unused.
47227 (maybe_script_execute): New function.
47228 (__spawni): Call it.
47230 * Makerules: Don't include tls.make.
47231 (config-tls): Always set to thread.
47232 * tls.make.c: File removed.
47234 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47236 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47237 * config.make.in (CPPFLAGS-config): New substituted variable.
47239 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47241 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47244 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47245 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47247 2011-09-15 Roland McGrath <roland@hack.frob.com>
47249 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47250 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47251 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47252 (CALL_FAIL): Likewise.
47253 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47254 (CALL_FAIL): Macro removed.
47255 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47257 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47259 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47260 for __FINITE_MATH_ONLY__ == 1.
47262 2011-09-15 Andreas Schwab <schwab@redhat.com>
47264 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47265 __ieee754_sqrt instead of sqrt.
47266 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47267 __ieee754_sqrtf instead of sqrtf.
47268 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47269 __floorf instead of floorf.
47270 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47271 __floorf, __truncf instead of floorf, truncf.
47273 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47275 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47277 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47278 __extern_always_inline.
47279 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47282 2011-09-14 Andreas Schwab <schwab@redhat.com>
47284 * elf/rtld.c (dl_main): Also relocate in dependency order when
47285 doing symbol dependency testing.
47287 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47289 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47290 Always define `refsym'.
47292 2011-09-13 Andreas Schwab <schwab@redhat.com>
47294 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47295 (__FD_ELT): Renamed from __FDELT.
47296 * misc/bits/select2.h (__FD_ELT): Likewise.
47297 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47298 __FD_MASK instead of __FDELT, __FDMASK.
47299 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47301 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47304 * elf/Makefile (gen-ldd): Fix pattern.
47306 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47307 (init_tls): Likewise.
47309 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47311 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47313 2011-09-12 Andreas Schwab <schwab@redhat.com>
47315 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47316 `struct cmsghdr *' instead of `void *'.
47317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47320 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47322 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47324 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47325 ldd_rewrite_script.
47327 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47329 * configure.in: Remove --with-tls option.
47330 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47331 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47332 out in case it is missing.
47333 * sysdeps/ia64/elf/configure.in: Likewise.
47334 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47335 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47336 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47337 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47338 * sysdeps/sh/elf/configure.in: Likewise.
47339 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47340 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47341 * sysdeps/x86_64/elf/configure.in: Likewise.
47342 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47343 * sysdeps/mach/hurd/tls.h: Likewise.
47346 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47349 * configure.in: Fix use of AC_INIT.
47351 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47353 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47355 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47357 * malloc/hooks.c: Likewise.
47360 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47361 variables statically.
47362 (narenas): Initialize.
47363 (list_lock): Initialize.
47364 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47365 initializtion of main_arena and list_lock. Small cleanups.
47366 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47367 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47368 Add initializers to main_arena and mp_.
47369 (malloc_state): Remove pagesize member. Change all users to use
47372 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47373 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47374 is always initialized.
47376 * malloc/malloc.c: Removed unused configurations and dead code.
47377 * malloc/arena.c: Likewise.
47378 * malloc/hooks.c: Likewise.
47379 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47381 * include/tls.h: Removed. USE___THREAD must always be defined.
47382 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47383 * elf/dl-libc.c: Likewise.
47384 * elf/dl-tsd.c: Likewise.
47385 * include/errno.h: Likewise.
47386 * include/netdb.h: Likewise.
47387 * include/resolv.h: Likewise.
47388 * inet/herrno-loc.c: Likewise.
47389 * inet/herrno.c: Likewise.
47390 * malloc/arena.c: Likewise.
47391 * malloc/hooks.c: Likewise.
47392 * malloc/malloc.c: Likewise.
47393 * resolv/res-state.c: Likewise.
47394 * resolv/res_libc.c: Likewise.
47395 * sysdeps/i386/dl-machine.h: Likewise.
47396 * sysdeps/ia64/dl-machine.h: Likewise.
47397 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47398 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47399 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47400 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47401 * sysdeps/sh/dl-machine.h: Likewise.
47402 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47403 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47404 * sysdeps/unix/i386/sysdep.S: Likewise.
47405 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47406 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47407 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47408 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47409 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47411 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47413 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47414 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47415 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47416 * sysdeps/x86_64/dl-machine.h: Likewise.
47417 * tls.make.c: Likewise.
47419 * configure.in: Remove --with-__thread option. Make tests for
47420 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47421 tls_model attribute fail if no support is available. Remove
47423 * Makeconfig: Adjust for dropped configure option. All features are
47425 * Makerules: Likewise.
47426 * Versions.def: Likewise.
47427 * argp/argp-fmtstream.c: Likewise.
47428 * argp/argp-fmtstream.h: Likewise.
47429 * argp/argp-help.c: Likewise.
47430 * assert/assert.c: Likewise.
47431 * config.h.in: Likewise.
47432 * config.make.in: Likewise.
47433 * configure: Likewise.
47434 * configure.in: Likewise.
47435 * csu/Versions: Likewise.
47436 * csu/init.c: Likewise.
47437 * elf/tst-audit2.c: Likewise.
47438 * elf/tst-tls10.c: Likewise.
47439 * elf/tst-tls10.h: Likewise.
47440 * elf/tst-tls11.c: Likewise.
47441 * elf/tst-tls12.c: Likewise.
47442 * elf/tst-tls14.c: Likewise.
47443 * elf/tst-tlsmod11.c: Likewise.
47444 * elf/tst-tlsmod12.c: Likewise.
47445 * elf/tst-tlsmod13.c: Likewise.
47446 * elf/tst-tlsmod13a.c: Likewise.
47447 * elf/tst-tlsmod14a.c: Likewise.
47448 * elf/tst-tlsmod15b.c: Likewise.
47449 * elf/tst-tlsmod16a.c: Likewise.
47450 * elf/tst-tlsmod16b.c: Likewise.
47451 * elf/tst-tlsmod7.c: Likewise.
47452 * elf/tst-tlsmod8.c: Likewise.
47453 * elf/tst-tlsmod9.c: Likewise.
47454 * gmon/gmon.c: Likewise.
47455 * grp/fgetgrent_r.c: Likewise.
47456 * grp/putgrent.c: Likewise.
47457 * hurd/fopenport.c: Likewise.
47458 * include/libc-symbols.h: Likewise.
47459 * include/tls.h: Likewise.
47460 * intl/gettextP.h: Likewise.
47461 * intl/loadinfo.h: Likewise.
47462 * locale/global-locale.c: Likewise.
47463 * locale/localeinfo.h: Likewise.
47464 * mach/devstream.c: Likewise.
47465 * malloc/arena.c: Likewise.
47466 * malloc/set-freeres.c: Likewise.
47467 * misc/err.c: Likewise.
47468 * misc/getttyent.c: Likewise.
47469 * misc/mntent_r.c: Likewise.
47470 * posix/getopt.c: Likewise.
47471 * posix/wordexp.c: Likewise.
47472 * pwd/fgetpwent_r.c: Likewise.
47473 * resolv/Versions: Likewise.
47474 * resolv/res_hconf.c: Likewise.
47475 * shadow/fgetspent_r.c: Likewise.
47476 * shadow/putspent.c: Likewise.
47477 * stdio-common/printf_fphex.c: Likewise.
47478 * stdio-common/tmpfile.c: Likewise.
47479 * stdlib/abort.c: Likewise.
47480 * stdlib/fmtmsg.c: Likewise.
47481 * sunrpc/auth_unix.c: Likewise.
47482 * sunrpc/clnt_perr.c: Likewise.
47483 * sunrpc/clnt_tcp.c: Likewise.
47484 * sunrpc/clnt_udp.c: Likewise.
47485 * sunrpc/clnt_unix.c: Likewise.
47486 * sunrpc/openchild.c: Likewise.
47487 * sunrpc/svc_simple.c: Likewise.
47488 * sunrpc/svc_tcp.c: Likewise.
47489 * sunrpc/svc_udp.c: Likewise.
47490 * sunrpc/svc_unix.c: Likewise.
47491 * sunrpc/xdr.c: Likewise.
47492 * sunrpc/xdr_array.c: Likewise.
47493 * sunrpc/xdr_rec.c: Likewise.
47494 * sunrpc/xdr_ref.c: Likewise.
47495 * sunrpc/xdr_stdio.c: Likewise.
47497 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47499 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47501 2011-07-03 Andreas Jaeger <aj@suse.de>
47503 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47504 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47505 regenerate with gen-libm-tests.pl.
47507 2010-05-12 Petr Baudis <pasky@suse.cz>
47510 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47511 around j0() zero points by switching to j1().
47512 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47513 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47515 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47517 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47519 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47521 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47523 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47524 Patch in part by Pavel Roskin <proski@gnu.org>.
47527 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47529 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47530 Free memory block if necessary.
47533 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47534 be NULL. Don't lock in this case.
47536 2011-09-09 Roland McGrath <roland@hack.frob.com>
47538 * elf/elf.h (ELFOSABI_GNU): New macro.
47539 (ELFOSABI_LINUX): Define to that.
47541 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47543 * string/strncat.c (strncat): Undef the symbol in case it has been
47544 defined in bits/string.h.
47546 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47548 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47550 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47553 2011-08-17 Andreas Jaeger <aj@suse.de>
47555 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47557 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47558 Ian Lance Taylor <iant@google.com>
47560 * math/libm-test.inc (lround_test): New testcase.
47561 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47563 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47565 * Makefile: Remove support for automatic cvs check-ins.
47566 * Makerules: Likewise.
47567 * config.make.in: Likewise.
47568 * configure.in: Likewise.
47569 * intl/Makefile: Likewise.
47570 * locale/Makefile: Likewise.
47571 * po/Makefile: Likewise.
47572 * posix/Makefile: Likewise.
47573 * sysdeps/gnu/Makefile: Likewise.
47574 * sysdeps/mach/hurd/Makefile: Likewise.
47575 * sysdeps/sparc/sparc32/Makefile: Likewise.
47578 * posix/Makefile (bug-regex32-ENV): Define.
47579 Patch by John Stanley <jpsinthemix@verizon.net>.
47581 * misc/Makefile (headers): Add bits/select2.h.
47582 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47583 * misc/bits/select2.h: New file.
47584 * include/bits/select2.h: New file.
47585 * debug/Makefile (routines): Add fdelt_chk.
47586 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47587 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47589 * debug/fdelt_chk.c: New file.
47591 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47592 * wcsmbs/test-wmemcmp.c: Likewise.
47593 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47594 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47596 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47598 * string/Makefile (strop-tests): Add memcmp.
47599 * string/test-wmemcmp.c: New file.
47600 * string/test-memcmp.c: Add wmemcmp support.
47602 2011-09-08 Roland McGrath <roland@hack.frob.com>
47605 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47608 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47609 garbage value in a __mach_port_mod_refs call in the cases of the
47610 task-self and thread-self ports.
47612 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47614 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47616 2011-09-08 Andreas Schwab <schwab@redhat.com>
47618 * elf/dl-load.c (lose): Check for non-null L.
47620 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47622 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47624 * elf/dl-libc.c (dlerror_run): Pass back error code from
47628 * elf/dl-load.c (lose): Free l_origin if it is valid.
47630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47632 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47633 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47634 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47635 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47636 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47637 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47639 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47641 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47642 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47643 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47644 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47645 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47646 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47647 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47648 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47649 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47650 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47652 2011-08-15 Alan Modra <amodra@gmail.com>
47655 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47656 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47657 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47658 ppc_mcount to static-only-routines.
47659 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47661 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47662 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47664 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47666 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47667 for finite and infinity parameters.
47669 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47672 and add nop instructions for throughput optimization.
47673 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47675 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47677 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47678 aligned copy for power7 with vector-scalar instructions.
47679 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47681 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47686 2011-09-07 Andreas Schwab <schwab@redhat.com>
47689 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47692 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47694 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47695 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47696 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47697 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47700 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47702 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47703 Forgot to demangle the pointer.
47705 * sysdeps/i386/sysdep.h: Define atom_text_section.
47706 * sysdeps/x86_64/sysdep.h: Likewise.
47707 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47708 section with atom_text_section.
47709 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47710 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47711 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47712 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47713 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47715 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47716 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47717 already be defined. Change to take two parameters and don't assign
47718 result to variable. Adjust all users.
47719 Define INTERNAL_GETTIME if not already defined.
47720 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47723 HAVE_CLOCK_GETTIME_VSYSCALL.
47724 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47726 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47727 gettimeofday vsyscall, just use time.
47729 2011-09-06 Andreas Schwab <schwab@redhat.com>
47731 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47734 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47736 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47740 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47741 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47742 syscall if possible.
47744 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47746 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47747 e_ident. Don't pass to find_mapsXX.
47748 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47750 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47753 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47754 * sysdeps/x86_64/multiarch/strchr.S: Update.
47755 Check bit_slow_BSF bit.
47756 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47757 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47758 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47760 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47763 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47765 (tryshell): Define.
47766 (__spawni): Change last parameter to be flag. Test
47767 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47768 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47769 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47770 * posix/spawni.c: Likewise.
47771 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47772 * posix/spawnp.c: Likewise. Change normal version to use
47773 SPAWN_XFLAGS_USE_PATH.
47774 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47775 SPAWN_XFLAGS_TRY_SHELL.
47778 * posix/glob.h: Remove gcc 1.x support.
47781 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47783 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47786 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47788 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47789 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47790 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47792 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47793 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47795 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47797 * sysdeps/x86_64/wcscmp.S: New file.
47799 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47800 wcscmp-c wcscmp-sse2
47801 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47802 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47803 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47804 * wcsmbs/wcscmp.c: Allow renaming.
47806 2011-09-05 David S. Miller <davem@davemloft.net>
47808 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47809 stack slot, rather than the struct return pointer slot.
47810 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47811 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47813 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47815 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47817 * po/ja.po: Update from translation team.
47820 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47821 kernel in 64-bit binaries.
47823 2011-09-01 David S. Miller <davem@davemloft.net>
47825 * elf/elf.h (HWCAP_SPARC_*): Move to..
47826 * sysdeps/sparc/sysdep.h: this new file and add new values.
47827 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47828 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47829 _DL_HWCAP_COUNT to 24.
47830 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47832 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47833 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47834 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47836 instead of magic constants.
47837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47839 2011-08-31 David S. Miller <davem@davemloft.net>
47841 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47843 Reimplement to do errno handling inline.
47844 (SYSCALL_ERROR_HANDLER): New macro.
47845 (__SYSCALL_STRING): Do not do errno handling in asm.
47846 (__CLONE_SYSCALL_STRING): Delete.
47847 (__INTERNAL_SYSCALL_STRING): Delete.
47848 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47849 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47850 (PSEUDO): Reimplement to do errno handling inline.
47851 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47852 (SYSCALL_ERROR_HANDLER): New macro.
47853 (__SYSCALL_STRING): Do not do errno handling in asm.
47854 (__CLONE_SYSCALL_STRING): Delete.
47855 (__INTERNAL_SYSCALL_STRING): Delete.
47856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47857 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47859 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47860 (inline_syscall*): Add 'err' argument.
47861 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47862 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47863 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47864 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47866 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47867 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47869 2011-08-30 Andreas Schwab <schwab@redhat.com>
47871 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47873 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47875 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47878 2011-08-24 David S. Miller <davem@davemloft.net>
47880 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47882 2011-08-24 Andreas Schwab <schwab@redhat.com>
47884 * elf/Makefile: Add rules to build and run unload8 test.
47885 * elf/unload8.c: New file.
47886 * elf/unload8mod1.c: New file.
47887 * elf/unload8mod1x.c: New file.
47888 * elf/unload8mod2.c: New file.
47889 * elf/unload8mod3.c: New file.
47891 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47894 2011-08-23 David S. Miller <davem@davemloft.net>
47896 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47897 subtract stack bias.
47898 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47899 %sp not %fp in calculations.
47900 (_JMPBUF_UNWINDS_ADJ): Likewise.
47902 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47903 (aio_suspend): Call it to force an exception region around the
47904 AIO_MISC_WAIT() invocation.
47906 2011-08-23 Andreas Schwab <schwab@redhat.com>
47908 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47911 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47913 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47915 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47916 and <dl-machine.h>.
47917 (Elf64_FuncDesc): Remove.
47919 2011-08-22 David S. Miller <davem@davemloft.net>
47921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47922 sigaltstack check, add missing cfi directives.
47923 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47924 missing cfi directives, and sigaltstack handling.
47926 2011-08-16 Andreas Schwab <schwab@redhat.com>
47929 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47930 object is seen twice.
47931 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47933 * elf/Makefile (distribute): Add tst-initorder2.c.
47934 (tests): Add tst-initorder2.
47935 (modules-names): Add tst-initorder2a tst-initorder2b
47936 tst-initorder2c tst-initorder2d. Add rules to build them.
47937 ($(objpfx)tst-initorder2.out): New rule.
47938 * elf/tst-initorder2.c: New file.
47939 * elf/tst-initorder2.exp: New file.
47941 2011-08-22 Andreas Schwab <schwab@redhat.com>
47943 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47945 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47946 dependencies back to end of function.
47948 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47949 $(elfobjdir)/ld.so.
47951 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47953 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47954 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47956 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47957 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47958 of __vdso_gettimeofday.
47959 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47960 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47962 (_libc_vdso_platform_setup): Remove initialization of
47963 __vdso_gettimeofday and __vdso_time.
47965 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47967 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47968 and fgetc_unlocked.
47969 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47972 * elf/dl-open.c (add_to_global): Report additions to the global scope
47973 for LD_DEBUG=scopes.
47974 (dl_open_worker): Also print scope of newly loaded dependencies.
47975 (_dl_show_scope): Indicate if there is no scope.
47978 * stdio-common/Makefile (tests): Add bug24.
47979 * stdio-common/bug24.c: New file.
47981 2011-08-19 Andreas Jaeger <aj@suse.de>
47984 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47985 non-existant file when using close-on-exec mode.
47987 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47989 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47990 the very first instruction.
47992 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47993 the CFI state in the end.
47994 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47995 inclusion of dl-trampoline.h.
47996 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
47998 2011-08-19 Andreas Schwab <schwab@redhat.com>
48000 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48001 expectations for long double.
48003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48004 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48006 2011-08-14 David S. Miller <davem@davemloft.net>
48008 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48009 artificual limit depends upon the system page size.
48011 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48013 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48014 * resolv/Makefile: Define CFLAGS-libresolv.
48016 2011-08-17 Andreas Schwab <schwab@redhat.com>
48018 * nss/makedb.c (compute_tables): Make variables used in nested
48021 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48023 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48024 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48025 if buffer was too small.
48027 * elf/pldd.c (main): Attach to all threads in the process.
48028 Rewrite /proc handling to use *at functions.
48030 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48032 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48033 specifies first scope to show.
48034 (dl_open_worker): Update callers. Move printing scope of new
48035 object to before the relocation.
48036 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48037 * sysdeps/generic/ldsodefs.h: Update declaration.
48039 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48040 string for the scope number.
48042 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48044 * nscd/servicescache.c (cache_addserv): Make sure written is always
48047 2011-08-14 Roland McGrath <roland@hack.frob.com>
48049 * sysdeps/i386/i486/bits/atomic.h
48050 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48051 statement expression, so as to suppress "set but not used" warning.
48052 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48054 * string/strncat.c (STRNCAT): Use prototype definition.
48056 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48057 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48059 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48060 (localedef-modules): Add localedef.
48061 (locale-modules): Add locale.
48063 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48064 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48065 to avoid a warning.
48067 2011-08-14 David S. Miller <davem@davemloft.net>
48069 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48070 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48072 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48074 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48075 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48076 * elf/rtld.c (dl_main): Set l_name of vDSO.
48077 Call _dl_show_scope when DL_DEBUG_SCOPES.
48078 (process_dl_debug): Recognize scopes flag and also set it for all.
48079 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48080 Declare _dl_show_scope.
48082 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48083 (do_dlopen): Pass caller_dlopen to dl_open.
48084 (__libc_dlopen_mode): Initialize caller_dlopen.
48086 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48087 of libc. Make tolower call locale-independent. Optimize a bit by
48088 using isdigit instead of isalnum.
48089 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48091 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48093 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48094 was a dependency or dynamically loaded.
48096 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48098 * intl/l10nflist.c: Allow architecture-specific pop function.
48099 * sysdeps/x86_64/l10nflist.c: New file.
48101 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48104 2011-08-10 Andreas Schwab <schwab@redhat.com>
48106 * include/dirent.h: Add libc_hidden_proto for scandirat and
48107 scandirat64. Don't declare __scandirat64.
48108 * dirent/scandirat.c: Add libc_hidden_def.
48109 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48110 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48112 2011-08-10 David S. Miller <davem@davemloft.net>
48114 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48117 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48118 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48120 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48122 * Versions.def [libc]: Add GLIBC_2.15.
48123 * dirent/Makefile (routines): Add scandirat and scandirat64.
48124 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48126 * dirent/dirent.h: Declare scandirat and scandirat64.
48127 * dirent/scandirat.c: New file.
48128 * dirent/scandirat64.c: New file.
48129 * sysdeps/wordsize-64/scandirat.c: New file.
48130 * sysdeps/wordsize-64/scandirat64.c: New file.
48131 * dirent/opendir.c: Define opendirat.
48132 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48134 * dirent/scandir64.c: Adjust for scandir.c change.
48135 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48136 __scandirat64, and __scandir_cancel_handler.
48137 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48138 additional parameter and use openat instead of open (outside of ld.so).
48139 Add new __opendir as wrapper around __opendirat.
48140 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48141 here without requiring old scandirat implementation.
48143 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48145 * dirent/scandir.c (cancel_handler): Renamed to
48146 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48147 defined. Adjust users.
48148 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48149 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48151 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48153 * string/test-string.h (IMPL): Use __STRING to expand name and then
48156 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48159 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48161 * string/Makefile: Update.
48162 (strop-tests): Append strncat.
48163 * string/test-wcscmp.c: New file.
48164 New comprehensive test for wcscmp.
48165 * string/test-strcmp.c: Update.
48166 (WIDE): New define.
48168 2011-07-22 Andreas Schwab <schwab@redhat.com>
48170 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48173 2011-07-26 Andreas Schwab <schwab@redhat.com>
48175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48176 encoding to ACE if AI_IDN.
48178 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48181 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48183 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48185 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48186 Fix overflow bug in strncat.
48187 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48189 * string/test-strncat.c: Update.
48190 Add new tests for checking overflow bugs.
48192 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48195 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48196 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48197 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48198 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48199 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48200 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48201 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48202 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48205 (USE_AS_STRCAT): Define.
48206 Add strcat and strncat support.
48207 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48209 2011-07-25 Andreas Schwab <schwab@redhat.com>
48211 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48212 __n bigger than INT_MAX+1.
48213 (__strncmp_g): Likewise.
48215 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48217 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48218 * libio/stido.h: Likewise.
48220 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48225 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48226 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48227 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48228 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48229 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48232 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48237 (_dl_x86_64_save_sse): Likewise.
48239 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48243 (_dl_x86_64_save_sse): Likewise.
48245 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48247 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48249 2011-07-21 Andreas Schwab <schwab@redhat.com>
48251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48253 (_dl_x86_64_save_sse): Use correct AVX check.
48255 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48257 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48258 bug in strncpy/strncat.
48259 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48261 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48263 * string/tester.c (test_strcat): Add tests for different alignments
48264 of source and destination.
48265 (test_strncat): Likewise.
48267 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48270 * posix/glob.c (glob): Check passed in values before using them in
48271 expressions to avoid some overflows.
48272 (glob_in_dir): Likewise.
48275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48276 check for AVX enablement so that we don't crash with old kernels and
48278 * elf/tst-audit4.c: Add same checks here.
48279 * elf/tst-audit6.c: Likewise.
48281 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48283 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48285 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48287 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48289 * po/cs.po: Update from translation team.
48290 * po/bg.po: Likewise.
48292 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48294 * misc/sys/cdefs.h: Add support for const attribute.
48295 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48296 to gnu_dev_{major,minor,makedev} functions.
48298 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48300 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48302 2011-07-20 Andreas Schwab <schwab@redhat.com>
48304 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48307 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48310 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48311 register in order to avoid conflicts with the soft frame pointer
48312 being held in r11 when necessary.
48313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48314 (INTERNAL_VSYSCALL_NCS): Likewise.
48316 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48318 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48319 * elf/dl-fini.c (_dl_fini): Adjust caller.
48320 * elf/dl-close.c (_dl_close_worker): Likewise.
48321 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48323 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48325 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48326 "aux_cache->nlibs < 0".
48328 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48329 in the reload-count case.
48331 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48333 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48334 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48335 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48336 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48337 * sysdeps/x86_64/multiarch/strcat.S: New file.
48338 * sysdeps/x86_64/multiarch/strncat.S: New file.
48339 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48340 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48341 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48342 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48344 (USE_AS_STRCAT): Define.
48345 Add strcat and strncat support.
48346 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48347 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48348 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48349 * string/strncat.c: Update.
48350 (USE_AS_STRNCAT): Define.
48351 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48352 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48354 * sysdeps/x86_64/multiarch/init-arch.h
48355 (bit_Prefer_PMINUB_for_stringop): New.
48356 (index_Prefer_PMINUB_for_stringop): Likewise.
48357 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48358 bit_Prefer_PMINUB_for_stringop.
48360 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48362 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48364 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48365 of casting of buffer.
48366 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48367 buffer32 and buffer64.
48368 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48369 writes instead of casting of buffer.
48370 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48372 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48375 2011-07-19 Andreas Schwab <schwab@redhat.com>
48377 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48379 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48381 * nscd/nscd.c (termination_handler): Don't do anything for a database
48382 if it has not yet been initialized.
48384 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48386 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48388 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48390 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48392 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48394 * po/nl.po: Update from translation team.
48395 * po/sv.po: Likewise.
48397 2011-07-16 Roland McGrath <roland@hack.frob.com>
48399 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48400 now disallowed by GCC.
48402 * configure.in (use-default-link): Default to yes if a test -shared
48403 link meets our qualifications.
48404 * configure: Regenerated.
48406 * config.make.in (output-format): New variable.
48407 * configure.in: Check for ld --print-output-format support.
48408 * configure: Regenerated.
48409 * Makerules ($(common-objpfx)format.lds)
48410 [$(output-format) != unknown]: Just use $(output-format),
48411 instead of the linker-script munging.
48413 2011-07-14 Roland McGrath <roland@hack.frob.com>
48415 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48416 of $(common-objpfx)shlib.lds.
48417 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48419 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48420 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48422 * configure.in (-z relro check): Adjust test code to add a large
48423 writable data section after it.
48424 * configure: Regenerated.
48426 2011-07-11 Roland McGrath <roland@hack.frob.com>
48428 * configure.in (-z relro check): Fix test code to make the variable
48430 * configure: Regenerated.
48432 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48434 * nscd/nscd.h (struct traced_file): Define.
48435 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48436 elements. Add traced_files.
48437 (inotify_fd): Declare.
48438 (register_traced_file): Declare.
48439 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48440 (inotify_fd): Export.
48441 (resolv_conf_descr): Remove.
48442 (nscd_init): Move inotify descriptor creation to main.
48443 Don't register files for notification here.
48444 (register_traced_file): New function.
48445 (invalidate_cache): Don't use reset_res to determine whether to call
48446 res_init, go through the list of registered files.
48447 (main_loop_poll): The inotify descriptors are now stored in the
48448 structures for the traced files.
48449 (main_loop_epoll): Likewise
48450 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48451 to __nss_disable_nscd.
48452 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48453 for a database anymore. Check the records for all the registered
48455 * nss/Makefile (libnss_files-routines): Add files-init.
48456 (libnss_db-routines): Add db-init.
48457 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48458 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48459 * nss/nss_db/db-init.c: New file.
48460 * nss/nss_files/files-init.c: New file.
48461 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48462 __nss_lookup_function.
48463 (__nss_lookup_function): Call nss_load_library.
48464 (nss_load_all_libraries): New function.
48465 (__nss_disable_nscd): Take parameter with callback function for files
48466 to register. Set is_nscd. Load all the DSOs for the NSS modules
48467 used for the cached services.
48468 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48469 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48470 options for features to all the files in nscd.
48472 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48474 2011-07-10 Roland McGrath <roland@hack.frob.com>
48476 * csu/elf-init.c (__libc_csu_init): Comment typo.
48478 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48480 * po/pl.po: Update from translation team.
48481 * po/ja.po: Likewise.
48482 * po/ru.po: Likewise.
48483 * po/ko.po: Likewise.
48484 * po/fr.po: Likewise.
48486 2011-07-09 Roland McGrath <roland@hack.frob.com>
48488 * configure.in (.ctors/.dtors header and trailer check):
48489 Use an empirical test on a built program.
48490 * configure: Regenerated.
48492 * configure.in (-z relro check): Use an empirical test on a built DSO.
48493 Detect, but do not require, on ia64.
48494 * configure: Regenerated.
48496 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48497 Update tests that use readelf to use $READELF instead.
48498 * configure: Regenerated.
48500 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48502 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48503 if the result is not used.
48505 2011-07-05 Andreas Jaeger <aj@suse.de>
48508 * stdlib/tst-strtod.c: Add testcase.
48510 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48512 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48513 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48514 The latter has a higher limit. Take additional parameter to pass to
48516 (__pathconf): Pass file to __statfs_link_max.
48517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48519 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48523 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48527 (__statfs_filesize_max): Likewise.
48528 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48530 2011-07-05 Andreas Jaeger <aj@suse.de>
48532 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48534 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48536 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48538 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48541 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48543 * Makefile (strop-tests): Add strncat.
48544 * string/test-strncat.c: New file.
48546 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48548 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48550 2011-06-21 Andreas Jaeger <aj@suse.de>
48552 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48553 Copy rule from iconvdata/Makefile.
48555 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48558 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48559 but no long options are defined, just return 'W'.
48561 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48564 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48566 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48568 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48570 (innetgr): Likewise.
48572 2011-07-05 Roland McGrath <roland@hack.frob.com>
48574 * config.make.in (install_root): Default to $(DESTDIR).
48576 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48578 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48580 2011-07-02 Roland McGrath <roland@hack.frob.com>
48582 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48584 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48585 containing directory rather than embedding absolute directory names.
48587 * scripts/check-local-headers.sh: Rewritten using awk.
48588 Match by word, not by line. Print error messages for matches.
48589 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48591 * Makerules [shlib-lds-flags empty]:
48592 ($(common-objpfx)libc_pic.opts): New target.
48593 ($(common-objpfx)libc_pic.os.clean): New target.
48594 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48596 * config.make.in (OBJCOPY): New variable.
48597 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48598 * configure: Regenerated.
48600 * config.make.in (use-default-link): New variable.
48601 * configure.in (use_default_link): Grok --with-default-link to set it.
48602 * configure: Regenerated.
48603 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48604 (shlib-lds, shlib-lds-flags): Define to empty.
48606 * Makerules (shlib-lds): New variable.
48607 (shlib-lds-flags): New variable.
48608 (build-shlib, build-moduile, build-module-asneeded): Use it.
48609 ($(common-objpfx)libc.so): Use $(shlib-lds).
48610 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48611 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48613 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48614 DT_FLAGS/DT_FLAGS_1 with zero flags.
48616 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48617 linker script munging.
48619 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48621 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48623 * crypt/sha512.c (sha512_process_block): Perform total addition using
48624 128-bit if possible.
48625 (__sha512_finish_ctx): Likewise.
48626 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48628 * crypt/sha256.c (SWAP64): Define.
48629 (sha256_process_block): Perform total addition using 64-bit if
48631 (__sha256_finish_ctx): Likewise.
48633 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48635 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48636 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48637 * nscd/hstcache.c (cache_addhst): Likewise.
48638 * nscd/grpcache.c (cache_addgr): Likewise.
48639 * nscd/aicache.c (addhstaiX): Likewise
48640 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48642 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48644 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48646 * nscd/hstcache.c (cache_addhst): Likewise.
48647 * nscd/grpcache.c (cache_addgr): Likewise.
48648 * nscd/aicache.c (addhstaiX): Likewise
48650 2011-07-01 Andreas Schwab <schwab@redhat.com>
48652 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48653 domain only when needed.
48655 2011-06-30 Andreas Schwab <schwab@redhat.com>
48657 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48658 is always restored.
48660 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48662 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48663 are re-adding the entry.
48664 * nscd/servicescache.c (cache_addserv): Likewise.
48666 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48668 * sysdeps/generic/dl-irel.h: fix protection against multiple
48670 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48672 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48675 * malloc/memusage.sh: Fix quoting in message.
48676 * debug/xtrace.sh: Likewise.
48678 * configure.in: Remove support for --experimental-malloc option, make
48680 * config.make.in: Likewise.
48681 * malloc/Makefile: Likewise.
48683 2011-06-27 Andreas Schwab <schwab@redhat.com>
48685 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48686 two-byte characters.
48688 2011-06-27 Roland McGrath <roland@hack.frob.com>
48690 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48691 AC_CACHE_CHECK invocation.
48692 * configure: Regenerated.
48694 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48696 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48699 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48700 bit from old_res_options.
48702 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48704 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48705 value type for setfct.
48707 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48709 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48710 __gettimeofday instead of gettimeofday.
48712 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48714 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48716 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48718 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48720 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48723 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48726 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48727 strcpy-sse2-unaligned strncpy-sse2-unaligned
48728 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48729 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48730 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48731 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48732 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48733 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48735 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48736 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48737 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48738 (STRCPY): Support SSE2 and SSSE3 versions.
48740 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48743 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48744 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48745 kernels which artificially limit size of requests.
48747 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48750 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48751 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48752 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48753 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48754 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48755 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48756 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48757 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48759 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48760 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48761 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48762 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48763 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48765 Enable unaligned load optimization for Intel Core i3, i5 and i7
48767 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48769 (index_Fast_Unaligned_Load): Define.
48770 (HAS_FAST_UNALIGNED_LOAD): Define.
48772 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48774 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48776 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48779 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48780 until it is clear that the information is realy needed.
48781 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48783 2011-06-22 Andreas Schwab <schwab@redhat.com>
48785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48787 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48789 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48790 /sys/devices/system/cpu/online if it is usable.
48792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48793 reading the information from the /proc filesystem to once a second.
48795 2011-06-21 Andreas Jaeger <aj@suse.de>
48797 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48798 NULL after inclusion of kernel headers.
48800 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48802 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48803 calls to internal_setent.
48806 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48807 addresses using gethostbyname4_r ignore IPv4 addresses.
48809 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48810 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48812 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48814 2011-06-20 David S. Miller <davem@davemloft.net>
48816 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48818 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48820 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48821 (elf_irel): Use it.
48822 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48823 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48824 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48825 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48826 * sysdeps/x86_64/dl-irel.h: Likewise.
48828 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48829 * elf/dl-sym.c: Likewise.
48831 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48833 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48834 need to dereference resplen2.
48836 2011-06-14 Andreas Schwab <schwab@redhat.com>
48838 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48840 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48842 * Makeconfig: Define vardbdir and inst_vardbdir.
48843 * nss/Makefile: Add rules to install db-Makefile.
48845 * nss/nss_db/db-XXX.c: Cleanup.
48847 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48848 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48850 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48851 * nss/makedb.c: Implement -g option to specify that value strings
48852 are generated and should not be added to table iterated over for
48854 * nss/nss_db/db-initgroups.c: New file.
48856 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48859 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48860 (internal_getgrouplist): Adjust to name change.
48861 Update use_initgroups_entry if this is not the first call.
48862 * nss/databases.def: Add initgroups entry.
48864 * nss/makedb.c (compute_tables): Check result of multiple hash table
48865 sizes to minimize maximum chain length.
48867 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48869 * Versions.def: Add entry for libnss_db.
48870 * shlib-versions: Likewise.
48871 * nss/Makefile: Add rules to build libnss_db.
48872 * nss/Versions: Add libnss_db information. Organize libnss_files
48874 * nss/db-Makefile: Add gshadow support. Change rules for the new
48875 makedb progra. Some minor improvements to generate smaller files.
48876 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48878 * nss/makedb.c: ...here.
48879 Improve database format to be smaller and require less memory at
48881 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48883 * nss/nss_db/db-netgrp.c: Likewise.
48884 * nss/nss_db/db-open.c: Likewise.
48885 * nss/nss_files/flies-XXX.x: Adjust comments.
48886 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48887 * nss/nss_files/files-grp.c: Likewise.
48888 * nss/nss_files/files-hosts.c: Likewise.
48889 * nss/nss_files/files-network.c: Likewise.
48890 * nss/nss_files/files-proto.c: Likewise.
48891 * nss/nss_files/files-pwd.c: Likewise.
48892 * nss/nss_files/files-rpc.c: Likewise.
48893 * nss/nss_files/files-service.c: Likewise.
48894 * nss/nss_files/files-sgrp.c: Likewise.
48895 * nss/nss_files/files-spwd.c: Likewise.
48896 * nss/nss_db/db-alias.c: Removed.
48897 * nss/nss_db/dummy-db.h: Removed.
48899 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48901 * nss/makedb.c: Rewritten to not use database library.
48902 * nss/Makefile: Update to build new makedb program.
48904 2011-06-14 Andreas Jaeger <aj@suse.de>
48906 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48907 memset declaration.
48909 2011-06-10 Andreas Schwab <schwab@redhat.com>
48911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48914 2011-06-10 Roland McGrath <roland@hack.frob.com>
48916 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48917 * elf/Makefile ($(objpfx)ld.so): Likewise.
48919 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48920 Don't list ld.so twice in dependencies.
48922 * posix/bug-regex31.c: Include <stdlib.h>.
48924 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48926 * nis/nss_compat/compat-spwd.c
48927 (getspent_next_nss_netgr): Remove unused variable.
48928 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48930 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48931 nonmembers" output to use the right array.
48933 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48935 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48937 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48938 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48939 * catgets/gencat.c (read_input_file): Likewise.
48940 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48942 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48943 variable definition inside #if's controlling its use.
48945 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48947 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48949 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48951 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48954 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48956 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48957 * configure: Regenerated.
48959 * Makerules: Revert last change.
48960 * elf/Makefile: Likewise.
48962 2011-06-09 Roland McGrath <roland@hack.frob.com>
48964 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48965 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48966 (reloc-link): Likewise.
48968 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48970 * elf/Makefile: Add rules to build pldd.
48971 * elf/pldd.c: New file.
48972 * elf/pldd-xx.c: New file.
48974 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48976 * version.h: Update for 2.15 development version.
48978 2011-06-07 David S. Miller <davem@davemloft.net>
48980 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48983 elf_machine_lazy_rel): Likewise.
48984 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48986 elf_machine_lazy_rel): Likewise.
48987 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48988 dl_hwcap via passed in argument.
48989 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48992 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48994 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48996 2011-06-06 Roland McGrath <roland@hack.frob.com>
48999 * manual/fdl-1.1.texi: New file, verbatim from:
49000 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49001 * manual/lgpl-2.1.texi: New file, verbatim from:
49002 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49003 * manual/Makefile (licenses): New variable, list those new file names.
49005 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49007 * manual/fdl.texi: File removed.
49008 * manual/lesser.texi: File removed.
49009 * manual/libc.texinfo (Copying, Documentation License):
49010 Use new @include file names, put @appendix directive before @include.
49012 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49015 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49016 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49017 (mq_open): Add __NTH.
49019 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49021 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49022 Assume Intel Core i3/i5/i7 processor if AVX is available.
49024 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49029 2011-05-31 Andreas Schwab <schwab@redhat.com>
49031 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49032 memory. Use alloca_account. Fix memory leak when retrying.
49034 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49036 * version.h (RELEASE): Bump for 2.14 release.
49037 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49039 * config.make.in (RANLIB): Remove entry.
49041 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49043 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49044 (libc.pot): Work around missing support for .ksh extension in xgettext.
49047 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49048 if both request failed.
49049 (send_dg): In case of server errors clear resplen or *resplen2.
49052 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49053 when there are multiple maps.
49054 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49055 (_dl_fini): Remove test here.
49057 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49059 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49062 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49063 bit from old_res_options.
49064 (gaih_inet): Likewise.
49067 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49070 * resolv/res_init.c (res_setoptions): Make the code more compact.
49073 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49077 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49079 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49082 * malloc/malloc.h: Declare malloc hook variables as volatile.
49084 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49088 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49089 raise in the comment.
49090 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49091 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49092 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49094 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49097 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49098 grow the buffers more if it already has to be sufficient.
49099 (build_wcs_upper_buffer): Likewise.
49100 * posix/regexec.c (check_matching): Likewise.
49101 (clean_state_log_if_needed): Likewise.
49102 (extend_buffers): Don't enlarge buffers beyond size of the input
49104 Patches mostly by Emil Wojak <emil@wojak.eu>.
49105 * posix/bug-regex32.c: New file.
49106 * posix/Makefile (tests): Add bug-regex32.
49108 * locale/findlocale.c (_nl_find_locale): Return right away if
49109 _nl_explode_name failed.
49110 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49112 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49114 * debug/xtrace.sh: Unify messages.
49115 * malloc/memusage.sh: Likewise.
49118 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49119 time symbol from vDSO. Substitute with vsyscall if not available.
49120 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49123 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49124 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49125 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49126 Add sendmmsg and internal_sendmmsg.
49127 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49128 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49129 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49131 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49132 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49133 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49135 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49139 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49141 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49145 * iconvdata/Makefile (tests): Add bug-iconv9.
49146 * iconvdata/bug-iconv9.c: New file.
49148 2011-05-27 Andreas Schwab <schwab@redhat.com>
49151 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49153 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49156 (struct user_regs_struct): Change intcs field back to cs.
49158 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49160 * po/ja.po: Update from translation team.
49162 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49165 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49166 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49168 2011-05-20 Andreas Schwab <schwab@redhat.com>
49170 * stdlib/longlong.h: Update from GCC.
49172 2011-05-23 Andreas Schwab <schwab@redhat.com>
49174 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49176 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49177 Add parameter name.
49178 (__sysconf): Pass it down.
49180 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49183 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49185 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49186 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49187 add in in __libc_use_alloca calls. Adjust callers.
49188 (glob): Use malloc in some situations.
49190 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49191 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49194 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49196 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49197 and CLOCK_BOOTTIME_ALARM.
49200 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49203 * string/_strerror.c (__strerror_r): Print negative errors as signed
49207 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49208 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49209 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49211 * configure.in: Fix typo in redirection and correct removal of test
49212 files in two cases.
49215 * locale/setlocale.c (new_composite_name): Fix test to check for
49216 identical name of all categories.
49219 * libio/filedoalloc.c (local_isatty): New function.
49220 (_IO_file_doallocate): Use local_isatty.
49221 * stdio-common/perror.c (perror): In case a new stream is used
49222 forward the stream error.
49223 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49226 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49231 * include/alloca.h (extend_alloca_account): Define.
49234 * posix/regex.h: Fix comments with documentation of user-accessible
49235 fields after compilation and describe correct free'ing of pattern
49236 after re_compile_pattern.
49237 Patch by Reuben Thomas <rrt@sc3d.org>.
49239 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49241 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49242 and -mno-altivec to prevent the compiler from using Altivec and/or
49243 VSX instructions when the corresponding registers are not available.
49245 2011-05-19 Andreas Schwab <schwab@redhat.com>
49247 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49249 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49251 * libio/freopen.c (freopen): Use __dup2, not dup2.
49252 * libio/freopen64.c (freopen64): Likewise.
49254 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49257 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49258 * math/Makefile (tests): Add test-powl.
49259 (CFLAGS-test-powl.c): Define.
49260 * math/test-powl.c: New file.
49262 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49264 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49266 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49269 * iconvdata/gb18030.c: Update to GB18020-2005.
49271 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49273 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49274 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49275 Patch by Aharon Robbins <arnold@skeeve.com>.
49278 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49282 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49283 through underflows.
49286 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49287 point to strings before performing equality test for error_one_per_line
49291 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49294 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49295 (struct user_fpregs_struct): Avoid __uint*_t types.
49298 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49299 symbol info. Use it instead of calling _dl_addr locally.
49300 (lock_and_info): New function.
49301 (tr_freehook): Call lock_and_info and pass symbol info as additional
49302 parameter to tr_where.
49303 (tr_mallochook): Likewise.
49304 (tr_reallochook): Likewise.
49305 (tr_memalignhook): Likewise.
49307 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49308 used and couldn't be at all thread-safe.
49310 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49312 * libio/freopen.c (freopen): Don't close old file descriptor
49313 before the new one is opened. Instead dup the new file descriptor
49314 to the old one after the new stream is created.
49315 * libio/freopen64.c (freopen64): Likewise.
49316 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49317 * libio/fileops.c (_IO_new_file_close_it): Handle new
49318 _IO_FLAGS2_NOCLOSE flag.
49319 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49320 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49321 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49322 _IO_FLAGS2_NOCLOSE flag.
49323 * include/unistd.h: Add hidden_proto for dup3.
49324 Define __have_dup3.
49325 * io/dup3.c: Define hidden symbol.
49326 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49329 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49330 when an incomplete long option is used.
49331 * posix/tst-getopt_long1.c: New file.
49332 * posix/Makefile (tests): Add tst-getopt_long1.
49335 * scripts/config.guess: Update from autoconf-2.68.
49336 * scripts/config.sub: Likewise.
49339 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49341 (has_cpuclock): ...this. New function.
49342 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49343 macro here based on has_cpuclock code.
49346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49347 First byte (not low byte) is now always NUL.
49348 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49350 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49351 Use non-cancelable interfaces.
49354 * locale/iso-639.def: Add entry for Sorani.
49357 * include/stdlib.h: Move include protection to the right place.
49358 Define abort_msg_s. Declare __abort_msg with it.
49359 * stdlib/abort.c (__abort_msg): Adjust type.
49360 * assert/assert.c (__assert_fail_base): New function. Majority
49361 of code from __assert_fail. Allocate memory for __abort_msg with
49363 (__assert_fail): Now call __assert_fail_base.
49364 * assert/assert-perr.c: Remove bulk of implementation. Use
49365 __assert_fail_base.
49366 * include/assert.hL Declare __assert_fail_base.
49367 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49369 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49371 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49375 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49376 until all modules are registered in the DTV.
49377 * elf/Makefile: Add rules to build and run tst-tls19.
49378 * elf/tst-tls19.c: New file.
49379 * elf/tst-tls19mod1.c: New file.
49380 * elf/tst-tls19mod2.c: New file.
49381 * elf/tst-tls19mod3.c: New file.
49382 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49385 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49389 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49390 two-byte sequence errors.
49391 * iconvdata/Makefile (tests): Add bug-iconv8.
49392 * iconvdata/bug-iconv8.c: New file.
49395 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49398 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49401 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49402 (dummy_getcfa): New function.
49403 (init): Get _Unwind_GetCFA address, use dummy if not found.
49404 (backtrace_helper): In recursion check, also check whether CFA changes.
49405 (__backtrace): Completely initialize arg.
49407 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49408 storing incomplete byte sequence in state object. Avoid testing for
49409 guaranteed too small input if we know there is enough data available.
49411 2011-05-11 Andreas Schwab <schwab@redhat.com>
49413 * Makeconfig (+link-pie): Indent.
49414 * Rules (binaries-pie): Define if $(have-fpie) and
49416 (binaries-shared): Also filter out $(binaries-pie).
49417 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49418 * nscd/Makefile (others-pie): Add nscd.
49419 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49420 ($(objpfx)nscd): Remove command override.
49421 * login/Makefile (others-pie): Add pt_chown.
49422 ($(objpfx)pt_chown): Remove command override.
49423 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49424 remove command overrides.
49426 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49428 * libio/tst_putwc.c: Fix error messages.
49431 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49432 currently writing and seek to current position when not.
49433 * libio/Makefile (tests): Add bug-fclose1.
49434 * libio/bug-fclose1.c: New file.
49436 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49439 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49440 don't set DF_1_NODELETE here.
49441 (do_lookup_x): When entering new entry test for copy relocation
49442 and if necessary set DF_1_NODELETE flag.
49443 * elf/tst-unique4.cc: New file.
49444 * elf/tst-unique4.h: New file.
49445 * elf/tst-unique4lib.cc: New file.
49446 * elf/Makefile: Add rules to build and run tst-unique4.
49447 Patch by Piotr Bury <pbury@goahead.com>.
49449 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49452 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49455 * misc/mntent_r.c (addmntent): Flush the stream after the output
49458 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49459 (is_trusted_path_normalize): Skip initial colon. Append slash
49460 to empty buffer. Duplicate is_trusted_path code but allow
49461 constructed patch to be prefix.
49462 (is_dst): Allow $ORIGIN followed by /.
49463 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49464 Correct testing of result of is_trusted_path_normalize
49465 (decompose_rpath): Fix warning.
49467 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49470 * grp/initgroups.c (internal_getgrouplist): When we found the service
49471 list through the initgroups entry in nsswitch.conf do not always
49472 continue on a successful lookup. Don't always use the
49473 __nss_group_database value if it is set.
49474 * nss/nsswitch.conf (initgroups): Change action for successful db
49475 lookup to continue for compatibility.
49477 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49480 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49482 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49484 * iconvdata/tst-tables.sh: Likewise.
49485 * iconvdata/cp770.c: New file.
49486 * iconvdata/cp771.c: New file.
49487 * iconvdata/cp772.c: New file.
49488 * iconvdata/cp773.c: New file.
49489 * iconvdata/cp774.c: New file.
49490 * iconvdata/testdata/CP770: New file.
49491 * iconvdata/testdata/CP770..UTF8: New file.
49492 * iconvdata/testdata/CP771: New file.
49493 * iconvdata/testdata/CP771..UTF8: New file.
49494 * iconvdata/testdata/CP772: New file.
49495 * iconvdata/testdata/CP772..UTF8: New file.
49496 * iconvdata/testdata/CP773: New file.
49497 * iconvdata/testdata/CP773..UTF8: New file.
49498 * iconvdata/testdata/CP774: New file.
49499 * iconvdata/testdata/CP774..UTF8: New file.
49501 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49503 * iconvdata/gen-8bit-gap.sh: Likewise.
49504 * iconvdata/gen-8bit.sh: Likewise.
49506 * locale/iso-639.def: Add ary entry.
49509 * locale/C-translit.h.in: Add U20A1 transliteration.
49512 * locale/iso-639.def: Add wae entry.
49513 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49516 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49520 * locale/C-translit.h.in: Add entry for U20B9.
49521 Patch by pravin.d.s@gmail.com.
49523 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49526 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49527 ENAMETOOLONG use generic getcwd.
49528 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49529 in rtld. Use *stat64.
49530 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49531 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49532 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49533 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49534 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49535 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49536 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49537 __fstatat64 macros.
49538 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49539 * dirent/rewinddir.c: Add libc_hidden_def.
49540 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49541 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49543 * include/dirent.h (__alloc_dir): Add flags parameter.
49544 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49545 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49547 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49548 from fdopendir if O_CLOEXEC is already set.
49550 2011-03-15 Alan Modra <amodra@gmail.com>
49552 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49553 l_tls_firstbyte_offset non-zero. Save padding offset in
49554 l_tls_firstbyte_offset for later use.
49555 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49556 freeing static tls block.
49558 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49560 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49561 where #ifdef was intended. The intent is to prevent ARG_MAX from
49562 being defined by the kernel headers.
49564 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49567 * resolv/resolv.h: Define RES_NOTLDQUERY.
49568 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49569 no-tld-query and set RES_NOTLDQUERY.
49570 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49571 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49572 modern BIND to search name as TLD unless forbidden.
49574 2011-05-07 Petr Baudis <pasky@suse.cz>
49575 Ulrich Drepper <drepper@gmail.com>
49578 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49579 (is_trusted_path): ...to here.
49580 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49581 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49582 using is_trusted_path_normalize() in setuid scripts.
49584 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49586 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49587 __BEGIN/__END_DECLS.
49589 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49591 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49592 NSS_STATUS_NOTFOUND if no record was found.
49594 2011-05-05 Andreas Schwab <schwab@redhat.com>
49596 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49597 (headers-not-in-tirpc): Remove rpc/netdb.h
49598 * resolv/netdb.h: Revert last change.
49600 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49602 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49603 circular dependency between libgcc.a and libc.a.
49605 2011-05-05 Andreas Schwab <schwab@redhat.com>
49607 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49608 * nis/Makefile: Don't install rpcsvc/*.
49609 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49610 instead of <rpc/types.h>.
49611 (MAXHOSTNAMELEN): Define.
49613 2011-05-03 Andreas Schwab <schwab@redhat.com>
49615 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49617 2011-04-28 Maciej Babinski <mbabinski@google.com>
49620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49621 gethostbyname4_r when IPv6 results are possible.
49623 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49626 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49627 _PC_PIPE_BUF handling.
49629 2011-04-30 Bruno Haible <bruno@clisp.org>
49632 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49633 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49635 * inet/getnameinfo.c (getnameinfo): Likewise.
49637 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49639 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49640 to groups setting in database lookup.
49641 * nss/nsswitch.conf: Add initgroups entry.
49643 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49646 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49648 Patch by Eric Blake <eblake@redhat.com>.
49650 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49652 * sunrpc/Makefile (need-export-routines): Add svc_run.
49653 (routines): Remove svc_run.
49654 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49655 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49656 * sunrpc/svc_run.c (svc_run): Likewise.
49657 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49659 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49661 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49662 problem in reallocation in last patch.
49664 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49666 * sunrpc/Makefile: Move inclusion of Rules.
49668 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49670 * nss/nss_files/files-initgroups.c: New file.
49671 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49672 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49673 _nss_files_initgroups_dyn.
49675 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49677 * elf/elf.h (R_ARM_IRELATIVE): Define.
49679 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49681 * po/ru.po: Update from translation team.
49683 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49685 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49688 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49691 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49692 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49693 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49694 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49697 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49699 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49701 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49705 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49708 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49710 * stdlib/bug-getcontext.c: New file.
49711 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49713 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49715 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49716 instructions into .machine "z9-109".
49717 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49718 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49720 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49722 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49723 between environment variables and auxiliary vector.
49725 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49727 * Makefile: Add rules to build linkobj/libc.so.
49728 * include/libc-symbols.h: Define libc_hidden_nolink.
49729 * include/rpc/auth.h: Mark functions which are to be hidden.
49730 * include/rpc/auth_des.h: Likewise.
49731 * include/rpc/auth_unix.h: Likewise.
49732 * include/rpc/clnt.h: Likewise.
49733 * include/rpc/des_crypt.h: Likewise.
49734 * include/rpc/key_prot.h: Likewise.
49735 * include/rpc/pmap_clnt.h: Likewise.
49736 * include/rpc/pmap_prot.h: Likewise.
49737 * include/rpc/pmap_rmt.h: Likewise.
49738 * include/rpc/rpc_msg.h: Likewise.
49739 * include/rpc/svc.h: Likewise.
49740 * include/rpc/svc_auth.h: Likewise.
49741 * include/rpc/xdr.h: Likewise.
49742 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49743 * nss/Makefile: Likewise.
49744 * sunrpc/Makefile: Don't install headers. Build library with normal
49745 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49746 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49747 for the compat linking library. Remove use of INTDEF/INTUSE.
49748 * sunrpc/auth_none.c: Likewise.
49749 * sunrpc/auth_unix.c: Likewise.
49750 * sunrpc/authdes_prot.c: Likewise.
49751 * sunrpc/authuxprot.c: Likewise.
49752 * sunrpc/clnt_gen.c: Likewise.
49753 * sunrpc/clnt_perr.c: Likewise.
49754 * sunrpc/clnt_raw.c: Likewise.
49755 * sunrpc/clnt_simp.c: Likewise.
49756 * sunrpc/clnt_tcp.c: Likewise.
49757 * sunrpc/clnt_udp.c: Likewise.
49758 * sunrpc/clnt_unix.c: Likewise.
49759 * sunrpc/des_crypt.c: Likewise.
49760 * sunrpc/des_soft.c: Likewise.
49761 * sunrpc/get_myaddr.c: Likewise.
49762 * sunrpc/key_call.c: Likewise.
49763 * sunrpc/key_prot.c: Likewise.
49764 * sunrpc/netname.c: Likewise.
49765 * sunrpc/pm_getmaps.c: Likewise.
49766 * sunrpc/pm_getport.c: Likewise.
49767 * sunrpc/pmap_clnt.c: Likewise.
49768 * sunrpc/pmap_prot.c: Likewise.
49769 * sunrpc/pmap_prot2.c: Likewise.
49770 * sunrpc/pmap_rmt.c: Likewise.
49771 * sunrpc/publickey.c: Likewise.
49772 * sunrpc/rpc_cmsg.c: Likewise.
49773 * sunrpc/rpc_common.c: Likewise.
49774 * sunrpc/rpc_dtable.c: Likewise.
49775 * sunrpc/rpc_prot.c: Likewise.
49776 * sunrpc/rpc_thread.c: Likewise.
49777 * sunrpc/rtime.c: Likewise.
49778 * sunrpc/svc.c: Likewise.
49779 * sunrpc/svc_auth.c: Likewise.
49780 * sunrpc/svc_authux.c: Likewise.
49781 * sunrpc/svc_raw.c: Likewise.
49782 * sunrpc/svc_run.c: Likewise.
49783 * sunrpc/svc_simple.c: Likewise.
49784 * sunrpc/svc_tcp.c: Likewise.
49785 * sunrpc/svc_udp.c: Likewise.
49786 * sunrpc/svc_unix.c: Likewise.
49787 * sunrpc/svcauth_des.c: Likewise.
49788 * sunrpc/xcrypt.c: Likewise.
49789 * sunrpc/xdr.c: Likewise.
49790 * sunrpc/xdr_array.c: Likewise.
49791 * sunrpc/xdr_float.c: Likewise.
49792 * sunrpc/xdr_intXX_t.c: Likewise.
49793 * sunrpc/xdr_mem.c: Likewise.
49794 * sunrpc/xdr_rec.c: Likewise.
49795 * sunrpc/xdr_ref.c: Likewise.
49796 * sunrpc/xdr_sizeof.c: Likewise.
49797 * sunrpc/xdr_stdio.c: Likewise.
49799 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49802 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49803 * sysdeps/ia64/dl-tls.h: Likewise.
49804 * sysdeps/powerpc/dl-tls.h: Likewise.
49805 * sysdeps/s390/dl-tls.h: Likewise.
49806 * sysdeps/sh/dl-tls.h: Likewise.
49807 * sysdeps/sparc/dl-tls.h: Likewise.
49808 * sysdeps/x86_64/dl-tls.h: Likewise.
49809 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49811 2011-03-14 Andreas Schwab <schwab@redhat.com>
49813 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49814 rpath element also skip the following colon.
49815 (expand_dynamic_string_token): Add is_path parameter and pass
49816 down to DL_DST_REQUIRED and _dl_dst_substitute.
49817 (decompose_rpath): Call expand_dynamic_string_token with
49818 non-zero is_path. Ignore empty rpaths.
49819 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49822 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49827 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49830 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49831 Patch by Filipe David Manana <fdmanana@apache.org>.
49833 2011-04-07 Andreas Schwab <schwab@redhat.com>
49835 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49836 Maintain aligned stack.
49837 (CHECK_RSP): Remove unused macro.
49839 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49841 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49844 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49846 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49848 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49850 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49853 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49854 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49855 * sysdeps/x86_64/memmove.c: New file.
49856 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49857 (memcpy): Renamed to ...
49858 (__new_memcpy): This.
49859 (memcpy): Provide GLIBC_2_14 memcpy.
49860 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49861 (memcpy): Provide GLIBC_2_2_5 memcpy.
49863 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49866 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49868 2011-03-30 Andreas Schwab <schwab@redhat.com>
49870 * misc/syncfs.c: New file.
49871 * misc/Makefile (routines): Add syncfs.
49872 * posix/unistd.h: Declare syncfs.
49873 * sysdeps/unix/syscalls.list: Add syncfs.
49875 2011-04-01 Andreas Schwab <schwab@redhat.com>
49877 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49879 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49880 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49884 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49885 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49887 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49891 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49893 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49897 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49898 sync_file_range.c with -fexceptions.
49899 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49900 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49901 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49902 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49903 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49904 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49906 sync_file_range as cancellation point
49907 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49908 now a wrapper around __call_sync_file_range with cancellation handling.
49909 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49910 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49911 function name to __call_sync_file_range.
49912 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49913 Add call_sync_file_range.
49915 2011-04-01 Andreas Schwab <schwab@redhat.com>
49917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49920 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49922 * iconv/iconv.h: Fix typo in comment.
49923 * io/fcntl.h: Likewise.
49924 * libio/stdio.h: Likewise.
49925 * posix/spawn.h: Likewise.
49926 * posix/unistd.h: Likewise.
49927 * stdlib/stdlib.h: Likewise.
49928 * time/time.h: Likewise.
49929 * wcsmbs/wchar.h: Likewise.
49931 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49932 open_by_handle): Add.
49933 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49934 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49935 Augment a few comments.
49936 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49937 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49938 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49941 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49944 * io/fcntl.h (AT_EMPTY_PATH): Define.
49946 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49948 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49949 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49950 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49952 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49953 * Versions.def: Add GLIBC_2.14.
49954 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49957 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49961 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49963 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49966 * string/test-strncmp.c (do_page_test): New function.
49967 (check2): Likewise.
49968 (test_main): Call check2.
49969 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49971 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49974 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49975 Handle cache information in CPU leaf 4.
49976 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49978 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49981 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49982 character representation.
49983 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49985 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49987 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49988 END(__isnan) to END(__isnanf) to match function entry point/label
49989 EALIGN(__isnanf,...).
49991 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49993 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49995 2011-03-10 Ulrich Drepper <drepper@gmail.com>
49998 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
49999 copy from the symbol referenced in the relocation to initialize the
50001 Patch by Piotr Bury <pbury@goahead.com>.
50002 * elf/Makefile: Add rules to build and tst-unique3.
50003 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50004 * elf/tst-unique3.cc: New file.
50005 * elf/tst-unique3.h: New file.
50006 * elf/tst-unique3lib.cc: New file.
50007 * elf/tst-unique3lib2.cc: New file.
50009 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50011 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50013 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50014 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50017 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50019 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50020 to-be-loaded object along a path to loader is ld.so.
50022 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50023 Ulrich Drepper <drepper@gmail.com>
50025 * sysdeps/x86_64/memset.S: After aligning destination, code
50026 branches to different locations depending on the value of
50027 misalignment, when multiarch is enabled. Fix this.
50029 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50031 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50032 Set _x86_64_preferred_memory_instruction for AMD processsors.
50033 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50034 Set bit_Prefer_SSE_for_memop for AMD processors.
50036 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50038 * libio/fmemopen.c (fmemopen): Optimize a bit.
50040 2011-03-03 Andreas Schwab <schwab@redhat.com>
50042 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50044 2011-03-03 Roland McGrath <roland@redhat.com>
50046 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50048 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50050 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50051 __bzero_ultra1 instead of __memset_ultra1.
50053 2011-02-23 Andreas Schwab <schwab@redhat.com>
50054 Ulrich Drepper <drepper@gmail.com>
50057 * include/link.h (struct link_map): Add l_orig_initfini.
50058 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50059 returning unsuccessfully.
50060 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50061 close of a file loaded at startup, restore the original l_initfini
50063 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50064 list, store the pointer.
50065 * elf/Makefile ($(objpfx)noload-mem): New rule.
50066 (noload-ENV): Define.
50067 (tests): Add $(objpfx)noload-mem.
50068 * elf/noload.c: Include <memcheck.h>.
50069 (main): Call mtrace. Close all opened handles.
50071 2011-02-17 Andreas Schwab <schwab@redhat.com>
50074 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50075 dependencies are missing.
50077 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50079 Fix __if_freereq crash: Unlike the generic version which uses free,
50081 * sysdeps/mach/hurd/ifreq.h: New file.
50083 2011-01-27 Petr Baudis <pasky@suse.cz>
50084 Ulrich Drepper <drepper@gmail.com>
50087 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50088 to extend_alloca().
50089 * stdio-common/bug23.c: New file.
50090 * stdio-common/Makefile (tests): Add bug23.
50092 2010-09-28 Andreas Schwab <schwab@redhat.com>
50093 Ulrich Drepper <drepper@gmail.com>
50096 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50097 before performing relro protection. At old place add assertion
50098 to make sure nothing changed.
50100 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50101 Glauber de Oliveira Costa <glommer@gmail.com>
50103 * elf/elf.h: Add new ARM TLS relocs.
50105 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50108 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50110 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50112 * sysdeps/wordsize-64/tst-writev.c: New file.
50114 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50116 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50117 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50118 insns in _dl_start to prevent a TOC reference before relocs are
50121 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50124 * Makeconfig: Remove RANLIB definition.
50125 * Makerules: Don't use RANLIB.
50126 * aclocal.m4: Remove ranlib test.
50127 * configure.in: No need to check for ranlib.
50128 * elf/rtld-Rules: Don't use RANLIB.
50130 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50132 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50134 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50135 inclusion protection macro.
50137 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50138 SIGRTMIN and SIGRTMAX and print information in that case only when
50139 SIGRTMIN is defined.
50141 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50143 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50144 arginfo fn returning -1.
50146 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50147 and thousands string is zero terminated.
50149 2011-02-03 Andreas Schwab <schwab@redhat.com>
50151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50152 sysdeps/unix/sysv/linux/bits/socket.h.
50154 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50156 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50157 (__CPU_COUNT): Remove old macros.
50158 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50159 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50160 (__CPU_ALLOC, __CPU_FREE): Add macros.
50161 (__sched_cpualloc, __sched_cpufree): Add declarations.
50163 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50165 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50166 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50167 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50168 (readdhstai): Return value of addhstaiX call.
50169 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50170 (addgrbyX): Return value returned by cache_addgr.
50171 (readdgrbyname): Return value returned by addgrbyX.
50172 (readdgrbygid): Likewise.
50173 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50174 (addpwbyX): Return value returned by cache_addpw.
50175 (readdpwbyname): Return value returned by addhstbyX.
50176 (readdpwbyuid): Likewise.
50177 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50178 (addservbyX): Return value returned by cache_addserv.
50179 (readdservbyname): Return value returned by addservbyX:
50180 (readdservbyport): Likewise.
50181 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50182 (addhstbyX): Return value returned by cache_addhst.
50183 (readdhstbyname): Return value returned by addhstbyX.
50184 (readdhstbyaddr): Likewise.
50185 (readdhstbynamev6): Likewise.
50186 (readdhstbyaddrv6): Likewise.
50187 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50188 (readdinitgroups): Return value returned by addinitgroupsX.
50189 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50190 (prune_cache): Keep track of timeout value of re-added entries.
50191 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50192 * nscd/nscd.h: Adjust prototypes of readd* functions.
50194 2011-02-04 Roland McGrath <roland@redhat.com>
50196 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50197 (nis_stats): Likewise.
50198 * nis/nis_modify.c (nis_modify): Likewise.
50199 * nis/nis_remove.c (nis_remove): Likewise.
50200 * nis/nis_add.c (nis_add): Likewise.
50202 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50204 * posix/fnmatch_loop.c: Add some consts.
50206 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50208 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50211 * config.make.in (config-cflags-novzeroupper): Define.
50212 * configure.in: Substitute libc_cv_cc_novzeroupper.
50213 * elf/Makefile (AVX-CFLAGS): Define.
50214 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50215 (CFLAGS-tst-auditmod4a.c): Likewise.
50216 (CFLAGS-tst-auditmod4b.c): Likewise.
50217 (CFLAGS-tst-auditmod6b.c): Likewise.
50218 (CFLAGS-tst-auditmod6c.c): Likewise.
50219 (CFLAGS-tst-auditmod7b.c): Likewise.
50220 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50222 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50224 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50225 function to the callback.
50226 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50228 2011-02-02 Andreas Schwab <schwab@redhat.com>
50230 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50233 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50236 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50238 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50240 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50243 * elf/Makefile: Add rules to build and run new test.
50244 * elf/tst-initorder.c: New file.
50245 * elf/tst-initorder.exp: New file.
50246 * elf/tst-initordera1.c: New file.
50247 * elf/tst-initordera2.c: New file.
50248 * elf/tst-initordera3.c: New file.
50249 * elf/tst-initordera4.c: New file.
50250 * elf/tst-initorderb1.c: New file.
50251 * elf/tst-initorderb2.c: New file.
50252 * elf/tst-order-a1.c: New file.
50253 * elf/tst-order-a2.c: New file.
50254 * elf/tst-order-a3.c: New file.
50255 * elf/tst-order-a4.c: New file.
50256 * elf/tst-order-b1.c: New file.
50257 * elf/tst-order-b2.c: New file.
50258 * elf/tst-order-main.c: New file.
50259 New test case by George Gensure <werkt0@gmail.com>.
50261 2010-10-01 Andreas Schwab <schwab@redhat.com>
50263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50264 decoding ACE if AI_CANONIDN.
50266 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50268 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50270 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50272 * version.h (RELEASE): Bump for 2.13 release.
50273 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50275 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50277 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50279 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50280 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50281 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50282 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50283 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50284 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50286 * posix/getconf.c: Update copyright year.
50287 * catgets/gencat.c: Likewise.
50288 * csu/version.c: Likewise.
50289 * debug/catchsegv.sh: Likewise.
50290 * debug/xtrace.sh: Likewise.
50291 * elf/ldconfig.c: Likewise.
50292 * elf/ldd.bash.in: Likewise.
50293 * elf/sprof.c (print_version): Likewise.
50294 * iconv/iconv_prog.c: Likewise.
50295 * iconv/iconvconfig.c: Likewise.
50296 * locale/programs/locale.c: Likewise.
50297 * locale/programs/localedef.c: Likewise.
50298 * malloc/memusage.sh: Likewise.
50299 * malloc/mtrace.pl: Likewise.
50300 * nscd/nscd.c (print_version): Likewise.
50301 * nss/getent.c: Likewise.
50303 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50304 PF_CAIF, and PF_ALG.
50305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50307 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50309 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50310 (modules-names): Use them.
50311 (ifunc-test-modules, ifunc-pie-tests): Define.
50312 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50313 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50314 (test-extras): Likewise.
50315 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50316 $(compile-command.c).
50317 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50318 (all-built-dso): Define.
50319 (check-textrel.out, check-execstack.out): Depend on it.
50321 * configure.in: Don't override --enable-multi-arch.
50323 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50326 * nscd/hstcache.c (tryagain): Define.
50327 (cache_addhst): Return tryagain not notfound for temporary errors.
50328 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50331 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50334 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50335 to make the syscall.
50336 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50339 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50340 and fall back to matching as normal character if the string ends before
50341 the matching ']' is found. This is what POSIX requires.
50342 * posix/testfnm.c: Adjust test result.
50343 * posix/globtest.sh: Adjust test result. Add new test.
50344 * posix/tst-fnmatch.input: Likewise.
50345 * posix/tst-fnmatch2.c: Add new test.
50347 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50349 * elf/Makefile (check-execstack): Revert last change. Depend on
50351 (check-execstack.h): New target.
50352 (generated): Add check-execstack.h.
50353 * elf/check-execstack.c: Include "check-execstack.h".
50354 (main): Revert last change.
50355 (handle_file): Return zero if GNU_STACK is absent and
50356 DEFAULT_STACK_PERMS doesn't include PF_X.
50358 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50360 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50361 in child fails because the descriptor is already closed.
50362 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50363 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50364 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50367 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50371 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50372 temporary buffer used to handle multi lookups locally.
50373 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50375 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50377 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50380 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50382 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50383 alignment for SSE2.
50385 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50388 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50389 characters. When rounding increased number of integer digits recompute
50391 * stdio-common/tst-grouping.c: New file.
50392 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50394 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50396 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50397 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50399 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50401 * bits/select.h: Likewise.
50403 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50405 * po/ja.po: Update from translation team.
50407 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50410 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50411 implementation just like for lxstat, fxstatat, et al.
50413 2010-12-27 Jim Meyering <meyering@redhat.com>
50416 * posix/regexec.c (build_trtable): Return failure indication upon
50417 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50419 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50422 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50423 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50424 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50425 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50428 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50431 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50432 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50434 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50436 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50437 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50438 script has SORT_BY_INIT_PRIORITY.
50439 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50440 NO_CTORS_DTORS_SECTIONS is defined.
50441 * elf/soinit.c: Likewise.
50442 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50443 NO_CTORS_DTORS_SECTIONS is defined.
50444 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50445 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50446 * sysdeps/sh/init-first.c: Likewise.
50447 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50449 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50451 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50452 always use the slow path.
50454 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50456 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50457 similar rule which adds the sysdep directories to the header search in
50458 order to pick up the correct platform stackinfo.h.
50459 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50460 perform test if it is, otherwise return successfully without testing.
50461 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50462 DEFAULT_STACK_PERMS define in stackinfo.h.
50463 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50464 defined in stackinfo.h.
50465 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50466 DEFAULT_STACK_PERMS defined in stackinfo.h.
50467 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50468 * sysdeps/ia64/stackinfo.h: Likewise.
50469 * sysdeps/s390/stackinfo.h: Likewise.
50470 * sysdeps/sh/stackinfo.h: Likewise.
50471 * sysdeps/sparc/stackinfo.h: Likewise.
50472 * sysdeps/x86_64/stackinfo.h: Likewise.
50473 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50474 PF_X for powerpc64. Retain PF_X for powerpc32.
50476 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50478 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50480 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50481 GETDENTS_64BIT_ALIGNED.
50483 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50485 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50487 2010-12-10 Andreas Schwab <schwab@redhat.com>
50489 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50492 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50493 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50495 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50496 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50498 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50501 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50504 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50506 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50508 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50510 * po/it.po: Update from translation team.
50512 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50517 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50519 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50521 2010-11-24 Andreas Schwab <schwab@redhat.com>
50523 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50525 (gaih_getanswer_slice): Likewise.
50527 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50531 2010-05-31 Petr Baudis <pasky@suse.cz>
50534 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50535 silently even in the chroot mode.
50537 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50539 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50540 last patch a bit. Pretty printing
50542 2010-05-31 Petr Baudis <pasky@suse.cz>
50545 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50546 initialization of skip_initgroups_dyn.
50548 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50550 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50551 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50553 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50555 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50557 2010-11-11 Andreas Schwab <schwab@redhat.com>
50559 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50560 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50561 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50562 ($(objpfx)tst-fnmatch-mem): New rule.
50563 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50564 * posix/tst-fnmatch.c (main): Call mtrace.
50566 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50569 Support Intel processor model 6 and model 0x2c.
50571 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50576 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50579 * string/test-strncasecmp.c (check_result): New function.
50580 (do_one_test): Use it.
50581 (check1): New function.
50582 (test_main): Use it.
50583 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50584 Support strcasecmp and strncasecmp.
50586 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50589 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50590 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50592 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50594 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50598 * sysdeps/x86_64/multiarch/bzero.S: New file.
50599 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50600 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50601 * sysdeps/x86_64/multiarch/memset.S: New file.
50602 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50604 Set bit_Prefer_SSE_for_memop for Intel processors.
50605 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50607 (index_Prefer_SSE_for_memop): Define.
50608 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50610 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50612 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50613 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50615 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50618 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50619 (__x86_64_raw_data_cache_size_half): Likewise.
50620 (__x86_64_raw_shared_cache_size): Likewise.
50621 (__x86_64_raw_shared_cache_size_half): Likewise.
50623 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50624 (__x86_64_raw_data_cache_size_half): Likewise.
50625 (__x86_64_raw_shared_cache_size): Likewise.
50626 (__x86_64_raw_shared_cache_size_half): Likewise.
50627 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50628 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50629 and __x86_64_raw_shared_cache_size_half. Round
50630 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50631 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50632 to multiple of 256 bytes.
50634 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50637 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50638 of inacessible symlinks. Verify result of symlink before returning it.
50639 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50640 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50642 2010-10-28 Erich Ritz <erichritz@gmail.com>
50644 * math/math.h (isinf): Fix typo in comment.
50646 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50648 * po/da.po: Update from translation team.
50650 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50652 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50653 is added to the list.
50655 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50656 Ulrich Drepper <drepper@gmail.com>
50658 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50659 the global list here. Move code to...
50660 (_dl_add_to_namespace_list): ...here. New function.
50661 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50662 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50663 * elf/dl-load.c (lose): Don't remove the element from the list.
50664 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50665 (_dl_map_object): Likewise.
50667 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50670 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50671 into all bytes of SSE register.
50672 Patch by Richard Li <richardpku@gmail.com>.
50674 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50677 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50680 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50682 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50683 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50684 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50690 2010-10-22 Andreas Schwab <schwab@redhat.com>
50692 * include/dlfcn.h (__RTLD_SECURE): Define.
50693 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50694 mode & __RTLD_SECURE instead.
50695 (open_path): Rename preloaded parameter to secure.
50696 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50697 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50698 * elf/dl-deps.c (openaux): Likewise.
50699 * elf/rtld.c (struct map_args): Remove is_preloaded.
50700 (map_doit): Don't use it.
50701 (dl_main): Likewise.
50702 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50703 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50705 2010-09-09 Andreas Schwab <schwab@redhat.com>
50707 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50708 (sysd-rules-targets): Remove duplicates.
50709 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50710 rtld-%.$o dependency.
50712 2010-10-18 Andreas Schwab <schwab@redhat.com>
50714 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50715 _dl_map_object do it.
50717 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50719 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50720 fast fma builtins, define the macros in the C99 standard.
50721 (FP_FAST_FMAF): Likewise.
50722 (FP_FAST_FMAL): Likewise.
50723 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50725 * bits/mathdef.h: Update copyright year.
50726 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50728 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50730 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50731 builtins, define the macros in the C99 standard.
50732 (FP_FAST_FMAF): Likewise.
50733 (FP_FAST_FMAL): Likewise.
50734 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50736 (FP_FAST_FMAF): Likewise.
50738 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50741 * math/libm-test.inc (fma_test): Some new testcases.
50742 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50743 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50744 y and infinite z. Do multiplication by C already in long double.
50745 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50746 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50747 y and infinite z. Do bitwise or of inexact bit into u.d.
50748 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50749 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50750 * sysdeps/i386/fpu/s_fma.S: Removed.
50751 * sysdeps/i386/fpu/s_fmal.S: Removed.
50753 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50756 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50758 computation is not scheduled after fetestexcept. Fix value
50759 of minimum denormal long double.
50761 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50764 * math/libm-test.inc (fma_test): Add some more tests.
50765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50768 2010-10-15 Andreas Schwab <schwab@redhat.com>
50770 * scripts/data/localplt-s390-linux-gnu.data: New file.
50771 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50773 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50776 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50777 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50779 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50781 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50782 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50783 if one of x and y is very large and the other is subnormal.
50784 * sysdeps/s390/fpu/s_fmaf.c: New file.
50785 * sysdeps/s390/fpu/s_fma.c: New file.
50786 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50787 * sysdeps/powerpc/fpu/s_fma.S: New file.
50788 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50789 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50790 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50792 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50795 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50797 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50798 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50799 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50800 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50801 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50802 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50803 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50805 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50808 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50809 * posix/bug-regex31.input: Add test case.
50811 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50813 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50814 * posix/bug-regex31.input: New file.
50817 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50818 (parse_sub_exp): Fix last change, use postorder.
50820 * posix/bug-regex31.c: New file.
50821 * posix/Makefile: Add rules to build and run bug-regex31.
50823 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50826 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50829 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50830 to have entries in sys_siglist.
50833 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50836 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50839 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50840 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50841 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50842 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50843 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50844 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50845 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50846 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50847 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50848 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50849 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50850 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50851 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50852 * math/ftestexcept.c (fetestexcept): Likewise.
50853 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50854 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50855 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50856 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50857 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50858 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50859 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50861 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50864 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50867 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50869 * string/bug-strstr1.c: New file.
50870 * string/Makefile: Add rules to build and run bug-strstr1.
50872 2010-10-05 Eric Blake <eblake@redhat.com>
50875 * string/str-two-way.h (two_way_long_needle): Always clear memory
50876 when skipping input due to the shift table.
50878 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50881 * malloc/mcheck.c: Handle large requests.
50884 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50885 for strncmp and strncasecmp.
50886 * string/stratcliff.c: Add tests for strcmp and strncmp.
50887 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50889 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50891 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50894 2010-09-30 Andreas Jaeger <aj@suse.de>
50896 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50897 (CGROUP_SUPER_MAGIC): Define.
50898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50899 Handle btrfs and cgroup file systems.
50900 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50903 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50905 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50906 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50908 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50911 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50912 trying to locate the ELF header.
50914 2010-09-27 Andreas Schwab <schwab@redhat.com>
50917 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50918 Mask out sign-bit copies when constructing f_fsid.
50920 2010-09-24 Petr Baudis <pasky@suse.cz>
50922 * debug/stack_chk_fail_local.c: Add missing licence exception.
50923 * debug/warning-nop.c: Likewise.
50925 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50927 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50928 implementing getdents64 using getdents syscall, set d_type if
50929 __ASSUME_GETDENTS32_D_TYPE.
50931 2010-09-16 Andreas Schwab <schwab@redhat.com>
50933 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50934 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50936 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50939 * posix/unistd.h: Undo change of feature selection for ftruncate from
50942 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50944 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50947 2010-09-20 Andreas Schwab <schwab@redhat.com>
50949 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50951 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50953 2010-09-14 Andreas Schwab <schwab@redhat.com>
50955 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50956 variables after CHECK_SP call.
50957 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50959 2010-09-13 Andreas Schwab <schwab@redhat.com>
50960 Ulrich Drepper <drepper@redhat.com>
50962 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50963 re-relocationg ld.so.
50964 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50965 _dl_init_paths call.
50966 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50969 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50971 * resolv/res_init.c (__res_vinit): Count the default server we added.
50973 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50974 Ulrich Drepper <drepper@redhat.com>
50977 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50978 (____longjmp_chk): Use %ebx for saving value across system call.
50981 2010-09-06 Andreas Schwab <schwab@redhat.com>
50983 * manual/Makefile: Don't mix pattern rules with normal rules.
50985 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50987 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50989 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50990 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50991 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50992 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50996 2010-09-04 Ulrich Drepper <drepper@redhat.com>
50999 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51000 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51002 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51004 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51005 * sysdeps/x86_64/addmul_1.S: Likewise.
51006 * sysdeps/x86_64/lshift.S: Likewise.
51007 * sysdeps/x86_64/mul_1.S: Likewise.
51008 * sysdeps/x86_64/rshift.S: Likewise.
51009 * sysdeps/x86_64/sub_n.S: Likewise.
51010 * sysdeps/x86_64/submul_1.S: Likewise.
51012 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51014 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51015 Define __sched_param instead of SCHED_* and sched_param when
51016 <bits/sched.h> is included with __need_schedparam defined.
51017 * bits/sched.h [__need_schedparam]
51018 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51019 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51020 (__defined_schedparam): Define to 1.
51021 (__sched_param): New structure, identical to sched_param.
51022 (__need_schedparam): Undefine.
51024 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51027 (epoll_create1): Declare.
51029 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51031 2010-08-31 Andreas Schwab <schwab@redhat.com>
51034 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51035 shifting retval into place.
51037 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51039 * nis/rpcsvc/nis.h: Update copyright notice.
51040 * nis/rpcsvc/nis.x: Likewise.
51041 * nis/rpcsvc/nis_callback.h: Likewise.
51042 * nis/rpcsvc/nis_callback.x: Likewise.
51043 * nis/rpcsvc/nis_object.x: Likewise.
51044 * nis/rpcsvc/nis_tags.h: Likewise.
51045 * nis/rpcsvc/yp.h: Likewise.
51046 * nis/rpcsvc/yp.x: Likewise.
51047 * nis/rpcsvc/ypupd.h: Likewise.
51048 * nis/yp_xdr.c: Likewise.
51049 * nis/ypupdate_xdr.c: Likewise.
51051 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51052 mainly the body of pmap_getport. Add parameters to specify timeouts.
51053 (pmap_getport): Use __libc_rpc_getport.
51054 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51055 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51056 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51058 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51063 2010-08-27 Roland McGrath <roland@redhat.com>
51065 * sysdeps/i386/i686/multiarch/Makefile
51066 (CFLAGS-varshift.c): New variable.
51068 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51070 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51071 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51073 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51075 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51077 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51079 * sysdeps/x86_64/strlen.S: Unroll the loop.
51080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51081 strlen-sse2 strlen-sse2-bsf.
51082 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51083 __strlen_no_bsf if bit_Slow_BSF is set.
51084 (__strlen_sse42): Removed.
51085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51086 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51088 2010-08-25 Roland McGrath <roland@redhat.com>
51090 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51091 * sysdeps/x86_64/multiarch/varshift.c: New file.
51092 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51093 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51094 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51095 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51097 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51099 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51100 strlen-sse2 strlen-sse2-bsf.
51101 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51102 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51103 (__strlen_sse2): Removed.
51104 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51105 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51107 bit_Slow_BSF for Atom.
51108 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51109 (index_Slow_BSF): Define.
51110 (HAS_SLOW_BSF): Define.
51112 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51115 * resolv/res_init.c (__res_vinit): When no server address at all
51116 is given default to loopback.
51118 2010-08-24 Roland McGrath <roland@redhat.com>
51120 * configure.in: Remove config-name.h generation.
51121 * configure: Regenerated.
51122 * config-name.in: File removed.
51123 * scripts/config-uname.sh: New file.
51124 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51125 ($(objdir)config-name.h): New target.
51127 * sunrpc/rpc_parse.h: Avoid nested comment.
51129 2010-08-24 Richard Henderson <rth@redhat.com>
51130 Ulrich Drepper <drepper@redhat.com>
51131 H.J. Lu <hongjiu.lu@intel.com>
51133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51134 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51135 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51136 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51137 _mm_alignr_epi8 with _mm_loadu_si128.
51138 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51139 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51140 (__m128i_shift_right): Removed.
51141 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51142 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51143 * sysdeps/x86_64/multiarch/varshift.h: New file.
51144 * sysdeps/x86_64/multiarch/varshift.S: New file.
51146 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51148 * configure.in: Move assembler checks to before sysdep dir checking.
51150 2010-08-20 Petr Baudis <pasky@suse.cz>
51152 * LICENSES: Sync the sunrpc license.
51154 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51156 * sunrpc/auth_des.c: Update copyright notice once again.
51157 * sunrpc/auth_none.c: Likewise.
51158 * sunrpc/auth_unix.c: Likewise.
51159 * sunrpc/authdes_prot.c: Likewise.
51160 * sunrpc/authuxprot.c: Likewise.
51161 * sunrpc/bindrsvprt.c: Likewise.
51162 * sunrpc/clnt_gen.c: Likewise.
51163 * sunrpc/clnt_perr.c: Likewise.
51164 * sunrpc/clnt_raw.c: Likewise.
51165 * sunrpc/clnt_simp.c: Likewise.
51166 * sunrpc/clnt_tcp.c: Likewise.
51167 * sunrpc/clnt_udp.c: Likewise.
51168 * sunrpc/clnt_unix.c: Likewise.
51169 * sunrpc/des_crypt.c: Likewise.
51170 * sunrpc/des_soft.c: Likewise.
51171 * sunrpc/get_myaddr.c: Likewise.
51172 * sunrpc/getrpcport.c: Likewise.
51173 * sunrpc/key_call.c: Likewise.
51174 * sunrpc/key_prot.c: Likewise.
51175 * sunrpc/openchild.c: Likewise.
51176 * sunrpc/pm_getmaps.c: Likewise.
51177 * sunrpc/pm_getport.c: Likewise.
51178 * sunrpc/pmap_clnt.c: Likewise.
51179 * sunrpc/pmap_prot.c: Likewise.
51180 * sunrpc/pmap_prot2.c: Likewise.
51181 * sunrpc/pmap_rmt.c: Likewise.
51182 * sunrpc/rpc/auth.h: Likewise.
51183 * sunrpc/rpc/auth_unix.h: Likewise.
51184 * sunrpc/rpc/clnt.h: Likewise.
51185 * sunrpc/rpc/des_crypt.h: Likewise.
51186 * sunrpc/rpc/key_prot.h: Likewise.
51187 * sunrpc/rpc/netdb.h: Likewise.
51188 * sunrpc/rpc/pmap_clnt.h: Likewise.
51189 * sunrpc/rpc/pmap_prot.h: Likewise.
51190 * sunrpc/rpc/pmap_rmt.h: Likewise.
51191 * sunrpc/rpc/rpc.h: Likewise.
51192 * sunrpc/rpc/rpc_des.h: Likewise.
51193 * sunrpc/rpc/rpc_msg.h: Likewise.
51194 * sunrpc/rpc/svc.h: Likewise.
51195 * sunrpc/rpc/svc_auth.h: Likewise.
51196 * sunrpc/rpc/types.h: Likewise.
51197 * sunrpc/rpc/xdr.h: Likewise.
51198 * sunrpc/rpc_clntout.c: Likewise.
51199 * sunrpc/rpc_cmsg.c: Likewise.
51200 * sunrpc/rpc_common.c: Likewise.
51201 * sunrpc/rpc_cout.c: Likewise.
51202 * sunrpc/rpc_dtable.c: Likewise.
51203 * sunrpc/rpc_hout.c: Likewise.
51204 * sunrpc/rpc_main.c: Likewise.
51205 * sunrpc/rpc_parse.c: Likewise.
51206 * sunrpc/rpc_parse.h: Likewise.
51207 * sunrpc/rpc_prot.c: Likewise.
51208 * sunrpc/rpc_sample.c: Likewise.
51209 * sunrpc/rpc_scan.c: Likewise.
51210 * sunrpc/rpc_scan.h: Likewise.
51211 * sunrpc/rpc_svcout.c: Likewise.
51212 * sunrpc/rpc_tblout.c: Likewise.
51213 * sunrpc/rpc_util.c: Likewise.
51214 * sunrpc/rpc_util.h: Likewise.
51215 * sunrpc/rpcinfo.c: Likewise.
51216 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51217 * sunrpc/rpcsvc/key_prot.x: Likewise.
51218 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51219 * sunrpc/rpcsvc/mount.x: Likewise.
51220 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51221 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51222 * sunrpc/rpcsvc/rex.x: Likewise.
51223 * sunrpc/rpcsvc/rstat.x: Likewise.
51224 * sunrpc/rpcsvc/rusers.x: Likewise.
51225 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51226 * sunrpc/rpcsvc/spray.x: Likewise.
51227 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51228 * sunrpc/rtime.c: Likewise.
51229 * sunrpc/svc.c: Likewise.
51230 * sunrpc/svc_auth.c: Likewise.
51231 * sunrpc/svc_authux.c: Likewise.
51232 * sunrpc/svc_raw.c: Likewise.
51233 * sunrpc/svc_run.c: Likewise.
51234 * sunrpc/svc_simple.c: Likewise.
51235 * sunrpc/svc_tcp.c: Likewise.
51236 * sunrpc/svc_udp.c: Likewise.
51237 * sunrpc/svc_unix.c: Likewise.
51238 * sunrpc/svcauth_des.c: Likewise.
51239 * sunrpc/xcrypt.c: Likewise.
51240 * sunrpc/xdr.c: Likewise.
51241 * sunrpc/xdr_array.c: Likewise.
51242 * sunrpc/xdr_float.c: Likewise.
51243 * sunrpc/xdr_mem.c: Likewise.
51244 * sunrpc/xdr_rec.c: Likewise.
51245 * sunrpc/xdr_ref.c: Likewise.
51246 * sunrpc/xdr_sizeof.c: Likewise.
51247 * sunrpc/xdr_stdio.c: Likewise.
51249 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51252 2010-08-19 Andreas Schwab <schwab@redhat.com>
51254 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51256 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51258 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51259 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51260 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51261 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51262 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51263 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51264 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51265 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51266 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51267 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51268 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51269 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51270 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51271 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51273 2010-07-26 Anton Blanchard <anton@samba.org>
51275 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51276 * malloc/arena.c (heap_trim): Likewise.
51278 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51280 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51282 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51283 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51285 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51287 * sysdeps/i386/elf/Makefile: New file.
51289 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51291 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51292 from fanotify_init.
51293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51296 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51298 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51300 * sysdeps/multiarch/strcmp.S: Likewise.
51302 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51304 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51305 strncase_l-nonascii.
51306 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51307 Add strncase_l-ssse3.
51308 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51309 * sysdeps/x86_64/strcmp.S: Likewise.
51310 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51311 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51312 * sysdeps/x86_64/strncase.S: New file.
51313 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51314 * sysdeps/x86_64/strncase_l.S: New file.
51315 * string/Makefile (strop-tests): Add strncasecmp.
51316 * string/test-strncasecmp.c: New file.
51318 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51321 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51322 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51324 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51326 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51328 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51330 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51331 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51332 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51334 2010-05-01 Alan Modra <amodra@gmail.com>
51336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51337 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51338 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51339 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51340 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51341 tidying. Don't tail-call __sigjmp_save for static lib.
51342 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51344 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51345 (CALL_MCOUNT): Add eh info, and nop after bl.
51346 (TAIL_CALL_SYSCALL_ERROR): New macro.
51347 (PSEUDO_RET): Use it.
51348 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51349 Correct save location of integer regs and cr.
51350 (_dl_profile_resolve): Correct cr save location. Delete nops
51351 after bl when SHARED. Reduce cfi size a little by better
51352 placement of cfi directives.
51353 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51354 make a stack frame. Instead use parm save area as a temp.
51355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51356 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51358 Don't make a stack frame for parent, use parm save area.
51359 Increase child stack frame to 112 bytes. Don't save unused reg,
51360 and adjust reg usage. Set up cfi on error recovery and
51361 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51363 (__makecontext): Add dummy nop after jump to exit.
51364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51365 Use correct parm save area and cr save, reduce stack frame.
51366 Correct cfi for possible PSEUDO_RET frame setup.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51368 Branch to local label emitted by PSEUDO_RET rather than
51371 2010-08-12 Andreas Schwab <schwab@redhat.com>
51374 * locale/programs/locale.c (print_assignment): New function.
51375 (show_locale_vars): Use it.
51377 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51379 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51381 (struct statfs64): Likewise.
51382 (_STATFS_F_FLAGS): Define.
51383 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51384 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51385 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51386 (ST_VALID): Define locally.
51387 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51388 __statvfs_getflags, use the provided value.
51389 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51390 __ASSUME_STATFS_F_FLAGS.
51392 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51394 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51395 Add sys/fanotify.h.
51396 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51397 fanotify_mask for GLIBC_2.13.
51398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51399 fanotify_init and fanotify_mark.
51400 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51401 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51403 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51405 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51406 prlimit64 for GLIBC_2.13.
51407 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51409 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51412 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51413 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51414 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51415 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51417 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51420 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51421 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51423 * nss/Makefile: Add rules to build and run tst-nss-test1.
51424 * shlib-versions: Add entry for libnss_test1.
51425 * nss/nss_test1.c: New file.
51426 * nss/tst-nss-test1.c: New file.
51428 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51429 (__nss_configure_lookup): Set appropriate entry in
51430 __nss_configure_lookup to true.
51431 * nss/nsswitch.h: Define enum with indeces of databases in
51432 databases and __nss_database_custom arrays. Declare
51433 __nss_database_custom.
51434 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51435 to avoid using nscd when custom rules are installed.
51436 * nss/getXXbyYY_r.c: Likewise.
51437 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51439 * nss/nss_files/files-parse.c: Whitespace fixes.
51441 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51444 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51445 * posix/fnmatch_loop.c: Likewise.
51447 2010-07-17 Andi Kleen <ak@linux.intel.com>
51449 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51450 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51451 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51452 * Versions.def [GLIBC_2.13]: Add.
51454 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51456 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51457 Also fail if tpwd after pwuid call is NULL.
51459 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51461 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51462 when converting to ms.
51464 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51466 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51467 EOPNOTSUPP errors with ENOTTY.
51468 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51469 EOPNOTSUPP errors with ENOTTY.
51471 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51473 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51474 Add strcasecmp_l-ssse3.
51475 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51477 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51478 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51479 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51481 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51483 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51485 * string/Makefile (strop-tests): Add strcasecmp.
51486 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51487 strcasecmp_l-nonascii.
51488 (gen-as-const-headers): Add locale-defines.sym.
51489 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51490 * sysdeps/x86_64/strcasecmp.S: New file.
51491 * sysdeps/x86_64/strcasecmp_l.S: New file.
51492 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51493 * sysdeps/x86_64/locale-defines.sym: New file.
51494 * string/test-strcasecmp.c: New file.
51496 * string/test-strcasestr.c: Test both ends of the range of characters.
51497 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51499 2010-07-29 Roland McGrath <roland@redhat.com>
51502 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51504 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51506 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51509 2010-07-27 Andreas Schwab <schwab@redhat.com>
51511 * manual/memory.texi (Malloc Tunable Parameters): Document
51514 2010-07-26 Roland McGrath <roland@redhat.com>
51517 * configure.in (-fgnu89-inline check): Set and substitute
51518 gnu89_inline, not libc_cv_gnu89_inline.
51519 * configure: Regenerated.
51520 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51522 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51524 * string/test-strnlen.c: New file.
51525 * string/Makefile (strop-tests): Add strnlen.
51526 * string/tester.c (test_strnlen): Add a few more test cases.
51527 * string/tst-strlen.c: Better error reporting.
51529 * sysdeps/x86_64/strnlen.S: New file.
51531 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51533 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51534 lower-latency instructions.
51536 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51538 * string/test-strcasestr.c: New file.
51539 * string/test-strstr.c: New file.
51540 * string/Makefile (strop-tests): Add strstr and strcasestr.
51541 * string/str-two-way.h: Don't undefine MAX.
51542 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51544 2010-07-21 Andreas Schwab <schwab@redhat.com>
51546 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51547 strcasestr-nonascii.
51548 (CFLAGS-strcasestr-nonascii.c): Define.
51549 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51550 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51551 Remove unused attribute.
51553 2010-07-20 Roland McGrath <roland@redhat.com>
51555 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51556 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51557 ld.so.cache was broken. With it, there is no way to disable dsocaps
51558 like LD_HWCAP_MASK can disable hwcaps.
51560 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51562 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51564 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51566 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51567 call in strcasestr.
51568 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51569 __strcasestr_sse42_nonascii.
51570 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51571 strcasestr-nonascii.c.
51572 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51574 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51576 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51577 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51578 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51579 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51581 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51586 2010-07-06 Andreas Schwab <schwab@redhat.com>
51589 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51592 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51594 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51595 _PC_PIPE_BUF using F_GETPIPE_SZ.
51597 2010-07-05 Roland McGrath <roland@redhat.com>
51599 * manual/arith.texi (Rounding Functions): Fix rint description
51600 implicit in round description.
51602 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51604 * elf/Makefile: Fix linking for a few tests to make recent linker
51607 2010-06-30 Andreas Schwab <schwab@redhat.com>
51609 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51610 $(common-objpfx)libc_nonshared.a.
51612 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51614 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51615 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51616 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51617 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51618 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51619 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51620 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51621 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51636 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51637 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51638 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51639 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51640 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51641 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51642 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51643 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51644 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51645 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51646 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51647 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51663 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51665 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51666 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51667 * string/memmove.c (memmove): Renamed to ...
51668 (MEMMOVE): ...this. Default to memmove.
51669 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51670 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51673 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51674 mempcpy-ssse3-back memmove-ssse3-back.
51675 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51678 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51679 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51680 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51681 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51682 * sysdeps/x86_64/multiarch/memmove.c: New file.
51683 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51684 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51685 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51686 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51687 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51688 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51690 (index_Fast_Copy_Backward): Define.
51691 (HAS_ARCH_FEATURE): Define.
51692 (HAS_FAST_REP_STRING): Define.
51693 (HAS_FAST_COPY_BACKWARD): Define.
51695 2010-06-21 Andreas Schwab <schwab@redhat.com>
51697 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51698 Restore proper fallback handling.
51700 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51703 * posix/group_member.c (__group_member): Correct checking loop.
51705 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51706 OOM in getpwuid_r correctly. Return error number when the caller
51707 should return, otherwise -1.
51708 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51709 call returning > 0 value.
51710 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51712 2010-06-07 Andreas Schwab <schwab@redhat.com>
51714 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51715 libc_nonshared.a from targets in modules-names.
51717 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51719 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51722 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51724 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51725 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51726 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51727 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51729 2010-06-02 Andreas Schwab <schwab@redhat.com>
51731 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51733 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51735 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51737 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51738 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51739 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51741 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51742 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51744 2010-06-14 Roland McGrath <roland@redhat.com>
51746 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51748 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51750 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51751 __REDIRECT followed by __THROW.
51752 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51753 * posix/getopt.h (getopt): Likewise.
51755 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51757 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51758 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51759 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51761 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51762 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51764 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51766 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51768 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51772 Properly check family and model.
51774 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51776 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51778 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51780 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51782 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51784 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51787 2010-05-19 Andreas Schwab <schwab@redhat.com>
51789 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51792 2010-05-21 Andreas Schwab <schwab@redhat.com>
51794 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51795 and internal_recvmmsg.
51796 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51797 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51798 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51799 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51801 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51802 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51803 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51805 2010-05-20 Andreas Schwab <schwab@redhat.com>
51807 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51809 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51811 POWER7 optimizations.
51812 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51813 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51815 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51817 * version.h: Update for 2.13 development version.
51819 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51821 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51822 exceptions. Return 0.
51824 2010-05-07 Roland McGrath <roland@redhat.com>
51826 * elf/ldconfig.c (main): Add a const.
51828 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51830 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51831 (args_options): Add no-idn option.
51832 (ahosts_keys_int): Add idn_flags to ai_flags.
51833 (parse_option): Handle 'i' option to clear idn_flags.
51835 * malloc/malloc.c (_int_free): Possible race in the most recently
51836 added check. Only act on the data if no current modification
51839 See ChangeLog.17 for earlier changes.