1 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3 * manual/llio.texi: Add comment that write safety has been
6 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
7 (localplt-build-dso): Add elf/ld.so.
8 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
11 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
12 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
15 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
17 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
18 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
20 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
22 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
24 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
25 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29 2014-11-05 Joseph Myers <joseph@codesourcery.com>
32 * include/libc-symbols.h (INTUSE): Remove macro.
34 (INTVARDEF): Likewise.
35 (_INTVARDEF): Likewise.
37 (INTVARDEF2): Likewise.
38 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39 rtld_hidden_def instead of INTVARDEF.
40 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41 (_dl_starting_up_internal): Remove declaration.
42 (_dl_starting_up): Use rtld_hidden_proto.
43 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
45 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
46 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
48 * elf/dl-writev.h (_dl_writev): Likewise.
49 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
50 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
51 _dl_starting_up_internal.
53 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
58 2014-11-05 Will Newton <will.newton@linaro.org>
60 * benchtests/Makefile: (bench-malloc): Add malloc thread
61 scalability benchmark.
62 * benchtests/bench-malloc-threads.c: New file.
64 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
66 * sysdeps/aarch64/strchrnul.S: New file.
68 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
72 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
74 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
76 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
78 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
80 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
83 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
85 * catgets/test-gencat.c: Use test-skeleton.c.
86 * catgets/tst-catgets.c: Likewise.
87 * csu/tst-empty.c: Likewise.
88 * elf/tst-audit2.c: Likewise.
89 * elf/tst-global1.c: Likewise.
90 * elf/tst-pathopt.c: Likewise.
91 * elf/tst-piemod1.c: Likewise.
92 * elf/tst-tls10.c: Likewise.
93 * elf/tst-tls11.c: Likewise.
94 * elf/tst-tls12.c: Likewise.
95 * gnulib/tst-gcc.c: Likewise.
96 * iconvdata/tst-e2big.c: Likewise.
97 * iconvdata/tst-loading.c: Likewise.
98 * iconv/tst-iconv1.c: Likewise.
99 * iconv/tst-iconv2.c: Likewise.
100 * inet/test-inet6_opt.c: Likewise.
101 * inet/tst-gethnm.c: Likewise.
102 * inet/tst-network.c: Likewise.
103 * inet/tst-ntoa.c: Likewise.
104 * intl/tst-codeset.c: Likewise.
105 * intl/tst-gettext2.c: Likewise.
106 * intl/tst-gettext3.c: Likewise.
107 * intl/tst-ngettext.c: Likewise.
108 * intl/tst-translit.c: Likewise.
109 * io/test-stat.c: Likewise.
110 * libio/test-fmemopen.c: Likewise.
111 * libio/tst-freopen.c: Likewise.
112 * libio/tst-sscanf.c: Likewise.
113 * libio/tst-ungetwc1.c: Likewise.
114 * libio/tst-ungetwc2.c: Likewise.
115 * libio/tst-widetext.c: Likewise.
116 * localedata/tst-ctype.c: Likewise.
117 * localedata/tst-digits.c: Likewise.
118 * localedata/tst-leaks.c: Likewise.
119 * localedata/tst-mbswcs1.c: Likewise.
120 * localedata/tst-mbswcs2.c: Likewise.
121 * localedata/tst-mbswcs3.c: Likewise.
122 * localedata/tst-mbswcs4.c: Likewise.
123 * localedata/tst-mbswcs5.c: Likewise.
124 * localedata/tst-setlocale.c: Likewise.
125 * localedata/tst-trans.c: Likewise.
126 * localedata/tst-wctype.c: Likewise.
127 * localedata/tst-xlocale1.c: Likewise.
128 * login/tst-grantpt.c: Likewise.
129 * malloc/tst-calloc.c: Likewise.
130 * malloc/tst-malloc.c: Likewise.
131 * malloc/tst-mallocstate.c: Likewise.
132 * malloc/tst-mcheck.c: Likewise.
133 * malloc/tst-mtrace.c: Likewise.
134 * malloc/tst-obstack.c: Likewise.
135 * math/atest-exp2.c: Likewise.
136 * math/atest-exp.c: Likewise.
137 * math/atest-sincos.c: Likewise.
138 * math/test-matherr.c: Likewise.
139 * math/test-misc.c: Likewise.
140 * math/test-powl.c: Likewise.
141 * math/tst-definitions.c: Likewise.
142 * misc/tst-dirname.c: Likewise.
143 * misc/tst-efgcvt.c: Likewise.
144 * misc/tst-fdset.c: Likewise.
145 * misc/tst-hsearch.c: Likewise.
146 * misc/tst-mntent2.c: Likewise.
147 * nptl/tst-sem7.c: Likewise.
148 * nptl/tst-sem8.c: Likewise.
149 * nptl/tst-sem9.c: Likewise.
150 * nss/test-netdb.c: Likewise.
151 * posix/tst-fnmatch.c: Likewise.
152 * posix/tst-getlogin.c: Likewise.
153 * posix/tst-gnuglob.c: Likewise.
154 * posix/tst-mmap.c: Likewise.
155 * pwd/tst-getpw.c: Likewise.
156 * resolv/tst-inet_ntop.c: Likewise.
157 * rt/tst-timer.c: Likewise.
158 * stdio-common/test-fseek.c: Likewise.
159 * stdio-common/test-popen.c: Likewise.
160 * stdio-common/test-vfprintf.c: Likewise.
161 * stdio-common/tst-cookie.c: Likewise.
162 * stdio-common/tst-fileno.c: Likewise.
163 * stdio-common/tst-gets.c: Likewise.
164 * stdio-common/tst-obprintf.c: Likewise.
165 * stdio-common/tst-perror.c: Likewise.
166 * stdio-common/tst-sprintf2.c: Likewise.
167 * stdio-common/tst-sprintf3.c: Likewise.
168 * stdio-common/tst-sprintf.c: Likewise.
169 * stdio-common/tst-swprintf.c: Likewise.
170 * stdio-common/tst-tmpnam.c: Likewise.
171 * stdio-common/tst-unbputc.c: Likewise.
172 * stdio-common/tst-wc-printf.c: Likewise.
173 * stdlib/tst-environ.c: Likewise.
174 * stdlib/tst-fmtmsg.c: Likewise.
175 * stdlib/tst-limits.c: Likewise.
176 * stdlib/tst-rand48-2.c: Likewise.
177 * stdlib/tst-rand48.c: Likewise.
178 * stdlib/tst-random2.c: Likewise.
179 * stdlib/tst-random.c: Likewise.
180 * stdlib/tst-strtol.c: Likewise.
181 * stdlib/tst-strtoll.c: Likewise.
182 * stdlib/tst-tls-atexit.c: Likewise.
183 * stdlib/tst-xpg-basename.c: Likewise.
184 * string/test-ffs.c: Likewise.
185 * string/tst-bswap.c: Likewise.
186 * string/tst-inlcall.c: Likewise.
187 * string/tst-strtok.c: Likewise.
188 * string/tst-strxfrm.c: Likewise.
189 * sysdeps/x86_64/tst-audit10.c: Likewise.
190 * sysdeps/x86_64/tst-audit3.c: Likewise.
191 * sysdeps/x86_64/tst-audit4.c: Likewise.
192 * sysdeps/x86_64/tst-audit5.c: Likewise.
193 * time/tst-ftime_l.c: Likewise.
194 * time/tst-getdate.c: Likewise.
195 * time/tst-mktime3.c: Likewise.
196 * time/tst-mktime.c: Likewise.
197 * time/tst-posixtz.c: Likewise.
198 * time/tst-strptime2.c: Likewise.
199 * time/tst-strptime3.c: Likewise.
200 * wcsmbs/tst-btowc.c: Likewise.
201 * wcsmbs/tst-mbrtowc.c: Likewise.
202 * wcsmbs/tst-mbsrtowcs.c: Likewise.
203 * wcsmbs/tst-wchar-h.c: Likewise.
204 * wcsmbs/tst-wcpncpy.c: Likewise.
205 * wcsmbs/tst-wcrtomb.c: Likewise.
206 * wcsmbs/tst-wcsnlen.c: Likewise.
207 * wcsmbs/tst-wcstof.c: Likewise.
209 2014-11-04 Joseph Myers <joseph@codesourcery.com>
212 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
214 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
216 (_dl_mcount): Use rtld_hidden_proto.
217 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
219 * elf/rtld.c (_rtld_global_ro): Likewise.
222 * elf/dl-init.c (_dl_init): Don't use INTDEF.
223 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
224 of _dl_init_internal.
225 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
226 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
227 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
228 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
229 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
230 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
231 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
232 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
233 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
234 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
235 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
236 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
237 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
238 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
239 * sysdeps/tile/dl-start.S (_start): Likewise.
240 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
241 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
244 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
245 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
246 (rtld_progname): Make macro definition unconditional.
247 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
249 (dlmopen_doit): Do not use INTUSE with _dl_argv.
251 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
252 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
253 instead of _dl_argv_internal.
254 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
255 __GI__dl_argv instead of INTUSE(_dl_argv).
256 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
257 __GI__dl_argv instead of _dl_argv_internal.
259 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
260 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
262 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
263 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
265 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
266 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
268 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
269 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
271 2014-11-04 Andreas Schwab <schwab@suse.de>
273 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
275 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
277 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
278 mtvsrd instruction in binary form.
280 2014-11-03 Andreas Schwab <schwab@suse.de>
283 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
284 for less than MB_LEN_MAX use a local buffer of that size.
285 * libio/tst-fputws.c: New file.
286 * libio/Makefile (tests): Add tst-fputws.
288 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
290 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
291 the size of the fpu_fr.fpu_dregs[] array.
293 2014-11-01 Joseph Myers <joseph@codesourcery.com>
295 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
296 (__nanosleep): Do not define as alias.
297 (nanosleep): Define as alias of __nanosleep.
298 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
299 __libc_nanosleep name.
301 2014-10-31 Joseph Myers <joseph@codesourcery.com>
303 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
304 install.texi in comment.
306 2014-10-31 Torvald Riegel <triegel@redhat.com>
308 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
309 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
310 ... add here and use lwsync or sync ...
311 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
312 ... and add here using lwsync.
314 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
316 * elf/dl-machine-reject-phdr.h: New file.
317 * elf/dl-load.c: #include that.
318 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
319 if that returned true.
321 2014-10-31 Roland McGrath <roland@hack.frob.com>
324 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
325 gen-as-const-headers chunk. Add a big scare comment after the last
326 safe place to touch before-compile.
328 2014-10-31 Joseph Myers <joseph@codesourcery.com>
330 * manual/install.texi (Tools for Compilation): Update autoconf
331 version requirements.
332 * INSTALL: Regenerated.
334 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
335 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
336 (__libc_pselect): Likewise.
339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
344 2014-10-31 Torvald Riegel <triegel@redhat.com>
346 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
347 correct barrier instruction.
348 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
350 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
353 2014-10-30 Roland McGrath <roland@hack.frob.com>
355 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
356 after defining inlines. Instead, just use parens to defeat macro
357 expansion of __isctype in its declaration.
359 2014-10-30 Joseph Myers <joseph@codesourcery.com>
361 * include/sys/uio.h (__libc_readv): Remove declaration.
362 (__libc_writev): Likewise.
363 * misc/readv.c (__libc_readv): Rename to __readv.
364 (__readv): Do not define as alias.
365 (readv): Define as alias of __readv.
366 * misc/writev.c (__libc_writev): Rename to __writev.
367 (__writev): Do not define as alias.
368 (writev): Define as alias of __writev.
369 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
370 (__readv): Do not define as alias.
371 (readv): Define unconditionally as alias of __readv.
372 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
373 (__writev): Do not define as alias.
374 (writev): Define unconditionally as alias of __writev.
375 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
377 (writev): Do not define __libc_writev name.
379 2014-10-30 Roland McGrath <roland@hack.frob.com>
381 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
382 (convert_charseq): New function, broken out of ...
383 (use_from_charmap): ... here. Call it.
384 (use_to_charmap): Use convert_charseq and free instead of duplicating
385 its code with a variable-length stack struct.
387 2014-10-30 Joseph Myers <joseph@codesourcery.com>
389 * include/fcntl.h (__libc_creat): Remove declaration.
390 * io/creat.c (__libc_creat): Rename to creat.
391 (creat): Do not define as alias.
392 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
393 of creat instead of __libc_creat.
394 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
396 (creat): Do not define as alias.
397 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
399 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
401 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
404 2014-10-29 Carlos O'Donell <carlos@redhat.com>
406 * manual/llio.texi: Add comments discussing why write() may be
407 considered MT-unsafe on Linux.
409 2014-10-28 Carlos O'Donell <carlos@redhat.com>
411 * dl-load.c (local_strdup): Remove.
412 (expand_dynamic_string_token): Use __strdup.
413 (decompose_rpath): Likewise.
414 (_dl_map_object): Likewise.
416 2014-10-28 Joseph Myers <joseph@codesourcery.com>
419 * sysdeps/generic/unwind-dw2-fde.c
420 (__register_frame_info_bases_internal): Do not declare.
421 (__register_frame_info_table_bases_internal): Likewise.
422 (__deregister_frame_info_bases_internal): Likewise.
423 (__register_frame_info_bases): Declare and use hidden_proto before
424 definition. Use hidden_def instead of INTDEF.
425 (__register_frame_info_table_bases): Likewise.
426 (__deregister_frame_info_bases): Likewise.
427 (__register_frame_info): Do not use INTUSE.
428 (__register_frame): Likewise.
429 (__register_frame_info_table): Likewise.
430 (__register_frame_table): Likewise.
431 (__deregister_frame_info): Likewise.
432 (__deregister_frame): Likewise.
434 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
436 * sysdeps/unix/sysv/linux/arm/kernel-features.h
437 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
439 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
441 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
444 2014-10-27 Joseph Myers <joseph@codesourcery.com>
447 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
448 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
449 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
450 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
451 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
452 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
453 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
454 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
455 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
456 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
457 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
458 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
459 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
461 (setfsuid): Likewise.
462 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
463 (setfsuid): Likewise.
464 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
465 (setfsuid): Likewise.
466 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
468 (setfsuid): Likewise.
469 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
470 (setfsuid): Likewise.
471 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
473 (setfsuid): Likewise.
475 2014-10-27 Andreas Schwab <schwab@suse.de>
478 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
479 check for Slow_SSE4_2 feature bit.
480 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
481 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
482 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
483 Likewise. Fix check for Fast_Unaligned_Load feature bit.
485 2014-10-24 Roland McGrath <roland@hack.frob.com>
487 * configure.ac: Validate compiler version with a empirical test of
488 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
490 * configure: Regenerated.
492 * inet/htons.c (htons): Prototypify.
493 * inet/htonl.c (htonl): Likewise.
495 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
497 * string/strncat.c (strncat): Improve performance by using strlen.
499 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
501 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
503 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
505 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
506 Call libc_fetestexcept_aarch64.
508 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
510 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
511 Call libc_feholdexcept_aarch64.
513 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
515 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
516 Call get_rounding_mode.
518 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
520 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
523 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
525 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
528 2014-10-24 Joseph Myers <joseph@codesourcery.com>
531 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
532 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
533 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
534 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
535 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
536 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
537 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
538 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
539 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
540 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
541 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
542 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
543 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
544 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
545 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
546 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
547 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
548 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
549 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
550 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
551 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
552 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
553 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
555 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
557 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
558 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
559 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
560 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
561 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
562 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
563 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
564 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
565 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
566 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
567 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
569 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
570 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
571 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
576 (getresgid): Likewise.
577 (getresuid): Likewise.
578 (getgroups): Likewise.
579 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
583 (getresgid): Likewise.
584 (getresuid): Likewise.
585 (getgroups): Likewise.
586 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
590 (getresgid): Likewise.
591 (getresuid): Likewise.
592 (getgroups): Likewise.
593 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
598 (getresgid): Likewise.
599 (getresuid): Likewise.
600 (getgroups): Likewise.
601 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
605 (getresgid): Likewise.
606 (getresuid): Likewise.
607 (getgroups): Likewise.
608 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
613 (getgroups): Likewise.
616 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
617 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
618 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
619 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
620 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
621 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
622 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
623 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
624 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
625 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
626 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
627 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
628 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
630 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
637 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
640 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
645 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
647 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
650 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
652 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
655 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
657 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
658 Remove unused include.
660 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
662 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
663 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
664 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
665 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
667 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
668 Helge Deller <deller@gmx.de>
671 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
672 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
673 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
675 2014-10-23 Joseph Myers <joseph@codesourcery.com>
678 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
679 Remove macro definition.
680 (__ashrdi3_v_glibc20): Likewise.
681 (__lshrdi3_v_glibc20): Likewise.
682 (__cmpdi2_v_glibc20): Likewise.
683 (__ucmpdi2_v_glibc20): Likewise.
684 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
685 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
686 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
687 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
688 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
689 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
691 2014-10-22 Roland McGrath <roland@hack.frob.com>
693 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
694 old GNU extension [0] syntax.
695 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
696 alloca rather than an array member with variable length.
697 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
698 * nscd/nscd.c (invalidate_db): New function, broken out of ...
699 (parse_opt): ... here. Likewise use alloca there.
700 Validate the -i argument before checking for rootness.
701 (send_shutdown): New function, broken out of ...
702 (parse_opt): ... here.
704 2014-10-22 Roland McGrath <roland@hack.frob.com>
706 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
707 macro to get at the _rt_local_ro field.
708 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
709 ([PIC] case) or _dl_hwcap ([!PIC] case).
710 * sysdeps/arm/setjmp.S: Likewise.
712 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
713 * sysdeps/arm/configure.ac: New check to define it.
714 * sysdeps/arm/configure: Regenerated.
715 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
716 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
717 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
718 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
719 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
720 Use move/movt pair instead of a load.
721 (LDST_GLOBAL): Macro removed.
722 (LDR_GLOBAL): New macro replaces it.
723 (LDR_HIDDEN): New macro.
724 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
725 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
727 * setjmp/tst-setjmp-static.c: New file.
728 * setjmp/Makefile (tests): Add it.
729 (tests-static): New variable.
731 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
734 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
736 2014-10-21 Joseph Myers <joseph@codesourcery.com>
739 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
741 2014-10-21 Roland McGrath <roland@hack.frob.com>
743 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
745 2014-10-20 Roland McGrath <roland@hack.frob.com>
747 * io/fts.c (dirent_not_directory): New function.
748 (fts_build): Call it.
750 2014-10-20 Roland McGrath <roland@hack.frob.com>
752 * nptl/version.c (__nptl_main): Use normal __write rather than
754 (banner): Update copyright years.
756 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
758 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
759 * nptl/pthread_cond_timedwait.c: Likewise.
760 * nptl/pthread_mutex_timedlock.c: Likewise.
761 * nptl/sem_timedwait.c: Likewise.
763 * sysdeps/nptl/bits/libc-lock.h
764 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
765 (__libc_lock_init_recursive): Return void, not 0.
766 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
767 (__libc_rwlock_init): Likewise.
768 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
770 2014-10-20 Torvald Riegel <triegel@redhat.com>
773 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
774 (__pthread_once_slow): ... here.
775 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
776 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
778 2014-10-20 Torvald Riegel <triegel@redhat.com>
781 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
782 __PTHREAD_ONCE_FORK_GEN_INCR): New.
783 * sysdeps/nptl/fork.c (__libc_fork): Use them.
784 * nptl/pthread_once.c (__pthread_once): Likewise.
787 2014-10-20 Joseph Myers <joseph@codesourcery.com>
790 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
792 (writev): Use __libc_writev as strong name.
793 * sysdeps/unix/sysv/linux/readv.c: Remove file.
794 * sysdeps/unix/sysv/linux/writev.c: Likewise.
796 2014-10-17 Roland McGrath <roland@hack.frob.com>
798 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
800 * sysdeps/i386/nptl/tls.h
801 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
802 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
804 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
805 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
806 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
807 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
808 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
809 Call CHECK_THREAD_SYSINFO instead of doing an assert.
811 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
812 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
814 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
816 (__pthread_mutex_init): ... here. Call it.
817 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
818 Conditionalize PI cases on [__NR_futex].
819 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
820 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
821 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
823 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
824 conditional on [SIGSETXID].
825 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
826 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
827 is defined. Likewise for SIGSETXID.
828 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
829 Conditionalize definitions on [SIGSETXID].
830 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
831 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
832 unblocking on [SIGCANCEL].
834 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
835 [__NR_set_robust_list].
837 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
839 * string/strcoll_l.c (get_next_seq): Fix up formatting.
840 (do_compare): Likewise.
842 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
845 * string/strcoll_l.c: Don't include stdio.h.
846 (coll_seq): Remove members idxarr and rulearr.
847 (get_next_seq_cached): Remove function.
848 (get_next_seq): Likewise.
849 (get_next_seq_nocache): Rename to get_next_seq.
850 (do_compare): Remove function.
851 (do_compare_nocache): Rename to do_compare.
852 (STRCOLL): Remove weight and rules cache.
854 2014-10-16 Roland McGrath <roland@hack.frob.com>
856 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
857 * sysdeps/arm/sfp-machine.h: ... to here.
858 * sysdeps/arm/Implies: Remove arm/soft-fp.
860 2014-10-14 Joseph Myers <joseph@codesourcery.com>
862 * conform/data/sys/utsname.h-data (*_t): Allow.
863 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
864 [POSIX] (WEXITED): Do not expect constant.
865 [POSIX] (WSTOPPED): Likewise.
866 [POSIX] (WNOHANG): Likewise.
867 [POSIX] (WNOWAIT): Likewise.
868 [POSIX] (siginfo_t): Do not expect type or elements.
869 [POSIX] (pid_t): Do not expect type.
870 [POSIX] (signal.h): Do not allow header.
871 [POSIX] (sys/resource.h): Likewise.
872 [POSIX] (si_*): Do not allow pattern.
873 [POSIX] (W*): Likewise.
874 [POSIX] (P_*): Likewise.
875 [POSIX] (BUS_*): Likewise.
876 [POSIX] (CLD_*): Likewise.
877 [POSIX] (FPE_*): Likewise.
878 [POSIX] (ILL_*): Likewise.
879 [POSIX] (POLL_*): Likewise.
880 [POSIX] (SEGV_*): Likewise.
881 [POSIX] (SI_*): Likewise.
882 [POSIX] (TRAP_*): Likewise.
883 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
886 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
889 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
890 infinite loop when __recvmsg returns 0.
892 2014-10-10 Joseph Myers <joseph@codesourcery.com>
894 * CANCEL-FCT-WAIVE: Remove file.
895 * CANCEL-FILE-WAIVE: Likewise.
898 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
899 instead of INTVARDEF.
900 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
901 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
902 rtld_hidden_data_def instead of INTVARDEF.
903 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
904 * elf/dl-deps.c (expand_dst): Likewise.
905 * elf/dl-load.c (_dl_dst_count): Likewise.
906 (_dl_dst_substitute): Likewise.
907 (decompose_rpath): Likewise.
908 (_dl_init_paths): Likewise.
909 (open_path): Likewise.
910 (_dl_map_object): Likewise.
911 * elf/rtld.c (dl_main): Likewise.
912 (process_dl_audit): Likewise.
913 (process_envvars): Likewise.
914 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
916 (__libc_enable_secure): Use rtld_hidden_proto.
918 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
921 (add_path): New function broken out of _dl_rtld_di_serinfo.
922 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
924 2014-10-09 Joseph Myers <joseph@codesourcery.com>
926 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
927 parentheses around macro arguments.
928 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
929 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
931 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
932 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
933 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
934 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
935 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
939 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
940 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
941 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
942 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
943 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
944 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
945 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
947 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
949 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
950 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
951 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
952 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
953 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
954 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
955 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
956 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
957 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
958 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
959 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
960 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
961 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
962 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
963 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
965 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
966 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
967 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
968 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
969 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
970 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
971 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
972 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
973 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
974 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
975 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
976 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
977 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
978 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
979 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
980 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
981 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
984 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
985 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
986 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
987 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
988 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
989 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
990 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
991 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
992 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
993 (_FP_FRAC_SRS_1): Likewise.
994 (_FP_FRAC_CLZ_1): Likewise.
995 (_FP_MUL_MEAT_1_imm): Likewise.
996 (_FP_MUL_MEAT_1_wide): Likewise.
997 (_FP_MUL_MEAT_1_hard): Likewise.
998 (_FP_SQRT_MEAT_1): Likewise.
999 (_FP_FRAC_ASSEMBLE_1): Likewise.
1000 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1001 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1002 (__FP_CLZ_2): Likewise.
1003 (_FP_MUL_MEAT_2_wide): Likewise.
1004 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1005 (_FP_MUL_MEAT_2_gmp): Likewise.
1006 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1007 (_FP_SQRT_MEAT_2): Likewise.
1008 (_FP_FRAC_ASSEMBLE_2): Likewise.
1009 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1010 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1011 (_FP_FRAC_CLZ_4): Likewise.
1012 (_FP_MUL_MEAT_4_wide): Likewise.
1013 (_FP_MUL_MEAT_4_gmp): Likewise.
1014 (_FP_SQRT_MEAT_4): Likewise.
1015 (_FP_FRAC_ASSEMBLE_4): Likewise.
1016 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1017 * soft-fp/op-common.h (_FP_CMP): Likewise.
1018 (_FP_CMP_EQ): Likewise.
1019 (_FP_CMP_UNORD): Likewise.
1020 (_FP_TO_INT): Likewise.
1021 (_FP_FROM_INT): Likewise.
1022 [!__FP_CLZ] (__FP_CLZ): Likewise.
1023 (_FP_DIV_HELP_imm): Likewise.
1024 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1026 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1028 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1030 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1031 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1032 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1035 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1036 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1037 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1038 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1039 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1040 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1041 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1042 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1044 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1046 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1050 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1054 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1055 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1056 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1057 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1058 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1059 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1060 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1061 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1062 (FP_UNPACK_RAW_SP): Likewise.
1063 (FP_PACK_RAW_S): Likewise.
1064 (FP_PACK_RAW_SP): Likewise.
1065 (FP_UNPACK_S): Likewise.
1066 (FP_UNPACK_SP): Likewise.
1067 (FP_UNPACK_SEMIRAW_S): Likewise.
1068 (FP_UNPACK_SEMIRAW_SP): Likewise.
1069 (FP_PACK_S): Likewise.
1070 (FP_PACK_SP): Likewise.
1071 (FP_PACK_SEMIRAW_S): Likewise.
1072 (FP_PACK_SEMIRAW_SP): Likewise.
1073 (_FP_SQRT_MEAT_S): Likewise.
1074 (FP_CMP_S): Likewise.
1075 (FP_CMP_EQ_S): Likewise.
1076 (FP_CMP_UNORD_S): Likewise.
1077 (FP_TO_INT_S): Likewise.
1078 (FP_FROM_INT_S): Likewise.
1080 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1082 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1083 (FP_EX_INVALID_IMZ): Likewise.
1084 (FP_EX_INVALID_IMZ_FMA): Likewise.
1085 (FP_EX_INVALID_ISI): Likewise.
1086 (FP_EX_INVALID_ZDZ): Likewise.
1087 (FP_EX_INVALID_IDI): Likewise.
1088 (FP_EX_INVALID_SQRT): Likewise.
1089 (FP_EX_INVALID_CVI): Likewise.
1090 (FP_EX_INVALID_VC): Likewise.
1091 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1092 "invalid" exceptions.
1093 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1094 (_FP_ADD_INTERNAL): Likewise.
1095 (_FP_MUL): Likewise.
1096 (_FP_FMA): Likewise.
1097 (_FP_DIV): Likewise.
1098 (_FP_CMP_CHECK_NAN): Likewise.
1099 (_FP_SQRT): Likewise.
1100 (_FP_TO_INT): Likewise.
1101 (FP_EXTEND): Likewise.
1103 2014-10-09 Allan McRae <allan@archlinux.org>
1105 * po/fr.po: Update French translation from translation project.
1107 2014-10-09 Joseph Myers <joseph@codesourcery.com>
1110 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1112 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1113 (__cxa_atexit): Use libc_hidden_proto.
1114 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1117 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1119 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1120 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1121 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1122 [!_ISOMAC] (__iswctype_internal): Likewise.
1123 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1124 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1126 (fcntl): Remove __fcntl_internal alias.
1127 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1128 __connect_internal alias.
1129 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1132 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1133 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1135 (_FP_CHECK_FLUSH_ZERO): New macro.
1136 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1137 (_FP_CMP): Likewise.
1138 (_FP_CMP_EQ): Likewise.
1139 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1141 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1142 (FP_TRUNC): Likewise.
1144 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1145 treated as invalid conversion, not as normal exponent.
1147 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1148 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1149 (_FP_CMP_EQ): Likewise.
1150 (_FP_CMP_UNORD): Likewise.
1151 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1152 (FP_CMP_EQ_D): Likewise.
1153 (FP_CMP_UNORD_D): Likewise.
1154 * soft-fp/extended.h (FP_CMP_E): Likewise.
1155 (FP_CMP_EQ_E): Likewise.
1156 (FP_CMP_UNORD_E): Likewise.
1157 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1158 (FP_CMP_EQ_Q): Likewise.
1159 (FP_CMP_UNORD_Q): Likewise.
1160 * soft-fp/single.h (FP_CMP_S): Likewise.
1161 (FP_CMP_EQ_S): Likewise.
1162 (FP_CMP_UNORD_S): Likewise.
1163 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1164 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1165 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1166 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1167 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1168 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1169 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1170 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1171 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1172 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1173 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1174 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1175 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1177 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1179 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1180 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1182 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1184 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1185 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1186 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1187 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1189 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1191 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1192 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1194 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1196 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1197 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1198 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1199 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1202 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1203 a subnormal result, set the underflow exception if trapping on
1204 underflow is enabled.
1205 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1206 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1207 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1209 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1210 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1211 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1212 * soft-fp/extendxftf2.c (__extendxftf2): Use
1213 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1215 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1216 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1217 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1218 FP_HANDLE_EXCEPTIONS.
1219 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1220 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1221 FP_HANDLE_EXCEPTIONS.
1222 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1223 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1224 FP_HANDLE_EXCEPTIONS.
1225 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1226 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1227 FP_HANDLE_EXCEPTIONS.
1229 2014-10-08 Joseph Myers <joseph@codesourcery.com>
1232 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1233 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1235 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1236 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1238 (__adjtimex): Define using libc_hidden_ver.
1239 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1241 (ntp_gettime): Call __adjtimex directly.
1242 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1244 (ntp_gettimex): Call __adjtimex directly.
1245 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1246 __adjtimex_internal alias.
1248 2014-10-08 Roland McGrath <roland@hack.frob.com>
1251 * nscd/nscd.c (more_help): Rewrite list of tables collection
1252 using xstrdup and asprintf.
1254 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1256 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1257 Roland McGrath <roland@hack.frob.com>
1259 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1260 (do_lookup_unique): ... local function 'enter' here; update callers.
1262 2014-10-06 Joseph Myers <joseph@codesourcery.com>
1264 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1265 compat_symbol calls on [SHARED].
1266 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1267 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1269 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1270 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1271 (oldsetrlimit): Remove.
1272 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1274 (lchown): New syscall entry.
1275 (oldsetrlimit): Remove.
1276 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1278 (oldsetrlimit): Remove.
1279 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1282 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1283 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1284 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1285 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1287 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1289 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
1294 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1296 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
1297 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
1298 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
1299 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
1300 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
1302 (__old_sem_post): Likewise.
1304 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1306 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
1307 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
1308 HAVE_CLOCK_GETTIME_VSYSCALL macros.
1309 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
1310 Use INLINE_VSYSCALL macro.
1311 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
1312 __vdso_clock_gettime.
1313 * sysdeps/unix/sysv/linux/tile/init-first.c
1314 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
1315 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
1316 __vdso_clock_gettime.
1318 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
1319 to set up frame more cleanly.
1321 * sysdeps/tile/memcmp.c: New file.
1323 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
1325 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
1326 * sysdeps/tile/tilegx/strcasestr.c: New file.
1327 * sysdeps/tile/tilegx/strnlen.c: New file.
1328 * sysdeps/tile/tilegx/strstr.c: New file.
1330 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
1332 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
1334 * nptl/tst-setuid3.c: Write errors to stdout.
1336 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1339 (preload): New functions broken out of _dl_map_object_deps.
1340 (_dl_map_object_deps): Remove a nested function. Update call sites.
1342 2014-10-01 Joseph Myers <joseph@codesourcery.com>
1345 * sysdeps/unix/sysv/linux/execve.c: Remove file.
1346 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
1348 2014-10-01 Steve Ellcey <sellcey@mips.com>
1350 * sysdeps/mips/strcmp.S: New.
1352 2014-09-30 Joseph Myers <joseph@codesourcery.com>
1355 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
1357 (mkdirat): Likewise.
1358 (readlinkat): Likewise.
1359 (renameat): Likewise.
1360 (symlinkat): Likewise.
1361 (unlinkat): Likewise.
1362 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
1363 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
1364 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
1365 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
1366 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
1367 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
1368 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
1370 2014-09-30 Will Newton <will.newton@linaro.org>
1372 * math/math.h: Define long double math functions if
1373 _LIBC_TEST is defined.
1374 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
1376 * localedata/Makefile: Move assignment to tests-special
1377 into an ifdef testing run-built-tests.
1378 * timezone/Makefile: Likewise.
1380 2014-09-29 Joseph Myers <joseph@codesourcery.com>
1382 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
1383 with $(BASH) not $(SHELL).
1385 2014-09-29 Carlos O'Donell <carlos@redhat.com>
1386 Matthew LeGendre <legendre1@llnl.gov>
1389 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
1392 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1394 * stdio-common/printf_fp.c
1395 (hack_digit): New function, broken out of ...
1396 (__printf_fp): ... local function here. Update call sites.
1397 hack_digit now takes an additional parameter that is a pointer
1398 to a struct of the referenced locals. Those locals moved inside
1399 the struct and references updated.
1401 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
1403 * aclocal.m4: Require autoconf 2.69.
1404 * configure: Regenerated.
1405 * sysdeps/aarch64/configure: Likewise.
1406 * sysdeps/alpha/configure: Likewise.
1407 * sysdeps/arm/armv7/configure: Likewise.
1408 * sysdeps/arm/configure: Likewise.
1409 * sysdeps/ia64/configure: Likewise.
1410 * sysdeps/mach/configure: Likewise.
1411 * sysdeps/mips/configure: Likewise.
1412 * sysdeps/s390/configure: Likewise.
1413 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
1416 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
1418 * sysdeps/ia64/configure.ac: Likewise.
1420 2014-09-26 Joseph Myers <joseph@codesourcery.com>
1422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
1423 specify symbol version for ld.so. Do not include entry for
1425 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1430 * Makeconfig [$(build-shared) = yes]
1431 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
1433 [$(build-shared) = yes && $(soversions.mk-done) = t]
1434 ($(common-objpfx)gnu/lib-names.h): Remove rule.
1435 [$(build-shared) = yes && $(soversions.mk-done) = t]
1436 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
1438 [$(build-shared) = yes && $(soversions.mk-done) = t]
1439 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
1441 [$(build-shared) = yes && $(soversions.mk-done) = t]
1442 (common-generated): Don't append gnu/lib-names.h and
1443 gnu/lib-names.stmp here.
1444 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
1445 (lib-names-h-abi): New variable.
1446 [$(build-shared) = yes && $(soversions.mk-done) = t]
1447 (lib-names-stmp-abi): Likewise.
1448 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1449 abi-variants] (before-compile): Append
1450 $(common-objpfx)$(lib-names-h-abi).
1451 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1452 abi-variants] (common-generated): Append gnu/lib-names.h.
1453 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1454 abi-variants] (install-others-nosubdir): Depend on
1455 $(inst_includedir)/$(lib-names-h-abi).
1456 [$(build-shared) = yes && $(soversions.mk-done) = t &&
1457 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
1458 [$(build-shared) = yes && $(soversions.mk-done) = t]
1459 ($(common-objpfx)$(lib-names-h-abi)): New rule.
1460 [$(build-shared) = yes && $(soversions.mk-done) = t]
1461 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
1462 [$(build-shared) = yes && $(soversions.mk-done) = t]
1463 (common-generated): Append $(lib-names-h-abi) and
1464 $(lib-names-stmp-abi).
1465 * scripts/lib-names.awk: Do not handle multi being set.
1466 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
1468 (abi-lp64_be-ld-soname): Likewise.
1469 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
1471 (abi-hard-ld-soname): Likewise.
1472 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
1473 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
1475 (abi-o32_hard-ld-soname): Likewise.
1476 (abi-o32_soft_2008-ld-soname): Likewise.
1477 (abi-o32_hard_2008-ld-soname): Likewise.
1478 (abi-n32_soft-ld-soname): Likewise.
1479 (abi-n32_hard-ld-soname): Likewise.
1480 (abi-n32_soft_2008-ld-soname): Likewise.
1481 (abi-n32_hard_2008-ld-soname): Likewise.
1482 (abi-n64_soft-ld-soname): Likewise.
1483 (abi-n64_hard-ld-soname): Likewise.
1484 (abi-n64_soft_2008-ld-soname): Likewise.
1485 (abi-n64_hard_2008-ld-soname): Likewise.
1486 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
1488 (abi-64-v2-ld-soname): Likewise.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
1491 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
1493 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
1495 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
1497 (abi-64-ld-soname): Likewise.
1498 (abi-x32-ld-soname): Likewise.
1499 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
1501 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1503 2014-09-23 Joseph Myers <joseph@codesourcery.com>
1506 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
1507 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
1508 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
1510 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
1511 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
1512 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
1513 syscall entry for GLIBC_2.2 symbol version.
1514 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
1516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1517 (setrlimit): Likewise.
1518 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
1521 2014-09-23 Will Newton <will.newton@linaro.org>
1523 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
1524 _LINUX_ARM_SYSDEP_H include guard too.
1525 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
1528 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1530 * sysdeps/unix/sysv/linux/eventfd.c:
1531 Make first argument unsigned.
1532 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
1533 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
1535 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
1537 * socket/recvmmsg.c (recvmmsg): Drop const argument.
1538 * socket/sys/socket.h: Likewise
1539 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
1541 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1543 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
1545 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
1547 * time/tst-ftime.c: New test.
1548 * time/Makefile (tests): Add tst-ftime.
1550 2014-09-17 Joseph Myers <joseph@codesourcery.com>
1552 * soft-fp/extended.h: Fix comment formatting.
1553 * soft-fp/op-1.h: Likewise.
1554 * soft-fp/op-2.h: Likewise.
1555 * soft-fp/op-4.h: Likewise.
1556 * soft-fp/op-8.h: Likewise.
1557 * soft-fp/op-common.h: Likewise.
1558 * soft-fp/soft-fp.h: Likewise.
1560 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
1562 2014-09-16 Joseph Myers <joseph@codesourcery.com>
1565 * Makeconfig (soversions-default-setname): Remove variable.
1566 ($(common-objpfx)soversions.i): Don't pass default_setname to
1568 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
1569 oldest_abi to abi-versions.awk.
1570 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
1571 * config.make.in (oldest-abi): Remove variable.
1572 * configure.ac (--enable-oldest-abi): Remove configure option.
1573 * configure: Regenerated.
1574 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
1576 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
1577 * scripts/soversions.awk: Do not handle default_setname variable.
1578 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
1580 * sysdeps/mach/hurd/configure: Regenerated.
1581 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
1583 * sysdeps/unix/sysv/linux/configure: Regenerated.
1585 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1587 * elf/Makefile (CFLAGS-interp.c): Remove.
1588 ($(elf-objpfx)runtime-linker.h): Generate header with linker
1590 * elf/interp.c: Include generated runtime-linker.h
1592 * Makerules (lib%.so): Don't include $(+interp) in
1594 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
1595 * dlfcn/eval.c: Remove file.
1597 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
1601 * misc/sys/cdefs.h: Define __extern_always_inline for clang
1605 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
1607 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1608 Jakub Jelinek <jakub@redhat.com>
1611 * libio/stdio.h: Check definition of __fortify_function
1612 instead of __extern_always_inline to include bits/stdio2.h.
1613 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
1614 check if __extern_always_inline is defined.
1615 [__USE_MISC || __USE_XOPEN]: Likewise.
1616 [__USE_ISOC99] Likewise.
1617 * misc/sys/cdefs.h (__fortify_function): Define only if
1618 __extern_always_inline is defined.
1619 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
1620 __extern_always_inline and __extern_inline only for g++-4.3
1621 and newer or a compatible gcc.
1623 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
1626 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1627 last change to handle zero prefix length.
1629 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1631 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
1634 * posix/getconf.c (vars): Add _POSIX_IPV6 and
1637 2014-09-13 Allan McRae <allan@archlinux.org>
1639 * po/ru.po: Update Russian translation from translation project.
1641 2014-09-12 Roland McGrath <roland@hack.frob.com>
1643 * locale/programs/locale.c (show_locale_vars): Inline local function
1644 into its sole call site. Clean up some style nits.
1645 (print_item): New function, broken out of ...
1646 (show_info): ... local function here. Clean up style nits.
1648 * locale/programs/ld-ctype.c (set_one_default): New function, broken
1650 (set_class_defaults): ... local function set_default here.
1651 Define set_default as a macro locally to pass constant parameters.
1652 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
1653 rather than a shared local.
1655 * stdlib/rpmatch.c (try): New function, broken out of ...
1656 (rpmatch): ... local function here. Also, prototypify definition.
1658 2014-09-12 Joseph Myers <joseph@codesourcery.com>
1660 * scripts/soversions.awk: Do not handle configuration names.
1661 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
1662 vendor and os variables to soversions.awk.
1663 * configure.ac: Do not modify gnu-* host_os.
1664 * configure: Regenerated
1665 * shlib-versions: Remove first column with configuration names.
1666 * nptl/shlib-versions: Likewise.
1667 * nptl_db/shlib-versions: Likewise.
1668 * sysdeps/hppa/shlib-versions: Likewise.
1669 * sysdeps/m68k/shlib-versions: Likewise.
1670 * sysdeps/mach/hurd/shlib-versions: Likewise.
1671 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
1672 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
1673 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
1674 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
1675 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
1676 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
1677 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
1678 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
1679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1681 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1682 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1683 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1684 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1685 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1686 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
1687 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
1690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1691 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
1694 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
1696 Condition symbol version definitions on [HAVE_ELFV2_ABI].
1698 * shlib-versions: Remove OS-specific entries. Moved to files in
1700 * sysdeps/mach/hurd/shlib-versions: New file.
1701 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
1703 * nptl/shlib-versions: Remove architecture-specific entries.
1704 Moved to files in sysdeps.
1705 * shlib-versions: Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
1708 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
1709 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
1711 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
1713 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
1714 (UDP_NO_CHECK6_RX): Likewise.
1716 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1718 * sysdeps/posix/sysconf.c (__sysconf): Spell
1719 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
1721 2014-08-12 Florian Weimer <fweimer@redhat.com>
1723 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
1725 * iconv/Versions (__gconv_transliterate): Export for use from
1727 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
1728 (struct __gconv_trans_data, __gconv_trans_fct,
1729 __gconv_trans_context_fct, __gconv_trans_query_fct,
1730 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
1732 (struct __gconv_step_data): Remove __trans member.
1733 (__gconv_transliterate): Declaration moved from gconv_int.h. No
1734 longer hidden. Remove unused trans_data argument.
1735 * iconv/gconv_int.h (struct trans_struct): Remove definition.
1736 (__gconv_translit_find): Remove declaration.
1737 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
1739 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
1740 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
1741 trans_data argument. Add hidden definition.
1742 (__gconv_translit_find): Remove.
1743 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
1744 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
1745 * iconv/skeleton.c: Remove transliteration initialization.
1746 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
1747 __gconv_step_data initialization.
1748 * libio/iofwide.c (__libio_translit_): Remove.
1749 (_IO_fwide): Adjust struct __gconv_step_data initialization.
1750 * wcsmbs/btowc.c (__btowc): Likewise.
1751 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1752 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1753 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
1754 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
1755 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
1756 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
1757 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
1758 * wcsmbs/wctob.c (wctob): Likewise.
1760 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
1764 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
1766 * sysdeps/x86/Makefile: Adjust.
1768 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1769 Roland McGrath <roland@hack.frob.com>
1771 * locale/weight.h: Add include guard.
1772 (findidx): Make static rather than auto; take new parameters
1773 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
1774 * locale/weightwc.h: Likewise.
1775 * posix/fnmatch_loop.c
1776 (FCT): Change type of EXTRA from int32_t to wint_t.
1777 Don't include either header inside the function.
1778 Call FINDIDX rather than findidx, and pass new arguments.
1779 #undef FINDIDX at the end of the file.
1780 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
1781 FINDIDX before including fnmatch_loop.c for the non-wide version.
1782 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
1783 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
1784 for the wide version.
1785 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
1786 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
1787 Pass new arguments to findidx.
1788 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
1789 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
1790 Don't #include it inside the function. Pass new arguments to findidx.
1791 * posix/regex_internal.h
1792 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
1793 (re_string_elem_size_at): Don't #include it inside the function.
1794 Pass new arguments to findidx.
1795 * string/strcoll_l.c: #include WEIGHT_H at top level.
1796 (get_next_seq): Don't #include it inside the function.
1797 Pass new arguments to findidx.
1798 (get_next_seq_nocache): Likewise.
1799 * string/strxfrm_l.c: #include WEIGHT_H at top level.
1800 (STRXFRM): Don't #include it inside the function.
1801 Pass new arguments to findidx.
1803 2014-09-11 Florian Weimer <fweimer@redhat.com>
1806 * malloc/malloc.c (unlink): Turn asserts into a call to
1809 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
1812 * libio/wfileops (do_ftell_wide): Free OUT.
1814 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
1816 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
1818 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1821 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
1822 group if the current group is empty.
1824 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1826 * benchtests/bench-memset.c (test_main): Add more test from size
1827 from 32 to 512 bytes.
1828 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1829 Add POWER8 memset object.
1830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1831 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
1832 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
1834 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
1836 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
1837 multiarch POWER8 memset optimization.
1838 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
1839 POWER8 memset optimization.
1841 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1842 Remove bzero multiarch objects.
1843 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
1844 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
1845 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
1846 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
1848 [__bzero]: Redefine to specific name.
1849 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
1850 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
1851 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
1853 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1854 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1856 2014-09-10 Florian Weimer <fweimer@redhat.com>
1858 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
1859 warnings into errors.
1861 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
1862 __cxa_thread_atexit_impl prototype.
1864 2014-09-09 Steve Ellcey <sellcey@mips.com>
1866 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
1867 Fix capitalization of error message.
1869 2014-09-09 Steve Ellcey <sellcey@mips.com>
1871 * sysdeps/mips/preconfigure: Modify ABI tests.
1873 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
1875 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
1877 2014-09-07 Roland McGrath <roland@hack.frob.com>
1878 Carlos O'Donell <carlos@systemhalted.org>
1880 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
1881 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
1882 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
1883 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
1884 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
1885 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
1886 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
1887 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
1888 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
1889 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
1890 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
1891 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
1892 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
1893 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
1894 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
1895 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
1896 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
1897 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
1898 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
1899 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
1900 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
1901 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
1902 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
1903 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
1904 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
1905 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
1906 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
1907 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
1908 Deconditionalize the code that was previously under [RESET_PID].
1909 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
1910 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
1911 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
1912 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
1915 2014-09-08 Allan McRae <allan@archlinux.org>
1917 * version.h (RELEASE): Set to "development".
1918 (VERSION): Set to "2.20.90"
1920 2014-09-07 Allan McRae <allan@archlinux.org
1922 * version.h (RELEASE): Set to "stable".
1923 (VERSION): Set to "2.20"
1924 * include/features.h (__GLIBC_MINOR__): Set to 20.
1926 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
1929 * po/ko.po: Update Korean translation from translation project.
1931 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
1934 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
1935 macro for handling signed relocations.
1937 2014-09-03 Florian Weimer <fweimer@redhat.com>
1940 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
1941 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
1943 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
1944 * iconvdata/ibm935.c (BODY): Likewise.
1945 * iconvdata/ibm937.c (BODY): Likewise.
1946 * iconvdata/ibm939.c (BODY): Likewise.
1947 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
1949 * iconvdata/Makefile (iconv-test.out): Pass module list to test
1951 * iconvdata/run-iconv-test.sh: New test loop for checking for
1954 2014-09-02 Khem Raj <raj.khem@gmail.com>
1956 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
1959 2014-09-01 Allan McRae <allan@archlinux.org>
1961 * po/eo.po: Update Esperanto translation from translation project.
1963 * po/ca.po: Update Catalan translation from translation project.
1965 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
1967 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
1970 2014-08-27 Mark Wielaard <mjw@redhat.com>
1973 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
1974 to call set_thread_area instead of hand written asm.
1975 (__NR_set_thread_area): Removed define.
1976 (TLS_FLAG_WRITABLE): Likewise.
1977 (__ASSUME_SET_THREAD_AREA): Remove check.
1978 (TLS_EBX_ARG): Remove define.
1979 (TLS_LOAD_EBX): Likewise.
1981 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
1983 Simplify atomicity of socket creation in bind.
1985 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
1986 looking up the name after linking the file.
1988 2014-08-27 Allan McRae <allan@archlinux.org>
1990 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1992 2014-08-26 Florian Weimer <fweimer@redhat.com>
1995 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
1996 trans_compare, open_translit, __gconv_translit_find):
1997 Remove module loading code.
1999 2014-08-26 Allan McRae <allan@archlinux.org>
2001 * po/vi.po: Update Vietnamese translation from translation project.
2003 * po/uk.po: Update Ukrainian translation from translation project.
2005 * po/fr.po: Update French translation from translation project.
2007 * po/ru.po: Update Russian translation from translation project.
2009 * po/pl.po: Update Polish translation from translation project.
2011 * po/cs.po: Update Czech translation from translation project.
2013 * po/de.po: Update German translation from translation project.
2015 * po/bg.po: Update Bulgarian translation from translation project.
2017 * po/sv.po: Update Sweedish translation from translation project.
2019 * po/nl.po: Update Dutch translation from translation project.
2021 * po/es.po: Update Spanish translation from translation project.
2023 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2025 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2027 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2028 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2029 (CPPFLAGS-iconvconfig): Likewise.
2030 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2032 * include/libc-symbols.h: Remove unnecessary check for
2034 * nptl/pthreadP.h: Likewise.
2035 * sysdeps/aarch64/setjmp.S: Likewise.
2036 * sysdeps/alpha/setjmp.S: Likewise.
2037 * sysdeps/arm/sysdep.h: Likewise.
2038 * sysdeps/i386/setjmp.S: Likewise.
2039 * sysdeps/m68k/setjmp.c: Likewise.
2040 * sysdeps/posix/getcwd.c: Likewise.
2041 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2043 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2044 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2045 * sysdeps/sh/sh3/setjmp.S: Likewise.
2046 * sysdeps/sh/sh4/setjmp.S: Likewise.
2047 * sysdeps/unix/alpha/sysdep.h: Likewise.
2048 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2049 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2050 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2051 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2056 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2059 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2061 * sysdeps/x86_64/setjmp.S: Likewise.
2063 2014-08-13 Joseph Myers <joseph@codesourcery.com>
2066 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2068 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2069 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2071 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2073 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2076 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2077 and __x86_64__ when disabling x87 inline functions.
2079 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2082 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2083 asm statement with __cpuid_count.
2085 2014-08-12 Mike Frysinger <vapier@gentoo.org>
2087 * configure.ac: Change __ehdr_start code to dereference the struct.
2088 Run readelf on the output to look for relocations.
2089 * configure: Regenerated.
2091 2014-08-12 Joseph Myers <joseph@codesourcery.com>
2094 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2096 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2098 2014-08-12 Roland McGrath <roland@hack.frob.com>
2100 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2102 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2105 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2106 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2108 2014-08-12 Sean Anderson <seanga2@gmail.com>
2110 * malloc/malloc.c: Fix typo in comment.
2112 2014-08-09 Allan McRae <allan@archlinux.org>
2114 * Regenerate libc.po.
2116 2014-08-08 Mike Frysinger <vapier@gentoo.org>
2118 * intl/tst-gettext2.sh: Check every lang file for creation.
2120 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2122 * sysdeps/aarch64/fpu/math_private.h
2123 (libc_feholdsetround_noex_aarch64_ctx): New function.
2125 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2127 * sysdeps/arm/armv6/strcpy.S (strcpy):
2128 Fix performance issue in misaligned cases.
2130 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2132 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2133 Move definition from termios.h.
2134 (struct termio): Likewise.
2135 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2136 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2137 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2138 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2141 Move definition to ioctl-types.h
2142 (struct termio): Likewise.
2143 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2144 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2145 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2146 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2149 2014-08-05 Richard Henderson <rth@redhat.com>
2151 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2153 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2155 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2156 Use __feraiseexcept.
2157 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2158 Protect libm symbols with IS_IN_libm.
2160 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2162 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2164 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2166 2014-08-04 Will Newton <will.newton@linaro.org>
2168 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2171 2014-08-04 Mike Frysinger <vapier@gentoo.org>
2173 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2174 variants for each function.
2176 2014-08-04 Roland McGrath <roland@hack.frob.com>
2178 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2180 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2181 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2183 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2184 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2185 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2186 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2187 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2188 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2189 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2190 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2191 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2192 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2193 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2197 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2198 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2199 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2200 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2201 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2203 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2205 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2207 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2208 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2209 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2210 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2213 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2214 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2215 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2216 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2217 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2218 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2219 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2220 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2221 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2222 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2223 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2225 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2226 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2227 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2228 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2229 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2231 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2232 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2233 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2234 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2235 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2237 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2238 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2240 2014-08-04 Roland McGrath <roland@hack.frob.com>
2242 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2243 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2244 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2245 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2246 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2247 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2249 2014-08-04 Roland McGrath <roland@hack.frob.com>
2251 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2252 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2253 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2254 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2256 2014-08-04 Roland McGrath <roland@hack.frob.com>
2258 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2259 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2260 (__libc_vfork): Define function under this name.
2261 (__vfork): Define as an alias.
2262 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2263 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2265 2014-08-04 Roland McGrath <roland@hack.frob.com>
2267 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2268 that was previously under [RESET_PID].
2269 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2271 2014-08-04 Andreas Schwab <schwab@suse.de>
2273 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2275 2014-08-03 Mike Frysinger <vapier@gentoo.org>
2277 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2280 2014-08-01 Roland McGrath <roland@hack.frob.com>
2282 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2284 2014-08-01 Richard Henderon <rth@redhat.com>
2286 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2287 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2288 typo in exact zero test.
2289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2290 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2293 2014-08-01 Roland McGrath <roland@hack.frob.com>
2295 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
2296 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
2297 * sysdeps/arm/sysdep.h: ... here.
2298 [!__ASSEMBLER__]: Include <stdint.h>.
2300 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2302 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
2303 (HAVE_WCTYPE_H): Likewise.
2304 (HAVE_ISWCTYPE): Likewise.
2305 (ENABLE_NLS): Likewise.
2306 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
2307 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
2309 * posix/regex_internal.c: Check if DEBUG is defined and is
2312 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
2313 (HAVE_MBSRTOWCS): Likewise.
2314 * posix/fnmatch.c: Include string.h unconditionally.
2316 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
2318 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
2321 2014-07-31 Roland McGrath <roland@hack.frob.com>
2323 * sysdeps/generic/safe-fatal.h: New file.
2324 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
2325 * nptl/forward.c: Include it.
2326 (__pthread_unwind): Use __safe_fatal as default action, rather
2327 than a bogus use of INTERNAL_SYSCALL that could never work.
2329 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
2330 * configure.ac (libc_cv_builtin_trap): New test.
2331 * configure: Regenerated.
2332 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
2333 (ABORT_INSTRUCTION): Define using __builtin_trap.
2335 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
2336 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
2337 * sysdeps/nptl/nptl-signals.h: New file.
2338 * nptl/pthreadP.h: Include <nptl-signals.h>.
2340 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2342 * sysdeps/s390/s390-64/utf16-utf32-z9.c
2343 (ONE_DIRECTION): Define.
2344 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2345 (ONE_DIRECTION): Define.
2346 * sysdeps/s390/s390-64/utf8-utf32-z9.c
2347 (ONE_DIRECTION): Define.
2349 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
2351 * sysdeps/s390/Makefile: Delete file.
2352 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
2353 * sysdeps/s390/__longjmp.c: Delete file.
2354 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
2355 Remove fields __flags and __reserved.
2356 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
2358 * sysdeps/s390/rtld-__longjmp.c: Delete file.
2359 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
2360 * sysdeps/s390/rtld-setjmp.S: Likewise.
2361 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
2362 * sysdeps/s390/s390-32/__longjmp.c: ... here.
2363 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
2364 * sysdeps/s390/s390-32/setjmp.S: ... here.
2366 (__sigsetjmp): Remove setting __flags field.
2367 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
2368 * sysdeps/s390/s390-64/__longjmp.c: ... here.
2369 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
2370 * sysdeps/s390/s390-64/setjmp.S: ... here.
2372 (__sigsetjmp): Remove setting __flags field.
2373 * sysdeps/s390/setjmp.S: Delete file.
2374 * sysdeps/s390/sigjmp.c: Likewise.
2375 * sysdeps/s390/v1-longjmp.c: Likewise.
2376 * sysdeps/s390/v1-setjmp.h: Likewise.
2377 * sysdeps/s390/v1-sigjmp.c: Likewise.
2378 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
2379 Remove v1-longjmp_chk.
2380 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
2381 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
2382 Include debug/longjmp_chk.c and add versioning.
2383 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
2384 Include nptl/pt-longjmp.c and add versioning.
2385 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
2387 Include __longjmp.c.
2388 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2390 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
2391 (__getcontext): Remove setting __flags field.
2393 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2394 Don't restore upper high grps.
2395 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
2397 (__swapcontext): Remove setting uc_flags field.
2398 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
2400 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2401 Include __longjmp.c.
2402 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2404 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
2405 (__getcontext): Remove setting __flags field.
2407 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
2408 (__swapcontext): Remove setting uc_flags field.
2409 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
2410 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
2411 Remove fields uc_high_gprs and __reserved.
2412 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
2413 New file with reverted content.
2414 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
2415 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
2417 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
2420 2014-07-31 Andreas Schwab <schwab@suse.de>
2422 * config.h.in (HAVE_IFUNC): Define to 0.
2423 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
2426 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
2428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2429 memmove-avx-unaligned, memcpy-avx-unaligned and
2430 mempcpy-avx-unaligned.
2431 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2432 Add tests for AVX memcpy functions.
2433 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
2434 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
2436 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
2437 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
2439 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
2440 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
2442 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
2443 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
2444 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
2446 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
2452 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
2455 * manual/llio.texi: Add section about open file description locks.
2456 * manual/examples/ofdlocks.c: Example of open file description
2458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
2459 F_OFD_SETLK, and F_OFD_SETLKW.
2461 2014-07-23 Allan McRae <allan@archlinux.org>
2463 * po/es.po: Update Spanish translation from translation project.
2465 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
2467 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
2469 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
2472 * sysdeps/arm/dl-machine.h (elf_machine_rela)
2473 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
2474 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
2476 2014-07-17 Joseph Myers <joseph@codesourcery.com>
2479 * math/fesetenv.c (__fesetenv)
2480 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
2481 * math/feupdateenv.c (__feupdateenv)
2482 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
2484 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
2485 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2486 (__ASSUME_SOCKETCALL): Do not define.
2488 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
2489 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
2490 (__ASSUME_SOCKETCALL): Do not define.
2491 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
2492 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2493 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2494 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
2495 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2496 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
2497 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2498 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2500 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
2501 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
2502 (__ASSUME_SOCKETCALL): Do not define.
2503 (__ASSUME_IPC64): Define unconditionally.
2504 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2505 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2506 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
2507 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2508 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
2509 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2510 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
2513 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
2514 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
2515 (__ASSUME_SOCKETCALL): Do not define.
2516 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
2517 (__ASSUME_FUTEX_LOCK_PI): Likewise.
2518 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2519 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2520 (__ASSUME_REQUEUE_PI): Define unconditionally.
2521 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
2522 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2523 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2524 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
2525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2526 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2528 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
2529 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
2530 (__ASSUME_SOCKETCALL): Do not define.
2531 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
2532 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2533 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2534 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
2535 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2536 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2538 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
2539 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
2540 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2541 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
2542 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2543 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
2544 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2545 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
2546 (__ASSUME_GETCPU_SYSCALL): Likewise.
2548 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
2549 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
2550 cases for individual architectures.
2551 * sysdeps/gnu/configure: Regenerated.
2552 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
2553 LIBC_SLIBDIR_RTLDDIR.
2554 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
2555 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
2556 LIBC_SLIBDIR_RTLDDIR.
2557 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
2559 LIBC_SLIBDIR_RTLDDIR.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2562 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
2563 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
2565 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
2566 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
2568 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
2569 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
2570 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
2571 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
2573 * sysdeps/aarch64/shlib-versions: Move to ...
2574 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
2575 * sysdeps/alpha/shlib-versions: Move to ...
2576 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
2577 * sysdeps/arm/shlib-versions: Move to ...
2578 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
2579 * sysdeps/hppa/shlib-versions: Move all contents except for
2580 libgcc_s entry to ...
2581 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
2583 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
2584 * sysdeps/ia64/shlib-versions: Move to ...
2585 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
2587 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
2588 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
2589 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
2590 * sysdeps/microblaze/shlib-versions: Move to ...
2591 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
2592 * sysdeps/mips/shlib-versions: Move to ...
2593 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
2595 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
2596 * sysdeps/tile/shlib-versions: Move to ...
2597 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
2598 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
2600 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
2601 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
2603 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
2605 2014-07-17 Will Newton <will.newton@linaro.org>
2607 * sysdeps/arm/bits/atomic.h
2608 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
2609 (__arch_compare_and_exchange_bool_16_int): Likewise.
2610 (__arch_compare_and_exchange_bool_64_int): Likewise.
2612 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
2613 into an #else block.
2615 2014-07-16 Roland McGrath <roland@hack.frob.com>
2617 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
2618 just Linux configurations. Test empirically that the compiler sets
2619 __ARM_EABI__, rather than using the tuple to decide.
2620 * sysdeps/arm/preconfigure: Regenerated.
2621 * sysdeps/unix/sysv/linux/arm/configure: File removed.
2622 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
2623 contents appended ...
2624 * sysdeps/arm/configure.ac: ... here.
2625 * sysdeps/arm/configure: Regenerated.
2627 2014-07-15 Roland McGrath <roland@hack.frob.com>
2629 * nptl/pthread_kill.c: New file.
2630 * nptl/pthread_sigmask.c: New file.
2631 * nptl/pthread_sigqueue.c: New file.
2633 * sysdeps/nptl/lowlevellock.h: New file.
2634 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
2635 * sysdeps/nptl/lowlevellock-futex.h: New file.
2637 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
2638 Remove dead declarations.
2640 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
2642 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
2643 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
2645 * sysdeps/x86_64/configure.ac: Likewise.
2646 * sysdeps/i386/configure: Regenerated.
2647 * sysdeps/x86_64/configure: Likewise.
2648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2649 memset-avx2 only if config-cflags-avx2 is yes.
2650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2651 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
2653 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
2654 only if HAVE_AVX2_SUPPORT is defined.
2655 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2657 2014-07-14 Alan Modra <amodra@gmail.com>
2660 * elf/elf.h (DT_PPC64_NUM): Correct value.
2661 * NEWS: Add to fixed bug list.
2663 2014-07-13 Jim Meyering <meyering@fb.com>
2666 regex: don't deref NULL upon heap allocation failure
2667 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
2668 failure in one more place.
2669 To trigger the segfault, configure grep -with-included-regex,
2670 build it, and run these commands:
2671 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
2673 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
2675 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2677 2014-07-11 Richard Henderson <rth@redhat.com>
2679 * sysdeps/aarch64/libm-test-ulps: Update.
2681 2014-07-10 Florian Weimer <fweimer@redhat.com>
2684 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
2685 * nptl/allocatestack.c (__nptl_setxid_error): New function.
2686 (__nptl_setxid): Initialize error member. Call
2687 __nptl_setxid_error.
2688 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
2689 * nptl/descr.h (struct xid_command): Add error member.
2690 * nptl/tst-setuid3.c: New file.
2691 * nptl/Makefile (tests): Add it.
2693 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2695 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
2697 (__lll_trylock): Use __lll_base_trylock.
2698 (__lll_cond_trylock): Likewise.
2700 2014-07-10 Roland McGrath <roland@hack.frob.com>
2702 * nptl/pthread_create.c (start_thread): Use atomic_or and
2703 lll_futex_wake directly rather than lll_robust_dead.
2704 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2705 (lll_robust_dead): Macro removed.
2706 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
2707 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2708 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2709 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2710 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2711 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2712 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2713 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2714 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2715 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2716 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2717 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2718 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2720 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2722 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2723 Use atomic_compare_and_exchange_val_acq directly rather than
2725 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
2726 (__lll_robust_trylock, lll_robust_trylock): Removed.
2727 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
2728 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
2729 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2730 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2731 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
2732 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
2733 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2734 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
2735 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2736 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2737 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2739 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2740 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2742 2014-07-02 Florian Weimer <fweimer@redhat.com>
2744 * manual/locale.texi (Locale Names): New section documenting
2745 locale name syntax. Adjust menu and node chaining accordingly.
2746 (Choosing Locale): Reference Locale Names, Locale Categories.
2747 Mention setting LC_ALL=C. Reflect that name syntax is now
2749 (Locale Categories): New section title. Reference Locale Names.
2750 LC_ALL is an environment variable, but not a category.
2751 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
2752 description, now in Locale Name. Reference that section. Locale
2753 name syntax is now documented.
2755 2014-07-02 Florian Weimer <fweimer@redhat.com>
2758 * locale/findlocale.c (name_present, valid_locale_name): New
2760 (_nl_find_locale): Use the loc_name variable to store name
2761 candidates. Call name_present and valid_locale_name to check and
2762 validate locale names. Return an error if the locale is invalid.
2764 2014-07-02 Florian Weimer <fweimer@redhat.com>
2766 * locale/setlocale.c (setlocale): Use strdup for allocating
2767 composite name copy.
2769 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2771 Sync up with gnulib.
2772 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
2773 [!_LIBC && ENABLE_NLS]: Include gettext.h.
2774 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
2775 and _GL_ARG_NONNULL.
2776 [USE_UNLOCKED_IO]: Include unlocked-io.h.
2777 [!_LIBC]: Include code for Windows and Cygwin.
2778 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
2779 Include prototype for int strerror_r.
2780 [!_LIBC] (is_open): New function.
2781 (flush_stdout): New function.
2782 (print_errno_message): Use it.
2784 (error_at_line): Likewise.
2785 (error_tail) Add function attribute macros. Use
2788 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
2790 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
2792 * io/ftw.c: Include sys/param.h unconditionally.
2794 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
2797 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
2799 (freecache): New function to free CACHE on exit.
2801 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
2804 2014-07-09 David S. Miller <davem@davemloft.net>
2806 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2808 * sysdeps/sparc/nptl/internaltypes.h: Delete.
2809 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
2810 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
2811 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
2812 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
2813 * sysdeps/sparc/nptl/sem_init.c: Likewise.
2814 * sysdeps/sparc/nptl/sem_post.c: Likewise.
2815 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
2816 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
2817 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
2818 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
2819 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
2820 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
2822 2014-07-09 Andreas Schwab <schwab@suse.de>
2824 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
2826 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
2827 (do_test): Likewise.
2829 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2831 2014-07-09 Will Newton <will.newton@linaro.org>
2833 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
2834 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
2835 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
2836 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
2837 * sysdeps/hppa/start.S (_start): Likewise.
2839 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2841 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
2843 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
2846 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2848 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
2849 after checking that it is non-NULL.
2851 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
2853 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2855 * sysdeps/powerpc/memmove.c: Remove file.
2856 * sysdeps/powerpc/powerpc32/power4/memcopy.h
2857 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
2858 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2859 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
2860 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
2861 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
2862 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
2863 string memmove instead of removed powerpc one.
2865 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2866 [weak_alias]: Fix compiler warning due trailing data.
2867 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
2868 [weak_alias]: Likewise.
2869 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
2870 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
2872 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2873 (__libc_ifunc_impl_list): Add memmove functions.
2875 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2877 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
2879 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
2881 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
2883 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
2885 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
2887 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
2889 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
2891 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
2893 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
2895 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
2897 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
2899 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
2901 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
2903 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
2905 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
2907 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
2909 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
2912 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2914 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
2915 to avoid alignment traps in non-cacheable memory.
2916 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
2920 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
2921 file: multiarch power7 memmove.
2922 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
2923 multiarch default memmove.
2924 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
2925 multiarch memove for powerpc32/power4.
2927 * string/bcopy.c: Use full path to include memmove.c.
2928 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
2930 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
2931 bcopy for powerpc64.
2932 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
2933 bcopy for powerpc64.
2934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
2935 and memmove implementations.
2936 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
2937 optimized multiarch memmove for POWER7/powerpc64.
2938 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
2939 default multiarch memmove for powerpc64.
2940 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
2941 multiarch for powerpc64.
2942 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
2943 for POWER7/powerpc64.
2944 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
2945 memmove for POWER7/powerpc64.
2947 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
2950 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
2951 __ELF_NATIVE_CLASS equal to 64.
2953 2014-07-07 Roland McGrath <roland@hack.frob.com>
2955 * sysdeps/nptl/lowlevellock.h: File removed.
2957 * NEWS: NPTL is no longer an add-on!
2958 * nptl/internaltypes.h: Moved ...
2959 * sysdeps/nptl/internaltypes.h: ... here.
2960 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
2961 * sysdeps/nptl/fork.c: Likewise.
2962 * sysdeps/nptl/gai_misc.h: Likewise.
2963 * sysdeps/nptl/librt-cancellation.c: Likewise.
2964 * sysdeps/nptl/jmp-unwind.c: Likewise.
2965 * sysdeps/nptl/setxid.h: Likewise.
2966 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
2967 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
2968 * sysdeps/unix/sysv/linux/arm/Implies: New file.
2969 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
2970 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
2971 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
2972 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
2973 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
2974 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
2975 * sysdeps/unix/sysv/linux/mips/Implies: New file.
2976 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
2977 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
2978 * sysdeps/unix/sysv/linux/sh/Implies: New file.
2979 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
2980 * sysdeps/unix/sysv/linux/tile/Implies: New file.
2981 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
2982 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
2983 * nptl/Makeconfig: Moved ...
2984 * sysdeps/nptl/Makeconfig: ... here.
2985 * nptl/configure: File removed.
2986 * nptl/ANNOUNCE: File removed.
2987 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
2988 * sysdeps/unix/sysv/linux/configure: Regenerated.
2990 * nptl/Makefile (routines): Add libc_pthread_init,
2991 libc_multiple_threads, register-atfork and unregister-atfork.
2992 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
2993 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
2994 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
2995 pthread-pi-defines.sym, structsem.sym.
2996 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
2997 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
2998 [$(subdir) = nptl] (tests): Add tst-setgetname.
2999 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3000 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3001 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3002 [!LIBC_SIGACTION]: Remove aliases.
3003 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3004 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3005 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3006 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3007 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3008 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3009 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3011 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3012 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3013 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3014 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3015 __libc_allocate_rtsig_private.
3016 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3017 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3018 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3019 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3020 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3021 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3022 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3023 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3024 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3025 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3026 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3027 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3028 * nptl/internaltypes.h: ... here.
3029 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3030 * sysdeps/nptl/jmp-unwind.c: ... here.
3031 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3032 * nptl/libc-lowlevellock.c: ... here.
3033 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3034 * nptl/libc_multiple_threads.c: ... here.
3035 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3036 * nptl/libc_pthread_init.c: ... here.
3037 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3038 * nptl/lowlevelbarrier.sym: ... here.
3039 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3040 * nptl/lowlevelcond.sym: ... here.
3041 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3042 * nptl/lowlevellock.c: ... here.
3043 * nptl/lowlevellock.h: Moved ...
3044 * sysdeps/nptl/lowlevellock.h: ... here.
3045 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3046 * nptl/lowlevelrobustlock.c: ... here.
3047 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3048 * nptl/lowlevelrobustlock.sym: ... here.
3049 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3050 * nptl/lowlevelrwlock.sym: ... here.
3051 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3052 * nptl/pt-fork.c: ... here.
3053 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3054 * nptl/pthread-pi-defines.sym: ... here.
3055 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3056 * nptl/pthread_attr_getaffinity.c: ... here.
3057 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3058 * nptl/pthread_attr_setaffinity.c: ... here.
3059 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3060 * nptl/pthread_mutex_cond_lock.c: ... here.
3061 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3063 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3064 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3065 * nptl/pthread_once.c: ... here, replacing old file.
3066 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3067 * nptl/pthread_yield.c: ... here.
3068 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3069 * nptl/register-atfork.c: ... here.
3070 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3071 * nptl/sem_post.c: ... here.
3072 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3073 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3074 * nptl/sem_timedwait.c: ... here.
3075 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3076 * nptl/sem_trywait.c: ... here.
3077 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3078 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3079 * nptl/sem_wait.c: ... here.
3080 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3081 * nptl/structsem.sym: ... here.
3082 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3083 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3084 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3085 * nptl/unregister-atfork.c: ... here.
3086 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3087 * nptl/unwindbuf.sym: ... here.
3088 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3089 * sysdeps/nptl/fork.c: ... here.
3090 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3091 * sysdeps/nptl/fork.h: ... here.
3092 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3093 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3094 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3095 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3096 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3097 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3098 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3099 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3100 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3101 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3102 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3103 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3104 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3105 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3106 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3107 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3108 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3109 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3110 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3111 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3112 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3113 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3114 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3115 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3116 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3117 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3118 * sysdeps/unix/sysv/linux/raise.c: ... here.
3119 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3120 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3121 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3122 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3123 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3124 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3125 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3126 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3127 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3128 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3129 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3130 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3131 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3132 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3133 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3135 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3137 * sysdeps/generic/memcopy.h: Add comment for
3138 MEMCPY_OK_FOR_FWD_MEMMOVE.
3140 2014-07-04 Will Newton <will.newton@linaro.org>
3142 * string/memchr.c: Merge from gnulib.
3143 [_LIBC]: Remove conditionals.
3144 (__ptr_t): Remove define.
3145 (LONG_MAX_32_BITS): Likewise.
3146 (LONG_MAX): Likewise.
3147 (MEMCHR): Use ANSI prototype and optimize algorithm.
3149 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3151 2014-07-03 Roland McGrath <roland@hack.frob.com>
3153 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3154 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3156 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3157 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3158 in a bare environment with no <stdlib.h> installed.
3159 * sysdeps/nptl/configure: Regenerated.
3161 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3163 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3164 AC_EGREP_CPP for kernel header checks, so they only succeed if
3165 including <linux/version.h> actually works right.
3166 * sysdeps/unix/sysv/linux/configure: Regenerated.
3168 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3169 value so it's not diagnosed as unused.
3171 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3172 thing) with "ifeq ($(subdir),rt)".
3174 2014-07-03 Richard Henderson <rth@redhat.com>
3176 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3177 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3178 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3180 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3181 (math_force_eval): New.
3183 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3184 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3186 * sysdeps/alpha/fpu/s_round.c: Remove file.
3187 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3189 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3190 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3191 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3192 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3193 (_dl_start, print_statistics): Likewise.
3194 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3195 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3197 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3198 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3199 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3200 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3201 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3202 (HP_SMALL_TIMING_AVAIL): Define.
3203 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3204 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3205 (HP_SMALL_TIMING_AVAIL): Define.
3206 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3207 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3209 * sysdeps/aarch64/hp-timing.h: New file.
3211 * sysdeps/generic/hp-timing.h: Remove dead comment.
3212 * sysdeps/generic/hp-timing-common.h: New file.
3213 * sysdeps/alpha/hp-timing.h: Include it.
3214 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3215 * sysdeps/i386/i686/hp-timing.h: Likewise.
3216 * sysdeps/ia64/hp-timing.h: Likewise.
3217 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3218 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3219 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3220 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3221 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3222 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3225 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3226 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3227 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3228 * elf/rtld.c (_dl_start_final): Likewise.
3229 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3230 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3231 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3232 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3233 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3234 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3235 (HP_TIMING_DIFF_INIT): Remove.
3236 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3237 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3238 (HP_TIMING_DIFF_INIT): Remove.
3239 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3240 * sysdeps/i386/i686/hp-timing.c: Remove file.
3241 * sysdeps/x86_64/hp-timing.c: Remove file.
3242 * sysdeps/ia64/hp-timing.c: Remove file.
3243 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3244 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3246 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3248 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3249 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3250 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3251 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3252 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3253 (HP_TIMING_ACCUM): Remove.
3254 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3255 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3256 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3258 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3259 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3260 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3261 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3263 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3265 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3267 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3269 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3271 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3273 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 Sync up with gettext.
3276 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3277 [_MSC_VER]: Include malloc.h
3278 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3279 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3280 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3281 TEMP_FAILURE_RETRY. Cast return of alloca.
3282 [!_LIBC] Call gl_rwlock_init.
3283 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3285 2014-07-02 Roland McGrath <roland@hack.frob.com>
3287 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3288 before checking its value.
3290 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3292 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
3294 * debug/memcpy_chk.c: Don't include pagecopy.h.
3295 * debug/mempcpy_chk.c: Likewise.
3296 * string/memcpy.c: Likewise.
3297 * string/memmove.c: Likewise.
3298 * sysdeps/powerpc/memmove.c: Likewise.
3299 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
3300 definition of PAGE_COPY_FWD_MAYBE here...
3301 * sysdeps/generic/pagecopy.h: ... from here.
3302 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
3304 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3305 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
3308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
3310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3311 (__libc_ifunc_impl_list): Likewise.
3312 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
3313 multiarch strcat for PPC64.
3314 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
3315 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
3317 2014-07-02 Roland McGrath <roland@hack.frob.com>
3319 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
3321 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3323 * intl/loadmsgcat.c: Remove declaration of
3324 get_sysdep_segment_value.
3325 (get_sysdep_segment_value): Use ISO C style.
3326 (_nl_load_domain): Use ISO C style. Get rid of redundant
3327 semicolon. Fix typo and formatting in comment.
3328 (_nl_unload_domain): Use ISO C style.
3330 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
3332 2014-07-02 Will Newton <will.newton@linaro.org>
3334 * malloc/obstack.c: Merge from gnulib master.
3335 [HAVE_CONFIG_H]: Remove conditional code.
3336 [!_LIBC]: Include config.h.
3337 [!ELIDE_CODE]: Don't include inttypes.h, include
3338 stdint.h unconditionally.
3339 (print_and_abort): Mark as _Noreturn.
3340 (_obstack_allocated_p): Mark as __attribute_pure__.
3341 (obstack_free): Rename to __obstack_free.
3342 [!__attribute__]: Remove conditional code.
3343 * malloc/obstack.h: Merge from gnulib master.
3344 [__cplusplus]: Move conditional down.
3345 [!__attribute_pure__]: Define __attribute_pure__ here
3346 if it is not already defined.
3347 (_obstack_memory_used): Mark as __attribute_pure__.
3348 [!__obstack_free]: Define as obstack_free.
3349 [__GNUC__]: Remove check for ancient NeXT gcc.
3351 2014-07-02 Will Newton <will.newton@linaro.org>
3352 Paul Eggert <eggert@cs.ucla.edu>
3354 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
3356 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3358 * resolv/gethnamaddr.c: Add comment warning that the file is
3361 2014-07-01 Carlos O'Donell <carlos@redhat.com>
3363 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
3366 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
3367 entry for aio_cancel and aio_cancel64.
3368 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
3369 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
3370 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
3371 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
3372 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
3373 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
3374 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
3375 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
3376 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
3377 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
3378 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
3379 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
3380 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
3382 2014-07-01 Roland McGrath <roland@hack.frob.com>
3384 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
3385 * nptl/pthread_mutex_lock.c: Likewise.
3386 * nptl/pthread_mutex_timedlock.c: Likewise.
3387 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
3389 2014-07-01 Richard henderson <rth@redhat.com>
3391 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
3392 (__isnan, __isnanl): Remove.
3393 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
3395 * sysdeps/alpha/fpu/libm-test-ulps: Update.
3397 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3399 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3401 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3403 * resolv/nss_dns/dns-host.c (getanswer_r)
3404 [MULTI_PTRS_ARE_ALIASES]: Remove code.
3406 2014-07-01 Joseph Myers <joseph@codesourcery.com>
3408 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3409 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
3411 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
3412 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
3414 2014-07-01 Roland McGrath <roland@hack.frob.com>
3416 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
3417 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
3419 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
3420 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
3422 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
3423 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
3425 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
3426 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
3428 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
3429 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
3430 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
3431 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
3433 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
3434 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
3435 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
3436 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
3437 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
3439 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
3441 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
3442 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
3443 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
3444 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
3445 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
3446 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
3447 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
3448 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
3449 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
3450 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
3451 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
3452 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
3453 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
3454 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
3455 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
3456 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
3457 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
3458 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
3459 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
3460 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
3462 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
3463 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
3464 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
3465 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
3466 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
3467 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
3468 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
3469 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
3471 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
3473 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
3474 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
3475 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
3478 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3482 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3484 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3485 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3487 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3489 * sysdeps/arm/libm-test-ulps: Regenerated.
3491 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3492 Roland McGrath <roland@hack.frob.com>
3494 * test-skeleton.c (signal_handler): Kill the whole process group
3495 before killing the child individually.
3496 (main): Report any failure on `setpgid'.
3498 2014-06-30 Roland McGrath <roland@hack.frob.com>
3500 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
3501 from _TLS_H to _ARM_NPTL_TLS_H.
3502 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
3503 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
3505 2014-06-30 Joseph Myers <joseph@codesourcery.com>
3508 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
3509 (__expm1l): Return argument unchanged when small but not
3512 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
3514 (_FP_UNPACK_RAW_1_P): Likewise.
3515 (_FP_PACK_RAW_1): Likewise.
3516 (_FP_PACK_RAW_1_P): Likewise.
3517 (_FP_MUL_MEAT_1_wide): Likewise.
3518 (_FP_MUL_MEAT_DW_1_hard): Likewise.
3519 (_FP_MUL_MEAT_1_hard): Likewise.
3520 (_FP_DIV_MEAT_1_imm): Likewise.
3521 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
3522 (_FP_DIV_MEAT_1_udiv): Likewise.
3523 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
3524 (_FP_UNPACK_RAW_2): Likewise.
3525 (_FP_UNPACK_RAW_2_P): Likewise.
3526 (_FP_PACK_RAW_2): Likewise.
3527 (_FP_PACK_RAW_2_P): Likewise.
3528 (_FP_MUL_MEAT_DW_2_wide): Likewise.
3529 (_FP_MUL_MEAT_2_wide): Likewise.
3530 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
3531 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3532 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
3533 (_FP_MUL_MEAT_2_gmp): Likewise.
3534 (_FP_DIV_MEAT_2_udiv): Likewise.
3535 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
3536 (_FP_FRAC_SRL_4): Likewise.
3537 (_FP_FRAC_SRST_4): Likewise.
3538 (_FP_FRAC_SRS_4): Likewise.
3539 (_FP_UNPACK_RAW_4): Likewise.
3540 (_FP_UNPACK_RAW_4_P): Likewise.
3541 (_FP_PACK_RAW_4): Likewise.
3542 (_FP_PACK_RAW_4_P): Likewise.
3543 (_FP_MUL_MEAT_DW_4_wide): Likewise.
3544 (_FP_MUL_MEAT_4_wide): Likewise.
3545 (_FP_MUL_MEAT_4_gmp): Likewise.
3546 (umul_ppppmnnn): Likewise.
3547 (_FP_DIV_MEAT_4_udiv): Likewise.
3548 (__FP_FRAC_ADD_4): Likewise.
3549 (__FP_FRAC_SUB_3): Likewise.
3550 (__FP_FRAC_SUB_4): Likewise.
3551 (__FP_FRAC_DEC_3): Likewise.
3552 (__FP_FRAC_DEC_4): Likewise.
3553 (__FP_FRAC_ADDI_4): Likewise.
3554 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
3555 (_FP_FRAC_SRL_8): Likewise.
3556 (_FP_FRAC_SRS_8): Likewise.
3558 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
3560 (FP_UNPACK_RAW_EP): Likewise.
3561 (FP_PACK_RAW_E): Likewise.
3562 (FP_PACK_RAW_EP): Likewise.
3563 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
3564 (_FP_ISSIGNAN): Likewise.
3565 (_FP_ADD_INTERNAL): Likewise.
3566 (_FP_FMA): Likewise.
3567 (_FP_CMP): Likewise.
3568 (_FP_SQRT): Likewise.
3569 (_FP_TO_INT): Likewise.
3570 (_FP_FROM_INT): Likewise.
3571 (FP_EXTEND): Likewise.
3572 (_FP_DIV_MEAT_N_loop): Likewise.
3574 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
3576 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
3579 2014-06-29 Joseph Myers <joseph@codesourcery.com>
3582 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
3583 result with correct sign in case of exponents that produce
3584 overflow except for X very close to 1.
3586 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
3588 mktime: merge #if/#ifdef usage from glibc
3589 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
3590 as that works with both Glibc's and Gnulib's style.
3591 See thread starting at Siddhesh Poyarekar's bug report at:
3592 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
3594 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3596 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
3597 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
3598 * sysdeps/tile/tilegx/memmove.c: Remove file.
3600 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3602 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
3603 abi-name definition.
3604 * scripts/soversions.awk: Do not handle or generate ABI lines.
3605 * shlib-versions: Remove ABI entries.
3606 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
3607 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
3609 2014-06-27 Roland McGrath <roland@hack.frob.com>
3611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
3612 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
3613 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
3614 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
3615 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
3616 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
3617 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
3619 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
3621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
3622 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
3623 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
3624 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
3625 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
3626 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
3627 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
3628 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
3629 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
3630 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
3631 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
3632 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
3633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
3635 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
3636 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
3637 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
3638 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
3639 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
3640 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
3642 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
3643 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
3645 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
3646 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
3647 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
3648 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
3650 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
3651 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
3652 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
3653 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
3654 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
3655 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
3656 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
3657 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
3659 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
3660 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
3661 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
3662 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
3664 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
3665 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
3667 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
3668 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
3669 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
3670 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
3672 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
3674 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
3675 Identical file removed.
3676 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
3678 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
3679 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
3680 Identical file removed.
3681 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
3682 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
3683 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
3685 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
3686 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
3687 Identical file removed.
3688 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
3689 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
3690 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
3691 Identical file removed.
3692 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
3693 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
3694 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
3695 Identical file removed.
3696 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
3697 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
3698 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
3699 Identical file removed.
3700 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
3702 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
3703 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
3704 Identical file removed.
3705 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
3707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
3708 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
3709 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
3710 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
3711 Identical file removed.
3712 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
3714 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
3716 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
3717 Identical file removed.
3718 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
3720 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
3721 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
3722 Identical file removed.
3723 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
3725 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
3726 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
3727 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
3728 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
3729 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
3730 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
3732 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
3733 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
3734 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
3736 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
3737 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
3738 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
3739 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
3740 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
3742 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
3745 * nscd/nscd.c (monitor_child): Return exit status of child
3746 instead of return value from wait syscall.
3748 2014-06-27 Joseph Myers <joseph@codesourcery.com>
3750 * configure.ac (libc_commonpagesize): Remove variable.
3751 (libc_relro_required): Likewise.
3752 (libc_cv_z_relro): Remove configure test.
3753 * configure: Regenerated.
3754 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
3756 (libc_relro_required): Likewise.
3757 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
3758 (libc_relro_required): Likewise.
3759 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
3760 (libc_relro_required): Likewise.
3761 * sysdeps/arm/preconfigure: Regenerated.
3762 * sysdeps/ia64/preconfigure: Remove file.
3763 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
3765 (libc_relro_required): Likewise.
3769 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
3770 (__ieee754_yn): Set FE_TONEAREST mode internally and then
3771 recompute overflowing results in original rounding mode.
3772 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
3773 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
3774 recompute overflowing results in original rounding mode.
3775 * sysdeps/ieee754/ldbl-128/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-128ibm/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/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
3782 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
3783 recompute overflowing results in original rounding mode.
3784 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
3785 (libc_feholdsetround_ctx): New macro.
3786 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
3787 * sysdeps/i386/fpu/libm-test-ulps: Update.
3788 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
3790 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3792 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
3793 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
3794 corresponding .cpsetup call.
3796 2014-06-26 Roland McGrath <roland@hack.frob.com>
3798 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
3799 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
3800 * sysdeps/arm/Makefile [$(subdir) = csu]
3801 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
3802 (static-only-routines): Add aeabi_read_tp here.
3803 (shared-only-routines): Add libc-aeabi_read_tp here.
3804 (CFLAGS-libc-start.c): Add -fexceptions here.
3805 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
3806 (sysdep_routines, static-only-routines, shared-only-routines):
3807 Don't add to these here.
3808 (CFLAGS-libc-start.c): Likewise.
3810 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
3811 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3812 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
3813 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3814 * sysdeps/arm/Makefile [$(subdir) = rt]
3815 (librt-sysdep_routines, librt-shared-only-routines):
3816 Append rt-aeabi_unwind_cpp_pr1 here.
3817 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
3818 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
3819 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
3820 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3821 Append nptl-aeabi_unwind_cpp_pr1 here.
3822 (tests): Filter out tst-cleanupx4 here.
3823 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
3824 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
3825 Don't do those here.
3827 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3829 * scripts/list-sources.sh: Do not handle ports specially.
3831 2014-06-26 Roland McGrath <roland@hack.frob.com>
3833 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
3834 * sysdeps/arm/feupdateenv.c: Likewise.
3836 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
3838 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3840 * manual/texinfo.tex: Update to version 2014-05-05.10 with
3841 trailing whitespace removed.
3842 * scripts/config.guess: Update to version 2014-03-23.
3843 * scripts/config.sub: Update to version 2014-05-01
3844 * scripts/install-sh: Update to version 2013-12-25.23.
3845 * scripts/move-if-change: Update from gnulib.
3847 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3849 * debug/memmove_chk.c: Remove pagecopy.h include.
3851 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
3853 * time/mktime.c (leapyear): Remove inline keyword. The code is now
3854 identical to gnulib mktime.
3856 2014-06-26 Joseph Myers <joseph@codesourcery.com>
3858 * configure.ac: Do not test for machine being rs6000. Do not test
3860 * configure: Regenerated.
3862 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
3864 * configure: Regenerated.
3865 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
3866 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
3867 Remove configure test.
3868 * sysdeps/arm/configure: Regenerated.
3869 * sysdeps/nptl/configure.ac: Do not check
3870 libc_cv_asm_cfi_directives.
3871 * sysdeps/nptl/configure: Regenerated.
3872 * sysdeps/x86_64/nptl/configure.ac: Remove file.
3873 * sysdeps/x86_64/nptl/configure: Remove generated file.
3874 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
3876 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
3878 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3880 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
3881 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
3882 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
3885 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
3886 instead of whether it is defined.
3887 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
3888 * sysdeps/hppa/dl-machine.h: Likewise.
3889 * sysdeps/ia64/dl-machine.h: Likewise.
3890 * sysdeps/m68k/dl-machine.h: Likewise.
3891 * sysdeps/microblaze/dl-machine.h: Likewise.
3892 * sysdeps/mips/dl-machine.: Likewise.
3893 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3894 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3895 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3896 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3897 * sysdeps/sh/dl-machine.h: Likewise.
3898 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3900 * sysdeps/tile/dl-machine.h: Likewise.
3901 * sysdeps/x86_64/dl-machine.h: Likewise.
3903 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
3905 (verify_persistent_db): Likewise.
3907 2014-06-26 Roland McGrath <roland@hack.frob.com>
3909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
3910 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
3911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
3912 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
3913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3915 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
3917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
3918 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
3919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
3920 Identical file removed.
3921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
3922 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
3923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
3924 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
3925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
3926 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
3927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
3928 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
3929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
3930 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
3931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3933 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
3934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
3935 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
3936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
3937 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
3938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3940 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
3941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
3942 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
3943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
3944 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
3945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
3946 Identical file removed.
3947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
3948 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
3949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
3950 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
3951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3953 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
3955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
3956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
3957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
3958 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
3959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
3960 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
3961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
3962 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
3963 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
3964 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
3965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3967 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
3968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
3970 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
3971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
3972 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
3973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3975 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
3976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
3977 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
3979 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
3981 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
3982 * sysdeps/unix/sysv/linux/s390/Versions
3983 (libpthread: GLIBC_2.19): New version set.
3984 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
3985 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
3986 (librt: GLIBC_2.3.3): New version set.
3987 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
3988 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
3989 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
3990 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
3991 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
3992 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
3993 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
3995 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
3996 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
3997 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
3999 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4001 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4002 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4003 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4004 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4005 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4006 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4007 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4009 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4011 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4012 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4013 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4015 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4017 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4018 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4023 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4025 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4027 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4029 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4031 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4033 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4034 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4035 (__libc_vfork): Define the function under this name.
4036 [!NOT_IN_libc] (__vfork): Make this an alias.
4037 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4038 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4039 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4040 (__libc_vfork): Define the function under this name.
4041 [!NOT_IN_libc] (__vfork): Make this an alias.
4042 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4043 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4044 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4045 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4046 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4047 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4049 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4050 code that was previously under [RESET_PID].
4051 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4052 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4053 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4055 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4056 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4057 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4058 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4059 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4060 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4061 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4062 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4063 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4064 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4065 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4067 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4068 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4069 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4070 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4071 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4072 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4073 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4074 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4075 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4076 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4077 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4078 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4079 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4080 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4081 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4082 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4083 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4084 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4085 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4086 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4087 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4088 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4089 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4090 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4091 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4092 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4093 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4095 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4097 2014-06-25 Roland McGrath <roland@hack.frob.com>
4099 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4100 that was previously under [RESET_PID].
4101 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4103 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4105 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4106 not undefine and redefine.
4107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4108 [O_CLOEXEC]: Make code unconditional.
4109 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4110 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4111 <kernel-features.h>.
4112 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4113 conditional variable definition.
4114 (shm_open) [O_CLOEXEC]: Make code unconditional.
4115 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4118 * configure.ac (USE_REGPARMS): Don't define here.
4119 * configure: Regenerated.
4120 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4121 * sysdeps/i386/configure: Regenerated.
4123 * nptl/createthread.c: Don't include kernel-features.h.
4124 * nptl/pthread_cancel.c: Likewise.
4125 * nptl/pthread_condattr_setclock.c: Likewise.
4126 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4127 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4128 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4129 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4130 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4131 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4132 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4133 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4135 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4136 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4137 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4138 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4139 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4140 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4141 * nscd/gai.c: Likewise.
4142 * nss/nss_db/db-open.c: Likewise.
4143 * sysdeps/generic/ldsodefs.h: Likewise.
4144 * sysdeps/sh/nptl/tls.h: Likewise.
4145 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4146 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4147 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4148 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4149 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4150 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4151 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4152 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4153 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4154 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4155 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4156 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4157 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4158 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4159 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4160 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4161 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4162 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4163 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4164 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4165 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4166 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4167 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4168 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4169 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4170 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4171 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4172 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4173 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4174 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4175 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4176 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4178 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4179 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4180 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4181 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4182 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4183 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4184 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4185 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4186 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4187 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4188 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4189 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4190 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4191 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4192 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4193 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4194 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4195 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4196 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4197 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4198 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4199 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4200 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4201 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4202 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4225 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4226 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4227 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4228 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4229 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4230 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4231 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4232 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4234 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4235 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4236 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4237 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4238 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4239 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4240 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4241 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4242 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4243 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4244 * sysdeps/unix/sysv/linux/system.c: Likewise.
4245 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4246 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4247 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4248 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4249 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4251 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4253 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4254 * configure: Regenerated.
4255 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4257 * configure.ac (base_machine): Do not set specially for particular
4259 * configure: Regenerated.
4260 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4261 settings from configure.ac.
4262 * sysdeps/i386/preconfigure: New file.
4263 * sysdeps/s390/preconfigure: Likewise.
4264 * sysdeps/sh/preconfigure: Likewise.
4265 * sysdeps/sparc/preconfigure: Likewise.
4267 2014-06-25 Roland McGrath <roland@hack.frob.com>
4269 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4270 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4271 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4272 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4273 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4274 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4275 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4276 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4277 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4278 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4279 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4280 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4281 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4282 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4283 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4284 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4285 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4286 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4287 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4289 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4290 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4291 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
4292 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
4293 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
4294 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
4295 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
4296 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
4297 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
4298 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
4299 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
4300 * sysdeps/sparc/sparc32/sem_post.c: ... here.
4301 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
4302 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
4303 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
4304 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
4305 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
4306 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
4307 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
4308 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
4309 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
4310 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
4311 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
4312 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
4313 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
4314 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
4315 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
4316 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
4317 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
4318 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
4319 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
4320 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
4321 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
4322 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
4323 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
4324 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
4325 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
4326 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
4328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
4329 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
4330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
4331 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
4332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4334 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
4336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
4337 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
4338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
4342 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
4343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
4344 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
4345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
4346 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
4347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
4348 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
4349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
4352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4354 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
4355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
4356 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
4357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4359 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
4360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
4361 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
4362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
4363 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
4364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
4365 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
4367 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
4368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4370 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
4372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
4373 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
4374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
4375 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
4376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
4378 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
4379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
4381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
4384 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
4385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4387 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
4388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
4391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
4392 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
4393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4395 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
4397 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
4399 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
4401 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4403 * timezone/checktab.awk: Update from tzcode 2014e.
4404 * timezone/private.h: Likewise.
4405 * timezone/tzfile.h: Likewise.
4406 * timezone/zdump.c: Likewise.
4407 * timezone/zic.c: Likewise.
4409 * sysdeps/unix/sysv/linux/kernel-features.h
4410 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
4411 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
4412 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
4413 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4414 Remove conditional code.
4416 2014-06-25 Will Newton <will.newton@linaro.org>
4418 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4419 (_dl_arm_cap_flags): Add HWCAP2 values.
4420 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
4421 (_DL_HWCAP_COUNT): Increase to 37.
4422 (_DL_HWCAP_LAST): New define.
4423 (_DL_HWCAP2_LAST): New define.
4424 (_dl_procinfo): Add support for printing
4426 (_dl_string_hwcap): Use _dl_hwcap_string.
4428 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4432 2014-06-25 Joseph Myers <joseph@codesourcery.com>
4434 * README: Do not mention ports directory.
4436 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
4438 * sysdeps/unix/sysv/linux/futimes.c: Do not include
4439 <kernel-features.h>.
4440 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
4441 conditional variable definition.
4442 (__futimes): Update comment.
4443 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
4444 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
4447 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
4448 arguments close to 0.
4449 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
4451 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
4453 * math/auto-libm-test-in: Add more tests of exp10.
4454 * math/auto-libm-test-out: Regenerated.
4455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4457 * sysdeps/unix/sysv/linux/kernel-features.h
4458 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
4459 * sysdeps/unix/sysv/linux/readv.c: Do not include
4460 <kernel-features.h>.
4461 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4462 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4463 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4465 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4467 * sysdeps/unix/sysv/linux/writev.c: Do not include
4468 <kernel-features.h>.
4469 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
4470 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
4471 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
4473 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
4476 2014-06-25 Will Newton <will.newton@linaro.org>
4478 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
4479 comment changes throughout the file. Remove checks
4480 for HAVE_*_H definitions that are not required.
4481 (__gen_tempname): Call abort if an unknown kind value is
4484 2014-06-25 Andreas Schwab <schwab@suse.de>
4487 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
4488 scalbln, scalblnf, scalblnl in libc.
4490 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4493 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
4494 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
4495 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
4497 2014-06-24 Roland McGrath <roland@hack.frob.com>
4499 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
4500 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
4501 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
4502 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
4504 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
4505 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
4507 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
4508 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
4509 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
4510 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
4511 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
4512 * sysdeps/x86/bits/pthreadtypes.h: ... here.
4513 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
4514 * sysdeps/x86/bits/semaphore.h: ... here.
4515 * sysdeps/x86/nptl/elide.h: Moved ...
4516 * sysdeps/x86/elide.h: ... here.
4517 * sysdeps/x86_64/nptl/Implies: File removed.
4518 * sysdeps/i386/nptl/Implies: File removed.
4520 2014-06-24 Joseph Myers <joseph@codesourcery.com>
4523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
4524 return the argument for normal arguments with exponent below -64.
4525 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4527 * math/auto-libm-test-in: Add another test of expm1.
4528 * math/auto-libm-test-out: Regenerated.
4531 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
4532 calling __erfcl for arguments at least 16.
4533 * math/auto-libm-test-in: Add more tests of erf.
4534 * math/auto-libm-test-out: Regenerated.
4536 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
4537 individual architectures.
4538 * sysdeps/unix/sysv/linux/configure: Regenerated.
4539 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
4540 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
4541 * sysdeps/unix/sysv/linux/powerpc/configure.ac
4542 (ldd_rewrite_script): Define variable.
4543 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
4544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
4546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
4548 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
4549 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
4550 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
4551 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
4552 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
4553 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
4554 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
4555 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
4557 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4560 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
4561 Rename member __data.d to __data.__elision_data.
4563 2014-06-24 Wilco <wdijkstr@arm.com>
4565 * NEWS: Add 16918 to fixed bug list.
4567 2014-06-24 Wilco <wdijkstr@arm.com>
4569 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
4571 2014-06-24 Wilco <wdijkstr@arm.com>
4573 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
4574 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
4575 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
4576 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
4577 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
4578 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
4579 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
4582 2014-06-24 Wilco <wdijkstr@arm.com>
4584 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
4586 2014-06-24 Wilco <wdijkstr@arm.com>
4588 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
4589 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
4590 * sysdeps/arm/fesetround.c (fesetround): Remove space.
4591 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
4593 2014-06-24 Wilco <wdijkstr@arm.com>
4596 * sysdeps/arm/feupdateenv.c (feupdateenv):
4597 Rewrite to reduce FPSCR accesses and fix return value.
4599 2014-06-24 Wilco <wdijkstr@arm.com>
4601 * sysdeps/arm/fclrexcpt.c (feclearexcept):
4602 Optimize to avoid unnecessary FPSCR writes.
4603 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
4604 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
4605 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
4606 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
4608 2014-06-24 Wilco <wdijkstr@arm.com>
4610 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
4611 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
4612 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
4613 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
4614 Call libc_fetestexcept_vfp.
4615 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
4616 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
4617 __SOFTFP__ ifdef so that they can be built for softfp.
4619 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4621 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
4622 argument type signed char.
4624 * Makerules (check-abi): Dump diff of symlist if the test
4627 2014-06-23 Roland McGrath <roland@hack.frob.com>
4629 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
4632 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4633 Remove unused variable ST.
4635 2014-06-23 Joseph Myers <joseph@codesourcery.com>
4639 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
4640 small arguments before calling __expm1.
4641 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
4642 small arguments before calling __expm1f.
4643 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
4644 small arguments before calling __expm1l.
4645 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4647 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
4648 * math/auto-libm-test-in: Add more cosh tests. Do not allow
4649 spurious underflow for some cosh tests.
4650 * math/auto-libm-test-out: Regenerated.
4651 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
4655 (__ieee754_y1): Set errno if return value overflows.
4656 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
4657 (__ieee754_y1f): Set errno if return value overflows.
4658 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
4659 (__ieee754_y1l): Set errno if return value overflows.
4660 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
4661 (__ieee754_y1l): Set errno if return value overflows.
4662 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
4663 * math/auto-libm-test-out: Regenerated.
4665 * math/gen-auto-libm-tests.c: Document use of
4666 ignore-zero-inf-sign.
4667 (input_flag_type): Add value flag_ignore_zero_inf_sign.
4668 (input_flags): Add ignore-zero-inf-sign.
4669 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
4670 * math/gen-libm-test.pl (generate_testfile): Handle
4671 ignore-zero-inf-sign.
4672 * math/auto-libm-test-in: Mark some cpow tests with
4673 ignore-zero-inf-sign and some with xfail-rounding.
4674 * math/auto-libm-test-out: Regenerated.
4675 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
4676 * sysdeps/i386/fpu/libm-test-ulps: Update.
4677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4680 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
4681 overflowing or underflowing operations take place with sign of
4683 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4684 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
4685 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
4686 (__ieee754_pow): Recompute overflowing and underflowing results in
4687 original rounding mode.
4688 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
4689 (__powl_helper): Allow negative argument X and scale negated value
4690 as needed. Avoid passing value outside [-1, 1] to f2xm1.
4691 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
4692 overflowing or underflowing operations take place with sign of
4694 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
4696 * math/auto-libm-test-in: Add more tests of pow.
4697 * math/auto-libm-test-out: Regenerated.
4698 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
4699 (pow_tonearest_test_data): Remove.
4700 (pow_test_tonearest): Likewise.
4701 (pow_towardzero_test_data): Likewise.
4702 (pow_test_towardzero): Likewise.
4703 (pow_downward_test_data): Likewise.
4704 (pow_test_downward): Likewise.
4705 (pow_upward_test_data): Likewise.
4706 (pow_test_upward): Likewise.
4707 (main): Don't call removed functions.
4708 * sysdeps/i386/fpu/libm-test-ulps: Update.
4709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4711 2014-06-23 Roland McGrath <roland@hack.frob.com>
4713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
4715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
4719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
4722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
4724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
4725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
4731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
4733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
4739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
4743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
4747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
4749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
4751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
4754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
4756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
4758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
4759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
4761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
4762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
4764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
4767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
4768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
4770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
4771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
4774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
4777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
4780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
4802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
4807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
4820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
4827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
4830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
4836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
4851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
4872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
4876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
4880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
4883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
4885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
4887 2014-06-23 Will Newton <will.newton@linaro.org>
4888 Wilco <wdijkstr@arm.com>
4890 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
4891 implementation. Include get-rounding-mode.h.
4892 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
4893 [!libc_feholdsetround_noex_ctx]: Define
4894 libc_feholdsetround_noex_ctx.
4895 [!libc_feholdsetround_noexf_ctx]: Define
4896 libc_feholdsetround_noexf_ctx.
4897 [!libc_feholdsetround_noexl_ctx]: Define
4898 libc_feholdsetround_noexl_ctx.
4899 (libc_feholdsetround_ctx): New function.
4900 (libc_feresetround_ctx): New function.
4901 (libc_feholdsetround_noex_ctx): New function.
4902 (libc_feresetround_noex_ctx): New function.
4904 2014-06-23 Roland McGrath <roland@hack.frob.com>
4906 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
4907 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
4908 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
4909 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
4910 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
4911 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
4913 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
4914 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
4915 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
4916 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
4917 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
4918 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
4919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
4920 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
4921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
4922 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
4923 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
4925 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
4927 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
4928 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
4929 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
4930 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
4933 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
4934 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
4935 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
4936 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
4937 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
4938 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
4939 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
4942 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
4943 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
4945 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
4947 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
4950 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
4951 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
4952 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
4953 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
4954 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
4955 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
4956 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
4957 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
4958 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
4959 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
4961 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
4963 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
4964 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
4965 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
4966 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
4967 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
4968 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
4969 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
4970 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
4972 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
4973 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
4974 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
4975 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
4977 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
4978 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
4979 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
4980 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
4981 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
4982 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
4984 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
4986 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
4987 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
4988 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
4990 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4991 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
4992 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
4993 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
4994 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
4995 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
4996 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
4997 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
4998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
4999 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5000 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5001 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5002 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5003 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5004 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5005 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5006 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5007 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5008 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5009 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5010 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5011 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5012 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5013 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5014 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5015 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5016 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5017 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5019 2014-06-23 Joseph Myers <joseph@codesourcery.com>
5021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5022 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5023 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5024 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5025 (IPV6_PMTUDISC_INTERFACE): Likewise.
5026 (IPV6_PMTUDISC_OMIT): Likewise.
5028 2014-06-23 Andreas Schwab <schwab@suse.de>
5030 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5031 Remove unused errout label.
5033 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5035 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5036 macro: hardware supports Vector Crypto instructions.
5038 2014-06-23 Will Newton <will.newton@linaro.org>
5040 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5041 rather than __builtin_expect.
5043 * elf/dl-lookup.c (undefined_msg): Remove variable.
5044 (_dl_lookup_symbol_x): Replace undefined_msg with string
5047 * elf/dl-lookup.c (do_lookup_unique): New function.
5048 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5049 to a separate function.
5051 2014-06-23 Andreas Schwab <schwab@suse.de>
5054 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5055 before reading the next line.
5057 2014-06-23 Will Newton <will.newton@linaro.org>
5059 * test-skeleton.c (signal_handler): Use printf and %m
5060 rather than perror. Use printf rather than fprintf to
5061 stderr. Use puts rather than fputs to stderr.
5064 2014-06-22 Ludovic Courtès <ludo@gnu.org>
5066 * nscd/nscd.c (thread_info_t): Remove typedef.
5067 (thread_info): Remove variable.
5069 2014-06-21 Allan McRae <allan@archlinux.org>
5071 * NEWS: Mention CVE-2014-4043.
5073 2014-06-20 Roland McGrath <roland@hack.frob.com>
5075 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5076 * nptl/smp.h: ... here.
5078 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5080 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5081 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5082 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5083 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5085 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5086 * nptl/stack-aliasing.h: New file.
5087 * sysdeps/i386/i686/stack-aliasing.h: New file.
5088 * sysdeps/i386/i686/nptl/Makefile: File removed.
5089 * sysdeps/x86_64/stack-aliasing.h: New file.
5090 * sysdeps/x86_64/nptl/Makefile
5091 (CFLAGS-pthread_create.c): Variable removed.
5093 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5094 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5096 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5097 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5100 2014-06-21 Joseph Myers <joseph@codesourcery.com>
5102 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5103 (__ASSUME_SIGFRAME_V2): Remove macro.
5104 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5105 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5106 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5107 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5108 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5109 Declare as function. Remove conditional macro definitions.
5110 (__default_rt_sa_restorer): Likewise.
5111 (__default_sa_restorer_v1): Remove declaration.
5112 (__default_sa_restorer_v2): Likewise.
5113 (__default_rt_sa_restorer_v1): Likewise.
5114 (__default_rt_sa_restorer_v2): Likewise.
5115 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5116 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5117 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5119 2014-06-20 Roland McGrath <roland@hack.frob.com>
5121 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5122 (libpthread-routines): Add sysdep.
5123 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5124 * sysdeps/unix/sysv/linux/sparc/Versions
5125 (libpthread: GLIBC_2.3.3): New version set.
5126 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5127 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5128 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5129 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5130 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5131 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5133 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5134 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5135 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5136 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5137 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5138 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5139 * sysdeps/sparc/nptl/sem_init.c: ... here.
5140 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5141 * sysdeps/sparc/nptl/sem_post.c: ... here.
5142 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5143 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5144 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5145 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5146 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5148 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5149 (libpthread-routines): Add cpu_relax.
5150 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5153 (librt: GLIBC_2.3.3): New version set.
5154 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5155 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5157 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5158 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5160 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5163 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5164 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5165 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5166 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5167 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5168 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5169 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5170 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5171 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5172 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5174 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5176 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5180 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5182 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5186 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5188 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5190 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5192 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5194 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5196 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5197 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5198 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5203 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5205 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5208 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5210 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5212 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5214 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5216 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5217 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5218 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5219 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5220 * nscd/nscd.c: Likewise.
5221 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5222 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5223 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5224 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5226 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5227 <kernel-features.h>.
5228 (init_mq_netlink): Remove conditional have_sock_cloexec
5229 definitions. Remove code conditional on have_sock_cloexec < 0.
5230 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5231 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5232 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5233 <kernel-features.h>.
5234 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5235 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5237 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5239 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5240 Add tests for memset_chk and memset.
5242 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5245 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5248 * elf/tst-dl-iter-static.c: New file.
5249 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5251 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5254 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5256 * sysdeps/unix/sysv/linux/kernel-features.h
5257 (__ASSUME_F_GETOWN_EX): Remove macro.
5258 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5259 <kernel-features.h>.
5260 (miss_F_GETOWN_EX): Remove variable or macro.
5261 (do_fcntl): Do not check miss_F_GETOWN_EX.
5262 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5264 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5267 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5268 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5270 * sysdeps/unix/sysv/linux/kernel-features.h
5271 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5272 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5273 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5274 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5276 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5279 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5280 Fix calculation of the symbol's value.
5281 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5282 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5283 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5284 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5285 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5286 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5287 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5288 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5289 (modules-names): Add `tst-armtlsdescmod',
5290 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5291 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
5292 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5293 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
5294 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
5295 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
5296 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
5297 ($(objpfx)tst-armtlsdescloc): New dependency.
5298 ($(objpfx)tst-armtlsdescextnow): Likewise.
5299 ($(objpfx)tst-armtlsdescextlazy): Likewise.
5300 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
5302 * sysdeps/arm/configure: Regenerate.
5304 2014-06-20 Joseph Myers <joseph@codesourcery.com>
5306 * include/fcntl.h (__atfct_seterrno): Remove prototype.
5307 (__atfct_seterrno_2): Likewise.
5308 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
5309 <kernel-features.h>.
5310 (__ASSUME_ATFCTS): Do not undefine and redefine.
5311 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
5312 (__have_atfcts): Remove conditional definition.
5313 (__fxstatat([__NR_fstatat64]: Make code unconditional.
5314 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
5315 unreachable if [__ASSUME_ATFCTS].
5316 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
5317 not undefine and redefine.
5318 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
5319 <kernel-features.h>.
5320 (faccessat) [__NR_faccessat]: Make code unconditional.
5321 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
5322 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
5323 <kernel-features.h>.
5324 (fchmodat) [__NR_fchmodat]: Make code unconditional.
5325 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5326 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
5327 <kernel-features.h>.
5328 (fchownat) [__NR_fchownat]: Make code unconditional.
5329 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
5330 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
5331 <kernel-features.h>.
5332 (futimesat) [__NR_futimesat]: Make code unconditional.
5333 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
5334 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
5335 <kernel-features.h>.
5336 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5337 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5338 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
5339 <kernel-features.h>.
5340 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
5341 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5342 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
5343 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
5344 <kernel-features.h>.
5345 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
5346 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5347 * sysdeps/unix/sysv/linux/linkat.c: Do not include
5348 <kernel-features.h>.
5349 (linkat) [__NR_linkat]: Make code unconditional.
5350 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5351 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
5352 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
5353 <kernel-features.h>.
5354 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
5355 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
5356 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
5357 <kernel-features.h>.
5358 (mkdirat) [__NR_mkdirat]: Make code unconditional.
5359 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
5360 * sysdeps/unix/sysv/linux/openat.c: Do not include
5361 <kernel-features.h>.
5362 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
5363 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
5364 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
5365 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
5366 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
5367 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
5368 <kernel-features.h>.
5369 (readlinkat) [__NR_readlinkat]: Make code unconditional.
5370 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
5371 result of INLINE_SYSCALL directly, not via int variable.
5372 * sysdeps/unix/sysv/linux/renameat.c: Do not include
5373 <kernel-features.h>.
5374 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
5375 (renameat) [__NR_renameat]: Make code unconditional.
5376 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
5377 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
5378 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
5379 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
5380 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
5381 (__ASSUME_ATFCTS): Do not undefine and redefine.
5382 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
5383 <kernel-features.h>.
5384 (symlinkat) [__NR_symlinkat]: Make code unconditional.
5385 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5386 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
5387 <kernel-features.h>.
5388 (unlinkat) [__NR_unlinkat]: Make code unconditional.
5389 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
5390 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
5391 (__ASSUME_ATFCTS): Do not undefine and redefine.
5392 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
5393 <kernel-features.h>.
5394 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
5395 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
5396 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
5397 <kernel-features.h>.
5398 (__xmknodat) [__NR_mknodat]: Make code unconditional.
5399 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
5401 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5403 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
5405 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
5408 * posix/regcomp.c (parse_reg_exp): Deallocate partially
5409 constructed tree before returning error.
5410 * posix/bug-regexp36.c: Expand test case.
5412 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
5415 * math/libm-test.inc (scalbln_test_date):
5416 Add errno expectations.
5417 * math/w_scalblnf.c: New File.
5418 Add wrapper which checks for setting errno to ERANGE.
5419 Add weak_alias for corresponding scalbln function.
5420 * math/w_scalbln.c: Likewise.
5421 * math/w_scalblnl.c: Likewise.
5422 * math/Makefile (libm-calls): Add w_scalbln.
5423 * sysdeps/ieee754/flt-32/s_scalblnf.c:
5424 Remove weak_alias for corresponding scalbln function.
5425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
5427 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5428 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5429 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
5430 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5431 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
5432 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5433 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
5434 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
5435 Remove long_double_symbol for scalblnl function in libm, libc.
5436 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
5437 Add wrapper which checks for setting errno to ERANGE.
5438 Add long_double_symbol for scalblnl function in libm, libc.
5439 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
5440 Remove long_double_symbol for scalblnl in libm.
5441 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
5442 Add wrapper which checks for setting errno to ERANGE.
5443 Add long_double_symbol for scalblnl function in libm.
5444 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
5445 Do not use wrapper because of own implementation.
5447 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
5449 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
5450 3 bytes for __pad1 for x32.
5451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
5453 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
5454 H.J. Lu <hongjiu.lu@intel.com>
5456 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
5457 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
5458 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5459 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5460 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
5462 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
5465 * posix/regcomp.c (parse_expression): Deallocate partially
5466 constructed tree before returning error.
5467 * posix/Makefile.c (tests): Add bug-regex36.
5468 (generated): Add bug-regex36.mtrace.
5469 (tests-special): Add $(objpfx)bug-regex36-mem.out
5470 (bug-regex36-ENV): New variable.
5471 ($(objpfx)bug-regex36-mem.out): New rule.
5472 * posix/bug-regex36.c: New file.
5474 2014-06-19 Will Newton <will.newton@linaro.org>
5476 * malloc/malloc.c (systrim): If extra is zero then return
5479 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5481 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
5483 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
5485 * sysdeps/aarch64/strchr.S: New file.
5487 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5490 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
5491 from arguments -2 or below.
5492 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5493 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5495 2014-06-18 Andreas Schwab <schwab@suse.de>
5498 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
5499 of a bracket expr not to run off the end of the string.
5500 * posix/Makefile (tests): Add tst-fnmatch3.
5501 * posix/tst-fnmatch3.c: New file.
5503 2014-06-18 Joseph Myers <joseph@codesourcery.com>
5505 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
5506 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5507 [$(cross-compiling) = no]: Likewise.
5508 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5509 [$(cross-compiling) = no]: Likewise.
5511 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5514 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
5515 double, adjusted for any remainder from the high double.
5516 * math/libm-test.inc (nearbyint): Add tests.
5519 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5521 * nptl/sysdeps/powerpc/Makefile: Moved ...
5522 * sysdeps/powerpc/nptl/Makefile: ... here.
5523 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
5524 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
5525 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
5526 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
5527 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
5528 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
5529 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
5530 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
5531 * nptl/sysdeps/powerpc/tls.h: Moved ...
5532 * sysdeps/powerpc/nptl/tls.h: ... here.
5534 2014-06-16 Joseph Myers <joseph@codesourcery.com>
5537 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
5538 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5539 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
5540 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
5541 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5542 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
5543 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
5544 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5545 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
5547 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
5549 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5551 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
5553 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
5556 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
5559 2014-06-16 Florian Weimer <fweimer@redhat.com>
5562 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
5563 non-executed part of the test.
5565 2014-06-16 Andreas Schwab <schwab@suse.de>
5567 * string/bits/string2.h (strdup, strndup): Update feature guard.
5569 2014-06-14 David S. Miller <davem@davemloft.net>
5571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5573 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
5575 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
5576 that was previously under [RESET_PID].
5577 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
5579 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
5580 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
5581 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
5582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5583 (__libc_vfork): New strong alias.
5584 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
5586 2014-06-14 Andi Kleen <ak@linux.intel.com>
5588 * sysdeps/generic/elide.h: New file.
5590 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5592 * Makefile (installed-headers): Adjust path of pthread.h header.
5594 2014-06-13 Roland McGrath <roland@hack.frob.com>
5596 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
5597 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5598 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
5599 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
5601 * nptl/sysdeps/s390/Makefile: Moved ...
5602 * sysdeps/s390/nptl/Makefile: ... here.
5603 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
5604 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
5605 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
5606 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
5607 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
5608 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
5609 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
5610 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
5611 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
5612 * sysdeps/s390/nptl/pthreaddef.h: ... here.
5613 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
5614 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
5615 * nptl/sysdeps/s390/tls.h: Moved ...
5616 * sysdeps/s390/nptl/tls.h: ... here.
5618 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
5619 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
5621 2014-06-13 David S. Miller <davem@davemloft.net>
5623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
5624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
5625 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
5626 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
5627 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
5628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
5629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
5630 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
5631 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
5632 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
5633 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
5634 Remove RESET_PID cpp guards.
5635 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
5636 Remove RESET_PID cpp guards.
5637 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
5639 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
5641 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
5644 2014-06-13 Andi Kleen <ak@linux.intel.com>
5646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
5647 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5648 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
5649 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
5650 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
5651 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
5652 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
5653 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
5654 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
5655 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
5656 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
5657 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
5658 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
5659 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
5660 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
5661 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
5662 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
5663 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
5664 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
5665 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
5667 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
5668 (pthread_rwlock_rdlock): Add elision.
5669 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
5670 (pthread_rwlock_wrlock): Add elision.
5671 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
5672 (pthread_rwlock_trywrlock): Add elision.
5673 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
5674 (pthread_rwlock_tryrdlock): Add elision.
5675 * nptl/pthread_rwlock_unlock.c: Include elide.h.
5676 (pthread_rwlock_tryrdlock): Add elision unlock.
5677 * nptl/sysdeps/pthread/pthread.h:
5678 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
5679 (PTHREAD_RWLOCK_INITIALIZER,
5680 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
5681 Handle new elision field.
5682 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
5683 * sysdeps/arm/nptl/bits/pthreadtypes.h
5684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5685 * sysdeps/sh/nptl/bits/pthreadtypes.h
5686 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5687 * sysdeps/tile/nptl/bits/pthreadtypes.h
5688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5689 * sysdeps/a/nptl/bits/pthreadtypes.h
5690 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5691 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5692 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5693 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5694 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5695 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
5696 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5698 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5699 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5700 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5701 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5702 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5703 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5704 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5705 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
5706 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5707 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
5708 (elision_init): Set try_xbegin to zero when no RTM.
5709 * sysdeps/x86/nptl/bits/pthreadtypes.h
5710 (pthread_rwlock_t): Change __pad1 to __rwelision.
5711 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
5713 2014-06-13 Andi Kleen <ak@linux.intel.com>
5715 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
5716 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
5717 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
5718 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
5720 2014-06-13 Meador Inge <meadori@codesourcery.com>
5723 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
5724 that the cached result has been set before returning it.
5726 2014-06-12 Roland McGrath <roland@hack.frob.com>
5728 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
5729 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
5730 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
5731 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
5732 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
5733 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
5735 * nptl/sysdeps/sparc/Makefile: Moved ...
5736 * sysdeps/sparc/nptl/Makefile: ... here.
5737 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
5738 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
5739 * nptl/sysdeps/sparc/tls.h: Moved ...
5740 * sysdeps/sparc/nptl/tls.h: ... here.
5741 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
5742 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
5743 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
5744 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
5745 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
5746 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
5747 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
5748 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
5749 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
5750 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
5751 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
5752 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
5753 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
5754 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
5755 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
5756 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
5757 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
5758 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
5760 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
5761 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
5763 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
5764 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
5766 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
5767 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
5770 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
5772 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
5773 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
5775 * sysdeps/pthread/posix-timer.h: Include <list.h>.
5776 (struct list_links): Type removed.
5777 (struct thread_node, struct timer_node): Replace struct list_links
5778 with struct list_head.
5779 (list_unlink_ip): Likewise.
5780 * sysdeps/pthread/timer_routines.c
5781 (timer_free_list, thread_free_list, thread_active_list): Likewise.
5782 (list_append, list_insbefore): Likewise.
5783 (list_init): Function removed.
5784 (thread_init, init_module): Use INIT_LIST_HEAD instead.
5785 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
5786 * sysdeps/pthread/Makefile: ... here, new file.
5788 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
5789 * sysdeps/nptl/Implies: ... here.
5790 * sysdeps/unix/sysv/linux/Implies: Add nptl.
5791 * nptl/sysdeps/pthread/list.h: Moved ...
5792 * include/list.h: ... here.
5793 * nptl/sysdeps/pthread/createthread.c: Moved ...
5794 * nptl/createthread.c: ... here.
5795 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
5796 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
5797 * nptl/pt-longjmp.c: ... here.
5798 * nptl/sysdeps/pthread/Makefile: Moved ...
5799 * sysdeps/nptl/Makefile: ... here.
5800 * nptl/sysdeps/pthread/Subdirs: Moved ...
5801 * sysdeps/nptl/Subdirs: ... here.
5802 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
5803 * sysdeps/nptl/aio_misc.h: ... here.
5804 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
5805 * sysdeps/nptl/bits/libc-lock.h: ... here.
5806 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
5807 * sysdeps/nptl/bits/libc-lockP.h: ... here.
5808 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
5809 * sysdeps/nptl/bits/stdio-lock.h: ... here.
5810 * nptl/sysdeps/pthread/configure: Moved ...
5811 * sysdeps/nptl/configure: ... here.
5812 * nptl/sysdeps/pthread/configure.ac: Moved ...
5813 * sysdeps/nptl/configure.ac: ... here.
5814 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
5815 * sysdeps/nptl/gai_misc.h: ... here.
5816 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
5817 * sysdeps/nptl/librt-cancellation.c: ... here.
5818 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
5819 * sysdeps/nptl/malloc-machine.h: ... here.
5820 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
5821 * sysdeps/nptl/pthread-functions.h: ... here.
5822 * nptl/sysdeps/pthread/pthread.h: Moved ...
5823 * sysdeps/nptl/pthread.h: ... here.
5824 * nptl/sysdeps/pthread/setxid.h: Moved ...
5825 * sysdeps/nptl/setxid.h: ... here.
5826 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
5827 * sysdeps/nptl/sigfillset.c: ... here.
5828 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
5829 * sysdeps/nptl/tcb-offsets.h: ... here.
5830 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
5831 * sysdeps/nptl/tst-mqueue8x.c: ... here.
5832 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
5833 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
5834 * nptl/sysdeps/pthread/allocalim.h: Moved ...
5835 * sysdeps/pthread/allocalim.h: ... here.
5836 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
5837 * sysdeps/pthread/bits/sigthread.h: ... here.
5838 * nptl/sysdeps/pthread/flockfile.c: Moved ...
5839 * sysdeps/pthread/flockfile.c: ... here.
5840 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
5841 * sysdeps/pthread/ftrylockfile.c: ... here.
5842 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
5843 * sysdeps/pthread/funlockfile.c: ... here.
5844 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
5845 * sysdeps/pthread/posix-timer.h: ... here.
5846 * nptl/sysdeps/pthread/timer_create.c: Moved ...
5847 * sysdeps/pthread/timer_create.c: ... here.
5848 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
5849 * sysdeps/pthread/timer_delete.c: ... here.
5850 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
5851 * sysdeps/pthread/timer_getoverr.c: ... here.
5852 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
5853 * sysdeps/pthread/timer_gettime.c: ... here.
5854 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
5855 * sysdeps/pthread/timer_routines.c: ... here.
5856 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
5857 * sysdeps/pthread/timer_settime.c: ... here.
5858 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
5859 * sysdeps/pthread/tst-timer.c: ... here.
5860 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
5861 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
5863 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
5864 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
5866 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
5867 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
5868 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
5869 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
5870 Update #include target.
5871 * nptl/sysdeps/i386/i686/Makefile: Moved ...
5872 * sysdeps/i386/i686/nptl/Makefile: ... here.
5873 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
5874 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
5875 Update #include target.
5876 * nptl/sysdeps/i386/i686/tls.h: Moved ...
5877 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
5878 * nptl/sysdeps/i386/Makefile: Moved ...
5879 * sysdeps/i386/nptl/Makefile: ... here.
5880 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
5881 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
5882 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
5883 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
5884 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
5885 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
5886 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
5887 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
5888 * sysdeps/i386/nptl/pthreaddef.h: ... here.
5889 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
5890 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
5891 * nptl/sysdeps/i386/tls.h: Moved ...
5892 * sysdeps/i386/nptl/tls.h: ... here.
5894 * sysdeps/sh/Makefile [$(subdir) = csu]
5895 (gen-as-const-headers): Add tcb-offsets.sym.
5896 * nptl/sysdeps/sh/Makefile: File removed.
5897 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
5898 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
5899 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
5900 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
5901 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
5902 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
5903 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
5904 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
5905 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
5906 * sysdeps/sh/nptl/pthreaddef.h: ... here.
5907 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
5908 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
5909 * nptl/sysdeps/sh/tls.h: Moved ...
5910 * sysdeps/sh/nptl/tls.h: ... here.
5911 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
5912 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
5913 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
5914 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
5915 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
5916 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
5917 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
5918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
5919 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
5920 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
5921 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
5922 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
5923 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
5924 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
5926 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
5928 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
5930 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
5931 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
5932 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
5933 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
5934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
5935 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
5937 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
5938 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
5940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
5941 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
5942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
5944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
5945 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
5946 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
5947 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
5948 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
5949 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
5950 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
5951 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
5952 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
5953 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
5954 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
5955 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
5956 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
5958 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
5960 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
5962 * posix/spawn_faction_addopen.c: Include string.h.
5964 2014-06-11 Roland McGrath <roland@hack.frob.com>
5966 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
5967 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
5968 * nptl/sysdeps/x86_64/Makefile: Moved ...
5969 * sysdeps/x86_64/nptl/Makefile: ... here.
5970 * nptl/sysdeps/x86_64/configure: Moved ...
5971 * sysdeps/x86_64/nptl/configure: ... here.
5972 * nptl/sysdeps/x86_64/configure.ac: Moved ...
5973 * sysdeps/x86_64/nptl/configure.ac: ... here.
5974 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
5975 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
5976 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
5977 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
5978 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
5979 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
5980 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
5981 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
5982 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
5983 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
5984 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
5985 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
5986 * nptl/sysdeps/x86_64/tls.h: Moved ...
5987 * sysdeps/x86_64/nptl/tls.h: ... here.
5988 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
5989 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
5990 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
5991 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
5993 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
5995 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5999 2014-06-11 Joseph Myers <joseph@codesourcery.com>
6001 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6003 [POSIX] (off_t): Likewise.
6004 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6005 [POSIX] (S_ISBLK): Require macro.
6006 [POSIX] (S_ISCHR): Likewise.
6007 [POSIX] (S_ISDIR): Likewise.
6008 [POSIX] (S_ISFIFO): Likewise.
6009 [POSIX] (S_ISREG): Likewise.
6010 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6012 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6014 [POSIX] (time_t): Likewise.
6015 [POSIX] (timer_t): Likewise.
6017 2014-06-11 Florian Weimer <fweimer@redhat.com>
6020 * posix/spawn_int.h (struct __spawn_action): Make the path string
6021 non-const to support deallocation.
6022 * posix/spawn_faction_addopen.c
6023 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6024 * posix/spawn_faction_destroy.c
6025 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6026 path in all spawn_do_open actions.
6027 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6028 posix_spawn_file_actions_addopen.
6030 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6032 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6033 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6034 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6035 conditional code always true.
6036 (__libc_vfork): New alias.
6038 2014-06-11 Roland McGrath <roland@hack.frob.com>
6040 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6041 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6043 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6045 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6046 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6048 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6049 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6051 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6052 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6054 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6056 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6057 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6058 multiarch strcmp for PPC64.
6059 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6062 multiarch optimizations.
6063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6064 (__libc_ifunc_impl_list): Likewise.
6066 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6068 * benchtests/scripts/validate_benchout.py: New script.
6069 * benchtests/Makefile (bench-func): Call it.
6070 * benchtests/scripts/benchout.schema.json: New file.
6072 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6074 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6075 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6076 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6077 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6078 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6079 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6080 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6081 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6082 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6083 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6084 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6085 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6086 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6087 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6088 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6089 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
6092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
6094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
6096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
6099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
6101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
6103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
6105 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
6107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6108 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
6110 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
6112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
6114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
6116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
6118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
6121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
6123 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
6125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
6127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
6129 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
6131 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
6133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6134 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
6136 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
6138 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
6140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
6142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
6144 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
6146 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
6148 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
6151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
6153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
6155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
6157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
6159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
6162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
6164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
6166 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6167 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
6169 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6170 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
6172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
6174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
6176 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
6178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
6180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
6182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
6184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6185 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
6187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
6189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
6191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
6193 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6194 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6195 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6196 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
6199 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
6201 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6202 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6203 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6204 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6205 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6206 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6207 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6208 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6209 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6210 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6211 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6212 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6213 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
6215 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6216 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
6218 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6219 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6220 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6221 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
6223 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6224 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6225 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6226 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6227 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6228 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6229 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
6231 2014-06-10 Wilco <wdijkstr@arm.com>
6233 * math/test-fenv-return.c: New file.
6234 * math/Makefile: Add new test test-fenv-return.
6236 2014-06-10 Joseph Myers <joseph@codesourcery.com>
6239 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6241 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6242 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6243 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6244 0.0L for an argument of 1.0L.
6245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6247 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6248 value when x - 1 is zero.
6249 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6250 * sysdeps/i386/fpu/libm-test-ulps: Update.
6251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6253 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6256 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6258 2014-06-09 Roland McGrath <roland@hack.frob.com>
6260 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6261 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6263 2014-06-09 Roland McGrath <roland@hack.frob.com>
6265 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6266 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6268 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6269 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6271 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6272 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6274 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6275 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6277 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6278 if not already defined.
6279 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6280 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6281 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6282 (TLS_INIT_TP): Use it.
6283 (TLS_DEFINE_INIT_TP): New macro.
6284 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6286 2014-06-09 Joseph Myers <joseph@codesourcery.com>
6288 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6290 [POSIX] (IXANY): Likewise.
6291 [POSIX] (OLCUC): Likewise.
6292 [POSIX || POSIX2008] (CBAUD): Do not allow.
6293 [POSIX || POSIX2008] (DEFECHO): Likewise.
6294 [POSIX || POSIX2008] (ECHOCTL): Likewise.
6295 [POSIX || POSIX2008] (ECHOKE): Likewise.
6296 [POSIX || POSIX2008] (ECHOPRT): Likewise.
6297 [POSIX || POSIX2008] (EXTA): Likewise.
6298 [POSIX || POSIX2008] (EXTB): Likewise.
6299 [POSIX || POSIX2008] (FLUSHO): Likewise.
6300 [POSIX || POSIX2008] (LOBLK): Likewise.
6301 [POSIX || POSIX2008] (PENDIN): Likewise.
6302 [POSIX || POSIX2008] (SWTCH): Likewise.
6303 [POSIX || POSIX2008] (VDISCARD): Likewise.
6304 [POSIX || POSIX2008] (VDSUSP): Likewise.
6305 [POSIX || POSIX2008] (VLNEXT): Likewise.
6306 [POSIX || POSIX2008] (VREPRINT): Likewise.
6307 [POSIX || POSIX2008] (VSTATUS): Likewise.
6308 [POSIX || POSIX2008] (VWERASE): Likewise.
6309 (B*): Change to B[0123456789]*.
6310 * conform/data/time.h-data [POSIX || UNIX98]
6311 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
6312 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6313 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
6314 [POSIX] (tm_*): Do not allow.
6316 2014-06-07 Joseph Myers <joseph@codesourcery.com>
6318 * Makefile (install): Don't set LANGUAGE.
6319 * Makefile.in (install): Likewise.
6320 * assert/Makefile (test-assert-ENV): Remove variable.
6321 (test-assert-perr-ENV): Likewise.
6322 * elf/Makefile (neededtest4-ENV): Likewise.
6323 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6324 [$(cross-compiling) = no]: Don't set LANGUAGE.
6325 * io/ftwtest-sh (LANG): Remove variable.
6326 * libio/Makefile (tst-widetext-ENV): Likewise.
6327 * manual/install.texi (Running make install): Don't refer to
6328 environment settings for make install.
6329 * INSTALL: Regenerated.
6330 * nptl/tst-tls6.sh: Don't set LANG.
6331 * posix/globtest.sh (LANG): Remove variable.
6332 * string/Makefile (tester-ENV): Likewise.
6333 (inl-tester-ENV): Likewise.
6334 (noinl-tester-ENV): Likewise.
6335 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6336 [$(cross-compiling) = no]: Don't set LANGUAGE.
6337 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
6338 without explicit environment settings.
6340 2014-06-06 Roland McGrath <roland@hack.frob.com>
6342 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
6343 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
6344 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
6345 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
6347 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
6349 * crypt/crypt-private.h [DOS]: Add some includes taken from the
6350 other files in the crypt directory.
6351 * crypt/crypt.c: Remove duplicate includes.
6352 * crypt/crypt-entry.c: Likewise.
6353 * crypt/crypt_util.c: Likewise.
6355 2014-06-06 Joseph Myers <joseph@codesourcery.com>
6357 * Makeconfig (run-program-env): New variable.
6358 (run-program-prefix-before-env): Likewise.
6359 (run-program-prefix-after-env): Likewise.
6360 (run-program-prefix): Define in terms of new variables.
6361 (built-program-cmd-before-env): New variable.
6362 (built-program-cmd-after-env): Likewise.
6363 (built-program-cmd): Define in terms of new variables.
6364 (test-program-prefix-before-env): New variable.
6365 (test-program-prefix-after-env): Likewise.
6366 (test-program-prefix): Define in terms of new variables.
6367 (test-program-cmd-before-env): New variable.
6368 (test-program-cmd-after-env): Likewise.
6369 (test-program-cmd): Define in terms of new variables.
6370 * Rules (make-test-out): Use $(run-program-env).
6371 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
6372 (help): Do not mention environment variables. Mention
6373 --timeoutfactor option.
6374 (timeoutfactor): New variable.
6375 (blacklist_exports): Remove function.
6376 (exports): Remove variable.
6377 (command): Do not include ${exports}.
6378 * manual/install.texi (Configuring and compiling): Do not mention
6379 test wrappers preserving environment variables. Mention that last
6380 assignment to a variable must take precedence.
6381 * INSTALL: Regenerated.
6382 * benchtests/Makefile (run-bench): Use $(run-program-env).
6383 * catgets/Makefile ($(objpfx)test1.cat): Use
6384 $(built-program-cmd-before-env), $(run-program-env) and
6385 $(built-program-cmd-after-env).
6386 ($(objpfx)test2.cat): Do not specify environment variables
6388 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
6389 $(run-program-env) and $(built-program-cmd-after-env).
6390 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
6391 $(run-program-env) and $(test-program-cmd-after-env).
6392 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
6394 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
6395 run_program_env and test_program_cmd_after_env arguments.
6396 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
6397 * elf/tst-pathopt.sh: Use run_program_env argument.
6398 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
6399 $(test-wrapper-env) and $(run-program-env).
6400 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
6401 run_program_env arguments.
6402 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
6403 * intl/Makefile ($(objpfx)tst-gettext.out): Use
6404 $(test-program-prefix-before-env), $(run-program-env) and
6405 $(test-program-prefix-after-env).
6406 ($(objpfx)tst-gettext2.out): Likewise.
6407 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
6408 run_program_env and test_program_prefix_after_env arguments.
6409 * intl/tst-gettext2.sh: Likewise.
6410 * intl/tst-gettext4.sh: Do not set environment variables
6412 * intl/tst-gettext6.sh: Likewise.
6413 * intl/tst-translit.sh: Likewise.
6414 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
6415 $(test-program-prefix-before-env), $(run-program-env) and
6416 $(test-program-prefix-after-env).
6417 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
6418 run_program_env and test_program_prefix_after_env arguments.
6419 * math/Makefile (run-regen-ulps): Use $(run-program-env).
6420 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
6421 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
6422 explicitly with each use of ${test_wrapper_env}.
6423 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
6424 $(test-program-prefix-before-env), $(run-program-env) and
6425 $(test-program-prefix-after-env).
6426 * posix/tst-getconf.sh: Do not set environment variables
6428 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
6429 run_program_env and test_program_prefix_after_env arguments.
6430 * stdio-common/tst-printf.sh: Do not set environment variables
6432 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
6433 $(test-program-prefix-before-env), $(run-program-env) and
6434 $(test-program-prefix-after-env).
6435 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
6436 run_program_env and test_program_prefix_after_env arguments.
6437 Split $test calls into $test_pre and $test.
6438 * timezone/Makefile (build-testdata): Use
6439 $(built-program-cmd-before-env), $(run-program-env) and
6440 $(built-program-cmd-after-env).
6442 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6444 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
6445 strlen for non SHARED builds.
6447 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6449 * nptl/allocatestack.c (check_list): Inlined function...
6450 (__reclaim_stacks): ... here.
6452 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6455 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6458 2014-06-05 Joseph Myers <joseph@codesourcery.com>
6460 * Rules (make-test-out): Include
6461 LOCPATH=$(common-objpfx)localedata in default environment.
6462 * debug/Makefile (tst-chk1-ENV): Remove variable.
6463 (tst-chk2-ENV): Likewise.
6464 (tst-chk3-ENV): Likewise.
6465 (tst-chk4-ENV): Likewise.
6466 (tst-chk5-ENV): Likewise.
6467 (tst-chk6-ENV): Likewise.
6468 (tst-lfschk1-ENV): Likewise.
6469 (tst-lfschk2-ENV): Likewise.
6470 (tst-lfschk3-ENV): Likewise.
6471 (tst-lfschk4-ENV): Likewise.
6472 (tst-lfschk5-ENV): Likewise.
6473 (tst-lfschk6-ENV): Likewise.
6474 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
6475 (tst-iconv7-ENV): Likewise.
6476 * intl/Makefile (LOCPATH-ENV): Likewise.
6477 (tst-codeset-ENV): Likewise.
6478 (tst-gettext3-ENV): Likewise.
6479 (tst-gettext5-ENV): Likewise.
6480 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
6481 (tst-fopenloc-ENV): Likewise.
6482 (tst-fgetws-ENV): Remove variable.
6483 (tst-ungetwc1-ENV): Likewise.
6484 (tst-ungetwc2-ENV): Likewise.
6485 (bug-ungetwc2-ENV): Likewise.
6486 (tst-swscanf-ENV): Likewise.
6487 (bug-ftell-ENV): Likewise.
6488 (tst-fgetwc-ENV): Likewise.
6489 (tst-fseek-ENV): Likewise.
6490 (tst-ftell-partial-wide-ENV): Likewise.
6491 (tst-ftell-active-handler-ENV): Likewise.
6492 (tst-ftell-append-ENV): Likewise.
6493 * posix/Makefile (tst-fnmatch-ENV): Likewise.
6494 (tst-regexloc-ENV): Likewise.
6495 (bug-regex1-ENV): Likewise.
6496 (tst-regex-ENV): Likewise.
6497 (tst-regex2-ENV): Likewise.
6498 (bug-regex5-ENV): Likewise.
6499 (bug-regex6-ENV): Likewise.
6500 (bug-regex17-ENV): Likewise.
6501 (bug-regex18-ENV): Likewise.
6502 (bug-regex19-ENV): Likewise.
6503 (bug-regex20-ENV): Likewise.
6504 (bug-regex22-ENV): Likewise.
6505 (bug-regex23-ENV): Likewise.
6506 (bug-regex25-ENV): Likewise.
6507 (bug-regex26-ENV): Likewise.
6508 (bug-regex30-ENV): Likewise.
6509 (bug-regex32-ENV): Likewise.
6510 (bug-regex33-ENV): Likewise.
6511 (bug-regex34-ENV): Likewise.
6512 (bug-regex35-ENV): Likewise.
6513 (tst-rxspencer-ENV): Likewise.
6514 (tst-rxspencer-no-utf8-ENV): Likewise.
6515 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
6516 (tst-sscanf-ENV): Likewise.
6517 (tst-swprintf-ENV): Likewise.
6518 (tst-swscanf-ENV): Likewise.
6519 (test-vfprintf-ENV): Likewise.
6520 (scanf13-ENV): Likewise.
6521 (bug14-ENV): Likewise.
6522 (tst-grouping-ENV): Likewise.
6523 * stdlib/Makefile (tst-strtod-ENV): Likewise.
6524 (tst-strtod3-ENV): Likewise.
6525 (tst-strtod4-ENV): Likewise.
6526 (tst-strtod5-ENV): Likewise.
6527 (testmb2-ENV): Likewise./
6528 * string/Makefile (tst-strxfrm-ENV): Likewise.
6529 (tst-strxfrm2-ENV): Likewise.
6530 (bug-strcoll1-ENV): Likewise.
6531 (test-strcasecmp-ENV): Likewise.
6532 (test-strncasecmp-ENV): Likewise.
6533 * time/Makefile (tst-strptime-ENV): Likewise.
6534 (tst-ftime_l-ENV): Likewise.
6535 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
6536 (tst-mbrtowc-ENV): Likewise.
6537 (tst-wcrtomb-ENV): Likewise.
6538 (tst-mbrtowc2-ENV): Likewise.
6539 (tst-c16c32-1-ENV): Likewise.
6540 (tst-mbsnrtowcs-ENV): Likewise.
6542 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
6544 * manual/resource.texi (How to get information about the memory
6545 subsystem?): Fix typo.
6546 Reported by Peon de la Parra Ivan <peon@keba.com>
6548 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
6551 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
6552 (pthread_spin_lock): Branch out of spin loop to proper location.
6553 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
6554 (pthread_spin_lock): Likewise.
6556 * nptl/tst-spin4.c: New test.
6557 * nptl/Makefile (tests): Add tst-spin4.
6559 2014-06-03 Andreas Schwab <schwab@suse.de>
6562 * resolv/res_send.c (send_dg): Reload file descriptor after
6565 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
6567 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6569 2014-06-03 Richard Henderson <rth@redhat.com>
6571 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
6572 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
6573 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
6574 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
6575 in the SAVE_PID block.
6576 (__libc_vfork): New alias.
6577 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
6579 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
6580 child in registers, not on the stack. Remove RESET_PID conditionals.
6581 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
6583 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
6585 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6587 2014-06-03 Wilco <wdijkstr@arm.com>
6589 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
6590 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
6591 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6592 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
6593 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
6596 2014-06-03 Wilco <wdijkstr@arm.com>
6598 * sysdeps/aarch64/fpu/math_private.h
6599 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
6600 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
6601 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
6602 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
6605 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6607 * crypt/crypt-private.h: Include ufc-crypt.h.
6608 (__b64_from_24bit): Declare extern.
6609 * crypt/crypt_util.c(__b64_from_24bit): New function.
6610 (b64t): New static const variable.
6611 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
6612 (b64t): Remove variable.
6613 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
6614 * crypt/sha256-crypt.c: Include crypt-private.h.
6615 (b64t): Remove variable.
6616 (__sha256_crypt_r): Remove b64_from_24bit and replace
6617 with __b64_from_24bit.
6618 * crypt/sha512-crypt.c: Likewise.
6620 2014-06-02 Roland McGrath <roland@hack.frob.com>
6622 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
6623 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
6624 Label the code __libc_vfork rather than __vfork.
6625 [!NOT_IN_libc] (vfork): Define as weak alias.
6626 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
6627 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
6628 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
6630 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6632 * malloc/malloc.c (malloc_info): Fix format specifier for
6635 2014-06-02 Wilco <wdijkstr@arm.com>
6637 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
6640 2014-06-02 Wilco <wdijkstr@arm.com>
6643 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
6644 Rewrite to reduce FPCR/FPSR accesses.
6646 2014-06-01 David S. Miller <davem@davemloft.net>
6648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6650 2014-05-31 David S. Miller <davem@davemloft.net>
6652 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
6653 to occur in round to nearest mode when |x| >= 2.0
6655 2014-05-30 Richard Henderson <rth@twiddle.net>
6657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
6658 (PSEUDO_RET_NOERRNO): Remove.
6659 (ret): Don't redefine.
6660 (ret_NOERRNO): Define in terms of ret.
6661 (ret_ERRVAL): Likewise.
6663 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
6664 use of PSEUDO_RET; perform the error check directly.
6666 2014-05-30 Marko Myllynen <myllynen@redhat.com>
6668 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
6671 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6673 * malloc/malloc (malloc_info): Fix formatting.
6675 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6676 Roland McGrath <roland@hack.frob.com>
6678 * malloc/malloc (malloc_info): Also print mmapped statistics.
6680 2014-05-30 Roland McGrath <roland@hack.frob.com>
6682 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
6683 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
6685 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
6687 * malloc/malloc.c (malloc_info): Inline mi_arena.
6689 2014-05-29 Richard Henderson <rth@twiddle.net>
6691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
6692 Remove comma before expanding ASM_ARGS_##nr.
6693 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
6694 Make _x0 a strict output; make _x8 a strict input; adjust expansion
6696 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
6697 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
6698 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
6699 (ASM_ARGS_1): Add leading comma.
6701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
6702 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
6703 to __errno_location.
6704 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
6705 Remove the expected plt for __errno_location.
6707 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6708 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
6711 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6712 Always allocate 64 bytes of stack frame. Use ldp/stp to create
6713 it and break it down.
6714 (DOCARGS_0, DOCARGS_1): Do nothing.
6715 (DOCARGS_2): Update to store into the new stack frame.
6716 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
6717 (UNDOCARGS_1): Update to restore from the new stack frame.
6718 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
6719 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
6721 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6722 (SINGLE_THREAD_P): New parameter for result regno.
6723 (PSEUDO): Update to match; use cbz instead of beq.
6725 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6726 Use ENTRY to define the _nocancel entry point. Share the syscall
6727 and syscall error check paths with the cancel path.
6730 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
6731 whitespace; tabs before and after asm mnemonics.
6733 2014-05-29 Eric Wong <normalperson@yhbt.net>
6736 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6737 Call fstat64 or stat64 internally, depending on arguments passed.
6738 Replace stat buffer argument with file descriptor argument.
6739 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
6740 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6741 Pass fd to __internal_statvfs instead of calling fstat64.
6742 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
6743 Pass fd to __internal_statvfs64 instead of calling fstat64.
6744 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
6745 Pass -1 to __internal_statvfs instead of calling stat64.
6746 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
6747 Pass -1 to __internal_statvfs64 instead of calling stat64.
6749 2014-05-28 Roland McGrath <roland@hack.frob.com>
6751 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
6752 that was previously under [RESET_PID].
6753 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
6755 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
6756 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
6758 2014-05-27 Roland McGrath <roland@hack.frob.com>
6760 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
6762 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
6763 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
6765 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
6767 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
6769 2014-05-27 Andreas Schwab <schwab@suse.de>
6771 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
6773 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
6774 * elf/rtld.c (init_tls, dl_main): Likewise.
6775 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
6776 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
6777 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
6778 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
6779 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
6780 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
6781 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
6782 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
6783 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
6784 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
6785 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
6786 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
6787 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
6788 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
6789 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
6790 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
6791 * sysdeps/generic/tls.h: Update description.
6793 2014-05-27 Will Newton <will.newton@linaro.org>
6796 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
6797 and restore r2 rather than just restoring.
6799 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6802 * libio/tst-ftell-append.c: New test case.
6803 * libio/Makefile (tests): Add test case.
6804 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
6806 * libio/wfileops.c (do_ftell_wide): Likewise.
6808 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6812 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
6814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
6815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6816 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
6817 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
6819 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
6821 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
6822 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
6825 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
6828 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
6829 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
6831 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
6834 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
6835 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
6837 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
6839 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
6841 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
6842 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
6843 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
6845 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
6846 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
6847 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
6848 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
6853 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
6855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
6859 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
6861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
6863 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
6866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
6868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
6870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
6871 conditional [RESET_PID].
6872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6873 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
6875 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
6880 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6881 (__libc_vfork): New strong alias.
6882 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
6884 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
6887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
6889 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
6890 (__libc_vfork): New strong alias.
6891 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
6893 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
6896 2014-05-26 Carlos O'Donell <carlos@redhat.com>
6898 * malloc/malloc.c (mi_arena): New function.
6899 (malloc_info): Remove nested function mi_arena. Call non-nosted
6902 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6904 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
6906 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
6907 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
6908 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
6909 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
6910 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
6911 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
6912 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
6914 2014-05-26 Andreas Schwab <schwab@suse.de>
6917 * locale/programs/repertoire.c (repertoire_read): Add slash
6918 between I18NPATH element and file name.
6919 * locale/programs/locfile.c (locfile_read): Likewise.
6921 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6923 * nptl/pthread_mutexattr_settype.c
6924 (__pthread_mutexattr_settype):
6925 Disable lock elision for PTHREAD_MUTEX_NORMAL.
6927 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
6929 * nptl/tst-mutex5 (do_test):
6930 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
6932 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6934 * benchtests/README: Document 'init' directive.
6935 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
6937 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
6938 (parse_file): Recognize 'init' directive.
6940 2014-05-26 Kyle McMartin <kyle@redhat.com>
6943 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
6944 alignment of struct pthread.
6946 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6949 * nscd/netgroupcache.c (addgetnetgrentX): Look for
6950 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6951 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
6952 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6954 2014-05-25 Richard Henderson <rth@twiddle.net>
6956 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
6957 (SINGLE_THREAD_P_PIC): Remove.
6958 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
6959 (SINGLE_THREAD_P_PIC): Remove.
6961 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
6962 branch to syscall error ...
6964 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
6965 from __local_syscall_error to .Lsyscall_error.
6966 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
6967 (SYSCALL_ERROR): Update label name.
6969 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
6970 Do not use DOARGS/UNDOARGS.
6971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
6972 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
6973 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
6974 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
6975 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
6977 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
6980 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
6981 define if !NOT_IN_libc.
6982 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
6983 define with non-default symbol versions.
6985 2014-05-23 Richard Henderson <rth@twiddle.net>
6987 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
6988 (vfork, __vfork): Define via compat_symbol.
6990 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
6991 [!HAVE_IFUNC] (vfork_compat): Remove.
6992 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
6994 2014-05-23 Joseph Myers <joseph@codesourcery.com>
6997 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
6998 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7001 2014-05-23 Richard Henderson <rth@twiddle.net>
7003 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7004 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7005 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7006 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7008 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7009 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7010 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7011 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7012 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7013 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7014 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7015 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7016 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7017 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7018 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7019 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7020 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7025 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7026 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7027 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7028 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7029 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7030 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7031 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7032 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7033 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7034 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7035 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7041 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7042 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7043 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7044 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7045 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7047 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7048 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7049 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7050 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7051 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7052 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7053 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7054 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7055 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7056 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7057 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7058 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7059 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7060 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7061 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7062 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7063 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7065 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7066 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7067 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7068 before exiting on error.
7069 (__libc_vfork): New strong alias.
7070 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7071 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7073 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7074 that was previously under [RESET_PID].
7075 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7077 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7079 2014-05-23 Joseph Myers <joseph@codesourcery.com>
7082 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7083 value when x - 1 is zero.
7084 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7085 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7086 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7087 0.0L for an argument of 1.0L.
7088 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7090 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7091 value when x - 1 is zero.
7092 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7093 * sysdeps/i386/fpu/libm-test-ulps: Update.
7094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7096 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7098 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7099 alphasort and versionsort.
7101 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7103 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7105 [copysignf]: Likewise.
7107 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7109 * crypt/md5-crypt.c: Fix formatting.
7111 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7113 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7114 (b64_from_24bit): New function.
7116 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7119 libc_hidden_builtin_def to ifunc.
7120 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7121 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7123 2014-05-21 Roland McGrath <roland@hack.frob.com>
7125 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7126 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7128 2014-05-21 Joseph Myers <joseph@codesourcery.com>
7130 * nscd/Depend (linuxthreads): Remove.
7132 * resolv/Depend (linuxthreads): Remove.
7133 * rt/Depend (linuxthreads): Remove.
7135 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7136 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7137 $(common-objpfx)elf/.
7138 (link-libc-before-gnulib): Likewise.
7139 (elfobjdir): Remove variable.
7140 * Makefile (install): Use $(elf-objpfx) instead of
7141 $(common-objpfx)elf/.
7142 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7144 (link-libc-deps): Likewise.
7145 ($(common-objpfx)libc.so): Likewise.
7146 ($(common-objpfx)linkobj/libc.so): Likewise.
7147 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7148 instead of $(common-objpfx)elf/.
7149 (symbolic-link-list): Likewise.
7150 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7151 [$(cross-compiling) = no]: Likewise.
7152 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7154 (static-gnulib-arch): Likewise.
7155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7156 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7157 $(common-objpfx)elf/.
7159 2014-05-21 Richard Henderson <rth@redhat.com>
7161 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7162 (SINGLE_THREAD_P): Use the correct width load. Fold
7163 into the ldr offset.
7165 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7166 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7168 2014-05-20 Joseph Myers <joseph@codesourcery.com>
7170 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7171 (libgcc_s_resume): Use __attribute_used__.
7172 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7175 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7177 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7178 optimization when used with float constants.
7180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7182 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7185 * locale/nl_langinfo_l.c: Make direct reference to every
7186 _nl_current_CATEGORY symbol.
7187 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7188 (tests-static): Add tst-langinfo-static.
7189 (tests-special): Add tst-langinfo-static.out.
7190 ($(objpfx)tst-langinfo.out): Redirect output.
7191 ($(objpfx)tst-langinfo-static.out): New.
7192 * localedata/tst-langinfo.sh: Send output to stdout.
7193 * localedata/tst-langinfo-static.c: New file.
7196 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7197 when the shift amount is modulo the limb size.
7199 2014-05-20 Richard Henderson <rth@redhat.com>
7202 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7203 Change type of sa_flags from unsigned int to int.
7206 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
7208 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7210 2014-05-20 Will Newton <will.newton@linaro.org>
7212 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7213 Test the return value of the system call in the nocancel case.
7215 2014-05-20 Will Newton <will.newton@linaro.org>
7216 Yvan Roux <yvan.roux@linaro.org>
7218 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7219 #include of asm/ptrace.h.
7220 (PTRACE_GET_THREAD_AREA): Remove #undef.
7221 (PTRACE_GETHBPREGS): Likewise.
7222 (PTRACE_SETHBPREGS): Likewise.
7223 (struct user_regs_struct): New structure.
7224 (struct user_fpsimd_struct): New structure.
7225 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7226 #include of asm/ptrace.h and second #include of sys/user.h.
7227 (PTRACE_GET_THREAD_AREA): Remove #undef.
7228 (PTRACE_GETHBPREGS): Likewise.
7229 (PTRACE_SETHBPREGS): Likewise.
7230 (ELF_NGREG): Use new struct user_regs_struct.
7231 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7233 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7235 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7236 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7238 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7241 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7242 membar to avoid block loads/stores to overlap previous stores.
7244 2014-05-17 Richard Henderson <rth@redhat.com>
7246 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7247 Create the __##syscall_name##_nocancel entry point.
7248 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7249 Remove; let the sysdep-cancel.h code create it.
7251 2014-05-17 David S. Miller <davem@davemloft.net>
7253 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7254 Protect with __USE_GNU.
7255 (TIOCSET_TEMPT): Likewise.
7256 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7257 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7258 these are already provided in bits/ioctl-types.h
7260 2014-05-16 Roland McGrath <roland@hack.frob.com>
7262 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7263 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7265 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7266 Use wait4 regardless of [__NR_waitpid].
7268 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7271 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7272 (_FP_NANSIGN_Q): Set the quiet bit.
7274 2014-05-16 Joseph Myers <joseph@codesourcery.com>
7276 * benchtests/Makefile
7277 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7278 not $(common-objpfx)math/libm.so.
7279 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7280 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7281 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7282 $(common-objpfx)dlfcn/libdl.so.
7283 ($(objpfx)tst-audit8): Depend on $(libm), not
7284 $(common-objpfx)math/libm.so.
7285 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7286 not $(common-objpfx)dlfcn/libdl.so.
7288 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7289 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7290 [$(build-shared) = yes].
7291 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
7292 $(common-objpfx)nptl/libpthread.so.
7293 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
7294 $(common-objpfx)math/libm.so$(libm.so-version) or
7295 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
7296 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
7297 $(common-objpfx)dlfcn/libdl.so.
7298 * setjmp/Makefile (link-libm): Remove variable.
7299 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
7300 * stdio-common/Makefile (link-libm): Remove variable.
7301 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
7302 * stdlib/Makefile (link-libm): Remove variable.
7303 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
7304 ($(objpfx)tst-strtod-round): Likewise.
7305 ($(objpfx)tst-tininess): Likewise.
7306 ($(objpfx)tst-strtod-underflow): Likewise.
7307 ($(objpfx)tst-strtod6): Likewise.
7308 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
7309 $(libdl), not $(common-objpfx)nptl/libpthread.so and
7310 $(common-objpfx)dlfcn/libdl.so.
7312 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7314 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
7315 BSD terminal modes definitions.
7317 2014-05-16 Roland McGrath <roland@hack.frob.com>
7319 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
7320 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
7322 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
7323 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
7324 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
7325 Don't do #include_next.
7326 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
7327 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
7328 Don't do #include_next.
7329 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
7330 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
7331 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
7332 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
7334 2014-05-16 Allan McRae <allan@archlinux.org>
7336 * po/sv.po: Update Swedish translation from translation project.
7338 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
7341 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
7344 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
7345 errno if the TIOCGPTN ioctl fails with an error different than
7347 * login/tst-ptsname.c: New file.
7348 * login/Makefile (tests): Add tst-ptsname.
7351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
7354 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
7358 herrno to return EAI_AGAIN.
7360 2014-05-14 Roland McGrath <roland@hack.frob.com>
7362 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
7363 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
7364 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
7365 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
7366 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
7367 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
7368 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
7369 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
7370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
7371 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
7372 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
7373 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
7374 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
7375 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
7376 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
7377 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
7378 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
7379 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
7380 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
7381 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
7382 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
7383 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
7384 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
7385 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
7386 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
7387 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
7388 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
7389 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
7390 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
7391 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
7392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
7393 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
7394 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
7395 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
7396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
7398 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
7399 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
7400 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
7401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
7402 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
7403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
7404 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
7405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
7406 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
7407 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
7408 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
7409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
7410 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
7411 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
7412 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
7413 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
7414 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
7415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
7416 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
7417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
7418 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
7419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
7420 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
7421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
7422 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
7423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
7424 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
7425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
7427 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
7428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
7429 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
7430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
7431 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
7432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
7433 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
7434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
7435 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
7436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
7437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
7438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
7439 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
7441 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
7443 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
7445 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
7448 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
7450 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
7452 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
7453 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
7454 (libpthread-sysdep_routines): Add elision-related stuff here instead.
7455 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
7456 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
7457 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
7458 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
7459 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
7460 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
7461 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
7462 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
7463 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
7464 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
7465 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
7466 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
7467 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
7468 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
7469 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
7470 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
7471 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
7472 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
7473 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
7474 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
7475 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
7476 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
7477 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
7478 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
7479 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
7480 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
7481 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
7482 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
7484 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
7485 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
7487 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
7488 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
7489 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
7490 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
7491 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
7492 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
7494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
7495 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7497 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
7498 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7500 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
7501 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
7503 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
7504 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
7505 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
7506 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7508 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
7509 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
7510 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
7511 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
7512 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
7513 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
7514 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
7515 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7517 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
7518 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
7522 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
7523 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
7524 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
7525 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
7526 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
7530 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
7532 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
7533 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
7534 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
7535 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
7536 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
7537 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
7539 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7542 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7545 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
7546 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
7548 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
7549 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
7550 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
7551 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
7553 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
7554 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
7555 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
7556 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
7557 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
7558 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
7559 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
7560 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7562 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
7563 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7565 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
7567 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
7568 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
7569 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
7570 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
7571 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7573 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
7575 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
7577 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
7578 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
7579 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
7580 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
7581 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
7582 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
7583 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
7584 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
7585 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
7586 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
7588 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
7589 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7591 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7594 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
7597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
7598 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
7599 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
7600 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
7601 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7604 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
7606 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
7608 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
7610 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7613 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
7614 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7616 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
7618 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
7619 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
7620 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
7621 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
7622 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7624 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
7626 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
7628 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
7630 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
7631 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
7632 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
7634 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
7636 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
7637 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
7638 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
7640 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
7641 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
7643 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
7644 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
7646 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
7647 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
7648 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
7649 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
7650 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
7651 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
7652 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
7653 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
7654 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
7655 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
7656 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
7657 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
7658 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
7659 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
7660 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
7661 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
7662 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
7663 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
7665 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
7667 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
7670 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
7671 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
7672 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
7673 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
7674 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
7675 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
7676 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
7679 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
7682 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
7683 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
7684 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
7685 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
7686 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
7687 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
7688 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
7690 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
7692 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
7693 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
7694 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
7695 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
7696 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
7697 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
7698 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
7700 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
7701 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
7702 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
7703 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
7704 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
7706 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
7707 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
7709 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
7710 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
7711 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
7712 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
7713 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
7714 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
7715 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
7717 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
7718 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
7720 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
7721 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
7722 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
7723 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
7724 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
7725 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
7726 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
7727 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
7728 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
7729 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
7730 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
7731 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
7732 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
7733 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
7734 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
7736 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
7738 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7740 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7744 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
7746 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
7748 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7750 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
7752 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
7754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
7755 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
7756 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
7757 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
7758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
7759 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
7760 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
7761 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
7762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
7763 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
7764 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
7765 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
7766 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
7767 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
7768 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
7770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
7771 that was previously under [RESET_PID].
7772 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7773 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
7774 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
7776 * sysdeps/i386/nptl/Implies: New file.
7777 * sysdeps/x86_64/nptl/Implies: New file.
7778 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
7779 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
7780 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
7781 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
7783 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
7784 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7785 (__libc_vfork): New strong alias.
7786 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
7787 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
7789 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
7790 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7791 (__libc_vfork): New strong alias.
7792 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
7793 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
7795 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
7796 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7797 (__libc_vfork): New strong alias.
7798 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
7799 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
7800 * nptl/pt-vfork.c: New file.
7801 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
7802 (libpthread: GLIBC_2.20): New version set (empty).
7804 2014-05-14 Will Newton <will.newton@linaro.org>
7806 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
7809 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7812 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
7813 arguments with exponent 65 or above.
7814 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
7815 arguments 0x1p113L or above.
7816 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
7817 to arguments 0x1p107L or above.
7818 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
7819 positive arguments with exponent 65 or above.
7820 * math/auto-libm-test-in: Add more tests of log1p.
7821 * math/auto-libm-test-out: Regenerated.
7824 * math/s_cacos.c (__cacos): Ensure zero real part of result from
7825 non-finite arguments is +0.
7826 * math/s_cacosf.c (__cacosf): Likewise.
7827 * math/s_cacosl.c (__cacosl): Likewise.
7828 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
7829 * sysdeps/i386/fpu/libm-test-ulps: Update.
7830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7833 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
7835 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7836 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
7837 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
7838 for explicit high bit of mantissa when testing for argument equal
7840 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
7841 * sysdeps/i386/fpu/libm-test-ulps: Update.
7842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7845 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
7846 (__erf): Scale by 16 instead of 8 in potentially underflowing
7847 case. Ensure exception if result actually underflows.
7848 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
7849 (__erff): Scale by 16 instead of 8 in potentially underflowing
7850 case. Ensure exception if result actually underflows.
7851 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
7852 (efx8): Remove variable.
7853 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7854 case. Ensure exception if result actually underflows.
7855 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
7856 (efx8): Remove variable.
7857 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7858 case. Ensure exception if result actually underflows.
7859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
7860 (efx8): Remove variable.
7861 (__erfl): Scale by 16 instead of 8 in potentially underflowing
7862 case. Ensure exception if result actually underflows.
7863 * math/auto-libm-test-in: Add more tests of erf.
7864 * math/auto-libm-test-out: Regenerated.
7866 2014-05-14 Andreas Schwab <schwab@suse.de>
7868 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
7869 Remove code conditionalized on USE___THREAD.
7871 * config.h.in (HAVE_PT_CHOWN): Define as 0.
7872 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
7875 2014-05-14 Joseph Myers <joseph@codesourcery.com>
7877 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
7878 Define unconditionally.
7879 (__ASSUME_O_CLOEXEC): Likewise.
7880 (__ASSUME_SOCK_CLOEXEC): Likewise.
7881 (__ASSUME_IN_NONBLOCK): Likewise.
7882 (__ASSUME_PIPE2): Likewise.
7883 (__ASSUME_EVENTFD2): Likewise.
7884 (__ASSUME_SIGNALFD4): Likewise.
7885 (__ASSUME_DUP3): Likewise.
7886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7887 (__ASSUME_DUP3): Do not define.
7888 (__ASSUME_EVENTFD2): Likewise.
7889 (__ASSUME_IN_NONBLOCK): Likewise.
7890 (__ASSUME_O_CLOEXEC): Likewise.
7891 (__ASSUME_PIPE2): Likewise.
7892 (__ASSUME_SIGNALFD4): Likewise.
7893 (__ASSUME_SOCK_CLOEXEC): Likewise.
7894 (__ASSUME_UTIMES): Undefine.
7895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7896 (__ASSUME_UTIMES): Do not define.
7897 (__ASSUME_O_CLOEXEC): Likewise.
7898 (__ASSUME_SOCK_CLOEXEC): Likewise.
7899 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
7900 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
7902 (__ASSUME_PIPE2): Likewise.
7903 (__ASSUME_EVENTFD2): Likewise.
7904 (__ASSUME_SIGNALFD4): Likewise.
7905 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
7906 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
7908 (__ASSUME_EVENTFD2): Likewise.
7909 (__ASSUME_SIGNALFD4): Likewise.
7910 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7911 (__ASSUME_32BITUIDS): Likewise.
7912 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
7913 (__ASSUME_IPC64): Likewise.
7914 (__ASSUME_ST_INO_64_BIT): Likewise.
7915 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
7916 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
7917 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7918 (__ASSUME_UTIMES): Do not define.
7919 (__ASSUME_PSELECT): Likewise.
7920 (__ASSUME_PPOLL): Likewise.
7921 (__ASSUME_O_CLOEXEC): Likewise.
7922 (__ASSUME_SOCK_CLOEXEC): Likewise.
7923 (__ASSUME_IN_NONBLOCK): Likewise.
7924 (__ASSUME_PIPE2): Likewise.
7925 (__ASSUME_EVENTFD2): Likewise.
7926 (__ASSUME_SIGNALFD4): Likewise.
7927 (__ASSUME_DUP3): Likewise.
7928 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7929 (__ASSUME_UTIMES): Likewise.
7930 (__ASSUME_O_CLOEXEC): Likewise.
7931 (__ASSUME_SOCK_CLOEXEC): Likewise.
7932 (__ASSUME_IN_NONBLOCK): Likewise.
7933 (__ASSUME_PIPE2): Likewise.
7934 (__ASSUME_EVENTFD2): Likewise.
7935 (__ASSUME_SIGNALFD4): Likewise.
7936 (__ASSUME_DUP3): Likewise.
7937 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7938 (__ASSUME_UTIMES): Likewise.
7939 (__ASSUME_O_CLOEXEC): Likewise.
7940 (__ASSUME_SOCK_CLOEXEC): Likewise.
7941 (__ASSUME_IN_NONBLOCK): Likewise.
7942 (__ASSUME_PIPE2): Likewise.
7943 (__ASSUME_EVENTFD2): Likewise.
7944 (__ASSUME_SIGNALFD4): Likewise.
7945 (__ASSUME_DUP3): Likewise.
7946 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
7948 (__ASSUME_UTIMES): Likewise.
7949 (__ASSUME_EVENTFD2): Likewise.
7950 (__ASSUME_SIGNALFD4): Likewise.
7951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7952 (__ASSUME_O_CLOEXEC): Likewise.
7953 (__ASSUME_SOCK_CLOEXEC): Likewise.
7954 (__ASSUME_IN_NONBLOCK): Likewise.
7955 (__ASSUME_PIPE2): Likewise.
7956 (__ASSUME_EVENTFD2): Likewise.
7957 (__ASSUME_SIGNALFD4): Likewise.
7958 (__ASSUME_DUP3): Likewise.
7959 (__ASSUME_UTIMES): Undefine.
7961 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
7962 feclearexcept. Remove symbol versioning code.
7963 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
7964 symbol versioning code.
7965 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
7966 symbol versioning code.
7967 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
7968 feupdateenv. Remove symbol versioning code.
7969 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
7970 fegetexceptflag. Remove symbol versioning code.
7971 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
7972 fesetexceptflag. Remove symbol versioning code.
7973 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
7974 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
7975 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
7976 (__posix_fadvise64_l32): Remove prototype.
7977 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
7980 2014-05-13 Roland McGrath <roland@hack.frob.com>
7982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
7983 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
7984 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
7985 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
7987 2014-05-13 Sami Kerola <kerolasa@iki.fi>
7989 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
7990 current working directory
7992 2014-05-13 Roland McGrath <roland@hack.frob.com>
7994 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
7995 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
7996 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
7997 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
7998 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
7999 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8000 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8003 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8004 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8005 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8006 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8007 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8008 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8009 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8010 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8011 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8012 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8013 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8015 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8016 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8017 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8018 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8019 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8021 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8022 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8023 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8024 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8025 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8027 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8028 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8029 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8030 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8031 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8032 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8033 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8034 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8035 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8037 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8038 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8040 * sysdeps/unix/sysv/linux/arm/Makefile
8041 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8042 Add rt-aeabi_unwind_cpp_pr1.
8043 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8044 Add nptl-aeabi_unwind_cpp_pr1.
8045 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8046 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8047 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8048 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8049 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8050 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8052 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8053 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8054 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8055 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8057 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8058 Deconditionalize the code that was previously under [RESET_PID].
8059 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8061 * sysdeps/generic/exit-thread.h: New file.
8062 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8063 * include/unistd.h (__exit_thread): Remove declaration.
8064 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8065 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8066 * csu/libc-start.c: Include <exit-thread.h>.
8067 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8068 * nptl/pthread_create.c: Include <exit-thread.h>.
8069 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8070 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8071 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8072 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8073 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8074 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8075 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8076 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8077 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8078 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8079 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8080 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8081 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8082 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8083 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8084 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8085 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8087 2014-05-13 Andreas Schwab <schwab@suse.de>
8089 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8091 2014-05-12 Joseph Myers <joseph@codesourcery.com>
8093 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8094 (__ASSUME_UTIMES): Do not condition on kernel version.
8095 (__ASSUME_PSELECT): Define unconditionally.
8096 (__ASSUME_PPOLL): Likewise.
8097 (__ASSUME_ATFCTS): Likewise.
8098 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8099 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8100 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8101 (__ASSUME_UTIMENSAT): Define unconditionally.
8102 (__ASSUME_PRIVATE_FUTEX): Likewise.
8103 (__ASSUME_FALLOCATE): Likewise.
8104 (__ASSUME_O_CLOEXEC): Likewise.
8105 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8106 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8107 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8108 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8109 (__ASSUME_IN_NONBLOCK): Likewise.
8110 (__ASSUME_PIPE2): Likewise.
8111 (__ASSUME_EVENTFD2): Likewise.
8112 (__ASSUME_SIGNALFD4): Likewise.
8113 (__ASSUME_DUP3): Likewise.
8114 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8115 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8116 (__ASSUME_AT_RANDOM): Likewise.
8117 (__ASSUME_PREADV): Likewise.
8118 (__ASSUME_PWRITEV): Likewise.
8119 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8120 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8121 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8122 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8123 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8124 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8125 (__ASSUME_O_CLOEXEC): Define unconditionally.
8126 (__ASSUME_PSELECT): Do not undefine conditionally.
8127 (__ASSUME_PPOLL): Likewise.
8128 (__ASSUME_ATFCTS): Likewise.
8129 (__ASSUME_SET_ROBUST_LIST): Likewise.
8130 (__ASSUME_UTIMENSAT): Likewise.
8131 (__ASSUME_FDATASYNC): Define unconditionally.
8132 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8133 (__ASSUME_SIGFRAME_V2): Likewise.
8134 )__ASSUME_EVENTFD2): Likewise.
8135 (__ASSUME_SIGNALFD4): Likewise.
8136 (__ASSUME_PSELECT): Do not undefine conditionally.
8137 (__ASSUME_PPOLL): Likewise.
8138 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8139 (__ASSUME_PSELECT): Define unconditionally.
8140 (__ASSUME_PPOLL): Likewise.
8141 (__ASSUME_O_CLOEXEC): Likewise.
8142 (__ASSUME_SOCK_CLOEXEC): Likewise.
8143 (__ASSUME_IN_NONBLOCK): Likewise.
8144 (__ASSUME_PIPE2): Likewise.
8145 (__ASSUME_EVENTFD2): Likewise.
8146 (__ASSUME_SIGNALFD4): Likewise.
8147 (__ASSUME_DUP3): Likewise.
8148 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8149 (__ASSUME_O_CLOEXEC): Likewise.
8150 (__ASSUME_SOCK_CLOEXEC): Likewise.
8151 (__ASSUME_IN_NONBLOCK): Likewise.
8152 (__ASSUME_PIPE2): Likewise.
8153 (__ASSUME_EVENTFD2): Likewise.
8154 (__ASSUME_SIGNALFD4): Likewise.
8155 (__ASSUME_DUP3): Likewise.
8156 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8157 (__ASSUME_EVENTFD2): Likewise.
8158 (__ASSUME_SIGNALFD4): Likewise.
8159 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8161 2014-05-12 Andreas Schwab <schwab@suse.de>
8164 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8165 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8166 than maximum RPC packet size.
8167 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8168 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8169 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8170 (_nss_nis_getservbyport_r): Likewise.
8172 2014-05-12 Will Newton <will.newton@linaro.org>
8174 * malloc/Makefile (tests): Add tst-mallopt.
8175 * malloc/tst-mallopt.c: New file.
8177 2014-05-09 Roland McGrath <roland@hack.frob.com>
8179 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8180 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8182 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8184 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8185 (tst-tlsmod6.so): Likewise.
8187 2014-05-09 Roland McGrath <roland@hack.frob.com>
8189 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8191 2014-05-09 Joseph Myers <joseph@codesourcery.com>
8194 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8195 and <dl-procinfo.h>.
8196 (__fegetenv): Save SSE state in envp->__eip if supported.
8197 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8198 envp->__eip if supported.
8199 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8200 and <dl-procinfo.h>.
8201 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8202 __data_offset and __data_selector in environment to 0. Set SSE
8204 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8206 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8208 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8210 2014-05-09 Will Newton <will.newton@linaro.org>
8212 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8213 and libc_relro_required for ARM.
8214 * sysdeps/arm/preconfigure: Regenerate.
8216 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8217 Stefan Liebler <stli@linux.vnet.ibm.com>
8219 * config.make.in (enable-lock-elision): New Makefile variable.
8220 * configure.ac: Likewise.
8221 * configure: Regenerate.
8222 * sysdeps/s390/configure.ac:
8223 Add check for gcc transactions support.
8224 * sysdeps/s390/configure: Regenerate.
8225 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8226 Build elision files if enabled.
8227 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8228 Add lock elision support for s390.
8229 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8230 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8231 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8232 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8233 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8234 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8235 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8237 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8239 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8241 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8243 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8244 (__lll_timedlock_elision, __lll_lock_elision)
8245 (__lll_unlock_elision, __lll_trylock_elision)
8246 (lll_timedlock_elision, lll_lock_elision)
8247 (lll_unlock_elision, lll_trylock_elision): Add.
8248 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8249 (pthread_mutex_t): Add lock elision support for s390.
8251 2014-05-14 Wilco <wdijkstr@arm.com>
8253 * sysdeps/arm/fclrexcpt.c: Cleanup.
8254 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8255 * sysdeps/arm/feenablxcpt.c: Cleanup.
8256 * sysdeps/arm/fegetenv.c: Cleanup.
8257 * sysdeps/arm/fegetexcept.c: Cleanup.
8258 * sysdeps/arm/fegetround.c: Cleanup.
8259 * sysdeps/arm/feholdexcpt.c: Cleanup.
8260 * sysdeps/arm/fesetenv.c: Cleanup.
8261 * sysdeps/arm/fesetround.c: Cleanup.
8262 * sysdeps/arm/feupdateenv.c: Cleanup.
8263 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8264 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8265 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8266 * sysdeps/arm/ftestexcept.c: Cleanup.
8267 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8268 * sysdeps/arm/setfpucw.c: Cleanup.
8270 2014-05-09 Will Newton <will.newton@linaro.org>
8272 * sysdeps/arm/armv7/strcmp.S: New file.
8273 * NEWS: Mention addition of ARMv7 optimized strcmp.
8275 2014-05-08 Roland McGrath <roland@hack.frob.com>
8277 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8278 look for %.ac rather than %.in.
8280 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8281 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8282 * sysdeps/mach/hurd/configure: Regenerated.
8283 * sysdeps/unix/sysv/linux/configure: Regenerated.
8285 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8287 2014-05-07 Steve Ellcey <sellcey@mips.com>
8290 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8294 2014-05-07 Andreas Schwab <schwab@suse.de>
8296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
8297 when skipping over non-matching result from nscd.
8299 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
8302 * nptl/sockperf.c (client): Check socket return value.
8305 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
8306 nscd security class.
8308 2014-05-06 Roland McGrath <roland@hack.frob.com>
8310 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
8311 * sysdeps/arm/unwind.h: ... here.
8313 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
8316 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
8319 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8321 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
8322 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
8323 multiarch strncpy for PPC64.
8324 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
8325 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
8326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
8327 multiarch optimizations.
8328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8329 (__libc_ifunc_impl_list): Likewise.
8330 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
8331 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
8332 multiarch stpncpy for PPC64.
8333 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
8334 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
8336 2014-05-06 Andreas Schwab <schwab@suse.de>
8339 * gmon/mcount.c (_MCOUNT_DECL): Use
8340 atomic_compare_and_exchange_bool_acq instead of
8341 catomic_compare_and_exchange_bool_acq.
8343 2014-05-05 Roland McGrath <roland@hack.frob.com>
8345 * elf/Makefile (others, install-bin): Remove pldd.
8346 (pldd-modules): Variable removed.
8347 ($(objpfx)pldd): Target removed.
8348 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
8349 (others, install-bin): Append pldd here.
8350 ($(objpfx)pldd): New target.
8352 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
8353 to 0, so the first #if test emitted later doesn't see it undefined.
8354 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
8355 * sysdeps/gnu/errlist.c: Regenerated.
8357 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8359 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8360 [libc_hidden_builtin_def]: Define to empty value.
8361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
8362 [libc_hidden_builtin_def]: Likewise.
8363 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
8364 [libc_hidden_builtin_def]: Likewise.
8365 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
8366 [libc_hidden_builtin_def]: Likewise.
8367 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
8368 __redirect_memcpy and define ifunc as default hidden symbol.
8369 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
8370 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
8372 2014-05-04 Adam Conrad <adconrad@0c3.net>
8374 * locale/iso-4217.def: Reintroduce XDR currency.
8376 2014-05-04 Allan McRae <allan@archlinux.org>
8378 * po/eo.po: Update Esperanto translation from translation project.
8380 2014-05-02 Carlos O'Donell <carlos@redhat.com>
8382 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
8383 and FEATURE_INDEX_MAX to 1.
8384 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
8386 2014-05-01 Steve Ellcey <sellcey@mips.com>
8388 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
8389 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
8390 * iconvdata/big5.c (ONE_DIRECTION): Define.
8391 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
8392 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
8393 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
8394 * iconvdata/cp932.c (ONE_DIRECTION): Define.
8395 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
8396 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
8397 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
8398 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
8399 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
8400 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
8401 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
8402 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
8403 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
8404 * iconvdata/gbk.c (ONE_DIRECTION): Define.
8405 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
8406 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
8407 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
8408 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
8409 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
8410 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
8411 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
8412 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
8413 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
8414 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
8415 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
8416 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
8417 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
8418 * iconvdata/iso646.c (ONE_DIRECTION): Define.
8419 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
8420 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
8421 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
8422 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
8423 * iconvdata/johab.c (ONE_DIRECTION): Define.
8424 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
8425 * iconvdata/sjis.c (ONE_DIRECTION): Define.
8426 * iconvdata/t.61.c (ONE_DIRECTION): Define.
8427 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
8428 * iconvdata/tscii.c (ONE_DIRECTION): Define.
8429 * iconvdata/uhc.c (ONE_DIRECTION): Define.
8430 * iconvdata/unicode.c (ONE_DIRECTION): Define.
8431 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
8432 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
8433 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
8435 2014-05-01 Roland McGrath <roland@hack.frob.com>
8437 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
8438 (_IO_JUMPS_OFFSET): Define to 0.
8440 * nptl/sysdeps/pthread/bits/libc-lock.h
8441 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8442 (__libc_lock_define_initialized_recursive): Always define using
8443 initializer. Modern compilers treat uninitialized (implicit zero) and
8444 explicit zero initializers the same (i.e. put the datum in bss).
8446 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8448 * nscd/nscd-client.h: Include <string.h>.
8450 2014-05-01 David S. Miller <davem@davemloft.net>
8453 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
8454 multiple zero bytes exist at the end of a string.
8455 Reported by Aurelien Jarno <aurelien@aurel32.net>
8457 * string/test-strcmp.c (check): Add explicit test for situations where
8458 there are multiple zero bytes after the first.
8460 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
8463 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
8464 when compiling wprintf.
8465 * stdio-common/tstdiomisc.c (t3): New function.
8468 2014-05-01 Steve Ellcey <sellcey@mips.com>
8470 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
8471 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
8472 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
8473 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
8475 2014-05-01 Steve Ellcey <sellcey@mips.com>
8477 * stdlib/longlong.h: Updated from GCC.
8479 2014-05-01 Will Newton <will.newton@linaro.org>
8480 Bernard Ogden <bernie.ogden@linaro.org>
8482 * NEWS: Update fixed bug list.
8485 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
8487 2014-04-30 David S. Miller <davem@davemloft.net>
8489 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
8490 (libc_feholdexcept_setround_sparc_ctx): New function.
8491 (libc_fesetenv_sparc_ctx): Likewise.
8492 (libc_feupdateenv_sparc_ctx): Likewise.
8493 (libc_feholdsetround_sparc_ctx): Likewise.
8494 (libc_feholdexcept_setround_ctx): Define.
8495 (libc_feholdexcept_setroundf_ctx): Likewise.
8496 (libc_feholdexcept_setroundl_ctx): Likewise.
8497 (libc_fesetenv_ctx): Likewise.
8498 (libc_fesetenvf_ctx): Likewise.
8499 (libc_fesetenvl_ctx): Likewise.
8500 (libc_feupdateenv_ctx): Likewise.
8501 (libc_feupdateenvf_ctx): Likewise.
8502 (libc_feupdateenvl_ctx): Likewise.
8503 (libc_feresetround_ctx): Likewise.
8504 (libc_feresetroundf_ctx): Likewise.
8505 (libc_feresetroundl_ctx): Likewise.
8506 (libc_feholdsetround_ctx): Likewise.
8507 (libc_feholdsetroundf_ctx): Likewise.
8508 (libc_feholdsetroundl_ctx): Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8511 with __USE_GNU instead of XOPEN cpp guards.
8513 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
8516 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
8517 with XOPEN cpp guards.
8519 2014-04-30 Julian Brown <julian@codesourcery.com>
8522 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
8525 2014-04-30 Joseph Myers <joseph@codesourcery.com>
8528 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8530 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
8531 * sysdeps/unix/sysv/linux/configure: Regenerated.
8532 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
8533 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
8534 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
8535 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
8536 * README: Update reference to required Linux kernel version.
8537 * manual/install.texi (Linux): Update reference to required Linux
8538 kernel headers version.
8539 * INSTALL: Regenerated.
8541 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
8543 [POSIX] (limits.h): Likewise.
8544 [POSIX] (math.h): Likewise.
8545 [POSIX] (sys/wait.h): Likewise.
8546 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
8548 [POSIX] (stddef.h): Do not allow header inclusion.
8550 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8552 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
8554 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
8556 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
8557 Return immediately after lll_futex_wake.
8559 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8562 * nscd/nscd-client.h (datahead_init_common): Initialize entire
8564 (datahead_init_pos): Call datahead_init_common early.
8565 (datahead_init_neg): Likewise.
8567 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
8568 datahead_init_neg): New functions.
8569 * nscd/aicache.c (addhstaiX): Use them.
8570 * nscd/grpcache.c (cache_addgr): Likewise.
8571 * nscd/hstcache.c (cache_addhst): Likewise.
8572 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8573 * nscd/netgroupcache.c (do_notfound): Likewise.
8574 (addgetnetgrentX): Likewise.
8575 (addinnetgrX): Likewise.
8576 * nscd/pwdcache.c (cache_addpw): Likewise.
8577 * nscd/servicescache.c (cache_addserv): Likewise.
8579 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8580 Atsushi Onoe <atsushi@onoe.org>
8585 * resolv/res_query.c (__libc_res_nsearch): Return if at least
8586 one response is valid.
8587 * resolv/res_send.c (send_dg): Check for validity of other
8588 response if the current response is a referral.
8590 2014-04-29 Steve Ellcey <sellcey@mips.com>
8592 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
8594 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
8597 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
8598 Always divide by positive zero when computing -Inf result.
8599 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
8600 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
8602 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8604 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
8605 FPSCR if value do not change.
8606 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8607 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
8608 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
8609 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
8610 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
8611 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
8614 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
8616 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
8617 * sysdeps/unix/sysv/linux/hppa: Move directory from
8618 ports/systeps/unix/sysv/linux/hppa.
8619 * README: Update listing for hppa-*-linux-gnu.
8621 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
8624 * manual/stdio.texi (Hook functions): Fix types of stream hook
8627 * socket/sys/socket.h: Fix typo in comment.
8629 2014-04-28 Wilco <wdijkstr@arm.com>
8631 * sysdeps/arm/fenv_private.h: New file.
8632 * sysdeps/arm/math_private.h: New file.
8633 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
8635 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
8637 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
8639 (La_x86_64_retval): Likewise.
8641 2014-04-24 Ian Bolton <ian.bolton@arm.com>
8643 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
8644 fpsr if value didn't change.
8645 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
8646 to fpcr if value didn't change.
8647 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
8648 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
8649 fpsr or fpcr if value didn't change.
8650 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8651 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
8652 fpcr if value didn't change.
8653 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
8654 to fpsr if value didn't change.
8656 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8658 * nptl/tst-sem3.c: Use test-skeleton.c
8659 (main): Rename to do_test. Use return instead of
8661 * nptl/tst-sem4.c: Use test-skeleton.c
8662 (main): Rename to do_test.
8664 2014-04-22 David S. Miller <davem@davemloft.net>
8666 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
8667 (struct sigaction): New struct member __glibc_reserved0, change
8668 type of sa_flags to int.
8670 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
8672 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
8673 (COUNT_LEADING_ZEROS_0): Define for AArch64.
8675 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8677 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
8678 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
8680 2014-04-22 Will Newton <will.newton@linaro.org>
8681 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
8683 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
8684 (__longjmp): Add longjmp and longjmp_target SystemTap
8686 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
8687 (__sigsetjmp): Add setjmp SystemTap probe.
8689 2014-04-17 Carlos O'Donell <carlos@redhat.com>
8691 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
8694 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8696 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
8698 * sysdeps/powerpc/fpu/fenv_private.h
8699 (libc_feholdexcept_setroundl_ctx): Define to
8700 libc_feholdexcept_setround_ppc_ctx.
8701 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
8702 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
8703 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
8704 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
8706 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8708 * sysdeps/aarch64/math-tests.h: New file.
8710 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
8712 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
8714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8715 Check and set bit_AVX2_Usable.
8716 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
8718 (bit_AVX2): Likewise.
8719 (index_AVX2_Usable): Likewise.
8720 (CPUID_AVX2): Likewise.
8721 (HAS_AVX2): Likewise.
8723 2014-04-17 Will Newton <will.newton@linaro.org>
8725 * manual/setjmp.texi (System V contexts): Add note that
8726 calling setcontext on a context created by a call to a
8727 signal handler is undefined. Update text to note that
8728 setcontext from a signal handler is possible but not
8732 * stdlib/tst-setcontext.c: Include signal.h.
8733 (main): Check that the signal stack before and
8734 after swapcontext is the same.
8736 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
8737 Re-implement to restore registers in user code and avoid
8738 rt_sigreturn system call.
8740 2014-04-17 Wilco <wdijkstr@arm.com>
8742 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
8743 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
8744 * math/test-fenv.c: Skip exception trap tests on targets which only
8745 support non-stop mode.
8747 2014-04-17 Ian Bolton <ian.bolton@arm.com>
8748 Wilco Dijkstra <wilco.dijkstra@arm.com>
8750 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
8751 (libc_feholdsetround_aarch64_ctx)
8752 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
8753 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
8754 (libc_feresetround_ctx, libc_feresetroundf_ctx)
8755 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
8756 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
8757 (libc_feresetround_noexl_ctx): Define.
8759 2014-04-16 Richard Henderson <rth@redhat.com>
8761 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
8763 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
8766 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
8767 const from the non-libc, non-ldso copy.
8769 * sysdeps/alpha/libm-test-ulps: Regenerate.
8771 2014-04-16 Ian Bolton <ian.bolton@arm.com>
8772 Wilco Dijkstra <wilco.dijkstra@arm.com>
8774 * sysdeps/aarch64/fpu/math_private.h: New file.
8776 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
8778 * sysdeps/aarch64/libm-test-ulps: Regenerate.
8780 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
8783 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
8784 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
8785 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
8786 Intel MPX bound registers before _dl_profile_fixup.
8787 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
8788 registers after _dl_profile_fixup. Save and restore bound
8789 registers bnd0/bnd1 when calling _dl_call_pltexit.
8790 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
8791 (LR_BND_OFFSET): Likewise.
8792 (LRV_BND0_OFFSET): Likewise.
8793 (LRV_BND1_OFFSET): Likewise.
8795 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8797 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
8799 * sysdeps/mach/hurd/i386/tls.h: ... here.
8800 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
8801 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
8804 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8806 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
8808 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8810 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8812 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8815 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
8816 * sysdeps/s390/configure: Regenerate.
8819 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
8820 Set round-to-nearest internally to reduce error accumulation.
8822 2014-04-16 Alan Modra <amodra@gmail.com>
8826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
8827 * math/libm-test.inc (frexp_test_data): Add tests.
8828 * NEWS: Update fixed bug list.
8830 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8832 * benchtests/Makefile: Depend on libraries in build directory.
8833 (bench-math): Separate out math tests.
8834 (bench-pthread): Separate out pthread tests.
8835 (bench): Include math and pthread tests.
8837 2014-04-14 Carlos O'Donell <carlos@redhat.com>
8840 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
8841 _dl_debug_initialize.
8843 * configure.ac: Remove SELinux header check.
8844 * configure: Regenerate.
8845 * nscd/selinux.c (perms): Array of const char* to permission names.
8846 (nscd_request_avc_has_perm): Call security_deny_unknown to find
8847 default policy. Call string_to_security_class and string_to_av_perm to
8848 translate strings. Enforce default policy and call avs_has_perm with
8849 results of translated strings.
8851 2014-04-13 David S. Miller <davem@davemloft.net>
8853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8855 2014-04-12 Allan McRae <allan@archlinux.org>
8858 * manual/string.texi (Collation Functions): Fix qsort argument
8860 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
8862 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
8864 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
8865 Make the test a no-op if there are no exceptions defined.
8867 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8869 * elf/Makefile (tests): make tst-dlopen-aout conditional on
8870 enable-hardcoded-path-in-tests
8872 2014-04-11 Will Newton <will.newton@linaro.org>
8874 * benchtests/Makefile (extra-objs): Add json-lib.o.
8875 (bench-func): Tidy up JSON output.
8876 * benchtests/bench-skeleton.c: Include json-lib.h.
8877 (main): Use JSON library functions to do output of
8879 * benchtests/bench-timing-type.c (main): Output the
8880 timing type simply, leaving formatting to the user.
8881 * benchtests/json-lib.c: New file.
8882 * benchtests/json-lib.h: Likewise.
8884 2014-04-11 Torvald Riegel <triegel@redhat.com>
8887 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
8888 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
8889 memory barriers. Add comments.
8890 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
8891 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
8892 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
8893 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
8894 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
8895 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
8897 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8899 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
8900 * sysdeps/s390/s390-64/configure.ac: ... this ...
8901 * sysdeps/s390/configure.ac: ... to here.
8902 * sysdeps/s390/s390-32/configure: Delete file.
8903 * sysdeps/s390/s390-64/configure: Delete file.
8904 * sysdeps/s390/configure: Regenerate.
8906 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
8908 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
8910 2014-04-11 Will Newton <will.newton@linaro.org>
8912 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
8913 to zero if it is not defined elsewhere. (mtrim): Test
8914 the value of MALLOC_DEBUG with #if rather than #ifdef.
8916 2014-04-10 Torvald Riegel <triegel@redhat.com>
8918 * benchtests/pthread_once-inputs: New file.
8919 * benchtests/pthread_once-source.c: New file.
8920 * benchtests/README: Update documentation.
8922 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
8923 H.J. Lu <hongjiu.lu@intel.com>
8926 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
8927 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
8928 * sysdeps/x86_64/configure: Regenerated.
8929 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
8931 (REGISTER_SAVE_RAX): Likewise.
8932 (REGISTER_SAVE_RCX): Likewise.
8933 (REGISTER_SAVE_RDX): Likewise.
8934 (REGISTER_SAVE_RSI): Likewise.
8935 (REGISTER_SAVE_RDI): Likewise.
8936 (REGISTER_SAVE_R8): Likewise.
8937 (REGISTER_SAVE_R9): Likewise.
8938 (REGISTER_SAVE_BND0): Likewise.
8939 (REGISTER_SAVE_BND1): Likewise.
8940 (REGISTER_SAVE_BND2): Likewise.
8941 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
8942 bound registers when calling _dl_fixup.
8944 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8946 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
8947 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
8949 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
8950 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
8951 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
8952 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
8953 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
8954 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
8955 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
8957 2014-04-09 Peter Brett <peter@peter-b.co.uk>
8960 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
8961 pathconf(_PC_NAME_MAX).
8963 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8965 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
8967 (__PTHREAD_SPINS): Move definition to ...
8968 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8969 (__PTHREAD_SPINS): ... here.
8970 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8971 (__PTHREAD_SPIN): Likewise.
8972 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
8973 (__PTHREAD_SPIN): Likewise.
8974 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
8975 (__PTHREAD_SPIN): Likewise.
8976 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
8977 (__PTHREAD_SPIN): Likewise.
8978 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8979 (__PTHREAD_SPIN): Likewise.
8980 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8981 (__PTHREAD_SPIN): Likewise.
8982 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
8983 (__PTHREAD_SPIN): Likewise.
8984 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8985 (__PTHREAD_SPIN): Likewise.
8986 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8987 (__PTHREAD_SPIN): Likewise.
8988 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8989 (__PTHREAD_SPIN): Likewise.
8990 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8991 (__PTHREAD_SPIN): Likewise.
8992 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
8993 (__PTHREAD_SPIN): Likewise.
8995 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
8996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
8997 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
8998 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9001 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9002 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9003 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9005 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9006 strlen symbol for non multi-arch builds.
9007 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9008 missing hidden_def and weak_alias.
9010 2014-04-08 Carlos O'Donell <carlos@redhat.com>
9012 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9014 2014-04-07 Will Newton <will.newton@linaro.org>
9016 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9017 and contents. [!_LIBC] Remove #ifndef and contents.
9018 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9019 * string/memccpy.c (__memccpy): Use ANSI prototype.
9020 * string/memfrob.c (memfrob): Likewise.
9021 * string/strcoll.c (STRCOLL): Likewise.
9022 * string/strlen.c (strlen): Likewise.
9023 * string/strtok.c (STRTOK): Likewise.
9024 * string/strcat.c: Remove unused #include of memcopy.h.
9025 (strcat): Use ANSI prototype.
9026 * string/strchr.c: Remove unused #include of memcopy.h.
9027 (strchr): Use ANSI prototype.
9028 * string/strcmp.c: Remove unused #include of memcopy.h.
9029 (strcmp): Use ANSI prototype.
9030 * string/strcpy.c: Remove unused #include of memcopy.h.
9031 (strcpy): Use ANSI prototype.
9033 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9035 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9036 * config.make.in (config-extra-cppflags): Set it from
9037 libc_extra_cppflags.
9038 * configure.ac (libc_extra_cflags): Make it accumulate over
9039 configure fragments.
9040 (libc_extra_cppflags): New flag.
9041 * configure. Regenerate.
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9043 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9044 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9048 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9049 result for FE_DOWNWARD rounding mode.
9050 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9054 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9056 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9057 in function argument name.
9059 2014-04-03 David Svoboda <svoboda@cert.org>
9062 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9065 2014-04-03 Roland McGrath <roland@hack.frob.com>
9067 * elf/dl-unmap-segments.h: New file.
9068 * sysdeps/generic/ldsodefs.h
9069 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9070 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9071 * elf/dl-fptr.c: Likewise.
9072 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9073 * sysdeps/aarch64/tlsdesc.c: Likewise.
9074 * sysdeps/arm/tlsdesc.c: Likewise.
9075 * sysdeps/i386/tlsdesc.c: Likewise.
9076 * sysdeps/tile/dl-runtime.c: Likewise.
9077 * sysdeps/x86_64/tlsdesc.c: Likewise.
9078 * elf/dl-load.h: New file.
9079 * elf/dl-load.c: Include it.
9080 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9081 Macros moved to dl-load.h.
9082 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9083 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9084 Use _dl_unmap_segments in place of __munmap.
9085 Break out segment-mapping loop into ...
9086 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9088 2014-04-03 Will Newton <will.newton@linaro.org>
9090 * elf/dl-lookup.c (do_lookup_x): Remove comment
9091 referring to nested function and move variable
9092 declarations down to before first use.
9094 2014-04-02 Joseph Myers <joseph@codesourcery.com>
9098 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9100 * math/s_catanf.c (__catanf): Likewise.
9101 * math/s_catanh.c (__catanh): Likewise.
9102 * math/s_catanhf.c (__catanhf): Likewise.
9103 * math/s_catanhl.c (__catanhl): Likewise.
9104 * math/s_catanl.c (__catanl): Likewise.
9105 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9106 by positive zero when computing -Inf result.
9107 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9108 (catanh_test): Likewise.
9109 * sysdeps/i386/fpu/libm-test-ulps: Update.
9110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9113 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9114 instead of using underflowing value in computing result.
9115 * math/s_clog10.c (__clog10): Likewise.
9116 * math/s_clog10f.c (__clog10f): Likewise.
9117 * math/s_clog10l.c (__clog10l): Likewise.
9118 * math/s_clogf.c (__clogf): Likewise.
9119 * math/s_clogl.c (__clogl): Likewise.
9120 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9121 (clog10_test): Likewise.
9122 * sysdeps/i386/fpu/libm-test-ulps: Update.
9123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9125 2014-04-02 Alan Modra <amodra@gmail.com>
9128 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9129 output when value is near a power of two. Use int64_t for lx and
9130 remove casts. Use decimal rather than hex exponent constants.
9131 Don't use long double multiplication when double will suffice.
9132 * math/libm-test.inc (nextafter_test_data): Add tests.
9133 * NEWS: Add 16739 and 16786 to bug list.
9135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9137 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9139 2014-04-01 Will Newton <will.newton@linaro.org>
9141 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9142 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9144 2014-04-01 Florian Weimer <fweimer@redhat.com>
9147 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9148 * nptl/tst-setuid2.c: New file.
9149 * nptl/Makefile (xtests): Add tst-setuid2.
9151 2014-04-01 Alan Modra <amodra@gmail.com>
9154 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9156 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9160 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9161 set errno as appropriate.
9162 * math/w_scalbf.c (__scalbf): Likewise.
9163 * math/w_scalbl.c (__scalbl): Likewise.
9164 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9165 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9166 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9170 * math/w_atan2.c: Include <errno.h>.
9171 (__atan2): Set errno for result underflowing to zero.
9172 * math/w_atan2f.c: Include <errno.h>.
9173 (__atan2f): Set errno for result underflowing to zero.
9174 * math/w_atan2l.c: Include <errno.h>.
9175 (__atan2l): Set errno for result underflowing to zero.
9176 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9178 * math/auto-libm-test-out: Regenerated.
9180 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9182 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9183 Encode instruction correctly in little endian.
9184 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9186 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9188 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9190 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9193 2014-03-31 Joseph Myers <joseph@codesourcery.com>
9196 * sysdeps/unix/sysv/linux/kernel-features.h
9197 [__sparc__ && !__arch64__ && !__sparc_v9__]
9198 (__ASSUME_SET_ROBUST_LIST): Do not define.
9199 [__sparc__ && !__arch64__ && !__sparc_v9__]
9200 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9201 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9204 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9205 (__ASSUME_REQUEUE_PI): Likewise.
9206 (__ASSUME_SET_ROBUST_LIST): Likewise.
9207 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9208 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9210 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9211 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9213 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9215 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9218 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9220 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9221 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9225 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9226 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9227 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9229 2014-03-31 Will Newton <will.newton@linaro.org>
9231 * benchtests/Makefile (bench): Add ffs and ffsll to list
9233 * benchtests/ffs-inputs: New file.
9234 * benchtests/ffsll-inputs: Likewise.
9236 2014-03-29 Joseph Myers <joseph@codesourcery.com>
9239 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9240 too large before casting to int.
9241 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9242 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9243 * math/libm-test.inc (scalb_test_data): Add more tests.
9245 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9247 * benchtests/Makefile (DETAILED_OPT): New make option.
9248 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9250 * benchtests/bench-skeleton.c: Include stdbool.h.
9251 (main): Store and print timings per input.
9252 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9253 member to each argument value.
9254 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9255 (_print_arg_data): Initialize per-input timing to 0.
9257 * benchtests/Makefile (timing-type): New binary.
9258 (bench-clean): Also remove bench-timing-type.
9259 (bench): New target for timing-type.
9260 (bench-func): Print output in JSON format.
9261 * benchtests/bench-skeleton.c (main): Print output in JSON
9263 * benchtests/bench-timing-type.c: New file.
9264 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9265 (TIMING_PRINT_STATS): Remove.
9266 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9269 * benchtests/bench-modf.c: Remove.
9270 * benchtests/modf-inputs: New inputs file.
9272 2014-03-28 Joseph Myers <joseph@codesourcery.com>
9275 * math/s_clog10.c (M_PI_LOG10E): New macro.
9276 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9277 imaginary parts are 0.
9278 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9279 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9280 imaginary parts are 0.
9281 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9282 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9283 imaginary parts are 0.
9284 * math/libm-test.inc (clog10_test_data): Update expected results
9285 for when real and imaginary parts are 0.
9287 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9289 * elf/dl-load.c: Finish conversion of __builtin_expect into
9292 2014-03-27 Joseph Myers <joseph@codesourcery.com>
9295 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
9296 1+x for argument with exponent below -67.
9297 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
9299 * math/auto-libm-test-in: Add more tests of exp.
9300 * math/auto-libm-test-out: Regenerated.
9302 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9305 * inet/getnetgrent_r.c (get_nonempty_val): New function.
9306 (nscd_getnetgrent): Use it.
9309 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
9312 2014-03-27 Andi Kleen <ak@linux.intel.com>
9314 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
9315 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9316 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9317 (lll_robust_unlock): Remove out of line section. Use cfi
9319 (LLL_STUB_UNWIND_INFO*): Remove.
9320 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
9321 (lll_robust_lock, lll_cond_lock, lll_timedlock)
9322 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
9323 (lll_robust_unlock): Remove out of line section. Use cfi
9325 (LLL_STUB_UNWIND_INFO*): Remove.
9327 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9330 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
9333 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
9335 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
9337 2014-03-26 Joseph Myers <joseph@codesourcery.com>
9340 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
9342 * math/test-fenv-preserve.c: New file.
9343 * math/Makefile (tests): Add test-fenv-preserve.
9345 2014-03-26 Will Newton <will.newton@linaro.org>
9347 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
9349 2014-03-25 Roland McGrath <roland@hack.frob.com>
9351 * scripts/versionlist.awk: Partition the version sets and emit all
9352 GLIBC_* (sorted) before all others (sorted).
9354 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9356 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
9357 GLIBC_2.2.5 version.
9359 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9361 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
9364 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
9367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9369 2014-03-25 Andreas Schwab <schwab@suse.de>
9371 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
9372 label to be used after in6ailist is initialized.
9374 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9376 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9377 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9379 2014-03-25 Joseph Myers <joseph@codesourcery.com>
9383 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
9385 (fp_formats): Update initializers.
9386 (init_fp_formats): Initialize new field.
9387 (output_for_one_input_case): Allow underflow for results up to
9389 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
9390 * math/auto-libm-test-in: Don't mark some underflows from asin and
9392 * math/auto-libm-test-out: Regenerated.
9393 * sysdeps/i386/fpu/libm-test-ulps: Update.
9394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9396 2014-03-25 Andreas Schwab <schwab@suse.de>
9398 * libio/Makefile (tst-ftell-partial-wide-ENV)
9399 (tst-ftell-active-handler-ENV): Define.
9401 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9403 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
9405 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9407 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
9409 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9411 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
9412 * sysdeps/x86_64/fpu/multiarch/e_exp.c
9413 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9415 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9418 * elf/dl-load.c (open_verify): Add mode parameter.
9419 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
9420 (open_path): Change from boolean 'secure' to complete flag 'mode'
9421 (_dl_map_object): Adjust.
9422 * elf/Makefile (tests): Add tst-dlopen-aout.
9423 * elf/tst-dlopen-aout.c: New test.
9425 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9428 * sysdeps/unix/sysv/linux/s390/bits/stat.h
9429 (struct stat): Rename member pad0 to __glibc_reserved0.
9432 * sysdeps/s390/s390-32/bits/wordsize.h
9433 (__WORDSIZE32_SIZE_ULONG): New define.
9434 * sysdeps/s390/s390-64/bits/wordsize.h
9435 (__WORDSIZE32_SIZE_ULONG): Likewise.
9436 * sysdeps/generic/stdint.h (SIZE_MAX):
9437 Define as UL if __WORDSIZE32_SIZE_ULONG.
9440 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
9441 (__glibc_reserved0): New variable.
9442 (sa_flags): Change type to int.
9444 * posix/Makefile (before-compile): Use += before-compile instead
9447 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9448 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
9450 2014-03-20 Andreas Schwab <schwab@suse.de>
9453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
9454 non-matching result from nscd.
9456 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9458 * scripts/bench.py: Moved to ...
9459 * benchtests/scripts/bench.py: ... here.
9460 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
9462 2014-03-24 Andreas Schwab <schwab@suse.de>
9465 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
9466 alloca_account and account alloca use for struct in6ailist.
9468 2014-03-24 Joseph Myers <joseph@codesourcery.com>
9471 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
9472 rounding mode to recompute results that overflow to infinity or
9474 * math/auto-libm-test-in: Don't mark tests as expected to fail for
9476 * math/auto-libm-test-out: Regenerated.
9477 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
9478 (ccosh_test): Likewise.
9479 (csin_test_data): Use plus_oflow.
9480 (csin_test): Use ALL_RM_TEST.
9481 (csinh_test_data): Use plus_oflow.
9482 (csinh_test): Use ALL_RM_TEST.
9483 * sysdeps/i386/fpu/libm-test-ulps: Update.
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9486 2014-03-21 Joseph Myers <joseph@codesourcery.com>
9488 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
9489 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
9490 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
9493 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
9495 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
9496 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
9497 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9498 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
9500 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
9501 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
9503 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
9504 * sysdeps/i386/fpu/libm-test-ulps: Update.
9505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9507 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9509 * scripts/bench.pl: Remove file.
9510 * scripts/bench.py: New benchmark script.
9511 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
9512 * benchtests/README: Mention python dependency.
9513 * scripts/pylintrc: New file.
9514 * scripts/pylint: New file.
9516 * bits/mathdef.h: Use #ifdef instead of #if.
9517 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
9518 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9519 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
9520 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9521 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
9522 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
9524 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9525 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9527 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
9528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
9529 and strpbrk-ppc64 objects.
9530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9531 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
9532 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
9533 multiarch strpbrk for POWER7.
9534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
9535 multiarch strpbrk for PPC64.
9536 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
9538 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
9541 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9543 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
9544 (atan_test): Likewise.
9545 (atanh_test_data): Use NO_TEST_INLINE for two tests.
9546 (atanh_test): Use ALL_RM_TEST.
9547 (atan2_test_data): Likewise.
9548 (cabs_test): Likewise.
9549 (cacosh_test): Likewise.
9550 (carg_test): Likewise.
9551 (casin_test): Likewise.
9552 (casinh_test): Likewise.
9553 (cbrt_test): Likewise.
9554 (csqrt_test): Likewise.
9555 (erf_test): Likewise.
9556 (erfc_test): Likewise.
9557 (pow10_test): Likewise.
9558 (exp2_test): Likewise.
9559 (hypot_test): Likewise.
9560 (j0_test): Likewise.
9561 (j1_test): Likewise.
9562 (lgamma_test): Likewise.
9563 (gamma_test): Likewise.
9564 (sincos_test): Likewise.
9565 (tanh_test): Likewise.
9566 (y0_test): Likewise.
9567 (y1_test): Likewise.
9568 * sysdeps/i386/fpu/libm-test-ulps: Update.
9569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9571 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
9574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
9575 and strcspn-ppc64 objects.
9576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9577 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
9578 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
9579 multiarch strcspn for POWER7.
9580 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
9581 multiarch strcspn for PPC64.
9582 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
9584 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
9587 2014-03-20 Joseph Myers <joseph@codesourcery.com>
9589 * math/gen-libm-test.pl (generate_testfile): Expect only function
9590 name as argument to AUTO_TESTS_* and pass results for all rounding
9591 modes to parse_args.
9592 (parse_auto_input): Separate inputs of automatic tests from
9593 outputs before storing in %auto_tests.
9594 * math/libm-test.inc (acos_test_data): Update call to
9596 (acos_test): Use ALL_RM_TEST.
9597 (acos_tonearest_test_data): Remove.
9598 (acos_test_tonearest): Likewise.
9599 (acos_towardzero_test_data): Likewise.
9600 (acos_test_towardzero): Likewise.
9601 (acos_downward_test_data): Likewise.
9602 (acos_test_downward): Likewise.
9603 (acos_upward_test_data): Likewise.
9604 (acos_test_upward): Likewise.
9605 (acosh_test_data): Update call to AUTO_TESTS_f_f.
9606 (asin_test_data): Likewise.
9607 (asin_test): Use ALL_RM_TEST.
9608 (asin_tonearest_test_data): Remove.
9609 (asin_test_tonearest): Likewise.
9610 (asin_towardzero_test_data): Likewise.
9611 (asin_test_towardzero): Likewise.
9612 (asin_downward_test_data): Likewise.
9613 (asin_test_downward): Likewise.
9614 (asin_upward_test_data): Likewise.
9615 (asin_test_upward): Likewise.
9616 (asinh_test_data): Update call to AUTO_TESTS_f_f.
9617 (atan_test_data): Likewise.
9618 (atanh_test_data): Likewise.
9619 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
9620 (cabs_test_data): Update call to AUTO_TESTS_c_f.
9621 (carg_test_data): Likewise.
9622 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
9623 (ccos_test_data): Update call to AUTO_TESTS_c_c.
9624 (ccosh_test_data): Likewise.
9625 (cexp_test_data): Likewise.
9626 (clog_test_data): Likewise.
9627 (clog10_test_data): Likewise.
9628 (cos_test_data): Update call to AUTO_TESTS_f_f.
9629 (cos_test): Use ALL_RM_TEST.
9630 (cos_tonearest_test_data): Remove.
9631 (cos_test_tonearest): Likewise.
9632 (cos_towardzero_test_data): Likewise.
9633 (cos_test_towardzero): Likewise.
9634 (cos_downward_test_data): Likewise.
9635 (cos_test_downward): Likewise.
9636 (cos_upward_test_data): Likewise.
9637 (cos_test_upward): Likewise.
9638 (cosh_test_data): Update call to AUTO_TESTS_f_f.
9639 (cosh_test): Use ALL_RM_TEST.
9640 (cosh_tonearest_test_data): Remove.
9641 (cosh_test_tonearest): Likewise.
9642 (cosh_towardzero_test_data): Likewise.
9643 (cosh_test_towardzero): Likewise.
9644 (cosh_downward_test_data): Likewise.
9645 (cosh_test_downward): Likewise.
9646 (cosh_upward_test_data): Likewise.
9647 (cosh_test_upward): Likewise.
9648 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
9649 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
9650 (ctan_test_data): Likewise.
9651 (ctan_test): Use ALL_RM_TEST.
9652 (ctan_tonearest_test_data): Remove.
9653 (ctan_test_tonearest): Likewise.
9654 (ctan_towardzero_test_data): Likewise.
9655 (ctan_test_towardzero): Likewise.
9656 (ctan_downward_test_data): Likewise.
9657 (ctan_test_downward): Likewise.
9658 (ctan_upward_test_data): Likewise.
9659 (ctan_test_upward): Likewise.
9660 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
9661 (ctanh_test): Use ALL_RM_TEST.
9662 (ctanh_tonearest_test_data): Remove.
9663 (ctanh_test_tonearest): Likewise.
9664 (ctanh_towardzero_test_data): Likewise.
9665 (ctanh_test_towardzero): Likewise.
9666 (ctanh_downward_test_data): Likewise.
9667 (ctanh_test_downward): Likewise.
9668 (ctanh_upward_test_data): Likewise.
9669 (ctanh_test_upward): Likewise.
9670 (erf_test_data): Update call to AUTO_TESTS_f_f.
9671 (erfc_test_data): Likewise.
9672 (exp_test_data): Likewise.
9673 (exp_test): Use ALL_RM_TEST.
9674 (exp_tonearest_test_data): Remove.
9675 (exp_test_tonearest): Likewise.
9676 (exp_towardzero_test_data): Likewise.
9677 (exp_test_towardzero): Likewise.
9678 (exp_downward_test_data): Likewise.
9679 (exp_test_downward): Likewise.
9680 (exp_upward_test_data): Likewise.
9681 (exp_test_upward): Likewise.
9682 (exp10_test_data): Update call to AUTO_TESTS_f_f.
9683 (exp10_test): Use ALL_RM_TEST.
9684 (exp10_tonearest_test_data): Remove.
9685 (exp10_test_tonearest): Likewise.
9686 (exp10_towardzero_test_data): Likewise.
9687 (exp10_test_towardzero): Likewise.
9688 (exp10_downward_test_data): Likewise.
9689 (exp10_test_downward): Likewise.
9690 (exp10_upward_test_data): Likewise.
9691 (exp10_test_upward): Likewise.
9692 (exp2_test_data): Update call to AUTO_TESTS_f_f.
9693 (expm1_test_data): Likewise.
9694 (expm1_test): Use ALL_RM_TEST.
9695 (expm1_tonearest_test_data): Remove.
9696 (expm1_test_tonearest): Likewise.
9697 (expm1_towardzero_test_data): Likewise.
9698 (expm1_test_towardzero): Likewise.
9699 (expm1_downward_test_data): Likewise.
9700 (expm1_test_downward): Likewise.
9701 (expm1_upward_test_data): Likewise.
9702 (expm1_test_upward): Likewise.
9703 (fma_test_data): Update call to AUTO_TESTS_fff_f.
9704 (fma_test): Use ALL_RM_TEST.
9705 (fma_towardzero_test_data): Remove.
9706 (fma_test_towardzero): Likewise.
9707 (fma_downward_test_data): Likewise.
9708 (fma_test_downward): Likewise.
9709 (fma_upward_test_data): Likewise.
9710 (fma_test_upward): Likewise.
9711 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
9712 (j0_test_data): Update call to AUTO_TESTS_f_f.
9713 (j1_test_data): Likewise.
9714 (jn_test_data): Update call to AUTO_TESTS_if_f.
9715 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
9716 (log_test_data): Update call to AUTO_TESTS_f_f.
9717 (log10_test_data): Likewise.
9718 (log1p_test_data): Likewise.
9719 (log2_test_data): Likewise.
9720 (pow_test_data): Update call to AUTO_TESTS_ff_f.
9721 (pow_tonearest_test_data): Likewise.
9722 (sin_test_data): Update call to AUTO_TESTS_f_f.
9723 (sin_test): Use ALL_RM_TEST.
9724 (sin_tonearest_test_data): Remove.
9725 (sin_test_tonearest): Likewise.
9726 (sin_towardzero_test_data): Likewise.
9727 (sin_test_towardzero): Likewise.
9728 (sin_downward_test_data): Likewise.
9729 (sin_test_downward): Likewise.
9730 (sin_upward_test_data): Likewise.
9731 (sin_test_upward): Likewise.
9732 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
9733 (sinh_test_data): Update call to AUTO_TESTS_f_f.
9734 (sinh_test): Use ALL_RM_TEST.
9735 (sinh_tonearest_test_data): Remove.
9736 (sinh_test_tonearest): Likewise.
9737 (sinh_towardzero_test_data): Likewise.
9738 (sinh_test_towardzero): Likewise.
9739 (sinh_downward_test_data): Likewise.
9740 (sinh_test_downward): Likewise.
9741 (sinh_upward_test_data): Likewise.
9742 (sinh_test_upward): Likewise.
9743 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
9744 (sqrt_test): Use ALL_RM_TEST.
9745 (sqrt_tonearest_test_data): Remove.
9746 (sqrt_test_tonearest): Likewise.
9747 (sqrt_towardzero_test_data): Likewise.
9748 (sqrt_test_towardzero): Likewise.
9749 (sqrt_downward_test_data): Likewise.
9750 (sqrt_test_downward): Likewise.
9751 (sqrt_upward_test_data): Likewise.
9752 (sqrt_test_upward): Likewise.
9753 (tan_test_data): Update call to AUTO_TESTS_f_f.
9754 (tan_test): Use ALL_RM_TEST.
9755 (tan_tonearest_test_data): Remove.
9756 (tan_test_tonearest): Likewise.
9757 (tan_towardzero_test_data): Likewise.
9758 (tan_test_towardzero): Likewise.
9759 (tan_downward_test_data): Likewise.
9760 (tan_test_downward): Likewise.
9761 (tan_upward_test_data): Likewise.
9762 (tan_test_upward): Likewise.
9763 (tanh_test_data): Update call to AUTO_TESTS_f_f.
9764 (tgamma_test_data): Likewise.
9765 (y0_test_data): Likewise.
9766 (y1_test_data): Likewise.
9767 (yn_test_data): Update call to AUTO_TESTS_if_f.
9768 (main): Do not call removed functions.
9770 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9772 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
9773 (ldexp_test_data): Remove.
9774 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
9776 (scalb_test): Use ALL_RM_TEST.
9778 2014-03-19 Andreas Schwab <schwab@suse.de>
9780 * nscd/nscd.service: Also invalidate netgroup cache on reload.
9782 2014-03-19 Joseph Myers <joseph@codesourcery.com>
9785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9786 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
9787 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
9788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9789 (__ASSUME_PREADV): Undefine.
9790 (__ASSUME_PWRITEV): Likewise.
9792 2014-03-18 Roland McGrath <roland@hack.frob.com>
9794 * bits/mman-linux.h: Add comment about non-Linux use.
9795 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
9796 bits/mman-linux.h resting place.
9798 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
9799 * bits/mman-linux.h: ... here.
9801 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9803 * conform/conformtest.pl: Add standard definition when calling C
9804 preprocessor on data files.
9805 (checknamespace): Remove unused variable.
9807 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9809 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
9810 minus_oflow, plus_uflow and minus_uflow in expected results.
9811 * math/libm-test.inc (scalbn_test_data): Add more tests of
9812 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
9814 (scalbn_test): Use ALL_RM_TEST.
9815 (scalbln_test_data): Add more tests of negative arguments. Use
9816 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
9817 (scalbln_test): Use ALL_RM_TEST.
9819 2014-03-18 Roland McGrath <roland@hack.frob.com>
9821 * scripts/abilist.awk: Ignore symbols marked with .hidden.
9823 2014-03-18 Will Newton <will.newton@linaro.org>
9825 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
9828 2014-03-18 Joseph Myers <joseph@codesourcery.com>
9830 * Makerules [!subdir] (check-abi): Exit with error status if a
9833 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9835 * math/libm-test.inc (nearbyint_test_data): Include all tests used
9836 for rint. Include results for all rounding modes.
9837 (nearbyint_test): Use ALL_RM_TEST.
9838 (rint_test_data): Include all tests used for nearbyint.
9840 2014-03-17 Will Newton <will.newton@linaro.org>
9842 * nptl/sysdeps/pthread/pthread.h: Revert previous
9845 * sysdeps/generic/ldsodefs.h: Revert previous
9848 * libio/genops.c: Revert previous change.
9849 * libio/libioP.h: Likewise.
9850 * stdio-common/vfprintf.c: Likewise.
9852 * sysdeps/generic/math_private.h: Revert previous
9855 * sysdeps/generic/math_private.h: Check whether
9856 HAVE_RM_CTX is defined with #ifdef rather
9859 * argp/argp-fmtstream.h: Check whether
9860 __STRICT_ANSI__ is defined with #ifdef rather
9862 * argp/argp.h: Likewise.
9864 * libio/genops.c: Check whether
9865 _IO_JUMPS_OFFSET is defined with #ifdef rather
9867 * libio/libioP.h: Likewise.
9868 * stdio-common/vfprintf.c: Likewise.
9870 * sysdeps/generic/ldsodefs.h: Check whether
9871 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
9874 * nptl/sysdeps/pthread/pthread.h: Check
9875 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
9878 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9880 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
9882 * libio/tst-ftell-active-handler.c (do_append_test): Add a
9886 * libio/fileops.c (_IO_file_open): Seek to end of file but
9887 don't cache the offset.
9888 (get_file_offset): Remove function.
9889 (do_ftell): Use cached offset when available.
9890 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
9891 don't cache the offset.
9892 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
9894 (do_one_test): Call it.
9895 (do_ftell_test): Fix up expected old offset for a+ mode.
9896 * libio/wfileops.c (do_ftell_wide): Used cached offset when
9899 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
9900 up test status with function return status.
9901 (do_write_test): Likewise.
9902 (do_append_test): Likewise.
9904 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
9905 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
9908 2014-03-17 Joseph Myers <joseph@codesourcery.com>
9910 * math/gen-libm-test.pl (parse_args): Handle results specified for
9911 each rounding mode separately.
9912 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
9913 tests and results from lrint_tonearest_test_data,
9914 lrint_towardzero_test_data, lrint_downward_test_data and
9915 lrint_upward_test_data.
9916 (lrint_test): Use ALL_RM_TEST.
9917 (lrint_tonearest_test_data): Remove.
9918 (lrint_test_tonearest): Likewise.
9919 (lrint_towardzero_test_data): Likewise.
9920 (lrint_test_towardzero): Likewise.
9921 (lrint_downward_test_data): Likewise.
9922 (lrint_test_downward): Likewise.
9923 (lrint_upward_test_data): Likewise.
9924 (lrint_test_upward): Likewise.
9925 (llrint_test_data): Merge in per-rounding-mode tests and results
9926 from llrint_tonearest_test_data, llrint_towardzero_test_data,
9927 llrint_downward_test_data and llrint_upward_test_data.
9928 (llrint_test): Use ALL_RM_TEST.
9929 (llrint_tonearest_test_data): Remove.
9930 (llrint_test_tonearest): Likewise.
9931 (llrint_towardzero_test_data): Likewise.
9932 (llrint_test_towardzero): Likewise.
9933 (llrint_downward_test_data): Likewise.
9934 (llrint_test_downward): Likewise.
9935 (llrint_upward_test_data): Likewise.
9936 (llrint_test_upward): Likewise.
9937 (rint_test_data): Merge in per-rounding-mode tests and results
9938 from rint_tonearest_test_data, rint_towardzero_test_data,
9939 rint_downward_test_data and rint_upward_test_data. Add
9940 per-rounding-mode results for tests not in those arrays.
9941 (rint_test): Use ALL_RM_TEST.
9942 (rint_tonearest_test_data): Remove.
9943 (rint_test_tonearest): Likewise.
9944 (rint_towardzero_test_data): Likewise.
9945 (rint_test_towardzero): Likewise.
9946 (rint_downward_test_data): Likewise.
9947 (rint_test_downward): Likewise.
9948 (rint_upward_test_data): Likewise.
9949 (rint_test_upward): Likewise.
9950 (main): Don't call removed functions.
9952 2014-03-14 Roland McGrath <roland@hack.frob.com>
9954 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
9955 "Compiled on ..." crapola. It is anti-useful.
9957 2014-03-14 Joseph Myers <joseph@codesourcery.com>
9959 * scripts/evaluate-test.sh: Handle fourth argument to determine
9960 whether test run should stop on failure.
9961 * Makeconfig (stop-on-test-failure): New variable.
9962 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
9963 $(stop-on-test-failure).
9964 * Makefile (tests): Give a summary of results from testing and
9965 exit with failure status if they include an ERROR or FAIL.
9967 * manual/install.texi (Configuring and compiling): Mention
9968 stop-on-test-failure=y.
9969 * INSTALL: Regenerated.
9971 2014-03-14 Roland McGrath <roland@hack.frob.com>
9973 * scripts/versionlist.awk: New file.
9974 * Makerules [$(build-shared) = yes]
9975 (postclean-generated): Add Versions.def, not Versions.def.v and
9977 ($(common-objpfx)Versions.def.v.i): Target removed.
9978 ($(common-objpfx)Versions.def): New target.
9979 ($(common-objpfx)Versions.all): Depend on that rather that
9980 $(common-objpfx)Versions.def.v.
9981 * Versions.def: File removed.
9983 * Makeconfig (+gccwarn): Add -Wundef.
9984 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
9985 a dl-sysdep.h breaking its contract.
9986 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
9987 * include/stackinfo.h: New file.
9988 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
9989 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
9990 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
9991 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
9992 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
9993 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
9994 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9995 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9996 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9997 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9998 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
9999 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10000 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10001 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10002 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10004 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10007 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10009 * math/libm-test.inc (round_test_data): Add more tests.
10012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10014 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10017 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10019 * math/libm-test.inc (ceil_test_data): Add more tests.
10021 * math/libm-test.inc (trunc_test_data): Add more tests related to
10024 2014-03-14 Roland McGrath <roland@hack.frob.com>
10026 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10027 with #if rather than #ifdef.
10028 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10030 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10032 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10033 first. Disable AVX-512 GCC support if assembler doesn't support
10035 * sysdeps/x86_64/configure: Regenerated.
10037 2014-03-13 Carlos O'Donell <carlos@redhat.com>
10039 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10040 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10041 (__old_pthread_attr_setstack): Likewise.
10042 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10043 [!_STACK_GROWS_DOWN]: Likewise.
10045 2014-03-13 Mike Frysinger <vapier@gentoo.org>
10047 * config.make.in (have-bash2): Delete.
10048 * configure.ac (libc_cv_have_bash2): Delete.
10049 * configure: Regenerate.
10050 * elf/Makefile (common-ldd-rewrite): Rename to ...
10051 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10052 (sh-ldd-rewrite): Delete.
10053 (bash-ldd-rewrite): Delete.
10054 (have-bash2): Delete checks.
10055 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10058 * config.make.in (have-ksh): Delete.
10060 * configure.ac (libc_cv_have_ksh): Delete.
10061 * configure: Regenerate.
10063 * elf/Makefile: Delete $(have-ksh) check.
10064 ($(objpfx)sotruss): Change KSH to BASH.
10065 * elf/sotruss.ksh: Rename to ...
10066 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10067 function style to match POSIX. Drop ksh vim mode setting.
10069 * manual/time.texi (Specifying the Time Zone with TZ): Change
10070 Tuesday to Thursday.
10072 * debug/tst-longjmp_chk2.c: Update header comment.
10073 (stackoverflow_handler): Add comment. Call assert on pass value.
10075 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10078 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10079 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10080 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10081 (La_x86_64_vector): Add zmm.
10082 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10083 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10084 ($(objpfx)tst-audit10): New target.
10085 ($(objpfx)tst-audit10.out): Likewise.
10086 (tst-audit10-ENV): New.
10087 (AVX512-CFLAGS): Likewise.
10088 (CFLAGS-tst-audit10.c): Likewise.
10089 (CFLAGS-tst-auditmod10a.c): Likewise.
10090 (CFLAGS-tst-auditmod10b.c): Likewise.
10091 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10092 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10093 * sysdeps/x86_64/configure: Regenerated.
10094 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10095 AVX-512 zmm register support.
10096 (_dl_x86_64_save_sse): Likewise.
10097 (_dl_x86_64_restore_sse): Likewise.
10098 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10099 size vector registers.
10100 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10101 (ZMM_SIZE): Likewise.
10102 * sysdeps/x86_64/tst-audit10.c: New file.
10103 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10104 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10106 2014-03-13 Roland McGrath <roland@hack.frob.com>
10108 * configure.ac (HAVE_EHDR_START): New check.
10109 * configure: Regenerated.
10110 * config.h.in (HAVE_EHDR_START): New #undef.
10111 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10112 assuming the lowest-addressed segment maps the start of the file.
10114 2014-03-13 Joseph Myers <joseph@codesourcery.com>
10116 * INSTALL: Regenerated.
10118 2014-03-13 Will Newton <will.newton@linaro.org>
10120 * manual/setjmp.texi (System V contexts): Improve
10121 clarity and grammar of documentation.
10123 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10126 * elf/Makefile (tests): Add tst-pie2.
10127 (tests-pie): Add tst-pie2.
10128 * elf/tst-pie2.c: New file.
10129 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10131 * elf/rtld.c (map_doit): Load executable as lt_executable.
10132 (dl_main): Likewise.
10134 2014-03-12 Joseph Myers <joseph@codesourcery.com>
10137 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10138 (__ASSUME_PSELECT): Undefine.
10140 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10143 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10144 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10146 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10147 selector for static builds.
10149 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10152 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10155 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10157 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10158 IFUNC selector for static builds.
10160 2014-03-11 Joseph Myers <joseph@codesourcery.com>
10162 * sysdeps/mips/math_private.h [__mips_hard_float]
10163 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10164 libc_feresetround_mips_ctx.
10165 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10166 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10167 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10170 * math/s_nextafter.c (__nextafter): Do not return value from
10171 overflowing computation.
10172 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10173 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10176 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10178 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10179 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10181 2014-03-11 Roland McGrath <roland@hack.frob.com>
10183 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10184 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10185 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10186 the new mov targetting sp.
10188 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10191 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10192 Define it for static builds as well.
10193 (NO_BZERO_IMPL): Likewise.
10195 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10197 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10198 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10199 multiarch strspn for PPC64.
10200 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10201 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10203 (__libc_ifunc_impl_list): Likewise.
10204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10205 multiarch optimizations
10206 * string/strspn.c (strspn): Using macro to redefine symbol name.
10208 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10209 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10211 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10212 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10213 multiarch strncat for PPC64.
10214 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10215 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10217 (__libc_ifunc_impl_list): Likewise.
10218 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10219 multiarch optimizations
10221 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10224 * nscd/nscd.service: Make service type forking.
10226 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10228 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10229 sign in non default rounding modes.
10230 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10232 2014-03-08 Joseph Myers <joseph@codesourcery.com>
10234 * math/libm-test.inc (ALL_RM_TEST): New macro.
10235 (ceil_test): Use ALL_RM_TEST.
10236 (cimag_test): Likewise.
10237 (conj_test): Likewise.
10238 (copysign_test): Likewise.
10239 (cproj_test): Likewise.
10240 (creal_test): Likewise.
10241 (fabs_test): Likewise.
10242 (floor_test): Likewise.
10243 (fmax_test): Likewise.
10244 (fmin_test): Likewise.
10245 (fmod_test): Likewise.
10246 (fpclassify_test): Likewise.
10247 (frexp_test): Likewise.
10248 (ilogb_test): Likewise.
10249 (isfinite_test): Likewise.
10250 (finite_test): Likewise.
10251 (isgreater_test): Likewise.
10252 (isgreaterequal_test): Likewise.
10253 (isinf_test): Likewise.
10254 (isless_test): Likewise.
10255 (islessequal_test): Likewise.
10256 (islessgreater_test): Likewise.
10257 (isnan_test): Likewise.
10258 (isnormal_test): Likewise.
10259 (issignaling_test): Likewise.
10260 (isunordered_test): Likewise.
10261 (logb_test): Likewise.
10262 (logb_downward_test_data): Remove.
10263 (logb_test_downward): Likewise.
10264 (lround_test): Use ALL_RM_TEST.
10265 (llround_test): Likewise.
10266 (modf_test): Likewise.
10267 (nexttoward_test): Likewise.
10268 (remainder_test): Likewise.
10269 (drem_test): Likewise.
10270 (remainder_tonearest_test_data): Likewise.
10271 (remainder_test_tonearest): Likewise.
10272 (drem_test_tonearest): Likewise.
10273 (remainder_towardzero_test_data): Likewise.
10274 (remainder_test_towardzero): Likewise.
10275 (drem_test_towardzero): Likewise.
10276 (remainder_downward_test_data): Likewise.
10277 (remainder_test_downward): Likewise.
10278 (drem_test_downward): Likewise.
10279 (remainder_upward_test_data): Likewise.
10280 (remainder_test_upward): Likewise.
10281 (drem_test_upward): Likewise.
10282 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10283 (round_test): Use ALL_RM_TEST.
10284 (signbit_test): Likewise.
10285 (trunc_test): Likewise.
10286 (significand_test): Likewise.
10287 (main): Don't call removed functions.
10289 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10292 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
10293 || __USE_XOPEN2K8].
10294 (ILL_ILLOPN): Likewise.
10295 (ILL_ILLADR): Likewise.
10296 (ILL_ILLTRP): Likewise.
10297 (ILL_PRVOPC): Likewise.
10298 (ILL_PRVREG): Likewise.
10299 (ILL_COPROC): Likewise.
10300 (ILL_BADSTK): Likewise.
10301 (FPE_INTDIV): Likewise.
10302 (FPE_INTOVF): Likewise.
10303 (FPE_FLTDIV): Likewise.
10304 (FPE_FLTOVF): Likewise.
10305 (FPE_FLTUND): Likewise.
10306 (FPE_FLTRES): Likewise.
10307 (FPE_FLTINV): Likewise.
10308 (FPE_FLTSUB): Likewise.
10309 (SEGV_MAPERR): Likewise.
10310 (SEGV_ACCERR): Likewise.
10311 (BUS_ADRALN): Likewise.
10312 (BUS_ADRERR): Likewise.
10313 (BUS_OBJERR): Likewise.
10314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10315 (TRAP_TRACE): Likewise.
10316 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10318 (CLD_KILLED): Likewise.
10319 (CLD_DUMPED): Likewise.
10320 (CLD_TRAPPED): Likewise.
10321 (CLD_STOPPED): Likewise.
10322 (CLD_CONTINUED): Likewise.
10323 (POLL_IN): Likewise.
10324 (POLL_OUT): Likewise.
10325 (POLL_MSG): Likewise.
10326 (POLL_ERR): Likewise.
10327 (POLL_PRI): Likewise.
10328 (POLL_HUP): Likewise.
10329 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
10331 (ILL_ILLOPN): Likewise.
10332 (ILL_ILLADR): Likewise.
10333 (ILL_ILLTRP): Likewise.
10334 (ILL_PRVOPC): Likewise.
10335 (ILL_PRVREG): Likewise.
10336 (ILL_COPROC): Likewise.
10337 (ILL_BADSTK): Likewise.
10338 (FPE_INTDIV): Likewise.
10339 (FPE_INTOVF): Likewise.
10340 (FPE_FLTDIV): Likewise.
10341 (FPE_FLTOVF): Likewise.
10342 (FPE_FLTUND): Likewise.
10343 (FPE_FLTRES): Likewise.
10344 (FPE_FLTINV): Likewise.
10345 (FPE_FLTSUB): Likewise.
10346 (SEGV_MAPERR): Likewise.
10347 (SEGV_ACCERR): Likewise.
10348 (BUS_ADRALN): Likewise.
10349 (BUS_ADRERR): Likewise.
10350 (BUS_OBJERR): Likewise.
10351 (BUS_MCEERR_AR): Likewise.
10352 (BUS_MCEERR_AO): Likewise.
10353 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10354 (TRAP_TRACE): Likewise.
10355 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10357 (CLD_KILLED): Likewise.
10358 (CLD_DUMPED): Likewise.
10359 (CLD_TRAPPED): Likewise.
10360 (CLD_STOPPED): Likewise.
10361 (CLD_CONTINUED): Likewise.
10362 (POLL_IN): Likewise.
10363 (POLL_OUT): Likewise.
10364 (POLL_MSG): Likewise.
10365 (POLL_ERR): Likewise.
10366 (POLL_PRI): Likewise.
10367 (POLL_HUP): Likewise.
10368 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
10369 (ILL_ILLOPN): Likewise.
10370 (ILL_ILLADR): Likewise.
10371 (ILL_ILLTRP): Likewise.
10372 (ILL_PRVOPC): Likewise.
10373 (ILL_PRVREG): Likewise.
10374 (ILL_COPROC): Likewise.
10375 (ILL_BADSTK): Likewise.
10376 (FPE_INTDIV): Likewise.
10377 (FPE_INTOVF): Likewise.
10378 (FPE_FLTDIV): Likewise.
10379 (FPE_FLTOVF): Likewise.
10380 (FPE_FLTUND): Likewise.
10381 (FPE_FLTRES): Likewise.
10382 (FPE_FLTINV): Likewise.
10383 (FPE_FLTSUB): Likewise.
10384 (SEGV_MAPERR): Likewise.
10385 (SEGV_ACCERR): Likewise.
10386 (BUS_ADRALN): Likewise.
10387 (BUS_ADRERR): Likewise.
10388 (BUS_OBJERR): Likewise.
10389 (BUS_MCEERR_AR): Likewise.
10390 (BUS_MCEERR_AO): Likewise.
10391 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10392 (TRAP_TRACE): Likewise.
10393 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10395 (CLD_KILLED): Likewise.
10396 (CLD_DUMPED): Likewise.
10397 (CLD_TRAPPED): Likewise.
10398 (CLD_STOPPED): Likewise.
10399 (CLD_CONTINUED): Likewise.
10400 (POLL_IN): Likewise.
10401 (POLL_OUT): Likewise.
10402 (POLL_MSG): Likewise.
10403 (POLL_ERR): Likewise.
10404 (POLL_PRI): Likewise.
10405 (POLL_HUP): Likewise.
10406 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
10408 (ILL_ILLOPN): Likewise.
10409 (ILL_ILLADR): Likewise.
10410 (ILL_ILLTRP): Likewise.
10411 (ILL_PRVOPC): Likewise.
10412 (ILL_PRVREG): Likewise.
10413 (ILL_COPROC): Likewise.
10414 (ILL_BADSTK): Likewise.
10415 (ILL_BADIADDR): Likewise.
10416 (ILL_BREAK): Likewise.
10417 (FPE_INTDIV): Likewise.
10418 (FPE_INTOVF): Likewise.
10419 (FPE_FLTDIV): Likewise.
10420 (FPE_FLTOVF): Likewise.
10421 (FPE_FLTUND): Likewise.
10422 (FPE_FLTRES): Likewise.
10423 (FPE_FLTINV): Likewise.
10424 (FPE_FLTSUB): Likewise.
10425 (FPE_DECOVF): Likewise.
10426 (FPE_DECDIV): Likewise.
10427 (FPE_DECERR): Likewise.
10428 (FPE_INVASC): Likewise.
10429 (FPE_INVDEC): Likewise.
10430 (SEGV_MAPERR): Likewise.
10431 (SEGV_ACCERR): Likewise.
10432 (SEGV_PSTKOVF): Likewise.
10433 (BUS_ADRALN): Likewise.
10434 (BUS_ADRERR): Likewise.
10435 (BUS_OBJERR): Likewise.
10436 (BUS_MCEERR_AR): Likewise.
10437 (BUS_MCEERR_AO): Likewise.
10438 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10439 (TRAP_TRACE): Likewise.
10440 (TRAP_BRANCH): Likewise.
10441 (TRAP_HWBKPT): Likewise.
10442 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10444 (CLD_KILLED): Likewise.
10445 (CLD_DUMPED): Likewise.
10446 (CLD_TRAPPED): Likewise.
10447 (CLD_STOPPED): Likewise.
10448 (CLD_CONTINUED): Likewise.
10449 (POLL_IN): Likewise.
10450 (POLL_OUT): Likewise.
10451 (POLL_MSG): Likewise.
10452 (POLL_ERR): Likewise.
10453 (POLL_PRI): Likewise.
10454 (POLL_HUP): Likewise.
10455 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
10456 (ILL_ILLOPN): Likewise.
10457 (ILL_ILLADR): Likewise.
10458 (ILL_ILLTRP): Likewise.
10459 (ILL_PRVOPC): Likewise.
10460 (ILL_PRVREG): Likewise.
10461 (ILL_COPROC): Likewise.
10462 (ILL_BADSTK): Likewise.
10463 (FPE_INTDIV): Likewise.
10464 (FPE_INTOVF): Likewise.
10465 (FPE_FLTDIV): Likewise.
10466 (FPE_FLTOVF): Likewise.
10467 (FPE_FLTUND): Likewise.
10468 (FPE_FLTRES): Likewise.
10469 (FPE_FLTINV): Likewise.
10470 (FPE_FLTSUB): Likewise.
10471 (SEGV_MAPERR): Likewise.
10472 (SEGV_ACCERR): Likewise.
10473 (BUS_ADRALN): Likewise.
10474 (BUS_ADRERR): Likewise.
10475 (BUS_OBJERR): Likewise.
10476 (BUS_MCEERR_AR): Likewise.
10477 (BUS_MCEERR_AO): Likewise.
10478 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10479 (TRAP_TRACE): Likewise.
10480 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10482 (CLD_KILLED): Likewise.
10483 (CLD_DUMPED): Likewise.
10484 (CLD_TRAPPED): Likewise.
10485 (CLD_STOPPED): Likewise.
10486 (CLD_CONTINUED): Likewise.
10487 (POLL_IN): Likewise.
10488 (POLL_OUT): Likewise.
10489 (POLL_MSG): Likewise.
10490 (POLL_ERR): Likewise.
10491 (POLL_PRI): Likewise.
10492 (POLL_HUP): Likewise.
10493 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
10494 (ILL_ILLOPN): Likewise.
10495 (ILL_ILLADR): Likewise.
10496 (ILL_ILLTRP): Likewise.
10497 (ILL_PRVOPC): Likewise.
10498 (ILL_PRVREG): Likewise.
10499 (ILL_COPROC): Likewise.
10500 (ILL_BADSTK): Likewise.
10501 (FPE_INTDIV): Likewise.
10502 (FPE_INTOVF): Likewise.
10503 (FPE_FLTDIV): Likewise.
10504 (FPE_FLTOVF): Likewise.
10505 (FPE_FLTUND): Likewise.
10506 (FPE_FLTRES): Likewise.
10507 (FPE_FLTINV): Likewise.
10508 (FPE_FLTSUB): Likewise.
10509 (SEGV_MAPERR): Likewise.
10510 (SEGV_ACCERR): Likewise.
10511 (BUS_ADRALN): Likewise.
10512 (BUS_ADRERR): Likewise.
10513 (BUS_OBJERR): Likewise.
10514 (BUS_MCEERR_AR): Likewise.
10515 (BUS_MCEERR_AO): Likewise.
10516 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10517 (TRAP_TRACE): Likewise.
10518 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10520 (CLD_KILLED): Likewise.
10521 (CLD_DUMPED): Likewise.
10522 (CLD_TRAPPED): Likewise.
10523 (CLD_STOPPED): Likewise.
10524 (CLD_CONTINUED): Likewise.
10525 (POLL_IN): Likewise.
10526 (POLL_OUT): Likewise.
10527 (POLL_MSG): Likewise.
10528 (POLL_ERR): Likewise.
10529 (POLL_PRI): Likewise.
10530 (POLL_HUP): Likewise.
10531 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
10532 (ILL_ILLOPN): Likewise.
10533 (ILL_ILLADR): Likewise.
10534 (ILL_ILLTRP): Likewise.
10535 (ILL_PRVOPC): Likewise.
10536 (ILL_PRVREG): Likewise.
10537 (ILL_COPROC): Likewise.
10538 (ILL_BADSTK): Likewise.
10539 (FPE_INTDIV): Likewise.
10540 (FPE_INTOVF): Likewise.
10541 (FPE_FLTDIV): Likewise.
10542 (FPE_FLTOVF): Likewise.
10543 (FPE_FLTUND): Likewise.
10544 (FPE_FLTRES): Likewise.
10545 (FPE_FLTINV): Likewise.
10546 (FPE_FLTSUB): Likewise.
10547 (SEGV_MAPERR): Likewise.
10548 (SEGV_ACCERR): Likewise.
10549 (BUS_ADRALN): Likewise.
10550 (BUS_ADRERR): Likewise.
10551 (BUS_OBJERR): Likewise.
10552 (BUS_MCEERR_AR): Likewise.
10553 (BUS_MCEERR_AO): Likewise.
10554 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10555 (TRAP_TRACE): Likewise.
10556 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10558 (CLD_KILLED): Likewise.
10559 (CLD_DUMPED): Likewise.
10560 (CLD_TRAPPED): Likewise.
10561 (CLD_STOPPED): Likewise.
10562 (CLD_CONTINUED): Likewise.
10563 (POLL_IN): Likewise.
10564 (POLL_OUT): Likewise.
10565 (POLL_MSG): Likewise.
10566 (POLL_ERR): Likewise.
10567 (POLL_PRI): Likewise.
10568 (POLL_HUP): Likewise.
10569 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
10570 (ILL_ILLOPN): Likewise.
10571 (ILL_ILLADR): Likewise.
10572 (ILL_ILLTRP): Likewise.
10573 (ILL_PRVOPC): Likewise.
10574 (ILL_PRVREG): Likewise.
10575 (ILL_COPROC): Likewise.
10576 (ILL_BADSTK): Likewise.
10577 (ILL_DBLFLT): Likewise.
10578 (ILL_HARDWALL): Likewise.
10579 (FPE_INTDIV): Likewise.
10580 (FPE_INTOVF): Likewise.
10581 (FPE_FLTDIV): Likewise.
10582 (FPE_FLTOVF): Likewise.
10583 (FPE_FLTUND): Likewise.
10584 (FPE_FLTRES): Likewise.
10585 (FPE_FLTINV): Likewise.
10586 (FPE_FLTSUB): Likewise.
10587 (SEGV_MAPERR): Likewise.
10588 (SEGV_ACCERR): Likewise.
10589 (BUS_ADRALN): Likewise.
10590 (BUS_ADRERR): Likewise.
10591 (BUS_OBJERR): Likewise.
10592 (BUS_MCEERR_AR): Likewise.
10593 (BUS_MCEERR_AO): Likewise.
10594 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10595 (TRAP_TRACE): Likewise.
10596 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10598 (CLD_KILLED): Likewise.
10599 (CLD_DUMPED): Likewise.
10600 (CLD_TRAPPED): Likewise.
10601 (CLD_STOPPED): Likewise.
10602 (CLD_CONTINUED): Likewise.
10603 (POLL_IN): Likewise.
10604 (POLL_OUT): Likewise.
10605 (POLL_MSG): Likewise.
10606 (POLL_ERR): Likewise.
10607 (POLL_PRI): Likewise.
10608 (POLL_HUP): Likewise.
10609 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
10610 (ILL_ILLOPN): Likewise.
10611 (ILL_ILLADR): Likewise.
10612 (ILL_ILLTRP): Likewise.
10613 (ILL_PRVOPC): Likewise.
10614 (ILL_PRVREG): Likewise.
10615 (ILL_COPROC): Likewise.
10616 (ILL_BADSTK): Likewise.
10617 (FPE_INTDIV): Likewise.
10618 (FPE_INTOVF): Likewise.
10619 (FPE_FLTDIV): Likewise.
10620 (FPE_FLTOVF): Likewise.
10621 (FPE_FLTUND): Likewise.
10622 (FPE_FLTRES): Likewise.
10623 (FPE_FLTINV): Likewise.
10624 (FPE_FLTSUB): Likewise.
10625 (SEGV_MAPERR): Likewise.
10626 (SEGV_ACCERR): Likewise.
10627 (BUS_ADRALN): Likewise.
10628 (BUS_ADRERR): Likewise.
10629 (BUS_OBJERR): Likewise.
10630 (BUS_MCEERR_AR): Likewise.
10631 (BUS_MCEERR_AO): Likewise.
10632 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
10633 (TRAP_TRACE): Likewise.
10634 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
10636 (CLD_KILLED): Likewise.
10637 (CLD_DUMPED): Likewise.
10638 (CLD_TRAPPED): Likewise.
10639 (CLD_STOPPED): Likewise.
10640 (CLD_CONTINUED): Likewise.
10641 (POLL_IN): Likewise.
10642 (POLL_OUT): Likewise.
10643 (POLL_MSG): Likewise.
10644 (POLL_ERR): Likewise.
10645 (POLL_PRI): Likewise.
10646 (POLL_HUP): Likewise.
10647 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
10648 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10651 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
10652 before #include of <time.h>.
10653 [!__USE_XOPEN2K] (__need_timespec): Likewise.
10654 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
10655 (test-xfail-UNIX98/sched.h/conform): Likewise.
10657 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
10659 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
10660 error absence of trapping exception support.
10661 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10663 2014-03-07 Joseph Myers <joseph@codesourcery.com>
10665 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
10666 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
10667 * timezone/Makefile (testdata): Move definition above include of
10669 (test-zones): New variable.
10670 (tests-special): Add zone files.
10671 (build-testdata): Use $(evaluate-test).
10673 * elf/Makefile (tests-special): Rename tests to end with .out.
10674 ($(objpfx)noload-mem): Likewise.
10675 ($(objpfx)tst-leaks1-mem): Likewise.
10676 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
10677 * iconv/Makefile (xtests-special): Change test-iconvconfig to
10678 $(objpfx)test-iconvconfig.out.
10679 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
10680 set -e inside subshell and redirect output to file.
10681 * iconvdata/Makefile (generated): Rename tests to end with .out.
10683 (tests-special): Rename tests to end with .out.
10684 ($(objpfx)mtrace-tst-loading): Likewise.
10685 * intl/Makefile (generated): Likewise.
10686 (tests-special): Likewise.
10687 ($(objpfx)mtrace-tst-gettext): Likewise.
10688 * misc/Makefile (generated): Likewise.
10689 (tests-special): Likewise.
10690 ($(objpfx)tst-error1-mem): Likewise.
10691 * nptl/Makefile (tests-special): Likewise.
10692 ($(objpfx)tst-stack3-mem): Likewise.
10693 (generated): Likewise.
10694 * posix/Makefile (generated): Likewise.
10695 (tests-special): Likewise.
10696 (xtests-special): Likewise.
10697 ($(objpfx)tst-fnmatch-mem): Likewise.
10698 ($(objpfx)bug-regex2-mem): Likewise.
10699 ($(objpfx)bug-regex14-mem): Likewise.
10700 ($(objpfx)bug-regex21-mem): Likewise.
10701 ($(objpfx)bug-regex31-mem): Likewise.
10702 ($(objpfx)tst-vfork3-mem): Likewise.
10703 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
10704 ($(objpfx)tst-pcre-mem): Likewise.
10705 ($(objpfx)tst-boost-mem): Likewise.
10706 ($(objpfx)bug-ga2-mem): Likewise.
10707 ($(objpfx)bug-glob2-mem): Likewise.
10708 * resolv/Makefile (generate): Likewise.
10709 (tests-special): Likewise.
10710 (xtests-special): Likewise.
10711 (generated): Likewise.
10712 ($(objpfx)mtrace-tst-leaks): Likewise.
10713 ($(objpfx)mtrace-tst-leaks2): Likewise.
10715 * scripts/merge-test-results.sh: New file.
10716 * Makefile (tests-special-notdir): New variable.
10717 (tests): Run merge-test-results.sh.
10718 (xtests): Likewise.
10719 * Rules (tests-special-notdir): New variable.
10720 (xtests-special-notdir): Likewise.
10721 (tests): Run merge-test-results.sh
10722 (xtests): Likewise.
10724 * Makeconfig (test-xfail-name): New variable.
10725 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
10726 compute variable name for expected failures.
10727 * conform/Makefile (conformtest-headers-data): New variable.
10728 (conformtest-standards): Likewise.
10729 (conformtest-headers-ISO): Likewise.
10730 (conformtest-headers-ISO99): Likewise.
10731 (conformtest-headers-ISO11): Likewise.
10732 (conformtest-headers-POSIX): Likewise.
10733 (conformtest-headers-XPG3): Likewise.
10734 (conformtest-headers-XPG4): Likewise.
10735 (conformtest-headers-UNIX98): Likewise.
10736 (conformtest-headers-XOPEN2K): Likewise.
10737 (conformtest-headers-POSIX2008): Likewise.
10738 (conformtest-headers-XOPEN2K8): Likewise.
10739 (conformtest-header-list-base): Likewise.
10740 (conformtest-header-list-tests): Likewise.
10741 (conformtest-header-base): Likewise.
10742 (conformtest-header-tests): Likewise.
10743 (tests-special): Add $(conformtest-header-list-tests). If
10744 [$(fast-check) && !$(cross-compiling)], add
10745 $(conformtest-header-tests) instead of
10746 $(objpfx)run-conformtest.out.
10747 (generated): Add $(conformtest-header-list-base). If
10748 [$(fast-check) && !$(cross-compiling)], add
10749 $(conformtest-header-base). Remove previous setting.
10750 ($(conformtest-header-list-tests)): New target.
10751 (test-xfail-run-conformtest): Remove variable.
10752 ($(objpfx)run-conformtest.out): Remove target.
10753 (test-xfail-ISO11/complex.h/conform): New variable.
10754 (test-xfail-ISO11/stdalign.h/conform): Likewise.
10755 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10756 (test-xfail-XPG3/varargs.h/conform): Likewise.
10757 (test-xfail-XPG4/varargs.h/conform): Likewise.
10758 (test-xfail-UNIX98/varargs.h/conform): Likewise.
10759 (test-xfail-XPG4/ndbm.h/conform): Likewise.
10760 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
10761 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
10762 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
10763 (test-xfail-XPG3/fcntl.h/conform): Likewise.
10764 (test-xfail-XPG3/ftw.h/conform): Likewise.
10765 (test-xfail-XPG3/grp.h/conform): Likewise.
10766 (test-xfail-XPG3/langinfo.h/conform): Likewise.
10767 (test-xfail-XPG3/limits.h/conform): Likewise.
10768 (test-xfail-XPG3/pwd.h/conform): Likewise.
10769 (test-xfail-XPG3/search.h/conform): Likewise.
10770 (test-xfail-XPG3/signal.h/conform): Likewise.
10771 (test-xfail-XPG3/stdio.h/conform): Likewise.
10772 (test-xfail-XPG3/stdlib.h/conform): Likewise.
10773 (test-xfail-XPG3/string.h/conform): Likewise.
10774 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
10775 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
10776 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10777 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10778 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
10779 (test-xfail-XPG3/sys/types.h/conform): Likewise.
10780 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
10781 (test-xfail-XPG3/termios.h/conform): Likewise.
10782 (test-xfail-XPG3/time.h/conform): Likewise.
10783 (test-xfail-XPG3/unistd.h/conform): Likewise.
10784 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
10785 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10786 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10787 (test-xfail-XPG4/netdb.h/conform): Likewise.
10788 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
10789 (test-xfail-XPG4/signal.h/conform): Likewise.
10790 (test-xfail-XPG4/stdio.h/conform): Likewise.
10791 (test-xfail-XPG4/stdlib.h/conform): Likewise.
10792 (test-xfail-XPG4/stropts.h/conform): Likewise.
10793 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10794 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10795 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10796 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10797 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10798 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
10799 (test-xfail-XPG4/sys/time.h/conform): Likewise.
10800 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10801 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
10802 (test-xfail-XPG4/termios.h/conform): Likewise.
10803 (test-xfail-XPG4/ucontext.h/conform): Likewise.
10804 (test-xfail-XPG4/unistd.h/conform): Likewise.
10805 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10806 (test-xfail-POSIX/sched.h/conform): Likewise.
10807 (test-xfail-POSIX/signal.h/conform): Likewise.
10808 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
10809 (test-xfail-POSIX/tar.h/conform): Likewise.
10810 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
10811 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
10812 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10813 (test-xfail-UNIX98/netdb.h/conform): Likewise.
10814 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
10815 (test-xfail-UNIX98/sched.h/conform): Likewise.
10816 (test-xfail-UNIX98/signal.h/conform): Likewise.
10817 (test-xfail-UNIX98/stdio.h/conform): Likewise.
10818 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10819 (test-xfail-UNIX98/stropts.h/conform): Likewise.
10820 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10821 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10822 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10823 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10824 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10825 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10826 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
10827 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
10828 (test-xfail-UNIX98/unistd.h/conform): Likewise.
10829 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10830 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
10831 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
10832 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10833 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
10834 (test-xfail-XOPEN2K/math.h/conform): Likewise.
10835 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
10836 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10837 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10838 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
10839 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
10840 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
10841 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
10842 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10843 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10844 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10845 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10846 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10847 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10848 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
10849 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
10850 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10851 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
10852 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10853 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
10854 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10855 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
10856 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
10857 (test-xfail-POSIX2008/signal.h/conform): Likewise.
10858 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10859 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
10860 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
10861 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10862 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10863 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
10864 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10865 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10866 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10867 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
10868 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
10869 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10870 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10871 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10872 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
10873 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10874 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10875 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10876 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10877 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
10878 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
10879 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10880 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
10881 (conformtest-cc-flags): Likewise.
10882 ($(conformtest-header-tests): New target.
10883 * conform/check-header-lists.sh: New file.
10884 * conform/run-conformtest.sh: Remove.
10886 * conform/conformtest.pl: Allow ' and \ in values given for
10888 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
10890 [POSIX] (sys/types.h): Likewise.
10891 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
10893 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
10895 * conform/data/signal.h-data (SIGIO): Remove expectation.
10896 [XPG3] (SIGBUS): Do not expect.
10897 [POSIX || XPG3] (SIGPOLL): Likewise.
10898 [POSIX || XPG3] (SIGPROF): Likewise.
10899 [POSIX || XPG3] (SIGSYS): Likewise.
10900 [XPG3] (SIGTRAP): Likewise.
10901 [POSIX || XPG3] (SIGURG): Likewise.
10902 [POSIX || XPG3] (SIGVTALRM): Likewise.
10903 [POSIX || XPG3] (SIGXCPU): Likewise.
10904 [POSIX || XPG3] (SIGXFSZ): Likewise.
10905 [POSIX] (SA_SIGINFO): Expect.
10906 [XPG3] (siginfo_t): Do not expect type or contents.
10907 [POSIX] (si_pid): Do not expect element.
10908 [POSIX] (si_uid): Likewise.
10909 [POSIX] (si_addr): Likewise.
10910 [POSIX] (si_status): Likewise.
10911 [POSIX] (si_band): Likewise.
10912 [XPG4] (si_value): Likewise.
10913 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
10914 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
10915 [POSIX || XPG3] (ILL_ILLADR): Likewise.
10916 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
10917 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
10918 [POSIX || XPG3] (ILL_PRVREG): Likewise.
10919 [POSIX || XPG3] (ILL_COPROC): Likewise.
10920 [POSIX || XPG3] (ILL_BADSTK): Likewise.
10921 [POSIX || XPG3] (FPE_INTDIV): Likewise.
10922 [POSIX || XPG3] (FPE_INTOVF): Likewise.
10923 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
10924 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
10925 [POSIX || XPG3] (FPE_FLTUND): Likewise.
10926 [POSIX || XPG3] (FPE_FLTRES): Likewise.
10927 [POSIX || XPG3] (FPE_FLTINV): Likewise.
10928 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
10929 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
10930 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
10931 [POSIX || XPG3] (BUS_ADRALN): Likewise.
10932 [POSIX || XPG3] (BUS_ADRERR): Likewise.
10933 [POSIX || XPG3] (BUS_OBJERR): Likewise.
10934 [POSIX || XPG3] (CLD_EXITED): Likewise.
10935 [POSIX || XPG3] (CLD_KILLED): Likewise.
10936 [POSIX || XPG3] (CLD_DUMPED): Likewise.
10937 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
10938 [POSIX || XPG3] (CLD_STOPPED): Likewise.
10939 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
10940 [POSIX || XPG3] (POLL_IN): Likewise.
10941 [POSIX || XPG3] (POLL_OUT): Likewise.
10942 [POSIX || XPG3] (POLL_MSG): Likewise.
10943 [POSIX || XPG3] (POLL_ERR): Likewise.
10944 [POSIX || XPG3] (POLL_PRI): Likewise.
10945 [POSIX || XPG3] (POLL_HUP): Likewise.
10946 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
10947 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
10948 (SIG*): Do not allow.
10949 [XPG3] (si_*): Likewise.
10950 [XPG3] (SI_*): Likewise.
10951 [XPG3 || XPG4] (sigev_*): Likewise.
10952 [XPG3 || XPG4] (SIGEV_*): Likewise.
10953 [XPG3 || XPG4] (sival_*): Likewise.
10954 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
10955 [POSIX || XPG3] (BUS_*): Likewise.
10956 [POSIX || XPG3] (CLD_*): Likewise.
10957 [POSIX || XPG3] (FPE_*): Likewise.
10958 [POSIX || XPG3] (ILL_*): Likewise.
10959 [POSIX || XPG3] (POLL_*): Likewise.
10960 [POSIX || XPG3] (SEGV_*): Likewise.
10961 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
10962 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
10963 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
10964 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
10965 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
10966 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
10967 Specify type and value.
10968 (TVERSLEN): Likewise.
10969 (REGTYPE): Likewise.
10970 (AREGTYPE): Likewise.
10971 (LNKTYPE): Likewise.
10972 (SYMTYPE): Likewise.
10973 (CHRTYPE): Likewise.
10974 (BLKTYPE): Likewise.
10975 (DIRTYPE): Likewise.
10976 (FIFOTYPE): Likewise.
10977 (CONTTYPE): Likewise.
10981 (TUREAD): Likewise.
10982 (TUWRITE): Likewise.
10983 (TUEXEC): Likewise.
10984 (TGREAD): Likewise.
10985 (TGWRITE): Likewise.
10986 (TGEXEC): Likewise.
10987 (TOREAD): Likewise.
10988 (TOWRITE): Likewise.
10989 (TOEXEC): Likewise.
10990 [POSIX] (TSVTX): Expect constant.
10992 2014-03-06 Joseph Myers <joseph@codesourcery.com>
10994 * Makefile (tests): Change dependencies to ....
10995 (tests-special): ... additions to this variable.
10996 (tests): Depend on $(tests-special).
10997 * Makerules (check-abi-list): New variable.
10998 (check-abi): Depend on $(check-abi-list).
10999 [$(subdir) = elf] (tests-special): Add
11000 $(objpfx)check-abi-libc.out.
11001 [$(build-shared) = yes && subdir] (tests-special): Add
11003 [$(build-shared) = yes && subdir] (tests): Do not depend on
11005 * Rules (tests): Depend on $(tests-special).
11006 (xtests): Depend on $(xtests-special).
11007 * catgets/Makefile (tests): Change dependencies to ....
11008 (tests-special): ... additions to this variable.
11009 * conform/Makefile (tests): Change dependencies to ....
11010 (tests-special): ... additions to this variable.
11011 * elf/Makefile (tests): Change dependencies to ....
11012 (tests-special): ... additions to this variable.
11013 * grp/Makefile (tests): Change dependencies to ....
11014 (tests-special): ... additions to this variable.
11015 * iconv/Makefile (xtests): Change dependencies to ....
11016 (xtests-special): ... additions to this variable.
11017 * iconvdata/Makefile (tests): Change dependencies to ....
11018 (tests-special): ... additions to this variable.
11019 * intl/Makefile (tests): Change dependencies to ....
11020 (tests-special): ... additions to this variable. Also add
11021 $(objpfx)tst-gettext.out.
11022 * io/Makefile (tests): Change dependencies to ....
11023 (tests-special): ... additions to this variable.
11024 * libio/Makefile (tests): Change dependencies to ....
11025 (tests-special): ... additions to this variable.
11026 * malloc/Makefile (tests): Change dependencies to ....
11027 (tests-special): ... additions to this variable.
11028 * misc/Makefile (tests): Change dependencies to ....
11029 (tests-special): ... additions to this variable.
11030 * nptl/Makefile (tests): Change dependencies to ....
11031 (tests-special): ... additions to this variable.
11032 * nptl_db/Makefile (tests): Change dependencies to ....
11033 (tests-special): ... additions to this variable.
11034 * posix/Makefile (tests): Change dependencies to ....
11035 (tests-special): ... additions to this variable.
11036 (xtests): Change dependencies to ....
11037 (xtests-special): ... additions to this variable.
11038 * resolv/Makefile (tests): Change dependencies to ....
11039 (tests-special): ... additions to this variable.
11040 (xtests): Change dependencies to ....
11041 (xtests-special): ... additions to this variable.
11042 * stdio-common/Makefile (tests): Change dependencies to ....
11043 (tests-special): ... additions to this variable.
11044 (do-tst-unbputc): Remove target.
11045 (do-tst-printf): Likewise.
11046 * stdlib/Makefile (tests): Change dependencies to ....
11047 (tests-special): ... additions to this variable.
11048 * string/Makefile (tests): Change dependencies to ....
11049 (tests-special): ... additions to this variable.
11050 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11051 (tests-special): ... additions to this variable.
11053 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11055 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11057 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11058 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11060 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11061 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11062 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11063 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11064 * conform/data/libgen.h-data [XPG3]: Likewise.
11065 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11066 * conform/data/ndbm.h-data [XPG3]: Likewise.
11067 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11068 * conform/data/netdb.h-data [XPG3]: Likewise.
11069 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11070 * conform/data/poll.h-data [XPG3]: Likewise.
11071 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11072 * conform/data/strings.h-data [XPG3]: Likewise.
11073 * conform/data/stropts.h-data [XPG3]: Likewise.
11074 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11075 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11076 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11078 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11079 * conform/data/sys/time.h-data [XPG3]: Likewise.
11080 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11081 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11082 * conform/data/sys/un.h-data [XPG3]: Likewise.
11083 * conform/data/syslog.h-data [XPG3]: Likewise.
11084 * conform/data/ucontext.h-data [XPG3]: Likewise.
11085 * conform/data/utmpx.h-data [XPG3]: Likewise.
11086 * conform/data/varargs.h-data [UNIX98]: Enable file.
11088 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11090 * math/libm-test.inc (struct test_f_f_data): Move expected results
11091 into structure for each rounding mode.
11092 (struct test_ff_f_data): Likewise.
11093 (struct test_ff_f_data_nexttoward): Likewise.
11094 (struct test_fi_f_data): Likewise.
11095 (struct test_fl_f_data): Likewise.
11096 (struct test_if_f_data): Likewise.
11097 (struct test_fff_f_data): Likewise.
11098 (struct test_c_f_data): Likewise.
11099 (struct test_f_f1_data): Likewise.
11100 (struct test_fF_f1_data): Likewise.
11101 (struct test_ffI_f1_data): Likewise.
11102 (struct test_c_c_data): Likewise.
11103 (struct test_cc_c_data): Likewise.
11104 (struct test_f_i_data): Likewise.
11105 (struct test_ff_i_data): Likewise.
11106 (struct test_f_l_data): Likewise.
11107 (struct test_f_L_data): Likewise.
11108 (struct test_fFF_11_data): Likewise.
11110 (RM_FE_DOWNWARD): Likewise.
11111 (RM_FE_TONEAREST): Likewise.
11112 (RM_FE_TOWARDZERO): Likewise.
11113 (RM_FE_UPWARD): Likewise.
11114 (RUN_TEST_LOOP_f_f): Update references to expected results.
11115 (RUN_TEST_LOOP_2_f): Likewise.
11116 (RUN_TEST_LOOP_fff_f): Likewise.
11117 (RUN_TEST_LOOP_c_f): Likewise.
11118 (RUN_TEST_LOOP_f_f1): Likewise.
11119 (RUN_TEST_LOOP_fF_f1): Likewise.
11120 (RUN_TEST_LOOP_fI_f1): Likewise.
11121 (RUN_TEST_LOOP_ffI_f1): Likewise.
11122 (RUN_TEST_LOOP_c_c): Likewise.
11123 (RUN_TEST_LOOP_cc_c): Likewise.
11124 (RUN_TEST_LOOP_f_i): Likewise.
11125 (RUN_TEST_LOOP_f_i_tg): Likewise.
11126 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11127 (RUN_TEST_LOOP_f_b): Likewise.
11128 (RUN_TEST_LOOP_f_b_tg): Likewise.
11129 (RUN_TEST_LOOP_f_l): Likewise.
11130 (RUN_TEST_LOOP_f_L): Likewise.
11131 (RUN_TEST_LOOP_fFF_11): Likewise.
11132 * math/gen-libm-test.pl (parse_args): Output four copies of
11133 expected results for each test.
11135 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11136 (__ASSUME_UTIMES): Remove.
11137 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11138 (__ASSUME_UTIMES): Likewise.
11140 * math/gen-auto-libm-tests.c: Update comment on output format.
11141 (output_for_one_input_case): Generate before-rounding and
11142 after-rounding information as conditions on output flags not
11143 floating-point format.
11144 * math/auto-libm-test-out: Regenerated.
11145 * math/gen-libm-test.pl (cond_value): New function.
11146 (or_cond_value): Use cond_value.
11147 (generate_testfile): Handle conditional exceptions.
11149 2014-03-05 Joseph Myers <joseph@codesourcery.com>
11151 * math/libm-test.inc (max_valid_error): New variable.
11152 (init_max_error): Take new argument specifying whether function
11153 results are exactly determined. Set max_valid_error and bound
11154 other variables for errors based on this argument.
11155 (set_max_error): Do not record results above max_valid_error.
11156 (check_float_internal): Only accept errors of up to 0.5ulps if
11157 also at most max_valid_error.
11158 (START): Take new argument EXACT and pass it to init_max_error.
11159 (acos_test): Update call to START.
11160 (acos_test_tonearest): Likewise.
11161 (acos_test_towardzero): Likewise.
11162 (acos_test_downward): Likewise.
11163 (acos_test_upward): Likewise.
11164 (acosh_test): Likewise.
11165 (asin_test): Likewise.
11166 (asin_test_tonearest): Likewise.
11167 (asin_test_towardzero): Likewise.
11168 (asin_test_downward): Likewise.
11169 (asin_test_upward): Likewise.
11170 (asinh_test): Likewise.
11171 (atan_test): Likewise.
11172 (atanh_test): Likewise.
11173 (atan2_test): Likewise.
11174 (cabs_test): Likewise.
11175 (cacos_test): Likewise.
11176 (cacosh_test): Likewise.
11177 (carg_test): Likewise.
11178 (casin_test): Likewise.
11179 (casinh_test): Likewise.
11180 (catan_test): Likewise.
11181 (catanh_test): Likewise.
11182 (cbrt_test): Likewise.
11183 (ccos_test): Likewise.
11184 (ccosh_test): Likewise.
11185 (ceil_test): Likewise.
11186 (cexp_test): Likewise.
11187 (cimag_test): Likewise.
11188 (clog_test): Likewise.
11189 (clog10_test): Likewise.
11190 (conj_test): Likewise.
11191 (copysign_test): Likewise.
11192 (cos_test): Likewise.
11193 (cos_test_tonearest): Likewise.
11194 (cos_test_towardzero): Likewise.
11195 (cos_test_downward): Likewise.
11196 (cos_test_upward): Likewise.
11197 (cosh_test): Likewise.
11198 (cosh_test_tonearest): Likewise.
11199 (cosh_test_towardzero): Likewise.
11200 (cosh_test_downward): Likewise.
11201 (cosh_test_upward): Likewise.
11202 (cpow_test): Likewise.
11203 (cproj_test): Likewise.
11204 (creal_test): Likewise.
11205 (csin_test): Likewise.
11206 (csinh_test): Likewise.
11207 (csqrt_test): Likewise.
11208 (ctan_test): Likewise.
11209 (ctan_test_tonearest): Likewise.
11210 (ctan_test_towardzero): Likewise.
11211 (ctan_test_downward): Likewise.
11212 (ctan_test_upward): Likewise.
11213 (ctanh_test): Likewise.
11214 (ctanh_test_tonearest): Likewise.
11215 (ctanh_test_towardzero): Likewise.
11216 (ctanh_test_downward): Likewise.
11217 (ctanh_test_upward): Likewise.
11218 (erf_test): Likewise.
11219 (erfc_test): Likewise.
11220 (exp_test): Likewise.
11221 (exp_test_tonearest): Likewise.
11222 (exp_test_towardzero): Likewise.
11223 (exp_test_downward): Likewise.
11224 (exp_test_upward): Likewise.
11225 (exp10_test): Likewise.
11226 (exp10_test_tonearest): Likewise.
11227 (exp10_test_towardzero): Likewise.
11228 (exp10_test_downward): Likewise.
11229 (exp10_test_upward): Likewise.
11230 (pow10_test): Likewise.
11231 (exp2_test): Likewise.
11232 (expm1_test): Likewise.
11233 (expm1_test_tonearest): Likewise.
11234 (expm1_test_towardzero): Likewise.
11235 (expm1_test_downward): Likewise.
11236 (expm1_test_upward): Likewise.
11237 (fabs_test): Likewise.
11238 (fdim_test): Likewise.
11239 (floor_test): Likewise.
11240 (fma_test): Likewise.
11241 (fma_test_towardzero): Likewise.
11242 (fma_test_downward): Likewise.
11243 (fma_test_upward): Likewise.
11244 (fmax_test): Likewise.
11245 (fmin_test): Likewise.
11246 (fmod_test): Likewise.
11247 (fpclassify_test): Likewise.
11248 (frexp_test): Likewise.
11249 (hypot_test): Likewise.
11250 (ilogb_test): Likewise.
11251 (isfinite_test): Likewise.
11252 (finite_test): Likewise.
11253 (isgreater_test): Likewise.
11254 (isgreaterequal_test): Likewise.
11255 (isinf_test): Likewise.
11256 (isless_test): Likewise.
11257 (islessequal_test): Likewise.
11258 (islessgreater_test): Likewise.
11259 (isnan_test): Likewise.
11260 (isnormal_test): Likewise.
11261 (issignaling_test): Likewise.
11262 (isunordered_test): Likewise.
11263 (j0_test): Likewise.
11264 (j1_test): Likewise.
11265 (jn_test): Likewise.
11266 (ldexp_test): Likewise.
11267 (lgamma_test): Likewise.
11268 (gamma_test): Likewise.
11269 (lrint_test): Likewise.
11270 (lrint_test_tonearest): Likewise.
11271 (lrint_test_towardzero): Likewise.
11272 (lrint_test_downward): Likewise.
11273 (lrint_test_upward): Likewise.
11274 (llrint_test): Likewise.
11275 (llrint_test_tonearest): Likewise.
11276 (llrint_test_towardzero): Likewise.
11277 (llrint_test_downward): Likewise.
11278 (llrint_test_upward): Likewise.
11279 (log_test): Likewise.
11280 (log10_test): Likewise.
11281 (log1p_test): Likewise.
11282 (log2_test): Likewise.
11283 (logb_test): Likewise.
11284 (logb_test_downward): Likewise.
11285 (lround_test): Likewise.
11286 (llround_test): Likewise.
11287 (modf_test): Likewise.
11288 (nearbyint_test): Likewise.
11289 (nextafter_test): Likewise.
11290 (nexttoward_test): Likewise.
11291 (pow_test): Likewise.
11292 (pow_test_tonearest): Likewise.
11293 (pow_test_towardzero): Likewise.
11294 (pow_test_downward): Likewise.
11295 (pow_test_upward): Likewise.
11296 (remainder_test): Likewise.
11297 (drem_test): Likewise.
11298 (remainder_test_tonearest): Likewise.
11299 (drem_test_tonearest): Likewise.
11300 (remainder_test_towardzero): Likewise.
11301 (drem_test_towardzero): Likewise.
11302 (remainder_test_downward): Likewise.
11303 (drem_test_downward): Likewise.
11304 (remainder_test_upward): Likewise.
11305 (drem_test_upward): Likewise.
11306 (remquo_test): Likewise.
11307 (rint_test): Likewise.
11308 (rint_test_tonearest): Likewise.
11309 (rint_test_towardzero): Likewise.
11310 (rint_test_downward): Likewise.
11311 (rint_test_upward): Likewise.
11312 (round_test): Likewise.
11313 (scalb_test): Likewise.
11314 (scalbn_test): Likewise.
11315 (scalbln_test): Likewise.
11316 (signbit_test): Likewise.
11317 (sin_test): Likewise.
11318 (sin_test_tonearest): Likewise.
11319 (sin_test_towardzero): Likewise.
11320 (sin_test_downward): Likewise.
11321 (sin_test_upward): Likewise.
11322 (sincos_test): Likewise.
11323 (sinh_test): Likewise.
11324 (sinh_test_tonearest): Likewise.
11325 (sinh_test_towardzero): Likewise.
11326 (sinh_test_downward): Likewise.
11327 (sinh_test_upward): Likewise.
11328 (sqrt_test): Likewise.
11329 (sqrt_test_tonearest): Likewise.
11330 (sqrt_test_towardzero): Likewise.
11331 (sqrt_test_downward): Likewise.
11332 (sqrt_test_upward): Likewise.
11333 (tan_test): Likewise.
11334 (tan_test_tonearest): Likewise.
11335 (tan_test_towardzero): Likewise.
11336 (tan_test_downward): Likewise.
11337 (tan_test_upward): Likewise.
11338 (tanh_test): Likewise.
11339 (tgamma_test): Likewise.
11340 (trunc_test): Likewise.
11341 (y0_test): Likewise.
11342 (y1_test): Likewise.
11343 (yn_test): Likewise.
11344 (significand_test): Likewise.
11346 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
11347 individual tests in comment.
11348 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
11349 (prev_max_error): New variable.
11350 (prev_real_max_error): Likewise.
11351 (prev_imag_max_error): Likewise.
11352 (compare_ulp_data): Don't refer to test names in comment.
11353 (find_test_ulps): Remove function.
11354 (find_function_ulps): Likewise.
11355 (find_complex_function_ulps): Likewise.
11356 (init_max_error): Take function name as argument. Look up ulps
11358 (print_ulps): Remove function.
11359 (print_max_error): Use prev_max_error instead of calling
11360 find_function_ulps.
11361 (print_complex_max_error): Use prev_real_max_error and
11362 prev_imag_max_error instead of calling find_complex_function_ulps.
11363 (check_float_internal): Take max_ulp parameter instead of calling
11364 find_test_ulps. Don't call print_ulps.
11365 (check_float): Update call to check_float_internal.
11366 (check_complex): Update calls to check_float_internal.
11367 (START): Pass argument to init_max_error.
11368 * math/gen-libm-test.pl (%results): Don't include "kind"
11370 (parse_ulps): Don't handle ulps of individual tests.
11371 (print_ulps_file): Likewise.
11372 (output_ulps): Likewise.
11373 * math/README.libm-test: Update.
11374 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
11376 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
11377 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
11378 * sysdeps/arm/libm-test-ulps: Likewise.
11379 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
11380 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
11381 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
11382 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
11383 * sysdeps/microblaze/libm-test-ulps: Likewise.
11384 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11385 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11387 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11388 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11389 * sysdeps/sh/libm-test-ulps: Likewise.
11390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11391 * sysdeps/tile/libm-test-ulps: Likewise.
11392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11394 2014-03-04 Joseph Myers <joseph@codesourcery.com>
11396 * math/libm-test.inc (print_complex_max_error): Check separately
11397 whether real and imaginary errors are within allowed range and
11398 pass 0 to print_complex_function_ulps instead of value within
11401 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11403 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
11405 (get_handles_fopen): Likewise.
11406 (do_write_test): Likewise.
11408 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
11410 * libio/fileops.c (do_ftell): Use cached offset when
11412 * libio/iofwide.c (do_ftell_wide): Likewise.
11413 * libio/iofdopen.c (_IO_new_fdopen): Don't use
11415 * libio/wfileops.c (_IO_fwide): Don't cache offset.
11418 * libio/libioP.h (get_file_offset): New function.
11419 * libio/fileops.c (get_file_offset): Likewise.
11420 (do_ftell): Likewise.
11421 (_IO_new_file_seekoff): Split out ftell logic.
11422 * libio/wfileops.c (do_ftell_wide): Likewise.
11423 (_IO_wfile_seekoff): Split out ftell logic.
11424 * libio/tst-ftell-active-handler.c: New test case.
11425 * libio/Makefile (tests): Add it.
11427 2014-03-03 Roland McGrath <roland@hack.frob.com>
11429 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
11430 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
11432 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11435 * nscd/connections.c (nscd_init): Call do_exit.
11436 (start_threads): Call do_exit and notify_parent.
11437 (begin_drop_privileges): Call do_exit.
11438 (finish_drop_privileges): Likewise.
11439 * nscd/selinux.c (preserve_capabilities): Likewise.
11440 (install_real_capabilities): Likewise.
11441 (nscd_selinux_enabled): Likewise.
11442 (avc_create_thread): Likewise.
11443 (avc_alloc_lock): Likewise.
11444 (nscd_avc_init): Likewise.
11445 * nscd/nscd.c (parent_fd): New static variable.
11446 (main): Create a pipe between parent and child processes.
11447 Skip closing parent_fd.
11448 (monitor_child): New function.
11449 (do_exit): Likewise.
11450 (notify_parent): Likewise.
11451 * nscd/nscd.h (notify_parent): Likewise.
11452 (do_exit): Likewise.
11454 2014-03-03 Carlos O'Donell <carlos@redhat.com>
11456 * malloc/malloc.c (__libc_calloc): Revert last change.
11458 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11462 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11464 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
11465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
11467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11468 (__libc_ifunc_impl_list): Likewise.
11469 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
11470 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
11471 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
11472 * string/strrchr.c: Define STRRCHR.
11474 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
11476 * benchtest/bench-strtok.c (simple_strtok): Delete.
11477 (strtok_string): Use as benchmark.
11478 * string/strtok (STRTOK): New macro.
11480 2014-02-28 Carlos O'Donell <carlos@redhat.com>
11482 * manual/threads.texi: Add header and standard comments to all
11485 * elf/dl-lookup.c (check_match): New function.
11486 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
11487 (do_lookup_x): Remove nested function check_match. Use non-nested
11488 function check_match.
11490 2014-02-28 Roland McGrath <roland@hack.frob.com>
11492 * csu/Makefile (generated, before-compile): Use += rather than =.
11493 * catgets/Makefile (generated, generated-dirs): Likewise.
11494 * debug/Makefile (generated): Likewise.
11495 * dlfcn/Makefile (generated): Likewise.
11496 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
11497 * iconvdata/Makefile (before-compile, generated): Likewise.
11498 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
11499 * libio/Makefile (generated): Likewise.
11500 * malloc/Makefile (generated): Likewise.
11501 * manual/Makefile (generated, generated-dirs): Likewise.
11502 * misc/Makefile (generated): Likewise.
11503 * posix/Makefile (generated): Likewise.
11504 * resolv/Makefile (generated): Likewise.
11505 * sunrpc/Makefile (generated, generated-dirs): Likewise.
11506 * timezone/Makefile (generated, generated-dirs): Likewise.
11508 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
11510 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
11513 power8 implementation.
11514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
11515 file: POWER8 llround ifunc implementation.
11516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
11517 (__lllround): Add POWER8 implementation.
11518 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
11519 POWER8 llround implementation.
11521 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
11522 power8 implementation.
11523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
11524 file: POWER8 llrint ifunc implementation.
11525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
11526 Add POWER8 implementation.
11527 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
11528 POWER8 llrint implementation.
11530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
11531 power8 implementation.
11532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
11533 file: POWER8 finite ifunc implementation.
11534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
11535 Add POWER8 implementation.
11536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
11538 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
11539 POWER8 finite implementation.
11540 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
11542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
11543 power8 implementation.
11544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
11545 file: POWER8 isinf ifunc implementation.
11546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
11547 POWER8 implementation.
11548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
11550 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
11551 isinf implementation.
11552 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
11554 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
11555 (INIT_ARCH): Add hwcap2 initialization.
11556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
11557 power8 implementation.
11558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
11559 file: POWER8 isnan ifunc implementation.
11560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
11561 POWER8 implementation.
11562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
11564 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
11565 isnan implementation.
11566 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
11568 2014-02-27 Joey Ye <joey.ye@arm.com>
11570 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11571 (_FP_NANFRAC_Q): Set to zero.
11573 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11576 * math/auto-libm-test-in: New test inputs.
11577 * math/auto-libm-test-out: Regenerate.
11578 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
11581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
11583 2014-02-27 Joseph Myers <joseph@codesourcery.com>
11585 * scripts/evaluate-test.sh: Take new argument indicating whether
11586 failure is expected.
11587 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
11588 indicating whether failure is expected.
11589 * conform/Makefile (test-xfail-run-conformtest): New variable.
11590 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
11592 * posix/Makefile (test-xfail-annexc): New variable.
11593 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
11595 2014-02-26 Joseph Myers <joseph@codesourcery.com>
11597 * argp/Makefile: Include Makeconfig immediately after defining
11599 * assert/Makefile: Likewise.
11600 * benchtests/Makefile: Likewise.
11601 * catgets/Makefile: Likewise.
11602 * conform/Makefile: Likewise.
11603 * crypt/Makefile: Likewise.
11604 * csu/Makefile: Likewise.
11605 (all): Remove target.
11606 * ctype/Makefile: Include Makeconfig immediately after defining
11608 * debug/Makefile: Likewise.
11609 * dirent/Makefile: Likewise.
11610 * dlfcn/Makefile: Likewise.
11611 * gmon/Makefile: Likewise.
11612 * gnulib/Makefile: Likewise.
11613 * grp/Makefile: Likewise.
11614 * gshadow/Makefile: Likewise.
11615 * hesiod/Makefile: Likewise.
11616 * hurd/Makefile: Likewise.
11617 (all): Remove target.
11618 * iconvdata/Makefile: Include Makeconfig immediately after
11620 * inet/Makefile: Likewise.
11621 * intl/Makefile: Likewise.
11622 * io/Makefile: Likewise.
11623 * libio/Makefile: Likewise.
11624 (all): Remove target.
11625 * locale/Makefile: Include Makeconfig immediately after defining
11627 * login/Makefile: Likewise.
11628 * mach/Makefile: Likewise.
11629 (all): Remove target.
11630 * malloc/Makefile: Include Makeconfig immediately after defining
11632 (all): Remove target.
11633 * manual/Makefile: Include Makeconfig immediately after defining
11635 * math/Makefile: Likewise.
11636 * misc/Makefile: Likewise.
11637 * nis/Makefile: Likewise.
11638 * nss/Makefile: Likewise.
11639 * po/Makefile: Likewise.
11640 (all): Remove target.
11641 * posix/Makefile: Include Makeconfig immediately after defining
11643 * pwd/Makefile: Likewise.
11644 * resolv/Makefile: Likewise.
11645 * resource/Makefile: Likewise.
11646 * rt/Makefile: Likewise.
11647 * setjmp/Makefile: Likewise.
11648 * shadow/Makefile: Likewise.
11649 * signal/Makefile: Likewise.
11650 * socket/Makefile: Likewise.
11651 * soft-fp/Makefile: Likewise.
11652 * stdio-common/Makefile: Likewise.
11653 * stdlib/Makefile: Likewise.
11654 * streams/Makefile: Likewise.
11655 * string/Makefile: Likewise.
11656 * sunrpc/Makefile: Likewise.
11657 (all): Remove target.
11658 * sysvipc/Makefile: Include Makeconfig immediately after defining
11660 * termios/Makefile: Likewise.
11661 * time/Makefile: Likewise.
11662 * timezone/Makefile: Likewise.
11663 (all): Remove target.
11664 * wcsmbs/Makefile: Include Makeconfig immediately after defining
11666 * wctype/Makefile: Likewise.
11668 2014-02-26 Steve Ellcey <sellcey@mips.com>
11670 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
11671 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
11672 (libc_feholdexcept_setround_mips): Ditto.
11673 (libc_feholdsetround): New.
11674 (libc_feholdsetroundf): New.
11675 (libc_feholdsetroundl): New.
11676 (libc_feupdateenv_test_mips): New.
11677 (libc_feupdateenv_test): New.
11678 (libc_feupdateenv_testf): New.
11679 (libc_feupdateenv_testl): New.
11680 (libc_feresetround): New.
11681 (libc_feresetroundf): New.
11682 (libc_feresetroundl): New.
11683 (libc_fetestexcept_mips): New.
11684 (libc_fetestexcept): New.
11685 (libc_fetestexceptf): New.
11686 (libc_fetestexceptl): New.
11687 (HAVE_RM_CTX): New.
11688 (libc_feholdexcept_setround_mips_ctx): New.
11689 (libc_feholdexcept_setround_ctx): New.
11690 (libc_feholdexcept_setroundf_ctx): New.
11691 (libc_feholdexcept_setroundl_ctx): New.
11692 (libc_fesetenv_mips_ctx): New.
11693 (libc_fesetenv_ctx): New.
11694 (libc_fesetenv_ctxf): New.
11695 (libc_fesetenv_ctxl): New.
11696 (libc_feupdateenv_mips_ctx): New.
11697 (libc_feupdateenv_ctx): New.
11698 (libc_feupdateenvf_ctx): New.
11699 (libc_feupdateenvl_ctx): New.
11700 (libc_feholdsetround_mips_ctx): New.
11701 (libc_feholdsetround_ctx): New.
11702 (libc_feholdsetroundf_ctx): New.
11703 (libc_feholdsetroundl_ctx): New.
11704 (libc_feresetround_mips_ctx): New.
11705 (libc_feresetround_ctx): New.
11706 (libc_feresetroundf_ctx): New.
11707 (libc_feresetroundl_ctx): New.
11709 2014-02-26 Carlos O'Donell <carlos@redhat.com>
11711 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
11713 * manual/ipc.texi: New file.
11714 * manual/Makefile (chapters): Add ipc.
11715 * manual/job.texi: Add "Inter-Process Communication" to next.
11716 * manual/process.texi: Add "Inter-Process Communication" to prev.
11718 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11722 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
11724 * malloc/malloc.c (__libc_calloc): Simplify implementation.
11726 * manual/arith.texi: Fix spaces after sentences.
11727 * manual/charset.texi: Likewise.
11728 * manual/errno.texi: Likewise.
11729 * manual/install.texi: Likewise.
11730 * manual/llio.texi: Likewise.
11731 * manual/locale.texi: Likewise.
11732 * manual/maint.texi: Likewise.
11733 * manual/math.texi: Likewise.
11734 * manual/memory.texi: Likewise.
11735 * manual/message.texi: Likewise.
11736 * manual/probes.texi: Likewise.
11737 * manual/resource.texi: Likewise.
11738 * manual/signal.texi: Likewise.
11739 * manual/socket.texi: Likewise.
11740 * manual/stdio.texi: Likewise.
11741 * manual/string.texi: Likewise.
11742 * manual/time.texi: Likewise.
11743 * manual/users.texi: Likewise.
11745 2014-02-25 Carlos O'Donell <carlos@redhat.com>
11748 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
11749 _DEFAULT_SOURCE is defined.
11751 2014-02-25 Ulrich Drepper <drepper@gmail.com>
11752 Carlos O'Donell <carlos@redhat.com>
11755 * elf/dl-tls.c (_dl_count_modids): New function.
11756 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
11757 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
11758 audit library and increment generation counter.
11759 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
11760 * elf/tst-audit9.c: New file.
11761 * elf/tst-auditmod9a.c: New file.
11762 * elf/tst-auditmod9b.c: New file.
11763 * elf/Makefile: Add rules to build and run tst-audit9.
11765 2014-02-25 Florian Weimer <fweimer@redhat.com>
11768 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
11770 2014-02-25 Will Newton <will.newton@linaro.org>
11772 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
11773 (__longjmp): Restore sp and lr before restoring callee
11774 saved registers. Add longjmp and longjmp_target
11775 SystemTap probe point.
11776 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
11777 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
11778 Define to zero to match jmpbuf layout.
11779 * sysdeps/arm/setjmp.S: Include stap-probe.h.
11780 (__sigsetjmp): Save sp and lr before saving callee
11781 saved registers. Add setjmp SystemTap probe point.
11783 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11785 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11787 2014-02-24 Andreas Schwab <schwab@suse.de>
11790 * elf/pldd.c (wait_for_ptrace_stop): New function.
11791 (main): Call it after attaching.
11793 2014-02-22 Roland McGrath <roland@hack.frob.com>
11795 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
11796 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
11797 Versions files is now verboten.
11798 * hurd/Versions (libc: GLIBC_2.0):
11799 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
11800 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
11801 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
11802 * mach/Versions: Likewise.
11804 * csu/Versions: Remove unused %include.
11805 * resolv/Versions: Likewise.
11807 2014-02-21 Joseph Myers <joseph@codesourcery.com>
11809 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
11810 ($(objpfx)check-local-headers.out): Likewise.
11811 ($(objpfx)begin-end-check.out): Likewise.
11812 * Makerules (check-abi-%.out): Likewise.
11813 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
11814 ($(objpfx)test2.cat): Likewise.
11815 ($(objpfx)de/libc.cat): Likewise.
11816 ($(objpfx)test-gencat.out): Likewise.
11817 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
11818 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
11819 ($(objpfx)noload-mem): Likewise.
11820 ($(objpfx)tst-pathopt.out): Likewise.
11821 ($(objpfx)tst-rtld-load-self.out): Likewise.
11822 ($(objpfx)tst-array1-cmp.out): Likewise.
11823 ($(objpfx)tst-array1-static-cmp.out): Likewise.
11824 ($(objpfx)tst-array2-cmp.out): Likewise.
11825 ($(objpfx)tst-array3-cmp.out): Likewise.
11826 ($(objpfx)tst-array4-cmp.out): Likewise.
11827 ($(objpfx)tst-array5-cmp.out): Likewise.
11828 ($(objpfx)tst-array5-static-cmp.out): Likewise.
11829 ($(objpfx)check-textrel.out): Likewise.
11830 ($(objpfx)check-execstack.out): Likewise.
11831 ($(objpfx)check-localplt.out): Likewise.
11832 ($(objpfx)order2-cmp.out): Likewise.
11833 ($(objpfx)tst-leaks1-mem): Likewise.
11834 ($(objpfx)tst-leaks1-static-mem): Likewise.
11835 ($(objpfx)tst-initorder-cmp.out): Likewise.
11836 ($(objpfx)tst-initorder2-cmp.out): Likewise.
11837 ($(objpfx)tst-unused-dep.out): Likewise.
11838 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
11839 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
11840 * iconv/Makefile (test-iconvconfig): Likewise.
11841 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
11842 ($(objpfx)iconv-test.out): Likewise.
11843 ($(objpfx)tst-tables.out): Likewise.
11844 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
11845 ($(objpfx)tst-gettext.out): Likewise.
11846 ($(objpfx)tst-translit.out): Likewise.
11847 ($(objpfx)tst-gettext2.out): Likewise.
11848 ($(objpfx)tst-gettext4.out): Likewise.
11849 ($(objpfx)tst-gettext6.out): Likewise.
11850 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
11851 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
11852 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
11853 ($(objpfx)tst-fopenloc-mem.out): Likewise.
11854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
11855 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
11856 * posix/Makefile ($(objpfx)globtest.out): Likewise.
11857 ($(objpfx)wordexp-tst.out): Likewise.
11858 ($(objpfx)annexc.out): Likewise.
11859 ($(objpfx)tst-fnmatch-mem): Likewise.
11860 ($(objpfx)bug-regex2-mem): Likewise.
11861 ($(objpfx)bug-regex14-mem): Likewise.
11862 ($(objpfx)bug-regex21-mem): Likewise.
11863 ($(objpfx)bug-regex31-mem): Likewise.
11864 ($(objpfx)tst-vfork3-mem): Likewise.
11865 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11866 ($(objpfx)tst-pcre-mem): Likewise.
11867 ($(objpfx)tst-boost-mem): Likewise.
11868 ($(objpfx)tst-getconf.out): Likewise.
11869 ($(objpfx)bug-ga2-mem): Likewise.
11870 ($(objpfx)bug-glob2-mem): Likewise.
11871 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
11872 ($(objpfx)mtrace-tst-leaks2): Likewise.
11873 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
11874 ($(objpfx)tst-printf.out): Likewise.
11875 ($(objpfx)tst-setvbuf1.out): Likewise.
11876 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
11877 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
11878 ($(objpfx)tst-fmtmsg.out): Likewise.
11879 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
11880 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
11882 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
11883 * bits/sigaction.h [__USE_MISC]: Likewise.
11884 * bits/waitstatus.h: Update #endif comments.
11885 * ctype/ctype.h: Likewise.
11886 * dirent/dirent.h: Likewise.
11887 [__USE_MISC]: Remove redundant conditionals.
11888 * grp/grp.h: Update #endif comments.
11889 [__USE_GNU]: Remove redundant conditionals.
11890 [__USE_MISC]: Likewise.
11891 * inet/netinet/in.h [__USE_GNU]: Likewise.
11892 * io/sys/stat.h [__USE_MISC]: Likewise.
11893 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
11894 * libio/bits/stdio.h: Update #endif comments.
11895 [__USE_MISC]: Remove redundant conditionals.
11896 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
11897 * libio/stdio.h: Update #endif comments.
11898 [__USE_MISC]: Remove redundant conditionals.
11899 * math/bits/math-finite.h [__USE_MISC]: Likewise.
11900 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
11901 * math/math.h: Update #else and #endif comments.
11902 [__USE_MISC]: Remove redundant conditionals.
11903 * misc/sys/uio.h: Update #endif comments.
11904 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
11905 * posix/glob.h [__USE_MISC]: Likewise.
11906 * posix/sys/types.h: Update #endif comments.
11907 [__USE_MISC]: Remove redundant conditionals.
11908 * posix/sys/wait.h: Update #endif comments.
11909 [__USE_MISC]: Remove redundant conditionals.
11910 * posix/unistd.h: Update #endif comments.
11911 [__USE_MISC]: Remove redundant conditionals.
11912 * pwd/pwd.h [__USE_GNU]: Likewise.
11913 [__USE_MISC]: Likewise.
11914 * resolv/netdb.h [__USE_GNU]: Likewise.
11915 * signal/signal.h: Update #endif comments.
11916 [__USE_MISC]: Remove redundant conditionals.
11917 * stdlib/stdlib.h: Update #else and #endif comments.
11918 [__USE_MISC]: Remove redundant conditionals.
11919 [__USE_GNU]: Likewise.
11920 * string/bits/string2.h [__USE_MISC]: Likewise.
11921 * string/string.h: Update #endif comments.
11922 [__USE_MISC]: Remove redundant conditionals.
11923 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
11925 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
11926 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
11927 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
11929 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
11931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
11933 [__USE_MISC]: Remove redundant conditionals.
11934 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
11935 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
11936 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
11937 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
11938 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
11940 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
11941 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
11943 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
11944 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
11946 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
11948 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
11949 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
11951 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
11953 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
11954 * sysdeps/x86/bits/string.h: Update #endif comments.
11955 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
11957 * time/sys/time.h: Update #endif comments.
11958 * time/time.h: Likewise.
11959 [__USE_MISC]: Remove redundant conditionals.
11961 2014-02-21 Yury Gribov <y.gribov@samsung.com>
11964 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
11966 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
11968 * Versions.def (librt): Add GLIBC_2.17.
11970 2014-02-21 Adam Conrad <adconrad@0c3.net>
11972 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
11973 synonym for _SYS_AUXV_H to allow direct inclusion.
11974 * sysdeps/sparc/bits/hwcap.h: Likewise.
11975 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
11976 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
11977 * sysdeps/sparc/sysdep.h: Likewise.
11979 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11981 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
11983 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11985 * benchtests/bench-strrchr.c: Print length instead of position.
11987 2014-02-20 Joseph Myers <joseph@codesourcery.com>
11990 * sysdeps/unix/sysv/linux/kernel-features.h
11991 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
11992 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
11993 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
11994 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
11996 [__i386__ || __powerpc__ || __sh__ || __sparc__]
11997 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11998 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
11999 (__ASSUME_SENDMMSG): Define instead of using previous
12000 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12001 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12002 (__ASSUME_SENDMMSG_SYSCALL): Define.
12003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12004 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12006 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12007 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12009 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12010 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12012 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12013 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12014 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12015 [__ASSUME_SENDMMSG]: Change conditionals to
12016 [__ASSUME_SENDMMSG_SOCKETCALL].
12017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12018 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12020 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12021 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12023 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12024 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12025 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12026 [!__ASSUME_SENDMMSG]: Change conditional to
12027 [!__ASSUME_SENDMMSG_SOCKETCALL].
12028 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12029 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12033 * sysdeps/unix/sysv/linux/kernel-features.h
12034 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12035 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12036 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12037 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12038 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12039 [__i386__ || __sparc__]
12040 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12041 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12042 (__ASSUME_RECVMMSG): Define instead of using previous
12043 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12044 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12045 (__ASSUME_RECVMMSG_SYSCALL): Define.
12046 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12047 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12049 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12050 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12052 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12053 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12055 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12056 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12057 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12058 [__ASSUME_RECVMMSG]: Change condition to
12059 [__ASSUME_RECVMMSG_SOCKETCALL].
12060 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12061 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12063 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12064 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12065 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12067 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12068 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12069 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12070 [!__ASSUME_RECVMMSG]: Change condition to
12071 [!__ASSUME_RECVMMSG_SOCKETCALL].
12072 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12073 (__ASSUME_RECVMMSG_SYSCALL): Define.
12076 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12077 __powerpc__ || __s390__ || __sh__ || __sparc__]
12078 (__ASSUME_SOCKETCALL): Define.
12079 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12080 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12081 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12082 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12083 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12084 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12085 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12086 (__ASSUME_ACCEPT4): Define instead of using previous
12087 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12088 __powerpc__ || __sparc__ || __s390__)] condition.
12089 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12090 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12091 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12092 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12093 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12094 [!__ASSUME_ACCEPT4]: Change condition to
12095 [!__ASSUME_ACCEPT4_SOCKETCALL].
12096 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12097 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12098 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12099 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12100 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12101 __ASSUME_ACCEPT4_SYSCALL.
12102 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12103 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12104 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12105 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12106 __ASSUME_ACCEPT4_SYSCALL.
12107 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12108 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12109 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12110 [__ASSUME_ACCEPT4]: Change condition to
12111 [__ASSUME_ACCEPT4_SOCKETCALL].
12112 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12113 (__ASSUME_SOCKETCALL): Define.
12114 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12115 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12116 (__ASSUME_SOCKETCALL): Define.
12117 (__ASSUME_ACCEPT4): Remove.
12118 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12120 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12121 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12123 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12124 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12126 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12128 (HWCAP_ARM_LPAE): Likewise.
12129 (HWCAP_ARM_EVTSTRM): Likewise.
12130 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12131 Add vpfd32, lpae and evtstrm.
12132 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12135 2014-02-19 Joseph Myers <joseph@codesourcery.com>
12137 * math/auto-libm-test-in: Add tests of clog10.
12138 * math/auto-libm-test-out: Regenerated.
12139 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12140 * sysdeps/i386/fpu/libm-test-ulps: Update.
12141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12143 2014-02-18 Andreas Schwab <schwab@suse.de>
12146 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12147 Store non-zero if the second buffer was newly allocated.
12148 (send_dg): Likewise.
12149 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12150 to send_vc and send_dg.
12151 (res_nsend): Pass NULL for ansp2_malloced.
12152 * resolv/res_query.c (__libc_res_nquery): Add parameter
12153 answerp2_malloced and pass it down to __libc_res_nsend.
12154 (res_nquery): Pass additional NULL to __libc_res_nquery.
12155 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12156 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12157 second answer buffer if answerp2_malloced was set.
12158 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12159 (__libc_res_nquerydomain): Add parameter
12160 answerp2_malloced and pass it down to __libc_res_nquery.
12161 (res_nquerydomain): Pass additional NULL to
12162 __libc_res_nquerydomain.
12163 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12164 additional NULL to __libc_res_nsend and __libc_res_nquery.
12165 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12166 additional NULL to __libc_res_nsearch.
12167 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12168 parameter of __libc_res_nsearch to check for separately allocated
12170 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12172 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12173 additional NULL to __libc_res_nquery.
12174 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12175 __libc_res_nsearch.
12176 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12177 * include/resolv.h: Update prototypes of __libc_res_nquery,
12178 __libc_res_nsearch, __libc_res_nsend.
12180 2014-02-18 Joseph Myers <joseph@codesourcery.com>
12182 * math/auto-libm-test-in: Add tests of fma.
12183 * math/auto-libm-test-out: Regenerated.
12184 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12185 (fma_towardzero_test_data): Likewise.
12186 (fma_downward_test_data): Likewise.
12187 (fma_upward_test_data): Likewise.
12188 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12190 (rounding_modes): Add values for new field.
12191 (func_calc_method): Add value mpfr_fff_f.
12192 (func_calc_desc): Add mpfr_fff_f union field.
12193 (test_function): Add field exact_args.
12194 (FUNC): Add macro argument EXACT_ARGS.
12195 (FUNC_mpfr_f_f): Update call to FUNC.
12196 (FUNC_mpfr_f_f): Likewise.
12197 (FUNC_mpfr_ff_f): Likewise.
12198 (FUNC_mpfr_if_f): Likewise.
12199 (FUNC_mpc_c_f): Likewise.
12200 (FUNC_mpc_c_c): Likewise.
12201 (test_functions): Add fma. Update calls to FUNC.
12202 (handle_input_arg): Add argument exact_args.
12203 (add_test): Update call to handle_input_arg.
12204 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12205 (output_for_one_input_case): Update call to calc_generic_results.
12206 Recalculate exact zero results in each rounding mode.
12208 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12209 non-negative before setting low bit.
12210 * math/auto-libm-test-in: Mark one asin test possibly having
12211 spurious underflow.
12212 * math/auto-libm-test-out: Regenerated.
12213 * sysdeps/i386/fpu/libm-test-ulps: Update.
12214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12216 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12218 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12219 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12220 ports/sysdeps/unix/sysv/linux/microblaze.
12221 * README: Add missing listing for microblaze*-*-linux-gnu.
12223 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
12225 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12228 2014-02-16 Mike Frysinger <vapier@gentoo.org>
12230 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12231 * sysdeps/unix/sysv/linux/ia64: Move directory from
12232 ports/sysdeps/unix/sysv/linux/ia64.
12233 * README: Update listing for ia64-*-linux-gnu.
12235 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12236 Joseph Myers <joseph@codesourcery.com>
12238 * Makeconfig (test-name): New variable.
12239 (evaluate-test): Likewise.
12240 * Makerules (do-test-clean): Remove .test-result files.
12241 (common-mostlyclean): Likewise.
12242 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12243 * scripts/evaluate-test.sh: New file.
12245 2014-02-14 Joseph Myers <joseph@codesourcery.com>
12247 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12248 separate $(objpfx)tst-fopenloc-cmp.out and
12249 $(objpfx)tst-fopenloc-mem.out targets.
12250 (tests): Update dependencies.
12251 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12252 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12253 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12254 (tst-rxspencer-no-utf8-ARGS): New variable.
12255 (tst-rxspencer-no-utf8-ENV): Likewise.
12256 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12257 instead of $(objpfx)tst-rxspencer-mem.
12258 ($(objpfx)tst-rxspencer-mem): Change target to
12259 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12260 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12261 * posix/tst-rxspencer-no-utf8.c: New file.
12263 * elf/Makefile ($(objpfx)order.out): Remove rule.
12264 [$(run-built-tests) = yes] (tests): Depend on
12265 $(objpfx)order-cmp.out.
12266 ($(objpfx)order-cmp.out): New rule.
12267 [$(run-built-tests) = yes] (tests): Depend on
12268 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12269 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12270 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12271 $(objpfx)tst-array5-static-cmp.out.
12272 ($(objpfx)tst-array1.out): Remove rule.
12273 ($(objpfx)tst-array1-cmp.out): New rule.
12274 ($(objpfx)tst-array1-static.out): Remove rule.
12275 ($(objpfx)tst-array1-static-cmp.out): New rule.
12276 ($(objpfx)tst-array2.out): Remove rule.
12277 ($(objpfx)tst-array2-cmp.out): New rule.
12278 ($(objpfx)tst-array3.out): Remove rule.
12279 ($(objpfx)tst-array3-cmp.out): New rule.
12280 ($(objpfx)tst-array4.out): Remove rule.
12281 ($(objpfx)tst-array4-cmp.out): New rule.
12282 ($(objpfx)tst-array5.out): Remove rule.
12283 ($(objpfx)tst-array5-cmp.out): New rule.
12284 ($(objpfx)tst-array5-static.out): Remove rule.
12285 ($(objpfx)tst-array5-static-cmp.out): New rule.
12286 [$(run-built-tests) = yes] (tests): Depend on
12287 $(objpfx)order2-cmp.out.
12288 ($(objpfx)order2.out): Remove rule.
12289 ($(objpfx)order2-cmp.out): New rule.
12290 ($(objpfx)tst-initorder.out): Remove rule.
12291 [$(run-built-tests) = yes] (tests): Depend on
12292 $(objpfx)tst-initorder-cmp.out.
12293 ($(objpfx)tst-initorder-cmp.out): New rule.
12294 ($(objpfx)tst-initorder2.out): Remove rule.
12295 [$(run-built-tests) = yes] (tests): Depend on
12296 $(objpfx)tst-initorder2-cmp.out.
12297 ($(objpfx)tst-initorder2-cmp.out): New rule.
12298 [$(run-built-tests) = yes] (tests): Depend on
12299 $(objpfx)tst-unused-dep-cmp.out.
12300 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
12301 ($(objpfx)tst-unused-dep-cmp.out): New rule.
12302 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
12303 on $(objpfx)tst-setvbuf1-cmp.out.
12304 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
12305 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
12306 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
12307 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
12308 ($(objpfx)tst-svc.out): Remove rule.
12309 ($(objpfx)tst-svc-cmp.out): New rule.
12311 2014-02-13 Joseph Myers <joseph@codesourcery.com>
12313 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
12314 * ctype/ctype.h [__USE_MISC]: Likewise.
12315 * dirent/dirent.h [__USE_MISC]: Likewise.
12316 * grp/grp.h [__USE_MISC]: Likewise.
12317 * io/fcntl.h [__USE_MISC]: Likewise.
12318 * io/sys/stat.h [__USE_MISC]: Likewise.
12319 * libio/stdio.h [__USE_MISC]: Likewise.
12320 * posix/unistd.h [__USE_MISC]: Likewise.
12321 * pwd/pwd.h [__USE_MISC]: Likewise.
12322 * stdlib.h [__USE_MISC]: Likewise.
12323 * string/bits/string2.h [__USE_MISC]: Likewise.
12324 * string/string.h [__USE_MISC]: Likewise.
12325 * time/time.h [__USE_MISC]: Likewise.
12327 2014-02-13 Andreas Schwab <schwab@suse.de>
12330 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
12331 second answer buffer if it was separately allocated.
12333 2014-02-12 Joseph Myers <joseph@codesourcery.com>
12335 * sysdeps/mips/math-tests.h: Include <features.h>.
12336 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12337 (ROUNDING_TESTS_long_double): Do not define.
12338 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
12339 (EXCEPTION_TESTS_long_double): Likewise.
12340 * sysdeps/mips/mips64/libm-test-ulps: Update.
12342 * include/features.h (__USE_BSD): Remove macro definitions.
12343 (__USE_SVID): Likewise.
12344 (_BSD_SOURCE): Likewise.
12345 (_SVID_SOURCE): Likewise.
12346 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
12347 from definition of _DEFAULT_SOURCE.
12348 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
12350 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
12351 * bits/mman.h [__USE_BSD]: Likewise.
12352 * bits/termios.h [__USE_BSD]: Likewise.
12353 * bits/waitstatus.h [__USE_BSD]: Likewise.
12354 * ctype/ctype.h [__USE_SVID]: Likewise.
12355 * dirent/dirent.h [__USE_BSD]: Likewise.
12356 * grp/grp.h [__USE_SVID]: Likewise.
12357 [__USE_BSD]: Likewise.
12358 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
12359 * io/fcntl.h [__USE_BSD]: Likewise.
12360 * io/ftw.h [__USE_BSD]: Likewise.
12361 * io/sys/stat.h [__USE_BSD]: Likewise.
12362 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
12363 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
12364 * libio/stdio.h [__USE_SVID]: Likewise.
12365 [__USE_BSD]: Likewise.
12366 * math/math.h [__USE_SVID]: Likewise.
12367 [__USE_BSD]: Likewise.
12368 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
12369 * misc/bits/syslog.h [__USE_BSD]: Likewise.
12370 * misc/search.h [__USE_SVID]: Likewise.
12371 * misc/sys/mman.h [__USE_BSD]: Likewise.
12372 * misc/sys/syslog.h [__USE_BSD]: Likewise.
12373 * misc/sys/uio.h [__USE_BSD]: Likewise.
12374 * posix/bits/unistd.h [__USE_BSD]: Likewise.
12375 * posix/glob.h [__USE_BSD]: Likewise.
12376 * posix/regex.h [__USE_BSD]: Likewise.
12377 * posix/sys/types.h [__USE_BSD]: Likewise.
12378 [__USE_SVID]: Likewise.
12379 * posix/sys/utsname.h [__USE_SVID]: Likewise.
12380 * posix/sys/wait.h [__USE_BSD]: Likewise.
12381 [__USE_SVID]: Likewise.
12382 * posix/unistd.h [__USE_BSD]: Likewise.
12383 [__USE_SVID]: Likewise.
12384 * pwd/pwd.h [__USE_SVID]: Likewise.
12385 * resolv/netdb.h [__USE_BSD]: Likewise.
12386 * setjmp/setjmp.h [__USE_BSD]: Likewise.
12387 * signal/signal.h [__USE_BSD]: Likewise.
12388 [__USE_SVID]: Likewise.
12389 * socket/sys/socket.h [__USE_BSD]: Likewise.
12390 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
12391 * stdlib/stdlib.h [__USE_BSD]: Likewise.
12392 [__USE_SVID]: Likewise.
12393 * string/bits/string2.h [__USE_BSD]: Likewise.
12394 [__USE_SVID]: Likewise.
12395 * string/bits/string3.h [__USE_BSD]: Likewise.
12396 * string/endian.h [__USE_BSD]: Likewise.
12397 * string/string.h [__USE_SVID]: Likewise.
12398 [__USE_BSD]: Likewise.
12399 * string/strings.h [__USE_BSD]: Likewise.
12400 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
12401 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
12402 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
12403 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
12404 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
12405 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
12407 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
12409 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
12410 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
12412 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
12413 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
12415 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
12417 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
12418 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
12421 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
12423 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
12424 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
12425 * termios/termios.h [__USE_BSD]: Likewise.
12426 * time/sys/time.h [__USE_BSD]: Likewise.
12427 * time/time.h [__USE_BSD]: Likewise.
12428 [__USE_SVID]: Likewise.
12430 * Makefile (subdir_targets): Remove subdir_lint.out.
12432 * stdio-common/Makefile (do-tst-unbputc): Remove target.
12433 (do-tst-printf): Likewise.
12434 (tests): Depend directly on $(objpfx)tst-unbputc.out and
12435 $(objpfx)tst-printf.out.
12437 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
12439 * Makerules (check-abi-%): Change target to
12440 $(objpfx)check-abi-%.out.
12441 (check-abi target): Update dependencies.
12442 (check-abi-pattern variable): Redirect output of diff to $@.
12443 (check-abi variable): Likewise.
12444 * elf/Makefile (check-abi): Update dependencies.
12446 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
12448 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
12449 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
12451 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
12452 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
12453 value has largest subnormal exponent.
12454 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
12455 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
12456 * sysdeps/aarch64/soft-fp/sfp-machine.h
12457 (_FP_TININESS_AFTER_ROUNDING): New macro.
12458 * sysdeps/alpha/soft-fp/sfp-machine.h
12459 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12460 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12462 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
12463 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12464 * sysdeps/mips/soft-fp/sfp-machine.h
12465 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12466 * sysdeps/powerpc/soft-fp/sfp-machine.h
12467 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12468 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12470 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12471 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12472 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12473 (_FP_TININESS_AFTER_ROUNDING): Likewise.
12474 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
12477 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
12480 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
12483 2014-02-12 Richard Henderson <rth@redhat.com>
12485 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
12486 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
12487 * sysdeps/unix/sysv/linux/alpha: Move directory from
12488 ports/sysdeps/unix/sysv/linux/alpha.
12489 * README: Update listing for alpha-*-linux-gnu.
12491 2014-02-11 Joseph Myers <joseph@codesourcery.com>
12493 * include/features.h: Update comment documenting feature test
12495 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
12497 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
12498 (_SVID_SOURCE): Likewise.
12499 (_DEFAULT_SOURCE): Update description of default features.
12500 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
12502 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
12503 (S_ISVTX): Likewise.
12504 * manual/math.texi (Mathematical Constants): Likewise.
12505 * manual/signal.texi (Interrupted Primitives): Likewise.
12506 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
12507 * math/test-matherr.c (_SVID_SOURCE): Do not define.
12508 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
12509 Don't refer to _SVID_SOURCE in warning text.
12511 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12513 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
12515 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
12516 * sysdeps/mips/dl-lookup.c: Remove.
12517 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
12519 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12522 * math/auto-libm-test-in: Add testcase for expl.
12523 * math/auto-libm-test-out: Regenerate.
12524 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
12525 calculation of unsafe.
12526 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
12528 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
12530 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
12531 * sysdeps/unix/sysv/linux/aarch64: Move directory from
12532 ports/sysdeps/unix/sysv/linux/aarch64.
12533 * README: Update listing for aarch64*-*-linux-gnu.
12535 2014-02-11 Will Newton <will.newton@linaro.org>
12537 * manual/probes.texi (Mathematical Function Probes): Use
12538 "triggered" instead of "hit".
12540 * manual/probes.texi (Internal Probes): Add documentation
12541 of setjmp, longjmp and longjmp_target probes.
12543 * include/stap-probe.h: Add comment about probe argument
12546 * malloc/mtrace.c (attribute_hidden): Remove unused macro
12547 definition. (tr_where, tr_freehook, tr_mallochook,
12548 tr_reallochook, tr_memalignhook): Use ANSI protoype.
12550 2014-02-11 David S. Miller <davem@davemloft.net>
12552 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
12553 processing int_tests.
12555 2014-02-10 Joseph Myers <joseph@codesourcery.com>
12557 * sysdeps/mips: Move directory from ports/sysdeps/mips.
12558 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
12559 * sysdeps/unix/sysv/linux/mips: Move directory from
12560 ports/sysdeps/unix/sysv/linux/mips.
12561 * README: Update listing for mips-*-linux-gnu and
12562 mips64-*-linux-gnu.
12564 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
12566 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
12567 * sysdeps/unix/sysv/linux/m68k: Move directory from
12568 ports/sysdeps/unix/sysv/linux/m68k.
12569 * README: Update listing for m68k-*-linux-gnu.
12571 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
12573 * sysdeps/tile: Move directory from ports/sysdeps/tile.
12574 * sysdeps/unix/sysv/linux/generic: Move directory from
12575 ports/sysdeps/unix/sysv/linux/generic.
12576 * sysdeps/unix/sysv/linux/tile: Move directory from
12577 ports/sysdeps/unix/sysv/linux/tile.
12578 * README: Update listing for tile*-*-linux-gnu.
12580 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
12582 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
12584 * benchtests/bench-memmem.c (simple_memmem): Likewise.
12585 * catgets/open_catalog.c (__open_catalog): Likewise.
12586 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
12587 * debug/confstr_chk.c: Likewise.
12588 * debug/fread_chk.c (__fread_chk): Likewise.
12589 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
12590 * debug/getgroups_chk.c: Likewise.
12591 * debug/mbsnrtowcs_chk.c: Likewise.
12592 * debug/mbsrtowcs_chk.c: Likewise.
12593 * debug/mbstowcs_chk.c: Likewise.
12594 * debug/memcpy_chk.c: Likewise.
12595 * debug/memmove_chk.c: Likewise.
12596 * debug/mempcpy_chk.c: Likewise.
12597 * debug/memset_chk.c: Likewise.
12598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12599 * debug/strcat_chk.c (__strcat_chk): Likewise.
12600 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
12601 * debug/strncat_chk.c (__strncat_chk): Likewise.
12602 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
12603 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
12604 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
12605 * debug/wcpncpy_chk.c: Likewise.
12606 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12607 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
12608 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
12609 * debug/wcsncpy_chk.c: Likewise.
12610 * debug/wcsnrtombs_chk.c: Likewise.
12611 * debug/wcsrtombs_chk.c: Likewise.
12612 * debug/wcstombs_chk.c: Likewise.
12613 * debug/wmemcpy_chk.c: Likewise.
12614 * debug/wmemmove_chk.c: Likewise.
12615 * debug/wmempcpy_chk.c: Likewise.
12616 * debug/wmemset_chk.c: Likewise.
12617 * dirent/scandirat.c (SCANDIRAT): Likewise.
12618 * dlfcn/dladdr1.c (dladdr1): Likewise.
12619 * dlfcn/dladdr.c (dladdr): Likewise.
12620 * dlfcn/dlclose.c (dlclose_doit): Likewise.
12621 * dlfcn/dlerror.c (__dlerror): Likewise.
12622 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
12623 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
12624 * dlfcn/dlopen.c (dlopen_doit): Likewise.
12625 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
12626 * dlfcn/dlsym.c (dlsym_doit): Likewise.
12627 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
12628 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
12629 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
12631 * elf/dl-conflict.c: Likewise.
12632 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
12633 * elf/dl-dst.h: Likewise.
12634 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
12635 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
12636 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
12637 * elf/dl-init.c (call_init, _dl_init): Likewise.
12638 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
12639 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
12640 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
12642 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
12644 * elf/dl-minimal.c (__libc_memalign): Likewise.
12645 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
12646 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12647 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
12648 * elf/dl-sym.c (do_sym): Likewise.
12649 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
12650 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
12651 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
12652 * elf/dl-writev.h (_dl_writev): Likewise.
12653 * elf/ldconfig.c (search_dir): Likewise.
12654 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
12655 (dl_main): Likewise.
12656 * elf/setup-vdso.h (setup_vdso): Likewise.
12657 * grp/compat-initgroups.c (compat_call): Likewise.
12658 * grp/fgetgrent.c (fgetgrent): Likewise.
12659 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
12660 * grp/putgrent.c (putgrent): Likewise.
12661 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
12663 * hurd/hurdinit.c: Likewise.
12664 * iconvdata/8bit-gap.c (struct): Likewise.
12665 * iconvdata/ansi_x3.110.c : Likewise.
12666 * iconvdata/big5.c : Likewise.
12667 * iconvdata/big5hkscs.c : Likewise.
12668 * iconvdata/cp1255.c: Likewise.
12669 * iconvdata/cp1258.c : Likewise.
12670 * iconvdata/cp932.c : Likewise.
12671 * iconvdata/euc-cn.c: Likewise.
12672 * iconvdata/euc-jisx0213.c : Likewise.
12673 * iconvdata/euc-jp.c: Likewise.
12674 * iconvdata/euc-jp-ms.c : Likewise.
12675 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
12676 * iconvdata/gb18030.c : Likewise.
12677 * iconvdata/gbbig5.c (const): Likewise.
12678 * iconvdata/gbgbk.c: Likewise.
12679 * iconvdata/gbk.c : Likewise.
12680 * iconvdata/ibm1364.c : Likewise.
12681 * iconvdata/ibm930.c : Likewise.
12682 * iconvdata/ibm932.c: Likewise.
12683 * iconvdata/ibm933.c : Likewise.
12684 * iconvdata/ibm935.c : Likewise.
12685 * iconvdata/ibm937.c : Likewise.
12686 * iconvdata/ibm939.c : Likewise.
12687 * iconvdata/ibm943.c: Likewise.
12688 * iconvdata/iso_11548-1.c: Likewise.
12689 * iconvdata/iso-2022-cn.c : Likewise.
12690 * iconvdata/iso-2022-cn-ext.c : Likewise.
12691 * iconvdata/iso-2022-jp-3.c: Likewise.
12692 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
12693 * iconvdata/iso-2022-kr.c : Likewise.
12694 * iconvdata/iso646.c (gconv_end): Likewise.
12695 * iconvdata/iso_6937-2.c : Likewise.
12696 * iconvdata/iso_6937.c : Likewise.
12697 * iconvdata/iso8859-1.c: Likewise.
12698 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
12699 * iconvdata/shift_jisx0213.c : Likewise.
12700 * iconvdata/sjis.c : Likewise.
12701 * iconvdata/t.61.c : Likewise.
12702 * iconvdata/tcvn5712-1.c : Likewise.
12703 * iconvdata/tscii.c: Likewise.
12704 * iconvdata/uhc.c : Likewise.
12705 * iconvdata/unicode.c (gconv_end): Likewise.
12706 * iconvdata/utf-16.c (gconv_end): Likewise.
12707 * iconvdata/utf-32.c (gconv_end): Likewise.
12708 * iconvdata/utf-7.c (base64): Likewise.
12709 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
12710 * iconv/gconv_close.c (__gconv_close): Likewise.
12711 * iconv/gconv_open.c (__gconv_open): Likewise.
12712 * iconv/gconv_simple.c (internal_ucs4_loop_single)
12713 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
12714 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
12715 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
12716 (ucs4le_internal_loop_single): Likewise.
12717 * iconv/iconv.c (iconv): Likewise.
12718 * iconv/iconv_close.c: Likewise.
12719 * iconv/loop.c (SINGLE): Likewise.
12720 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
12721 * include/atomic.h: Likewise.
12722 * inet/inet6_option.c (option_alloc): Likewise.
12723 * intl/bindtextdom.c (set_binding_values): Likewise.
12724 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
12725 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
12726 * intl/localealias.c (read_alias_file): Likewise.
12727 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12728 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
12729 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
12730 * libio/fmemopen.c (fmemopen): Likewise.
12731 * libio/iofgets.c (_IO_fgets): Likewise.
12732 * libio/iofgets_u.c (fgets_unlocked): Likewise.
12733 * libio/iofgetws.c (fgetws): Likewise.
12734 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
12735 * libio/iogetdelim.c (_IO_getdelim): Likewise.
12736 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
12737 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
12738 * locale/findlocale.c (_nl_find_locale): Likewise.
12739 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
12740 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
12742 * locale/setlocale.c (setlocale): Likewise.
12743 * login/programs/pt_chown.c (main): Likewise.
12744 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
12745 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
12746 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
12747 (mmap, mmap64, mremap, munmap): Likewise.
12748 * math/e_exp2l.c: Likewise.
12749 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
12750 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
12751 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
12752 * math/s_catan.c (__catan): Likewise.
12753 * math/s_catanf.c (__catanf): Likewise.
12754 * math/s_catanh.c (__catanh): Likewise.
12755 * math/s_catanhf.c (__catanhf): Likewise.
12756 * math/s_catanhl.c (__catanhl): Likewise.
12757 * math/s_catanl.c (__catanl): Likewise.
12758 * math/s_ccosh.c (__ccosh): Likewise.
12759 * math/s_ccoshf.c (__ccoshf): Likewise.
12760 * math/s_ccoshl.c (__ccoshl): Likewise.
12761 * math/s_cexp.c (__cexp): Likewise.
12762 * math/s_cexpf.c (__cexpf): Likewise.
12763 * math/s_cexpl.c (__cexpl): Likewise.
12764 * math/s_clog10.c (__clog10): Likewise.
12765 * math/s_clog10f.c (__clog10f): Likewise.
12766 * math/s_clog10l.c (__clog10l): Likewise.
12767 * math/s_clog.c (__clog): Likewise.
12768 * math/s_clogf.c (__clogf): Likewise.
12769 * math/s_clogl.c (__clogl): Likewise.
12770 * math/s_csin.c (__csin): Likewise.
12771 * math/s_csinf.c (__csinf): Likewise.
12772 * math/s_csinh.c (__csinh): Likewise.
12773 * math/s_csinhf.c (__csinhf): Likewise.
12774 * math/s_csinhl.c (__csinhl): Likewise.
12775 * math/s_csinl.c (__csinl): Likewise.
12776 * math/s_csqrt.c (__csqrt): Likewise.
12777 * math/s_csqrtf.c (__csqrtf): Likewise.
12778 * math/s_csqrtl.c (__csqrtl): Likewise.
12779 * math/s_ctan.c (__ctan): Likewise.
12780 * math/s_ctanf.c (__ctanf): Likewise.
12781 * math/s_ctanh.c (__ctanh): Likewise.
12782 * math/s_ctanhf.c (__ctanhf): Likewise.
12783 * math/s_ctanhl.c (__ctanhl): Likewise.
12784 * math/s_ctanl.c (__ctanl): Likewise.
12785 * math/w_pow.c: Likewise.
12786 * math/w_powf.c: Likewise.
12787 * math/w_powl.c: Likewise.
12788 * math/w_scalb.c (sysv_scalb): Likewise.
12789 * math/w_scalbf.c (sysv_scalbf): Likewise.
12790 * math/w_scalbl.c (sysv_scalbl): Likewise.
12791 * misc/error.c (error_tail): Likewise.
12792 * misc/pselect.c (__pselect): Likewise.
12793 * nis/nis_callback.c (__nis_create_callback): Likewise.
12794 * nis/nis_call.c (__nisfind_server): Likewise.
12795 * nis/nis_creategroup.c (nis_creategroup): Likewise.
12796 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
12797 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
12798 * nis/nis_getservlist.c (nis_getservlist): Likewise.
12799 * nis/nis_lookup.c (nis_lookup): Likewise.
12800 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
12801 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
12802 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
12803 * nis/nis_xdr.c (xdr_endpoint): Likewise.
12804 * nis/nss_compat/compat-grp.c (getgrent_next_file)
12805 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
12806 * nis/nss_compat/compat-initgroups.c (add_group)
12807 (internal_getgrent_r): Likewise.
12808 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
12809 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
12810 * nis/nss_compat/compat-spwd.c (getspent_next_file)
12811 (internal_getspnam_r): Likewise.
12812 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
12813 (_nss_nis_getaliasbyname_r): Likewise.
12814 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
12815 (_nss_nis_getntohost_r): Likewise.
12816 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
12817 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
12818 (_nss_nis_getgrgid_r): Likewise.
12819 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
12820 (internal_nis_gethostent_r, internal_gethostbyname2_r)
12821 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
12822 (_nss_nis_gethostbyname4_r): Likewise.
12823 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
12824 (initgroups_netid): Likewise.
12825 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
12826 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
12827 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
12828 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
12829 (_nss_nis_getprotobynumber_r): Likewise.
12830 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
12831 (_nss_nis_getsecretkey): Likewise.
12832 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
12833 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
12834 (_nss_nis_getpwuid_r): Likewise.
12835 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
12836 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
12837 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
12838 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
12839 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
12840 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
12841 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12843 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
12844 (_nss_nisplus_getntohost_r): Likewise.
12845 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
12846 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
12847 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
12848 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
12850 * nis/nss_nisplus/nisplus-initgroups.c
12851 (_nss_nisplus_initgroups_dyn): Likewise.
12852 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
12853 (_nss_nisplus_getnetbyaddr_r): Likewise.
12854 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
12855 (_nss_nisplus_getprotobynumber_r): Likewise.
12856 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
12857 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
12858 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
12860 * nis/nss_nisplus/nisplus-service.c
12861 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
12862 (_nss_nisplus_getservbyport_r): Likewise.
12863 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
12864 (_nss_nisplus_getspnam_r): Likewise.
12865 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
12867 * nscd/aicache.c (addhstaiX): Likewise.
12868 * nscd/cache.c (cache_search, prune_cache): Likewise.
12869 * nscd/connections.c (register_traced_file, send_ro_fd)
12870 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
12871 (main_loop_epoll): Likewise.
12872 * nscd/grpcache.c (addgrbyX): Likewise.
12873 * nscd/hstcache.c (addhstbyX): Likewise.
12874 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12875 * nscd/mem.c (gc, mempool_alloc): Likewise.
12876 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
12877 (addinnetgrX): Likewise.
12878 * nscd/nscd-client.h (__nscd_acquire_maplock)
12879 (__nscd_drop_map_ref): Likewise.
12880 * nscd/nscd_getai.c (__nscd_getai): Likewise.
12881 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
12882 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
12884 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
12885 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
12886 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
12887 (__nscd_get_map_ref): Likewise.
12888 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
12889 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
12891 * nscd/pwdcache.c (addpwbyX): Likewise.
12892 * nscd/selinux.c (preserve_capabilities): Likewise.
12893 * nscd/servicescache.c (addservbyX): Likewise.
12894 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
12895 * posix/fnmatch.c (fnmatch): Likewise.
12896 * posix/getopt.c (_getopt_internal_r): Likewise.
12897 * posix/glob.c (glob, glob_in_dir): Likewise.
12898 * posix/wordexp.c (exec_comm_child): Likewise.
12899 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
12900 (getanswer_r, gaih_getanswer_slice): Likewise.
12901 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
12902 * resolv/res_init.c: Likewise.
12903 * resolv/res_mkquery.c (res_nmkquery): Likewise.
12904 * resolv/res_query.c (__libc_res_nquery): Likewise.
12905 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
12907 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
12908 * stdio-common/perror.c (perror): Likewise.
12909 * stdio-common/printf_fp.c (___printf_fp): Likewise.
12910 * stdio-common/tmpnam.c (tmpnam): Likewise.
12911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12912 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
12913 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12915 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12916 * stdlib/putenv.c (putenv): Likewise.
12917 * stdlib/setenv.c (__add_to_environ): Likewise.
12918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12919 * stdlib/strtol_l.c (INTERNAL): Likewise.
12920 * string/memmem.c (memmem): Likewise.
12921 * string/strerror.c (strerror): Likewise.
12922 * string/strnlen.c (__strnlen): Likewise.
12923 * string/test-memmem.c (simple_memmem): Likewise.
12924 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
12925 * sunrpc/pm_getport.c (__get_socket): Likewise.
12926 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
12927 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
12928 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
12929 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
12931 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12932 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
12933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
12934 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
12935 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
12936 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
12938 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
12940 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
12941 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
12942 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
12943 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12944 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12945 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
12946 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12947 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
12948 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
12949 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
12950 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
12951 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
12953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
12955 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
12957 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
12958 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
12960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
12961 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12962 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
12963 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
12965 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
12967 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
12968 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12969 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12970 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
12971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12972 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
12974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
12976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
12978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
12980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12981 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12982 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
12984 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
12985 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
12986 * sysdeps/posix/opendir.c (__opendirat): Likewise.
12987 * sysdeps/posix/sleep.c: Likewise.
12988 * sysdeps/posix/tempname.c: Likewise.
12989 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
12990 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12992 * sysdeps/powerpc/powerpc32/dl-machine.h
12993 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
12994 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12995 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12996 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
12997 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
12999 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
13000 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13001 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13002 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13003 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13004 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13005 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13006 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13007 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13008 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
13009 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13010 (elf_machine_lazy_rel): Likewise.
13011 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13012 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13013 (elf_machine_lazy_rel): Likewise.
13014 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13015 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13016 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13017 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13018 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13019 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13020 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13021 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13023 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13024 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13025 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13026 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13027 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13028 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13029 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13030 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13031 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13032 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13033 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13035 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13036 (__posix_fallocate64_l64): Likewise.
13037 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13038 (posix_fallocate): Likewise.
13039 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13041 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13042 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13043 (getifaddrs_internal): Likewise.
13044 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13045 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13046 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13047 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13048 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13049 (__posix_fallocate64_l64): Likewise.
13050 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13052 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
13053 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13054 (__get_clockfreq): Likewise.
13055 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13056 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13057 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13058 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13059 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13060 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13061 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13062 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13064 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13065 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13066 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13067 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13068 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13069 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13070 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13072 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13073 (posix_fallocate): Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13075 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13076 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
13077 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13078 (elf_machine_rela, elf_machine_rela_relative)
13079 (elf_machine_lazy_rel): Likewise.
13080 * time/asctime.c (asctime_internal): Likewise.
13081 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13082 * time/tzset.c (__tzset_parse_tz): Likewise.
13083 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13084 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13085 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13086 * wcsmbs/wcsmbsload.h: Likewise.
13089 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13091 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13092 (arena_get2): Remove THREAD_STATS conditionals.
13093 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13094 (__malloc_stats, int): Likewise.
13096 2014-02-08 Mike Frysinger <vapier@gentoo.org>
13098 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13099 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13101 * manual/setjmp.texi: Fix typos/grammar errors.
13103 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13104 Only return early when n is <= 0. Delete unused return statement.
13106 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13107 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13108 * debug/tst-longjmp_chk3.c: New file.
13110 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13111 (test_main): Replace code with set_fortify_handler call.
13112 * debug/test-strcpy_chk.c: Likewise.
13113 * debug/tst-chk1.c: Likewise.
13114 * debug/tst-longjmp_chk.c: Likewise.
13115 * test-skeleton.c: Include fcntl.h & paths.h
13116 (set_fortify_handler): Define.
13118 * debug/tst-longjmp_chk.c: Add header comment and include
13119 ../test-skeleton.c.
13120 (do_test): Mark static.
13121 (TEST_FUNCTION): Define.
13123 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13124 (IP_PMTUDISC_INTERFACE): Likewise.
13125 (IP_MULTICAST_IF): Likewise.
13126 (IP_MULTICAST_TTL): Likewise.
13127 (IP_MULTICAST_LOOP): Likewise.
13128 (IP_ADD_MEMBERSHIP): Likewise.
13129 (IP_DROP_MEMBERSHIP): Likewise.
13130 (IP_UNBLOCK_SOURCE): Likewise.
13131 (IP_BLOCK_SOURCE): Likewise.
13132 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13133 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13134 (IP_MSFILTER): Likewise.
13135 (MCAST_JOIN_GROUP): Likewise.
13136 (MCAST_BLOCK_SOURCE): Likewise.
13137 (MCAST_UNBLOCK_SOURCE): Likewise.
13138 (MCAST_LEAVE_GROUP): Likewise.
13139 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13140 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13141 (MCAST_MSFILTER): Likewise.
13142 (IP_MULTICAST_ALL): Likewise.
13143 (IP_UNICAST_IF): Likewise.
13145 * timezone/Makefile: Delete $(have-ksh) check.
13146 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13147 * timezone/tzselect.ksh: Add +x mode bits.
13149 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13150 (ANON_INODE_FS_MAGIC): Likewise.
13151 (BDEVFS_MAGIC): Likewise.
13152 (BINFMTFS_MAGIC): Likewise.
13153 (BTRFS_TEST_MAGIC): Likewise.
13154 (CRAMFS_MAGIC_WEND): Likewise.
13155 (DEBUGFS_MAGIC): Likewise.
13156 (ECRYPTFS_SUPER_MAGIC): Likewise.
13157 (EXT3_SUPER_MAGIC): Likewise.
13158 (EXT4_SUPER_MAGIC): Likewise.
13159 (FUTEXFS_SUPER_MAGIC): Likewise.
13160 (HOSTFS_SUPER_MAGIC): Likewise.
13161 (HUGETLBFS_MAGIC): Likewise.
13162 (MINIX3_SUPER_MAGIC): Likewise.
13163 (MTD_INODE_FS_MAGIC): Likewise.
13164 (NILFS_SUPER_MAGIC): Likewise.
13165 (OPENPROM_SUPER_MAGIC): Likewise.
13166 (PIPEFS_MAGIC): Likewise.
13167 (PSTOREFS_MAGIC): Likewise.
13168 (QNX6_SUPER_MAGIC): Likewise.
13169 (RAMFS_MAGIC): Likewise.
13170 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13171 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13172 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13173 (SECURITYFS_MAGIC): Likewise.
13174 (SELINUX_MAGIC): Likewise.
13175 (SMACK_MAGIC): Likewise.
13176 (SOCKFS_MAGIC): Likewise.
13177 (SQUASHFS_MAGIC): Likewise.
13178 (STACK_END_MAGIC): Likewise.
13179 (TMPFS_MAGIC): Likewise.
13180 (USBDEVICE_SUPER_MAGIC): Likewise.
13181 (V9FS_MAGIC): Likewise.
13182 (XENFS_SUPER_MAGIC): Likewise.
13183 (CRAMFS_MAGIC): Fix typo in comment.
13184 (EXT2_SUPER_MAGIC): Update comment.
13185 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13187 2014-02-08 Joseph Myers <joseph@codesourcery.com>
13189 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13190 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13191 * sysdeps/unix/sysv/linux/arm: Move directory from
13192 ports/sysdeps/unix/sysv/linux/arm.
13193 * README: Update listing for arm-*-linux-gnueabi.
13195 * README: Remove mention of am33.
13197 2014-02-07 Roland McGrath <roland@hack.frob.com>
13199 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13200 than the comma operator, to avoid "rhs of comma has no effect"
13202 (__sigfillset, __sigandset, __sigorset): Likewise.
13203 * include/signal.h (__sigemptyset): Likewise.
13204 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13206 2014-02-07 Allan McRae <allan@archlinux.org>
13208 * version.h (RELEASE): Set to "development".
13209 (VERSION): Set to "2.19.90"
13210 * NEWS: Add 2.20 section.
13212 2014-02-06 Carlos O'Donell <carlos@redhat.com>
13215 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13217 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13219 * manual/contrib.texi: Update entry for Carlos O'Donell,
13220 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13222 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
13224 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13226 * sysdeps/unix/sysv/linux/kernel-features.h
13227 [__LINUX_KERNEL_VERSION >= 0x020621]
13228 (__ASSUME_PROC_PID_TASK_COMM): Define.
13230 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13233 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13234 conversion when destination buffer does not have enough space.
13235 * libio/tst-ftell-partial-wide.c: New test case.
13236 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13238 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13239 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13240 Leonard and Allan McRae.
13242 2014-02-04 David S. Miller <davem@davemloft.net>
13244 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13247 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13276 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13278 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13279 * shlib-versions: Likewise.
13281 2014-02-04 Roland McGrath <roland@hack.frob.com>
13282 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13284 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13285 (abilist-pattern): New variable, set to %-le.abilist.
13287 * Makerules (abilist-pattern): New variable.
13288 (vpath): Use $(abilist-pattern) in place of %.abilist.
13289 (check-abi-% pattern rule): Likewise.
13290 (check-abi, update-abi): Likewise.
13292 2014-02-04 Eric Wong <normalperson@yhbt.net>
13294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13296 2014-02-03 Carlos O'Donell <carlos@redhat.com>
13298 * manual/startup.texi: Add next, previous, and top entries for
13299 the `Program Arguments' and `Environment Variables' nodes.
13301 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
13303 * manual/macros.texi: Add comments before MTASC-safety macros.
13305 * manual/users.texi: Document MTASC-safety properties.
13307 * manual/threads.texi (pthread_key_create, pthread_key_delete)
13308 (pthread_getspecific, pthread_setspecific): Format with
13309 @deftypefun, and add @safety note.
13310 * manual/signal.texi: Move comments that analyze the above
13311 functions to their home place.
13313 2014-02-03 Allan McRae <allan@archlinux.org>
13315 * po/sl.po: Update Slovenian translation from translation project.
13317 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
13319 * manual/time.texi (timegm): Add missing blank after @c.
13320 Reported by Joseph Myers <joseph@codesourcery.com>.
13322 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
13324 * manual/check-safety.sh: New.
13325 * manual/Makefile ($(objpfx)stamp-summary): Run it.
13327 * manual/terminal.texi: Document MTASC-safety properties.
13329 * manual/filesys.texi: Document MTASC-safety properties.
13331 * manual/errno.texi: Document MTASC-safety properties.
13333 * manual/intro.texi: Document safety identifiers and
13336 * manual/string.texi (wcstok): Fix prototype.
13337 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
13339 * manual/time.texi: Document MTASC-safety properties.
13341 * manual/string.texi: Document MTASC-safety properties.
13343 * manual/threads.texi: Document MTASC-safety properties.
13345 * manual/stdio.texi: Document MTASC-safety properties.
13347 * manual/syslog.texi: Document MTASC-safety properties.
13349 * manual/sysinfo.texi: Document MTASC-safety properties.
13351 * manual/startup.texi: Document MTASC-safety properties.
13353 * manual/socket.texi: Document MTASC-safety properties.
13355 * manual/signal.texi: Document MTASC-safety properties.
13357 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
13359 * manual/setjmp.texi: Document MTASC-safety properties.
13361 * manual/search.texi: Document MTASC-safety properties.
13363 * manual/resource.texi: Document MTASC-safety properties.
13365 * manual/process.texi: Document MTASC-safety properties.
13367 * manual/platform.texi: Document MTASC-safety properties.
13369 * manual/pipe.texi: Document MTASC-safety properties.
13371 * manual/pattern.texi: Document MTASC-safety properties.
13373 * manual/message.texi: Document MTASC-safety properties.
13376 * manual/memory.texi: Document MTASC-safety properties.
13378 * manual/math.texi: Document MTASC-safety properties.
13380 * manual/locale.texi: Document MTASC-safety properties.
13382 * manual/llio.texi: Document MTASC-safety properties.
13384 * manual/libdl.texi: New.
13386 * manual/lang.texi: Document MTASC-safety properties.
13388 * manual/job.texi: Document MTASC-safety properties.
13390 * manual/getopt.texi: Document MTASC-safety properties.
13392 * manual/ctype.texi: Document MTASC-safety properties.
13394 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
13397 * csu/libc-tls.c (static_map): Remove variable.
13398 (__libc_setup_tls): Use main executable's link map for TLS data.
13399 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
13400 casing for LM_ID_BASE and GL(dl_nns).
13401 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
13402 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
13403 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
13404 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
13405 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
13407 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
13410 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
13412 * manual/debug.texi: Document MTASC-safety properties.
13414 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
13417 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
13418 of __x86_64__ when disabling x87 inline functions.
13420 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
13422 * manual/charset.texi: Document MTASC-safety properties.
13424 * manual/crypt.texi: Document MTASC-safety properties.
13426 * manual/conf.texi: Document MTASC-safety properties.
13428 * manual/arith.texi: Document MTASC-safety properties.
13430 * manual/argp.texi: Document MTASC-safety properties.
13432 * manual/macros.texi: Introduce macros to document multi
13433 thread, asynchronous signal and asynchronous cancellation
13435 * manual/intro.texi: Introduce the properties themselves.
13437 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13439 * sysdeps/sh/sh4/Makefile: New file.
13441 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
13443 * math/gen-libm-test.pl ($srcdir): New variable.
13444 ($auto_input): Use it.
13446 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13449 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
13450 access beyond array bounds when parsing netgroups file.
13452 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
13453 the old buffer before realloc.
13455 2014-01-27 Allan McRae <allan@archlinux.org>
13457 * po/fr.po: Update French translation from translation project.
13459 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13461 * sysdeps/sh/libm-test-ulps: Regenerate.
13463 2014-01-24 David S. Miller <davem@davemloft.net>
13465 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
13467 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13469 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
13470 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
13472 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13475 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
13476 string pointers after reallocation.
13478 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13480 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
13481 __SH4A__ instead of __SH_FPU_ANY__.
13483 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13485 * sysdeps/sh/fpu_control.h: New file.
13486 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
13487 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
13488 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
13489 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
13490 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
13491 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
13492 * sysdeps/sh/sys/ucontext.h: Remove.
13493 * sysdeps/sh/sys: Remove directory.
13495 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13497 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
13498 s390/sys/ucontext.h.
13499 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
13500 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
13502 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
13505 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
13507 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13510 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13511 Adjust the vDSO correctly for internal calls.
13512 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
13514 2014-01-20 Allan McRae <allan@archlinux.org>
13516 * po/ca.po: Update Catalan translation from translation project.
13518 2014-01-16 Mike Frysinger <vapier@gentoo.org>
13520 * sysdeps/s390/sotruss-lib.c: New file.
13522 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13525 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
13526 (__GI___gettimeofday): Alias for a different internal symbol to avoid
13527 local calls issues by not having a PLT stub required for IFUNC calls.
13528 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
13530 2014-01-16 Joseph Myers <joseph@codesourcery.com>
13532 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
13533 * math/test-fpucw-static.c: Likewise.
13535 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13538 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
13540 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13542 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
13543 implementation for powerpc.
13545 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
13548 * sysdeps/posix/system.c (__libc_system): Do not enable
13549 asynchronous cancellation.
13551 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13554 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
13555 handling only for numbers special also in the IEEE case.
13557 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13559 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13561 2014-01-11 Allan McRae <allan@archlinux.org>
13563 * po/bg.po: Update Bulgarian translation from translation project.
13565 * po/de.po: Update German translation from translation project.
13567 2014-01-10 Roland McGrath <roland@hack.frob.com>
13569 * sysdeps/generic/gcc-compat.h: New file.
13571 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13573 * benchtests/asin-inputs: Correct slow inputs.
13574 * benchtests/acos-inputs: Likewise.
13576 2014-01-10 Allan McRae <allan@archlinux.org>
13578 * po:sv.po: Update Swedish translation from translation project.
13580 * po/vi.po: Update Vietnamese translation from translation project.
13582 * po/eo.po: Update Esperanto translation from translation project.
13584 * po/cs.po: Update Czech translation from translation project.
13586 * po/nl.po: Update Dutch translation from translation project.
13588 * po/pl.po: Update Polish translation from translation project.
13590 * po/ru.po: Update Russian translation from translation project.
13592 * po/uk.po: Update Ukrainian translation from translation project.
13594 2014-01-08 Brooks Moses <bmoses@google.com>
13596 * elf/dl-load.c: Fix comment typo.
13598 2014-01-08 Carlos O'Donell <carlos@redhat.com>
13600 * po/header.pot: Rename to...
13601 * po/pot.header: ... this.
13602 * po/Makefile: Use pot.header.
13604 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
13605 Maxim Kuvyrkov <maxim@kugelworks.com>
13608 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
13609 SRC and DEST against LEN.
13611 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13614 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
13616 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
13618 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13622 2014-01-08 Joseph Myers <joseph@codesourcery.com>
13625 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
13626 for large positive arguments.
13628 2014-01-07 Joseph Myers <joseph@codesourcery.com>
13630 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13632 * math/auto-libm-test-in: Mark various tests with
13633 xfail-rounding:ldbl-128ibm.
13634 * math/auto-libm-test-out: Regenerated.
13637 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13638 Increase overflow threshold.
13640 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
13643 * stdio-common/vfprintf.c: Check for integer overflow.
13645 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13647 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
13648 the first argument and return value of __tls_get_addr_internal.
13650 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13652 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
13653 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
13655 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13657 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
13658 * sysdeps/s390/rtld-global-offsets.sym: New file.
13659 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
13661 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
13662 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
13663 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
13665 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
13666 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
13668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13672 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
13673 halfs of GPRs for high_gprs contexts.
13674 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
13675 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
13677 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
13679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
13681 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
13682 for high GPRs (uc_high_gprs) and for future extensions
13684 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
13685 for future extensions (__reserved).
13686 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
13688 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
13689 SC_HIGHGPRS offset definition.
13690 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
13691 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
13693 * Versions.def: Add GLIBC_2.19 for libpthread.
13694 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
13695 siglongjmp for libpthread with GLIBC_2.19 symver.
13696 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
13697 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
13698 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
13699 * sysdeps/s390/__longjmp.c: New file.
13700 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
13701 * sysdeps/s390/longjmp.c: New file.
13702 * sysdeps/s390/setjmp.S: New file.
13703 * sysdeps/s390/sigjmp.S: New file.
13704 * sysdeps/s390/v1-longjmp.c: New file.
13705 * sysdeps/s390/v1-setjmp.h: New file.
13706 * sysdeps/s390/v1-sigjmp.c: New file.
13707 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
13708 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
13709 GLIBC_2.19 version.
13710 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
13711 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
13712 versioned symbols for ____longjmp_chk.
13713 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
13715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13723 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
13724 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
13725 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
13726 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
13727 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
13728 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
13729 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
13730 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
13731 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
13732 * sysdeps/s390/rtld-__longjmp.c: New file.
13733 * sysdeps/s390/rtld-setjmp.S: New file.
13735 2014-01-06 Joseph Myers <joseph@codesourcery.com>
13738 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13739 Return -__logl (x) for small positive arguments without evaluating
13742 2014-01-06 Mike Frysinger <vapier@gentoo.org>
13744 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
13746 (__ptrace_peeksiginfo_args): ... this.
13747 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13748 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13751 2014-01-06 Allan McRae <allan@archlinux.org>
13753 * inet/netinet/in.h: Fix typo in comment.
13755 2014-01-05 Andreas Jaeger <aj@suse.de>
13757 * sysdeps/i386/fpu/libm-test-ulps: Update.
13759 2014-01-05 Allan McRae <allan@archlinux.org>
13761 * po/libc.pot: Regenerated.
13763 * malloc/memusagestat.c: Fix gettext call formatting.
13765 2014-01-04 Sami Kerola <kerolasa@iki.fi>
13767 * nscd/nscd.c: Improve usage() output.
13769 2014-01-04 Mike Frysinger <vapier@gentoo.org>
13771 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
13772 * sysdeps/unix/sysv/linux/configure: Regenerated.
13773 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
13774 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
13776 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13779 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13780 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
13782 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
13785 extra tokens at end of #undef directive.
13786 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
13787 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
13788 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13790 2014-01-03 Joseph Myers <joseph@codesourcery.com>
13792 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13794 * math/auto-libm-test-in: Mark various tests with
13795 xfail-rounding:ldbl-128ibm.
13796 * math/auto-libm-test-out: Regenerated.
13798 2014-01-02 Joseph Myers <joseph@codesourcery.com>
13801 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
13802 numbers with subnormal high part when calculating exponent.
13805 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
13809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
13811 (__ieee754_acoshl): Use __log1pl not __log1p.
13813 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
13815 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
13816 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
13817 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
13818 (grow_heap, heap_trim, _int_new_arena, get_free_list)
13819 (reused_arena, arena_get2): Convert to GNU style.
13820 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
13821 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
13822 (memalign_check, __malloc_set_state): Likewise.
13823 * malloc/mallocbug.c (main): Likewise.
13824 * malloc/malloc.c (__malloc_assert, malloc_init_state)
13825 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
13826 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
13827 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
13828 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
13829 (__posix_memalign, malloc_info): Likewise.
13830 * malloc/malloc.h: Likewise.
13831 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
13832 (mallochook, memalignhook, reallochook, mabort): Likewise.
13833 * malloc/mcheck.h: Likewise.
13834 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
13835 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
13836 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
13837 * malloc/morecore.c (__default_morecore): Likewise.
13838 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
13839 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
13840 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
13841 (print_and_abort): Likewise.
13842 * malloc/obstack.h: Likewise.
13843 * malloc/set-freeres.c (__libc_freeres): Likewise.
13844 * malloc/tst-mallocstate.c (main): Likewise.
13845 * malloc/tst-mtrace.c (main): Likewise.
13846 * malloc/tst-realloc.c (do_test): Likewise.
13848 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13851 * nscd/netgroupcache.c (do_notfound): New function.
13852 (addgetnetgrentX): Use it.
13855 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
13856 NSS_STATUS_NOTFOUND.
13858 2014-01-01 Joseph Myers <joseph@codesourcery.com>
13860 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13863 2014-01-01 Allan McRae <allan@archlinux.org>
13865 * scripts/update-copyrights: Update configure input file suffix.
13867 * NEWS: Update copyright year.
13868 * catgets/gencat.c: Likewise.
13869 * csu/version.c: Likewise.
13870 * debug/catchsegv.sh: Likewise.
13871 * debug/pcprofiledump.c: Likewise.
13872 * debug/xtrace.sh: Likewise.
13873 * elf/ldconfig.c: Likewise.
13874 * elf/ldd.bash.in: Likewise.
13875 * elf/pldd.c: Likewise.
13876 * elf/sotruss.ksh: Likewise.
13877 * elf/sprof.c: Likewise.
13878 * iconv/iconv_prog.c: Likewise.
13879 * iconv/iconvconfig.c: Likewise.
13880 * locale/programs/locale.c: Likewise.
13881 * locale/programs/localedef.c: Likewise.
13882 * login/programs/pt_chown.c: Likewise.
13883 * malloc/memusage.sh: Likewise.
13884 * malloc/memusagestat.c: Likewise.
13885 * malloc/mtrace.pl: Likewise.
13886 * manual/libc.texinfo: Likewise.
13887 * nscd/nscd.c: Likewise.
13888 * nss/getent.c: Likewise.
13889 * nss/makedb.c: Likewise.
13890 * posix/getconf.c: Likewise.
13891 * scripts/test-installation.pl: Likewise.
13893 * All files with FSF copyright notices: Update copyright dates
13894 using scripts/update-copyrights.
13895 * intl/plural.c: Regenerated.
13896 * locale/programs/charmap-kw.h: Likewise.
13897 * locale/programs/locfile-kw.h: Likewise.
13899 2013-12-31 Mike Frysinger <vapier@gentoo.org>
13901 * sysdeps/unix/sysv/linux/configure: Regenerated.
13902 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
13903 the linux/fanotify.h header.
13904 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
13905 HAVE_LINUX_FANOTIFY_H is defined.
13907 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
13909 * benchtests/cos-inputs: New inputs.
13910 * benchtests/sin-inputs: Likewise.
13912 * benchtests/atan-inputs: New inputs. Fix name of multiple
13913 precision fallback inputs.
13915 * benchtests/atanh-inputs: New inputs.
13916 * benchtests/tanh-inputs: Likewise.
13918 * benchtests/acosh-inputs: New inputs.
13919 * benchtests/asinh-inputs: Likewise.
13921 * benchtests/cosh-inputs: New inputs.
13922 * benchtests/sinh-inputs: Likewise.
13924 * benchtests/acos-inputs: Add more inputs.
13925 * benchtests/asin-inputs: Likewise.
13927 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
13930 * manual/arith.texi: Fix spelling.
13931 * manual/charset.texi: Likewise.
13932 * manual/errno.texi: Likewise.
13933 * manual/filesys.texi: Likewise.
13934 * manual/lang.texi: Likewise.
13935 * manual/llio.texi: Likewise.
13936 * manual/locale.texi: Likewise.
13937 * manual/message.texi: Likewise.
13938 * manual/resource.texi: Likewise.
13939 * manual/search.texi: Likewise.
13940 * manual/setjmp.texi: Likewise.
13941 * manual/stdio.texi: Likewise.
13942 * manual/string.texi: Likewise.
13943 * manual/sysinfo.texi: Likewise.
13944 * manual/time.texi: Likewise.
13946 2013-12-27 Carlos O'Donell <carlos@redhat.com>
13948 * po/sl.po: New file.
13950 2013-12-27 Mike Frysinger <vapier@gentoo.org>
13952 * .gitignore: Add core/.gdbinit/.gdb_history.
13954 2013-12-27 Allan McRae <allan@archlinux.org>
13957 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
13958 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
13960 2013-12-24 Brooks Moses <bmoses@google.com>
13962 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
13963 all compilers that claim C++98 compliance, not just GCC.
13964 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
13967 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13969 * NEWS: Restore accidentally deleted bug-fix entries.
13971 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
13972 Ondřej Bílka <neleai@seznam.cz>
13975 * malloc/malloc.c (_int_free): Perform sanity check only if we
13978 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
13981 * manual/stdio.texi (String Input Conversions): Clarify that character
13982 classes are not supported.
13984 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13988 2013-12-22 Joseph Myers <joseph@codesourcery.com>
13991 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13992 Calculate results for small negative arguments directly rather
13993 than using reflection formula with special underflow handling.
13995 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
13996 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
13997 sysdeps/unix/bsd/bsd4.4/syscalls.list.
13998 (fchflags): Likewise.
13999 (revoke): Likewise.
14000 (setlogin): Likewise.
14001 (sigaltstack): Likewise.
14003 (sigblock): Remove.
14004 (sigsetmask): Likewise.
14006 (waitpid): Likewise.
14007 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14008 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14010 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14011 * sysdeps/unix/bsd/Makefile: ... here.
14012 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14013 * sysdeps/unix/bsd/Versions: ... here.
14014 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14015 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14016 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14017 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14018 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14019 * sysdeps/unix/bsd/sigblock.c: ... here.
14020 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14021 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14022 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14023 * sysdeps/unix/bsd/sigvec.c: ... here.
14024 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14025 * sysdeps/unix/bsd/tcdrain.c: ... here.
14026 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14027 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14028 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14029 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14030 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14031 * sysdeps/unix/bsd/wait.c: ... here.
14032 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14033 * sysdeps/unix/bsd/wait3.c: ... here.
14034 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14035 * sysdeps/unix/bsd/waitpid.c: ... here.
14037 2013-12-21 Joseph Myers <joseph@codesourcery.com>
14040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14041 round-to-nearest for [!USE_AS_EXPM1L].
14042 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14043 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14044 more tests of exp and exp10. Expect some exp10 tests to miss
14045 exceptions or fail in directed rounding modes.
14046 * math/auto-libm-test-out: Regenerated.
14047 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14048 (exp10_test_tonearest): New function.
14049 (exp10_towardzero_test_data): New array.
14050 (exp10_test_towardzero): New function.
14051 (exp10_downward_test_data): New array.
14052 (exp10_test_downward): New function.
14053 (exp10_upward_test_data): New array.
14054 (exp10_test_upward): New function.
14055 (main): Call the new functions.
14056 * sysdeps/i386/fpu/libm-test-ulps: Update.
14057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14059 2013-12-20 Joseph Myers <joseph@codesourcery.com>
14061 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14062 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14063 * math/auto-libm-test-out: Regenerated.
14064 * math/libm-test.inc (acosh_test_data): Add more tests.
14065 (atanh_test_data): Likewise.
14066 (ceil_test_data): Likewise.
14067 (copysign_test_data): Likewise.
14068 * sysdeps/i386/fpu/libm-test-ulps: Update.
14069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14071 * timezone/checktab.awk: Update from tzcode 2013i.
14072 * timezone/private.h: Likewise.
14073 * timezone/scheck.c: Likewise.
14074 * timezone/tzfile.h: Likewise.
14075 * timezone/tzselect.ksh: Likewise.
14076 * timezone/zdump.c: Likewise.
14077 * timezone/zic.c: Likewise.
14079 * math/auto-libm-test-in: Add tests of cpow.
14080 * math/auto-libm-test-out: Regenerated.
14081 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
14082 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14084 (func_calc_desc): Add mpc_cc_c union field.
14085 (test_functions): Add cpow.
14086 (special_fill_2pi): New function.
14087 (special_real_inputs): Add 2pi.
14088 (calc_generic_results): Handle mpc_cc_c.
14089 * sysdeps/i386/fpu/libm-test-ulps: Update.
14090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14093 csqrt, ctan and ctanh.
14094 * math/auto-libm-test-out: Regenerated.
14095 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14096 (TEST_COND_x86): Likewise.
14097 (ccos_test_data): Use AUTO_TESTS_c_c.
14098 (ccosh_test_data): Likewise.
14099 (cexp_test_data): Likewise.
14100 (clog_test_data): Likewise.
14101 (csqrt_test_data): Likewise.
14102 (ctan_test_data): Likewise.
14103 (ctan_tonearest_test_data): Likewise.
14104 (ctan_towardzero_test_data): Likewise.
14105 (ctan_downward_test_data): Likewise.
14106 (ctan_upward_test_data): Likewise.
14107 (ctanh_test_data): Likewise.
14108 (ctanh_tonearest_test_data): Likewise.
14109 (ctanh_towardzero_test_data): Likewise.
14110 (ctanh_downward_test_data): Likewise.
14111 (ctanh_upward_test_data): Likewise.
14112 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14114 (func_calc_desc): Add mpc_c_c union field.
14115 (FUNC_mpc_c_c): New macro.
14116 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14117 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14119 (special_fill_min_subnorm_p120): New function.
14120 (special_real_inputs): Add min_subnorm_p120.
14121 (calc_generic_results): Handle mpc_c_c.
14122 * sysdeps/i386/fpu/libm-test-ulps: Update.
14123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14125 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14127 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14128 (do_sin_slow): New functions.
14129 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14130 (cslow2, csloww1, csloww2): Use the new functions.
14132 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14133 Use M to change sign of result instead of X. Assume X is
14135 (csloww1): Likewise.
14139 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14140 arguments A and DA.
14144 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14146 (sloww1): Don't adjust sign of DX.
14147 (csloww1): Likewise.
14148 (sloww2): Use X directly and don't adjust sign of DX.
14149 (csloww2): Likewise.
14151 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14153 * math/auto-libm-test-in: Add tests of cabs and carg.
14154 * math/auto-libm-test-out: Regenerated.
14155 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14156 (carg_test_data): Likewise.
14157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14159 (func_calc_desc): Add mpc_c_f union field.
14160 (test_functions): Add cabs and carg.
14161 (calc_generic_results): Handle mpc_c_f.
14163 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14164 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14165 as a macro and a compat symbol.
14166 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14167 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14168 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14169 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14170 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14171 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14173 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14175 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14177 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14179 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14181 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14183 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14184 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14187 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14191 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14193 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14194 trailing whitespace removed.
14195 * scripts/config.guess: Update to version 2013-11-29.
14196 * scripts/config.sub: Update to version 2013-10-01.
14198 * math/auto-libm-test-in: Add tests of sincos.
14199 * math/auto-libm-test-out: Regenerated.
14200 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14201 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14203 (func_calc_desc): Add mpfr_f_11 union field.
14204 (test_functions): Add sincos.
14205 (calc_generic_results): Handle mpfr_f_11.
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209 2013-12-19 Andreas Schwab <schwab@suse.de>
14211 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14213 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14214 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14215 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14217 2013-12-19 Joseph Myers <joseph@codesourcery.com>
14219 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14220 * sysdeps/i386/fpu/libm-test-ulps: Update.
14221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14224 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14225 round-to-nearest mode when using frndint.
14226 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14227 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14228 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14230 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14232 * math/auto-libm-test-out: Regenerated.
14233 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14234 (TEST_COND_x86): Likewise.
14235 (expm1_tonearest_test_data): New array.
14236 (expm1_test_tonearest): New function.
14237 (expm1_towardzero_test_data): New array.
14238 (expm1_test_towardzero): New function.
14239 (expm1_downward_test_data): New array.
14240 (expm1_test_downward): New function.
14241 (expm1_upward_test_data): New array.
14242 (expm1_test_upward): New function.
14243 (main): Run the new test functions.
14244 * sysdeps/i386/fpu/libm-test-ulps: Update.
14245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14247 * include/features.h: Update comment documenting feature test
14248 macros. Mention _DEFAULT_SOURCE in comment.
14249 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14250 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14251 _BSD_SOURCE and _SVID_SOURCE.
14252 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14253 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14254 !_SVID_SOURCE]: Likewise.
14255 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14256 (__USE_POSIX_IMPLICITLY): Define.
14257 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14258 (_POSIX_SOURCE): Undefine and redefine.
14259 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14260 (_POSIX_C_SOURCE): Likewise.
14261 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14262 (Feature Test Macros): Update documentation of default features.
14264 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14266 * benchtests/Makefile: Add bench-strtok.
14267 * benchtests/bench-strtok.c: New file: strtok benchtest.
14269 2013-12-19 Allan McRae <allan@archlinux.org>
14271 * manual/install.texi: Suppress menu for plain text output.
14272 * INSTALL: Regenerated.
14274 2013-12-18 Brooks Moses <bmoses@google.com>
14277 * misc/getauxval.c: Include errno.h.
14278 (__getauxval): Set errno to ENOENT if the requested type is not
14280 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14281 don't declare with __attribute_const__.
14282 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14283 * manual/startup.texi: Document that getauxval sets errno.
14285 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14287 * math/auto-libm-test-in: Add tests of jn and yn.
14288 * math/auto-libm-test-out: Regenerated.
14289 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14290 (yn_test_data): Likewise.
14291 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14293 (func_calc_desc): Add mpfr_if_f union field.
14294 (FUNC_mpfr_if_f): New macro.
14295 (test_functions): Add jn and yn.
14296 (calc_generic_results): Assert type of second input for
14297 mpfr_ff_f. Handle mpfr_if_f.
14298 (output_for_one_input_case): Disable all checking for arguments
14299 fitting floating-point types in case of an integer argument.
14300 * sysdeps/i386/fpu/libm-test-ulps: Update.
14301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14304 Don't expect fegetround reference in libm.so.
14306 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14308 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
14309 $(config-cflags-nofma).
14311 2013-12-18 Joseph Myers <joseph@codesourcery.com>
14313 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
14314 * math/auto-libm-test-out: Regenerated.
14317 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
14318 to determine exponent and adjust argument to have exponent of -1.
14319 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14321 * math/auto-libm-test-out: Regenerated.
14322 * sysdeps/i386/fpu/libm-test-ulps: Update.
14323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14325 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
14327 * manual/probes.texi: Remove cases when per-thread arenas are
14330 2013-12-18 Andreas Schwab <schwab@suse.de>
14332 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
14333 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
14334 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
14335 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
14336 * sysdeps/i386/i686/multiarch/Makefile: Update.
14337 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
14339 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14341 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
14342 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
14344 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
14347 Support TZ transition times < 00:00:00.
14348 This is needed for version-3 tz-format files; it supports time
14349 stamps past 2037 for America/Godthab (the only entry in the tz
14350 database for which this change is relevant).
14351 * manual/time.texi (TZ Variable): Document transition times
14352 from -167:59:59 through -00:00:01.
14353 * time/tzset.c (tz_rule): Time of day is now signed.
14354 (__tzset_parse_tz): Parse negative time of day.
14356 Document TZ transition times >= 25:00:00.
14357 * manual/time.texi (TZ Variable): Document transition times from
14358 25:00:00 through 167:59:59. These are already supported, and this
14359 support will help with version-3 tz-format files.
14361 * manual/time.texi (TZ Variable): Modernize North America example
14362 to reflect current (i.e., 2007-and-later) daylight saving rules.
14364 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
14366 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14368 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
14369 * sysdeps/unix/bsd/bits/stat.h: Likewise.
14370 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
14371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14372 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
14373 * sysdeps/unix/bsd/bsdstat.h: Likewise.
14374 * sysdeps/unix/bsd/clock.c: Likewise.
14375 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
14376 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
14377 * sysdeps/unix/bsd/init-posix.c: Likewise.
14378 * sysdeps/unix/bsd/poll.c: Likewise.
14379 * sysdeps/unix/bsd/ptsname.c: Likewise.
14380 * sysdeps/unix/bsd/seekdir.c: Likewise.
14381 * sysdeps/unix/bsd/setegid.c: Likewise.
14382 * sysdeps/unix/bsd/seteuid.c: Likewise.
14383 * sysdeps/unix/bsd/setgid.c: Likewise.
14384 * sysdeps/unix/bsd/setrgid.c: Likewise.
14385 * sysdeps/unix/bsd/setruid.c: Likewise.
14386 * sysdeps/unix/bsd/setsid.c: Likewise.
14387 * sysdeps/unix/bsd/setuid.c: Likewise.
14388 * sysdeps/unix/bsd/sigaction.c: Likewise.
14389 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
14390 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
14391 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
14392 * sysdeps/unix/bsd/telldir.c: Likewise.
14393 * sysdeps/unix/bsd/times.c: Likewise.
14394 * sysdeps/unix/bsd/usleep.c: Likewise.
14396 * misc/Makefile (install-lib): Remove libbsd-compat.a.
14397 ($(objpfx)libbsd-compat.a): Remove rule.
14399 * include/features.h (__FAVOR_BSD): Do not define.
14400 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
14401 features conflicting with POSIX.
14402 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
14403 (_BSD_SOURCE): Remove description of not being a subset of other
14404 feature test macros.
14405 * manual/job.texi (getpgrp): Do not document BSD version.
14406 (getpgid): Do not document by reference to BSD getpgrp.
14407 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
14408 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
14409 * signal/signal.h [__FAVOR_BSD]: Likewise.
14410 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
14411 instead of making contents conditional on [__FAVOR_BSD].
14412 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
14414 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14418 2013-12-17 Joseph Myers <joseph@codesourcery.com>
14421 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
14422 values below 2**-450, not 2**-500.
14423 * math/auto-libm-test-in: Don't allow spurious underflow from
14425 * math/auto-libm-test-out: Regenerated.
14429 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
14430 values of ha and hb and sort them after adjusting subnormal
14432 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
14434 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
14435 values of ea and eb and sort them after adjusting subnormal
14437 * math/auto-libm-test-in: Do not expect some hypot tests of
14438 subnormals to fail. Add more hypot tests.
14439 * math/auto-libm-test-out: Regenerated.
14441 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14444 * sysdeps/sh/s_fma.c: New file.
14445 * sysdeps/sh/s_fmaf.c: New file.
14446 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
14448 * sysdeps/sh/Implies: Add sh/soft-fp.
14450 2013-12-16 Roland McGrath <roland@hack.frob.com>
14452 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
14453 level of indirection to members `objname', `errstring', `malloced'.
14454 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
14455 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
14456 it as the __longjmp argument (just pass 1 instead).
14457 (_dl_catch_error): Initialize C with argument pointers and address of
14458 volatile local ERRCODE rather than copying values out of C at return.
14460 2013-12-16 Joseph Myers <joseph@codesourcery.com>
14462 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
14463 * math/auto-libm-test-out: Regenerated.
14464 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
14465 (hypot_test_data): Likewise.
14466 (pow_test_data): Likewise.
14467 (pow_tonearest_test_data): Likewise.
14468 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14470 (func_calc_desc): Add mpfr_ff_f union field.
14471 (FUNC_mpfr_ff_f): New macro.
14472 (test_functions): Add atan2, hypot and pow.
14473 (special_fill_min): New function.
14474 (special_fill_minus_min): Likewise.
14475 (special_fill_min_subnorm): Likewise.
14476 (special_fill_minus_min_subnorm): Likewise.
14477 (special_real_inputs): Add min, -min, min_subnorm and
14479 (calc_generic_results): Handle mpfr_ff_f.
14480 * sysdeps/i386/fpu/libm-test-ulps: Update.
14481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14483 2013-12-16 Will Newton <will.newton@linaro.org>
14485 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
14486 (Aligned Memory Blocks): Add documentation for aligned_alloc
14487 and suggest it as an alternative to posix_memalign.
14488 (Hooks for Malloc): Document __memalign_hook is also called
14489 for aligned_alloc. (Summary of Malloc): Add summary for
14490 aligned alloc. Document __memalign_hook is also called
14493 2013-12-16 Will Newton <will.newton@linaro.org>
14495 * manual/memory.texi (Malloc Examples): Clarify default
14496 alignment documentation. Suggest posix_memalign rather
14497 than memalign or valloc.
14498 (Aligned Memory Blocks): Remove suggestion to use memalign
14499 or valloc. Remove obsolete comment about BSD.
14500 Document memalign errno values and mark the function obsolete.
14501 Document posix_memalign returned error codes. Mark valloc
14502 as obsolete. (Hooks for Malloc): __memalign_hook is also
14503 called for posix_memalign and valloc.
14504 (Summary of Malloc): Add posix_memalign to function summary.
14505 __memalign_hook is also called for posix_memalign and valloc.
14507 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14509 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
14513 (sloww): Use mynumber union. Expand ternary operator into
14514 if-else statements.
14515 (cslow): use mynumber union.
14517 2013-12-16 Allan McRae <allan@archlinux.org>
14519 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
14520 * configure: Regenerated.
14522 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
14525 * configure.ac: Added --enable-maintainer-mode. Check for
14526 autoconf when enabled.
14527 * configure: Regenerated.
14529 * nscd/nscd.service: New file.
14530 * nscd/nscd.tmpfiles: New file.
14532 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
14535 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
14536 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
14537 * sysdeps/x86_64/multiarch/strstr.c: ... here.
14538 (strstr): Add __strstr_sse2_unaligned ifunc.
14539 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
14540 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
14541 (strcasestr): Remove __strcasestr_sse42 ifunc.
14542 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
14543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14546 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14548 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
14549 * sysdeps/sh/bits/fenv.h: ... here.
14550 * sysdeps/sh/sh4/fpu/bits: Remove directory.
14552 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14554 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
14556 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
14557 hypotf multiarch implementations.
14558 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
14559 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
14560 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
14561 multiarch hypot for PPC64.
14562 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
14563 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
14564 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
14565 multiarch hypotf for PPC64.
14567 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
14568 modff multiarch implementations.
14569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
14570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
14571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
14572 multiarch modf for PPC64.
14573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
14574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
14575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
14576 multiarch modff for PPC64.
14578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
14579 and logl multiarch implementations.
14580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
14581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
14582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
14583 multiarch logb for PPC64.
14584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
14585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
14586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
14587 multiarch logb for PPC64.
14588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
14589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
14590 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
14591 multiarch logb for PPC64.
14593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
14594 isinff multiarch implementation.
14595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
14597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
14598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
14599 multiarch isinf for PPC64.
14600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
14602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
14603 multiarch isinff for PPC64.
14605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
14606 finitef multiarch implementation.
14607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
14609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
14610 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
14611 multiarch finite for PPC64.
14612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
14614 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
14615 multiarch finitef for PPC64.
14617 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
14618 lrint multiarch implementation.
14619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
14621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
14622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
14623 multiarch llrint for PPC64.
14624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
14625 multiarch lrint for PPC64.
14627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
14628 copysignf multiarch implementation.
14629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
14631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
14633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
14634 multiarch copysign for PPC64.
14635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
14636 multiarch copysignf for PPC64.
14638 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
14639 multiarch implementation.
14640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
14642 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
14644 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
14646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
14648 multiarch llround for PPC64.
14649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
14650 multiarch trunc for PPC64.
14651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
14652 multiarch truncf for PPC64.
14654 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
14655 multiarch implementation.
14656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
14658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
14660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
14662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
14664 multiarch llround for PPC64.
14665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
14666 multiarch round for PPC64.
14667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
14668 multiarch roundf for PPC64.
14670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
14671 multiarch implementation.
14672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
14674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
14676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
14678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
14680 multiarch llround for PPC64.
14681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
14682 multiarch floor for PPC64.
14683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
14684 multiarch floorf for PPC64.
14686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
14687 multiarch implementation.
14688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
14690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
14692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
14694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
14696 multiarch llround for PPC64.
14697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
14698 multiarch ceil for PPC64.
14699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
14700 multiarch ceilf for PPC64.
14702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14703 multiarch implementation.
14704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
14706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
14708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
14710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
14711 multiarch llround for PPC64.
14712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
14713 multiarch lround for PPC64.
14715 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14716 multiarch implementation.
14717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
14718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
14719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
14721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
14722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
14723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
14724 multiarch isnan for PPC64.
14725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
14726 multiarch isnanf for PPC64.
14728 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
14729 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
14730 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
14731 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
14732 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
14735 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
14736 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
14741 multiarch implementations.
14742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14743 (__libc_ifunc_impl_list): Likewise.
14744 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
14745 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
14746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
14747 multiarch stpcpy for PPC64.
14749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
14750 multiarch implementations.
14751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14752 (__libc_ifunc_impl_list): Likewise.
14753 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
14754 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
14755 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
14756 multiarch strcpy for PPC64.
14758 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
14759 redefine function name.
14760 (_wordcopy_fwd_dest_aligned): Likewise.
14761 (_wordcopy_bwd_aligned): Likewise.
14762 (_wordcopy_bwd_dest_aligned): Likewise.
14763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
14764 multiarch implementations.
14765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14766 (__libc_ifunc_impl_list): Likewise.
14767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
14768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
14769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
14770 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
14771 multiarch wcscpy for PPC64.
14773 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
14774 multiarch implementations.
14775 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14776 (__libc_ifunc_impl_list): Likewise.
14777 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
14778 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
14779 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
14780 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
14781 multiarch wcscpy for PPC64.
14783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
14784 multiarch implementations.
14785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14786 (__libc_ifunc_impl_list): Likewise.
14787 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
14788 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
14789 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
14790 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
14791 multiarch wcsrchr for PPC64.
14793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
14794 multiarch implementations.
14795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14796 (__libc_ifunc_impl_list): Likewise.
14797 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
14798 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
14799 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
14800 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
14801 multiarch wcschr for PPC64.
14803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
14804 multiarch implementations.
14805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14806 (__libc_ifunc_impl_list): Likewise.
14807 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
14808 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
14809 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
14810 multiarch strchrnul for PPC64.
14812 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
14814 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14815 (__libc_ifunc_impl_list): Likewise.
14816 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
14817 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
14818 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
14819 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
14822 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
14824 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14825 (__libc_ifunc_impl_list): Likewise.
14826 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
14827 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
14828 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
14829 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
14832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
14833 multiarch implementations.
14834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14835 (__libc_ifunc_impl_list): Likewise.
14836 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
14837 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
14838 strncasecmp for PPC64.
14839 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
14840 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
14841 multiarch strncasecmp_l for PPC64.
14843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
14844 multiarch implementations.
14845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14846 (__libc_ifunc_impl_list): Likewise.
14847 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
14848 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
14849 multiarch strcasecmp for PPC64.
14850 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
14852 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
14853 multiarch strcasecmp_l for PPC64.
14855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
14857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14858 (__libc_ifunc_impl_list): Likewise.
14859 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
14860 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
14861 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
14864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
14866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14867 (__libc_ifunc_impl_list): Likewise.
14868 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
14869 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
14870 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
14873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
14875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14876 (__libc_ifunc_impl_list): Likewise.
14877 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
14878 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
14879 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
14880 rawmemrchr for PPC64.
14882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
14884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14885 (__libc_ifunc_impl_list): Likewise.
14886 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
14887 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
14888 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
14891 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
14893 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14894 (__libc_ifunc_impl_list): Likewise.
14895 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
14896 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
14897 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
14900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
14902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14903 (__libc_ifunc_impl_list): Likewise.
14904 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
14905 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
14906 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
14909 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
14910 avoid cretion of __bzero symbol.
14911 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
14913 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
14915 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
14917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
14918 multiarch implementations.
14919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14920 (__libc_ifunc_impl_list): Likewise.
14921 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
14922 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
14923 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
14924 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
14926 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
14927 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
14928 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
14929 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
14930 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
14932 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
14934 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
14935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
14937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14938 (__libc_ifunc_impl_list): Likewise.
14939 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
14940 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
14941 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
14942 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
14945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
14946 multiarch for POWER/PPC64.
14947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
14948 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
14949 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
14950 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
14951 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
14952 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
14953 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
14954 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
14955 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
14958 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
14959 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
14960 * sysdeps/powerpc/powerpc64/power4/multiarch/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/power5/Implies: New File.
14964 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
14965 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
14966 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
14967 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
14968 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14969 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
14970 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
14971 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
14972 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
14973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
14975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
14978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
14981 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
14985 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14987 * benchtests/Makefile (bench): Add exp2 and log2.
14988 (LDLIBS-bench-exp2): Add -lm.
14989 (LDLIBS-bench-log2): Likewise.
14990 * benchtests/exp2-inputs: New inputs file.
14991 * benchtests/log2-inputs: New inputs file.
14992 * benchtests/log-inputs: Add new inputs.
14993 * benchtests/tan-inputs: Likewise.
14995 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14997 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
14999 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15000 (csloww2): ... from here.
15002 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15003 instead of structures.
15004 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15005 (POLYNOMIAL): Likewise.
15006 (TAYLOR_SLOW): Likewise.
15012 (sloww1); Likewise.
15013 (sloww2): Likewise.
15014 (bsloww1): Likewise.
15015 (bsloww2): Likewise.
15016 (cslow2): Likewise.
15017 (csloww): Likewise.
15018 (csloww1): Likewise.
15019 (csloww2): Likewise.
15021 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
15023 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
15024 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15025 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
15026 * malloc/hooks.c (realloc_check): Likewise.
15028 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15029 * malloc/arena.c: Remove PER_THREAD conditional.
15030 [!PER_THREAD]: Remove code.
15031 (ptmalloc_unlock_all2): Likewise.
15032 (ptmalloc_init): Likewise.
15033 (_int_new_arena): Likewise.
15034 (arena_get2): Likewise.
15035 * malloc/hooks.c (__malloc_get_state): Likewise.
15036 (__malloc_set_state): Likewise.
15037 * malloc/malloc.c: Likewise.
15038 (struct malloc_state): Likewise.
15039 (struct malloc_par): Likewise.
15040 (__libc_realloc): Likewise.
15041 (__libc_mallopt): Likewise.
15043 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15045 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15047 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
15049 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15050 macro to a function. Check for zero perturb_byte.
15051 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15053 * malloc/malloc.c: (force_reg): Remove.
15054 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15055 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
15056 force_reg by atomic_forced_read.
15057 * malloc/arena.c (ptmalloc_init): Likewise.
15058 * malloc/hooks.c (top_check): Likewise.
15060 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15064 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15068 2013-12-08 Joseph Myers <joseph@codesourcery.com>
15070 * math/auto-libm-test-in: Add tests of lgamma.
15071 * math/auto-libm-test-out: Regenerated.
15072 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15073 (M_LOG_2_SQRT_PIl): Likewise.
15074 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15075 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15077 (func_calc_desc): Add mpfr_f_f1 union field.
15078 (ARGS1): New macro.
15086 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15087 (test_functions): Add lgamma.
15088 (calc_generic_results): Handle mpfr_f_f1.
15089 * sysdeps/i386/fpu/libm-test-ulps: Update.
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15092 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15094 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15095 __mpn_add_n for PowerPC64/POWER7.
15096 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15097 __mpn_sub_n for PowerPC64/POWER7.
15099 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15100 __mpn_addmul_1 for PowerPC64.
15101 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15102 __mpn_submul_1 for PowerPC64.
15103 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15105 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15108 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15111 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15113 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15115 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15117 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15118 add multiarch folders.
15119 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15120 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15121 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15122 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15123 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15124 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15125 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15126 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15127 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15128 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15129 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15138 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15144 multiarch __ieee754_hypot for PowerPC32.
15145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15150 multiarch __ieee754_hypotf for PowerPC32.
15152 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15153 long_double_symbol only if __logbl is defined.
15154 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15155 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15156 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15157 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15158 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15159 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15160 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15161 path for implementation.
15162 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15163 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15165 logb, and logbl multiarch implementations for PowerPC32.
15166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15171 multiarch logb for PowerPC32.
15172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15177 multiarch logbf for PowerPC32.
15178 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15182 multiarch logbl implementation for PowerPC32.
15184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15185 and modff multiarch implementations.
15186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15191 multiarch modf for PowerPC32.
15192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15197 multiarch modff for PowerPC32.
15199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15200 and lrintf multiarch implementations.
15201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15206 multiarch lrint for PowerPC32.
15207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15208 file: multiarch lrintf for PowerPC32.
15210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15211 and lroundf multiarch implementations.
15212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15219 multiarch lround for PowerPC32.
15220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15221 file: multiarch lroundf for PowerPC32.
15223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15224 copysign and copysignf multiarch implementations.
15225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15230 file: multiarch copysign for PowerPC32.
15231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15232 file: multiarch copysignf for PowerPC32.
15234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15235 and truncf multiarch implementations.
15236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15241 multiarch trunc for PowerPC32.
15242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15247 multiarch truncf for PowerPC32.
15249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15250 and roundf multiarch implementations.
15251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15256 multiarch round for PowerPC32.
15257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15262 multiarch roundf for PowerPC32.
15264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15265 and floorf multiarch implementations.
15266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15271 multiarch floor for PowerPC32.
15272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15277 multiarch floorf for PowerPC32.
15279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15280 and ceilf multiarch implementations.
15281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15286 multiarch ceil for PowerPC32.
15287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
15292 multiarch ceilf for PowerPC32.
15294 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
15296 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
15297 FINITEF is defined.
15298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
15299 and finitef multiarch implementations.
15300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
15302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
15304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
15305 multiarch finite for PowerPC32.
15306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
15308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
15309 file: multiarch finitef for PowerPC32.
15311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
15312 and isinff multiarch implementations.
15313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
15315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
15317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
15318 multiarch isinf for PowerPC32.
15319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
15321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
15322 multiarch isinff for PowerPC32.
15324 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
15325 alias when __isnan is defined.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
15327 and isnanf multiarch implementations.
15328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
15330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
15332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
15334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
15336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
15337 multiarch isnan for PowerPC32.
15338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
15340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
15342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
15343 multiarch isnanf for PowerPC32.
15345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
15346 and sqrtf multiarch implementations.
15347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
15349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
15351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
15352 multiarch sqrt for PowerPC32.
15353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
15355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
15357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
15358 multiarch sqrtf for PowerPC32.
15360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
15361 and llroundf multiarch implementations.
15362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
15364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
15366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
15368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
15369 file: multiarch llround for PowerPC32.
15370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
15371 file: multiarch llroundf for PowerPC32.
15373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
15374 multiarch PowerPC32 fpu implementations.
15375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
15377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
15379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
15380 multiarch llrint for PowerPC32.
15381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
15383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
15385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
15390 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
15392 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
15394 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
15396 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
15397 multiarch wordcopy for PPC32.
15398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15401 (__libc_ifunc_impl_list): Likewise.
15402 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
15403 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
15404 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
15405 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
15406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
15407 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
15409 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
15410 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
15412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
15414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
15416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
15417 multiarch wcscpy for PPC32.
15418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
15420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15421 (__libc_ifunc_impl_list): Likewise.
15422 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15423 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15424 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
15425 sysdeps/powerpc/power6/wcscpy.c.
15427 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
15428 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
15430 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
15432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
15434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
15435 multiarch wcsrchr for PPC32.
15436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15439 (__libc_ifunc_impl_list): Likewise.
15440 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
15441 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
15442 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
15443 sysdeps/powerpc/power6/wcsrchr.c.
15445 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
15447 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
15449 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
15450 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
15451 multiarch wcschr for PPc32.
15452 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
15454 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15455 (__libc_ifunc_impl_list): Likewise.
15456 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
15457 * sysdeps/powerpc/power6/wcschr.c: ... to here.
15458 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
15459 sysdeps/powerpc/power6/wcschr.c.
15461 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
15462 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
15464 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
15465 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
15466 file: multiarch strchr for PPC32.
15467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
15469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15470 (__libc_ifunc_impl_list): Likewise.
15472 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
15474 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
15476 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
15478 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
15479 multiarch strchrnul for PPC32.
15480 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
15482 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15483 (__libc_ifunc_impl_list): Likewise.
15485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
15487 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
15488 multiarch strncasecmp for PPC32.
15489 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
15491 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
15492 multiarch strncasecmp_l for PPC32.
15493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
15494 strncasecmp multiarch objects.
15495 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15496 (__libc_ifunc_impl_list): Likewise.
15498 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
15500 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
15501 multiarch strncasecmp for PPC32.
15502 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
15504 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
15505 multiarch strcasecmp_l for PPC32.
15506 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
15508 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15509 (__libc_ifunc_impl_list): Likewise.
15511 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
15513 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
15515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
15516 multiarch strncmp for PPC32.
15517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
15519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15520 (__libc_ifunc_impl_list): Likewise.
15522 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
15523 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
15525 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
15526 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
15527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
15529 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15530 (__libc_ifunc_impl_list): Likewise.
15532 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
15534 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
15536 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
15537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
15539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15540 (__libc_ifunc_impl_list): Likewise.
15542 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
15544 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
15546 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
15547 multiarch rawmemchr for PPC32.
15548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
15550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15551 (__libc_ifunc_impl_list): Likewise.
15553 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
15555 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
15557 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
15558 file: memrchr multiarch for PPC32.
15559 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
15561 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
15562 (__libc_ifunc_impl_list): Likewise.
15564 * string/memchr.c (__memchr): Using macro to redefine symbol name.
15565 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
15567 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
15568 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
15569 multiarch memchr for PPC32.
15570 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
15572 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15573 (__libc_ifunc_impl_list): Likewise.
15575 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
15576 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
15578 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
15580 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
15581 file: multiarch mempcpy for PPC32.
15582 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
15584 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15585 (__libc_ifunc_impl_list): Likewise.
15587 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
15588 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
15589 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
15590 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
15591 multiarch bzero for PPC32.
15592 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
15594 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
15596 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
15597 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
15598 file: multiarch memset for PPC32.
15599 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
15600 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
15601 memset multiarch objects.
15602 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15603 (__libc_ifunc_impl_list): Likewise.
15605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
15607 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
15608 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
15610 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
15611 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
15613 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15614 (__libc_ifunc_impl_list): Likewise.
15616 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
15617 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
15618 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
15620 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
15622 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
15624 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
15625 multiarch memcpy for PPC32.
15626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15628 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
15629 (__libc_ifunc_impl_list): Likewise.
15631 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
15632 support multiarch for POWER/PPC32.
15633 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
15635 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
15637 Implies file to make multiarch folder appers before the fpu and
15638 default folder for power4 configuration.
15640 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15642 * scripts/bench.pl: Append volatile keyword to type.
15644 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15646 * sysdeps/sh/sotruss-lib.c: New file.
15647 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
15649 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15653 2013-12-05 Joseph Myers <joseph@codesourcery.com>
15656 * math/w_tgamma.c: Include <errno.h>.
15657 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
15658 * math/w_tgammaf.c: Include <errno.h>.
15659 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
15660 * math/w_tgammal.c: Include <errno.h>.
15661 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
15662 * math/auto-libm-test-in: Do not allow missing errno on tgamma
15663 underflow. Add more tgamma tests.
15664 * math/auto-libm-test-out: Regenerated.
15665 * sysdeps/i386/fpu/libm-test-ulps: Update.
15666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15668 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
15669 sin, sinh, tan, tanh, tgamma, y0 and y1.
15670 * math/auto-libm-test-out: Regenerated.
15671 * math/libm-test.inc (TEST_COND_x86_64): New macro.
15672 (TEST_COND_x86): Likewise.
15673 (M_E2l): Remove macro.
15675 (M_2_SQRT_PIl): Likewise.
15676 (M_SQRT_PIl): Likewise.
15677 (M_1_DIV_El): Likewise.
15678 (log_test_data): Use AUTO_TESTS_f_f.
15679 (log10_test_data): Likewise.
15680 (log1p_test_data): Likewise.
15681 (log2_test_data): Likewise.
15682 (sin_test_data): Likewise.
15683 (sin_tonearest_test_data): Likewise.
15684 (sin_towardzero_test_data): Likewise.
15685 (sin_downward_test_data): Likewise.
15686 (sin_upward_test_data): Likewise.
15687 (sinh_test_data): Likewise.
15688 (sinh_tonearest_test_data): Likewise.
15689 (sinh_towardzero_test_data): Likewise.
15690 (sinh_downward_test_data): Likewise.
15691 (sinh_upward_test_data): Likewise.
15692 (tan_test_data): Likewise.
15693 (tan_tonearest_test_data): Likewise.
15694 (tan_towardzero_test_data): Likewise.
15695 (tan_downward_test_data): Likewise.
15696 (tan_upward_test_data): Likewise.
15697 (tanh_test_data): Likewise.
15698 (tgamma_test_data): Likewise.
15699 (y0_test_data): Likewise.
15700 (y1_test_data): Likewise.
15701 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
15702 (special_real_inputs): Add pi/4.
15703 * sysdeps/i386/fpu/libm-test-ulps: Update.
15704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15706 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15708 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
15709 "longjmp_target" static probes.
15710 (__longjmp): Rename to __longjmp_symbol.
15711 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
15712 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
15713 on which longjmp to generate.
15714 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
15715 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
15717 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15718 (__sigjmp_save): Rename to __sigjmp_save_symbol.
15719 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15720 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
15721 and __sigjmp_save_symbol based on which sigsetjmp to generated.
15722 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
15723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
15724 __longjmp_symbol based on which __longjmp to generate.
15725 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
15727 (setjmp): Rename to setjmp_symbol.
15728 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15729 (_setjmp): Rename to _setjmp_symbol.
15730 (__sigsetjmp): Rename to __sigsetjmp_symbol.
15731 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
15732 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
15733 which setjmp to generate.
15734 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
15735 "longjmp_target" static probes.
15737 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15739 * benchtests/README: Add note about output arguments.
15740 * benchtests/bench-sincos.c: Remove file.
15741 * benchtests/sincos-inputs: New file.
15742 * scripts/bench.pl: Identify output arguments and define
15743 static variables for them.
15745 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
15748 * Makefile (INSTALL): Add install-plain.texi as the primary
15750 * manual/install-plain.texi: New file.
15751 * manual/install.texi: Include node directive only for
15752 non-plaintext output.
15754 2013-12-04 Joseph Myers <joseph@codesourcery.com>
15756 * stdlib/longlong.h: Update from GCC.
15760 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
15761 * math/w_j0f.c (y0f): Likewise.
15762 * math/w_j0l.c (__y0l): Likewise.
15763 * math/w_j1.c (y1): Likewise.
15764 * math/w_j1f.c (y1f): Likewise.
15765 * math/w_j1l.c (__y1l): Likewise
15766 * math/w_jn.c (yn): Likewise.
15767 * math/w_jnf.c (ynf): Likewise.
15768 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
15769 Bessel function pole errors in _POSIX_ mode. Use NAN as return
15770 value for Bessel function domain errors outside _SVID_ mode.
15771 Adjust sign of return value for yn (negative integer, 0).
15772 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
15773 by zero in return for negative x and set sign appropriately for
15775 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
15776 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
15777 * math/libm-test.inc (y0_test_data): Add more tests and adjust
15778 expectations in error cases.
15779 (y1_test_data): Likewise.
15780 (yn_test_data): Likewise.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15784 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15786 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
15787 "64" to "64-v1". Add "64-v2".
15788 (abi-64-options): Rename to ...
15789 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
15790 (abi-64-condition): Rename to ...
15791 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
15792 (abi-64-ld-soname): Rename to ...
15793 (abi-64-v1-ld-soname): ... this.
15794 (abi-64-v2-options): Define.
15795 (abi-64-v2-condition): Likewise.
15796 (abi-64-v2-ld-soname): Likewise.
15797 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
15798 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
15799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
15800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
15801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
15803 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15804 Alan Modra <amodra@gmail.com>
15806 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
15807 New versions for use with the ELFv2 ABI.
15808 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
15809 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
15811 (struct La_ppc64v2_retval): Likewise.
15812 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
15813 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
15814 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
15815 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
15816 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
15817 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15818 Do not save or restore CR.
15819 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
15820 (_dl_profile_resolve): Do no save or restore CR. Support extended
15821 return values for ELFv2 ABI. Fix location of FPR return registers.
15822 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
15823 updated values for _CALL_ELF == 2.
15824 (La_regs, La_retval, int_retval): Likewise.
15826 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15828 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
15829 (FRAME_MIN_SIZE_PARM): Likewise.
15830 (FRAME_BACKCHAIN): Likewise.
15831 (FRAME_CR_SAVE): Likewise.
15832 (FRAME_LR_SAVE): Likewise.
15833 (FRAME_TOC_SAVE): Likewise.
15834 (FRAME_PARM_SAVE): Likewise.
15835 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
15836 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
15837 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15838 (call_mcount_parm_offset): New macro.
15839 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
15840 (PROF): Use symbolic stack frame offsets.
15841 (TAIL_CALL_SYSCALL_ERROR): Likewise.
15842 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
15843 Redefine in terms of FRAME_MIN_SIZE.
15844 (_dl_runtime_resolve): Use symbolic stack frame offsets.
15845 (_dl_profile_resolve): Likewise. Update comment.
15846 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
15847 symbols stack frame offsets.
15848 (__sigsetjmp): Likewise.
15849 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
15850 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
15851 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
15852 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
15855 (FRAME_BACKCHAIN): Remove.
15856 (FRAME_CR_SAVE): Likewise.
15857 (FRAME_LR_SAVE): Likewise.
15858 (FRAME_COMPILER_DW): Likewise.
15859 (FRAME_LINKER_DW): Likewise.
15860 (FRAME_TOC_SAVE): Likewise.
15861 (FRAME_PARM_SAVE): Likewise.
15862 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
15863 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
15864 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
15866 (CHECK_SP): Use symbolic stack frame offsets.
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
15868 zone" instead of caller's parameter save area for temp storage.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15870 Likewise. Also, use symbolic stack frame offsets.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
15872 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
15873 our own stack frame instead of the caller's.
15874 (__socket): Use symbolic stack frame offsets.
15876 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15877 Alan Modra <amodra@gmail.com>
15879 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
15881 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
15882 (PPC64_LOCAL_ENTRY_OFFSET): Define.
15883 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
15885 (elf_machine_fixup_plt): Call it.
15886 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
15888 (elf_machine_rela): Update call to elf_machine_plt_conflict.
15889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15890 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
15891 r2 before calling target.
15893 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15894 Alan Modra <amodra@gmail.com>
15896 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
15897 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
15898 versions of macros to support ELFv2 ABI.
15899 (LOCALENTRY): New macro.
15900 (ENTRY, EALIGN): Use it.
15901 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
15902 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
15903 fall through into ENTRY entry point.
15904 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
15905 Only define if _CALL_ELF != 2.
15907 (elf_machine_matches_host): Verify ABI version matches.
15908 (RTLD_START): Use LOCALENTRY.
15909 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
15910 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
15911 (PLT_ENTRY_WORDS): New macro.
15912 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
15913 (elf_machine_runtime_setup): Support ELFv2 ABI.
15914 (elf_machine_fixup_plt): Likewise.
15915 (elf_machine_plt_conflict): Likewise.
15916 (resolve_ifunc): Likewise.
15917 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15918 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
15921 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15923 (makecontext): Support ELFv2 ABI.
15924 * elf/elf.h (EF_PPC64_ABI): Define.
15926 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15928 * sysdeps/powerpc/powerpc64/sysdep.h
15929 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
15930 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
15931 (ENTRY) [ASSEMBLER]: ... but instead here ...
15932 (EALIGN) [ASSEMBLER]: ... and here.
15933 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
15934 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
15935 (ENTRY_2) [!ASSEMBLER]: Use it.
15936 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
15937 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
15938 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
15939 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
15940 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
15942 Use PPC64_LOAD_FUNCPTR.
15944 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
15946 2013-12-04 Alan Modra <amodra@gmail.com>
15948 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
15949 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
15950 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
15951 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
15953 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
15954 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
15955 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
15956 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
15957 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
15958 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
15960 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15963 (__makecontext): Fix incorrect CFI when backtracing out of
15964 context created via makecontext.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
15966 (__setcontext): Fix incorrect CFI during switch to new context.
15967 (__novec_setcontext): Likewise.
15969 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15972 * time/strptime_l.c (__strptime_internal): Allow modifiers
15974 * time/tst-strptime.c (day_tests): Add testcase.
15976 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15978 * scripts/bench.pl: Skip over blank lines.
15980 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
15983 * manual/time.texi (Calendar Time): Clarify what timezone functions
15986 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15988 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15990 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
15992 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
15994 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15995 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15996 * debug/memset_chk.c (__memset_chk): Likewise.
15997 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
15998 * debug/strncpy_chk.c: Likewise.
16000 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16004 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16005 (__ieee754_exp): For possibly underflowing results, check size of
16006 result and force underflow exception if required.
16007 * math/auto-libm-test-in: Add more tests of exp.
16008 * math/auto-libm-test-out: Regenerated.
16009 * sysdeps/i386/fpu/libm-test-ulps: Update.
16010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16013 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16014 * math/w_exp2f.c (__exp2f): Likewise.
16015 * math/w_exp2l.c (__exp2l): Likewise.
16016 * math/auto-libm-test-in: Do not allow missing errno on exp2
16018 * math/auto-libm-test-out: Regenerated.
16020 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
16023 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16024 handle filename validation.
16025 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16028 2013-12-03 Joseph Myers <joseph@codesourcery.com>
16031 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16032 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16033 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16035 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16036 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16037 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16038 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16039 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16041 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16042 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16043 Add more erfc tests.
16044 * math/auto-libm-test-out: Regenerated.
16045 * sysdeps/i386/fpu/libm-test-ulps: Update.
16046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16048 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16049 exp2, expm1, j0 and j1.
16050 * math/auto-libm-test-out: Regenerated.
16051 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16052 (erfc_test_data): Likewise.
16053 (exp_test_data): Likewise.
16054 (exp_tonearest_test_data): Likewise.
16055 (exp_towardzero_test_data): Likewise.
16056 (exp_downward_test_data): Likewise.
16057 (exp_upward_test_data): Likewise.
16058 (exp10_test_data): Likewise.
16059 (exp2_test_data): Likewise.
16060 (expm1_test_data): Likewise.
16061 (j0_test_data): Likewise.
16062 (j1_test_data): Likewise.
16063 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16064 (input_flag_type): Add flag_xfail_rounding.
16065 (input_flags): Add xfail-rounding.
16066 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16067 (output_for_one_input_case): Handle flag_xfail_rounding.
16068 * sysdeps/i386/fpu/libm-test-ulps: Update.
16069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16071 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16074 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16077 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16080 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16081 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16082 (STAP_PROBE0): New macro.
16083 (STAP_PROBE1): Likewise.
16084 (STAP_PROBE2): Likewise.
16085 (STAP_PROBE3): Likewise.
16086 (STAP_PROBE4): Likewise.
16088 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
16090 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16092 2013-12-02 Steve Ellcey <sellcey@mips.com>
16094 * benchtests/Makefile (bench): Add sqrt.
16095 (LDLIBS-bench-sqrt): New.
16096 * benchtests/sqrt-input: New.
16098 2013-12-02 Pavel Simerda <psimerda@redhat.com>
16100 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16101 (GAIH_EAI): Likewise.
16102 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16103 (gaih_inet): Likewise.
16104 (getaddrinfo): Don't use GAIH_EAI.
16106 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16107 (struct gaih): Remove definition.
16109 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16111 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16112 Use HERRNOP directly.
16114 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16118 2013-11-30 Joseph Myers <joseph@codesourcery.com>
16120 * math/gen-auto-libm-tests.c (test_functions): Add more
16121 single-argument functions.
16122 (special_fill_pi_2): New function.
16123 (special_fill_minus_pi_2): Likewise.
16124 (special_fill_pi_6): Likewise.
16125 (special_fill_minus_pi_6): Likewise.
16126 (special_fill_pi_3): Likewise.
16127 (special_fill_2pi_3): Likewise.
16128 (special_fill_e): Likewise.
16129 (special_fill_1_e): Likewise.
16130 (special_fill_e_minus_1): Likewise.
16131 (special_real_inputs): Add more special inputs.
16132 (output_for_one_input_case): Do not require ERANGE on underflow to
16133 zero if round-to-nearest result does not underflow to zero, unless
16134 exact results required.
16135 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16136 atan, atanh, cbrt, cos and cosh.
16137 * math/auto-libm-test-out: Regenerated.
16138 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16139 (acos_tonearest_test_data): Likewise.
16140 (acos_towardzero_test_data): Likewise.
16141 (acos_downward_test_data): Likewise.
16142 (acos_upward_test_data): Likewise.
16143 (acosh_test_data): Likewise.
16144 (asin_test_data): Likewise.
16145 (asin_tonearest_test_data): Likewise.
16146 (asin_towardzero_test_data): Likewise.
16147 (asin_upward_test_data): Likewise.
16148 (asinh_test_data): Likewise.
16149 (atan_test_data): Likewise.
16150 (atanh_test_data): Likewise.
16151 (cbrt_test_data): Likewise.
16152 (cos_test_data): Likewise.
16153 (cos_tonearest_test_data): Likewise.
16154 (cos_towardzero_test_data): Likewise.
16155 (cos_downward_test_data): Likewise.
16156 (cos_upward_test_data): Likewise.
16157 (cosh_test_data): Likewise.
16158 (cosh_tonearest_test_data): Likewise.
16159 (cosh_towardzero_test_data): Likewise.
16160 (cosh_downward_test_data): Likewise.
16161 (cosh_upward_test_data): Likewise.
16162 * sysdeps/i386/fpu/libm-test-ulps: Update.
16163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16165 2013-11-29 Joseph Myers <joseph@codesourcery.com>
16168 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16169 * math/w_exp10f.c (__exp10f): Likewise.
16170 * math/w_exp10l.c (__exp10l): Likewise.
16171 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16172 errno settings in existing tests.
16175 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16176 precision control set to double precision.
16177 * sysdeps/i386/fpu/w_sqrt.c: New file.
16178 * math/auto-libm-test-in: Add more tests.
16179 * math/auto-libm-test-out: Update.
16181 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16182 (sqrt_test_tonearest): New function.
16183 (sqrt_towardzero_test_data): New variable.
16184 (sqrt_test_towardzero): New function.
16185 (sqrt_downward_test_data): New variable.
16186 (sqrt_test_downward): New function.
16187 (sqrt_upward_test_data): New variable.
16188 (sqrt_test_upward): New function.
16189 (main): Call the new functions.
16191 * math/gen-auto-libm-tests.c: New file.
16192 * math/auto-libm-test-in: Likewise.
16193 * math/auto-libm-test-out: New generated file.
16194 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16196 (%beautify): Add generated representations of zero.
16197 (top level): Set $auto_input and call parse_auto_input.
16198 (beautify): Remove trailing "f" from hex float constants.
16199 (parse_args): Handle XFAIL_TEST.
16200 (convert_condition): New function.
16201 (or_value): Likewise.
16202 (or_cond_value): Likewise.
16203 (generate_testfile): Handle AUTO_TESTS_* lines.
16204 (parse_auto_input): New function.
16205 * math/libm-test.inc (XFAIL_TEST): New macro.
16206 (ERRNO_UNCHANGED): Update value.
16207 (ERRNO_EDOM): Likewise.
16208 (ERRNO_ERANGE): Likewise.
16209 (IGNORE_RESULT): Likewise.
16210 (TEST_COND_flt_32): New macro.
16211 (TEST_COND_dbl_64): Likewise.
16212 (TEST_COND_ldbl_96_intel): Likewise.
16213 (TEST_COND_ldbl_96_m68k): Likewise.
16214 (TEST_COND_ldbl_128): Likewise.
16215 (TEST_COND_ldbl_128ibm): Likewise.
16216 (TEST_COND_long32): Likewise.
16217 (TEST_COND_long64): Likewise.
16218 (TEST_COND_before_rounding): Likewise.
16219 (TEST_COND_after_rounding): Likewise.
16220 (enable_test): Handle XFAIL_TEST flag.
16221 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16222 with finite results.
16223 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16224 auto-libm-test-out.
16226 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16227 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16230 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16231 __tls_get_addr_internal instead of __tls_get_offset in order to
16232 avoid GOT pointer dependency. Make rtld export
16233 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16234 __tls_get_addr since we are a __tls_get_offset platform.
16235 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16236 GOT pointer being set up before.
16237 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16239 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16241 * manual/math.texi (Errors in Math Functions): Document accuracy
16245 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16246 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16247 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16248 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16249 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16250 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16251 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16252 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16255 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16256 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16257 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16260 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16262 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16263 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16264 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16265 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16266 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16268 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16270 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16272 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16273 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16274 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16275 atomic-feupdateenv and flt-rounds.
16276 * sysdeps/powerpc/nofpu/Versions (libc): Add
16277 __atomic_feholdexcept, __atomic_feclearexcept,
16278 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16279 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16280 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16281 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16282 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16287 * manual/arith.texi (FP Exceptions): Document that exceptions may
16288 not be raised when matherr is used.
16289 (Math Error Reporting): Document overflow in directed rounding
16290 modes. Document that errno may not be set when finite values are
16291 returned on overflow. Document intent to set errno on underflow
16292 only for underflow to zero.
16295 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
16296 round-to-nearest then adjust result for other rounding modes.
16297 * include/fenv.h (fegetround): Use libm_hidden_proto.
16298 * math/fegetround.c (fegetround): Use libm_hidden_def.
16299 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16300 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16301 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16302 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16304 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
16305 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16306 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16307 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
16309 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16312 * nss/Versions (libnss_files): Add
16313 _nss_files_gethostbyname3_r.
16314 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
16316 (HOST_DB_LOOKUP): Remove macro.
16317 (_nss_files_gethostbyname_r): Implement function without the
16318 HOST_DB_LOOKUP macro.
16319 (_nss_files_gethostbyname2_r): Likewise.
16321 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
16323 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
16325 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
16327 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
16328 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
16331 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16333 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
16334 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
16335 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16336 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16337 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
16338 __fe_nomask_env_priv and attribute_hidden.
16339 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
16340 (libc_feupdateenv_test_ppc): Likewise.
16341 (libc_feresetround_ppc): Likewise.
16342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16343 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
16344 compat_symbol macro.
16345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16346 (__fe_nomask_env): Likewise.
16347 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
16349 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16351 * string/Makefile: Remove ifunc tests.
16352 * string/test-string.h: Define TEST_IFUNC.
16353 * string/test-bcopy-ifunc.c: Remove.
16354 * string/test-bzero-ifunc.c: Likewise.
16355 * string/test-memccpy-ifunc.c: Likewise.
16356 * string/test-memchr-ifunc.c: Likewise.
16357 * string/test-memcmp-ifunc.c: Likewise.
16358 * string/test-memcpy-ifunc.c: Likewise.
16359 * string/test-memmem-ifunc.c: Likewise.
16360 * string/test-memmove-ifunc.c: Likewise.
16361 * string/test-mempcpy-ifunc.c: Likewise.
16362 * string/test-memrchr-ifunc.c: Likewise.
16363 * string/test-memset-ifunc.c: Likewise.
16364 * string/test-rawmemchr-ifunc.c: Likewise.
16365 * string/test-stpcpy-ifunc.c: Likewise.
16366 * string/test-stpncpy-ifunc.c: Likewise.
16367 * string/test-strcasecmp-ifunc.c: Likewise.
16368 * string/test-strcasestr-ifunc.c: Likewise.
16369 * string/test-strcat-ifunc.c: Likewise.
16370 * string/test-strchr-ifunc.c: Likewise.
16371 * string/test-strchrnul-ifunc.c: Likewise.
16372 * string/test-strcmp-ifunc.c: Likewise.
16373 * string/test-strcpy-ifunc.c: Likewise.
16374 * string/test-strcspn-ifunc.c: Likewise.
16375 * string/test-strlen-ifunc.c: Likewise.
16376 * string/test-strncasecmp-ifunc.c: Likewise.
16377 * string/test-strncat-ifunc.c: Likewise.
16378 * string/test-strncmp-ifunc.c: Likewise.
16379 * string/test-strncpy-ifunc.c: Likewise.
16380 * string/test-strnlen-ifunc.c: Likewise.
16381 * string/test-strpbrk-ifunc.c: Likewise.
16382 * string/test-strrchr-ifunc.c: Likewise.
16383 * string/test-strspn-ifunc.c: Likewise.
16384 * string/test-strstr-ifunc.c: Likewise.
16386 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16388 * benchtests/Makefile: Remove ifunc tests.
16389 * benchtests/bench-string.h: Define TEST_IFUNC.
16390 * benchtests/bench-bcopy-ifunc.c: Remove.
16391 * benchtests/bench-bzero-ifunc.c: Likewise.
16392 * benchtests/bench-memccpy-ifunc.c: Likewise.
16393 * benchtests/bench-memchr-ifunc.c: Likewise.
16394 * benchtests/bench-memcmp-ifunc.c: Likewise.
16395 * benchtests/bench-memcpy-ifunc.c: Likewise.
16396 * benchtests/bench-memmem-ifunc.c: Likewise.
16397 * benchtests/bench-memmove-ifunc.c: Likewise.
16398 * benchtests/bench-mempcpy-ifunc.c: Likewise.
16399 * benchtests/bench-memrchr-ifunc.c: Likewise.
16400 * benchtests/bench-memset-ifunc.c: Likewise.
16401 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
16402 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
16403 * benchtests/bench-stpcpy-ifunc.c: Likewise.
16404 * benchtests/bench-stpncpy-ifunc.c: Likewise.
16405 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
16406 * benchtests/bench-strcasestr-ifunc.c: Likewise.
16407 * benchtests/bench-strcat-ifunc.c: Likewise.
16408 * benchtests/bench-strchr-ifunc.c: Likewise.
16409 * benchtests/bench-strchrnul-ifunc.c: Likewise.
16410 * benchtests/bench-strcmp-ifunc.c: Likewise.
16411 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
16412 * benchtests/bench-strcpy-ifunc.c: Likewise.
16413 * benchtests/bench-strcspn-ifunc.c: Likewise.
16414 * benchtests/bench-strlen-ifunc.c: Likewise.
16415 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
16416 * benchtests/bench-strncat-ifunc.c: Likewise.
16417 * benchtests/bench-strncmp-ifunc.c: Likewise.
16418 * benchtests/bench-strncpy-ifunc.c: Likewise.
16419 * benchtests/bench-strnlen-ifunc.c: Likewise.
16420 * benchtests/bench-strpbrk-ifunc.c: Likewise.
16421 * benchtests/bench-strrchr-ifunc.c: Likewise.
16422 * benchtests/bench-strsep-ifunc.c: Likewise.
16423 * benchtests/bench-strspn-ifunc.c: Likewise.
16424 * benchtests/bench-strstr-ifunc.c: Likewise.
16426 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16428 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
16430 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
16432 * resolv/netdb.h: Use __glibc_reserved instead __unused.
16433 * rt/aio.h: Likewise.
16434 * sysdeps/gnu/bits/utmp.h: Likewise.
16435 * sysdeps/gnu/bits/utmpx.h: Likewise.
16436 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16437 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
16438 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
16439 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
16440 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
16441 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
16442 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
16443 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
16444 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
16445 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
16446 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
16447 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
16448 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
16450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16451 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
16452 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
16453 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
16454 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
16455 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
16456 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
16457 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
16458 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
16459 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16460 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
16461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
16463 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
16464 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
16465 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
16466 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
16467 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
16468 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
16469 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
16470 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
16471 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
16472 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
16473 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
16474 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
16475 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
16476 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
16477 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
16479 2013-11-25 Carlos O'Donell <carlos@redhat.com>
16482 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
16483 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
16485 2013-11-25 Joseph Myers <joseph@codesourcery.com>
16487 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
16488 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16491 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16493 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
16494 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
16495 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
16496 (__fesetround): Remove define.
16497 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
16498 rounding and exceptions handling.
16499 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
16500 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
16501 (__fe_nomask_env): Likewise.
16502 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
16503 __fegetround instead of fegetround.
16504 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16505 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
16507 2013-11-21 Roland McGrath <roland@hack.frob.com>
16509 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
16512 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
16514 2013-11-21 Meador Inge <meadori@codesourcery.com>
16517 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
16518 (encrypt_r): Likewise.
16519 * malloc/obstack.h (obstack_free): Likewise.
16520 * posix/unistd.h (encrypt): Likewise.
16522 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
16524 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16525 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
16526 DL_CALL_DT_FINI() that call the functions directly.
16527 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
16528 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
16529 * elf/dl-fini.c: Likewise.
16531 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
16533 * malloc/hooks.c (memalign_check): Add alignment rounding.
16534 * malloc/malloc.c (_mid_memalign): New function.
16535 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
16536 Implement by calling _mid_memalign.
16537 * manual/probes.texi (Memory Allocation Probes): Remove
16538 memory_valloc_retry and memory_pvalloc_retry.
16540 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16542 * locale/programs/locarchive.c (open_archive): Add const
16543 qualifier to ARCHIVEFNAME and copy default fname to
16547 * libio/tst-widetext.input: Rename Oriya to Odia.
16548 * locale/iso-639.def: Likewise.
16550 * manual/probes.texi (Mathematical Function Probes): Add
16551 documentation for sin, cos, asin and acos probes.
16552 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
16553 (__sin32): Add slowasin probe.
16554 (__cos32): Add slowacos probe.
16555 (__mpsin): Add slowsin probe.
16556 (__mpcos): Add slowcos probe.
16558 2013-11-19 Joseph Myers <joseph@codesourcery.com>
16561 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
16562 thread-local __sim_exceptions_thread and global
16563 __sim_exceptions_global.
16564 (__sim_disabled_exceptions): Change to thread-local
16565 __sim_disabled_exceptions_thread and global
16566 __sim_disabled_exceptions_global.
16567 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16568 and global __sim_round_mode_global.
16569 (__simulate_exceptions): Use thread-local floating-point state and
16570 set global state from it as needed.
16571 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
16572 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
16573 __sim_round_mode_thread.
16574 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
16575 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
16576 and global __sim_exceptions_global.
16577 (__sim_disabled_exceptions): Change to thread-local
16578 __sim_disabled_exceptions_thread and global
16579 __sim_disabled_exceptions_global.
16580 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
16581 and global __sim_round_mode_global.
16582 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
16583 (SIM_SET_GLOBAL): Likewise.
16584 * sysdeps/powerpc/soft-fp/sfp-machine.h
16585 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
16586 __sim_round_mode_thread.
16587 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
16588 __sim_disabled_exceptions_thread.
16589 (__sim_exceptions): Change to __sim_exceptions_thread.
16590 (__sim_disabled_exceptions): Change to
16591 __sim_disabled_exceptions_thread.
16592 (__sim_round_mode): Change to __sim_round_mode_thread.
16593 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
16594 thread-local floating-point state and set global state from it as
16596 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
16597 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
16598 (__sim_disabled_exceptions): Remove extern declaration.
16599 (feenableexcept): Use thread-local floating-point state and set
16600 global state from it as needed.
16601 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
16602 extern declaration.
16603 (__sim_disabled_exceptions): Likewise.
16604 (__sim_round_mode): Likewise.
16605 (__fegetenv): Use thread-local floating-point state.
16606 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
16607 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
16608 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
16609 floating-point state and set global state from it as needed.
16610 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
16611 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16612 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
16614 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16615 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
16617 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
16618 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
16619 Use __sim_round_mode_thread.
16620 * math/test-fenv-tls.c: New file.
16621 * math/Makefile (tests): Add test-fenv-tls.
16622 ($(objpfx)test-fenv-tls): Depend on
16623 $(common-objpfx)nptl/libpthread.so.
16625 2013-11-19 Andreas Schwab <schwab@suse.de>
16627 * locale/programs/locale.c (show_info): Decode wordarray elements.
16628 * locale/categories.def (LC_MONETARY): Add element for
16629 _NL_MONETARY_CRNCYSTR.
16630 * locale/C-monetary.c (conversion_rate): New variable.
16631 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
16634 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
16636 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
16637 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
16639 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16641 * elf/Makefile (tst-auxv): New test.
16642 * elf/tst-auxv.c: New
16643 * elf/rtld.c (dl_main): Adjust AT_EXECFN
16645 2013-11-18 Joseph Myers <joseph@codesourcery.com>
16647 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
16648 (hidden_proto): Caller changed.
16649 (hidden_tls_proto): New macro.
16650 (libc_hidden_tls_proto): Likewise.
16651 (rtld_hidden_tls_proto): Likewise.
16652 (libm_hidden_tls_proto): Likewise.
16653 (libresolv_hidden_tls_proto): Likewise.
16654 (librt_hidden_tls_proto): Likewise.
16655 (libdl_hidden_tls_proto): Likewise.
16656 (libnss_files_hidden_tls_proto): Likewise.
16657 (libnsl_hidden_tls_proto): Likewise.
16658 (libnss_nisplus_hidden_tls_proto): Likewise.
16659 (libutil_hidden_tls_proto): Likewise.
16661 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
16664 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
16665 (decompose_rpath): Defer expansion to fillin_rpath.
16666 (_dl_init_paths): Pass linkmap to fillin_rpath.
16668 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16670 * benchtests/Makefile: Add strsep.
16671 * benchtests/bench-strsep.c: New file: strsep benchtest.
16672 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
16674 2013-11-18 Andreas Schwab <schwab@suse.de>
16676 * locale/programs/locale.c (show_info) [case byte]: Check for
16677 '\377' instead of '\177'.
16678 * locale/C-monetary.c (not_available): Always use "\377".
16679 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
16680 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
16681 detect unavailable sign_posn locale elements.
16682 * locale/localeconv.c (__localeconv): For grouping and
16683 mon_grouping handle "\177" and "\377" like no grouping.
16684 (INT_ELEM): New macro. Use it to set all numeric members.
16685 * locale/programs/ld-monetary.c (monetary_read)
16686 <tok_mon_grouping>: Normalize single -1 to the empty string.
16687 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
16690 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
16694 when we match (nil).
16695 * stdio-common/tst-sscanf.c (struct test): Add testcase.
16697 2013-11-16 Joseph Myers <joseph@codesourcery.com>
16699 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
16700 (NO_TEST_INLINE): Update value.
16701 (ERRNO_UNCHANGED): Likewise.
16702 (ERRNO_EDOM): Likewise.
16703 (ERRNO_ERANGE): Likewise.
16704 (IGNORE_RESULT): Likewise.
16705 (check_float_internal): Check signs of NaN results if
16706 TEST_NAN_SIGN used.
16707 (check_complex): Pass TEST_NAN_SIGN flag through to second
16708 check_float_internal call.
16709 (copysign_test_data): Add tests with quiet NaNs as second
16710 argument. Use TEST_NAN_SIGN.
16711 (fabs_test_data): Add test of negative quiet NaN argument. Use
16713 (signbit_test_data): Add tests of quiet NaN argument.
16714 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
16716 * math/gen-libm-test.pl (show_exceptions): Take extra argument
16718 (parse_args): Handle function results specified as IGNORE.
16719 * math/libm-test.inc (IGNORE_RESULT): New macro.
16720 (check_float_internal): Do not check numerical result if flag
16722 (check_complex): Pass through IGNORE_RESULT to second
16723 check_float_internal call.
16724 (check_int): Do not check numerical result if flag IGNORE_RESULT
16726 (check_long): Likewise.
16727 (check_bool): Likewise.
16728 (check_longlong): Likewise.
16729 (lrint_test_data): Add tests of infinite and NaN arguments.
16730 (lrint_tonearest_test_data): Likewise.
16731 (lrint_towardzero_test_data): Likewise.
16732 (lrint_downward_test_data): Likewise.
16733 (lrint_upward_test_data): Likewise.
16734 (llrint_test_data): Likewise.
16735 (llrint_tonearest_test_data): Likewise.
16736 (llrint_towardzero_test_data): Likewise.
16737 (llrint_downward_test_data): Likewise.
16738 (llrint_upward_test_data): Likewise.
16739 (lround_test_data): Likewise.
16740 (llround_test_data): Likewise.
16742 * math/libm-test.inc (NO_TEST_INLINE): New macro.
16743 (ERRNO_UNCHANGED): Update value.
16744 (ERRNO_EDOM): Likewise.
16745 (ERRNO_ERANGE): Likewise.
16746 (NO_TEST_INLINE_FLOAT): New macro.
16747 (NO_TEST_INLINE_DOUBLE): Likewise.
16748 (enable_test): New function.
16749 (RUN_TEST_f_f): Check enable_test before running test.
16750 (RUN_TEST_2_f): Likewise.
16751 (RUN_TEST_fff_f): Likewise.
16752 (RUN_TEST_c_f): Likewise.
16753 (RUN_TEST_f_f1): Likewise.
16754 (RUN_TEST_fF_f1): Likewise.
16755 (RUN_TEST_fI_f1): Likewise.
16756 (RUN_TEST_ffI_f1): Likewise.
16757 (RUN_TEST_c_c): Likewise.
16758 (RUN_TEST_cc_c): Likewise.
16759 (RUN_TEST_f_i): Likewise.
16760 (RUN_TEST_f_i_tg): Likewise.
16761 (RUN_TEST_ff_i_tg): Likewise.
16762 (RUN_TEST_f_b): Likewise.
16763 (RUN_TEST_f_b_tg): Likewise.
16764 (RUN_TEST_f_l): Likewise.
16765 (RUN_TEST_f_L): Likewise.
16766 (RUN_TEST_fFF_11): Likewise.
16767 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
16769 (cosh_test_data): Likewise.
16770 (exp_test_data): Likewise.
16771 (expm1_test_data): Likewise.
16772 (hypot_test_data): Likewise.
16773 (pow_test_data): Likewise.
16774 (sinh_test_data): Likewise.
16775 (tanh_test_data): Likewise.
16776 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
16779 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
16780 tests with quiet NaN input and output.
16781 (acosh_test_data): Likewise.
16782 (asin_test_data): Likewise.
16783 (asinh_test_data): Likewise.
16784 (atan_test_data): Likewise.
16785 (atanh_test_data): Likewise.
16786 (atan2_test_data): Likewise.
16787 (cbrt_test_data): Likewise.
16788 (cos_test_data): Likewise.
16789 (cosh_test_data): Likewise.
16790 (erf_test_data): Likewise.
16791 (erfc_test_data): Likewise.
16792 (exp_test_data): Likewise.
16793 (exp10_test_data): Likewise.
16794 (exp2_test_data): Likewise.
16795 (expm1_test_data): Likewise.
16796 (hypot_test_data): Likewise.
16797 (j0_test_data): Likewise.
16798 (j1_test_data): Likewise.
16799 (jn_test_data): Likewise.
16800 (lgamma_test_data): Likewise.
16801 (log_test_data): Likewise.
16802 (log10_test_data): Likewise.
16803 (log1p_test_data): Likewise.
16804 (log2_test_data): Likewise.
16805 (pow_test_data): Likewise.
16806 (scalb_test_data): Likewise.
16807 (sin_test_data): Likewise.
16808 (sincos_test_data): Likewise.
16809 (sinh_test_data): Likewise.
16810 (tan_test_data): Likewise.
16811 (tanh_test_data): Likewise.
16812 (tgamma_test_data): Likewise.
16813 (y0_test_data): Likewise.
16814 (y1_test_data): Likewise.
16815 (yn_test_data): Likewise.
16818 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
16819 argument being NaN and avoid computations with second argument in
16821 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16822 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
16823 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16825 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
16827 * locale/iso-639.def: Add Chitwani Tharu (the).
16829 2013-11-14 Andreas Schwab <schwab@suse.de>
16831 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
16832 word instead of empty string.
16834 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16837 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16839 (__fe_nomask_env): Likewise.
16841 2013-11-13 Steve Ellcey <sellcey@mips.com>
16843 * benchtests/bench-timing.h: Include time.h.
16845 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
16848 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16850 * sysdeps/unix/sysv/linux/configure: Regenerated.
16852 2013-11-13 Joseph Myers <joseph@codesourcery.com>
16855 * stdlib/strtod_l.c (round_and_return): Do not consider
16856 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
16857 exponent one less than half the least subnormal exponent.
16858 * stdlib/test-strtod-round-data: Add more tests.
16859 * stdlib/tst-strtod-round.c (tests): Regenerated.
16861 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16864 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
16865 (__fe_mask_env): Likewise.
16866 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
16867 libm_hidden_proto and add function prototype.
16868 (__fe_mask_env): Add function prototype.
16869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16870 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
16871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16872 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
16873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16874 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
16876 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16878 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
16879 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
16881 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16883 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
16884 of htab_find_slot().
16886 2013-11-11 David S. Miller <davem@davemloft.net>
16889 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
16890 symbol in the non-vis3 case in static builds.
16891 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
16892 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
16893 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
16894 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
16896 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16899 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
16902 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16904 * benchtests/Makefile: Add bench-strtod.
16905 * benchtests/bench-strtod.c: New file: strtod benchtest
16907 2013-11-11 Andreas Schwab <schwab@suse.de>
16910 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
16911 terminating NUL in key length.
16913 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16915 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16916 Add artificial ODP entry for vDSO symbol for PPC64.
16917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
16918 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16920 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
16923 * nss/getent.c (services_keys): Recognize services starting with digit.
16925 2013-11-06 David S. Miller <davem@davemloft.net>
16928 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
16929 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
16931 2013-11-06 Will Newton <will.newton@linaro.org>
16933 * manual/memory.texi (Malloc Examples): Remove register
16934 keyword from examples.
16936 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
16938 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
16940 2013-11-04 Joseph Myers <joseph@codesourcery.com>
16943 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
16944 depending on [__GCC_IEC_559 > 0].
16945 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
16946 depending on [__GCC_IEC_559_COMPLEX > 0].
16948 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
16950 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
16953 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
16955 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
16957 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
16960 * malloc/malloc (malloc_info): Do not handle first bin as
16963 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
16965 * locale/iso-639.def: Add Central Nahuatl (nhn).
16967 2013-11-01 Bruno Haible <bruno@clisp.org>
16970 * manual/math.texi (BSD Random): Specify range upper bound as
16973 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
16975 * locale/iso-639.def: Add Meadow Mari (mhr).
16977 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
16979 [BZ #14752], [BZ #15763]
16980 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
16982 * rt/tst_shm.c: Add test for escaping directory.
16984 2013-10-31 Andreas Schwab <schwab@suse.de>
16987 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
16988 followed by 'x' as part of digit sequence.
16989 * stdio-common/tst-sscanf.c (double_tests2): New tests.
16991 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
16994 * configure.ac: allow GNU Make 4.0 and greater.
16995 * configure: Regenerated.
16997 2013-10-30 Will Newton <will.newton@linaro.org>
17000 * malloc/hooks.c (memalign_check): Limit alignment to the
17001 maximum representable power of two.
17002 * malloc/malloc.c (__libc_memalign): Likewise.
17003 * malloc/tst-memalign.c (do_test): Add test for very
17004 large alignment values.
17005 * malloc/tst-posix_memalign.c (do_test): Likewise.
17007 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17010 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17011 (munmap_chunk): Likewise.
17012 (mremap_chunk): Likewise.
17014 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
17017 * stdlib/div.c (div): Remove obsolete code.
17018 * stdlib/ldiv.c (ldiv): Likewise.
17019 * stdlib/lldiv.c (lldiv): Likewise.
17021 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17024 * nss/nss_files/files-XXX.c (get_contents_ret): New
17026 (get_contents): New function.
17027 (internal_getent): Use it. Expand size of LINEBUFLEN.
17029 2013-10-30 Mike Frysinger <vapier@gentoo.org>
17031 * configure.in: Moved to ...
17032 * configure.ac: ... here. Change reference to configure.in
17034 * sysdeps/arm/preconfigure.ac: ... here.
17035 configure.in to configure.ac.
17036 * sysdeps/gnu/configure.in: Moved to ...
17037 * sysdeps/gnu/configure.ac: ... here.
17038 * sysdeps/i386/configure.in: Moved to ...
17039 * sysdeps/i386/configure.ac: ... here.
17040 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17041 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17042 * sysdeps/mach/configure.in: Moved to ...
17043 * sysdeps/mach/configure.ac: ... here.
17044 * sysdeps/mach/hurd/configure.in: Moved to ...
17045 * sysdeps/mach/hurd/configure.ac: ... here.
17046 * sysdeps/powerpc/configure.in: Moved to ...
17047 * sysdeps/powerpc/configure.ac: ... here.
17048 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17049 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17050 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17051 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17052 * sysdeps/s390/s390-32/configure.in: Moved to ...
17053 * sysdeps/s390/s390-32/configure.ac: ... here.
17054 * sysdeps/s390/s390-64/configure.in: Moved to ...
17055 * sysdeps/s390/s390-64/configure.ac: ... here.
17056 * sysdeps/sh/configure.in: Moved to ...
17057 * sysdeps/sh/configure.ac: ... here.
17058 * sysdeps/sparc/configure.in: Moved to ...
17059 * sysdeps/sparc/configure.ac: ... here.
17060 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17061 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17062 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17063 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17064 * sysdeps/x86_64/configure.in: Moved to ...
17065 * sysdeps/x86_64/configure.ac: ... here.
17066 * sysdeps/x86_64/preconfigure.in: Moved to ...
17067 * sysdeps/x86_64/preconfigure.ac: ... here.
17068 * aclocal.m4: Change reference to configure.in to configure.ac.
17069 * config.h.in: Likewise.
17070 * manual/install.texi: Likewise.
17071 * manual/maint.texi: Likewise.
17072 * Makefile: Likewise.
17073 * malloc/Makefile: Likewise.
17074 * nscd/Makefile: Likewise.
17075 * Makeconfig: Change reference to configure.in and
17076 preconfigure.in to configure.ac and preconfigure.ac
17078 * INSTALL: Regenerated.
17079 * configure: Likewise.
17080 * sysdeps/gnu/configure: Likewise.
17081 * sysdeps/i386/configure: Likewise.
17082 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17083 * sysdeps/mach/configure: Likewise.
17084 * sysdeps/mach/hurd/configure: Likewise.
17085 * sysdeps/powerpc/configure: Likewise.
17086 * sysdeps/powerpc/powerpc32/configure: Likewise.
17087 * sysdeps/powerpc/powerpc64/configure: Likewise.
17088 * sysdeps/s390/s390-32/configure: Likewise.
17089 * sysdeps/s390/s390-64/configure: Likewise.
17090 * sysdeps/sh/configure: Likewise.
17091 * sysdeps/sparc/configure: Likewise.
17092 * sysdeps/unix/sysv/linux/configure: Likewise.
17093 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17094 * sysdeps/x86_64/configure: Likewise.
17095 * sysdeps/x86_64/preconfigure: Likewise.
17097 2013-10-29 Andreas Schwab <schwab@suse.de>
17099 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17101 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17103 * benchtests/pow-inputs: Add new inputs.
17105 * benchtests/exp-inputs: Add new inputs.
17107 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17108 conditional check for return value.
17109 (__cos32): Likewise.
17111 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17113 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17114 to provide a boost for large inputs with word alignment.
17115 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17116 implementation based on optimized PPC64 strcpy.
17117 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17118 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17119 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17120 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17122 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17125 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17127 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17130 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17131 * time/tst-strptime.c (day_tests): Add testcase.
17133 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
17136 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17138 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17141 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17142 MAP_FAILED on error.
17144 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17147 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17148 heap for large requests.
17150 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17153 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17154 result if the result has no associated interface.
17155 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17156 interface for all 127.X.Y.Z addresses.
17158 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
17160 * locale/iso-639.def: Add Ligurian (lij)
17162 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
17165 * sunrpc/rpc_main.c: Document rpcgen -5.
17167 2013-10-19 Michael Stahl <mstahl@redhat.com>
17169 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17171 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17174 * posix/glob.c: Match only directories when trailing slash is present.
17175 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17176 (main): Add testcase.
17178 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
17181 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17183 2013-10-18 Carlos O'Donell <carlos@redhat.com>
17185 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17186 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17187 AUTH_DES and cindex for FIPS 140-2.
17188 (DES Encryption): Add cindex FIPS 46-3.
17190 * locale/locarchive.h (struct locarhandle): Add fname.
17191 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17192 if an optional argument was specified to --list-archive,
17194 * locale/programs/locarchive.c (show_archive_content): Take new
17195 argument fname and pass it via ah.fname to open_archive.
17196 * locale/programs/localedef.h: Update decl.
17197 (open_archive): If AH->fname is non-null, open that file
17198 rather than the default file name, and don't ignore ENOENT.
17199 (create_archive): Set AH.fname to NULL.
17200 (delete_locales_from_archive): Likewise.
17201 (add_locales_to_archive): Likewise.
17202 * locale/programs/locfile.c (write_all_categories): Likewise.
17204 2013-10-18 Joseph Myers <joseph@codesourcery.com>
17205 Aldy Hernandez <aldyh@redhat.com>
17207 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17208 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17209 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17210 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17211 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17212 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17213 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17214 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17215 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17216 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17217 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17218 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17219 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17220 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17221 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17223 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17225 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17227 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17229 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17230 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17232 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17233 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17234 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17235 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17237 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17238 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17239 * sysdeps/powerpc/preconfigure: Likewise.
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17242 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17243 Replace contents of file by #include of <fenv_libc.h>.
17244 * sysdeps/powerpc/soft-fp/sfp-machine.h
17245 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17247 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17248 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17249 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17250 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17251 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17252 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17254 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17255 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17256 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17257 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17258 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17260 Allow copysignl PLT reference to be missing.
17262 2013-10-18 Richard Sandiford <richard@codesourcery.com>
17263 Joseph Myers <joseph@codesourcery.com
17266 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17268 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17270 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17272 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17273 * elf/tst-tls1.c: Likewise.
17274 * elf/tst-tls10.h: Likewise.
17275 * elf/tst-tls14.c: Likewise.
17276 * elf/tst-tls2.c: Likewise.
17277 * elf/tst-tls3.c: Likewise.
17278 * elf/tst-tls4.c: Likewise.
17279 * elf/tst-tls5.c: Likewise.
17280 * elf/tst-tls6.c: Likewise.
17281 * elf/tst-tls7.c: Likewise.
17282 * elf/tst-tls8.c: Likewise.
17283 * elf/tst-tls9.c: Likewise.
17284 * elf/tst-tlsmod1.c: Likewise.
17285 * elf/tst-tlsmod13.c: Likewise.
17286 * elf/tst-tlsmod13a.c: Likewise.
17287 * elf/tst-tlsmod14a.c: Likewise.
17288 * elf/tst-tlsmod16a.c: Likewise.
17289 * elf/tst-tlsmod16b.c: Likewise.
17290 * elf/tst-tlsmod2.c: Likewise.
17291 * elf/tst-tlsmod3.c: Likewise.
17292 * elf/tst-tlsmod4.c: Likewise.
17293 * elf/tst-tlsmod5.c: Likewise.
17294 * elf/tst-tlsmod6.c: Likewise.
17296 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
17299 * malloc/malloc.c: remove checks for statistics.
17301 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17304 * inet/inet_net.c (inet_network): Detect additional invalid strings.
17305 * inet/tst-network.c: Add testcase.
17307 2013-10-17 Andreas Schwab <schwab@suse.de>
17310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
17311 to determine canonical name.
17313 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
17315 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
17316 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
17317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17318 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17320 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17321 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
17322 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
17324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17327 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17330 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17336 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17338 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
17339 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
17340 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17341 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17342 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
17343 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17344 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
17345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17355 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17356 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17359 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17360 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17361 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17362 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17363 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17364 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17365 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17366 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17367 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17368 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17370 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17372 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17374 2013-10-17 Joseph Myers <joseph@codesourcery.com>
17377 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
17378 make result into a quiet NaN.
17380 2013-10-16 Joseph Myers <joseph@codesourcery.com>
17382 * soft-fp/adddf3.c: Fix horizontal whitespace.
17383 * soft-fp/addsf3.c: Likewise.
17384 * soft-fp/addtf3.c: Likewise.
17385 * soft-fp/divdf3.c: Likewise.
17386 * soft-fp/divsf3.c: Likewise.
17387 * soft-fp/divtf3.c: Likewise.
17388 * soft-fp/double.h: Likewise.
17389 * soft-fp/eqdf2.c: Likewise.
17390 * soft-fp/eqsf2.c: Likewise.
17391 * soft-fp/eqtf2.c: Likewise.
17392 * soft-fp/extenddftf2.c: Likewise.
17393 * soft-fp/extended.h: Likewise.
17394 * soft-fp/extendsfdf2.c: Likewise.
17395 * soft-fp/extendsftf2.c: Likewise.
17396 * soft-fp/extendxftf2.c: Likewise.
17397 * soft-fp/fixdfdi.c: Likewise.
17398 * soft-fp/fixdfsi.c: Likewise.
17399 * soft-fp/fixdfti.c: Likewise.
17400 * soft-fp/fixsfdi.c: Likewise.
17401 * soft-fp/fixsfsi.c: Likewise.
17402 * soft-fp/fixsfti.c: Likewise.
17403 * soft-fp/fixtfdi.c: Likewise.
17404 * soft-fp/fixtfsi.c: Likewise.
17405 * soft-fp/fixtfti.c: Likewise.
17406 * soft-fp/fixunsdfdi.c: Likewise.
17407 * soft-fp/fixunsdfsi.c: Likewise.
17408 * soft-fp/fixunsdfti.c: Likewise.
17409 * soft-fp/fixunssfdi.c: Likewise.
17410 * soft-fp/fixunssfsi.c: Likewise.
17411 * soft-fp/fixunssfti.c: Likewise.
17412 * soft-fp/fixunstfdi.c: Likewise.
17413 * soft-fp/fixunstfsi.c: Likewise.
17414 * soft-fp/fixunstfti.c: Likewise.
17415 * soft-fp/floatdidf.c: Likewise.
17416 * soft-fp/floatdisf.c: Likewise.
17417 * soft-fp/floatditf.c: Likewise.
17418 * soft-fp/floatsidf.c: Likewise.
17419 * soft-fp/floatsisf.c: Likewise.
17420 * soft-fp/floatsitf.c: Likewise.
17421 * soft-fp/floattidf.c: Likewise.
17422 * soft-fp/floattisf.c: Likewise.
17423 * soft-fp/floattitf.c: Likewise.
17424 * soft-fp/floatundidf.c: Likewise.
17425 * soft-fp/floatundisf.c: Likewise.
17426 * soft-fp/floatunditf.c: Likewise.
17427 * soft-fp/floatunsidf.c: Likewise.
17428 * soft-fp/floatunsisf.c: Likewise.
17429 * soft-fp/floatunsitf.c: Likewise.
17430 * soft-fp/floatuntidf.c: Likewise.
17431 * soft-fp/floatuntisf.c: Likewise.
17432 * soft-fp/floatuntitf.c: Likewise.
17433 * soft-fp/fmadf4.c: Likewise.
17434 * soft-fp/fmasf4.c: Likewise.
17435 * soft-fp/fmatf4.c: Likewise.
17436 * soft-fp/gedf2.c: Likewise.
17437 * soft-fp/gesf2.c: Likewise.
17438 * soft-fp/getf2.c: Likewise.
17439 * soft-fp/ledf2.c: Likewise.
17440 * soft-fp/lesf2.c: Likewise.
17441 * soft-fp/letf2.c: Likewise.
17442 * soft-fp/muldf3.c: Likewise.
17443 * soft-fp/mulsf3.c: Likewise.
17444 * soft-fp/multf3.c: Likewise.
17445 * soft-fp/negdf2.c: Likewise.
17446 * soft-fp/negsf2.c: Likewise.
17447 * soft-fp/negtf2.c: Likewise.
17448 * soft-fp/op-1.h: Likewise.
17449 * soft-fp/op-2.h: Likewise.
17450 * soft-fp/op-4.h: Likewise.
17451 * soft-fp/op-8.h: Likewise.
17452 * soft-fp/op-common.h: Likewise.
17453 * soft-fp/quad.h: Likewise.
17454 * soft-fp/single.h: Likewise.
17455 * soft-fp/soft-fp.h: Likewise.
17456 * soft-fp/sqrtdf2.c: Likewise.
17457 * soft-fp/sqrtsf2.c: Likewise.
17458 * soft-fp/sqrttf2.c: Likewise.
17459 * soft-fp/subdf3.c: Likewise.
17460 * soft-fp/subsf3.c: Likewise.
17461 * soft-fp/subtf3.c: Likewise.
17462 * soft-fp/truncdfsf2.c: Likewise.
17463 * soft-fp/trunctfdf2.c: Likewise.
17464 * soft-fp/trunctfsf2.c: Likewise.
17465 * soft-fp/trunctfxf2.c: Likewise.
17466 * soft-fp/unorddf2.c: Likewise.
17467 * soft-fp/unordsf2.c: Likewise.
17468 * soft-fp/unordtf2.c: Likewise.
17470 2013-10-15 Joseph Myers <joseph@codesourcery.com>
17472 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
17473 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
17475 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
17477 * elf/dl-libc.c: Clear initfini list after freeing.
17479 2013-10-14 Joseph Myers <joseph@codesourcery.com>
17481 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
17482 * soft-fp/addsf3.c: Likewise.
17483 * soft-fp/addtf3.c: Likewise.
17484 * soft-fp/divdf3.c: Likewise.
17485 * soft-fp/divsf3.c: Likewise.
17486 * soft-fp/divtf3.c: Likewise.
17487 * soft-fp/double.h: Likewise.
17488 * soft-fp/eqdf2.c: Likewise.
17489 * soft-fp/eqsf2.c: Likewise.
17490 * soft-fp/eqtf2.c: Likewise.
17491 * soft-fp/extenddftf2.c: Likewise.
17492 * soft-fp/extended.h: Likewise.
17493 * soft-fp/extendsfdf2.c: Likewise.
17494 * soft-fp/extendsftf2.c: Likewise.
17495 * soft-fp/extendxftf2.c: Likewise.
17496 * soft-fp/fixdfdi.c: Likewise.
17497 * soft-fp/fixdfsi.c: Likewise.
17498 * soft-fp/fixdfti.c: Likewise.
17499 * soft-fp/fixsfdi.c: Likewise.
17500 * soft-fp/fixsfsi.c: Likewise.
17501 * soft-fp/fixsfti.c: Likewise.
17502 * soft-fp/fixtfdi.c: Likewise.
17503 * soft-fp/fixtfsi.c: Likewise.
17504 * soft-fp/fixtfti.c: Likewise.
17505 * soft-fp/fixunsdfdi.c: Likewise.
17506 * soft-fp/fixunsdfsi.c: Likewise.
17507 * soft-fp/fixunsdfti.c: Likewise.
17508 * soft-fp/fixunssfdi.c: Likewise.
17509 * soft-fp/fixunssfsi.c: Likewise.
17510 * soft-fp/fixunssfti.c: Likewise.
17511 * soft-fp/fixunstfdi.c: Likewise.
17512 * soft-fp/fixunstfsi.c: Likewise.
17513 * soft-fp/fixunstfti.c: Likewise.
17514 * soft-fp/floatdidf.c: Likewise.
17515 * soft-fp/floatdisf.c: Likewise.
17516 * soft-fp/floatditf.c: Likewise.
17517 * soft-fp/floatsidf.c: Likewise.
17518 * soft-fp/floatsisf.c: Likewise.
17519 * soft-fp/floatsitf.c: Likewise.
17520 * soft-fp/floattidf.c: Likewise.
17521 * soft-fp/floattisf.c: Likewise.
17522 * soft-fp/floattitf.c: Likewise.
17523 * soft-fp/floatundidf.c: Likewise.
17524 * soft-fp/floatundisf.c: Likewise.
17525 * soft-fp/floatunsidf.c: Likewise.
17526 * soft-fp/floatunsisf.c: Likewise.
17527 * soft-fp/floatuntidf.c: Likewise.
17528 * soft-fp/floatuntisf.c: Likewise.
17529 * soft-fp/floatuntitf.c: Likewise.
17530 * soft-fp/fmadf4.c: Likewise.
17531 * soft-fp/fmasf4.c: Likewise.
17532 * soft-fp/fmatf4.c: Likewise.
17533 * soft-fp/gedf2.c: Likewise.
17534 * soft-fp/gesf2.c: Likewise.
17535 * soft-fp/getf2.c: Likewise.
17536 * soft-fp/ledf2.c: Likewise.
17537 * soft-fp/lesf2.c: Likewise.
17538 * soft-fp/letf2.c: Likewise.
17539 * soft-fp/muldf3.c: Likewise.
17540 * soft-fp/mulsf3.c: Likewise.
17541 * soft-fp/multf3.c: Likewise.
17542 * soft-fp/negdf2.c: Likewise.
17543 * soft-fp/negsf2.c: Likewise.
17544 * soft-fp/negtf2.c: Likewise.
17545 * soft-fp/op-1.h: Likewise.
17546 * soft-fp/op-2.h: Likewise.
17547 * soft-fp/op-4.h: Likewise.
17548 * soft-fp/op-8.h: Likewise.
17549 * soft-fp/op-common.h: Likewise.
17550 * soft-fp/quad.h: Likewise.
17551 * soft-fp/single.h: Likewise.
17552 * soft-fp/soft-fp.h: Likewise.
17553 * soft-fp/sqrtdf2.c: Likewise.
17554 * soft-fp/sqrtsf2.c: Likewise.
17555 * soft-fp/sqrttf2.c: Likewise.
17556 * soft-fp/subdf3.c: Likewise.
17557 * soft-fp/subsf3.c: Likewise.
17558 * soft-fp/subtf3.c: Likewise.
17559 * soft-fp/truncdfsf2.c: Likewise.
17560 * soft-fp/trunctfdf2.c: Likewise.
17561 * soft-fp/trunctfsf2.c: Likewise.
17562 * soft-fp/trunctfxf2.c: Likewise.
17563 * soft-fp/unorddf2.c: Likewise.
17564 * soft-fp/unordsf2.c: Likewise.
17565 * soft-fp/unordtf2.c: Likewise.
17567 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
17570 * misc/error.c (error_tail): Fix possible buffer overflow.
17572 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
17575 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
17578 2013-10-14 P. J. McDermott <pj@pehjota.net>
17581 * elf/ldd.bash.in (try_trace): New function. Delete previous code
17582 testing pipefail option.
17584 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17586 * soft-fp/double.h: Indent preprocessor directives inside #if.
17587 * soft-fp/extended.h: Likewise.
17588 * soft-fp/op-2.h: Likewise.
17589 * soft-fp/op-4.h: Likewise.
17590 * soft-fp/op-common.h: Likewise.
17591 * soft-fp/quad.h: Likewise.
17592 * soft-fp/single.h: Likewise.
17593 * soft-fp/soft-fp.h: Likewise.
17595 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
17597 * iconv/iconv_prog.c: Fix typos.
17598 * stdio-common/psiginfo-data.h: Likewise.
17600 2013-10-12 Reuben Thomas <rrt@sc3d.org>
17603 * locale/setlocale.c: Fix typo.
17605 2013-10-12 Joseph Myers <joseph@codesourcery.com>
17608 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
17609 signaling NaN arguments.
17610 * soft-fp/unordsf2.c (__unordsf2): Likewise.
17611 * soft-fp/unordtf2.c (__unordtf2): Likewise.
17614 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
17615 unordered operands.
17616 * soft-fp/gesf2.c (__gesf2): Likewise.
17617 * soft-fp/getf2.c (__getf2): Likewise.
17618 * soft-fp/ledf2.c (__ledf2): Likewise.
17619 * soft-fp/lesf2.c (__lesf2): Likewise.
17620 * soft-fp/letf2.c (__letf2): Likewise.
17622 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
17623 * soft-fp/eqsf2.c (__eqsf2): Likewise.
17624 * soft-fp/eqtf2.c (__eqtf2): Likewise.
17625 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
17626 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
17627 * soft-fp/fixdfti.c (__fixdfti): Likewise.
17628 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
17629 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
17630 * soft-fp/fixsfti.c (__fixsfti): Likewise.
17631 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
17632 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
17633 * soft-fp/fixtfti.c (__fixtfti): Likewise.
17634 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
17635 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
17636 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
17637 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
17638 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
17639 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
17640 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
17641 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
17642 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
17643 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
17644 * soft-fp/floatdisf.c (__floatdisf): Likewise.
17645 * soft-fp/floatsisf.c (__floatsisf): Likewise.
17646 * soft-fp/floattidf.c (__floattidf): Likewise.
17647 * soft-fp/floattisf.c (__floattisf): Likewise.
17648 * soft-fp/floattitf.c (__floattitf): Likewise.
17649 * soft-fp/floatundidf.c (__floatundidf): Likewise.
17650 * soft-fp/floatundisf.c (__floatundisf): Likewise.
17651 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
17652 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
17653 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
17654 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
17655 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
17656 * soft-fp/gesf2.c (__gesf2): Likewise.
17657 * soft-fp/getf2.c (__getf2): Likewise.
17658 * soft-fp/ledf2.c (__ledf2): Likewise.
17659 * soft-fp/lesf2.c (__lesf2): Likewise.
17660 * soft-fp/letf2.c (__letf2): Likewise.
17662 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
17663 Undefine and redefine.
17664 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
17665 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
17666 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
17667 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
17668 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17669 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
17670 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17671 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
17672 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17673 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
17674 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17675 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
17676 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17677 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
17678 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
17681 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
17682 without decrementing exponent if mantissa >= that for the
17683 denominator, not >.
17684 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
17685 denominator, not >. Decrement exponent in < case instead of
17686 incrementing in >= case.
17687 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
17688 without decrementing exponent if mantissa >= that for the
17689 denominator, not >.
17691 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
17692 computing saturated result for unsigned overflow.
17694 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17695 Jeff Law <law@redhat.com>
17697 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
17698 (atan2Mp): Add systemtap probe marker.
17699 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
17700 (__ieee754_log): Add systemtap probe marker.
17701 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
17702 (atanMp): Add systemtap probe marker.
17703 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
17704 (tanMp): Add systemtap probe marker.
17705 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
17706 (__slowexp): Add systemtap probe marker.
17707 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
17708 (__slowpow): Add systemtap probe marker.
17709 * manual/probes.texi: Document probes.
17711 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
17714 * libio/fileops.c (_IO_new_file_write): Return count of bytes
17716 (_IO_new_file_xsputn): Don't return EOF if nothing has been
17718 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
17719 written to buffer but not flushed.
17720 * libio/iofwrite_u.c: Likewise.
17721 * libio/iopadn.c: Return bytes returned even if EOF was
17723 * libio/iowpadn.c: Likewise.
17724 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
17725 if _IO_padn does not write the whole buffer.
17726 [!COMPILE_WPRINTF] (PAD): Likewise.
17728 2013-10-10 David S. Miller <davem@davemloft.net>
17730 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
17733 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17735 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
17736 instead of FSF address.
17737 * soft-fp/fixdfti.c: Likewise.
17738 * soft-fp/fixsfti.c: Likewise.
17739 * soft-fp/fixtfti.c: Likewise.
17740 * soft-fp/fixunsdfti.c: Likewise.
17741 * soft-fp/fixunssfti.c: Likewise.
17742 * soft-fp/fixunstfti.c: Likewise.
17743 * soft-fp/floattidf.c: Likewise.
17744 * soft-fp/floattisf.c: Likewise.
17745 * soft-fp/floattitf.c: Likewise.
17746 * soft-fp/floatuntidf.c: Likewise.
17747 * soft-fp/floatuntisf.c: Likewise.
17748 * soft-fp/floatuntitf.c: Likewise.
17749 * soft-fp/trunctfxf2.c: Likewise.
17751 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
17752 * soft-fp/fixdfti.c: Likewise.
17753 * soft-fp/fixsfti.c: Likewise.
17754 * soft-fp/fixtfti.c: Likewise.
17755 * soft-fp/fixunsdfti.c: Likewise.
17756 * soft-fp/fixunssfti.c: Likewise.
17757 * soft-fp/fixunstfti.c: Likewise.
17758 * soft-fp/floattidf.c: Likewise.
17759 * soft-fp/floattisf.c: Likewise.
17760 * soft-fp/floattitf.c: Likewise.
17761 * soft-fp/floatuntidf.c: Likewise.
17762 * soft-fp/floatuntisf.c: Likewise.
17763 * soft-fp/floatuntitf.c: Likewise.
17764 * soft-fp/trunctfxf2.c: Likewise.
17766 2013-10-10 David S. Miller <davem@davemloft.net>
17768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17770 2013-10-10 Joseph Myers <joseph@codsourcery.com>
17772 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17773 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
17774 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
17775 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
17776 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
17777 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
17778 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
17780 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
17781 for NaNs before doing comparisons on argument.
17782 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
17785 2013-10-10 Will Newton <will.newton@linaro.org>
17787 * malloc/hooks.c (memalign_check): Ensure the value of bytes
17788 passed to _int_memalign does not overflow.
17790 2013-10-10 Torvald Riegel <triegel@redhat.com>
17792 * scripts/bench.pl: Add include-sources directive.
17793 * benchtests/README: Update documentation.
17795 2013-10-10 Joseph Myers <joseph@codesourcery.com>
17797 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
17798 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
17799 instead of FP_INIT_ROUNDMODE.
17800 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
17801 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
17804 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
17805 copy class of input value.
17806 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
17807 not handle exceptions.
17808 * soft-fp/negsf2.c (__negsf2): Likewise.
17809 * soft-fp/negtf2.c (__negtf2): Likewise.
17810 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
17812 2013-10-09 Joseph Myers <joseph@codesourcery.com>
17814 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
17815 semicolon. From Linux kernel.
17817 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
17819 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
17821 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
17824 * manual/socket.texi: Added statement about buffer
17825 for gethostbyname2_r.
17827 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
17829 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
17830 Use .p2align directive instead, throughout.
17831 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
17832 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
17833 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17834 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
17835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
17836 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
17837 * sysdeps/x86_64/strchr.S: Likewise.
17838 * sysdeps/x86_64/strrchr.S: Likewise.
17840 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17842 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
17844 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
17846 * sysdeps/generic/math_private.h (__mpsin1): Remove
17848 (__mpcos1): Likewise.
17849 (__mpsin): New argument __range_reduce.
17850 (__mpcos): Likewise.
17851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17852 (slow): Use __mpsin and __mpcos.
17856 (sloww1): Likewise.
17857 (sloww2): Likewise.
17858 (bsloww): Likewise.
17859 (bsloww1): Likewise.
17860 (bsloww2): Likewise.
17861 (cslow2): Likewise.
17862 (csloww): Likewise.
17863 (csloww1): Likewise.
17864 (csloww2): Likewise.
17865 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
17866 range_reduce. Merge in __mpsin1.
17867 (__mpcos): Likewise.
17868 (__mpsin1): Remove.
17869 (__mpcos1): Likewise.
17871 2013-10-07 Joseph Myers <joseph@codesourcery.com>
17873 * locale/loadlocale.c (_nl_intern_locale_data): Use
17875 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
17876 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
17877 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
17878 obstack data is appropriately aligned.
17879 (obstack_int32_grow_fast): Likewise.
17880 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
17881 * locale/programs/locfile.c (add_locale_uint32): Likewise.
17882 (add_locale_uint32_array): Likewise.
17884 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17886 * benchtests/Makefile: Remove ARGLIST and RET variables.
17887 ($(objpfx)bench-%.c): Pass only function name to the script.
17888 * benchtests/README: Update documentation.
17889 * benchtests/acos-inputs: Add new directives.
17890 * benchtests/acosh-inputs: Likewise.
17891 * benchtests/asin-inputs: Likewise.
17892 * benchtests/asinh-inputs: Likewise.
17893 * benchtests/atan-inputs: Likewise.
17894 * benchtests/atanh-inputs: Likewise.
17895 * benchtests/cos-inputs: Likewise.
17896 * benchtests/cosh-inputs: Likewise.
17897 * benchtests/exp-inputs: Likewise.
17898 * benchtests/log-inputs: Likewise.
17899 * benchtests/pow-inputs: Likewise.
17900 * benchtests/rint-inputs: Likewise.
17901 * benchtests/sin-inputs: Likewise.
17902 * benchtests/sinh-inputs: Likewise.
17903 * benchtests/tan-inputs: Likewise.
17904 * benchtests/tanh-inputs: Likewise.
17905 * scripts/bench.pl: Add support for new directives.
17907 2013-10-07 Alan Modra <amodra@gmail.com>
17909 * README: Fix careless merge.
17911 2013-10-05 Alan Modra <amodra@gmail.com>
17913 * NEWS: Mention powerpc64le support and bugs fixed.
17914 * README: Both big-endian and little-endian powerpc64 supported.
17916 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17918 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
17919 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
17920 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
17921 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
17923 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
17925 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
17928 2013-10-04 Joseph Myers <joseph@codesourcery.com>
17930 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
17931 Move -mhard-float appending from
17932 ports/sysdeps/powerpc/powerpc32/Makefile.
17933 [$(with-fp) = yes] (ASFLAGS): Likewise.
17934 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
17935 * sysdeps/powerpc/nofpu: Move directory from
17936 ports/sysdeps/powerpc/nofpu.
17937 * sysdeps/powerpc/soft-fp: Move directory from
17938 ports/sysdeps/powerpc/soft-fp.
17939 * sysdeps/powerpc/powerpc32/405: Move directory from
17940 ports/sysdeps/powerpc/powerpc32/405.
17941 * sysdeps/powerpc/powerpc32/440: Move directory from
17942 ports/sysdeps/powerpc/powerpc32/440.
17943 * sysdeps/powerpc/powerpc32/464: Move directory from
17944 ports/sysdeps/powerpc/powerpc32/464.
17945 * sysdeps/powerpc/powerpc32/476: Move directory from
17946 ports/sysdeps/powerpc/powerpc32/476.
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
17948 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
17950 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
17952 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
17953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
17954 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
17956 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
17957 * README: Update for powerpc-*-linux-gnu software floating point
17960 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
17961 case to powerpc/powerpc32*.
17962 * sysdeps/unix/sysv/linux/configure: Regenerated.
17964 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
17965 (_FPU_MASK_OM): Define as 0x04.
17966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
17967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
17969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
17971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
17973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
17974 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
17977 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
17979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
17980 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
17981 and setcontext_e500.
17983 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
17985 * locale/iso-3166.def: Update iso-1366.def and related occurrences
17987 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17989 * manual/threads.texi (Default Thread Attributes): Fix typo.
17991 2013-10-04 Will Newton <will.newton@linaro.org>
17993 * malloc/Makefile: Add tst-memalign.
17994 * malloc/tst-memalign.c: New file.
17996 * malloc/tst-posix_memalign.c: Add comments.
17997 (do_test): Add comments and call free on all potentially
17998 allocated pointers. Add space after cast.
18000 * malloc/tst-pvalloc.c: Add comments.
18001 (do_test): Add comments and call free on all potentially
18002 allocated pointers. Remove duplicate check for NULL pointer.
18003 Add space after cast.
18005 * malloc/tst-valloc.c: Add comments.
18006 (do_test): Add comments and call free on all potentially
18007 allocated pointers. Remove duplicate check for NULL pointer.
18008 Add space after cast.
18010 2013-10-04 Alan Modra <amodra@gmail.com>
18012 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18013 Use stdint types in rather than __attribute__((mode())).
18014 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18016 2013-10-04 Alan Modra <amodra@gmail.com>
18018 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18019 Correct handling of unaligned relocs for little-endian.
18020 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18022 2013-10-04 Alan Modra <amodra@gmail.com>
18024 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18025 * configure: Regenerate.
18026 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18027 * shlib-versions: Likewise.
18029 2013-10-04 Alan Modra <amodra@gmail.com>
18031 * string/tester.c (test_memrchr): Increment reported test cycle.
18033 2013-10-04 Alan Modra <amodra@gmail.com>
18035 * string/test-memcpy.c (do_one_test): When reporting errors, print
18036 string address and don't overrun end of string.
18038 2013-10-04 Alan Modra <amodra@gmail.com>
18040 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18041 insrdi. Make better use of reg selection to speed exit slightly.
18042 Schedule entry path a little better. Remove useless "are we done"
18043 checks on entry to main loop. Handle wrapping around zero address.
18044 Correct main loop count. Handle single left-over word from main
18045 loop inline rather than by using loop_small. Remove extra word
18046 case in loop_small caused by wrong loop count. Add little-endian
18048 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18049 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18051 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18053 support. Avoid rlwimi.
18054 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18056 2013-10-04 Alan Modra <amodra@gmail.com>
18058 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
18059 insrdi. Formatting.
18060 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18061 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18062 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18063 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18064 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18065 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18067 2013-10-04 Alan Modra <amodra@gmail.com>
18069 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18070 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18071 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18073 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18074 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18075 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18076 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18077 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18078 use of regs. Use power7 mtocrf. Tidy function tails.
18080 2013-10-04 Alan Modra <amodra@gmail.com>
18082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18083 Formatting. Consistently use rXXX register defines or rN defines.
18084 Use early exit labels that avoid restoring unused non-volatile regs.
18085 Make cr field use more consistent with rWORDn compares. Rename
18086 regs used as shift registers for unaligned loop, using rN defines
18087 for short lifetime/multiple use regs.
18088 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18089 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18090 addi 1,1,64 to pop stack frame. Simplify return value code.
18091 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18093 2013-10-04 Alan Modra <amodra@gmail.com>
18095 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18096 support. Correct typos, formatting. Optimize tail. Use insrdi
18097 rather than rlwimi.
18098 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18099 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18100 little-endian support. Correct typos.
18101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18102 rather than rlwimi.
18103 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18104 in loop and entry code to keep "and." results.
18105 (strchr): Add little-endian support. Comment. Move cntlzd
18107 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18109 2013-10-04 Alan Modra <amodra@gmail.com>
18111 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18112 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18113 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18114 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18116 2013-10-04 Alan Modra <amodra@gmail.com>
18118 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18119 (rTMP): Define as r11.
18120 (strcmp): Add little-endian support. Optimise tail.
18121 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18123 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18124 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18125 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18126 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18129 2013-10-04 Alan Modra <amodra@gmail.com>
18131 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18132 little-endian support. Remove unnecessary "are we done" tests.
18133 Handle "s" wrapping around zero and extremely large "size".
18134 Correct main loop count. Handle single left-over word from main
18135 loop inline rather than by using small_loop. Correct comments.
18136 Delete "zero" tail, use "end_max" instead.
18137 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18139 2013-10-04 Alan Modra <amodra@gmail.com>
18141 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18142 support. Don't branch over align.
18143 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18144 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18145 support. Rearrange tmp reg use to suit. Comment.
18146 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18148 2013-10-04 Alan Modra <amodra@gmail.com>
18150 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18152 2013-10-04 Alan Modra <amodra@gmail.com>
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18155 conditional form of branch and link when obtaining pc.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18158 2013-10-04 Alan Modra <amodra@gmail.com>
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18165 2013-10-04 Alan Modra <amodra@gmail.com>
18167 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18168 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18169 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18170 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18171 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18172 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18173 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18174 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18175 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18176 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18178 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18179 Alistair Popple <alistair@ozlabs.au.ibm.com>
18180 Alan Modra <amodra@gmail.com>
18183 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18185 _dl_hwcap access for little-endian.
18186 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18187 destroy vmx regs when saving unaligned.
18188 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18189 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18190 destroy vmx regs when saving unaligned.
18192 2013-10-04 Alan Modra <amodra@gmail.com>
18194 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18195 Don't use a union to pack hi/low value.
18197 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18199 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18201 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18202 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18203 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18204 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18205 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18207 2013-10-04 Alan Modra <amodra@gmail.com>
18209 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18210 constants to usual value for .cst8 section, and remove redundant
18212 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18213 constant for 0x1p52. Load little-endian words of double from
18214 correct stack offsets.
18216 2013-10-04 Alan Modra <amodra@gmail.com>
18218 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18219 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18220 words of double from correct stack offsets.
18221 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18222 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18223 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18224 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18225 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18226 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18227 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18228 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18229 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18230 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18231 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18232 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18233 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18234 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18235 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18236 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18237 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18239 2013-10-04 Alan Modra <amodra@gmail.com>
18241 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18242 64-bit int/double union.
18243 (_FPU_SETCW): Likewise.
18244 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18245 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18247 2013-10-04 Alan Modra <amodra@gmail.com>
18249 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18250 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18252 2013-10-04 Alan Modra <amodra@gmail.com>
18254 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18255 use vector int constants.
18256 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18258 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18260 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18261 array with long long.
18262 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18263 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18264 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18265 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18266 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18267 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18268 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18269 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18270 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18271 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18272 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18273 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18274 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18276 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
18278 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18279 (__signbit): Likewise. Correct for little-endian.
18280 (__signbitl): Call __signbit.
18281 (lrint): Correct for little-endian.
18282 (lrintf): Call lrint.
18284 2013-10-04 Alan Modra <amodra@gmail.com>
18286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18287 union 32-bit int array member with 64-bit int array.
18288 (t515, tm256): Double rather than long double.
18289 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18291 2013-10-04 Alan Modra <amodra@gmail.com>
18293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
18295 (IEEE854_LONG_DOUBLE_BIAS): Delete.
18296 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
18297 version of math_ldbl.h.
18299 2013-10-04 Alan Modra <amodra@gmail.com>
18301 [BZ #15734], [BZ #15735]
18302 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
18303 all uses of ieee875 long double macros and unions. Simplify test
18304 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
18305 ldbl_extract_mantissa value for ix,iy exponents. Properly
18306 normalize after ldbl_extract_mantissa, and don't add hidden bit
18307 already handled. Don't treat low word of ieee854 mantissa like
18308 low word of IBM long double and mask off bit when testing for
18310 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
18311 all uses of ieee875 long double macros and unions. Simplify tests
18312 for 0.0L and inf. Correct double adjustment of k. Delete dead code
18313 adjusting ha,hb. Simplify code setting kld. Delete two600 and
18314 two1022, instead use their values. Recognise that tests for large
18315 "a" and small "b" are mutually exclusive. Rename vars. Comment.
18316 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
18317 Rewrite all uses of ieee875 long double macros and unions. Simplify
18318 test for 0.0L and nan. Correct negation.
18319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
18320 ieee875 long double macros and unions. Correct output for large
18321 magnitude x. Correct absolute value calculation.
18322 (__erfcl): Likewise.
18323 * math/libm-test.inc: Add tests for errors discovered in IBM long
18324 double versions of fmodl, remainderl, erfl and erfcl.
18326 2013-10-04 Alan Modra <amodra@gmail.com>
18328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
18329 all uses of ieee854 long double macros and unions. Simplify tests
18330 for long doubles that are fully specified by the high double.
18331 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18333 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
18334 Remove dead code too.
18335 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
18336 (__ieee754_ynl): Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
18340 Remove dead code too.
18341 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
18351 Comment on variable precision.
18352 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18355 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18357 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18358 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
18359 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
18361 2013-10-04 Alan Modra <amodra@gmail.com>
18363 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
18364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
18365 all uses of ieee854 long double macros and unions.
18366 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18373 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
18379 Simplify sign and nan test too.
18380 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
18382 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
18383 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
18385 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18386 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
18388 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18389 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18390 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
18391 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
18392 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
18393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
18395 2013-10-04 Alan Modra <amodra@gmail.com>
18397 * stdio-common/printf_size.c (__printf_size): Don't use
18398 union ieee854_long_double in fpnum union.
18399 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
18400 signbit macro to retrieve sign from long double.
18401 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
18402 retrieve sign from long double.
18403 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
18404 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
18406 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18407 * math/test-misc.c (main): Don't use union ieee854_long_double.
18409 2013-10-04 Alan Modra <amodra@gmail.com>
18412 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
18413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
18414 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
18415 calculation. Remove unnecessary test for denormal exponent.
18416 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
18417 Correct handling of denormals. Avoid undefined shift behaviour.
18418 Correct normalisation of low mantissa when low double is denormal.
18419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
18420 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
18421 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
18422 Correct normalisation of low mantissa. Test for overflow of high
18423 mantissa and normalise.
18424 (ldbl_nearbyint): Use more readable constant for two52.
18425 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
18426 (__mpn_construct_long_double): Fix test for overflow of high
18427 mantissa and correct normalisation. Avoid undefined shift.
18429 2013-10-04 Alan Modra <amodra@gmail.com>
18431 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
18432 (union ibm_extended_long_double): Define as an array of ieee754_double.
18433 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
18434 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
18435 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
18436 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18437 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
18439 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18440 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
18443 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18445 2013-10-03 Joseph Myers <joseph@codesourcery.com>
18447 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
18448 page size instead of calling getpagesize.
18450 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
18451 (LOCFILE_ALIGN_MASK): Likewise.
18452 (LOCFILE_ALIGN_UP): Likewise.
18453 (LOCFILE_ALIGNED_P): Likewise.
18454 * locale/programs/ld-collate.c (collate_output): Use the new
18455 macros instead of __alignof__ (int32_t).
18456 * locale/weight.h (findidx): Likewise.
18458 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
18461 * manual/string.texi: Fix strncat and wcsncat.
18463 2013-10-03 Brooks Moses <bmoses@google.com>
18466 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
18467 * Makerules: ...here, and adjust associated comments.
18469 2013-10-02 Will Newton <will.newton@linaro.org>
18471 * malloc/Makefile: Add tst-pvalloc.
18472 * malloc/tst-pvalloc.c: New file.
18474 2013-10-02 Will Newton <will.newton@linaro.org>
18476 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
18477 improve test coverage.
18479 2013-10-02 Will Newton <will.newton@linaro.org>
18481 * malloc/Makefile: Add tst-posix_memalign.
18482 * malloc/tst-posix_memalign.c: New file.
18484 2013-10-01 Eric Blake <eblake@redhat.com>
18486 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
18487 Use __THROWNL rather than __THROW on static functions.
18489 2013-09-30 Petr Machata <pmachata@redhat.com>
18491 * elf/elf.h (R_AARCH64_ABS16): New macro.
18492 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
18493 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
18494 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
18495 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
18496 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
18497 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
18498 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
18499 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
18500 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
18501 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
18502 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
18503 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
18504 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
18505 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
18506 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
18507 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
18508 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
18509 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
18510 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
18511 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
18512 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
18513 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
18514 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
18515 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
18516 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
18517 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
18518 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
18519 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
18520 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
18521 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
18522 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
18523 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
18524 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
18525 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
18526 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
18527 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
18528 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
18529 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
18530 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
18531 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
18532 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
18533 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
18534 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
18535 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
18536 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
18537 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
18538 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
18539 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
18540 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
18541 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
18542 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
18543 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
18544 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
18545 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
18546 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
18547 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
18548 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
18549 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
18550 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
18551 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
18552 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
18553 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
18554 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
18555 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
18556 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
18557 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
18558 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
18559 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
18560 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
18561 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
18562 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
18563 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
18564 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
18565 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
18566 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
18567 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
18568 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
18569 (R_AARCH64_TLSDESC_LDR): Likewise.
18570 (R_AARCH64_TLSDESC_ADD): Likewise.
18571 (R_AARCH64_TLSDESC_CALL): Likewise.
18573 2013-09-30 Andreas Schwab <schwab@suse.de>
18576 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
18577 the nss database lookup.
18578 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18581 2013-09-28 Mike Frysinger <vapier@gentoo.org>
18583 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
18585 2013-09-28 P. J. McDermott <pj@pehjota.net>
18587 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
18588 ${Bash-specific parameter/pattern/string} parameter expansion.
18589 * sysdeps/unix/make-syscalls.sh: Likewise.
18591 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18593 * sysdeps/sh/stackguard-macros.h: New file.
18595 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
18597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
18599 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
18600 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
18601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18602 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
18604 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18606 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
18607 Fix thread ID register.
18609 2013-09-25 Joseph Myers <joseph@codesourcery.com>
18611 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
18612 [POSIX || UNIX98]: Require rather than permitting all symbols from
18614 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
18615 element of struct sched_param.
18616 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
18617 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
18618 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
18619 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
18622 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
18624 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
18625 argument calculation.
18627 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18629 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
18631 [POSIX] (pthread_attr_t): Do not require type.
18632 [POSIX] (pthread_cond_t): Likewise.
18633 [POSIX] (pthread_condattr_t): Likewise.
18634 [POSIX] (pthread_key_t): Likewise.
18635 [POSIX] (pthread_mutex_t): Likewise.
18636 [POSIX] (pthread_mutexattr_t): Likewise.
18637 [POSIX] (pthread_once_t): Likewise.
18638 [POSIX] (pthread_t): Likewise.
18639 [POSIX-based standards] (pthread_atfork): Expect function.
18641 2013-09-24 Joseph Myers <joseph@codesourcery.com>
18642 Richard Sandiford <richard@codesourcery.com>
18644 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
18645 (swap_endianness_p): New extern variable.
18646 (set_big_endian): New inline function.
18647 (maybe_swap_uint32): Likewise.
18648 (maybe_swap_uint32_array): Likewise.
18649 (maybe_swap_uint32_obstack): Likewise.
18650 * locale/programs/locfile.c: Include <stdbool.h>.
18651 (swap_endianness_p): New variable.
18652 (add_locale_uint32): Call maybe_swap_uint32.
18653 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
18654 (write_locale_data): Call maybe_swap_uint32_array.
18655 * locale/programs/ld-collate.c (obstack_int32_grow): Call
18657 (obstack_int32_grow_fast): Likewise.
18658 (output_weightwc): Call maybe_swap_uint32_obstack.
18659 (collate_output): Likewise.
18660 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
18661 (OPT_LITTLE_ENDIAN): Likewise.
18662 (options): Add --little-endian and --big-endian options.
18663 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
18664 * locale/programs/locarchive.c: Include "locfile.h".
18668 (create_archive): Use the new macros to access fields of
18669 structures directly mapped from or written to locale archives.
18670 (oldlocrecentcmp): Likewise.
18671 (enlarge_archive): Likewise.
18672 (insert_name): Likewise.
18673 (add_alias): Likewise.
18674 (add_locale): Likewise.
18675 (delete_locales_from_archive): Likewise.
18676 (show_archive_content): Likewise.
18677 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
18680 2013-09-24 Roland McGrath <roland@hack.frob.com>
18682 * manual/freemanuals.texi: Updated from (newly) canonical copy at
18683 http://www.gnu.org/doc/freemanuals.texi.
18684 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
18686 2013-09-24 Will Newton <will.newton@linaro.org>
18688 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
18691 2013-09-23 Joseph Myers <joseph@codesourcery.com>
18693 * locale/hashval.h (compute_hashval): Interpret bytes of key as
18696 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
18698 * manual/threads.texi (POSIX Threads): Fix a typo.
18700 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18703 * string/tst-strcoll-overflow.c: New test case.
18704 * string/Makefile (xtests): Add tst-strcoll-overflow.
18705 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
18706 cache if string sizes may cause integer overflow.
18709 * string/strcoll_l.c (coll_seq): New members rule, idx,
18710 save_idx and back_us.
18711 (get_next_seq_nocache): New function.
18712 (do_compare_nocache): New function.
18713 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
18716 2013-09-23 Carlos O'Donell <carlos@redhat.com>
18719 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
18720 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
18721 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
18724 * elf/Makefile (tests): Add tst-ptrguard1.
18725 (tests-static): Add tst-ptrguard1-static.
18726 (tst-ptrguard1-ARGS): Define.
18727 (tst-ptrguard1-static-ARGS): Define.
18728 * elf/tst-ptrguard1.c: New file.
18729 * elf/tst-ptrguard1-static.c: New file.
18730 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
18731 * sysdeps/i386/stackguard-macros.h: Likewise.
18732 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
18733 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
18734 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18735 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18736 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
18737 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
18739 2013-09-23 Hector Marco <hecmargi@upv.es>
18740 Ismael Ripoll <iripoll@disca.upv.es>
18741 Carlos O'Donell <carlos@redhat.com>
18744 * sysdeps/generic/stackguard-macros.h: Define
18745 __pointer_chk_guard_local and POINTER_CHK_GUARD.
18746 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
18747 Define __pointer_chk_guard_local.
18748 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
18749 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
18751 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
18754 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
18756 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
18758 * include/string.h (__ffs): Declare as hidden.
18759 * string/ffs.c (__ffs): Define as hidden.
18760 * sysdeps/i386/ffs.c (__ffs): Likewise.
18761 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
18762 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
18763 * sysdeps/s390/ffs.c (__ffs): Likewise.
18764 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
18766 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
18768 * NEWS: Mention malloc probes.
18770 * malloc/arena.c (new_heap): New memory_heap_new probe.
18771 (grow_heap): New memory_heap_more probe.
18772 (shrink_heap): New memory_heap_less probe.
18773 (heap_trim): New memory_heap_free probe.
18774 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
18775 (systrim): New memory_sbrk_less probe.
18776 * manual/probes.texi: Document them.
18778 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
18779 * manual/probes.texi: Document it.
18781 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
18782 (__libc_realloc): Add memory_realloc_retry probe.
18783 (__libc_memalign): Add memory_memalign_retry probe.
18784 (__libc_valloc): Add memory_valloc_retry probe.
18785 (__libc_pvalloc): Add memory_pvalloc_retry probe.
18786 (__libc_calloc): Add memory_calloc_retry probe.
18787 * manual/probes.texi: Document them.
18789 * malloc/arena.c (get_free_list): Add probe
18790 memory_arena_reuse_free_list.
18791 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
18792 and memory_arena_reuse.
18793 (arena_get2) [!PER_THREAD]: Likewise.
18794 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
18795 memory_arena_reuse_realloc.
18796 * manual/probes.texi: Document them.
18798 * malloc/malloc.c (__libc_free): Add
18799 memory_mallopt_free_dyn_thresholds probe.
18800 (__libc_mallopt): Add multiple memory_mallopt probes.
18801 * manual/probes.texi: Document them.
18803 * malloc/malloc.c: Include stap-probe.h.
18804 (__libc_mallopt): Add memory_mallopt probe.
18805 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
18806 * manual/probes.texi: New.
18807 * manual/Makefile (chapters): Add probes.
18808 * manual/threads.texi: Set next node.
18810 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
18812 [BZ #15963, #13985]
18813 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
18814 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
18815 Add `Chinese' to `nan' entry name.
18817 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18819 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
18820 (POLYNOMIAL): Likewise.
18821 (TAYLOR_SINCOS): Likewise.
18822 (TAYLOR_SLOW): Likewise.
18823 (__sin): Use TAYLOR_SINCOS.
18825 (slow): Use TAYLOR_SLOW.
18827 (bsloww): Likewise.
18828 (csloww): Likewise.
18830 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18832 * stdlib/strtod_l.c: Fix buffer overrun.
18834 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18836 * benchtests/Makefile (bench): Add sincos.
18837 * benchtests/bench-sincos.c: New file.
18839 * math/libm-test.inc (cos_test_data): New test inputs.
18840 (sin_test_data): Likewise.
18842 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
18848 (sloww1): Likewise.
18849 (sloww2): Likewise.
18850 (bsloww1): Likewise.
18851 (bsloww2): Likewise.
18852 (cslow2): Likewise.
18853 (csloww1): Likewise.
18854 (csloww2): Likewise.
18856 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
18861 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
18865 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
18867 * config.h.in (HAVE_MIPS_NAN2008): New macro.
18868 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
18869 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
18870 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
18871 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
18872 * elf/cache.c (print_entry): Handle the new cache flags.
18874 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18875 Aldy Hernandez <aldyh@redhat.com>
18877 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
18878 Change condition to [_SOFT_FLOAT].
18879 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
18880 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
18881 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
18882 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
18883 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
18884 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
18885 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
18886 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
18887 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
18888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
18889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
18890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
18891 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
18892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
18893 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
18894 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
18897 2013-09-18 Joseph Myers <joseph@codesourcery.com>
18899 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
18900 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18901 (__longjmp): Use LOAD_GP to load saved GPRs.
18902 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
18903 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
18904 (__sigsetjmp): Use SAVE_GP to save GPRs.
18906 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
18907 Do not append -msoft-float.
18908 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
18910 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18912 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
18914 2013-09-17 Joseph Myers <joseph@codesourcery.com>
18917 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
18918 (_FPU_GETCW): Use initial "__" on variable and field names but not
18919 on macro parameter name.
18920 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
18921 parentheses around reference to macro parameter.
18923 2013-09-13 Richard Sandiford <richard@codesourcery.com>
18925 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
18927 (ctype_startup): Use uint32_t in cast and sizeof for
18930 2013-09-11 Jia Liu <proljc@gmail.com>
18932 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
18934 [__FreeBSD__]: Likewise.
18936 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
18938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
18939 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
18940 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
18941 (strchr): Remove __strchr_sse42 ifunc selection.
18942 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
18943 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
18945 2013-09-11 Will Newton <will.newton@linaro.org>
18947 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
18948 parameter to RES. Remove hardcoded 1000 value.
18949 * benchtests/bench-skeleton.c (main): Pass RES parameter
18950 to TIMING_INIT and multiply result by 1000.
18952 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18956 2013-09-11 Andreas Schwab <schwab@suse.de>
18958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18960 (O_TMPFILE) [__USE_GNU]: Define.
18961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
18964 2013-09-11 Will Newton <will.newton@linaro.org>
18967 * malloc/malloc.c (__libc_memalign): Check the value of bytes
18970 2013-09-11 Will Newton <will.newton@linaro.org>
18973 * malloc/malloc.c (__libc_valloc): Check the value of bytes
18976 2013-09-11 Will Newton <will.newton@linaro.org>
18979 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
18982 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
18984 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
18985 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18986 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18987 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18990 2013-09-10 Allan McRae <allan@archlinux.org>
18993 * manual/arith.texi (Parsing of Floats): Clarify
18997 * manual/install.texi (Running make install): Mention
18999 * INSTALL: Regenerated.
19001 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19003 * csu/init-first.c (_init): Remove the !SHARED condition around
19004 FPU control word initialization.
19005 * elf/dl-support.c (_dl_fpu_control): New variable.
19006 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19007 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19008 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19009 * math/test-fpucw-static.c: New file.
19010 * math/test-fpucw-ieee.c: New file.
19011 * math/test-fpucw-ieee-static.c: New file.
19012 * math/Makefile (tests): Add `test-fpucw-ieee' and
19014 (tests-static): New variable.
19015 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19017 [($(build-shared),yes)]
19018 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19020 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19023 2013-09-09 Allan McRae <allan@archlinux.org>
19026 * manual/string.texi (Collation Functions): Fix typo in
19028 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19031 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19034 * libio/memstream.c (open_memstream): Fix memory leak.
19035 * libio/wmemstream.c (open_wmemstream): Likewise.
19038 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19040 2013-09-09 Will Newton <will.newton@linaro.org>
19042 * malloc/Makefile: Add tst-realloc to tests.
19043 * malloc/tst-realloc.c: New file.
19045 2013-09-09 Allan McRae <allan@archlinux.org>
19048 * COPYING: Update from GNU website to fix FSF address.
19049 * COPYING.LIB: Likewise.
19051 2013-09-06 David S. Miller <davem@davemloft.net>
19053 * po/zh_TW.po: Update Chinese (traditional) translation from
19054 translation project.
19056 2013-09-06 Richard Sandiford <richard@codesourcery.com>
19057 Joseph Myers <joseph@codesourcery.com>
19059 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19061 (obstack_chunk_alloc): New macro.
19062 (obstack_chunk_free): Likewise.
19063 (record_offset): New function.
19064 (init_locale_data): Likewise.
19065 (align_locale_data): Likewise.
19066 (add_locale_empty): Likewise.
19067 (add_locale_raw_data): Likewise.
19068 (add_locale_raw_obstack): Likewise.
19069 (add_locale_string): Likewise.
19070 (add_locale_wstring): Likewise.
19071 (add_locale_uint32): Likewise.
19072 (add_locale_uint32_array): Likewise.
19073 (add_locale_char): Likewise.
19074 (start_locale_structure): Likewise.
19075 (end_locale_structure): Likewise.
19076 (start_locale_prelude): Likewise.
19077 (end_locale_prelude): Likewise.
19078 (write_locale_data): Take locale_file structure rather than an
19080 * locale/programs/locfile.h: Include "obstack.h".
19081 (struct locale_file): Change to store locale file contents instead
19083 (init_locale_data): New prototype.
19084 (align_locale_data): Likewise.
19085 (add_locale_empty): Likewise.
19086 (add_locale_raw_data): Likewise.
19087 (add_locale_raw_obstack): Likewise.
19088 (add_locale_string): Likewise.
19089 (add_locale_wstring): Likewise.
19090 (add_locale_uint32): Likewise.
19091 (add_locale_uint32_array): Likewise.
19092 (add_locale_char): Likewise.
19093 (start_locale_structure): Likewise.
19094 (end_locale_structure): Likewise.
19095 (start_locale_prelude): Likewise.
19096 (end_locale_prelude): Likewise.
19097 (write_locale_data): Update prototype.
19098 * locale/programs/3level.h (struct TABLE): Remove result field.
19099 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19100 Use new locale_file interface.
19101 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19102 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19103 * locale/programs/ld-address.c (address_output): Use new
19104 locale_file interface.
19105 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19107 (collate_finish): Don't call collseq_table_finalize.
19108 (collate_output): Use new locale_file interface.
19109 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19111 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19112 (TABLE): Move defines earlier in file.
19113 (ELEMENT): Likewise.
19114 (DEFAULT): Likewise.
19115 (wctrans_table_add): Move macro and inline function earlier in
19117 (struct wctype_table): Move type earlier in file.
19118 (add_locale_wctype_table): New static prototype.
19119 (struct locale_ctype_t): Use logical types instead of struct iovec
19120 pointers for members.
19121 (ctype_output): Use new locale_file interface.
19122 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19123 new locale_file interface.
19124 (allocate_arrays): Update for use of new locale_file interface.
19125 * locale/programs/ld-identification.c (identification_output): Use
19126 new locale_file interface.
19127 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19128 * locale/programs/ld-messages.c (messages_output): Likewise.
19129 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19130 * locale/programs/ld-name.c (name_output): Likewise.
19131 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19132 * locale/programs/ld-paper.c (paper_output): Likewise.
19133 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19134 * locale/programs/ld-time.c (time_output): Likewise.
19136 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19138 * benchtests/Makefile: Add memrchr benchmark.
19139 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19140 benchmark as memrchr.
19141 * benchtests/bench-memrchr-ifunc.c: New file.
19142 * benchtests/bench-memrchr.c: New file.
19144 2013-09-06 Will Newton <will.newton@linaro.org>
19146 * benchtests/Makefile (string-bench): Add memcpy.
19148 2013-09-05 Carlos O'Donell <carlos@redhat.com>
19149 Cong Wang <amwang@redhat.com>
19152 * sysdeps/unix/sysv/linux/bits/in.h
19153 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19154 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19155 before __USE_KERNEL_IPV6_DEFS uses.
19156 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19158 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19159 sockaddr_in6, or ipv6_mreq.
19161 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19163 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19164 memory access for final bytes in some large inputs.
19165 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19167 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19169 * string/test-memrchr.c: New file.
19170 * string/test-memrchr-ifunc.c: New file.
19171 * string/Makefile: Add new memrchr testcase.
19173 2013-09-05 Mike Frysinger <vapier@gentoo.org>
19175 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19176 fanotify_init returns EPERM.
19178 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19180 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19182 (top level): Treat second token from macro or constant entries for
19183 allowed headers as allowed.
19184 * include/complex.h: Condition internal declarations on
19186 * include/fenv.h: Condition include of <stdbool.h> and internal
19187 declarations on [!_ISOMAC].
19189 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19192 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19194 2013-09-04 Joseph Myers <joseph@codesourcery.com>
19196 * configure.in (--enable-versioning): Remove configure option.
19197 (libc_cv_asm_symver_directive): Remove configure test.
19198 (libc_cv_ld_version_script_option): Likewise.
19199 (VERSIONING): Remove variable and AC_SUBST.
19200 (DO_VERSIONING): Remove AC_DEFINE.
19201 * configure: Regenerated.
19202 * config.h.in (DO_VERSIONING): Remove macro.
19203 * Makerules [$(versioning) = yes]: Change conditionals to
19204 [$(build-shared) = yes].
19205 * config.make.in (versioning): Remove variable.
19206 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19207 [$(build-shared) = yes].
19208 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19209 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19210 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19211 [$(build-shared) = yes].
19212 * extra-lib.mk [$(versioning) = yes]: Likewise.
19213 * hurd/Makefile [$(versioning) = yes]: Likewise.
19214 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19216 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19218 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19219 [SHARED && !NO_HIDDEN].
19220 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19222 [SHARED && DO_VERSIONING]: Likewise..
19223 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19224 [$(build-shared) = yes].
19225 * manual/install.texi (--disable-versioning): Remove
19227 * INSTALL: Regenerated.
19228 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19230 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19231 [$(build-shared) = yes].
19232 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19233 * sysdeps/i386/i686/multiarch/strstr-c.c
19234 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19235 [SHARED && !NO_HIDDEN].
19236 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19237 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19238 * sysdeps/powerpc/powerpc32/dl-machine.c
19239 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19240 * sysdeps/powerpc/powerpc32/sysdep.h
19241 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19242 to [SHARED && PIC && !NO_HIDDEN].
19243 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19244 conditional to [SHARED].
19246 2013-09-04 Will Newton <will.newton@linaro.org>
19248 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19249 * benchtests/bench-string.h: Include bench-timing.h instead
19250 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19251 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19252 call to HP_TIMING_DIFF_INIT.
19253 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19254 instead of hp-timing.h macros.
19255 * benchtests/bench-memchr.c: Likewise.
19256 * benchtests/bench-memcmp.c: Likewise.
19257 * benchtests/bench-memcpy.c: Likewise.
19258 * benchtests/bench-memmem.c: Likewise.
19259 * benchtests/bench-memmove.c: Likewise.
19260 * benchtests/bench-memset.c: Likewise.
19261 * benchtests/bench-rawmemchr.c: Likewise.
19262 * benchtests/bench-strcasecmp.c: Likewise.
19263 * benchtests/bench-strcasestr.c: Likewise.
19264 * benchtests/bench-strcat.c: Likewise.
19265 * benchtests/bench-strchr.c: Likewise.
19266 * benchtests/bench-strcmp.c: Likewise.
19267 * benchtests/bench-strcpy.c: Likewise.
19268 * benchtests/bench-strcpy_chk.c: Likewise.
19269 * benchtests/bench-strlen.c: Likewise.
19270 * benchtests/bench-strncasecmp.c: Likewise.
19271 * benchtests/bench-strncat.c: Likewise.
19272 * benchtests/bench-strncmp.c: Likewise.
19273 * benchtests/bench-strncpy.c: Likewise.
19274 * benchtests/bench-strnlen.c: Likewise.
19275 * benchtests/bench-strpbrk.c: Likewise.
19276 * benchtests/bench-strrchr.c: Likewise.
19277 * benchtests/bench-strspn.c: Likewise.
19278 * benchtests/bench-strstr.c: Likewise.
19280 2013-09-04 Will Newton <will.newton@linaro.org>
19282 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19284 2013-09-03 Joseph Myers <joseph@codesourcery.com>
19287 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19288 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19289 * math/libm-test.inc (lgamma_test_data): Add more tests.
19290 * sysdeps/i386/fpu/libm-test-ulps: Update.
19291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19293 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
19295 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
19296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19299 Add strcmp-sse2-unaligned
19300 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
19302 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19304 * Versions.def (libc): Add GLIBC_2.19.
19306 2013-09-02 Mike Frysinger <vapier@gentoo.org>
19308 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
19309 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
19311 2013-09-02 Joseph Myers <joseph@codesourcery.com>
19314 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
19315 intermediate calculations in recurrence.
19316 (__ieee754_ynf): Likewise.
19317 * math/libm-test.inc (jn_test_data): Do not allow spurious
19318 underflow exception. Add more tests.
19319 (yn_test_data): Add more tests.
19320 * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19323 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
19325 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
19327 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19329 * csu/init-first.c: Fix then/than typos.
19330 * locale/programs/ld-collate.c: Likewise.
19331 * locale/programs/linereader.h: Likewise.
19332 * manual/charset.texi: Likewise.
19333 * manual/filesys.texi: Likewise.
19334 * manual/stdio.texi: Likewise.
19335 * manual/string.texi: Likewise.
19336 * stdlib/fmtmsg.c: Likewise.
19337 * sysdeps/i386/stpncpy.S: Likewise.
19338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19339 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19341 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19343 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19345 * elf/dl-open.c: Fix typos.
19346 * iconvdata/gbbig5.c: Likewise.
19347 * iconvdata/iso-2022-jp.c: Likewise.
19348 * iconv/gconv_int.h: Likewise.
19349 * iconv/loop.c: Likewise.
19350 * nis/rpcsvc/nis.h: Likewise.
19351 * resolv/ns_name.c: Likewise.
19352 * stdio-common/vfscanf.c: Likewise.
19353 * streams/stropts.h: Likewise.
19354 * sunrpc/rpc_thread.c: Likewise.
19355 * sysdeps/i386/strpbrk.S: Likewise.
19356 * sysdeps/ieee754/k_standard.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19359 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
19360 * sysdeps/mach/hurd/profil.c: Likewise.
19361 * sysdeps/s390/dl-procinfo.h: Likewise.
19362 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
19363 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
19364 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
19365 * sysdeps/x86_64/dl-trampoline.S: Likewise.
19366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
19368 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
19370 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
19371 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
19373 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19375 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
19376 aix specific files.
19377 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
19378 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
19379 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
19380 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
19381 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
19382 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
19383 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
19386 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19387 Roland McGrath <roland@hack.frob.com>
19389 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
19390 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
19392 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19394 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
19395 __executable_start symbol instead of _start.
19397 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
19399 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
19400 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
19402 * sysdeps/gnu/ldsodefs.h: ... this new file.
19404 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
19405 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
19406 instead of ELFOSABI_LINUX.
19408 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
19409 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
19410 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
19411 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
19413 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
19414 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
19415 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
19417 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19418 (ibm_extended_long_double): Add ieee_nan member.
19419 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
19420 (do_test): New function.
19422 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
19424 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
19425 functions, renamed from truncdfsf_test, trunctfsf_test,
19427 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
19429 (do_test): Run all these.
19431 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
19433 * argp/argp-help.c: Fix typos.
19434 * argp/argp-parse.c: Likewise.
19435 * debug/backtracesyms.c: Likewise.
19436 * elf/elf.h: Likewise.
19437 * malloc/malloc.c: Likewise.
19438 * nis/nis_print.c: Likewise.
19439 * resolv/res_comp.c: Likewise.
19440 * stdlib/stdlib.h: Likewise.
19441 * sunrpc/clnt_tcp.c: Likewise.
19442 * sunrpc/clnt_udp.c: Likewise.
19443 * sunrpc/clnt_unix.c: Likewise.
19444 * sysdeps/unix/bsd/ptsname.c: Likewise.
19445 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19446 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
19447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
19449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
19453 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
19455 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19457 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
19458 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19460 2013-08-27 Mike Frysinger <vapier@gentoo.org>
19463 * dlfcn/Makefile (tests): Add bug-dl-leaf.
19464 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
19465 ($(objpfx)bug-dl-leaf): New rule.
19466 ($(objpfx)bug-dl-leaf.so): Likewise.
19467 ($(objpfx)bug-dl-leaf.out): Likewise.
19468 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
19469 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
19470 * dlfcn/bug-dl-leaf.c: New test.
19471 * dlfcn/bug-dl-leaf-lib.c: Likewise.
19472 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
19473 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
19474 (dlclose): Likewise.
19475 (dlmopen): Likewise.
19477 2013-08-27 Roland McGrath <roland@hack.frob.com>
19479 * include/netdb.h [!_ISOMAC]:
19480 Don't include <tls.h>.
19481 (h_errno, __libc_h_errno): Move declaration and macros out of
19484 * include/resolv.h [_RESOLV_H_]:
19485 Don't include <tls.h>.
19486 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
19487 * resolv/res_libc.c: Don't include <tls.h>.
19488 (_res): Use __attribute__ ((nocommon)) in place of
19489 __attribute__ ((section (".bss"))).
19491 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
19492 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
19494 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
19496 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
19497 only under [SIOCGIFCONF && SIOCGIFNETMASK].
19499 * resolv/res_mkquery.c: Include <sys/time.h>.
19501 * inet/ifreq.c: Moved to ...
19502 * sysdeps/unix/ifreq.c: ... here.
19503 * inet/ifreq.c: New file, true stub version.
19505 * socket/sa_len.c: New file.
19506 * socket/Makefile (aux): Add it.
19507 * sysdeps/unix/sysv/linux/Makefile
19508 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
19509 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
19510 and #include <socket/sa_len.c>.
19511 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
19512 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
19514 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
19515 * bits/socket.h: ... here.
19517 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
19518 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
19519 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
19521 2013-08-27 Andreas Schwab <schwab@suse.de>
19524 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
19525 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
19526 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
19527 * string/test-strcasecmp.c (test_main): Run tests in several
19529 * string/test-strncasecmp.c (test_main): Likewise.
19531 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
19532 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
19533 to __strcasecmp_nonascii and __strncasecmp_nonascii.
19534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
19535 (__strncasecmp_ssse3) [PIC]: Likewise.
19537 2013-08-26 Roland McGrath <roland@hack.frob.com>
19539 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
19541 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
19542 instead of explicitly declaring xdecrypt.
19543 * nis/nss_nis/nis-publickey.c: Likewise.
19545 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19548 * nscd/aicache.c: Include res_hconf.h.
19549 (addhstaiX): Initialize res_hconf.
19551 2013-08-26 Andreas Schwab <schwab@suse.de>
19553 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
19554 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
19556 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19558 * nscd/aicache.c (addhstaiX): Fix indentation.
19560 2013-08-25 Mike Frysinger <vapier@gentoo.org>
19562 * configure.ac: Quote $build_pt_chown test.
19563 * configure: Regenerated.
19565 2013-08-23 Joseph Myers <joseph@codesourcery.com>
19568 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
19569 * math/s_cexpf.c (__cexpf): Likewise.
19570 * math/s_cexpl.c (__cexpl): Likewise.
19571 * math/libm-test.inc (cexp_test_data): Correct expected return
19572 value for NaN + i0. Add another test.
19574 2013-08-22 David S. Miller <davem@davemloft.net>
19576 * po/ca.po: Update Catalan translation from translation project.
19577 * po/uk.po: Add Ukrainian translations from translation project.
19579 2013-08-21 Joseph Myers <joseph@codesourcery.com>
19582 * math/s_fdim.c (__fdim): Check for infinite arguments if result
19583 is infinite, not alongside NaN test.
19584 * math/s_fdimf.c (__fdimf): Likewise.
19585 * math/s_fdiml.c (__fdiml): Likewise.
19586 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
19587 errno is unchanged.
19589 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
19591 * argp/argp-help.c: Fix typos.
19592 * crypt/speeds.c: Likewise.
19593 * csu/check_fds.c: Likewise.
19594 * elf/dl-load.c: Likewise.
19595 * elf/dl-open.c: Likewise.
19596 * elf/reldep3.c: Likewise.
19597 * elf/reldep.c: Likewise.
19598 * elf/sprof.c: Likewise.
19599 * iconv/iconv_charmap.c: Likewise.
19600 * iconv/skeleton.c: Likewise.
19601 * iconv/strtab.c: Likewise.
19602 * io/lockf64.c: Likewise.
19603 * libio/libioP.h: Likewise.
19604 * resolv/gai_notify.c: Likewise.
19605 * resolv/ns_name.c: Likewise.
19606 * resolv/ns_samedomain.c: Likewise.
19607 * resolv/res_send.c: Likewise.
19608 * stdlib/random.c: Likewise.
19609 * sunrpc/rpc/xdr.h: Likewise.
19610 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
19611 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19612 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19613 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19614 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19617 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19618 * sysdeps/mach/hurd/check_fds.c: Likewise.
19619 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19620 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19623 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19624 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19625 * sysdeps/pthread/aio_notify.c: Likewise.
19626 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
19627 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
19628 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
19629 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
19630 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19632 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19634 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
19635 version if bit_Slow_SSE4_2 is set.
19636 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19637 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19639 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19642 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
19643 trampoline stack frame information.
19644 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
19645 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
19646 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
19647 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
19648 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
19649 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19650 (_libc_vdso_platform_setup): Initialize the signal trampolines.
19651 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
19653 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
19654 interrupting a syscall and set with option SA_SIGINFO.
19656 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19659 * math/s_cproj.c (__cproj): Only return an infinity if one part of
19660 argument is infinite.
19661 * math/s_cprojf.c (__cprojf): Likewise.
19662 * math/s_cprojl.c (__cprojl): Likewise.
19663 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
19664 * math/libm-test.inc (cproj_test_data): Add more tests.
19666 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
19668 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
19669 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
19670 size. Use __ffs to determine corresponding shift.
19672 2013-08-20 Joseph Myers <joseph@codesourcery.com>
19673 Roland McGrath <roland@hack.frob.com>
19675 * Makefile (INSTALL): Remove trailing blank lines from output of
19678 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19680 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
19681 Align 32 bit compat elf_greg to 8 bytes.
19683 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
19685 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
19687 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19689 * string/strcoll_l.c (coll_seq): New structure.
19690 (get_next_seq_cached): New function.
19691 (get_next_seq): New function.
19692 (do_compare): New function.
19693 (STRCOLL): Use GNU style definition. Simplify implementation
19694 by using get_next_seq, get_next_seq_cached and do_compare.
19696 2013-08-16 Florian Weimer <fweimer@redhat.com>
19700 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19702 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
19704 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
19705 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
19706 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
19708 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
19709 GETDENTS_64BIT_ALIGNED.
19710 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19711 * manual/filesys.texi (Reading/Closing Directory): Document
19712 ENAMETOOLONG return value of readdir_r. Recommend readdir more
19714 * manual/conf.texi (Limits for Files): Add portability note to
19715 NAME_MAX, PATH_MAX.
19716 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
19718 2013-08-13 Andreas Schwab <schwab@suse.de>
19721 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
19723 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
19724 LDBL_MAX_EXP >= 16384]: Add tests for it.
19726 2013-08-12 David S. Miller <davem@davemloft.net>
19728 * version.h (RELEASE): Set to "development".
19729 (VERSION): Set to "2.18.90".
19730 * NEWS: Add 2.19 section.
19732 2013-08-03 David S. Miller <davem@davemloft.net>
19734 * po/ko.po: Update Korean translation from translation project.
19736 2013-08-01 David S. Miller <davem@davemloft.net>
19738 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
19739 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
19742 2013-07-30 David S. Miller <davem@davemloft.net>
19744 * po/fr.po: Update French translation from translation project.
19746 2013-07-28 David S. Miller <davem@davemloft.net>
19748 * po/cs.po: Update Czech translation from translation project.
19750 * po/sv.po: Update Swedish translation from translation project.
19752 2013-07-27 David S. Miller <davem@davemloft.net>
19754 * po/eo.po: Update Esperanto translation from translation project.
19756 * po/vi.po: Update Vietnamese translation from translation project.
19758 * po/de.po: Update German translation from translation project.
19760 2013-07-26 David S. Miller <davem@davemloft.net>
19762 * po/bg.po: Update Bulgarian translation from translation project.
19764 * po/nl.po: Update Dutch translation from translation project.
19765 * po/pl.po: Update Polish translation from translation project.
19766 * po/ru.po: Update Russian translation from translation project.
19768 2013-07-24 David S. Miller <davem@davemloft.net>
19770 * po/libc.pot: Update.
19772 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19774 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
19775 variable page size.
19776 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
19777 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
19778 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
19780 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19782 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
19784 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19785 Andreas Schwab <schwab@suse.de>
19786 Roland McGrath <roland@hack.frob.com>
19787 Joseph Myers <joseph@codesourcery.com>
19788 Carlos O'Donell <carlos@redhat.com>
19791 * config.h.in: Define HAVE_PT_CHOWN.
19792 * config.make.in (build-pt-chown): New variable.
19793 * configure.in (--enable-pt_chown): New configure option.
19794 * configure: Regenerate.
19795 * login/Makefile: Include Makeconfig. Build pt_chown only if
19796 build-pt-chown is enabled.
19797 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
19798 pt_chown to fix pty ownership.
19799 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
19801 * manual/install.texi (Configuring and compiling): Mention
19802 --enable-pt_chown. Add @findex for grantpt.
19803 * INSTALL: Regenerate.
19805 2013-07-20 David S. Miller <davem@davemloft.net>
19807 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
19808 difference between 32-bit and 64-bit.
19810 2013-07-15 Carlos O'Donell <carlos@redhat.com>
19813 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
19814 Avoid system header dependency with -ffreestanding.
19815 ($(objpfx)bits/syscall%d): Likewise.
19817 2013-07-13 David S. Miller <davem@davemloft.net>
19819 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
19820 underflows from atanl/atan2l due to bug 15319.
19821 (casinh_test_data): Likewise.
19823 2013-07-07 David S. Miller <davem@davemloft.net>
19825 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
19827 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
19829 * sysdeps/i386/fpu/libm-test-ulps: Update.
19830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19832 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19834 * configure.in (--enable-lock-elision): Fix message text.
19835 * INSTALL: Regenerate.
19836 * configure: Regenerate.
19838 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19842 2013-07-03 Andreas Jaeger <aj@suse.de>
19844 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
19846 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
19847 (ptrace_peeksiginfo_args): Add.
19848 (__ptrace_peeksiginfo_flags): Add.
19849 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19850 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19851 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19853 2013-07-03 Allan McRae <allan@archlinux.org>
19855 * sysdeps/i386/fpu/libm-test-ulps: Update.
19857 2013-07-02 David S. Miller <davem@davemloft.net>
19859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19861 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
19863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19865 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19867 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19870 2013-07-02 Andi Kleen <ak@linux.intel.com>
19872 * config.h.in (ENABLE_LOCK_ELISION): Add.
19873 * configure.in (--enable-lock-elision): Add option.
19874 * manual/install.texi: Document --enable lock elision.
19875 * configure: Regenerate
19876 * INSTALL: Regenerate.
19878 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
19880 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
19881 SSE4.2 strcasecmp for libc.a.
19882 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
19884 2013-07-02 Joseph Myers <joseph@codesourcery.com>
19887 * soft-fp/op-common.h (_FP_FMA): New macro.
19888 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
19889 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
19890 (_FP_MUL_MEAT_1_imm): ... here.
19891 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
19892 (_FP_MUL_MEAT_1_wide): ... here.
19893 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
19894 (_FP_MUL_MEAT_1_hard): ... here.
19895 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
19896 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
19897 (_FP_MUL_MEAT_2_wide): ... here.
19898 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
19899 (_FP_MUL_MEAT_2_wide_3mul): ... here.
19900 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
19901 (_FP_MUL_MEAT_2_gmp): ... here.
19902 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
19903 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
19904 (_FP_MUL_MEAT_4_wide): ... here.
19905 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
19906 (_FP_MUL_MEAT_4_gmp): ... here.
19907 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
19908 (_FP_WFRACBITS_DW_S): Likewise.
19909 (_FP_WFRACXBITS_DW_S): Likewise.
19910 (_FP_HIGHBIT_DW_S): Likewise.
19911 (FP_FMA_S): Likewise.
19912 (_FP_FRAC_HIGH_DW_S): Likewise.
19913 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
19914 (_FP_WFRACBITS_DW_D): Likewise.
19915 (_FP_WFRACXBITS_DW_D): Likewise.
19916 (_FP_HIGHBIT_DW_D): Likewise.
19917 (FP_FMA_D): Likewise.
19918 (_FP_FRAC_HIGH_DW_D): Likewise.
19919 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
19920 (_FP_WFRACBITS_DW_E): Likewise.
19921 (_FP_WFRACXBITS_DW_E): Likewise.
19922 (_FP_HIGHBIT_DW_E): Likewise.
19923 (FP_FMA_E): Likewise.
19924 (_FP_FRAC_HIGH_DW_E): Likewise.
19925 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
19926 (_FP_WFRACBITS_DW_Q): Likewise.
19927 (_FP_WFRACXBITS_DW_Q): Likewise.
19928 (_FP_HIGHBIT_DW_Q): Likewise.
19929 (FP_FMA_Q): Likewise.
19930 (_FP_FRAC_HIGH_DW_Q): Likewise.
19931 * soft-fp/fmasf4.c: New file.
19932 * soft-fp/fmadf4.c: Likewise.
19933 * soft-fp/fmatf4.c: Likewise.
19935 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
19938 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
19940 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
19942 (index_Slow_SSE4_2): Likewise.
19943 (index_Prefer_PMINUB_for_stringop): Likewise.
19944 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
19945 bit_Slow_SSE4_2 is set.
19946 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19949 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19951 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
19952 rtld_global._dl_hwcap2.
19953 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
19955 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
19956 POWER8 feature descriptions defined in _dl_hwcap2.
19957 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
19958 string handling for POWER8 feature bits.
19959 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
19960 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
19961 _dl_powerpc_cap_flags.
19962 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
19963 * sysdeps/powerpc/rtld-global-offsets.sym
19964 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
19965 _dl_hwcap2 in the rtld_global_ro structure.
19967 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19969 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
19970 hardware capabilities in support of AT_HWCAP2.
19971 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
19972 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
19974 (_dl_show_auxv): Add support for calling _dl_procinfo to display
19975 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
19976 explicitly the unknown a_type display mechanism is used.
19977 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
19978 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
19980 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
19981 to macro prototype for AT_HWCAP2 support.
19982 * sysdeps/i386/dl-procinfo.h: Likewise.
19983 * sysdeps/s390/dl-procinfo.h: Likewise.
19984 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19985 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
19986 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
19987 return -1 for unknown a_type display fallback.
19988 * sysdeps/sparc/dl-procinfo.h: Likewise.
19989 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
19990 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
19992 2013-06-28 Joseph Myers <joseph@codesourcery.com>
19994 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
19995 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
19997 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20000 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20001 mprotect making __stack_prot writable.
20003 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20004 Joseph Myers <joseph@codesourcery.com>
20006 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20007 as being properly aligned.
20009 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20011 * dlfcn/modstatic5.c: New file.
20012 * dlfcn/tststatic5.c: New file.
20013 * dlfcn/Makefile (tests): Add tststatic5.
20014 (tests-static): Likewise.
20015 (modules-names): Add modstatic5.
20016 (tststatic5-ENV): New variable.
20017 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20020 * elf/dl-support.c (_dl_main_map): New variable.
20021 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20022 (_dl_nns, _dl_load_adds): Set to 1.
20023 (_dl_initial_searchlist): Refer to _dl_main_map.
20024 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20025 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20026 call to _dl_get_origin.
20027 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20029 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20030 * dlfcn/modstatic3.c: New file.
20031 * dlfcn/tststatic3.c: New file.
20032 * dlfcn/tststatic4.c: New file.
20033 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20034 (tests-static): Likewise.
20035 (modules-names): Add modstatic3.
20036 (tststatic3-ENV, tststatic4-ENV): New variables.
20037 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20038 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20040 2013-06-26 Joseph Myers <joseph@codesourcery.com>
20042 * configure.in (CC): Require GCC version 4.4 or later.
20043 * configure: Regenerated.
20044 * manual/install.texi (Tools for Compilation): Update GCC version
20046 * INSTALL: Regenerated.
20048 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20051 * string/test-memcmp.c (check2): New.
20052 (main): Call check2.
20054 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20056 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20059 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20061 (dl_open_worker) [!SHARED]: ... here.
20063 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20065 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20067 2013-06-25 Richard Henderson <rth@redhat.com>
20069 * locale/programs/locarchive.c: Include <libc-internal.h>
20071 2013-06-25 Joseph Myers <joseph@codesourcery.com>
20073 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20074 trailing whitespace removed.
20076 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20079 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20080 * locale/programs/locarchive.c: Include libc-mmap.h.
20081 (prepare_address_space): Take two new outputs (the mmap base and len).
20082 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20084 (create_archive): Declare new mmap base and len values for
20085 prepare_address_space, and store the result in ah.
20086 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20087 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20088 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20089 Declare new mmap base and len values for
20090 prepare_address_space, and store the result in new_ah.
20091 (open_archive): Declare new mmap base and len values for
20092 prepare_address_space, and store the result in ah.
20093 (close_archive): If ah->mmap_base is not NULL, use that and
20094 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20095 * sysdeps/generic/libc-mmap.h: New file.
20097 2013-06-24 Mike Frysinger <vapier@gentoo.org>
20099 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20100 (ALIGN_UP): Likewise.
20101 (PTR_ALIGN_DOWN): Likewise.
20102 (PTR_ALIGN_UP): Likewise.
20104 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20106 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20107 entry mapped to PPC_PLATFORM_POWER8.
20108 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20110 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20111 (_dl_string_platform): Add case for exporting platform position for
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20114 search path to sysdeps/powerpc/powerpc32/power8 directory.
20115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20116 search path to sysdeps/powerpc/powerpc64/power8 directory.
20117 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20118 power7 directories.
20119 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20120 power7 directories.
20122 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20124 * INSTALL: Regenerate.
20126 * nscd/connections.c (nscd_init): Fix comment.
20128 2013-06-22 Joseph Myers <joseph@codesourcery.com>
20130 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20133 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20134 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20136 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20138 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20140 (DL_DST_REQ_STATIC): Remove macro.
20142 2013-06-21 Joseph Myers <joseph@codesourcery.com>
20145 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20146 with a shift of 0 bits.
20148 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20150 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20153 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20156 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20158 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20160 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20161 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20162 accepts -fno-tree-loop-distribute-patterns.
20163 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20164 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20166 * string/memset.c (memset): Likewise.
20167 * string/test-memmove.c (simple_memmove): Disable loop transformation
20169 * string/test-memset.c (simple_memset): Likewise.
20170 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20171 * benchtests/bench-memset.c (simple_memset): Likewise.
20172 * configure: Regenerated.
20174 2013-06-20 Joseph Myers <joseph@codesourcery.com>
20176 * math/test-misc.c (main): Ignore fesetround failure when failures
20177 of subsequent rounding tests would be ignored.
20180 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20181 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20182 * math/fegetenv.c (__fegetenv): Return 0.
20183 * math/fegetexcept.c (fegetexcept): Return 0.
20184 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20186 * math/feholdexcpt.c (feholdexcept): Return 0.
20187 * math/fesetenv.c (__fesetenv): Return 0.
20188 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20189 argument FE_TONEAREST.
20190 * math/feupdateenv.c (__feupdateenv): Return 0.
20191 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20193 2013-06-18 Roland McGrath <roland@hack.frob.com>
20195 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20196 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20197 ($(objpfx)rtld-%.os rules): Use them.
20199 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20201 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20204 2013-06-17 Roland McGrath <roland@hack.frob.com>
20206 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20207 length of target pattern, then descending length of dependency pattern.
20208 * configure.in (AWK): Require gawk 3.1.2 or newer.
20209 * manual/install.texi (Tools for Compilation): Say that we do.
20210 * configure: Regenerated.
20212 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20213 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20214 * scripts/sysd-rules.awk: ... this new script.
20215 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20216 than a glob-style pattern.
20218 2013-06-17 Joseph Myers <joseph@codesourcery.com>
20220 * math/test-misc.c (main): Do not treat incorrectly rounded
20221 conversions as failure unless ROUNDING_TESTS passes.
20223 2013-06-15 Joseph Myers <joseph@codesourcery.com>
20226 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20227 restore exception state around main square root computation, then
20228 check for inexactness explicitly.
20230 * math/libm-test.inc (fma_test_data): Add another test.
20232 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20234 * manual/threads.texi (Non-POSIX Extensions): New document
20235 node. Document pthread_getattr_default_np and
20236 pthread_setattr_default_np.
20238 * Versions.def (libpthread): Add GLIBC_2.18.
20239 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20246 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20248 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20259 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20262 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20264 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20265 H.J. Lu <hjl.tools@gmail.com>
20268 * sysdeps/x86_64/rtld-memset.c: Remove file.
20269 * sysdeps/x86_64/rtld-memset.S: New file.
20271 2013-06-14 Joseph Myers <joseph@codesourcery.com>
20273 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20274 (test_in_one_mode): Take arguments for whether the rounding mode
20275 is supported for each floating-point type.
20276 (do_test): Pass new arguments to test_in_one_mode using
20279 2013-06-13 Roland McGrath <roland@hack.frob.com>
20281 * posix/tst-waitid.c (do_test): Distinguish different instances of
20282 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20283 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20284 before entering the kernel for waitpid.
20286 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20288 * NEWS: Fix note on clock function precision. Text by Roland
20291 2013-06-13 Roland McGrath <roland@hack.frob.com>
20293 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
20294 it into place only when and if the sanity check passes.
20296 2013-06-13 Joseph Myers <joseph@codesourcery.com>
20298 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
20299 output for whether conversion result is exact. Take argument
20300 indicating whether type is IBM long double.
20301 (round_for_all): Change need_exact field to ibm_ld.
20302 * stdlib/tst-strtod-round.c (struct exactness): New type.
20303 (struct test): Change bool ld_ok field to struct exactness exact.
20304 (TEST): Update all definitions for change to field.
20305 (tests): Regenerate array contents.
20306 (test_in_one_mode): Take pointer to new field instead of old ld_ok
20307 field value. Check for IBM long double here.
20308 (do_test): Update calls to test_in_one_mode.
20310 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20313 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
20314 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
20316 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20319 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
20320 generated by the compiler on loop optimizations.
20321 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
20322 general definitions.
20324 2013-06-12 Joseph Myers <joseph@codesourcery.com>
20326 * math/bug-nextafter.c: Include <math-tests.h>.
20327 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20329 * math/bug-nexttoward.c: Include <math-tests.h>.
20330 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20332 * math/test-misc.c: Include <math-tests.h>.
20333 (main): Only test for exceptions if EXCEPTION_TESTS is true for
20336 2013-06-12 Andreas Jaeger <aj@suse.de>
20338 * po/ia.po: Update Interlingua translation from translation
20341 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20343 * include/fenv.h: Include stdbool.h.
20344 (struct rm_ctx): New structure.
20345 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
20347 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
20348 (SET_RESTORE_ROUNDF): Likewise.
20349 (SET_RESTORE_ROUNDL): Likewise.
20350 (SET_RESTORE_ROUND_NOEX): Likewise.
20351 (SET_RESTORE_ROUND_NOEXF): Likewise.
20352 (SET_RESTORE_ROUND_NOEXL): Likewise.
20353 (SET_RESTORE_ROUND_53BIT): Likewise.
20354 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
20355 (libc_feresetround_noexf_ctx): Likewise.
20356 (libc_feresetround_noexl_ctx): Likewise.
20357 (libc_feholdsetround_53bit_ctx): Likewise.
20358 (libc_feresetround_53bit_ctx): Likewise.
20359 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
20360 (libc_feholdexcept_setround_sse_ctx): New function.
20361 (libc_fesetenv_sse_ctx): Likewise.
20362 (libc_feupdateenv_sse_ctx): Likewise.
20363 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
20364 (libc_feholdexcept_setround_387_ctx): Likewise.
20365 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
20366 (libc_feholdsetround_387_prec_ctx): Likewise.
20367 (libc_feholdsetround_387_ctx): Likewise.
20368 (libc_feholdsetround_387_53bit_ctx): Likewise.
20369 (libc_feholdsetround_sse_ctx): Likewise.
20370 (libc_feresetround_sse_ctx): Likewise.
20371 (libc_feresetround_387_ctx): Likewise.
20372 (libc_feupdateenv_387_ctx): Likewise.
20373 (libc_feholdexcept_setroundf_ctx): Define macro.
20374 (libc_fesetenvf_ctx): Likewise.
20375 (libc_feupdateenvf_ctx): Likewise.
20376 (libc_feholdsetroundf_ctx): Likewise.
20377 (libc_feresetroundf_ctx): Likewise.
20378 (libc_feholdexcept_setround_ctx): Likewise.
20379 (libc_fesetenv_ctx): Likewise.
20380 (libc_feupdateenv_ctx): Likewise.
20381 (libc_feholdsetround_ctx): Likewise.
20382 (libc_feresetround_ctx): Likewise.
20383 (libc_feholdexcept_setroundl_ctx): Likewise.
20384 (libc_feupdateenvl_ctx): Likewise.
20385 (libc_feholdsetroundl_ctx): Likewise.
20386 (libc_feresetroundl_ctx): Likewise.
20387 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
20388 (libc_feresetround_53bit_ctx): Likewise.
20390 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20392 * locale/iso-639.def: Convert to UTF-8.
20394 2013-06-11 Joseph Myers <joseph@codesourcery.com>
20396 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
20397 (EXCEPTION_TESTS_double): Likewise.
20398 (EXCEPTION_TESTS_long_double): Likewise.
20399 (EXCEPTION_TESTS): Likewise.
20400 * math/libm-test.inc (test_exceptions): Only test exceptions if
20401 EXCEPTION_TESTS (FLOAT).
20403 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20405 * benchtests/Makefile (string-bench): Add strcpy_chk and
20407 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
20408 * benchtests/bench-stpcpy_chk.c: New file.
20409 * benchtests/bench-strcpy_chk-ifunc.c: New file.
20410 * benchtests/bench-strcpy_chk.c: New file.
20411 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
20413 (do_test): Likewise.
20415 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20417 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
20418 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
20419 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
20420 with tabs where appropriate.
20421 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
20423 [PPC_PLATFORM_PPC440]: Likewise.
20424 [PPC_PLATFORM_PPC464]: Likewise.
20425 [PPC_PLATFORM_PPC476]: Likewise.
20426 (_dl_string_platform): Add support for detecting ppc405, ppc440,
20427 ppc464, and ppc476 platform strings merging from ports/
20430 2013-06-11 Andreas Schwab <schwab@suse.de>
20433 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
20434 (from_ucs4_idx): Regenerate.
20435 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
20436 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
20437 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
20438 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
20439 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
20440 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
20441 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
20442 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
20443 from FROM_LOOP and TO_LOOP specific macros.
20444 (BODY): Handle combining characters.
20445 * iconvdata/BIG5HKSCS.irreversible: Update.
20446 * iconvdata/BIG5HKSCS.precomposed: New file.
20447 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
20449 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
20451 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20453 * include/sys/time.h: Fix indentation and add copyright header.
20455 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
20456 (do_test): Likewise.
20457 * string/test-memchr.c (do_one_test): Likewise.
20458 (do_test): Likewise.
20459 * string/test-memcmp.c (do_one_test): Likewise.
20460 (do_test): Likewise.
20461 * string/test-memcpy.c (do_one_test): Likewise.
20462 (do_test): Likewise.
20463 * string/test-memmem.c (do_one_test): Likewise.
20464 (do_test): Likewise.
20465 (do_random_tests): Likewise.
20466 * string/test-memmove.c (do_one_test): Likewise.
20467 (do_test): Likewise.
20468 * string/test-memset.c (do_one_test): Likewise.
20469 (do_test): Likewise.
20470 * string/test-rawmemchr.c (do_one_test): Likewise.
20471 (do_test): Likewise.
20472 * string/test-strcasecmp.c (do_one_test): Likewise.
20473 (do_test): Likewise.
20474 * string/test-strcasestr.c (do_one_test): Likewise.
20475 (do_test): Likewise.
20476 * string/test-strcat.c (do_one_test): Likewise.
20477 (do_test): Likewise.
20478 * string/test-strchr.c (do_one_test): Likewise.
20479 (do_test): Likewise.
20480 * string/test-strcmp.c (do_one_test): Likewise.
20481 (do_test): Likewise.
20482 * string/test-strcpy.c (do_one_test): Likewise.
20483 (do_test): Likewise.
20484 * string/test-string.h: Likewise.
20485 (test_init): Likewise.
20486 * string/test-strlen.c (do_one_test): Likewise.
20487 (do_test): Likewise.
20488 * string/test-strncasecmp.c (do_one_test): Likewise.
20489 (do_test): Likewise.
20490 * string/test-strncat.c (do_one_test): Likewise.
20491 (do_test): Likewise.
20492 * string/test-strncmp.c (do_one_test): Likewise.
20493 (do_test_limit): Likewise.
20494 (do_test): Likewise.
20495 * string/test-strncpy.c (do_one_test): Likewise.
20496 (do_test): Likewise.
20497 * string/test-strnlen.c (do_one_test): Likewise.
20498 (do_test): Likewise.
20499 * string/test-strpbrk.c (do_one_test): Likewise.
20500 (do_test): Likewise.
20501 * string/test-strrchr.c (do_one_test): Likewise.
20502 (do_test): Likewise.
20503 * string/test-strspn.c (do_one_test): Likewise.
20504 (do_test): Likewise.
20505 * string/test-strstr.c (do_one_test): Likewise.
20506 (do_test): Likewise.
20508 * benchtests/Makefile (string-bench): Add string benchmarks.
20509 * benchtests/bench-bcopy-ifunc.c: New file.
20510 * benchtests/bench-bcopy.c: New file.
20511 * benchtests/bench-bzero-ifunc.c: New file.
20512 * benchtests/bench-bzero.c: New file.
20513 * benchtests/bench-memccpy-ifunc.c: New file.
20514 * benchtests/bench-memccpy.c: New file.
20515 * benchtests/bench-memchr-ifunc.c: New file.
20516 * benchtests/bench-memchr.c: New file.
20517 * benchtests/bench-memcmp-ifunc.c: New file.
20518 * benchtests/bench-memcmp.c: New file.
20519 * benchtests/bench-memmem-ifunc.c: New file.
20520 * benchtests/bench-memmem.c: New file.
20521 * benchtests/bench-memmove-ifunc.c: New file.
20522 * benchtests/bench-memmove.c: New file.
20523 * benchtests/bench-mempcpy-ifunc.c: New file.
20524 * benchtests/bench-mempcpy.c: New file.
20525 * benchtests/bench-memset-ifunc.c: New file.
20526 * benchtests/bench-memset.c: New file.
20527 * benchtests/bench-rawmemchr-ifunc.c: New file.
20528 * benchtests/bench-rawmemchr.c: New file.
20529 * benchtests/bench-stpcpy-ifunc.c: New file.
20530 * benchtests/bench-stpcpy.c: New file.
20531 * benchtests/bench-stpncpy-ifunc.c: New file.
20532 * benchtests/bench-stpncpy.c: New file.
20533 * benchtests/bench-strcasecmp-ifunc.c: New file.
20534 * benchtests/bench-strcasecmp.c: New file.
20535 * benchtests/bench-strcasestr-ifunc.c: New file.
20536 * benchtests/bench-strcasestr.c: New file.
20537 * benchtests/bench-strcat-ifunc.c: New file.
20538 * benchtests/bench-strcat.c: New file.
20539 * benchtests/bench-strchr-ifunc.c: New file.
20540 * benchtests/bench-strchr.c: New file.
20541 * benchtests/bench-strchrnul-ifunc.c: New file.
20542 * benchtests/bench-strchrnul.c: New file.
20543 * benchtests/bench-strcmp-ifunc.c: New file.
20544 * benchtests/bench-strcmp.c: New file.
20545 * benchtests/bench-strcpy-ifunc.c: New file.
20546 * benchtests/bench-strcpy.c: New file.
20547 * benchtests/bench-strcspn-ifunc.c: New file.
20548 * benchtests/bench-strcspn.c: New file.
20549 * benchtests/bench-strlen-ifunc.c: New file.
20550 * benchtests/bench-strlen.c: New file.
20551 * benchtests/bench-strncasecmp-ifunc.c: New file.
20552 * benchtests/bench-strncasecmp.c: New file.
20553 * benchtests/bench-strncat-ifunc.c: New file.
20554 * benchtests/bench-strncat.c: New file.
20555 * benchtests/bench-strncmp-ifunc.c: New file.
20556 * benchtests/bench-strncmp.c: New file.
20557 * benchtests/bench-strncpy-ifunc.c: New file.
20558 * benchtests/bench-strncpy.c: New file.
20559 * benchtests/bench-strnlen-ifunc.c: New file.
20560 * benchtests/bench-strnlen.c: New file.
20561 * benchtests/bench-strpbrk-ifunc.c: New file.
20562 * benchtests/bench-strpbrk.c: New file.
20563 * benchtests/bench-strrchr-ifunc.c: New file.
20564 * benchtests/bench-strrchr.c: New file.
20565 * benchtests/bench-strspn-ifunc.c: New file.
20566 * benchtests/bench-strspn.c: New file.
20567 * benchtests/bench-strstr-ifunc.c: New file.
20568 * benchtests/bench-strstr.c: New file.
20570 * benchtests/Makefile: Disable parallel execution of targets.
20571 (string-bench): Add memcpy.
20572 (benchset): New variable to store a list of benchmark sets.
20573 (bench-func): Renamed from bench.
20574 (bench-set): New target.
20575 (bench): Depend on bench-func and bench-set.
20576 * benchtests/README: Add section on benchmark sets.
20577 * benchtests/bench-memcpy-ifunc.c: New file.
20578 * benchtests/bench-memcpy.c: New file.
20579 * benchtests/bench-string.h: New file.
20581 2013-06-11 Andreas Schwab <schwab@suse.de>
20584 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
20585 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
20586 values in the triple.
20587 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
20588 terminator in the group key.
20590 2013-06-11 Andreas Jaeger <aj@suse.de>
20592 * po/zh_TW.po: Update Chinese (traditional) translation from
20593 translation project.
20595 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20597 * include/time.h (__clock_gettime): Add libc_hidden_proto.
20598 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
20599 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
20600 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20601 (clock_getcpuclockid): Likewise.
20602 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
20603 Add weak_alias and libc_hidden_def.
20604 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
20605 * rt/clock_gettime.c (clock_gettime): Rename to
20606 __clock_gettime. Add weak_alias and libc_hidden_def.
20607 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
20608 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
20609 __clock_nanosleep. Add weak_alias and libc_hidden_def.
20610 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
20611 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
20613 * rt/clock_settime.c (clock_settime): Rename to
20614 __clock_settime. Add weak_alias and libc_hidden_def.
20615 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
20617 2013-06-10 Joseph Myers <joseph@codesourcery.com>
20619 * mach/err_boot.sub: Remove trailing whitespace.
20620 * mach/err_ipc.sub: Likewise.
20621 * mach/err_mach.sub: Likewise.
20623 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
20624 (ROUNDING_TESTS_double): Likewise.
20625 (ROUNDING_TESTS_long_double): Likewise.
20626 (ROUNDING_TESTS): Likewise.
20627 * math/libm-test.inc: Include <math-tests.h>.
20628 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
20629 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
20630 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
20631 (IF_ROUND_INIT_FE_UPWARD): Likewise.
20633 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20635 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
20638 2013-06-08 Joseph Myers <joseph@codesourcery.com>
20640 * sysdeps/gnu/errlist.awk: Do not generate space at end of
20641 otherwise empty TRANS lines.
20642 * sysdeps/gnu/errlist.c: Regenerated.
20644 * catgets/gencat.c (error_print): Use (void) in function
20646 * crypt/crypt_util.c (__init_des): Likewise.
20647 * crypt/speeds.c (Stop): Likewise.
20649 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
20650 * inet/ruserpass.c (token): Likewise.
20651 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
20652 * intl/localealias.c (extend_alias_table): Likewise.
20653 * intl/plural-exp.c (init_germanic_plural): Likewise.
20654 * libio/fcloseall.c (__fcloseall): Likewise.
20655 * libio/genops.c (_IO_flush_all): Likewise.
20656 (_IO_flush_all_linebuffered): Likewise.
20657 (_IO_cleanup): Likewise.
20658 (_IO_iter_begin): Likewise.
20659 (_IO_iter_end): Likewise.
20660 (_IO_list_lock): Likewise.
20661 (_IO_list_unlock): Likewise.
20662 (_IO_list_resetlock): Likewise.
20663 * libio/getchar.c (getchar): Likewise.
20664 * libio/getchar_u.c (getchar_unlocked): Likewise.
20665 * libio/getwchar.c (getwchar): Likewise.
20666 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
20667 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
20668 * login/getpt.c (__getpt): Likewise.
20669 * login/tst-utmp.c (main): Likewise.
20670 * malloc/hooks.c (__malloc_check_init): Likewise.
20671 * malloc/malloc.c (__malloc_stats): Likewise.
20672 * malloc/mtrace.c (tr_break): Likewise.
20673 (mtrace): Likewise.
20674 (muntrace): Likewise.
20675 * misc/fstab.c (endfsent): Likewise.
20676 * misc/getclktck.c (__getclktck): Likewise.
20677 * misc/getdtsz.c (__getdtablesize): Likewise.
20678 * misc/gethostid.c (gethostid): Likewise.
20679 * misc/getpagesize.c (__getpagesize): Likewise.
20680 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
20681 (__get_nprocs): Likewise.
20682 (__get_phys_pages): Likewise.
20683 (__get_avphys_pages): Likewise.
20684 * misc/getttyent.c (getttyent): Likewise.
20685 (setttyent): Likewise.
20686 (endttyent): Likewise.
20687 * misc/getusershell.c (getusershell): Likewise.
20688 (endusershell): Likewise.
20689 (setusershell): Likewise.
20690 (initshells): Likewise.
20691 * misc/hsearch.c (__hdestroy): Likewise.
20692 * misc/sync.c (sync): Likewise.
20693 * misc/syslog.c (closelog_internal): Likewise.
20694 (closelog): Likewise.
20695 * misc/ttyslot.c (ttyslot): Likewise.
20696 * misc/vhangup.c (vhangup): Likewise.
20697 * posix/fork.c (__fork): Likewise.
20698 * posix/getegid.c (__getegid): Likewise.
20699 * posix/geteuid.c (__geteuid): Likewise.
20700 * posix/getgid.c (__getgid): Likewise.
20701 * posix/getpid.c (__getpid): Likewise.
20702 * posix/getppid.c (__getppid): Likewise.
20703 * posix/getuid.c (__getuid): Likewise.
20704 * posix/pause.c (pause): Likewise.
20705 * posix/setpgrp.c (setpgrp): Likewise.
20706 * posix/setsid.c (__setsid): Likewise.
20707 * posix/test-vfork.c (noop): Likewise.
20708 * resolv/gethnamaddr.c (_endhtent): Likewise.
20709 (_gethtent): Likewise.
20710 (ht_endhostent): Likewise.
20711 (gethostent): Likewise.
20712 (dns_service): Likewise.
20713 * stdlib/drand48.c (drand48): Likewise.
20714 * stdlib/lrand48.c (lrand48): Likewise.
20715 * stdlib/mrand48.c (mrand48): Likewise.
20716 * stdlib/rand.c (rand): Likewise.
20717 * stdlib/random.c (__random): Likewise.
20718 * stdlib/setenv.c (clearenv): Likewise.
20719 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
20720 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
20721 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
20722 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
20723 (__get_nprocs): Likewise.
20724 (__get_phys_pages): Likewise.
20725 (__get_avphys_pages): Likewise.
20726 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
20727 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
20728 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
20729 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
20730 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
20731 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
20732 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
20733 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
20734 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
20735 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
20736 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
20737 * sysdeps/mach/hurd/sync.c (sync): Likewise.
20738 * sysdeps/posix/clock.c (clock): Likewise.
20739 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
20740 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
20741 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
20742 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
20743 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
20744 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
20745 (__get_nprocs_conf): Likewise.
20746 (__get_phys_pages): Likewise.
20747 (__get_avphys_pages): Likewise.
20748 * time/clock.c (clock): Likewise.
20749 * time/tzset.c (__tzname_max): Likewise.
20751 2013-06-07 Joseph Myers <joseph@codesourcery.com>
20753 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
20754 (__bswap_32): Do not use "register".
20755 * crypt/crypt.c (_ufc_doit_r): Likewise.
20756 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20757 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20758 * gmon/gmon.c (__monstartup): Likewise.
20759 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
20760 * hurd/hurdmalloc.c (more_memory): Likewise.
20761 (malloc): Likewise.
20763 (realloc): Likewise.
20764 (malloc_fork_prepare): Likewise.
20765 (malloc_fork_parent): Likewise.
20766 (malloc_fork_child): Likewise.
20767 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
20768 (_svcauth_des): Likewise.
20769 * inet/inet_lnaof.c (inet_lnaof): Likewise.
20770 * inet/inet_net.c (inet_network): Likewise.
20771 * inet/inet_netof.c (inet_netof): Likewise.
20772 * inet/rcmd.c (__validuser2_sa): Likewise.
20773 * io/fts.c (fts_open): Likewise.
20774 (fts_load): Likewise.
20775 (fts_close): Likewise.
20776 (fts_read): Likewise.
20777 (fts_children): Likewise.
20778 (fts_build): Likewise.
20779 (fts_stat): Likewise.
20780 (fts_sort): Likewise.
20781 (fts_alloc): Likewise.
20782 (fts_lfree): Likewise.
20783 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
20784 (_IO_file_xsgetn): Likewise.
20785 (_IO_file_xsgetn_mmap): Likewise.
20786 * libio/iofopncook.c (_IO_cookie_read): Likewise.
20787 (_IO_cookie_write): Likewise.
20788 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
20789 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
20790 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
20791 * malloc/obstack.c (_obstack_begin): Likewise.
20792 (_obstack_begin_1): Likewise.
20793 (_obstack_newchunk): Likewise.
20794 (_obstack_allocated_p): Likewise.
20795 (obstack_free): Likewise.
20796 (_obstack_memory_used): Likewise.
20797 * misc/getttyent.c (getttynam): Likewise.
20798 (getttyent): Likewise.
20801 * misc/getusershell.c (initshells): Likewise.
20802 * misc/syslog.c (__vsyslog_chk): Likewise.
20803 * misc/ttyslot.c (ttyslot): Likewise.
20804 * nis/nis_hash.c (__nis_hash): Likewise.
20805 * posix/fnmatch_loop.c (FCT): Likewise.
20806 * posix/getconf.c (print_all): Likewise.
20808 * posix/getopt.c (exchange): Likewise.
20809 * posix/glob.c (globfree): Likewise.
20810 (prefix_array): Likewise.
20811 (__glob_pattern_type): Likewise.
20812 * resolv/arpa/nameser.h (NS_GET16): Likewise.
20813 (NS_GET32): Likewise.
20814 (NS_PUT16): Likewise.
20815 (NS_PUT32): Likewise.
20816 * resolv/gethnamaddr.c (getanswer): Likewise.
20817 (gethostbyname2): Likewise.
20818 (gethostbyaddr): Likewise.
20819 (_gethtent): Likewise.
20820 (_gethtbyname2): Likewise.
20821 (_gethtbyaddr): Likewise.
20822 * resolv/ns_print.c (dst_s_get_int16): Likewise.
20823 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
20824 * resolv/res_init.c (__res_vinit): Likewise.
20825 (net_mask): Likewise.
20826 * resolv/res_mkquery.c (outchar): Likewise.
20828 * stdio-common/printf_fp.c (outchar): Likewise.
20830 * stdio-common/printf_fphex.c (outchar): Likewise.
20832 * stdio-common/printf_size.c (outchar): Likewise.
20834 * stdio-common/test_rdwr.c (main): Likewise.
20835 * stdio-common/tfformat.c (matches): Likewise.
20836 * stdio-common/vfprintf.c (outchar): Likewise.
20837 (printf_unknown): Likewise.
20838 (buffered_vfprintf): Likewise.
20839 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
20840 * stdio-common/xbug.c (AppendToBuffer): Likewise.
20841 (ReadFile): Likewise.
20842 * stdlib/qsort.c (SWAP): Likewise.
20843 (_quicksort): Likewise.
20844 * stdlib/setenv.c (__add_to_environ): Likewise.
20845 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20846 * stdlib/strtol_l.c (__strtol_l): Likewise.
20847 * stdlib/tst-strtod.c (main): Likewise.
20848 * stdlib/tst-strtol.c (main): Likewise.
20849 * stdlib/tst-strtoll.c (main): Likewise.
20850 * string/bits/string2.h (__strcmp_cc): Likewise.
20851 (__strcmp_cg): Likewise.
20852 (__strcspn_c1): Likewise.
20853 (__strcspn_c2): Likewise.
20854 (__strcspn_c3): Likewise.
20855 (__strspn_c1): Likewise.
20856 (__strspn_c2): Likewise.
20857 (__strspn_c3): Likewise.
20858 (__strsep_1c): Likewise.
20859 (__strsep_2c): Likewise.
20860 (__strsep_3c): Likewise.
20861 * string/memccpy.c (__memccpy): Likewise.
20862 * string/stpcpy.c (__stpcpy): Likewise.
20863 * string/strcmp.c (strcmp): Likewise.
20864 * string/strrchr.c (strrchr): Likewise.
20865 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
20867 * sysdeps/mach/hurd/getcwd.c
20868 (_hurd_canonicalize_directory_name_internal): Likewise.
20869 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
20870 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
20871 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
20872 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
20873 Likewise, in both definitions.
20874 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
20876 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
20877 64] (__bswap_64): Likewise.
20878 * time/test_time.c (main): Likewise.
20879 * time/tzfile.c (__tzfile_read): Likewise.
20880 (__tzfile_compute): Likewise.
20881 * time/tzset.c (__tzset_parse_tz): Likewise.
20882 (tzset_internal): Likewise.
20883 (compute_change): Likewise.
20884 * wcsmbs/wcscat.c (__wcscat): Likewise.
20885 * wcsmbs/wcschr.c (wcschr): Likewise.
20886 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
20887 * wcsmbs/wcscspn.c (wcscspn): Likewise.
20888 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
20889 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
20890 * wcsmbs/wcsspn.c (wcsspn): Likewise.
20891 * wcsmbs/wcsstr.c (wcsstr): Likewise.
20892 * wcsmbs/wmemchr.c (wmemchr): Likewise.
20893 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20894 * wcsmbs/wmemset.c (wmemset): Likewise.
20896 2013-06-06 Joseph Myers <joseph@codesourcery.com>
20898 * scripts/config.guess: Update to version 2013-05-16.
20899 * scripts/config.sub: Update to version 2013-04-24.
20900 * scripts/install-sh: Update to version 2011-11-20.07.
20901 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
20902 * scripts/move-if-change: Update to version 2012-01-06 07:23.
20904 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
20906 * debug/fgetws_u_chk.c: Fix leading whitespaces.
20907 * elf/sln.c: Likewise.
20908 * hurd/hurd/ioctl.h: Likewise.
20909 * hurd/hurdmalloc.c: Likewise.
20910 * hurd/xattr.c: Likewise.
20911 * include/shlib-compat.h: Likewise.
20912 * inet/ruserpass.c: Likewise.
20913 * libio/iofgets_u.c: Likewise.
20914 * libio/iofgetws_u.c: Likewise.
20915 * locale/programs/ld-identification.c: Likewise.
20916 * locale/programs/ld-time.c: Likewise.
20917 * mach/msg-destroy.c: Likewise.
20918 * nss/nss_files/files-netgrp.c: Likewise.
20919 * resolv/res_data.c: Likewise.
20920 * soft-fp/op-1.h: Likewise.
20921 * soft-fp/op-2.h: Likewise.
20922 * soft-fp/op-4.h: Likewise.
20923 * soft-fp/op-common.h: Likewise.
20924 * stdio-common/printf_fphex.c: Likewise.
20925 * stdlib/strtod_l.c: Likewise.
20926 * sunrpc/rpc/clnt.h: Likewise.
20927 * sysdeps/generic/framestate.c: Likewise.
20928 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20929 * sysdeps/i386/bsd-setjmp.S: Likewise.
20930 * sysdeps/i386/__longjmp.S: Likewise.
20931 * sysdeps/i386/setjmp.S: Likewise.
20932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20933 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20934 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20935 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20936 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20937 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
20938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20939 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20940 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20941 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20942 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
20943 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
20944 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
20945 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
20946 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
20947 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20948 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
20949 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
20950 * sysdeps/ieee754/support.c: Likewise.
20951 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20952 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
20953 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
20954 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
20955 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
20956 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
20957 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
20958 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
20959 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
20960 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
20961 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
20962 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
20963 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
20964 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
20965 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
20966 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
20967 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
20970 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
20972 * posix/transbug.c: Remove executable mode.
20974 2013-06-05 Joseph Myers <joseph@codesourcery.com>
20976 * crypt/speeds.c: Remove trailing whitespace.
20977 * dlfcn/default.c: Likewise.
20978 * elf/ifuncdep2.c: Likewise.
20979 * elf/ifuncmain1.c: Likewise.
20980 * elf/ifuncmain1vis.c: Likewise.
20981 * elf/testobj.h: Likewise.
20982 * elf/tst-stackguard1.c: Likewise.
20983 * gmon/sys/gmon.h: Likewise.
20984 * hurd/hurdmsg.c: Likewise.
20985 * hurd/new-fd.c: Likewise.
20986 * hurd/ports-get.c: Likewise.
20987 * iconvdata/ibm1008_420.c: Likewise.
20988 * inet/tst-getni1.c: Likewise.
20989 * inet/tst-getni2.c: Likewise.
20990 * libio/ioungetc.c: Likewise.
20991 * libio/wfiledoalloc.c: Likewise.
20992 * manual/libm-err-tab.pl: Likewise.
20993 * math/w_dremf.c: Likewise.
20994 * misc/ftruncate.c: Likewise.
20995 * posix/bug-glob2.c: Likewise.
20996 * posix/tst-pcre.c: Likewise.
20997 * posix/wait4.c: Likewise.
20998 * resolv/README: Likewise.
20999 * resolv/res_debug.h: Likewise.
21000 * resolv/tst-inet_ntop.c: Likewise.
21001 * setjmp/bug269-setjmp.c: Likewise.
21002 * soft-fp/extended.h: Likewise.
21003 * soft-fp/op-1.h: Likewise.
21004 * soft-fp/op-2.h: Likewise.
21005 * soft-fp/op-4.h: Likewise.
21006 * soft-fp/op-8.h: Likewise.
21007 * soft-fp/testit.c: Likewise.
21008 * stdio-common/bug16.c: Likewise.
21009 * stdlib/random.c: Likewise.
21010 * sunrpc/rpcsvc/rquota.x: Likewise.
21011 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21012 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21013 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21014 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21015 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21016 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21017 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21018 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21019 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21020 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21021 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21022 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21023 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21027 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21029 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21030 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21032 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21037 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21040 * sysdeps/ieee754/s_lib_version.c: Likewise.
21041 * sysdeps/mach/hurd/check_fds.c: Likewise.
21042 * sysdeps/mach/hurd/getsockname.c: Likewise.
21043 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21044 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21045 * sysdeps/powerpc/bits/link.h: Likewise.
21046 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21047 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21048 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21049 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21050 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21051 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21052 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21053 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21054 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21055 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21056 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21057 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21058 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21059 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21060 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21061 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21064 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21065 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21066 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21067 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21068 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21069 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21070 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21071 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21072 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21073 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21074 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21075 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21076 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21077 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21079 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21080 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21081 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21082 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21083 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21084 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21085 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21086 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21087 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21088 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21089 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21090 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21091 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21092 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21093 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21094 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21095 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21096 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21097 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21098 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21099 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21100 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21101 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21102 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21103 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21104 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21105 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21106 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21107 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21108 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21109 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21110 * sysdeps/powerpc/sysdep.h: Likewise.
21111 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21112 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21113 * sysdeps/sh/dl-trampoline.S: Likewise.
21114 * sysdeps/sh/memset.S: Likewise.
21115 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21116 * sysdeps/sh/strlen.S: Likewise.
21117 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21118 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21119 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21120 * sysdeps/sparc/sparc32/rem.S: Likewise.
21121 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21122 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21123 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21124 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21125 * sysdeps/sparc/sparc32/urem.S: Likewise.
21126 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21127 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21128 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21129 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21130 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21131 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21132 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21133 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21134 * sysdeps/unix/bsd/times.c: Likewise.
21135 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21136 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21140 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21141 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21142 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21143 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21144 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21145 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21146 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21147 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21148 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21149 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21150 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21151 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21152 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21153 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21154 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21155 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21156 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21157 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21158 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21159 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21160 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21161 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21162 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21163 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21164 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21165 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21166 * sysdeps/x86_64/strcspn.S: Likewise.
21168 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21170 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21171 generated file. Regenerate properly from gen-translit.pl.
21172 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21173 locale/C-translit.h.
21175 2013-06-05 Andreas Schwab <schwab@suse.de>
21178 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21179 week as 6 instead of -1.
21180 * time/tst-strptime.c (day_tests): Add test case.
21182 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21184 * sysdeps/generic/math_private.h
21185 (libc_feholdexcept_setround_53bit): Replace with
21186 libc_feholdsetround_53bit.
21187 (libc_feupdateenv_53bit): Replace with
21188 libc_feresetround_53bit.
21189 (SET_RESTORE_ROUND_53BIT): Adjust.
21191 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21193 * string/test-strchrnul.c: Add copyright header.
21195 * posix/tst-getaddrinfo4.c: Increase test timeout.
21197 2013-06-03 Carlos O'Donell <carlos@redhat.com>
21200 * math/libm-test.inc (MAX_EXP): Remove
21202 (ulp): Use MIN_EXP - MANT_DIG.
21203 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21205 2013-05-31 Carlos O'Donell <carlos@redhat.com>
21207 * po/be.po: Revert last change.
21208 * po/zh_CN.po: Likewise.
21209 * po/header.pot: Likewise.
21211 2013-05-31 Joseph Myers <joseph@codesourcery.com>
21213 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21214 link-libc-deps to empty as target-specific variable.
21215 * Makerules (link-libc-args): New variable.
21216 (libc-for-link): Likewise.
21217 (link-libc-deps): Likewise.
21218 (lib%.so): Depend on $(link-libc-deps). Link with
21220 (build-module): Link with $(link-libc-args).
21221 (build-module-asneeded): Likewise.
21222 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21224 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21225 target-specific variable.
21226 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21227 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21228 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21230 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21232 ($(objpfx)libpcprofile.so): Likewise.
21233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21235 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21236 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21237 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21239 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21240 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21241 * login/Makefile ($(objpfx)libutil.so): Likewise.
21242 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21243 * math/Makefile ($(objpfx)libm.so): Likewise.
21244 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21245 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21246 variable instead of depending directly on libc.
21247 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21248 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21250 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21252 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21253 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21254 ($(objpfx)libanl.so): Likewise.
21255 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21257 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21259 * sysdeps/i386/fpu/Makefile: Remove file.
21260 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21261 ($(objpfx)libm.so): Remove dependency on ld.so.
21263 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
21266 * nis/yp_xdr.c (XDRMAXNAME): Define.
21267 (XDRMAXRECORD): Define.
21268 (xdr_domainname): Use XDRMAXNAME.
21269 (xdr_mapname): Likewise.
21270 (xdr_peername): Likewise.
21271 (xdr_keydat): Use XDRMAXRECORD.
21272 (xdr_valdat): Likewise.
21274 2013-05-30 Jeff Law <law@redhat.com>
21277 * manual/errno.texi (ESTALE): Update to account for more than
21278 just NFS file systems.
21279 * sysdeps/gnu/errlist.c: Regenerated.
21281 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21284 * elf/Makefile (tests): Add tst-null-argv.
21285 (modules-names): Add tst-null-argv-lib.
21286 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21287 (tst-null-argv-ENV): Set environment for tst-null-argv.
21288 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21289 (RTLD_PROGNAME): New macro.
21290 * elf/tst-null-argv.c: New test case.
21291 * elf/tst-null-argv-lib.c: Library for test case.
21292 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
21293 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
21294 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
21295 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
21296 * elf/dl-init.c (call_init): Likewise.
21297 (_dl_init): Likewise.
21298 * elf/dl-load.c (print_search_path): Likewise.
21299 (_dl_map_object): Likewise.
21300 * elf/dl-lookup.c (do_lookup_x): Likewise.
21301 (add_dependency): Likewise.
21302 (_dl_lookup_symbol_x): Likewise.
21303 (_dl_debug_bindings): Likewise.
21304 * elf/dl-open.c (_dl_show_scope): Likewise.
21305 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21306 * elf/dl-version.c (match_symbol): Likewise.
21307 (_dl_check_map_versions): Likewise.
21308 * elf/rtld.c (dl_main): Likewise.
21309 (print_unresolved): Use RTLD_PROGNAME.
21310 (print_missing_version): Likewise.
21311 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
21312 (elf_machine_rela): Likewise.
21313 * sysdeps/powerpc/powerpc32/dl-machine.c
21314 (__process_machine_rela): Likewise.
21315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
21317 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21319 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21321 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
21324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
21326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
21328 2013-05-28 Carlos O'Donell <carlos@redhat.com>
21330 * po/be.po: Add descriptive title.
21331 * po/zh_CN.po: Likewise.
21332 * po/header.pot: Likewise.
21334 2013-05-28 Mike Frysinger <vapier@gentoo.org>
21336 * locale/programs/locarchive.c (create_archive): Inlucde fname in
21338 (enlarge_archive): Likewise.
21340 2013-05-28 Ben North <ben@redfrontdoor.org>
21342 * manual/arith.texi (frexp): It is the magnitude of the return
21343 value which lies in [0.5, 1), not the return value itself.
21345 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21349 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
21351 * stdio-common/bug26.c (main): Correct fscanf template.
21353 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
21354 declare _dl_skip_args.
21356 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
21359 * manual/platform.texi: Add missing @end deftypefun.
21361 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21364 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
21365 bit of mantissa of 2^16382.
21366 * math/libm-test.inc (hypot_test_data): Add more tests.
21368 * math/libm-test.inc: Add drem and pow10 to list of tested
21370 (pow10_test): New function.
21371 (drem_test): Likewise.
21372 (drem_test_tonearest): Likewise.
21373 (drem_test_towardzero): Likewise.
21374 (drem_test_downward): Likewise.
21375 (drem_test_upward): Likewise.
21376 (main): Call the new functions.
21378 * math/libm-test.inc (finite_test_data): Remove.
21379 (finite_test): Run tests from isfinite_test_data.
21380 (gamma_test_data): Remove.
21381 (gamma_test): Run tests from lgamma_test_data.
21382 * sysdeps/i386/fpu/libm-test-ulps: Update.
21383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21385 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21387 * manual/platform.texi: Add PowerPC PPR function set documentation.
21388 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
21391 2013-05-24 Carlos O'Donell <carlos@redhat.com>
21393 * math/libm-test.inc (MAX_EXP): Define.
21395 (ulp): New function.
21396 (check_float_internal): Use ULPDIFF.
21397 (cpow_test): Disable failing test.
21398 (check_ulp): Test ulp() implemetnation.
21399 (main): Call check_ulp before starting tests.
21401 2013-05-24 Joseph Myers <joseph@codesourcery.com>
21403 * math/gen-libm-test.pl (generate_testfile): Do not handle
21404 START_DATA and END_DATA.
21405 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
21407 (acos_tonearest_test_data): Likewise.
21408 (acos_towardzero_test_data): Likewise.
21409 (acos_downward_test_data): Likewise.
21410 (acos_upward_test_data): Likewise.
21411 (acosh_test_data): Likewise.
21412 (asin_test_data): Likewise.
21413 (asin_tonearest_test_data): Likewise.
21414 (asin_towardzero_test_data): Likewise.
21415 (asin_downward_test_data): Likewise.
21416 (asin_upward_test_data): Likewise.
21417 (asinh_test_data): Likewise.
21418 (atan_test_data): Likewise.
21419 (atanh_test_data): Likewise.
21420 (atan2_test_data): Likewise.
21421 (cabs_test_data): Likewise.
21422 (cacos_test_data): Likewise.
21423 (cacosh_test_data): Likewise.
21424 (carg_test_data): Likewise.
21425 (casin_test_data): Likewise.
21426 (casinh_test_data): Likewise.
21427 (catan_test_data): Likewise.
21428 (catanh_test_data): Likewise.
21429 (cbrt_test_data): Likewise.
21430 (ccos_test_data): Likewise.
21431 (ccosh_test_data): Likewise.
21432 (ceil_test_data): Likewise.
21433 (cexp_test_data): Likewise.
21434 (cimag_test_data): Likewise.
21435 (clog_test_data): Likewise.
21436 (clog10_test_data): Likewise.
21437 (conj_test_data): Likewise.
21438 (copysign_test_data): Likewise.
21439 (cos_test_data): Likewise.
21440 (cos_tonearest_test_data): Likewise.
21441 (cos_towardzero_test_data): Likewise.
21442 (cos_downward_test_data): Likewise.
21443 (cos_upward_test_data): Likewise.
21444 (cosh_test_data): Likewise.
21445 (cosh_tonearest_test_data): Likewise.
21446 (cosh_towardzero_test_data): Likewise.
21447 (cosh_downward_test_data): Likewise.
21448 (cosh_upward_test_data): Likewise.
21449 (cpow_test_data): Likewise.
21450 (cproj_test_data): Likewise.
21451 (creal_test_data): Likewise.
21452 (csin_test_data): Likewise.
21453 (csinh_test_data): Likewise.
21454 (csqrt_test_data): Likewise.
21455 (ctan_test_data): Likewise.
21456 (ctan_tonearest_test_data): Likewise.
21457 (ctan_towardzero_test_data): Likewise.
21458 (ctan_downward_test_data): Likewise.
21459 (ctan_upward_test_data): Likewise.
21460 (ctanh_test_data): Likewise.
21461 (ctanh_tonearest_test_data): Likewise.
21462 (ctanh_towardzero_test_data): Likewise.
21463 (ctanh_downward_test_data): Likewise.
21464 (ctanh_upward_test_data): Likewise.
21465 (erf_test_data): Likewise.
21466 (erfc_test_data): Likewise.
21467 (exp_test_data): Likewise.
21468 (exp_tonearest_test_data): Likewise.
21469 (exp_towardzero_test_data): Likewise.
21470 (exp_downward_test_data): Likewise.
21471 (exp_upward_test_data): Likewise.
21472 (exp10_test_data): Likewise.
21473 (exp2_test_data): Likewise.
21474 (expm1_test_data): Likewise.
21475 (fabs_test_data): Likewise.
21476 (fdim_test_data): Likewise.
21477 (finite_test_data): Likewise.
21478 (floor_test_data): Likewise.
21479 (fma_test_data): Likewise.
21480 (fma_towardzero_test_data): Likewise.
21481 (fma_downward_test_data): Likewise.
21482 (fma_upward_test_data): Likewise.
21483 (fmax_test_data): Likewise.
21484 (fmin_test_data): Likewise.
21485 (fmod_test_data): Likewise.
21486 (fpclassify_test_data): Likewise.
21487 (frexp_test_data): Likewise.
21488 (gamma_test_data): Likewise.
21489 (hypot_test_data): Likewise.
21490 (ilogb_test_data): Likewise.
21491 (isfinite_test_data): Likewise.
21492 (isgreater_test_data): Likewise.
21493 (isgreaterequal_test_data): Likewise.
21494 (isinf_test_data): Likewise.
21495 (isless_test_data): Likewise.
21496 (islessequal_test_data): Likewise.
21497 (islessgreater_test_data): Likewise.
21498 (isnan_test_data): Likewise.
21499 (isnormal_test_data): Likewise.
21500 (issignaling_test_data): Likewise.
21501 (isunordered_test_data): Likewise.
21502 (j0_test_data): Likewise.
21503 (j1_test_data): Likewise.
21504 (jn_test_data): Likewise.
21505 (ldexp_test_data): Likewise.
21506 (lgamma_test_data): Likewise.
21507 (lrint_test_data): Likewise.
21508 (lrint_tonearest_test_data): Likewise.
21509 (lrint_towardzero_test_data): Likewise.
21510 (lrint_downward_test_data): Likewise.
21511 (lrint_upward_test_data): Likewise.
21512 (llrint_test_data): Likewise.
21513 (llrint_tonearest_test_data): Likewise.
21514 (llrint_towardzero_test_data): Likewise.
21515 (llrint_downward_test_data): Likewise.
21516 (llrint_upward_test_data): Likewise.
21517 (log_test_data): Likewise.
21518 (log10_test_data): Likewise.
21519 (log1p_test_data): Likewise.
21520 (log2_test_data): Likewise.
21521 (logb_test_data): Likewise.
21522 (logb_downward_test_data): Likewise.
21523 (lround_test_data): Likewise.
21524 (llround_test_data): Likewise.
21525 (modf_test_data): Likewise.
21526 (nearbyint_test_data): Likewise.
21527 (nextafter_test_data): Likewise.
21528 (nexttoward_test_data): Likewise.
21529 (pow_test_data): Likewise.
21530 (pow_tonearest_test_data): Likewise.
21531 (pow_towardzero_test_data): Likewise.
21532 (pow_downward_test_data): Likewise.
21533 (pow_upward_test_data): Likewise.
21534 (remainder_test_data): Likewise.
21535 (remainder_tonearest_test_data): Likewise.
21536 (remainder_towardzero_test_data): Likewise.
21537 (remainder_downward_test_data): Likewise.
21538 (remainder_upward_test_data): Likewise.
21539 (remquo_test_data): Likewise.
21540 (rint_test_data): Likewise.
21541 (rint_tonearest_test_data): Likewise.
21542 (rint_towardzero_test_data): Likewise.
21543 (rint_downward_test_data): Likewise.
21544 (rint_upward_test_data): Likewise.
21545 (round_test_data): Likewise.
21546 (scalb_test_data): Likewise.
21547 (scalbn_test_data): Likewise.
21548 (scalbln_test_data): Likewise.
21549 (signbit_test_data): Likewise.
21550 (sin_test_data): Likewise.
21551 (sin_tonearest_test_data): Likewise.
21552 (sin_towardzero_test_data): Likewise.
21553 (sin_downward_test_data): Likewise.
21554 (sin_upward_test_data): Likewise.
21555 (sincos_test_data): Likewise.
21556 (sinh_test_data): Likewise.
21557 (sinh_tonearest_test_data): Likewise.
21558 (sinh_towardzero_test_data): Likewise.
21559 (sinh_downward_test_data): Likewise.
21560 (sinh_upward_test_data): Likewise.
21561 (sqrt_test_data): Likewise.
21562 (tan_test_data): Likewise.
21563 (tan_tonearest_test_data): Likewise.
21564 (tan_towardzero_test_data): Likewise.
21565 (tan_downward_test_data): Likewise.
21566 (tan_upward_test_data): Likewise.
21567 (tanh_test_data): Likewise.
21568 (tgamma_test_data): Likewise.
21569 (trunc_test_data): Likewise.
21570 (y0_test_data): Likewise.
21571 (y1_test_data): Likewise.
21572 (yn_test_data): Likewise.
21573 (significand_test_data): Likewise.
21575 * math/gen-libm-test.pl (@functions): Remove variable.
21576 (generate_testfile): Don't handle START and END lines.
21577 * math/libm-test.inc (START): New macro.
21579 (END_COMPLEX): Likewise.
21580 (acos_test): Use END macro without arguments.
21581 (acos_test_tonearest): Likewise.
21582 (acos_test_towardzero): Likewise.
21583 (acos_test_downward): Likewise.
21584 (acos_test_upward): Likewise.
21585 (acosh_test): Likewise.
21586 (asin_test): Likewise.
21587 (asin_test_tonearest): Likewise.
21588 (asin_test_towardzero): Likewise.
21589 (asin_test_downward): Likewise.
21590 (asin_test_upward): Likewise.
21591 (asinh_test): Likewise.
21592 (atan_test): Likewise.
21593 (atanh_test): Likewise.
21594 (atan2_test): Likewise.
21595 (cabs_test): Likewise.
21596 (cacos_test): Use END_COMPLEX macro without arguments.
21597 (cacosh_test): Likewise.
21598 (carg_test): Use END macro without arguments.
21599 (casin_test): Use END_COMPLEX macro without arguments.
21600 (casinh_test): Likewise.
21601 (catan_test): Likewise.
21602 (catanh_test): Likewise.
21603 (cbrt_test): Use END macro without arguments.
21604 (ccos_test): Use END_COMPLEX macro without arguments.
21605 (ccosh_test): Likewise.
21606 (ceil_test): Use END macro without arguments.
21607 (cexp_test): Use END_COMPLEX macro without arguments.
21608 (cimag_test): Use END macro without arguments.
21609 (clog_test): Use END_COMPLEX macro without arguments.
21610 (clog10_test): Likewise.
21611 (conj_test): Likewise.
21612 (copysign_test): Use END macro without arguments.
21613 (cos_test): Likewise.
21614 (cos_test_tonearest): Likewise.
21615 (cos_test_towardzero): Likewise.
21616 (cos_test_downward): Likewise.
21617 (cos_test_upward): Likewise.
21618 (cosh_test): Likewise.
21619 (cosh_test_tonearest): Likewise.
21620 (cosh_test_towardzero): Likewise.
21621 (cosh_test_downward): Likewise.
21622 (cosh_test_upward): Likewise.
21623 (cpow_test): Use END_COMPLEX macro without arguments.
21624 (cproj_test): Likewise.
21625 (creal_test): Use END macro without arguments.
21626 (csin_test): Use END_COMPLEX macro without arguments.
21627 (csinh_test): Likewise.
21628 (csqrt_test): Likewise.
21629 (ctan_test): Likewise.
21630 (ctan_test_tonearest): Likewise.
21631 (ctan_test_towardzero): Likewise.
21632 (ctan_test_downward): Likewise.
21633 (ctan_test_upward): Likewise.
21634 (ctanh_test): Likewise.
21635 (ctanh_test_tonearest): Likewise.
21636 (ctanh_test_towardzero): Likewise.
21637 (ctanh_test_downward): Likewise.
21638 (ctanh_test_upward): Likewise.
21639 (erf_test): Use END macro without arguments.
21640 (erfc_test): Likewise.
21641 (exp_test): Likewise.
21642 (exp_test_tonearest): Likewise.
21643 (exp_test_towardzero): Likewise.
21644 (exp_test_downward): Likewise.
21645 (exp_test_upward): Likewise.
21646 (exp10_test): Likewise.
21647 (exp2_test): Likewise.
21648 (expm1_test): Likewise.
21649 (fabs_test): Likewise.
21650 (fdim_test): Likewise.
21651 (finite_test): Likewise.
21652 (floor_test): Likewise.
21653 (fma_test): Likewise.
21654 (fma_test_towardzero): Likewise.
21655 (fma_test_downward): Likewise.
21656 (fma_test_upward): Likewise.
21657 (fmax_test): Likewise.
21658 (fmin_test): Likewise.
21659 (fmod_test): Likewise.
21660 (fpclassify_test): Likewise.
21661 (frexp_test): Likewise.
21662 (gamma_test): Likewise.
21663 (hypot_test): Likewise.
21664 (ilogb_test): Likewise.
21665 (isfinite_test): Likewise.
21666 (isgreater_test): Likewise.
21667 (isgreaterequal_test): Likewise.
21668 (isinf_test): Likewise.
21669 (isless_test): Likewise.
21670 (islessequal_test): Likewise.
21671 (islessgreater_test): Likewise.
21672 (isnan_test): Likewise.
21673 (isnormal_test): Likewise.
21674 (issignaling_test): Likewise.
21675 (isunordered_test): Likewise.
21676 (j0_test): Likewise.
21677 (j1_test): Likewise.
21678 (jn_test): Likewise.
21679 (ldexp_test): Likewise.
21680 (lgamma_test): Likewise.
21681 (lrint_test): Likewise.
21682 (lrint_test_tonearest): Likewise.
21683 (lrint_test_towardzero): Likewise.
21684 (lrint_test_downward): Likewise.
21685 (lrint_test_upward): Likewise.
21686 (llrint_test): Likewise.
21687 (llrint_test_tonearest): Likewise.
21688 (llrint_test_towardzero): Likewise.
21689 (llrint_test_downward): Likewise.
21690 (llrint_test_upward): Likewise.
21691 (log_test): Likewise.
21692 (log10_test): Likewise.
21693 (log1p_test): Likewise.
21694 (log2_test): Likewise.
21695 (logb_test): Likewise.
21696 (logb_test_downward): Likewise.
21697 (lround_test): Likewise.
21698 (llround_test): Likewise.
21699 (modf_test): Likewise.
21700 (nearbyint_test): Likewise.
21701 (nextafter_test): Likewise.
21702 (nexttoward_test): Likewise.
21703 (pow_test): Likewise.
21704 (pow_test_tonearest): Likewise.
21705 (pow_test_towardzero): Likewise.
21706 (pow_test_downward): Likewise.
21707 (pow_test_upward): Likewise.
21708 (remainder_test): Likewise.
21709 (remainder_test_tonearest): Likewise.
21710 (remainder_test_towardzero): Likewise.
21711 (remainder_test_downward): Likewise.
21712 (remainder_test_upward): Likewise.
21713 (remquo_test): Likewise.
21714 (rint_test): Likewise.
21715 (rint_test_tonearest): Likewise.
21716 (rint_test_towardzero): Likewise.
21717 (rint_test_downward): Likewise.
21718 (rint_test_upward): Likewise.
21719 (round_test): Likewise.
21720 (scalb_test): Likewise.
21721 (scalbn_test): Likewise.
21722 (scalbln_test): Likewise.
21723 (signbit_test): Likewise.
21724 (sin_test): Likewise.
21725 (sin_test_tonearest): Likewise.
21726 (sin_test_towardzero): Likewise.
21727 (sin_test_downward): Likewise.
21728 (sin_test_upward): Likewise.
21729 (sincos_test): Likewise.
21730 (sinh_test): Likewise.
21731 (sinh_test_tonearest): Likewise.
21732 (sinh_test_towardzero): Likewise.
21733 (sinh_test_downward): Likewise.
21734 (sinh_test_upward): Likewise.
21735 (sqrt_test): Likewise.
21736 (tan_test): Likewise.
21737 (tan_test_tonearest): Likewise.
21738 (tan_test_towardzero): Likewise.
21739 (tan_test_downward): Likewise.
21740 (tan_test_upward): Likewise.
21741 (tanh_test): Likewise.
21742 (tgamma_test): Likewise.
21743 (trunc_test): Likewise.
21744 (y0_test): Likewise.
21745 (y1_test): Likewise.
21746 (yn_test): Likewise.
21747 (significand_test): Likewise.
21749 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
21752 * libio/genops.c (_IO_no_init): Initialize wide struct info.
21754 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
21757 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
21758 __ppc_mdoio and __ppc_mdoom.
21759 * manual/platform.texi: Document new functions __ppc_yield,
21760 __ppc_mdoio and __ppc_mdoom.
21762 2013-05-22 Carlos O'Donell <carlos@redhat.com>
21764 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
21765 (main): Mention "tls" pseudo-hwcap is legacy.
21766 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
21768 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21770 * math/gen-libm-test.pl (parse_args): Output only string of
21771 arguments as text for test name, not full call or descriptions of
21772 tests for extra outputs.
21773 (generate_testfile): Do not pass function name to parse_args.
21774 Generate this_func variable from START.
21775 * math/libm-test.inc (struct test_f_f_data): Rename test_name
21777 (struct test_ff_f_data): Likewise.
21778 (test_ff_f_data_nexttoward): Likewise.
21779 (struct test_fi_f_data): Likewise.
21780 (struct test_fl_f_data): Likewise.
21781 (struct test_if_f_data): Likewise.
21782 (struct test_fff_f_data): Likewise.
21783 (struct test_c_f_data): Likewise.
21784 (struct test_f_f1_data): Likewise. Remove field extra_name.
21785 (struct test_fF_f1_data): Likewise.
21786 (struct test_ffI_f1_data): Likewise.
21787 (struct test_c_c_data): Rename test_name field to arg_str.
21788 (struct test_cc_c_data): Likewise.
21789 (struct test_f_i_data): Likewise.
21790 (struct test_ff_i_data): Likewise.
21791 (struct test_f_l_data): Likewise.
21792 (struct test_f_L_data): Likewise.
21793 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
21795 (COMMON_TEST_SETUP): New macro.
21796 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
21797 (COMMON_TEST_CLEANUP): Likewise.
21798 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
21799 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
21801 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
21802 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
21804 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
21805 (RUN_TEST_fff_f): Take argument string. Call new setup and
21807 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
21808 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
21810 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
21811 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
21813 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
21814 (RUN_TEST_fF_f1): Take argument string. Call new setup and
21816 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
21817 (RUN_TEST_fI_f1): Take argument string. Call new setup and
21819 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
21820 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
21822 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
21823 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
21825 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
21826 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
21828 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
21829 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
21831 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
21832 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
21834 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
21835 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
21837 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
21838 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
21840 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
21841 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
21843 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
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_f_L): Take argument string. Call new setup and cleanup
21849 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
21850 (RUN_TEST_fFF_11): Take argument string. Call new setup and
21852 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
21854 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
21856 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
21857 to _sifields.sigfault.
21858 (si_addr_lsb): Define new macro.
21859 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
21860 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21861 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
21863 2013-05-03 Carlos O'Donell <carlos at redhat.com>
21866 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
21868 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
21870 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
21871 loading the domain.
21873 2013-05-22 Joseph Myers <joseph@codesourcery.com>
21875 * math/gen-libm-test.pl (parse_args): Do not include expected
21876 result in test name.
21877 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
21878 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21879 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21880 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21881 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21884 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21886 * benchtests/Makefile: Sort function entries.
21888 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
21889 tanh, asinh, acosh, atanh.
21890 * benchtests/acos-inputs: New file.
21891 * benchtests/acosh-inputs: New file.
21892 * benchtests/asin-inputs: New file.
21893 * benchtests/asinh-inputs: New file.
21894 * benchtests/atanh-inputs: New file.
21895 * benchtests/cosh-inputs: New file.
21896 * benchtests/log-inputs: New file.
21897 * benchtests/sinh-inputs: New file.
21898 * benchtests/tanh-inputs: New file.
21900 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
21903 * posix/tst-getaddrinfo4.c: New test.
21904 * posix/Makefile (tests): Add it.
21906 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21909 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
21910 when no services were used.
21911 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
21912 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
21914 2013-05-21 Andreas Schwab <schwab@suse.de>
21917 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
21918 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
21920 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
21921 redundant variable declarations and reallocation of buffer when
21922 parsing as IPv6 address. Always set NSS status when called from
21923 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
21924 buffer too small. Correct computation of needed size.
21925 * nss/Makefile (tests): Add test-digits-dots.
21926 * nss/test-digits-dots.c: New test.
21928 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
21930 * benchtests/Makefile: Remove instructions for adding
21932 * benchtests/README: New file to explain how to execute and
21933 enhance the benchmark tests.
21935 2013-05-21 Andreas Schwab <schwab@suse.de>
21938 * setjmp/Makefile (tests): Add tst-sigsetjmp.
21939 * setjmp/tst-sigsetjmp.c: New test.
21941 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21943 * sysdeps/x86_64/memset.S (memset): New implementation.
21944 (__bzero): Likewise.
21945 (__memset_tail): New function.
21947 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
21949 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
21950 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
21951 __memcpy_sse2_unaligned ifunc selection.
21952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21953 Add memcpy-sse2-unaligned.S.
21954 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21955 Add: __memcpy_sse2_unaligned.
21957 2013-05-19 Joseph Myers <joseph@codesourcery.com>
21960 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21961 math_force_eval before restoring floating-point envrionment.
21962 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
21963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
21965 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
21967 (__nearbyintl): Use math_force_eval before restoring
21968 floating-point environment.
21969 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
21971 * math/gen-libm-test.pl (special_functions): Remove.
21972 (parse_args): Don't handle TEST_extra. Handle functions with no
21974 * math/libm-test.inc (struct test_sincos_data): Replace with
21975 struct test_fFF_11_data.
21976 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
21977 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
21978 (sincos_test_data): Change element type to struct
21979 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
21980 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
21981 RUN_TEST_LOOP_sincos.
21982 * math/README.libm-test: Don't mention special handling of
21983 individual functions.
21984 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
21985 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21986 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21987 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21988 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21991 * math/gen-libm-test.pl (get_variable): Remove function.
21992 (parse_args): Don't show pointer parameters to call in test
21993 names. Use "extra output N" in test names for extra outputs
21994 rather than naming variables.
21996 2013-05-18 Joseph Myers <joseph@codesourcery.com>
21999 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22000 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22001 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22003 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22005 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22008 * math/gen-libm-test.pl (@tests): Remove variable.
22009 ($count): Likewise.
22010 (new_test): Remove function.
22011 (show_exceptions): New function.
22012 (special_functions): Use show_exceptions instead of new_test.
22013 (parse_args): Likewise.
22014 (generate_testfile): Pass only function name in generated call to
22015 print_max_error or print_complex_max_error.
22016 (get_ulps): Do not handle complex tests specially.
22017 (output_test): Rename to ...
22018 (get_all_ulps_for_test): ... this. Return a string rather than
22019 printing to a file. Require ulps to be present.
22020 (output_ulps): Generate arrays rather than #defines.
22021 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22022 (struct ulp_data): New type.
22023 (BUILD_COMPLEX_ULP): Remove macro.
22024 (compare_ulp_data): New function.
22025 (find_ulps): Likewise.
22026 (find_test_ulps): Likewise.
22027 (find_function_ulps): Likewise.
22028 (find_complex_function_ulps): Likewise.
22029 (print_max_error): Determine allowed ulps using
22030 find_function_ulps.
22031 (print_complex_max_error): Determine allowed ulps using
22032 find_complex_function_ulps.
22033 (check_float_internal): Determine max ulps using find_test_ulps.
22034 (check_float): Do not take max_ulp parameter. Update call to
22035 check_float_internal.
22036 (check_complex): Likewise.
22037 (check_int): Do not take max_ulp parameter.
22038 (check_long): Likewise.
22039 (check_bool): Likewise.
22040 (check_longlong): Likewise.
22041 (struct test_f_f_data): Remove max_ulp field.
22042 (struct test_ff_f_data): Likewise.
22043 (struct test_ff_f_data_nexttoward): Likewise.
22044 (struct test_fi_f_data): Likewise.
22045 (struct test_fl_f_data): Likewise.
22046 (struct test_if_f_data): Likewise.
22047 (struct test_fff_f_data): Likewise.
22048 (struct test_c_f_data): Likewise.
22049 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22050 (struct test_fF_f1_data): Likewise.
22051 (struct test_ffI_f1_data): Likewise.
22052 (struct test_c_c_data): Remove max_ulp field.
22053 (struct test_cc_c_data): Likewise.
22054 (struct test_f_i_data): Likewise.
22055 (struct test_ff_i_data): Likewise.
22056 (struct test_f_l_data): Likewise.
22057 (struct test_f_L_data): Likewise.
22058 (struct test_sincos_data): Likewise.
22059 (RUN_TEST_f_f): Do not handle ulps.
22060 (RUN_TEST_LOOP_f_f): Likewise.
22061 (RUN_TEST_2_f): Likewise.
22062 (RUN_TEST_LOOP_2_f): Likewise.
22063 (RUN_TEST_fff_f): Likewise.
22064 (RUN_TEST_LOOP_fff_f): Likewise.
22065 (RUN_TEST_c_f): Likewise.
22066 (RUN_TEST_LOOP_c_f): Likewise.
22067 (RUN_TEST_f_f1): Likewise.
22068 (RUN_TEST_LOOP_f_f1): Likewise.
22069 (RUN_TEST_fF_f1): Likewise.
22070 (RUN_TEST_LOOP_fF_f1): Likewise.
22071 (RUN_TEST_fI_f1): Likewise.
22072 (RUN_TEST_LOOP_fI_f1): Likewise.
22073 (RUN_TEST_ffI_f1): Likewise.
22074 (RUN_TEST_LOOP_ffI_f1): Likewise.
22075 (RUN_TEST_c_c): Likewise.
22076 (RUN_TEST_LOOP_c_c): Likewise.
22077 (RUN_TEST_cc_c): Likewise.
22078 (RUN_TEST_LOOP_cc_c): Likewise.
22079 (RUN_TEST_f_i): Likewise.
22080 (RUN_TEST_LOOP_f_i): Likewise.
22081 (RUN_TEST_f_i_tg): Likewise.
22082 (RUN_TEST_LOOP_f_i_tg): Likewise.
22083 (RUN_TEST_ff_i_tg): Likewise.
22084 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22085 (RUN_TEST_f_b): Likewise.
22086 (RUN_TEST_LOOP_f_b): Likewise.
22087 (RUN_TEST_f_b_tg): Likewise.
22088 (RUN_TEST_LOOP_f_b_tg): Likewise.
22089 (RUN_TEST_f_l): Likewise.
22090 (RUN_TEST_LOOP_f_l): Likewise.
22091 (RUN_TEST_f_L): Likewise.
22092 (RUN_TEST_LOOP_f_L): Likewise.
22093 (RUN_TEST_sincos): Likewise.
22094 (RUN_TEST_LOOP_sincos): Likewise.
22096 2013-05-17 Joseph Myers <joseph@codesourcery.com>
22100 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22101 main case of finite arguments, set rounding mode to FE_TONEAREST
22102 and discard exceptions.
22103 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22105 (remainder_tonearest_test_data): New variable.
22106 (remainder_test_tonearest): New function.
22107 (remainder_towardzero_test_data): New variable.
22108 (remainder_test_towardzero): New function.
22109 (remainder_downward_test_data): New variable.
22110 (remainder_test_downward): New function.
22111 (remainder_upward_test_data): New variable.
22112 (remainder_test_upward): New function.
22113 (main): Call the new test functions.
22115 * math/libm-test.inc (struct test_f_f1_data): Remove field
22117 (struct test_fF_f1_data): Likewise.
22118 (struct test_ffI_f1_data): Likewise.
22119 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22120 based on value of EXTRA_EXPECTED.
22121 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22122 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22123 EXTRA_VAR based on value of EXTRA_EXPECTED.
22124 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22125 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22126 EXTRA_VAR based on value of EXTRA_EXPECTED.
22127 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22128 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22129 EXTRA_VAR based on value of EXTRA_EXPECTED.
22130 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22131 * math/gen-libm-test.pl (parse_args): Don't output initializers
22132 for extra output values.
22134 * math/libm-test.inc (check_int): Expect result to be exactly
22135 equal to expected value and do not handle ulps.
22136 (check_long): Likewise.
22137 (check_longlong): Likewise.
22139 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22141 (cimag_test_data): Likewise.
22142 (conj_test_data): Likewise.
22143 (copysign_test_data): Likewise.
22144 (cproj_test_data): Likewise.
22145 (creal_test_data): Likewise.
22146 (fabs_test_data): Likewise.
22147 (fdim_test_data): Likewise.
22148 (finite_test_data): Likewise.
22149 (floor_test_data): Likewise.
22150 (fmax_test_data): Likewise.
22151 (fmin_test_data): Likewise.
22152 (fmod_test_data): Likewise.
22153 (fpclassify_test_data): Likewise.
22154 (frexp_test_data): Likewise.
22155 (ilogb_test_data): Likewise.
22156 (isfinite_test_data): Likewise.
22157 (isgreater_test_data): Likewise.
22158 (isgreaterequal_test_data): Likewise.
22159 (isinf_test_data): Likewise.
22160 (isless_test_data): Likewise.
22161 (islessequal_test_data): Likewise.
22162 (islessgreater_test_data): Likewise.
22163 (isnan_test_data): Likewise.
22164 (isnormal_test_data): Likewise.
22165 (issignaling_test_data): Likewise.
22166 (isunordered_test_data): Likewise.
22167 (ldexp_test_data): Likewise.
22168 (lrint_test_data): Likewise.
22169 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22170 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22171 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22172 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22173 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22174 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22176 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22177 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22178 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22179 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22181 (lrint_downward_test_data): Test for "inexact" exceptions.
22182 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22183 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22184 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22186 (lrint_upward_test_data): Test for "inexact" exceptions.
22187 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22189 (llrint_test_data): Test for "inexact" exceptions.
22190 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22191 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22192 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22193 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22194 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22195 (llrint_downward_test_data): Test for "inexact" exceptions.
22196 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22197 (llrint_upward_test_data): Test for "inexact" exceptions.
22198 (logb_test_data): Likewise.
22199 (logb_downward_test_data): Likewise.
22200 (nextafter_test_data): Likewise.
22201 (nexttoward_test_data): Likewise.
22202 (remainder_test_data): Likewise.
22203 (remquo_test_data): Likewise.
22204 (scalbn_test_data): Likewise.
22205 (scalbln_test_data): Likewise.
22206 (signbit_test_data): Likewise.
22207 (sqrt_test_data): Likewise.
22208 (significand_test_data): Likewise.
22210 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22213 * benchtests/bench-modf.c (struct args): Mark arg0 as
22215 * scripts/bench.pl: Mark members of struct args as volatile.
22217 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22220 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22221 negative infinity on POWER6 or lower.
22222 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22224 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22227 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22228 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22229 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22230 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22231 (_FP_SETQNAN): New macro.
22232 (_FP_SETQNAN_SEMIRAW): Likewise.
22233 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22234 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22235 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22236 (FP_EXTEND): Use _FP_FRAC_SNANP.
22237 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22238 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22245 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22247 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22248 with DIVIDE_BY_ZERO_EXCEPTION.
22249 (gamma_test_data): Likewise.
22250 (lgamma_test_data): Likewise.
22251 (log_test_data): Likewise.
22252 (log10_test_data): Likewise.
22253 (log2_test_data): Likewise.
22254 (tgamma_test_data): Likewise.
22256 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22257 (acos_test_tonearest): Likewise.
22258 (acos_test_towardzero): Likewise.
22259 (acos_test_downward): Likewise.
22260 (acos_test_upward): Likewise.
22261 (acosh_test): Likewise.
22262 (asin_test): Likewise.
22263 (asin_test_tonearest): Likewise.
22264 (asin_test_towardzero): Likewise.
22265 (asin_test_downward): Likewise.
22266 (asin_test_upward): Likewise.
22267 (asinh_test): Likewise.
22268 (atan_test): Likewise.
22269 (atanh_test): Likewise.
22270 (atan2_test): Likewise.
22271 (cabs_test): Likewise.
22272 (cacos_test): Likewise.
22273 (cacosh_test): Likewise.
22274 (casin_test): Likewise.
22275 (casinh_test): Likewise.
22276 (catan_test): Likewise.
22277 (catanh_test): Likewise.
22278 (cbrt_test): Likewise.
22279 (ccos_test): Likewise.
22280 (ccosh_test): Likewise.
22281 (cexp_test): Likewise.
22282 (clog_test): Likewise.
22283 (clog10_test): Likewise.
22284 (cos_test): Likewise.
22285 (cos_test_tonearest): Likewise.
22286 (cos_test_towardzero): Likewise.
22287 (cos_test_downward): Likewise.
22288 (cos_test_upward): Likewise.
22289 (cosh_test): Likewise.
22290 (cosh_test_tonearest): Likewise.
22291 (cosh_test_towardzero): Likewise.
22292 (cosh_test_downward): Likewise.
22293 (cosh_test_upward): Likewise.
22294 (cpow_test): Likewise.
22295 (csin_test): Likewise.
22296 (csinh_test): Likewise.
22297 (csqrt_test): Likewise.
22298 (ctan_test): Likewise.
22299 (ctan_test_tonearest): Likewise.
22300 (ctan_test_towardzero): Likewise.
22301 (ctan_test_downward): Likewise.
22302 (ctan_test_upward): Likewise.
22303 (ctanh_test): Likewise.
22304 (ctanh_test_tonearest): Likewise.
22305 (ctanh_test_towardzero): Likewise.
22306 (ctanh_test_downward): Likewise.
22307 (ctanh_test_upward): Likewise.
22308 (erf_test): Likewise.
22309 (erfc_test): Likewise.
22310 (exp_test): Likewise.
22311 (exp_test_tonearest): Likewise.
22312 (exp_test_towardzero): Likewise.
22313 (exp_test_downward): Likewise.
22314 (exp_test_upward): Likewise.
22315 (exp10_test): Likewise.
22316 (exp2_test): Likewise.
22317 (expm1_test): Likewise.
22318 (fmod_test): Likewise.
22319 (gamma_test): Likewise.
22320 (hypot_test): Likewise.
22321 (j0_test): Likewise.
22322 (j1_test): Likewise.
22323 (jn_test): Likewise.
22324 (lgamma_test): Likewise.
22325 (log_test): Likewise.
22326 (log10_test): Likewise.
22327 (log1p_test): Likewise.
22328 (log2_test): Likewise.
22329 (logb_test_downward): Likewise.
22330 (pow_test): Likewise.
22331 (pow_test_tonearest): Likewise.
22332 (pow_test_towardzero): Likewise.
22333 (pow_test_downward): Likewise.
22334 (pow_test_upward): Likewise.
22335 (remainder_test): Likewise.
22336 (remquo_test): Likewise.
22337 (sin_test): Likewise.
22338 (sin_test_tonearest): Likewise.
22339 (sin_test_towardzero): Likewise.
22340 (sin_test_downward): Likewise.
22341 (sin_test_upward): Likewise.
22342 (sincos_test): Likewise.
22343 (sinh_test): Likewise.
22344 (sinh_test_tonearest): Likewise.
22345 (sinh_test_towardzero): Likewise.
22346 (sinh_test_downward): Likewise.
22347 (sinh_test_upward): Likewise.
22348 (sqrt_test): Likewise.
22349 (tan_test): Likewise.
22350 (tan_test_tonearest): Likewise.
22351 (tan_test_towardzero): Likewise.
22352 (tan_test_downward): Likewise.
22353 (tan_test_upward): Likewise.
22354 (tanh_test): Likewise.
22355 (tgamma_test): Likewise.
22356 (y0_test): Likewise.
22357 (y1_test): Likewise.
22358 (yn_test): Likewise.
22360 * math/gen-libm-test.pl (adjust_arg): Remove function.
22361 (special_function): Remove argument $in_func. Only handle
22362 generating output for tables of tests, not inside functions.
22363 (parse_args): Likewise.
22364 (generate_testfile): Remove variable $in_func. Update call to
22366 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
22367 (MINUS_ZERO_INIT): Rename macro to minus_zero.
22368 (PLUS_INFTY_INIT): Rename macro to plus_infty.
22369 (MINUS_INFTY_INIT): Rename macro to minus_infty.
22370 (QNAN_VALUE_INIT): Rename macro to qnan_value.
22371 (MAX_VALUE_INIT): Rename macro to max_value.
22372 (MIN_VALUE_INIT): Rename macro to min_value.
22373 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
22374 (plus_zero): Remove variable.
22375 (minus_zero): Likewise.
22376 (plus_infty): Likewise.
22377 (minus_infty): Likewise.
22378 (qnan_value): Likewise.
22379 (max_value): Likewise.
22380 (min_value): Likewise.
22381 (min_subnorm_value): Likewise.
22383 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22385 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
22386 uint64_t or uint32_t usage.
22387 * crypt/sha256-block.c: Likewise.
22388 * crypt/sha256-crypt.c: Likewise.
22389 * crypt/sha256.c: Likewise.
22390 * crypt/sha512-block.c: Likewise.
22391 * crypt/sha512-crypt.c: Likewise.
22392 * crypt/sha512.c: Likewise.
22393 * debug/backtrace-tst.c: Likewise.
22394 * debug/pcprofiledump.c: Likewise.
22395 * elf/cache.c: Likewise.
22396 * elf/dl-cache.c: Likewise.
22397 * elf/dl-misc.c: Likewise.
22398 * elf/dl-profile.c: Likewise.
22399 * elf/dl-support.c: Likewise.
22400 * elf/ldconfig.c: Likewise.
22401 * elf/sprof.c: Likewise.
22402 * iconv/dummy-repertoire.c: Likewise.
22403 * iconv/iconv_charmap.c: Likewise.
22404 * iconv/skeleton.c: Likewise.
22405 * iconvdata/8bit-generic.c: Likewise.
22406 * iconvdata/cp737.h: Likewise.
22407 * iconvdata/cp775.h: Likewise.
22408 * iconvdata/ibm1008.h: Likewise.
22409 * iconvdata/ibm1025.h: Likewise.
22410 * iconvdata/ibm1046.h: Likewise.
22411 * iconvdata/ibm1097.h: Likewise.
22412 * iconvdata/ibm1112.h: Likewise.
22413 * iconvdata/ibm1122.h: Likewise.
22414 * iconvdata/ibm1123.h: Likewise.
22415 * iconvdata/ibm1124.h: Likewise.
22416 * iconvdata/ibm1129.h: Likewise.
22417 * iconvdata/ibm1130.h: Likewise.
22418 * iconvdata/ibm1132.h: Likewise.
22419 * iconvdata/ibm1133.h: Likewise.
22420 * iconvdata/ibm1137.h: Likewise.
22421 * iconvdata/ibm1140.h: Likewise.
22422 * iconvdata/ibm1141.h: Likewise.
22423 * iconvdata/ibm1142.h: Likewise.
22424 * iconvdata/ibm1143.h: Likewise.
22425 * iconvdata/ibm1144.h: Likewise.
22426 * iconvdata/ibm1145.h: Likewise.
22427 * iconvdata/ibm1146.h: Likewise.
22428 * iconvdata/ibm1147.h: Likewise.
22429 * iconvdata/ibm1148.h: Likewise.
22430 * iconvdata/ibm1149.h: Likewise.
22431 * iconvdata/ibm1153.h: Likewise.
22432 * iconvdata/ibm1154.h: Likewise.
22433 * iconvdata/ibm1155.h: Likewise.
22434 * iconvdata/ibm1156.h: Likewise.
22435 * iconvdata/ibm1157.h: Likewise.
22436 * iconvdata/ibm1158.h: Likewise.
22437 * iconvdata/ibm1160.h: Likewise.
22438 * iconvdata/ibm1161.h: Likewise.
22439 * iconvdata/ibm1162.h: Likewise.
22440 * iconvdata/ibm1163.h: Likewise.
22441 * iconvdata/ibm1164.h: Likewise.
22442 * iconvdata/ibm1166.h: Likewise.
22443 * iconvdata/ibm1167.h: Likewise.
22444 * iconvdata/ibm12712.h: Likewise.
22445 * iconvdata/ibm1390.h: Likewise.
22446 * iconvdata/ibm1399.h: Likewise.
22447 * iconvdata/ibm16804.h: Likewise.
22448 * iconvdata/ibm4517.h: Likewise.
22449 * iconvdata/ibm4899.h: Likewise.
22450 * iconvdata/ibm4909.h: Likewise.
22451 * iconvdata/ibm4971.h: Likewise.
22452 * iconvdata/ibm5347.h: Likewise.
22453 * iconvdata/ibm803.h: Likewise.
22454 * iconvdata/ibm856.h: Likewise.
22455 * iconvdata/ibm901.h: Likewise.
22456 * iconvdata/ibm902.h: Likewise.
22457 * iconvdata/ibm9030.h: Likewise.
22458 * iconvdata/ibm9066.h: Likewise.
22459 * iconvdata/ibm921.h: Likewise.
22460 * iconvdata/ibm922.h: Likewise.
22461 * iconvdata/ibm9448.h: Likewise.
22462 * iconvdata/isiri-3342.h: Likewise.
22463 * iconvdata/jis0201.h: Likewise.
22464 * include/link.h: Likewise.
22465 * include/netdb.h: Likewise.
22466 * inet/check_native.c: Likewise.
22467 * inet/check_pf.c: Likewise.
22468 * inet/getipv4sourcefilter.c: Likewise.
22469 * inet/getnameinfo.c: Likewise.
22470 * inet/getsourcefilter.c: Likewise.
22471 * inet/htonl.c: Likewise.
22472 * inet/setipv4sourcefilter.c: Likewise.
22473 * inet/setsourcefilter.c: Likewise.
22474 * inet/test-inet6_opt.c: Likewise.
22475 * inet/tst-network.c: Likewise.
22476 * locale/C-collate.c: Likewise.
22477 * locale/C-ctype.c: Likewise.
22478 * locale/C-time.c: Likewise.
22479 * locale/C-translit.h: Likewise.
22480 * locale/loadarchive.c: Likewise.
22481 * locale/programs/3level.h: Likewise.
22482 * locale/programs/charmap.c: Likewise.
22483 * locale/programs/charmap.h: Likewise.
22484 * locale/programs/ld-address.c: Likewise.
22485 * locale/programs/ld-collate.c: Likewise.
22486 * locale/programs/ld-ctype.c: Likewise.
22487 * locale/programs/ld-identification.c: Likewise.
22488 * locale/programs/ld-measurement.c: Likewise.
22489 * locale/programs/ld-messages.c: Likewise.
22490 * locale/programs/ld-monetary.c: Likewise.
22491 * locale/programs/ld-name.c: Likewise.
22492 * locale/programs/ld-numeric.c: Likewise.
22493 * locale/programs/ld-paper.c: Likewise.
22494 * locale/programs/ld-telephone.c: Likewise.
22495 * locale/programs/ld-time.c: Likewise.
22496 * locale/programs/linereader.c: Likewise.
22497 * locale/programs/locale.c: Likewise.
22498 * locale/programs/locarchive.c: Likewise.
22499 * locale/programs/locfile.h: Likewise.
22500 * locale/programs/repertoire.c: Likewise.
22501 * locale/programs/simple-hash.c: Likewise.
22502 * locale/programs/simple-hash.h: Likewise.
22503 * malloc/memusage.c: Likewise.
22504 * malloc/memusagestat.c: Likewise.
22505 * nis/nis_defaults.c: Likewise.
22506 * nis/nis_hash.c: Likewise.
22507 * nis/nis_print.c: Likewise.
22508 * nis/nis_xdr.c: Likewise.
22509 * nscd/connections.c: Likewise.
22510 * nscd/hstcache.c: Likewise.
22511 * nscd/nscd_gethst_r.c: Likewise.
22512 * nscd/nscd_getserv_r.c: Likewise.
22513 * nscd/nscd_helper.c: Likewise.
22514 * nscd/servicescache.c: Likewise.
22515 * nss/makedb.c: Likewise.
22516 * nss/nss_db/db-XXX.c: Likewise.
22517 * nss/nss_db/db-initgroups.c: Likewise.
22518 * nss/nss_db/db-netgrp.c: Likewise.
22519 * nss/nss_files/files-network.c: Likewise.
22520 * nss/nss_files/files-parse.c: Likewise.
22521 * posix/bug-regex5.c: Likewise.
22522 * posix/fnmatch_loop.c: Likewise.
22523 * posix/regcomp.c: Likewise.
22524 * posix/regexec.c: Likewise.
22525 * posix/tst-rfc3484-2.c: Likewise.
22526 * posix/tst-rfc3484-3.c: Likewise.
22527 * posix/tst-rfc3484.c: Likewise.
22528 * resolv/nss_dns/dns-canon.c: Likewise.
22529 * resolv/nss_dns/dns-network.c: Likewise.
22530 * resolv/res_init.c: Likewise.
22531 * resolv/res_mkquery.c: Likewise.
22532 * resolv/tst-aton.c: Likewise.
22533 * stdlib/cxa_atexit.c: Likewise.
22534 * stdlib/cxa_finalize.c: Likewise.
22535 * stdlib/gen-fpioconst.c: Likewise.
22536 * stdlib/strtol_l.c: Likewise.
22537 * string/tst-endian.c: Likewise.
22538 * sunrpc/auth_des.c: Likewise.
22539 * sunrpc/clnt_udp.c: Likewise.
22540 * sunrpc/rtime.c: Likewise.
22541 * sunrpc/svcauth_des.c: Likewise.
22542 * sunrpc/xdr.c: Likewise.
22543 * sunrpc/xdr_intXX_t.c: Likewise.
22544 * sunrpc/xdr_rec.c: Likewise.
22545 * sysdeps/generic/ldconfig.h: Likewise.
22546 * sysdeps/generic/ldsodefs.h: Likewise.
22547 * sysdeps/generic/memusage.h: Likewise.
22548 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
22551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22558 * sysdeps/posix/getaddrinfo.c: Likewise.
22559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22563 * sysdeps/powerpc/test-gettimebase.c: Likewise.
22564 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22565 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
22566 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
22567 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
22568 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
22569 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22570 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22571 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
22572 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
22573 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
22574 * sysdeps/x86_64/dl-tls.h: Likewise.
22575 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
22576 * time/alt_digit.c: Likewise.
22577 * time/era.c: Likewise.
22578 * wcsmbs/tst-c16c32-1.c: Likewise.
22580 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22582 * math/libm-test.inc (struct test_sincos_data): New type.
22583 (RUN_TEST_LOOP_sincos): New macro.
22584 (sincos_test_data): New variable.
22585 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
22587 2013-05-16 Richard Henderson <rth@redhat.com>
22589 * math/atest-exp2.c (LIMB64): New macro.
22590 (CONSTSZ): New macro.
22591 (mp_exp1, mp_exp_m1, mp_log2): New variables.
22593 (print_mpn_fp): ... to function scope.
22594 (read_mpn_hex): Remove.
22595 (get_log2): Remove.
22596 (exp2_mpn): Use mp_log2.
22597 (main): Use mp_exp1.
22599 2013-05-16 Joseph Myers <joseph@codesourcery.com>
22601 * math/libm-test.inc: Remove comment about not testing "inexact"
22603 (INEXACT_EXCEPTION): New macro.
22604 (NO_INEXACT_EXCEPTION): Likewise.
22605 (INVALID_EXCEPTION_OK): Update value.
22606 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22607 (OVERFLOW_EXCEPTION_OK): Likewise.
22608 (UNDERFLOW_EXCEPTION_OK): Likewise.
22609 (IGNORE_ZERO_INF_SIGN): Likewise.
22610 (ERRNO_UNCHANGED): Likewise.
22611 (ERRNO_EDOM): Likewise.
22612 (ERRNO_ERANGE): Likewise.
22613 (test_exceptions): Handle testing "inexact" exceptions.
22614 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
22615 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
22616 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
22617 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
22619 (rint_towardzero_test_data): Likewise.
22620 (rint_downward_test_data): Likewise.
22621 (rint_upward_test_data): Likewise.
22623 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
22624 with OVERFLOW_EXCEPTION.
22625 (exp10_test_data): Likewise.
22626 (exp2_test_data): Likewise.
22627 (expm1_test_data): Likewise.
22628 (lgamma_test_data): Likewise.
22629 (pow_test_data): Likewise.
22630 (tgamma_test_data): Likewise.
22631 (yn_test_data): Remove duplicate test of overflow.
22633 * math/libm-test.inc (struct test_cc_c_data): New type.
22634 (RUN_TEST_LOOP_cc_c): New macro.
22635 (cpow_test_data): New variable.
22636 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
22638 * math/libm-test.inc (struct test_f_L_data): New type.
22639 (RUN_TEST_LOOP_f_L): New macro.
22640 (llrint_test_data): New variable.
22641 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22642 (llrint_tonearest_test_data): New variable.
22643 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
22644 (llrint_towardzero_test_data): New variable.
22645 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
22646 (llrint_downward_test_data): New variable.
22647 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
22648 (llrint_upward_test_data): New variable.
22649 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
22650 (llround_test_data): New variable.
22651 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
22653 2013-05-13 Peter Collingbourne <pcc@google.com>
22655 * math/atest-exp2.c (get_log2): Remove const attribute.
22657 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22659 * math/libm-test.inc (struct test_f_l_data): New type.
22660 (RUN_TEST_LOOP_f_l): New macro.
22661 (lrint_test_data): New variable.
22662 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
22663 (lrint_tonearest_test_data): New variable.
22664 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
22665 (lrint_towardzero_test_data): New variable.
22666 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
22667 (lrint_downward_test_data): New variable.
22668 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
22669 (lrint_upward_test_data): New variable.
22670 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
22671 (lround_test_data): New variable.
22672 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
22674 2013-05-15 Peter Collingbourne <pcc@google.com>
22676 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
22677 (EXTRACT_WORDS64) Use where appropriate.
22678 (INSERT_WORDS64) Likewise.
22680 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
22681 constraints with x constraints.
22682 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
22684 * malloc/obstack.c (_obstack_compat): Add initializer.
22686 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
22688 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
22689 si_trapno and add si_addr_lsb to _sifields.sigfault.
22690 (si_trapno): Remove macro.
22691 (si_addr_lsb): Define new macro.
22692 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22694 2013-05-15 Joseph Myers <joseph@codesourcery.com>
22696 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
22697 instead of TEST_f_l.
22698 (llrint_test_tonearest): Likewise.
22699 (llrint_test_towardzero): Likewise.
22700 (llrint_test_downward): Likewise.
22701 (llrint_test_upward): Likewise.
22702 (llround_test): Likewise.
22704 * math/libm-test.inc (struct test_f_i_data): Add comment.
22705 (RUN_TEST_LOOP_f_b): New macro.
22706 (RUN_TEST_LOOP_f_b_tg): Likewise.
22707 (finite_test_data): New variable.
22708 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
22709 (isfinite_test_data): New variable.
22710 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22711 (isinf_test_data): New variable.
22712 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22713 (isnan_test_data): New variable.
22714 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22715 (isnormal_test_data): New variable.
22716 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22717 (issignaling_test_data): New variable.
22718 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22719 (signbit_test_data): New variable.
22720 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
22722 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22723 with INVALID_EXCEPTION.
22724 (acosh_test_data): Likewise.
22725 (asin_test_data): Likewise.
22726 (atanh_test_data): Likewise.
22727 (fmod_test_data): Likewise.
22728 (log_test_data): Likewise.
22729 (log10_test_data): Likewise.
22730 (log2_test_data): Likewise.
22731 (pow_test_data): Likewise.
22732 (sqrt_test_data): Likewise.
22733 (y0_test_data): Likewise.
22734 (y1_test_data): Likewise.
22735 (yn_test_data): Likewise.
22737 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
22740 * math/libm-test.inc (struct test_ff_i_data): New type.
22741 (RUN_TEST_LOOP_ff_i_tg): New macro.
22742 (isgreater_test_data): New variable.
22743 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22744 (isgreaterequal_test_data): New variable.
22745 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22746 (isless_test_data): New variable.
22747 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22748 (islessequal_test_data): New variable.
22749 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22750 (islessgreater_test_data): New variable.
22751 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22752 (isunordered_test_data): New variable.
22753 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
22755 2013-05-14 David S. Miller <davem@davemloft.net>
22757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22759 2013-05-14 Joseph Myers <joseph@codesourcery.com>
22761 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
22763 * math/libm-test.inc (struct test_fF_f1_data): Change type of
22765 (struct test_f_i_data): Change type of max_ulp to int.
22767 * math/libm-test.inc (test_ffI_f1_data): New type.
22768 (RUN_TEST_LOOP_ffI_f1): New macro.
22769 (remquo_test_data): New variable.
22770 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
22772 * setjmp/tst-setjmp-fp.c: New file.
22773 * setjmp/Makefile (tests): Add tst-setjmp-fp.
22774 (link-libm): New variable.
22775 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
22777 * math/libm-test.inc (struct test_f_i_data): New type.
22778 (RUN_TEST_LOOP_f_i): New macro.
22779 (RUN_TEST_LOOP_f_i_tg): Likewise.
22780 (fpclassify_test_data): New variable.
22781 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
22782 (ilogb_test_data): New variable.
22783 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
22785 * math/libm-test.inc (scalbln_test): Correct function name in END
22788 * math/libm-test.inc (struct test_f_f1_data): Add comment.
22789 (RUN_TEST_LOOP_fI_f1): New macro.
22790 (frexp_test_data): New variable.
22791 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
22793 * math/libm-test.inc (struct test_fF_f1_data): New type.
22794 (RUN_TEST_LOOP_fF_f1): New macro.
22795 (modf_test_data): New variable.
22796 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
22798 * math/libm-test.inc (struct test_f_f1_data): New type.
22799 (RUN_TEST_LOOP_f_f1): New macro.
22800 (gamma_test_data): New variable.
22801 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22802 (lgamma_test_data): New variable.
22803 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
22805 2013-05-13 Carlos O'Donell <carlos@redhat.com>
22807 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
22808 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
22809 (main): Comment "tls" pseudo-hwcap.
22811 2013-05-13 Joseph Myers <joseph@codesourcery.com>
22813 * math/libm-test.inc (struct test_fl_f_data): New type.
22814 (RUN_TEST_LOOP_fl_f): New variable.
22815 (scalbln_test_data): New variable.
22816 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
22818 * math/libm-test.inc (struct test_fi_f_data): New type.
22819 (RUN_TEST_LOOP_fi_f): New macro.
22820 (ldexp_test_data): New variable.
22821 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
22822 (scalbn_test_data): New variable.
22823 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
22825 * math/libm-test.inc (struct test_c_f_data): New type.
22826 (RUN_TEST_LOOP_c_f): New macro.
22827 (cabs_test_data): New variable.
22828 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
22829 (carg_test_data): New variable.
22830 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
22831 (cimag_test_data): New variable.
22832 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
22833 (creal_test_data): New variable.
22834 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
22836 * math/libm-test.inc (struct test_if_f_data): New type.
22837 (RUN_TEST_LOOP_if_f): New macro.
22838 (jn_test_data): New variable.
22839 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
22840 (yn_test_data): New variable.
22841 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
22843 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
22845 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22847 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
22848 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
22850 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
22852 * benchtests/Makefile (CPPFLAGS-nonlib): Add
22853 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
22854 (bench-deps): Add bench-timing.h.
22855 * benchtests-bench-skeleton.c: Include bench-timing.h.
22856 (main): Use TIMING_* macros instead of clock_gettime.
22857 * benchtests/bench-timing.h: New file.
22860 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
22861 Renamed from _LIB_VERSION.
22862 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
22864 2013-05-12 Joseph Myers <joseph@codesourcery.com>
22866 * math/libm-test.inc (struct test_fff_f_data): New type.
22867 (RUN_TEST_LOOP_fff_f): New macro.
22868 (fma_test_data): New variable.
22869 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
22870 (fma_towardzero_test_data): New variable.
22871 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
22872 (fma_downward_test_data): New variable.
22873 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
22874 (fma_upward_test_data): New variable.
22875 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
22877 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22878 (struct test_c_c_data): New type.
22879 (RUN_TEST_LOOP_c_c): New macro.
22880 (cacos_test_data): New variable.
22881 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
22882 (cacosh_test_data): New variable.
22883 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
22884 (casin_test_data): New variable.
22885 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
22886 (casinh_test_data): New variable.
22887 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
22888 (catan_test_data): New variable.
22889 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
22890 (catanh_test_data): New variable.
22891 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
22892 (ccos_test_data): New variable.
22893 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
22894 (ccosh_test_data): New variable.
22895 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
22896 (cexp_test_data): New variable.
22897 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
22898 (clog_test_data): New variable.
22899 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
22900 (clog10_test_data): New variable.
22901 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
22902 (conj_test_data): New variable.
22903 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
22904 (cproj_test_data): New variable.
22905 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
22906 (csin_test_data): New variable.
22907 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
22908 (csinh_test_data): New variable.
22909 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
22910 (csqrt_test_data): New variable.
22911 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
22912 (ctan_test_data): New variable.
22913 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
22914 (ctan_tonearest_test_data): New variable.
22915 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22916 (ctan_towardzero_test_data): New variable.
22917 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22918 (ctan_downward_test_data): New variable.
22919 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22920 (ctan_upward_test_data): New variable.
22921 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22922 (ctanh_test_data): New variable.
22923 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
22924 (ctanh_tonearest_test_data): New variable.
22925 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
22926 (ctanh_towardzero_test_data): New variable.
22927 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
22928 (ctanh_downward_test_data): New variable.
22929 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
22930 (ctanh_upward_test_data): New variable.
22931 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
22932 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
22935 * math/libm-test.inc (struct test_ff_f_data): New type.
22936 (struct test_ff_f_data_nexttoward): Likewise.
22937 (RUN_TEST_LOOP_2_f): New macro.
22938 (RUN_TEST_LOOP_ff_f): Likewise.
22939 (atan2_test_data): New variable.
22940 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
22941 (copysign_test_data): New variable.
22942 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
22943 (fdim_test_data): New variable.
22944 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
22945 (fmax_test_data): New variable.
22946 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
22947 (fmin_test_data): New variable.
22948 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
22949 (fmod_test_data): New variable.
22950 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
22951 (hypot_test_data): New variable.
22952 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
22953 (nextafter_test_data): New variable.
22954 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
22955 (nexttoward_test_data): New variable.
22956 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
22957 (pow_test_data): New variable.
22958 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
22959 (pow_tonearest_test_data): New variable.
22960 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
22961 (pow_towardzero_test_data): New variable.
22962 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
22963 (pow_downward_test_data): New variable.
22964 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
22965 (pow_upward_test_data): New variable.
22966 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
22967 (remainder_test_data): New variable.
22968 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
22969 (scalb_test_data): New variable.
22970 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
22971 * sysdeps/i386/fpu/libm-test-ulps: Update.
22973 2013-05-11 Joseph Myers <joseph@codesourcery.com>
22975 * math/libm-test.inc (fma_test): Use max_value instead of local
22977 (nextafter_test): Likewise.
22979 * math/libm-test.inc (acos_towardzero_test_data): New variable.
22980 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22981 (acos_downward_test_data): New variable.
22982 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22983 (acos_upward_test_data): New variable.
22984 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22985 (acosh_test_data): New variable.
22986 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
22987 (asin_test_data): New variable.
22988 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
22989 (asin_tonearest_test_data): New variable.
22990 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
22991 (asin_towardzero_test_data): New variable.
22992 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
22993 (asin_downward_test_data): New variable.
22994 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
22995 (asin_upward_test_data): New variable.
22996 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
22997 (asinh_test_data): New variable.
22998 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
22999 (atan_test_data): New variable.
23000 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23001 (atanh_test_data): New variable.
23002 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23003 (cbrt_test_data): New variable.
23004 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23005 (ceil_test_data): New variable.
23006 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23007 (cos_test_data): New variable.
23008 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23009 (cos_tonearest_test_data): New variable.
23010 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23011 (cos_towardzero_test_data): New variable.
23012 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23013 (cos_downward_test_data): New variable.
23014 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23015 (cos_upward_test_data): New variable.
23016 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23017 (cosh_test_data): New variable.
23018 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23019 (cosh_tonearest_test_data): New variable.
23020 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23021 (cosh_towardzero_test_data): New variable.
23022 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23023 (cosh_downward_test_data): New variable.
23024 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23025 (cosh_upward_test_data): New variable.
23026 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23027 (erf_test_data): New variable.
23028 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23029 (erfc_test_data): New variable.
23030 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23031 (exp_test_data): New variable.
23032 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23033 (exp_tonearest_test_data): New variable.
23034 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23035 (exp_towardzero_test_data): New variable.
23036 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23037 (exp_downward_test_data): New variable.
23038 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23039 (exp_upward_test_data): New variable.
23040 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23041 (exp10_test_data): New variable.
23042 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23043 (exp2_test_data): New variable.
23044 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23045 (expm1_test_data): New variable.
23046 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23047 (fabs_test_data): New variable.
23048 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23049 (floor_test_data): New variable.
23050 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23051 (j0_test_data): New variable.
23052 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23053 (j1_test_data): New variable.
23054 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23055 (log_test_data): New variable.
23056 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23057 (log10_test_data): New variable.
23058 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23059 (log1p_test_data): New variable.
23060 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23061 (log2_test_data): New variable.
23062 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23063 (logb_test_data): New variable.
23064 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23065 (logb_downward_test_data): New variable.
23066 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23067 (nearbyint_test_data): New variable.
23068 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23069 (rint_test_data): New variable.
23070 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23071 (rint_tonearest_test_data): New variable.
23072 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23073 (rint_towardzero_test_data): New variable.
23074 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23075 (rint_downward_test_data): New variable.
23076 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23077 (rint_upward_test_data): New variable.
23078 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23079 (round_test_data): New variable.
23080 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23081 (sin_test_data): New variable.
23082 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23083 (sin_tonearest_test_data): New variable.
23084 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23085 (sin_towardzero_test_data): New variable.
23086 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23087 (sin_downward_test_data): New variable.
23088 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23089 (sin_upward_test_data): New variable.
23090 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23091 (sinh_test_data): New variable.
23092 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23093 (sinh_tonearest_test_data): New variable.
23094 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23095 (sinh_towardzero_test_data): New variable.
23096 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23097 (sinh_downward_test_data): New variable.
23098 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23099 (sinh_upward_test_data): New variable.
23100 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23101 (sqrt_test_data): New variable.
23102 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23103 (tan_test_data): New variable.
23104 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23105 (tan_tonearest_test_data): New variable.
23106 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23107 (tan_towardzero_test_data): New variable.
23108 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23109 (tan_downward_test_data): New variable.
23110 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23111 (tan_upward_test_data): New variable.
23112 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23113 (tanh_test_data): New variable.
23114 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23115 (tgamma_test_data): New variable.
23116 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23117 (trunc_test_data): New variable.
23118 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23119 (y0_test_data): New variable.
23120 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23121 (y1_test_data): New variable.
23122 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23123 (significand_test_data): New variable.
23124 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23126 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23129 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23131 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23133 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23135 2013-05-10 Andreas Jaeger <aj@suse.de>
23138 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23139 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23141 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23143 * math/gen-libm-test.pl (adjust_arg): New function.
23144 (special_functions): Handle generating output in both functions
23146 (parse_args): Likewise.
23147 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23148 $in_func argument to parse_args.
23149 * math/libm-test.inc (struct test_f_f_data): New type.
23150 (IF_ROUND_INIT_): New macro.
23151 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23152 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23153 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23154 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23155 (ROUND_RESTORE_): Likewise.
23156 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23157 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23158 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23159 (ROUND_RESTORE_FE_UPWARD): Likewise.
23160 (RUN_TEST_LOOP_f_f): New macro.
23161 (acos_test_data): New variable.
23162 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23163 (acos_tonearest_test_data): New variable.
23164 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23166 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23168 * benchtests/bench-skeleton.c (startup): Fix coding style.
23170 2013-05-10 Joseph Myers <joseph@codesourcery.com>
23173 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23174 negative infinity argument.
23175 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23176 negative infinity argument.
23177 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23178 negative infinity argument.
23179 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23182 2013-05-10 Florian Weimer <fweimer@redhat.com>
23184 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23185 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23186 * iconv/iconv_prog.c (main): Likewise.
23187 * locale/programs/charmap-dir.c (charmap_readdir)
23188 (fopen_uncompressed): Likewise.
23189 * locale/programs/locfile.c (siblings_uncached)
23190 (write_locale_data): Use lstat64 instead of lstat.
23191 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23194 2013-05-10 Andreas Jaeger <aj@suse.de>
23197 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23199 Include <locale.h>.
23201 2013-05-09 Carlos O'Donell <carlos@redhat.com>
23203 * elf/dl-close.c (_dl_close_worker): Add comments.
23205 2013-05-09 Joseph Myers <joseph@codesourcery.com>
23208 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23210 (__ieee754_rem_pio2l): Update comments.
23213 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23215 (__ieee754_rem_pio2l): Update comments.
23217 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23218 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23220 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23223 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23224 (M_PI_34_LOG10El): Likewise.
23225 (M_PI2_LOG10El): Likewise.
23226 (M_PI4_LOG10El): Likewise.
23227 (M_PI_LOG10El): Likewise.
23229 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23233 2013-05-08 Joseph Myers <joseph@codesourcery.com>
23235 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23236 (MINUS_ZERO_INIT): Likewise.
23237 (PLUS_INFTY_INIT): Likewise.
23238 (MINUS_INFTY_INIT): Likewise.
23239 (QNAN_VALUE_INIT): Likewise.
23240 (MAX_VALUE_INIT): Likewise.
23241 (MIN_VALUE_INIT): Likewise.
23242 (MIN_SUBNORM_VALUE_INIT): Likewise.
23243 (plus_zero): Initialize with PLUS_ZERO_INIT.
23244 (minus_zero): Initialize with MINUS_ZERO_INIT.
23245 (plus_infty): Initialize with PLUS_INFTY_INIT.
23246 (minus_infty): Initialize with MINUS_INFTY_INIT.
23247 (qnan_value): Initialize with QNAN_VALUE_INIT.
23248 (max_value): Initialize with MAX_VALUE_INIT.
23249 (min_value): Initialize with MIN_VALUE_INIT.
23250 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23252 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23253 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23254 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23255 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23257 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23258 (RUN_TEST_2_f): Likewise.
23259 (RUN_TEST_ff_f): Likewise.
23260 (RUN_TEST_fi_f): Likewise.
23261 (RUN_TEST_fl_f): Likewise.
23262 (RUN_TEST_fff_f): Likewise.
23263 (RUN_TEST_c_f): Likewise.
23264 (RUN_TEST_f_f1): Likewise.
23265 (RUN_TEST_fF_f1): Likewise.
23266 (RUN_TEST_fI_f1): Likewise.
23267 (RUN_TEST_ffI_f1): Likewise.
23268 (RUN_TEST_c_c): Likewise.
23269 (RUN_TEST_cc_c): Likewise.
23270 (RUN_TEST_f_i): Likewise.
23271 (RUN_TEST_f_i_tg): Likewise.
23272 (RUN_TEST_ff_i_tg): Likewise.
23273 (RUN_TEST_f_b): Likewise.
23274 (RUN_TEST_f_b_tg): Likewise.
23275 (RUN_TEST_f_l): Likewise.
23276 (RUN_TEST_f_L): Likewise.
23277 (RUN_TEST_sincos): Likewise.
23278 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23279 whether to show exceptions. Do not include ");\n" in return
23281 (special_functions): Output call to RUN_TEST_sincos instead of
23282 check_float calls. Update calls to new_test.
23283 (parse_args): Output call to single RUN_TEST_* macro instead of
23284 check_* calls and other assignments. Update calls to new_test.
23290 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23291 input to result for tgamma overflow.
23292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
23293 (gamma_coeff): New variable.
23294 (NCOEFF): New macro.
23295 (gamma_positive): New function.
23296 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
23297 underflow here. Use gamma_positive instead of exp (lgamma) for
23299 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
23300 (gamma_coeff): New variable.
23301 (NCOEFF): New macro.
23302 (gammaf_positive): New function.
23303 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
23304 underflow here. Use gamma_positive instead of exp (lgamma) for
23306 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
23307 (gamma_coeff): New variable.
23308 (NCOEFF): New macro.
23309 (gammal_positive): New function.
23310 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
23311 underflow here. Use gamma_positive instead of exp (lgamma) for
23313 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
23314 (gamma_coeff): New variable.
23315 (NCOEFF): New macro.
23316 (gammal_positive): New function.
23317 (__ieee754_gammal_r): Handle positive infinity, overflow and
23318 underflow here. Handle NaN the same as positive infinity. Remove
23319 check x < 0xffffffff for negative integers. Use gamma_positive
23320 instead of exp (lgamma) for other arguments.
23321 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
23322 (gamma_coeff): New variable.
23323 (NCOEFF): New macro.
23324 (gammal_positive): New function.
23325 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
23326 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
23327 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
23328 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
23329 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
23330 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
23331 * sysdeps/generic/math_private.h (__gamma_productf): New
23333 (__gamma_product): Likewise.
23334 (__gamma_productl): Likewise.
23335 * math/Makefile (libm-calls): Add gamma_product.
23336 * math/libm-test.inc (tgamma_test): Add more tests.
23337 * sysdeps/i386/fpu/libm-test-ulps: Update.
23338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
23342 * benchtests/bench-skeleton.c (main): Preheat CPU.
23344 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
23346 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
23348 2013-05-07 Roland McGrath <roland@hack.frob.com>
23350 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
23351 and _dl_skip_args_internal.
23353 2013-05-07 Carlos O'Donell <carlos@redhat.com>
23355 * manual/message.texi (Message Translation): Talk about users.
23356 Message to key mapping impacts design.
23358 2013-05-06 Roland McGrath <roland@hack.frob.com>
23360 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
23362 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
23364 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
23365 * sysdeps/wordsize-64/glob64.c: ... here.
23367 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
23368 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
23371 * debug/getlogin_r_chk.c: Moved to ...
23372 * login/getlogin_r_chk.c: ... here.
23373 * debug/Makefile (routines): Move getlogin_r_chk to ...
23374 * login/Makefile (routines): ... here.
23375 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
23376 * login/Versions (libc: GLIBC_2.4): ... here.
23378 * io/poll.c (__poll): Renamed from poll.
23379 Add libc_hidden_def.
23380 (poll): Define as weak alias.
23382 * debug/ptsname_r_chk.c: Moved to ...
23383 * login/ptsname_r_chk.c: ... here.
23384 * debug/Makefile (routines): Move ptsname_r_chk to ...
23385 * login/Makefile (routines): ... here.
23386 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
23387 * login/Versions (libc: GLIBC_2.4): ... here.
23389 * posix/getlogin.c: Moved to ...
23390 * login/getlogin.c: ... here.
23391 * posix/getlogin_r.c: Moved to ...
23392 * login/getlogin_r.c: ... here.
23393 * posix/getlogin_r.c: Moved to ...
23394 * login/getlogin_r.c: ... here.
23395 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
23396 * login/Makefile (routines): ... here.
23397 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
23398 * login/Versions (libc: GLIBC_2.0): ... here.
23400 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
23401 (setrlimit): Define as weak alias.
23403 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
23404 Call __ names for open, ftruncate, and close.
23405 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
23406 (truncate): Define as weak alias.
23408 2013-05-06 Joseph Myers <joseph@codesourcery.com>
23410 * math/gen-libm-test.pl (parse_args): Initialize x before each
23411 test of frexp, modf and remquo.
23413 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
23414 test signgam value.
23416 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23420 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
23422 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23424 2013-05-06 Roland McGrath <roland@hack.frob.com>
23426 * elf/dl-writev.h: New file.
23427 * elf/dl-misc.c: Include it.
23428 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
23429 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
23431 2013-05-04 Joseph Myers <joseph@codesourcery.com>
23433 * math/libm-test.inc (noXFails): Remove variable.
23434 (noXPasses): Likewise.
23435 (BUILD_COMPLEX_INT): Remove macro.
23436 (print_screen): Remove xfail argument.
23437 (print_screen_max_error): Likewise.
23438 (update_stats): Likewise.
23439 (print_max_error): Likewise. Update calls to other affected
23441 (print_complex_max_error): Likewise.
23442 (test_single_exception): Update calls to print_screen.
23443 (test_single_errno): Likewise.
23444 (check_float_internal): Remove xfail argument. Update calls to
23445 other affected functions.
23446 (check_float): Likewise.
23447 (check_complex): Likewise.
23448 (check_int): Likewise.
23449 (check_long): Likewise.
23450 (check_bool): Likewise.
23451 (check_longlong): Likewise.
23452 (main): Don't print noXFails and noXPasses.
23453 * math/gen-libm-test.pl (top level): Don't mention expected
23454 failure handling in comment.
23455 (new_test): Don't handle expected failures.
23456 (parse_args): Don't mention expected failure handling in comment.
23457 (generate_testfile): Don't handle expected failures.
23458 (parse_ulps): Likewise.
23459 (print_ulps_file): Likewise.
23460 (get_failure): Remove function.
23461 (output_test): Don't handle expected failures.
23462 * make/README.libm-test: Don't mention expected failure handling.
23464 * math/libm-test.inc (plus_zero): Make const. Add initializer.
23465 (minus_zero): Likewise.
23466 (plus_infty): Likewise.
23467 (minus_infty): Likewise.
23468 (qnan_value): Likewise.
23469 (max_value): Likewise.
23470 (min_value): Likewise.
23471 (min_subnorm_value): Likewise.
23472 (initialize): Do not initialize those variables dynamically.
23474 2013-05-03 Roland McGrath <roland@hack.frob.com>
23476 * io/open.c (__open_2): Moved to ...
23477 * io/open_2.c: ... this new file.
23478 * io/open64.c (__open64_2): Moved to ...
23479 * io/open64_2.c: ... this new file.
23480 * io/openat.c (__openat_2): Moved to ...
23481 * io/openat_2.c: ... this new file.
23482 * io/openat64.c (__openat64_2): Moved to ...
23483 * io/openat64_2.c: ... this new file.
23484 * io/Makefile (routines): Add them.
23485 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
23486 * sysdeps/unix/sysv/linux/open_2.c: File removed.
23487 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
23488 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
23489 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
23490 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
23491 (__openat64): Add hidden_ver.
23492 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
23493 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
23495 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
23496 Separately conditionalize setting of GLRO(dl_sysinfo) so
23497 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
23498 as well, but the actual setting is only under [NEED_DL_SYSINFO].
23500 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23502 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
23503 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
23505 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
23506 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23507 (_libc_vdso_platform_setup): Add __vdso_time initialization.
23508 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
23509 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
23511 2013-05-03 Joseph Myers <joseph@codesourcery.com>
23513 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
23514 test signgam value.
23516 * math/libm-test.inc (hypot_test): Do not use
23517 IGNORE_ZERO_INF_SIGN.
23519 2013-05-03 Andreas Jaeger <aj@suse.de>
23521 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
23523 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
23524 (PF_MAX): Adjust for VSOCK change.
23526 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23530 2013-05-02 Carlos O'Donell <carlos@redhat.com>
23533 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
23534 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
23535 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
23537 2013-05-02 David S. Miller <davem@davemloft.net>
23539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23541 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
23543 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
23545 2013-05-01 Roland McGrath <roland@hack.frob.com>
23547 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
23549 2013-05-01 Richard Smith <richard@metafoo.co.uk>
23552 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
23553 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23554 Use __attribute__ ((__gnu_inline__)).
23555 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
23556 Don't use __attribute__ ((__gnu_inline__)).
23558 2013-05-01 Joseph Myers <joseph@codesourcery.com>
23561 * math/s_catan.c (__catan): Handle small real or imaginary part of
23562 input specially to avoid spurious underflow.
23563 * math/s_catanf.c (__catanf): Likewise.
23564 * math/s_catanh.c (__catanh): Likewise.
23565 * math/s_catanhf.c (__catanhf): Likewise.
23566 * math/s_catanhl.c (__catanhl): Likewise.
23567 * math/s_catanl.c (__catanl): Likewise.
23568 * math/libm-test.inc (catan_test): Add more tests.
23569 (catanh_test): Likewise.
23570 * sysdeps/i386/fpu/libm-test-ulps: Update.
23571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23573 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23575 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23577 2013-04-30 Joseph Myers <joseph@codesourcery.com>
23580 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
23581 accurately for denominator in atan2.
23582 * math/s_catanf.c (__catanf): Likewise.
23583 * math/s_catanh.c (__catanh): Likewise.
23584 * math/s_catanhf.c (__catanhf): Likewise.
23585 * math/s_catanhl.c (__catanhl): Likewise.
23586 * math/s_catanl.c (__catanl): Likewise.
23587 * math/libm-test.inc (catan_test): Add more tests.
23588 (catanh_test): Likewise.
23589 * sysdeps/i386/fpu/libm-test-ulps: Update.
23590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23592 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23594 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
23596 * benchtests/Makefile (bench): Remove slow benchmarks.
23597 * benchtests/atan-inputs: Add slow benchmark inputs.
23598 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
23599 (BENCH_FUNC): Accept variant offset.
23601 * benchtests/bench-skeleton.c (main): Run benchmark for each
23603 * benchtests/cos-inputs: Add slow benchmark inputs.
23604 * benchtests/exp-inputs: Likewise.
23605 * benchtests/pow-inputs: Likewise.
23606 * benchtests/sin-inputs: Likewise.
23607 * benchtests/slowatan-inputs: Remove.
23608 * benchtests/slowatan.c: Remove.
23609 * benchtests/slowcos-inputs: Remove.
23610 * benchtests/slowcos.c: Remove.
23611 * benchtests/slowexp-inputs: Remove.
23612 * benchtests/slowexp.c: Remove.
23613 * benchtests/slowpow-inputs: Remove.
23614 * benchtests/slowpow.c: Remove.
23615 * benchtests/slowsin-inputs: Remove.
23616 * benchtests/slowsin.c: Remove.
23617 * benchtests/slowtan-inputs: Remove.
23618 * benchtests/slowtan.c: Remove.
23619 * benchtests/tan-inputs: Add slow benchmark inputs.
23620 * scripts/bench.pl: Parse comments and directives.
23622 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
23624 ($(objpfx)bench-%.c): Remove *-ITER.
23625 * benchtests/bench-modf.c: Remove definition of ITER.
23626 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
23627 (main): Loop for DURATION seconds instead of fixed number of
23629 * scripts/bench.pl: Don't expect iterations in parameters.
23631 2013-04-29 Roland McGrath <roland@hack.frob.com>
23633 * io/fchdir.c (__fchdir): Renamed from fchdir.
23634 (fchdir): Define as weak alias.
23636 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23638 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
23639 (ERRNO_EDOM): Likewise.
23640 (ERRNO_ERANGE): Likewise.
23641 (noErrnoTests): New variable.
23642 (init_max_error): Set errno to 0.
23643 (test_single_errno): New function.
23644 (test_errno): Likewise.
23645 (check_float_internal): Call test_errno. Set errno to 0.
23646 (check_complex): Refer to errno tests in comment.
23647 (check_int): Call test_errno. Set errno to 0.
23648 (check_long): Likewise.
23649 (check_bool): Likewise.
23650 (check_longlong): Likewise.
23651 (cos_test): Use ERRNO_* flags for errno tests instead of
23653 (expm1_test): Likewise.
23654 (fmod_test): Likewise.
23655 (ilogb_test): Likewise.
23656 (lgamma_test): Likewise.
23657 (pow_test): Likewise.
23658 (remainder_test): Likewise.
23659 (sin_test): Likewise.
23660 (tan_test): Likewise.
23661 (yn_test): Likewise.
23662 (initialize): Set errno to 0.
23663 (main): Print number of errno tests.
23664 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
23666 2013-04-29 Andreas Jaeger <aj@suse.de>
23669 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
23673 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
23674 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
23678 * stdlib/random.c (__initstate): Return NULL if
23682 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
23683 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
23686 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23690 2013-04-29 Joseph Myers <joseph@codesourcery.com>
23692 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
23693 of individual tests.
23694 (casin_test): Likewise.
23695 (casinh_test): Likewise.
23697 2013-04-27 Joseph Myers <joseph@codesourcery.com>
23700 * math/s_catan.c (__catan): Handle arguments with large real or
23701 imaginary part separately without squaring.
23702 * math/s_catanf.c (__catanf): Likewise.
23703 * math/s_catanh.c (__catanh): Likewise.
23704 * math/s_catanhf.c (__catanhf): Likewise.
23705 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23707 (__catanhl): Handle arguments with large real or imaginary part
23708 separately without squaring.
23709 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
23711 (__catanl): Handle arguments with large real or imaginary part
23712 separately without squaring.
23713 * math/libm-test.inc (catan_test): Add more tests.
23714 (catanh_test): Likewise.
23715 * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23718 2013-04-27 Andreas Jaeger <aj@suse.de>
23721 * stdlib/stdlib.h: Update guards for qecvt.
23722 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
23725 2013-04-27 Allan McRae <allan@archlinux.org>
23727 * sysdeps/i386/fpu/libm-test-ulps: Update.
23729 2013-04-26 Joseph Myers <joseph@codesourcery.com>
23732 * math/s_catan.c: Include <float.h>.
23733 (__catan): Ensure underflow exception occurs for underflowed
23735 * math/s_catanf.c: Include <float.h>.
23736 (__catanf): Ensure underflow exception occurs for underflowed
23738 * math/s_catanh.c: Include <float.h>.
23739 (__catanh): Ensure underflow exception occurs for underflowed
23741 * math/s_catanhf.c: Include <float.h>.
23742 (__catanhf): Ensure underflow exception occurs for underflowed
23744 * math/s_catanhl.c: Include <float.h>.
23745 (__catanhl): Ensure underflow exception occurs for underflowed
23747 * math/s_catanl.c: Include <float.h>.
23748 (__catanl): Ensure underflow exception occurs for underflowed
23750 * math/libm-test.inc (catan_test): Add more tests.
23751 (catanh_test): Likewise.
23754 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
23755 underflowed result.
23756 * math/s_ccoshf.c (__ccoshf): Likewise.
23757 * math/s_ccoshl.c (__ccoshl): Likewise.
23758 * math/s_csin.c (__csin): Likewise.
23759 * math/s_csinf.c (__csinf): Likewise.
23760 * math/s_csinh.c (__csinh): Likewise.
23761 * math/s_csinhf.c (__csinhf): Likewise.
23762 * math/s_csinhl.c (__csinhl): Likewise.
23763 * math/s_csinl.c (__csinl): Likewise.
23764 * math/libm-test.inc (ccos_test): Add more tests.
23765 (ccosh_test): Likewise.
23766 (csin_test): Likewise.
23767 (csinh_test): Likewise.
23769 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23771 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
23772 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
23773 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
23774 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
23775 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
23776 powerpc/power5+/fpu folders.
23777 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
23780 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23782 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23784 2013-04-25 Joseph Myers <joseph@codesourcery.com>
23786 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
23787 additions to variable.
23788 [$(config-machine) = x86_64] (modules-names): Likewise.
23789 ($(objpfx)tst-audit3): Remove dependency.
23790 ($(objpfx)tst-audit3.out): Likewise.
23791 ($(objpfx)tst-audit4): Likewise.
23792 ($(objpfx)tst-audit4.out): Likewise.
23793 ($(objpfx)tst-audit5): Likewise.
23794 ($(objpfx)tst-audit5.out): Likewise.
23795 ($(objpfx)tst-audit6): Likewise.
23796 ($(objpfx)tst-audit6.out): Likewise.
23797 ($(objpfx)tst-audit7): Likewise.
23798 ($(objpfx)tst-audit7.out): Likewise.
23799 (tst-audit3-ENV): Remove variable.
23800 (tst-audit4-ENV): Likewise.
23801 (tst-audit5-ENV): Likewise.
23802 (tst-audit6-ENV): Likewise.
23803 (tst-audit7-ENV): Likewise.
23804 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
23805 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
23806 addition to variable.
23807 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
23808 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
23809 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
23810 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
23811 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
23812 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
23813 tst-audit3, tst-audit4 and tst-audit5.
23814 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
23815 tst-audit6 and tst-audit7.
23816 [$(subdir) = elf] (modules-names): Add audit modules for those
23818 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
23819 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
23820 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
23821 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
23822 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
23823 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
23824 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
23825 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
23826 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
23827 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
23828 [$(subdir) = elf] (tst-audit3-ENV): New variable.
23829 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
23830 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
23831 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
23832 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
23833 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
23835 [$(subdir) = elf && $(config-cflags-avx) = yes]
23836 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
23837 [$(subdir) = elf && $(config-cflags-avx) = yes]
23838 (CFLAGS-tst-auditmod4a.c): Likewise.
23839 [$(subdir) = elf && $(config-cflags-avx) = yes]
23840 (CFLAGS-tst-auditmod4b.c): Likewise.
23841 [$(subdir) = elf && $(config-cflags-avx) = yes]
23842 (CFLAGS-tst-auditmod6b.c): Likewise.
23843 [$(subdir) = elf && $(config-cflags-avx) = yes]
23844 (CFLAGS-tst-auditmod6c.c): Likewise.
23845 [$(subdir) = elf && $(config-cflags-avx) = yes]
23846 (CFLAGS-tst-auditmod7b.c): Likewise.
23847 * elf/tst-audit3.c: Move to ...
23848 * sysdeps/x86_64/tst-audit3.c: ... here.
23849 * elf/tst-audit4.c: Move to ...
23850 * sysdeps/x86_64/tst-audit4.c: ... here.
23851 * elf/tst-audit5.c: Move to ...
23852 * sysdeps/x86_64/tst-audit5.c: ... here.
23853 * elf/tst-audit6.c: Move to ...
23854 * sysdeps/x86_64/tst-audit6.c: ... here.
23855 * elf/tst-audit7.c: Move to ...
23856 * sysdeps/x86_64/tst-audit7.c: ... here.
23857 * elf/tst-auditmod3a.c: Move to ...
23858 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
23859 * elf/tst-auditmod3b.c: Move to ...
23860 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
23861 * elf/tst-auditmod4a.c: Move to ...
23862 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
23863 * elf/tst-auditmod4b.c: Move to ...
23864 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
23865 * elf/tst-auditmod5a.c: Move to ...
23866 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
23867 * elf/tst-auditmod5b.c: Move to ...
23868 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
23869 * elf/tst-auditmod6a.c: Move to ...
23870 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
23871 * elf/tst-auditmod6b.c: Move to ...
23872 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
23873 * elf/tst-auditmod6c.c: Move to ...
23874 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
23875 * elf/tst-auditmod7a.c: Move to ...
23876 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
23877 * elf/tst-auditmod7b.c: Move to ...
23878 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
23880 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
23883 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
23884 define unconditionally.
23885 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
23886 define unconditionally.
23887 (INT8_C, INT16_C, etc.): Likewise.
23889 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
23891 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
23892 __ehdr_start with hidden visibility.
23894 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
23896 2013-04-24 Carlos O'Donell <carlos@redhat.com>
23898 * math/libm-test.inc (cos_test): Use accurate hex constants.
23899 (sincost_test): Likewise.
23901 2013-04-24 Joseph Myers <joseph@codesourcery.com>
23903 * math/libm-test.inc (catan_test): Add more tests.
23904 (catanh_test): Likewise.
23906 * math/s_catanf.c (__catanf): Use suffixed floating-point
23908 * math/s_catanhf.c (__catanhf): Likewise.
23909 * math/s_catanhl.c (__catanhl): Likewise.
23910 * math/s_catanl.c (__catanl): Likewise.
23913 * math/s_catan.c (__catan): Calculate imaginary part of result
23914 with log1p not log unless computing log of number close to 0.
23915 * math/s_catanf.c (__catanf): Likewise.
23916 * math/s_catanl.c (__catanl): Likewise.
23917 * math/s_catanh.c (__catanh): Calculate real part of result with
23918 log1p not log unless computing log of number close to 0.
23919 * math/s_catanhf.c (__catanhf): Likewise.
23920 * math/s_catanhl.c (__catanhl): Likewise.
23921 * math/libm-test.inc (catan_test): Add more tests.
23922 (catanh_test): Likewise.
23923 * sysdeps/i386/fpu/libm-test-ulps: Update.
23924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23926 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23928 * benchtests/Makefile: Mention files in which fast and slow
23929 paths of math functions are implemented.
23931 2013-04-23 Roland McGrath <roland@hack.frob.com>
23933 * sysdeps/posix/timespec_get.c: New file.
23935 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23937 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
23939 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
23941 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
23942 powerpc/power5/fpu folders.
23943 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
23944 * benchtests/Makefile: Add modf testcase.
23945 * benchtests/bench-modf.c: New file: Benchmark test for mo
23947 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23950 * time/Makefile (tests): Add tst-strptime-whitespace.
23951 * time/strptime_l.c (get_number): Use ISSPACE.
23952 (__strptime_internal): Likewise.
23953 * time/tst-strptime-whitespace.c: New test case.
23955 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
23957 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
23959 (_nss_files_init): Set it here.
23961 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
23963 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
23964 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
23967 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
23969 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
23971 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23973 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
23976 2013-04-21 David S. Miller <davem@davemloft.net>
23978 * po/ru.po: Update Russion translation from translation project.
23980 2013-04-17 Adam Conrad <adconrad@0c3.net>
23982 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
23985 2013-04-17 Carlos O'Donell <carlos@redhat.com>
23987 * configure.in: Remove i386 configure warning. Remove i386 case.
23988 * configure: Regenerate.
23989 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
23990 Add example to error message.
23991 * sysdeps/i386/configure: Regenerate.
23993 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23995 * benchtests/Makefile (bench): Add cos, tan, slowcos and
23997 * benchtests/cos-inputs: New file.
23998 * benchtests/slowcos-inputs: New file.
23999 * benchtests/slowcos.c: New file.
24000 * benchtests/slowtan-inputs: New file.
24001 * benchtests/slowtan.c: New file.
24002 * benchtests/tan-inputs: New file.
24004 2013-04-16 Roland McGrath <roland@hack.frob.com>
24006 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24009 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24011 * benchtests/Makefile: Include cppflags-iterator.mk to add
24012 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24014 * Makefile.in (bench-clean): New target.
24015 * benchtests/Makefile (bench-clean): Likewise.
24017 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24019 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24021 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24023 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24025 2013-04-15 Andreas Schwab <schwab@suse.de>
24027 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24029 * nscd/pwdcache.c (cache_addpw): Likewise.
24030 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24033 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24035 * benchtests/Makefile (bench): Write all output to
24036 bench-out.tmp together.
24038 2013-04-15 Andreas Schwab <schwab@suse.de>
24040 * nscd/nscd.c (main): Don't fork again after closing files.
24042 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24044 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24046 * benchtests/Rules (bench-deps): Collect dependencies into a
24047 single variable. Add Makefile to dependencies.
24048 ($(objpfx)bench-%.c): Depend on bench-deps.
24050 2013-04-12 Roland McGrath <roland@hack.frob.com>
24051 Xavier Roche <roche+kml2@exalead.com>
24054 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24055 just that it's a file descriptor.
24056 * manual/llio.texi (Synchronizing AIO Operations): Update description
24057 for EBADF error from aio_fsync.
24059 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24061 * Rules (bench): Move target definition...
24062 * benchtests/Makefile: ... here.
24064 2013-04-11 Carlos O'Donell <carlos@redhat.com>
24066 * math/libm-test.inc (cos_test): Fix PI/2 test.
24067 (sincos_test): Likewise.
24068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24069 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24071 2013-04-11 Andreas Schwab <schwab@suse.de>
24074 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24075 accept exponent character only when digits were seen.
24076 * stdio-common/Makefile (tests): Add bug26.
24077 * stdio-common/bug26.c: New file.
24080 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24083 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24085 * Makeconfig (rtld-prefix): Define built linker prefix.
24086 * Rules (run-bench): Use it.
24087 * math/Makefile (run-regen-ulps): Likewise.
24089 * Rules (bench): Remove eval.
24091 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24092 Roland McGrath <roland@hack.frob.com>
24093 Ondrej Bilka <neleai@seznam.cz>
24096 * time/getdate.c: Include ctype.h and alloca.h.
24097 (__getdate_r): Trim leading and trailing spaces of input.
24098 * time/tst-getdate.c (tests): Add tests with leading and
24101 2013-04-08 Roland McGrath <roland@hack.frob.com>
24104 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24105 when computing value.
24107 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24109 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24110 Use testrun.sh to run libm tests.
24113 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24115 2013-04-06 Marko Myllynen <myllynen@redhat.com>
24118 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24120 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24122 * Makefile.in (regen-ulps): New target.
24123 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24124 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24125 [ifneq (no,$(PERL)] (regen-ulps): New target.
24126 [ifeq (no,$(PERL)] (regen-ulps): New target.
24127 * math/libm-test.inc (ulps_file_name): Define.
24128 (output_dir): New variable.
24129 (options): Add "output-dir" option.
24130 (parse_opt): Handle 'o' case.
24131 (main): If output_dir is non-NULL use it as a prefix
24133 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24135 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24137 [BZ #10060, #10062]
24138 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24139 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24140 fail configure if __sync_val_compare_and_swap is not inlined.
24141 * sysdeps/i386/configure: Regenerate.
24142 * configure.in: Build for i686 when configured for i386.
24143 * configure: Regenerate.
24144 * README: Remove i386 reference.
24146 2013-04-06 Carlos O'Donell <carlos@redhat.com>
24148 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24149 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24151 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24153 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24154 (lmsnanval): New variables.
24155 (F): Add conversion tests.
24156 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24157 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24159 * stdio-common/tstdiomisc.c (F): Properly collect individual
24162 [BZ #14686, #15336]
24163 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24164 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24165 Instead, use input NaN values or generate a qNaN by arithmetic
24166 operation. Also fix bugs to comply with the standard.
24167 * math/libm-test.inc (remainder_test): Add more tests.
24169 [BZ #15335, #15342]
24170 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24172 input NaN values or generate a qNaN by arithmetic operation.
24174 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24177 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24180 2013-04-03 Joseph Myers <joseph@codesourcery.com>
24183 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24184 underflowed result.
24185 * math/s_cexpf.c (__cexpf): Likewise.
24186 * math/s_cexpl.c (__cexpl): Likewise.
24187 * math/libm-test.inc (cexp_test): Add more tests.
24189 2013-04-03 Andreas Schwab <schwab@suse.de>
24192 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24193 order arrays from heap if bigger than alloca cutoff.
24195 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24197 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24198 (SNAN_TESTS_double): Refer to GCC PR56831.
24199 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24202 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24204 * Rules (bench): Move bench.out after the run is complete.
24206 * Rules (bench): Echo currently running benchmark.
24208 * benchtests/Makefile (bench): Add atan and slowatan.
24209 * benchtests/atan-inputs: New file.
24210 * benchtests/slowatan-inputs: New file.
24211 * benchtests/slowatan.c: New file.
24213 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24214 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24218 * sysdeps/unix/sysv/linux/kernel-features.h
24219 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24220 __ASSUME_XFS_RESTRICTED_CHOWN.
24221 * sysdeps/unix/sysv/linux/pathconf.c
24222 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24223 Save and restore errno.
24225 2013-04-02 Joseph Myers <joseph@codesourcery.com>
24228 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24229 arguments using __kernel_casinh.
24230 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24231 arguments using __kernel_casinhf.
24232 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24233 arguments using __kernel_casinhl.
24234 * math/libm-test.inc (cacosh_test): Add more tests.
24235 * sysdeps/i386/fpu/libm-test-ulps: Update.
24236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24238 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24240 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24243 * bench/Makefile (bench): Add sin and slowsin.
24244 * benchtests/sin-inputs: New file.
24245 * benchtests/slowsin-inputs: New file.
24246 * benchtests/slowsin.c: New file.
24248 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24249 (bench): Add slowexp and slowpow.
24250 (exp-ITER): Increase iterations.
24251 (pow-ITER): Likewise.
24252 * benchtests/exp-inputs: Change input.
24253 * benchtests/pow-inputs: Likewise.
24254 * benchtests/slowexp-inputs: New file.
24255 * benchtests/slowexp.c: New file.
24256 * benchtests/slowpow-inputs: New file.
24257 * benchtests/slowpow.c: New file.
24259 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24261 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24263 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24264 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24265 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24266 * benchtests/Makefile: Add rint benchtest.
24267 * benchtests/rint-inputs: Input for rint benchtest.
24269 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24271 * Versions.def (libm): Add GLIBC_2.18.
24272 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24273 hidden libm prototypes.
24274 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24275 * math/Makefile (libm-calls): Add s_issignaling.
24276 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24277 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24278 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24280 * math/math.h [__USE_GNU] (issignaling): New macro.
24281 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24282 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24283 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24284 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24287 * manual/arith.texi (issignaling): New section.
24288 * manual/libm-err-tab.pl (@all_functions): Update comment.
24289 * math/gen-libm-test.pl (parse_args): Apply special handling for
24291 * math/libm-test.inc (print_float, issignaling_test): New
24293 (check_float_internal): Add issignaling checks.
24294 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
24295 default definition.
24296 * sysdeps/powerpc/math-tests.h: New file.
24297 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
24299 * math/test-snan.c (TEST_FUNC): Likewise.
24301 2013-03-30 David S. Miller <davem@davemloft.net>
24303 * po/de.po: Update from translation team.
24305 2013-03-30 Joseph Myers <joseph@codesourcery.com>
24308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24309 imaginary part less than 1.0 and real part less than 0.5
24311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24313 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
24314 (cacos_test): Add more tests.
24315 (casin_test): Likewise.
24316 (casinh_test): Likewise.
24317 * sysdeps/i386/fpu/libm-test-ulps: Update.
24318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24320 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24322 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
24323 ONE with its value.
24325 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
24326 (__pow_mp): Replace ONE and MONE with their values.
24327 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24328 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
24329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24330 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
24331 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24334 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
24336 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
24337 (__pow_mp): Replace ZERO and MZERO with their values.
24338 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24339 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24340 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24342 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24343 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
24346 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
24348 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
24350 2013-03-28 Roland McGrath <roland@hack.frob.com>
24352 * include/stdlib.h [!SHARED] (__call_tls_dtors):
24353 Declare with __attribute__ ((weak)).
24354 * stdlib/exit.c (__libc_atexit) [!SHARED]:
24355 Call __call_tls_dtors only if it's not NULL.
24357 2013-03-28 Roland McGrath <roland@hack.frob.com>
24359 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
24360 didn't do it already, then set _dl_phdr and _dl_phnum based on the
24361 magic __ehdr_start linker symbol if it's defined.
24362 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
24363 them up here if it was already done.
24365 * elf/dl-support.c (_dl_phdr): Make pointer to const.
24366 (_dl_aux_init): Use const in cast when setting it.
24367 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
24368 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
24369 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
24371 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
24373 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
24374 * csu/libc-tls.c: Nor here.
24375 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
24377 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
24378 (__libc_message): Never call vsyslog.
24380 2013-03-28 Alan Modra <amodra@gmail.com>
24382 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
24384 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
24387 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24390 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
24392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24394 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24397 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24398 Don't add gid passed as argument.
24400 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
24402 2013-03-27 Joseph Myers <joseph@codesourcery.com>
24405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24406 imaginary part between 1.0 and 1.5 and real part less than 0.5
24408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24410 * math/libm-test.inc (cacos_test): Add more tests.
24411 (casin_test): Likewise.
24412 (casinh_test): Likewise.
24413 * sysdeps/i386/fpu/libm-test-ulps: Update.
24414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24416 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24418 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
24421 (denorm): Likewise.
24422 (__dbl_mp): Likewise.
24423 (add_magnitudes): Likewise.
24424 (sub_magnitudes): Likewise.
24432 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
24434 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
24435 (__dubcos): Likewise.
24436 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
24437 (__ieee754_acos): Likewise.
24438 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
24439 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
24440 (__exp1): Likewise.
24441 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24442 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24444 (my_log2): Likewise.
24445 (checkint): Likewise.
24446 * sysdeps/ieee754/dbl-64/e_remainder.c
24447 (__ieee754_remainder): Likewise.
24448 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24449 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24450 (bsloww): Likewise.
24451 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24453 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24454 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
24455 MANTISSA_STORE_T to store computations on mantissa. Use
24456 macros for rounding and division.
24457 (denorm): Likewise.
24458 (__dbl_mp): Likewise.
24459 (add_magnitudes): Likewise.
24460 (sub_magnitudes): Likewise.
24463 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24464 powers of two in terms of TWOPOW macro.
24465 (mp_no): Make type of mantissa as MANTISSA_T.
24466 [!RADIXI]: Define RADIXI.
24467 [!TWO52]: Define TWO52.
24468 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24470 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24472 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
24473 llroundl symbol when building for PPC32.
24475 2013-03-24 Mark H Weaver <mhw@netris.org>
24477 * manual/arith.texi (Normalization Functions): Fix prototypes for
24478 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
24480 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
24484 high value to check if expl overflow.
24485 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
24486 to check for underflow and overflow.
24487 * math/libm-test.inc: Add exp test.
24489 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
24492 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
24495 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24497 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
24500 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
24502 * math/gen-libm-test.pl (parse_args, special_functions): Properly
24503 wrap blocks consisting of several statements.
24505 * sysdeps/generic/math-tests.h: New file.
24506 * sysdeps/i386/fpu/math-tests.h: Likewise.
24507 * math/test-snan.c: Include it.
24508 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
24510 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24513 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
24514 (__ieee754_j0l): Do not improve calculations using cos of twice
24515 input for inputs above LDBL_MAX / 2.0L.
24516 (__ieee754_y0l): Likewise.
24517 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
24518 (__ieee754_j1l): Do not improve calculations using cos of twice
24519 input for inputs above LDBL_MAX / 2.0L.
24520 (__ieee754_y1l): Likewise.
24521 * math/libm-test.inc (j0_test): Add another test.
24522 (j1_test): Likewise.
24523 (y0_test): Likewise.
24524 (y1_test): Likewise.
24525 * sysdeps/i386/fpu/libm-test-ulps: Update.
24527 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24529 * Rules ($(objpfx)bench-%.c): Include code from a C source
24532 2013-03-21 Joseph Myers <joseph@codesourcery.com>
24535 * math/k_casinh.c (__kernel_casinh): Handle arguments with
24536 imaginary part 1.0 and real part less than 0.5 specially.
24537 * math/k_casinhf.c (__kernel_casinhf): Likewise.
24538 * math/k_casinhl.c (__kernel_casinhl): Likewise.
24539 * math/libm-test.inc (cacos_test): Add more tests.
24540 (casin_test): Likewise.
24541 (casinh_test): Likewise.
24542 * sysdeps/i386/fpu/libm-test-ulps: Update.
24543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24545 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
24548 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
24550 2013-03-20 Joseph Myers <joseph@codesourcery.com>
24552 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
24553 * config.make.in (config-cflags-sse4): Remove variable.
24554 (config-cflags-avx): Likewise.
24555 (config-cflags-sse2avx): Likewise.
24556 (config-cflags-novzeroupper): Likewise.
24557 (config-asflags-i686): Likewise.
24558 (have-mfma4): Likewise.
24559 (have-as-vis3): Likewise.
24561 * configure.in (MIG): Do not AC_SUBST.
24562 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
24563 (libc_cv_cc_sse4): Do not AC_SUBST.
24564 (libc_cv_cc_avx): Likewise.
24565 (libc_cv_cc_sse2avx): Likewise.
24566 (libc_cv_cc_novzeroupper): Likewise.
24567 (libc_cv_cc_fma4): Likewise.
24568 (libc_cv_as_i686): Likewise.
24569 (libc_cv_sparc_as_vis3): Likewise.
24570 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
24572 (config-asflags-i686): Likewise.
24573 (config-cflags-avx): Likewise.
24574 (config-cflags-sse2avx): Likewise.
24575 (have-mfma4): Likewise.
24576 (config-cflags-novzeroupper): Likewise.
24577 * sysdeps/mach/configure.in (MIG): Likewise.
24578 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
24579 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
24581 (config-cflags-avx): Likewise.
24582 (config-cflags-sse2avx): Likewise.
24583 (have-mfma4): Likewise.
24584 (config-cflags-novzeroupper): Likewise.
24585 * configure: Regenerated.
24586 * sysdeps/i386/configure: Likewise.
24587 * sysdeps/mach/configure: Likewise.
24588 * sysdeps/sparc/configure: Likewise.
24589 * sysdeps/x86_64/configure: Likewise.
24591 2013-03-20 Roland McGrath <roland@hack.frob.com>
24594 * locale/programs/localedef.c (options): Put N_ translation marker
24595 on argument names, not just descriptions.
24597 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24599 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
24601 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
24604 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
24606 2013-03-19 Roland McGrath <roland@hack.frob.com>
24608 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
24609 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
24610 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
24611 [!BEFORE_ABORT] (before_abort): New function.
24612 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
24613 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
24614 (writev_for_fatal): New function.
24615 (WRITEV_FOR_FATAL): New macro; call that.
24616 (backtrace_and_maps): New function.
24617 (BEFORE_ABORT): New macro; call that.
24618 (struct str_list): Type removed.
24619 (__libc_message, __libc_fatal): Functions removed.
24620 Include <sysdeps/posix/libc_fatal.c> instead.
24622 2013-03-19 Joseph Myers <joseph@codesourcery.com>
24624 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
24626 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
24629 2013-03-19 Andreas Schwab <schwab@suse.de>
24631 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
24632 * sysdeps/gnu/configure: Regenerate.
24634 * configure.in: Substitute libc_cv_rtlddir.
24635 * configure: Regenerate.
24636 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
24637 * Makeconfig (rtlddir, inst_rtlddir): New variables.
24638 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
24639 * elf/Makefile (install-others, CFLAGS-interp.c)
24640 (ldso_install, common-ldd-rewrite): Likewise.
24641 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
24642 $(inst_slibdir)/$(rtld-installed-name).
24643 * scripts/rellns-sh: Add -p option.
24644 * Makerules (make-shlib-link): Use rellns-sh to get relative name
24647 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24649 * manual/nptl.texi: Renamed to ...
24650 * manual/threads.texi: ... this.
24651 * manual/Makefile (chapters): Update.
24653 2013-03-18 Roland McGrath <roland@hack.frob.com>
24656 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
24657 on argument names, not just descriptions.
24658 * malloc/memusagestat.c (options): Likewise.
24659 * nss/getent.c (options): Likewise.
24661 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
24664 * iconv/iconv_prog.c (options): Put N_ translation marker
24665 on argument names, not just descriptions.
24666 * iconv/iconvconfig.c (options): Likewise.
24668 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
24670 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
24671 implementation which is faster on all x86_64 architectures.
24672 Tested on AMD, Intel Nehalem, SNB, IVB.
24673 * sysdeps/x86_64/strnlen.S: Likewise.
24675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24676 Remove all multiarch strlen and strnlen versions.
24677 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24678 Remove strlen and strnlen related parts.
24680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
24681 Inline strlen part.
24682 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
24684 * sysdeps/x86_64/multiarch/strlen.S: Remove.
24685 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
24686 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
24687 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
24688 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24689 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
24691 2013-03-17 Carlos O'Donell <carlos@redhat.com>
24693 * manual/memory.texi (Malloc Tunable Parameters):
24694 Sort parameters alphabetically. Add comments for missing entries.
24696 2013-03-17 David S. Miller <davem@davemloft.net>
24698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24700 2013-03-16 Joseph Myers <joseph@codesourcery.com>
24703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
24704 for arguments at most half maximum finite value.
24705 * math/libm-test.inc (j0_test): Add more tests.
24706 (j1_test): Likewise.
24707 (y0_test): Likewise.
24708 (y1_test): Likewise.
24709 * sysdeps/i386/fpu/libm-test-ulps: Update.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24713 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
24714 1 / x and functions P and Q for arguments above 0x1p256L.
24715 (__ieee754_y0l): Likewise.
24716 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
24717 (__ieee754_y1l): Likewise.
24718 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
24719 (j1_test): Likewise.
24720 (y0_test): Likewise.
24721 (y1_test): Likewise.
24723 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
24725 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
24728 2013-03-15 Roland McGrath <roland@hack.frob.com>
24730 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
24731 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
24732 zero since it's initialized to EXEC_PAGESIZE.
24734 * sysdeps/unix/sysv/linux/ldsodefs.h
24735 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
24736 * sysdeps/generic/ldsodefs.h: ... here.
24738 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
24740 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
24742 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
24744 * math/test-snan.c: Renamed from
24745 sysdeps/powerpc/fpu/test-powerpc-snan.c.
24746 * math/Makefile (tests): Add test-snan.
24747 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
24750 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
24751 SUFFIX. Initialize qNaN_var with __builtin_nan family of
24753 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
24754 __builtin_nan family of functions.
24755 * math/libm-test.inc (initialize): Initialize qnan_value with
24756 __builtin_nan family of functions.
24757 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
24759 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
24761 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
24762 storage class. Initialize qNaN_var and sNaN_var with
24763 __builtin_nan and __builtin_nans families of functions,
24766 * math/libm-test.inc (acosh_test): Also test with qNaN input.
24767 (sqrt_test): Remove duplicate test with qNaN input.
24768 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
24769 (round_test, signbit_test, significand_test): Note missing +/-Inf
24770 as well as qNaN tests.
24772 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
24773 qNaN_var. Fix a few strings, too.
24774 * math/libm-test.inc (nan_value): Rename to qnan_value.
24775 * math/gen-libm-test.pl (%beautify): Adjust to that.
24776 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
24777 * math/test-misc.c (main): Likewise.
24778 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
24779 to __qnan_bytes, and __qnan_union, respectively.
24780 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
24782 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
24783 and lqnanval, respectively.
24784 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
24785 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
24786 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
24787 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
24789 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
24790 * math/test-misc.c (main) [__x86_64__]: Enable test for long
24793 * math/test-misc.c (main): Fix copy'n'pastos.
24794 * misc/tst-efgcvt.c (special): Likewise.
24796 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
24797 Remove declarations.
24799 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24801 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
24802 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
24803 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
24804 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
24806 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24808 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
24809 macro to return vdso values correctly in IFUNC implementations.
24810 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
24811 Optimization by using IFUNC.
24813 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24814 Richard Henderson <rth@redhat.com>
24815 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24817 * Makefile.in (bench): New target.
24818 * NEWS: Mention the benchmark framework.
24819 * Rules (bench): Likewise.
24820 (binaries-bench): Generate binaries for functions to
24822 * benchtests/Makefile: New makefile for benchmark tests.
24823 * benchtests/bench-skeleton.c: New skeleton file for benchmark
24825 * benchtests/exp-inputs: New input file for EXP function.
24826 * benchtests/pow-inputs: New input file for POW function.
24827 * scripts/bench.pl: New script to generate source files for
24828 benchmark programs.
24830 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24832 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
24833 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
24834 computations on mantissa. Use macros for rounding and
24836 (denorm): Likewise.
24837 (__dbl_mp): Likewise.
24838 (add_magnitudes): Likewise.
24839 (sub_magnitudes): Likewise.
24842 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
24843 powers of two in terms of TWOPOW macro.
24844 (mp_no): Make type of mantissa as MANTISSA_T.
24845 [!RADIXI]: Define RADIXI.
24846 [!TWO52]: Define TWO52.
24847 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
24849 * manual/nptl.texi (cindex): Modify threads to pthreads.
24851 2013-03-15 Joseph Myers <joseph@codesourcery.com>
24853 * sysdeps/x86_64/preconfigure: Regenerated.
24855 2013-03-14 Joseph Myers <joseph@codesourcery.com>
24858 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
24860 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
24861 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
24863 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
24864 * math/libm-test.inc (j0_test): Do not allow one spurious
24865 underflow exception.
24866 (y1_test): Likewise.
24868 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24870 * manual/Makefile (chapters): Add nptl.
24871 * manual/debug.texi (Debugging Support): Add link to Threads
24873 * manual/nptl.texi: New file.
24875 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
24877 2013-03-14 Petr Baudis <pasky@ucw.cz>
24879 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
24880 for non-NULL pointer before the memory validity test. Pointed
24881 out by Holger Brunck <holger.brunck@keymile.com>.
24883 2013-03-13 Andreas Schwab <schwab@suse.de>
24885 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
24888 2013-03-13 Joseph Myers <joseph@codesourcery.com>
24890 * timezone/zic.c: Update from tzcode 2013b.
24892 2013-03-12 Carlos O'Donell <carlos@redhat.com>
24894 * manual/install.texi (Configuring and compiling):
24895 Mention i686 and i586.
24896 * INSTALL: Regenerate.
24898 2013-03-12 Roland McGrath <roland@hack.frob.com>
24900 * sysdeps/init_array/elf-init.c: New file.
24902 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
24903 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
24905 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
24906 __gmon_start__ as global, but as static with a .preinit_array pointer.
24907 * sysdeps/init_array/gmon-start.c: New file. Use that.
24908 * sysdeps/init_array/crti.S: New file, empty except for comments.
24909 * sysdeps/init_array/crtn.S: Likewise.
24911 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
24913 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
24915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24916 Remove Prefer_SSE_for_memop.
24917 * sysdeps/x86_64/multiarch/init-arch.h: Remove
24918 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
24919 HAS_PREFER_SSE_FOR_MEMOP.
24920 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
24922 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24923 Remove bzero, memset ifunc support.
24924 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
24925 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
24926 * sysdeps/x86_64/multiarch/memset.S: Likewise.
24927 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24929 2013-03-11 Andreas Schwab <schwab@suse.de>
24932 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
24934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
24935 (GLIBC_2.16): Remove pthread_atfork.
24937 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
24939 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
24940 (ptestcases.h): Likewise.
24942 2013-03-08 Roland McGrath <roland@hack.frob.com>
24944 * Makeconfig ($(common-objpfx)config.status): Depend on
24945 sysdeps/*/preconfigure{,.in} too.
24947 2013-03-08 Joseph Myers <joseph@codesourcery.com>
24949 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
24950 (__free_hook): Use void * instead of __malloc_ptr_t.
24951 (__malloc_hook): Likewise.
24952 (__realloc_hook): Likewise.
24953 (__memalign_hook): Likewise.
24954 (__after_morecore_hook): Likewise.
24955 * malloc/arena.c (save_malloc_hook): Likewise.
24956 (save_free_hook): Likewise.
24957 * malloc/hooks.c (malloc_hook_ini): Likewise.
24958 (realloc_hook_ini): Likewise.
24959 (memalign_hook_ini): Likewise.
24960 * malloc/malloc.c (malloc_hook_ini): Likewise.
24961 (realloc_hook_ini): Likewise.
24962 (memalign_hook_ini): Likewise.
24963 (__free_hook): Likewise.
24964 (__malloc_hook): Likewise.
24965 (__realloc_hook): Likewise.
24966 (__memalign_hook): Likewise.
24967 (__libc_malloc): Likewise.
24968 (__libc_free): Likewise.
24969 (__libc_realloc): Likewise.
24970 (__libc_memalign): Likewise.
24971 (__libc_valloc): Likewise.
24972 (__libc_pvalloc): Likewise.
24973 (__libc_calloc): Likewise.
24974 (__posix_memalign): Likewise.
24975 * malloc/morecore.c (__sbrk): Likewise.
24976 (__default_morecore): Likewise.
24978 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
24980 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
24981 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
24982 __malloc_ptrdiff_t.
24984 * malloc/malloc.h (__malloc_size_t): Remove macro.
24985 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
24987 (old_memalign_hook): Likewise.
24988 (old_realloc_hook): Likewise.
24989 (struct hdr): Likewise.
24991 (mallochook): Likewise.
24992 (memalignhook): Likewise.
24993 (reallochook): Likewise.
24994 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
24995 (tr_old_realloc_hook): Likewise.
24996 (tr_old_memalign_hook): Likewise.
24997 (tr_mallochook): Likewise.
24998 (tr_reallochook): Likewise.
24999 (tr_memalignhook): Likewise.
25001 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25003 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25004 default_ldbl_pack and using as default implementation.
25005 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25007 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25008 redundant definition.
25009 (ldbl_insert_mantissa): Likewise.
25010 (ldbl_canonicalize): Likewise.
25011 (ldbl_nearbyint): Likewise.
25012 (ldbl_pack): Rename to ldbl_pack_ppc.
25013 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25014 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25015 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25017 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25020 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25021 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25022 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25024 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25025 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25026 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25028 2013-03-07 Andreas Jaeger <aj@suse.de>
25030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25033 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25035 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25036 Include mpa.h and declare __MPEXP.
25037 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25038 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25039 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25040 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25041 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25042 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25043 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25045 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25046 (__slowpow): Use long double EXPL and LOGL functions to
25048 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25049 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25051 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25052 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25053 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25055 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25056 intermediate variable to calculate exponent.
25058 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25062 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25063 [!NO__SQR]: Define __sqr.
25064 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25065 and NO__SQR. Remove all code except __mul and __sqr. Include
25066 sysdeps/ieee754/dbl-64/mpa.c.
25067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25070 * posix/Makefile (tests): Add tst-pathconf.
25071 * posix/tst-pathconf.c: New test case.
25072 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25074 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25076 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
25078 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25080 2013-03-06 Andreas Jaeger <aj@suse.de>
25082 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25083 definition via __MAP_ANONYMOUS.
25085 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25086 it's not part of Linux headers.
25088 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25089 (MAP_HUGE_MASK): Define.
25091 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25093 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25094 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25096 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25097 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25099 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25102 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25104 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25105 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25106 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25107 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25108 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25109 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25114 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25115 Handle f2fs and efivarfs.
25117 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25120 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25121 (EFIVARFS_MAGIC): Add.
25122 (F2FS_LINK_MAX): Add.
25124 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25126 * stdio-common/vfprintf.c: Replace __builtin_expect with
25129 2013-03-06 Joseph Myers <joseph@codesourcery.com>
25132 * sysdeps/generic/bp-sym.h: Remove file.
25133 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25134 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25135 <bp-sym.h> and <bp-asm.h>.
25136 (__longjmp): Don't use BP_SYM.
25137 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25139 (memcpy): Don't use BP_SYM.
25140 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25141 <bp-sym.h> and <bp-asm.h>.
25142 (memcpy): Don't use BP_SYM.
25143 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25145 (memcpy): Don't use BP_SYM.
25146 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25148 (memset): Don't use BP_SYM.
25149 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25150 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25151 (__bzero): Don't use BP_SYM.
25152 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25153 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25154 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25155 <bp-sym.h> and <bp-asm.h>.
25156 (memcmp): Don't use BP_SYM. Remove comment about bounded
25158 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25159 <bp-sym.h> and <bp-asm.h>.
25160 (memcpy): Don't use BP_SYM.
25161 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25162 <bp-sym.h> and <bp-asm.h>.
25163 (memset): Don't use BP_SYM.
25164 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25165 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25166 (__bzero): Don't use BP_SYM.
25167 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25168 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25169 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25170 <bp-sym.h> and <bp-asm.h>.
25171 (strncmp): Don't use BP_SYM. Remove comment about bounded
25173 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25174 <bp-sym.h> and <bp-asm.h>.
25175 (memcpy): Don't use BP_SYM.
25176 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25177 <bp-sym.h> and <bp-asm.h>.
25178 (memset): Don't use BP_SYM.
25179 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25180 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25181 (__bzero): Don't use BP_SYM.
25182 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25183 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25185 <bp-sym.h> and <bp-asm.h>.
25186 (__memchr): Don't use BP_SYM.
25187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25188 <bp-sym.h> and <bp-asm.h>.
25189 (memcmp): Don't use BP_SYM. Remove comment about bounded
25191 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25192 <bp-sym.h> and <bp-asm.h>.
25193 (memcpy): Don't use BP_SYM.
25194 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25195 <bp-sym.h> and <bp-asm.h>.
25196 (__mempcpy): Don't use BP_SYM.
25197 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25198 <bp-sym.h> and <bp-asm.h>.
25199 (__memrchr): Don't use BP_SYM.
25200 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25201 <bp-sym.h> and <bp-asm.h>.
25202 (memset): Don't use BP_SYM.
25203 (__bzero): Likewise.
25204 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25205 <bp-sym.h> and <bp-asm.h>.
25206 (__rawmemchr): Don't use BP_SYM.
25207 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25208 <bp-sym.h> and <bp-asm.h>.
25209 (__STRCMP): Don't use BP_SYM.
25210 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25211 <bp-sym.h> and <bp-asm.h>.
25212 (strchr): Don't use BP_SYM.
25213 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25214 <bp-sym.h> and <bp-asm.h>.
25215 (__strchrnul): Don't use BP_SYM.
25216 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25217 <bp-sym.h> and <bp-asm.h>.
25218 (strlen): Don't use BP_SYM.
25219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25220 <bp-sym.h> and <bp-asm.h>.
25221 (strncmp): Don't use BP_SYM. Remove comment about bounded
25223 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25224 <bp-sym.h> and <bp-asm.h>.
25225 (__strnlen): Don't use BP_SYM.
25226 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25227 <bp-sym.h> and <bp-asm.h>.
25228 (__GI__setjmp): Don't use BP_SYM.
25229 (_setjmp): Likewise.
25230 (__sigsetjmp): Likewise.
25231 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25232 (L(start_addresses)): Don't use BP_SYM.
25233 (_start): Likewise.
25234 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25236 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25237 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25238 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25239 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25240 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25242 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25243 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25244 about bounded pointers.
25245 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25246 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25247 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25249 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25250 about bounded pointers. Remove GKM FIXME comments.
25251 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25252 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25254 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25255 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25256 Remove GKM FIXME comments.
25257 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25258 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25259 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25261 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25262 about bounded pointers. Remove GKM FIXME comment.
25263 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25265 (strncmp): Don't use BP_SYM. Remove comment about bounded
25267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25268 <bp-sym.h> and <bp-asm.h>.
25269 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25271 <bp-sym.h> and <bp-asm.h>.
25272 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25275 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25277 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25280 2013-03-05 David S. Miller <davem@davemloft.net>
25282 * po/es.po: Update from translation team.
25284 2013-03-05 Andreas Jaeger <aj@suse.de>
25286 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25287 <bits/mman-linux.h>.
25288 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25290 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25291 <bits/mman-linux.h> to end of file.
25292 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25294 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
25295 <bits/mman-linux.h> to end of file.
25296 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25298 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
25299 <bits/mman-linux.h> to end of file.
25301 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
25302 (MCL_CURRENT, MCL_FUTURE): Define here.
25304 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25307 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
25309 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25311 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25313 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
25314 fourth parameter needed for rt_sigprocmask syscall.
25315 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25316 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25317 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25318 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25319 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25320 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
25322 2013-03-04 Joseph Myers <joseph@codesourcery.com>
25325 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
25326 comment about bounded pointers.
25327 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
25328 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
25330 2013-03-04 Andreas Jaeger <aj@suse.de>
25332 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
25333 common definitions.
25335 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
25336 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
25337 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
25338 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25339 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25340 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25342 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25345 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25346 __ieee754_sqrl instead of __sqrl.
25348 2013-03-01 Joseph Myers <joseph@codesourcery.com>
25350 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
25351 * sysdeps/powerpc/fpu_control.h: ... here.
25352 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
25353 * sysdeps/powerpc/bits/fenvinline.h: ... here.
25354 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
25355 * sysdeps/powerpc/bits/mathinline.h: ... here.
25357 2013-03-01 Roland McGrath <roland@hack.frob.com>
25359 * elf/dl-hwcaps.c (_dl_important_hwcaps):
25360 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
25361 to just [NEED_DL_SYSINFO_DSO].
25362 * elf/dl-support.c: Likewise.
25363 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
25364 * elf/rtld.c (dl_main): Likewise.
25365 * elf/setup-vdso.h (setup_vdso): Likewise.
25366 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
25367 * sysdeps/unix/sysv/linux/dl-sysdep.c
25368 (_dl_discover_osversion): Likewise.
25370 2013-03-01 Carlos O'Donell <carlos@redhat.com>
25372 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
25373 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25375 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25377 * NEWS: Mention libm performance improvements and non-x86 PI
25380 * csu/libc-start.c (__pthread_initialize_minimal): Change
25381 function arguments.
25382 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
25384 2013-02-28 Joseph Myers <joseph@codesourcery.com>
25387 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
25388 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
25389 <bp-sym.h> and <bp-asm.h>.
25390 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25391 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
25393 (memcpy): Don't use BP_SYM.
25394 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
25396 (__mpn_add_n): Don't use BP_SYM.
25397 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
25398 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
25400 (__mpn_addmul_1): Don't use BP_SYM.
25401 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25402 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
25404 (_setjmp): Don't use BP_SYM.
25405 (__novmx_setjmp): Likewise.
25406 (__GI__setjmp): Likewise.
25407 (__vmx_setjmp): Likewise.
25408 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
25410 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
25411 (__bzero): Don't use BP_SYM.
25412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25414 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
25415 <bp-sym.h> and <bp-asm.h>.
25416 (memcpy): Don't use BP_SYM.
25417 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
25418 <bp-sym.h> and <bp-asm.h>.
25419 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
25421 <bp-sym.h> and <bp-asm.h>.
25422 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
25423 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
25425 (__mpn_lshift): Don't use BP_SYM.
25426 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25427 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
25429 (memset): Don't use BP_SYM.
25430 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25431 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25432 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
25434 (__mpn_mul_1): Don't use BP_SYM.
25435 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
25437 <bp-sym.h> and <bp-asm.h>.
25438 (memcmp): Don't use BP_SYM.
25439 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
25440 <bp-sym.h> and <bp-asm.h>.
25441 (memcpy): Don't use BP_SYM.
25442 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
25443 <bp-sym.h> and <bp-asm.h>.
25444 (memset): Don't use BP_SYM.
25445 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
25446 <bp-sym.h> and <bp-asm.h>.
25447 (strncmp): Don't use BP_SYM.
25448 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
25449 <bp-sym.h> and <bp-asm.h>.
25450 (memcpy): Don't use BP_SYM.
25451 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
25452 <bp-sym.h> and <bp-asm.h>.
25453 (memset): Don't use BP_SYM.
25454 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
25455 <bp-sym.h> and <bp-asm.h>.
25456 (__memchr): Don't use BP_SYM.
25457 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
25458 <bp-sym.h> and <bp-asm.h>.
25459 (memcmp): Don't use BP_SYM.
25460 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
25461 <bp-sym.h> and <bp-asm.h>.
25462 (memcpy): Don't use BP_SYM.
25463 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
25464 <bp-sym.h> and <bp-asm.h>.
25465 (__mempcpy): Don't use BP_SYM.
25466 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
25467 <bp-sym.h> and <bp-asm.h>.
25468 (__memrchr): Don't use BP_SYM.
25469 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
25470 <bp-sym.h> and <bp-asm.h>.
25471 (memset): Don't use BP_SYM.
25472 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
25473 <bp-sym.h> and <bp-asm.h>.
25474 (__rawmemchr): Don't use BP_SYM.
25475 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
25476 <bp-sym.h> and <bp-asm.h>.
25477 (__STRCMP): Don't use BP_SYM.
25478 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
25479 <bp-sym.h> and <bp-asm.h>.
25480 (strchr): Don't use BP_SYM.
25481 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
25482 <bp-sym.h> and <bp-asm.h>.
25483 (__strchrnul): Don't use BP_SYM.
25484 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
25485 <bp-sym.h> and <bp-asm.h>.
25486 (strlen): Don't use BP_SYM.
25487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
25488 <bp-sym.h> and <bp-asm.h>.
25489 (strncmp): Don't use BP_SYM.
25490 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
25491 <bp-sym.h> and <bp-asm.h>.
25492 (__strnlen): Don't use BP_SYM.
25493 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
25495 (__mpn_rshift): Don't use BP_SYM.
25496 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
25497 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
25498 <bp-sym.h> and <bp-asm.h>.
25499 (__sigsetjmp): Don't use BP_SYM.
25500 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
25501 (L(start_addresses)): Don't use BP_SYM.
25502 (_start): Likewise.
25503 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
25505 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
25506 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25507 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25508 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
25510 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
25511 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25512 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25513 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
25515 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25517 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25518 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
25520 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
25522 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25523 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25524 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
25526 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
25528 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
25530 (strncmp): Don't use BP_SYM,
25531 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
25533 (__mpn_sub_n): Don't use BP_SYM.
25534 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
25535 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
25537 (__mpn_submul_1): Don't use BP_SYM.
25538 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
25539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
25540 <bp-sym.h> and <bp-asm.h>.
25541 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
25543 <bp-sym.h> and <bp-asm.h>.
25544 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25547 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
25550 Use ZK to minimize writes to Z.
25551 (sub_magnitudes): Simplify code a bit.
25552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
25553 Use ZK to minimize writes to Z.
25554 (sub_magnitudes): Simplify code a bit.
25556 2013-02-27 Roland McGrath <roland@hack.frob.com>
25558 * csu/gmon-start.c: Add special exception to license text.
25560 2013-02-27 Richard Henderson <rth@redhat.com>
25562 * scripts/config.guess: Update from config.git.
25563 * scripts/config.sub: Likewise.
25565 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25567 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
25569 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
25571 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
25573 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
25575 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
25577 2013-02-26 Roland McGrath <roland@hack.frob.com>
25579 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
25580 [$(build-shared = yes].
25582 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25584 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
25585 (__mul): Reduce iterations for calculating mantissa.
25587 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
25589 (__mpranred): Likewise.
25592 * malloc/memusagestat.c (main): Draw graphs for heap and stack
25593 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
25595 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
25597 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
25598 Define __attribute__.
25600 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25602 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
25604 * posix/regex_internal.h (__attribute): Remove.
25605 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
25606 (re_string_context_at): Likewise.
25607 (bitset_not): Use __attribute__ and mark function as possibly
25609 (bitset_merge): Likewise.
25610 (bitset_mask): Likewise.
25611 (re_string_char_size_at): Likewise.
25612 (re_string_wchar_at): Likewise.
25613 (re_string_elem_size_at): Likewise.
25615 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25617 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
25621 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
25625 (denorm): Likewise.
25626 (__dbl_mp): Likewise.
25627 (add_magnitudes): Likewise.
25628 (sub_magnitudes): Likewise.
25632 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
25635 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
25638 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
25641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
25642 up changes with default code.
25643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
25646 2013-02-24 Allan McRae <allan@archlinux.org>
25648 * manual/socket.texi (The Internet Namespace): Order menu items
25649 to match that in the file.
25651 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
25652 node listing of the info page menu.
25654 2013-02-21 Joseph Myers <joseph@codesourcery.com>
25657 * sysdeps/i386/bp-asm.h: Remove file.
25658 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25659 (PARMS): Do not use macros from bp-asm.h.
25663 (__mpn_add_n): Do not use BP_SYM
25664 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
25666 (PARMS): Do not use macros from bp-asm.h.
25669 (__mpn_addmul_1): Do not use BP_SYM
25670 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
25672 (PARMS): Do not use macros from bp-asm.h.
25673 (SIGMSK): Likewise.
25674 (_setjmp): Likewise. Do not use BP_SYM.
25675 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
25677 (PARMS): Do not use macros from bp-asm.h.
25678 (SIGMSK): Likewise.
25679 (setjmp): Likewise. Do not use BP_SYM.
25680 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
25682 (PARMS): Do not use macros from bp-asm.h.
25683 (__frexp): Do not use BP_SYM.
25685 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
25687 (PARMS): Do not use macros from bp-asm.h.
25688 (__frexpf): Do not use BP_SYM.
25689 (frexpf): Likewise.
25690 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
25692 (PARMS): Do not use macros from bp-asm.h.
25693 (__frexpl): Do not use BP_SYM.
25694 (frexpl): Likewise.
25695 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
25697 (PARMS): Do not use macros from bp-asm.h.
25698 (__remquo): Do not use BP_SYM.
25699 (remquo): Likewise.
25700 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
25702 (PARMS): Do not use macros from bp-asm.h.
25703 (__remquof): Do not use BP_SYM.
25704 (remquof): Likewise.
25705 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
25707 (PARMS): Do not use macros from bp-asm.h.
25708 (__remquol): Do not use BP_SYM.
25709 (remquol): Likewise.
25710 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
25712 (PARMS): Do not use macros from bp-asm.h.
25715 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
25716 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
25718 (PARMS): Do not use macros from bp-asm.h.
25719 (strlen): Do not use BP_SYM.
25720 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
25722 (PARMS): Do not use macros from bp-asm.h.
25726 (__mpn_add_n): Do not use BP_SYM.
25727 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
25729 (PARMS): Do not use macros from bp-asm.h.
25732 (__mpn_addmul_1): Do not use BP_SYM.
25733 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
25736 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
25738 (PARMS): Do not use macros from bp-asm.h.
25741 (__mpn_lshift): Do not use BP_SYM.
25742 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
25744 (PARMS): Do not use macros from bp-asm.h.
25748 (memcpy): Likewise. Do not use BP_SYM.
25749 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
25750 libc_hidden_def and weak_alias.
25751 (mempcpy): Do not use BP_SYM in weak_alias.
25752 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
25754 (PARMS): Do not use macros from bp-asm.h.
25757 [!BZERO_P] (CHR): Likewise.
25758 (memset): Likewise. Do not use BP_SYM.
25759 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
25761 (PARMS): Do not use macros from bp-asm.h.
25764 (__mpn_mul_1): Do not use BP_SYM.
25765 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
25767 (PARMS): Do not use macros from bp-asm.h.
25770 (__mpn_rshift): Do not use BP_SYM.
25771 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
25773 (PARMS): Do not use macros from bp-asm.h.
25776 (strchr): Likewise. Do not use BP_SYM.
25777 (index): Do not use BP_SYM in weak_alias.
25778 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
25780 (PARMS): Do not use macros from bp-asm.h.
25783 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
25784 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
25786 (PARMS): Do not use macros from bp-asm.h.
25787 (strlen): Do not use BP_SYM.
25788 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
25790 (PARMS): Do not use macros from bp-asm.h.
25794 (__mpn_sub_n): Do not use BP_SYM.
25795 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
25797 (PARMS): Do not use macros from bp-asm.h.
25800 (__mpn_submul_1): Do not use BP_SYM.
25801 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
25803 (PARMS): Do not use macros from bp-asm.h.
25807 (__mpn_add_n): Do not use BP_SYM.
25808 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
25811 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
25813 (PARMS): Do not use macros from bp-asm.h.
25816 (memcmp): Do not use BP_SYM.
25817 (bcmp): Do not use BP_SYM in weak_alias.
25818 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
25820 (PARMS): Do not use macros from bp-asm.h.
25824 (memcpy): Likewise. Do not use BP_SYM.
25825 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
25827 (PARMS): Do not use macros from bp-asm.h.
25831 (memmove): Likewise. Do not use BP_SYM.
25832 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
25834 (PARMS): Do not use macros from bp-asm.h.
25838 (__mempcpy): Likewise. Do not use BP_SYM.
25839 (mempcpy): Do not use BP_SYM in weak_alias.
25840 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
25842 (PARMS): Do not use macros from bp-asm.h.
25845 [!BZERO_P] (CHR): Likewise.
25846 (memset): Likewise. Do not use BP_SYM.
25847 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
25849 (PARMS): Do not use macros from bp-asm.h.
25851 (strcmp): Do not use BP_SYM.
25852 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
25854 (PARMS): Do not use macros from bp-asm.h.
25857 [USE_AS_STRTOK_R] (SAVE): Likewise.
25858 (FUNCTION): Likewise. Do not use BP_SYM.
25859 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
25861 (strtok_r): Likewise.
25862 (__GI___strtok_r): Likewise.
25863 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25864 (PARMS): Do not use macros from bp-asm.h.
25867 (__mpn_lshift): Do not use BP_SYM.
25868 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25869 (PARMS): Do not use macros from bp-asm.h.
25872 (__memchr): Do not use BP_SYM.
25873 (memchr): Do not use BP_SYM in weak_alias.
25874 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25875 (PARMS): Do not use macros from bp-asm.h.
25878 (memcmp): Do not use BP_SYM.
25879 (bcmp): Do not use BP_SYM in weak_alias.
25880 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
25881 (PARMS): Do not use macros from bp-asm.h.
25884 (__mpn_mul_1): Do not use BP_SYM.
25885 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
25887 (PARMS): Do not use macros from bp-asm.h.
25890 (__rawmemchr): Do not use BP_SYM.
25891 (rawmemchr): Do not use BP_SYM in weak_alias.
25892 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
25893 (PARMS): Do not use macros from bp-asm.h.
25896 (__mpn_rshift): Do not use BP_SYM.
25897 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
25898 (PARMS): Do not use macros from bp-asm.h.
25899 (SIGMSK): Likewise.
25900 (__sigsetjmp): Likewise. Do not use BP_SYM.
25901 * sysdeps/i386/start.S: Do not include "bp-sym.h".
25902 (_start): Do not use BP_SYM.
25903 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
25904 (PARMS): Do not use macros from bp-asm.h.
25907 (__stpcpy): Likewise. Do not use BP_SYM.
25908 (stpcpy): Do not use BP_SYM in weak_alias.
25909 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
25911 (PARMS): Do not use macros from bp-asm.h.
25915 (__stpncpy): Likewise. Do not use BP_SYM.
25916 (stpncpy): Do not use BP_SYM in weak_alias.
25917 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
25918 (PARMS): Do not use macros from bp-asm.h.
25921 (strchr): Likewise. Do not use BP_SYM.
25922 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
25924 (PARMS): Do not use macros from bp-asm.h.
25927 (__strchrnul): Likewise. Do not use BP_SYM.
25928 (strchrnul): Do not use BP_SYM in weak_alias.
25929 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
25931 (PARMS): Do not use macros from bp-asm.h.
25933 (strcspn): Do not use BP_SYM.
25934 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
25936 (PARMS): Do not use macros from bp-asm.h.
25939 (strpbrk): Likewise. Do not use BP_SYM.
25940 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
25942 (PARMS): Do not use macros from bp-asm.h.
25945 (strrchr): Likewise. Do not use BP_SYM.
25946 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
25947 (PARMS): Do not use macros from bp-asm.h.
25949 (strspn): Do not use BP_SYM.
25950 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
25951 (PARMS): Do not use macros from bp-asm.h.
25955 (FUNCTION): Likewise. Do not use BP_SYM.
25956 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
25958 (strtok_r): Likewise.
25959 (__GI___strtok_r): Likewise.
25960 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
25961 (PARMS): Do not use macros from bp-asm.h.
25965 (__mpn_sub_n): Do not use BP_SYM.
25966 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
25968 (PARMS): Do not use macros from bp-asm.h.
25971 (__mpn_submul_1): Do not use BP_SYM.
25972 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
25974 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
25976 (PARMS): Do not use macros from bp-asm.h.
25981 (__clone): Do not use BP_SYM.
25982 (clone): Do not use BP_SYM in weak_alias.
25983 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
25985 (PARMS): Do not use macros from bp-asm.h.
25987 (__mmap64): Do not use BP_SYM.
25988 (mmap64): Do not use BP_SYM in weak_alias.
25989 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25990 <bp-sym.h> and <bp-asm.h>.
25991 (PARMS): Do not use macros from bp-asm.h.
25992 (__posix_fadvise64_l64): Do not use BP_SYM.
25993 * sysdeps/unix/sysv/linux/i386/semtimedop.S
25994 (PARMS): Do not use macros from bp-asm.h.
25996 (semtimedop): Do not use BP_SYM.
25997 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26000 2013-02-21 Allan McRae <allan@archlinux.org>
26002 * manual/message.texi (Charset conversion in gettext):
26003 Move @end statement to beginning of line.
26005 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26007 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26012 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26013 (denorm): Likewise.
26014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26017 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26019 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26020 tail-call to the resolved function if pltexit isn't needed.
26022 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26025 or Y being zero as being unlikely.
26026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26029 2013-02-20 Carlos O'Donell <carlos@redhat.com>
26031 * manual/nss.texi (System Databases and Name Service Switch):
26032 Remove frobnicate @pxref.
26034 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26036 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26037 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26039 2013-02-20 Petr Machata <pmachata@redhat.com>
26041 * elf/elf.h (R_ARM_TARGET1): New macro.
26042 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26043 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26044 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26045 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26046 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26047 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26048 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26049 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26050 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26051 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26052 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26053 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26054 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26055 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26056 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26057 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26058 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26059 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26060 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26061 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26062 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26063 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26064 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26065 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26066 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26067 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26068 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26069 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26070 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26071 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26072 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26073 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26074 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26075 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26076 (R_ARM_THM_GOT_BREL12): Likewise.
26077 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26078 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26079 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26080 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26081 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26082 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26083 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26084 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26085 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26087 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26089 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26090 __attribute_used__ to __attribute__ ((unused)).
26092 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26094 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26096 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26097 comment formatting.
26098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26100 2013-02-19 Joseph Myers <joseph@codesourcery.com>
26103 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26105 (ENTER): Remove both macro definitions.
26107 (CHECK_BOUNDS_LOW): Likewise.
26108 (CHECK_BOUNDS_HIGH): Likewise.
26109 (CHECK_BOUNDS_BOTH): Likewise.
26110 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26111 (RETURN_BOUNDED_POINTER): Likewise.
26112 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26113 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26114 (POP_ERRNO_LOCATION_RETURN): Likewise.
26115 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26116 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26117 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26119 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26120 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26121 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26122 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26123 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26124 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26125 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26126 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26127 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26128 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26129 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26130 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26131 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26132 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26134 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26135 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26137 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26138 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26139 * sysdeps/i386/i586/memset.S (memset): Likewise.
26140 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26141 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26142 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26144 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26145 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26146 Change uses of L(2) to L(out).
26147 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26148 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26149 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26150 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26151 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26153 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26154 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26157 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26158 (RETURN): Do not use macro LEAVE.
26159 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26160 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26161 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26162 * sysdeps/i386/i686/memset.S (memset): Likewise.
26163 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26164 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26165 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26166 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26168 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26169 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26170 L(1_2) and L(1_3) into L(1).
26171 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26172 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26173 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26174 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26175 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26176 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26177 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26178 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26179 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26181 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26182 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26183 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26184 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26185 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26186 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26187 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26188 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26189 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26190 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26191 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26192 * sysdeps/i386/strspn.S (strspn): Likewise.
26193 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26195 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26196 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26197 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26198 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26199 L(1_3) into L(1_1).
26200 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26201 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26202 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26204 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26206 2013-02-19 Jakub Jelinek <jakub@redhat.com>
26208 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26211 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26213 * math/atest-exp.c (exp_mpn): Remove ROUND.
26214 * math/atest-exp2.c (exp_mpn): Likewise.
26215 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26217 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26218 * stdlib/tst-tls-atexit-lib.c: Likewise.
26219 * stdlib/tst-tls-atexit.c: Likewise.
26221 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26223 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26224 and __attribute_alloc_size__.
26226 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26228 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26229 __attribute_alloc_size__.
26230 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26231 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26233 2013-02-18 Mike Frysinger <vapier@gentoo.org>
26235 * include/programs/xmalloc.h: New file.
26236 * catgets/gencat.c: Include it.
26237 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26238 * elf/pldd.c: Likewise.
26239 * iconv/iconv_charmap.c: Likewise.
26240 * iconv/iconvconfig.c: Likewise.
26241 * iconv/strtab.c: Likewise.
26242 * locale/programs/locale.c: Likewise.
26243 * locale/programs/localedef.h: Likewise.
26244 * locale/programs/simple-hash.c: Likewise.
26245 * nscd/nscd.h: Likewise.
26246 * nss/makedb.c: Likewise.
26247 * sysdeps/generic/ldconfig.h: Likewise.
26249 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26251 * Versions.def: Add GLIBC_2.18.
26252 * include/link.h (struct link_map): New member l_tls_dtor_count.
26253 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26254 (__call_tls_dtors): Likewise.
26255 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26256 __cxa_thread_atexit_impl.
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26265 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26268 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26271 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26273 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26274 (tests): Add test case tst-tls-atexit.
26275 (modules-names): Add shared library for tst-tls-atexit.
26276 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
26277 (GLIBC_PRIVATE): Add __call_tls_dtors.
26278 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26280 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26281 * stdlib/tst-tls-atexit.c: New test case.
26282 * stdlib/tst-tls-atexit-lib.c: New test case.
26284 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
26286 * elf/Versions (ld): Add _dl_find_dso_for_object.
26287 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26288 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26289 (dl_open_worker): Use _dl_find_dso_for_object.
26290 * elf/dl-sym.c (do_sym): Likewise.
26291 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
26293 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26295 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
26296 Syntactic changes only.
26297 (_dl_runtime_profile): Do a tail-call to the resolved function.
26299 2013-02-17 Joseph Myers <joseph@codesourcery.com>
26302 * sysdeps/x86_64/bp-asm.h: Remove file.
26303 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
26304 <bp-sym.h> and <bp-asm.h>.
26305 (__clone): Do not use BP_SYM.
26306 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
26307 <bp-sym.h> and <bp-asm.h>.
26308 * sysdeps/unix/x86_64/sysdep.S: Likewise.
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/bsd-setjmp.S: Do not include "bp-sym.h" and
26314 (setjmp): Do not use BP_SYM.
26315 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
26317 (mempcpy): Do not use BP_SYM in weak_alias.
26318 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
26320 (strchr): Do not use BP_SYM.
26321 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
26323 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
26324 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
26325 (_start): Do not use BP_SYM.
26326 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
26328 (strcat): Do not use BP_SYM.
26329 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
26331 (STRCMP): Do not use BP_SYM.
26332 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
26334 (STRCPY): Do not use BP_SYM.
26335 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
26337 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
26339 (FUNCTION): Do not use BP_SYM.
26340 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
26342 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
26344 2013-02-17 Andreas Jaeger <aj@suse.de>
26346 * time/Versions: Sort entries.
26347 * string/Versions: Likewise.
26348 * resolv/Versions: Likewise.
26349 * posix/Versions: Likewise.
26350 * iconv/Versions: Likewise.
26351 * elf/Versions: Likewise.
26352 * wcsmbs/Versions: Likewise.
26354 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26356 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
26357 loop termination condition.
26359 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
26360 variable to calculate EZ.
26363 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
26364 the lower precision input.
26366 2013-02-15 Joseph Myers <joseph@codesourcery.com>
26369 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
26370 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
26371 (run-via-rtld-prefix): Do not handle %-bp tests.
26372 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
26373 (all-object-suffixes): Remove .ob.
26374 (bppfx): Remove variable.
26375 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
26376 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
26377 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
26378 [$(build-bounded) = yes] (libtype.ob): Likewise.
26379 * Makerules (elide-routines.ob): Remove variable.
26380 (do-tests-clean): Do not handle *-bp.out.
26381 (common-mostlyclean): Do not handle *-bp and *-bp.out.
26382 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
26383 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
26384 (tests): Do not include $(tests-bp.out).
26385 (xtests): Do not include $(xtests-bp.out).
26386 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
26387 [$(build-bounded) = yes] ($(addprefix
26388 $(objpfx),$(binaries-bounded))): Remove rule.
26389 ($(objpfx)%-bp.out): Remove rule.
26390 * config.make.in (build-bounded): Remove variable.
26391 * crypt/Makefile [$(build-bounded) = yes]
26392 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
26393 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
26394 append to variable.
26395 [$(build-bounded) = yes] (install-lib): Likewise.
26396 [$(build-bounded) = yes] (generated): Likewise.
26397 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
26399 * intl/Makefile [$(build-bounded) = yes]
26400 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
26401 * math/Makefile [$(build-bounded) = yes]
26402 ($(tests:%=$(objpfx)%-bp): Likewise.
26403 * misc/Makefile [$(build-bounded) = yes]
26404 ($(objpfx)tst-tsearch-bp): Likewise.
26405 * nptl/Makeconfig (bounded-thread-library): Remove variable.
26406 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
26408 * string/Makefile (o-objects.ob): Remove variable.
26409 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
26410 (CFLAGS-.ob): Remove variable.
26411 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
26412 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
26413 both definitions of variable.
26414 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
26415 (ASFLAGS-.ob): Remove variable.
26417 2013-02-14 Joseph Myers <joseph@codesourcery.com>
26420 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
26421 Remove __BOUNDED_POINTERS__ from condition.
26422 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
26423 * string/bits/string2.h [!__NO_STRING_INLINES &&
26424 !__BOUNDED_POINTERS__]: Likewise.
26425 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
26427 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
26428 Remove conditional code.
26429 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
26430 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
26431 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
26435 * csu/libc-start.c: Do not include <bp-sym.h>.
26436 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
26437 * elf/dl-open.c: Do not include <bp-sym.h>.
26438 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
26439 * math/fegetenv.c: Do not include <bp-sym.h>.
26440 (fegetenv): Do not use BP_SYM in versioned symbols.
26441 * nptl/sysdeps/pthread/bits/libc-lockP.h
26442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
26444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26445 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
26446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26447 (__pthread_mutex_destroy): Likewise.
26448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26449 (__pthread_mutex_lock): Likewise.
26450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26451 (__pthread_mutex_trylock): Likewise.
26452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26453 (__pthread_mutex_unlock): Likewise.
26454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26455 (__pthread_mutexattr_init): Likewise.
26456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26457 (__pthread_mutexattr_destroy): Likewise.
26458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26459 (__pthread_mutexattr_settype): Likewise.
26460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26461 (__pthread_rwlock_init): Likewise.
26462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26463 (__pthread_rwlock_destroy): Likewise.
26464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26465 (__pthread_rwlock_rdlock): Likewise.
26466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26467 (__pthread_rwlock_tryrdlock): Likewise.
26468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26469 (__pthread_rwlock_wrlock): Likewise.
26470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26471 (__pthread_rwlock_trywrlock): Likewise.
26472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26473 (__pthread_rwlock_unlock): Likewise.
26474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26475 (__pthread_key_create): Likewise.
26476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26477 (__pthread_setspecific): Likewise.
26478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26479 (__pthread_getspecific): Likewise.
26480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
26482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26483 (_pthread_cleanup_push_defer): Likewise.
26484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26485 (_pthread_cleanup_pop_restore): Likewise.
26486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
26487 (pthread_setcancelstate): Likewise.
26488 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
26490 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
26491 (memchr): Do not use BP_SYM in weak_alias.
26492 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
26493 (fegetenv): Do not use BP_SYM in versioned symbols.
26494 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
26495 (fesetenv): Do not use BP_SYM in versioned symbols.
26496 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26497 (feupdateenv): Do not use BP_SYM in versioned symbols.
26498 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26499 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26500 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
26501 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
26502 (open64): Do not use BP_SYM in weak_alias.
26503 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
26504 (fegetenv): Do not use BP_SYM in versioned symbols.
26505 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
26506 (fesetenv): Do not use BP_SYM in versioned symbols.
26507 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
26508 (feupdateenv): Do not use BP_SYM in versioned symbols.
26509 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
26510 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
26511 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
26512 (feraiseexcept): Do not use BP_SYM in versioned symbols.
26513 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
26514 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
26515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
26517 (__libc_start_main): Do not use BP_SYM.
26519 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
26522 redundant return line.
26524 (denorm): Likewise.
26525 (dbl_mp): Likewise.
26526 (sub_magnitudes): Likewise.
26532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
26534 (denorm): Likewise.
26535 (dbl_mp): Likewise.
26536 (sub_magnitudes): Likewise.
26543 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
26545 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26546 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
26549 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
26550 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
26551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
26552 of __mul for squares.
26553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
26555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
26557 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
26558 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26560 2013-02-13 Joseph Myers <joseph@codesourcery.com>
26563 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
26565 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
26566 prototype or function definition. Rename ubp_* variables and
26567 parameters. Remove argv definitions conditional on
26568 [__BOUNDED_POINTERS__].
26569 * debug/backtrace.c (__backtrace): Do not use __unbounded.
26570 * elf/dl-runtime.c (_dl_fixup): Likewise.
26571 * include/set-hooks.h (RUN_HOOK): Likewise.
26572 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
26574 * string/strcpy.c (strcpy): Do not use __unbounded.
26575 * sysdeps/generic/frame.h (struct layout): Likewise.
26576 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
26577 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
26578 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
26579 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
26580 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
26581 (__backtrace): Likewise.
26582 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
26584 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26585 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26586 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
26588 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
26589 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
26590 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26591 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26592 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
26593 Do not use __unbounded.
26594 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
26595 Rename __unboundedrlimits parameter to rlimits in prototype.
26596 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
26597 Do not use __unbounded.
26598 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
26599 not use __ptrvalue.
26600 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26601 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
26602 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26603 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
26604 __ptrvalue or __unbounded.
26605 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
26606 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
26608 (__new_msgctl): Do not use __ptrvalue.
26609 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
26611 (__libc_msgrcv): Do not use __ptrvalue.
26612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
26613 startup_info): Do not use __unbounded.
26614 (__libc_start_main): Likewise. Rename ubp_* variables and
26615 parameters. Remove argv definitions conditional on
26616 [__BOUNDED_POINTERS__].
26617 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
26619 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
26621 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
26623 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
26625 (__new_shmctl): Do not use __ptrvalue.
26626 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
26627 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
26629 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
26630 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
26631 (__libc_sigaction): Likewise.
26632 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
26633 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
26635 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26637 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
26639 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
26641 * string/mempcpy.c: Implement by calling memcpy.
26643 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26645 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
26647 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
26650 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
26651 values in the mantissa.
26653 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
26654 minimize writes to Z.
26655 (sub_magnitudes): Simplify code a bit.
26657 2013-02-12 Roland McGrath <roland@hack.frob.com>
26659 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
26660 from the message. The linker prefixes all warnings with that already.
26662 2013-02-12 Andreas Schwab <schwab@suse.de>
26665 * posix/regexec.c (extend_buffers): Add parameter min_len.
26666 (check_matching): Pass minimum needed length.
26667 (clean_state_log_if_needed): Likewise.
26668 (get_subexp): Likewise.
26669 * posix/Makefile (tests): Add bug-regex34.
26670 (bug-regex34-ENV): Define.
26671 * posix/bug-regex34.c: New file.
26674 * posix/regcomp.c (parse_bracket_exp): When looking up collating
26675 elements compare against the byte sequence of it, not its name.
26676 * posix/Makefile (tests): Add bug-regex35.
26677 (bug-regex35-ENV): Define.
26678 * posix/bug-regex35.c: New file.
26680 2013-02-11 Tom de Vries <tom@codesourcery.com>
26682 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
26684 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
26685 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
26686 (CHECK_EOL): Add undef.
26688 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
26690 * bits/stdlib-bsearch.h: New file.
26691 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
26692 * stdlib/stdlib.h: Likewise.
26694 2013-02-11 Roland McGrath <roland@hack.frob.com>
26696 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
26697 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
26699 * manual/search.texi (Array Search Function): Add missing const in
26701 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
26702 declaration to use rlim_t.
26703 (Basic Scheduling Functions): Remove erroneous const from
26704 sched_getparam prototype. Remove erroneous * from
26705 sched_get_priority_max and sched_get_priority_min prototypes.
26706 (Resource Usage): Fix summary @comment on vtimes to refer to
26707 sys/vtimes.h rather than vtimes.h.
26708 Add missing *s in vtimes prototype.
26709 (Limits on Resources): Fix ulimit prototype to return long int.
26710 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
26711 prototypes to use long int rather than double.
26712 (BSD Random): Fix initstate and setstate to use char *, not void *.
26713 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
26714 prototype to make second argument 'struct aiocb64 *const[]'.
26715 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
26716 (Status of AIO Operations): Remove erroneous const in aio_return and
26717 aio_return64 prototypes.
26718 (Synchronizing I/O): Fix sync prototype to return void.
26719 * manual/startup.texi (Suboptions): Remove an erroneous const in
26720 getsubopt prototype.
26721 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
26722 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
26723 use size_t rather than int.
26724 (Scanning All Users): Likewise for getpwent_r.
26725 (Setting Groups): Add missing const to setgroups prototype.
26726 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
26727 * manual/socket.texi (Host Names): Fix gethostbyaddr and
26728 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
26729 'const void *' rather than 'const char *'.
26730 (Host Address Functions): Likewise for inet_ntop.
26731 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
26732 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
26733 ssize_t for return value.
26734 (Sending Data): Likewise for send, sendto, sendmsg.
26735 (Socket Option Functions): Add a missing const in setsockopt prototype.
26736 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
26737 use wchar_t for the argument.
26738 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
26739 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
26741 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
26742 double/float/long double for second argument.
26743 Fix return types of significand, significandf, significandl.
26744 * manual/filesys.texi (Setting Permissions): Use mode_t for second
26745 argument in fchmod prototype.
26746 (File Owner): Use uid_t and gid_t in fchown prototype.
26747 (File Times): Add const to utimes, futimes, and lutimes prototypes.
26748 (Making Special Files): Use mode_t and dev_t in mknod prototype.
26749 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
26750 use 'const struct dirent **' as argument types to CMP function pointer
26752 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
26753 (File Times): Fix summary magic @comment for struct utimbuf and utime
26754 to refer to utime.h, not time.h.
26755 * manual/string.texi (Argz Functions): Add missing const in
26756 argz_extract and argz_next prototypes.
26757 (Finding Tokens in a String): Likewise for basename.
26758 (String/Array Comparison): Fix typo in wcscasecmp prototype.
26759 (Copying and Concatenation): Fix typo in wmemmove prototype.
26760 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
26761 (Signal Stack): Remove erroneous const in sigstack prototype.
26762 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
26764 (Simple Calendar Time): Likewise for stime.
26765 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
26767 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
26768 say sys/sysctl.h instead.
26769 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
26770 and vsyslog prototypes.
26772 2013-02-11 Tom de Vries <tom@codesourcery.com>
26774 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
26777 2013-02-11 Roland McGrath <roland@hack.frob.com>
26779 * misc/sys/mman.h: Fix typo in mremap comment.
26781 2013-02-08 Roland McGrath <roland@hack.frob.com>
26783 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
26784 the '\0' terminator.
26786 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26789 * debug/segfault.c: Don't include <bp-checks.h>.
26790 * sysdeps/generic/bp-checks.h: Remove file.
26791 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
26792 (__GETDENTS): Don't use CHECK_N.
26793 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
26794 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
26795 (__getgroups): Don't use CHECK_N.
26796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
26797 (setgroups): Don't use CHECK_N.
26798 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
26799 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
26800 (__libc_msgrcv): Don't use CHECK_N.
26801 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
26802 (__libc_msgsnd): Don't use CHECK_N.
26803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
26805 (__libc_pread): Don't use CHECK_N.
26806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
26807 include <bp-checks.h>.
26808 (__libc_pread64): Don't use CHECK_N.
26809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
26810 include <bp-checks.h>.
26811 (__libc_pwrite): Don't use CHECK_N.
26812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
26813 include <bp-checks.h>.
26814 (__libc_pwrite64): Don't use CHECK_N.
26815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
26817 (__libc_pread): Don't use CHECK_N.
26818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
26819 include <bp-checks.h>.
26820 (__libc_pread64): Don't use CHECK_N.
26821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
26822 include <bp-checks.h>.
26823 (__libc_pwrite): Don't use CHECK_N.
26824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
26825 include <bp-checks.h>.
26826 (__libc_pwrite64): Don't use CHECK_N.
26827 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
26828 (do_pread): Don't use CHECK_N.
26829 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
26830 (do_pread64): Don't use CHECK_N.
26831 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
26832 (do_pwrite): Don't use CHECK_N.
26833 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
26834 (do_pwrite64): Don't use CHECK_N.
26835 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
26836 (__libc_readv): Don't use CHECK_N.
26837 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
26838 (semop): Don't use CHECK_N.
26839 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
26841 (semtimedop): Don't use CHECK_N.
26842 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
26843 (__libc_pread): Don't use CHECK_N.
26844 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
26846 (__libc_pread64): Don't use CHECK_N.
26847 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
26849 (__libc_pwrite): Don't use CHECK_N.
26850 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
26852 (__libc_pwrite64): Don't use CHECK_N.
26853 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
26855 (__libc_msgrcv): Don't use CHECK_N.
26856 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
26857 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
26858 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
26859 (__libc_writev): Don't use CHECK_N.
26861 2013-02-08 Roland McGrath <roland@hack.frob.com>
26863 * string/strcpy.c: Removed unused variable.
26865 * Makeconfig (+sysdep-includes): Define with := rather than =.
26866 Use an existing include/ subdir of each sysdeps dir before it.
26868 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26870 * nscd/connection.c (register_traced_file): Comment function.
26871 [HAVE_INOTIFY] (union __inev): Define.
26872 [HAVE_INOTIFY] (inotify_check_files): New function.
26873 [HAVE_INOTIFY] (clear_db_cache): Likewise.
26874 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
26876 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
26878 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26880 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
26881 loaded if not already and that a failure is permanent.
26883 2013-02-08 Carlos O'Donell <carlos@redhat.com>
26886 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
26887 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
26889 2013-02-08 Joseph Myers <joseph@codesourcery.com>
26892 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
26893 (CHECK_1_NULL_OK): Likewise.
26894 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
26895 (__fxstat): Do not use CHECK_1.
26896 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
26898 (___fxstat64): Do not use CHECK_1.
26899 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26901 (__fxstatat): Do not use CHECK_1.
26902 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26904 (__fxstatat64): Do not use CHECK_1.
26905 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
26907 (__fxstat): Do not use CHECK_1.
26908 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26910 (__fxstatat): Do not use CHECK_1.
26911 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26913 (__getresgid): Do not use CHECK_1.
26914 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26916 (__getresuid): Do not use CHECK_1.
26917 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
26919 (__lxstat): Do not use CHECK_1.
26920 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26922 (__old_msgctl): Do not use CHECK_1.
26923 (__new_msgctl): Likewise.
26924 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
26926 (__new_setrlimit): Do not use CHECK_1.
26927 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26929 (__old_shmctl): Do not use CHECK_1.
26930 (__new_shmctl): Likewise.
26931 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
26933 (__xstat): Do not use CHECK_1.
26934 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
26935 (__lxstat): Do not use CHECK_1.
26936 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
26938 (___lxstat64): Do not use CHECK_1.
26939 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
26940 (__old_msgctl): Do not use CHECK_1.
26941 (__new_msgctl): Likewise.
26942 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
26944 (__gettimeofday): Do not use CHECK_1.
26945 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
26946 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
26947 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
26949 (__gettimeofday): Do not use CHECK_1.
26950 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
26951 (__old_shmctl): Do not use CHECK_1_NULL_OK.
26952 (__new_shmctl): Do not use CHECK_1.
26953 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
26955 (do_sigtimedwait): Do not use CHECK_1.
26956 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
26958 (do_sigwaitinfo): Do not use CHECK_1.
26959 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
26961 (msgctl): Do not use CHECK_1.
26962 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
26964 (shmctl): Do not use CHECK_1.
26965 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
26966 (ustat): Do not use CHECK_1.
26967 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
26969 (__fxstat): Do not use CHECK_1.
26970 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26972 (__fxstatat): Do not use CHECK_1.
26973 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
26975 (__lxstat): Do not use CHECK_1.
26976 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
26978 (__xstat): Do not use CHECK_1.
26979 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
26980 (__xstat): Do not use CHECK_1.
26981 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
26982 (___xstat64): Do not use CHECK_1.
26985 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
26987 (CHECK_BOUNDS_HIGH): Likewise.
26988 * string/strcpy.c: Do not include <bp-checks.h>.
26989 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
26991 2013-02-07 Roland McGrath <roland@hack.frob.com>
26993 * nscd/nscd-client.h (__nscd_drop_map_ref):
26994 Add __attribute__ ((unused)).
26995 * nis/nss-nisplus.h (niserr2nss): Likewise.
26997 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
26998 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27000 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27001 Remove inline keyword.
27002 * include/rounding-mode.h (round_away): Likewise.
27003 * libio/wfileops.c (adjust_wide_data): Likewise.
27004 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27005 (__m128i_strloadu_tolower): Likewise.
27006 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27007 (__m128i_strloadu_tolower): Likewise.
27008 * time/mktime.c (ydhms_diff): Likewise.
27009 * locale/elem-hash.h (elem_hash): Likewise.
27010 * locale/setlocale.c (setdata): Likewise.
27011 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27012 (re_string_wchar_at): Likewise.
27013 (bitset_not, bitset_merge, bitset_mask): Likewise.
27014 [!(__GNUC__ > 3)] (inline): Remove macro.
27015 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27016 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27017 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27018 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27019 * string/memcmp.c (memcmp_bytes): Likewise.
27020 * locale/programs/locarchive.c (compute_hashval): Likewise.
27021 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27022 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27023 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27024 * nss/getent.c (print_rpc, print_protocols): Likewise.
27025 (print_passwd, print_group, print_aliases): Likewise.
27026 * nis/nss-nisplus.h (niserr2nss): Likewise.
27027 * nscd/connections.c (restart_p): Likewise.
27028 Change return type to bool.
27030 2013-02-05 Roland McGrath <roland@hack.frob.com>
27032 * Makeconfig (all-Depend-files): Add existing
27033 $(sorted-subdirs:=/Depend) files.
27034 (all-subdirs): Remove nss.
27035 * sysdeps/unix/inet/Subdirs: Add it here instead.
27036 * hesiod/Depend: New file.
27038 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27039 instead of calling alloca.
27041 * io/lseek.c (__lseek): Rename to __libc_lseek.
27042 Define __lseek as an alias.
27044 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27046 2013-02-04 Carlos O'Donell <carlos@redhat.com>
27048 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27049 else clause and remove check for non-standard endianness.
27051 2013-02-04 David S. Miller <davem@davemloft.net>
27053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27055 2013-02-04 Joseph Myers <joseph@codesourcery.com>
27058 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27059 (__ubp_memchr): Remove prototype.
27060 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27061 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27062 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27063 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27064 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27066 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27067 (__ubp_memchr): Likewise.
27068 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27069 (__ubp_memchr): Likewise.
27070 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27071 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27072 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27073 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27075 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27076 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27077 (__getcwd): Do not use CHECK_STRING.
27078 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27080 (__real_chown): Do not use CHECK_STRING.
27081 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27083 (fchownat): Do not use CHECK_STRING.
27084 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27086 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27088 (__lchown): Do not use CHECK_STRING.
27089 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27090 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27092 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27094 include <bp-checks.h>.
27095 (truncate64): Do not use CHECK_STRING.
27096 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27098 (__real_chown): Do not use CHECK_STRING.
27099 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27101 (__lchown): Do not use CHECK_STRING.
27102 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27104 (__chown): Do not use CHECK_STRING.
27105 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27107 (truncate64): Do not use CHECK_STRING.
27108 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27110 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27111 (__xmknod): Do not use CHECK_STRING.
27112 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27114 (__xmknodat): Do not use CHECK_STRING.
27115 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27116 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27118 2013-02-04 Andreas Schwab <schwab@suse.de>
27121 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27122 * include/netdb.h: Likewise for h_errno.
27123 * elf/tst-stackguard1.c: Include <tls.h>.
27125 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27127 * elf/link.h (struct link_map): Extend the l_addr comment.
27128 * include/link.h (struct link_map): Likewise.
27130 2013-02-01 Joseph Myers <joseph@codesourcery.com>
27133 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27134 (BOUNDED_1): Remove macro.
27135 * debug/backtrace.c: Don't include <bp-checks.h>.
27136 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27137 (__backtrace): Likewise.
27138 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27140 (__backtrace): Don't use BOUNDED_1.
27141 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27143 (__backtrace): Don't use BOUNDED_1.
27144 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27145 (__backtrace): Don't use BOUNDED_1.
27146 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27147 (shmat): Don't use BOUNDED_N.
27149 2013-01-31 Joseph Myers <joseph@codesourcery.com>
27152 * sysdeps/generic/bp-start.h: Remove file.
27153 * csu/libc-start.c: Don't include <bp-start.h>.
27154 (LIBC_START_MAIN): Set up __environ directly instead of using
27155 INIT_ARGV_and_ENVIRON.
27156 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27160 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27162 (CHECK_FCNTL): Likewise.
27163 (CHECK_N_PAGES): Likewise.
27166 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27168 (CHECK_SIGSET_NULL_OK): Likewise.
27169 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27171 (sigpending): Don't use CHECK_SIGSET.
27172 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27174 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27175 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27177 (do_sigsuspend): Don't use CHECK_SIGSET.
27178 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27180 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27181 (do_sigwait): Don't use CHECK_SIGSET.
27182 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27184 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27185 include <bp-checks.h>.
27186 (sigpending): Don't use CHECK_SIGSET.
27187 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27188 include <bp-checks.h>.
27189 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27190 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27192 (sigpending): Don't use CHECK_SIGSET.
27193 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27195 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27198 * sysdeps/generic/bp-semctl.h: Remove file.
27199 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27200 <bp-checks.h> and <bp-semctl.h>.
27201 (__old_semctl): Don't use CHECK_SEMCTL.
27202 (__new_semctl): Likewise.
27203 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27205 (__old_semctl): Don't use CHECK_SEMCTL.
27206 (__new_semctl): Likewise.
27207 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27208 <bp-checks.h> and <bp-semctl.h>.
27209 (__old_semctl): Don't use CHECK_SEMCTL.
27210 (__new_semctl): Likewise.
27211 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27212 <bp-checks.h> and <bp-semctl.h>.
27213 (semctl): Don't use CHECK_SEMCTL.
27216 * Makerules (elide-bp-thunks): Remove variable.
27217 (elide-routines.oS): Don't use $(elide-bp-thunks).
27218 (elide-routines.os): Likewise.
27219 (elide-routines.o): Likewise.
27220 (elide-routines.op): Likewise.
27221 (elide-routines.og): Likewise.
27222 (objects): Don't use $(bp-thunks).
27223 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27225 (common-generated): Do not add s-proto-bp.d.
27226 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27229 Do not generate makefile rules for bounded-pointer thunks.
27230 * sysdeps/generic/bp-thunks.h: Remove file.
27231 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27232 * sysdeps/unix/s-proto-bp.S: Likewise.
27235 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27236 parts of result separately when argument is not close to line from
27237 -i to i and one part of argument is small.
27238 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27239 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27240 * math/libm-test.inc (cacos_test): Add more tests.
27241 (casin_test): Likewise.
27242 (casinh_test): Likewise.
27243 * sysdeps/i386/fpu/libm-test-ulps: Update.
27244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27246 2013-01-31 David S. Miller <davem@davemloft.net>
27248 * po/de.po: Update from translation team.
27250 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27252 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27254 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27256 * configure.in (_AC_PROG_CC_C89): New definition.
27257 * configure: Regenerate.
27259 * configure.in (AC_PROG_CPP): New definition.
27260 * configure: Regenerate.
27262 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27264 * debug/tst-backtrace.h: New file.
27265 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27266 (ret): Remove variable.
27268 (FAIL): Remove macro.
27269 (NO_INLINE): Likewise.
27270 (fn1): Use match function instead of strstr.
27271 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27272 (ret): Remove variable.
27274 (FAIL): Remove macro.
27275 (NO_INLINE): Likewise.
27276 (fn): Use match function instead of strstr.
27277 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27278 (ret): Remove variable.
27280 (FAIL): Remove macro.
27281 (NO_INLINE): Likewise.
27282 (handle_signal): Use match function instead of strstr.
27283 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27284 (ret): Remove variable.
27286 (FAIL): Remove macro.
27287 (NO_INLINE): Likewise.
27288 (handle_signal): Use match function instead of strstr.
27290 2013-01-23 Roland McGrath <roland@hack.frob.com>
27292 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
27294 2013-01-23 David S. Miller <davem@davemloft.net>
27296 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
27297 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
27298 argument of CAS if possible.
27299 * sysdeps/sparc/sparc64/bits/atomic.h
27300 (__arch_compare_and_exchange_val_32_acq): Likewise.
27301 (__arch_compare_and_exchange_val_64_acq): Likewise.
27303 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
27305 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
27306 * sysdeps/posix/ulimit.c: ... this.
27307 Include <limits.h>.
27308 * sysdeps/unix/bsd/ulimit.c: Remove file.
27310 2013-01-23 Adam Conrad <adconrad@0c3.net>
27312 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
27313 (LDFLAGS-tst-array5): Likewise.
27315 2013-01-23 Joseph Myers <joseph@codesourcery.com>
27318 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
27319 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
27320 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
27321 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
27323 2013-01-21 David S. Miller <davem@davemloft.net>
27325 * sysdeps/sparc/backtrace.c: New file.
27326 * sysdeps/sparc/sparc32/backtrace.h: New file.
27327 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
27328 * sysdeps/sparc/sparc64/backtrace.h: New file.
27329 * sysdeps/sparc/sparc64/backtrace.c: Delete.
27330 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
27333 2013-01-21 Andreas Schwab <schwab@suse.de>
27336 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
27339 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
27341 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
27343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27345 2013-01-18 Joseph Myers <joseph@codesourcery.com>
27346 Mark Mitchell <mark@codesourcery.com>
27347 Tom de Vries <tom@codesourcery.com>
27348 Paul Pluzhnikov <ppluzhnikov@google.com>
27350 * debug/tst-backtrace2.c: New file.
27351 * debug/tst-backtrace3.c: Likewise.
27352 * debug/tst-backtrace4.c: Likewise.
27353 * debug/tst-backtrace5.c: Likewise.
27354 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
27355 (CFLAGS-tst-backtrace3.c): Likewise.
27356 (CFLAGS-tst-backtrace4.c): Likewise.
27357 (CFLAGS-tst-backtrace5.c): Likewise.
27358 (LDFLAGS-tst-backtrace2): Likewise.
27359 (LDFLAGS-tst-backtrace3): Likewise.
27360 (LDFLAGS-tst-backtrace4): Likewise.
27361 (LDFLAGS-tst-backtrace5): Likewise.
27362 (tests): Add new tests tst-backtrace2, tst-backtrace3,
27363 tst-backtrace4 and tst-backtrace5.
27365 2013-01-18 Anton Blanchard <anton@samba.org>
27366 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27368 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
27369 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
27370 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
27371 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
27372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27373 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
27374 "+r" and remove output regs list as redundant. Add explicit inline
27375 asm to specify register of return val to work around compiler codegen
27376 bug. Remove (int) cast on return value. Add return type parameter to
27377 use in macro so that this macro does not truncate return value for
27379 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
27380 pass to INTERNAL_VSYSCALL_NCS.
27381 (INLINE_VSYSCALL): Add 'long int' as return type to
27382 INTERNAL_VSYSCALL_NCS macro invocation.
27383 (INTERNAL_VSYSCALL): Add 'long int' as return type to
27384 INTERNAL_VSYSCALL_NCS macro invocation.
27385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27387 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27390 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
27391 Fix application of SIMD FP exception mask.
27393 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
27394 mp_no from a power of two.
27395 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
27396 __mpexp_twomm1. Use __pow_mp.
27398 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
27401 2013-01-17 David S. Miller <davem@davemloft.net>
27403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27405 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27408 * include/complex.h: Condition contents on [!_COMPLEX_H].
27409 (__kernel_casinhf): New prototype.
27410 (__kernel_casinh): Likewise.
27411 (__kernel_casinhl): Likewise.
27412 * math/Makefile (libm_calls): Add k_casinh.
27413 * math/k_casinh.c: New file.
27414 * math/k_casinhf.c: Likewise.
27415 * math/k_casinhl.c: Likewise.
27416 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
27417 finite nonzero arguments.
27418 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
27419 finite nonzero arguments.
27420 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
27421 finite nonzero arguments.
27422 * math/s_casinh.c: Do not include <float.h>.
27423 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
27424 * math/s_casinhf.c: Do not include <float.h>.
27425 (__casinhf): Move code for finite nonzero arguments to
27427 * math/s_casinhl.c: Do not include <float.h>.
27428 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
27430 (__casinhl): Move code for finite nonzero arguments to
27432 * math/libm-test.inc (cacos_test): Add more tests.
27433 * sysdeps/i386/fpu/libm-test-ulps: Update.
27434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
27438 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
27439 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
27440 [!HAVE_MREMAP]: Remove [defined linux] case.
27441 * malloc/arena.c: Do not include <malloc-sysdep.h>.
27443 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27445 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
27447 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
27449 * elf/elf.h (R_386_SIZE32): New relocation.
27450 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
27452 (elf_machine_rela): Likewise.
27453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
27454 R_X86_64_SIZE64 and R_X86_64_SIZE32.
27456 2013-01-17 Joseph Myers <joseph@codesourcery.com>
27458 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
27459 (FP_FAST_FMA): Do not define.
27460 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
27461 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
27462 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
27463 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
27464 !_SOFT_FLOAT]: Likewise.
27465 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
27466 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
27468 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
27469 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
27470 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
27471 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
27472 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
27473 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
27476 2013-01-16 Andreas Schwab <schwab@suse.de>
27479 * include/stdlib.h (__mktemp): Add declaration.
27480 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
27481 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
27483 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27485 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
27487 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
27488 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
27489 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
27491 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
27492 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
27494 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
27496 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
27497 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
27498 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
27500 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
27501 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
27503 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
27505 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
27507 2013-01-15 David S. Miller <davem@davemloft.net>
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27510 trunc{,f} to libm-sysdep_routes.
27511 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
27514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
27515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
27517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
27519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
27520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
27521 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
27522 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
27523 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
27524 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
27525 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
27526 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
27528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27529 nearbyint{,f} to libm-sysdep_routes.
27530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
27533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
27535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
27540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
27541 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
27543 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
27544 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
27546 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
27547 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
27548 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
27550 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27551 libc_feholdexcept and libc_fesetenv.
27553 2013-01-15 Mike Frysinger <vapier@gentoo.org>
27555 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
27557 2013-01-14 David S. Miller <davem@davemloft.net>
27559 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
27560 (SPARC_ASM_VIS2_IFUNC): Likewise.
27561 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
27562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
27563 use of 'siam' instruction.
27564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
27566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
27568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
27570 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
27571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
27572 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
27573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
27574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
27576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
27580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
27582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
27583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
27584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
27585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
27586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
27588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
27589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
27590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27592 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
27593 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
27594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
27595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
27596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
27597 routines to libm-sysdep_routines.
27598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
27600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
27601 fdim/fdimf to libm-sysdep_routines.
27602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
27604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
27605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
27607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
27608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
27609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
27610 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
27611 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
27612 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
27613 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
27615 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27617 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
27618 to optimize copies.
27620 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
27621 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
27622 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27624 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
27625 local variable MPTWO.
27626 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27629 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27631 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
27634 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27636 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
27638 2013-01-13 Mike Frysinger <vapier@gentoo.org>
27640 * manual/pattern.texi (glob_t): Document gl_flags.
27641 (glob64_t): Likewise.
27643 2013-01-11 David S. Miller <davem@davemloft.net>
27645 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
27646 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
27647 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
27648 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
27649 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
27650 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
27651 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
27652 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
27653 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
27654 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
27655 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
27656 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
27657 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
27659 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27660 sparc V9 rather than using V8 code.
27661 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27662 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27664 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27666 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
27669 2013-01-11 Roland McGrath <roland@hack.frob.com>
27671 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
27672 not in the main loop.
27673 * configure: Regenerated.
27675 2013-01-11 Joseph Myers <joseph@codesourcery.com>
27677 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
27678 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
27680 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
27681 [!__GLIBC_HAVE_LONG_LONG] case.
27682 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
27683 condition to just #else.
27684 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
27685 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
27686 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
27687 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
27689 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
27690 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27691 #elif condition to just #else.
27692 * sysdeps/unix/sysv/linux/sys/sysmacros.h
27693 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
27694 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
27695 #elif condition to just #else.
27697 2013-01-11 Steve Ellcey <sellcey@mips.com>
27699 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
27700 (EF_MIPS_ARCH_64): Fix value.
27701 (EF_MIPS_ARCH_32R2): New.
27702 (EF_MIPS_ARCH_64R2): New.
27704 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
27706 * Makeconfig (+link-pie-before-libc): New.
27707 (+link-pie-after-libc): Likewise.
27708 (+link-pie-tests): Likewise.
27709 (+link-pie): Rewritten.
27710 (link-before-libc): Remove $(config-LDFLAGS).
27711 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
27712 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
27713 (config-LDFLAGS): Renamed to ...
27714 (rtld-LDFLAGS): This.
27715 (rtld-tests-LDFLAGS): New macro.
27716 (link-libc-rpath-link): Likewise.
27717 (link-libc-tests-rpath-link): Likewise.
27718 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
27719 (link-libc): Prepand $(link-libc-rpath-link).
27720 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
27721 (test-program-prefix): New macro.
27722 (test-via-rtld-prefix): Likewise.
27723 (test-program-cmd): Likewise.
27724 (host-test-program-cmd): Likewise.
27725 * Makefile ($(common-objpfx)testrun.sh): Replace
27726 $(run-program-prefix) with $(test-program-prefix).
27727 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
27729 ($(common-objpfx)shlib.lds): Likewise.
27730 (build-module-helper): Likewise.
27731 ($(common-objpfx)format.lds): Likewise.
27732 * Rules (binaries-pie-tests): New.
27733 (binaries-pie-notests): Likewise.
27734 (binaries-pie): Rewritten.
27735 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
27736 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
27737 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
27738 (make-test-out): Replace $(host-built-program-cmd) with
27739 $(host-test-program-cmd).
27740 * config.make.in (build-hardcoded-path-in-tests): New variable.
27741 * configure.in (--enable-hardcoded-path-in-tests): New configure
27743 (hardcoded_path_in_tests): New AC_SUBST.
27744 * configure: Regenerated.
27745 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
27746 $(built-program-cmd) with $(test-program-cmd).
27747 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
27748 (test_program_cmd): This.
27749 * elf/Makefile ($(objpfx)order.out): Run test with
27750 $(test-program-prefix).
27751 ($(objpfx)order2.out): Likewise.
27752 ($(objpfx)tst-initorder.out): Likewise.
27753 ($(objpfx)tst-initorder2.out): Likewise.
27754 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
27755 $(test-program-cmd).
27756 ($(objpfx)tst-array1-static.out): Likewise.
27757 ($(objpfx)tst-array2.out): Likewise.
27758 ($(objpfx)tst-array3.out): Likewise.
27759 ($(objpfx)tst-array4.out): Likewise.
27760 ($(objpfx)tst-array5.out): Likewise.
27761 ($(objpfx)tst-array5-static.out): Likewise.
27762 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
27763 $(test-program-cmd).
27764 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
27765 $(run-program-prefix) with $(test-program-prefix).
27766 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
27767 (test_program_prefix): This.
27768 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
27769 $(run-program-prefix) with $(test-program-prefix).
27770 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
27771 (test_program_prefix): This.
27772 * iconvdata/tst-tables.sh: Likewise.
27773 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
27774 $(run-program-prefix) with $(test-program-prefix).
27775 ($(objpfx)tst-translit.out): Likewise.
27776 ($(objpfx)tst-gettext2.out): Likewise.
27777 ($(objpfx)tst-gettext4.out): Likewise.
27778 ($(objpfx)tst-gettext6.out): Likewise.
27779 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
27780 (test_program_prefix): This.
27781 * intl/tst-gettext2.sh: Likewise.
27782 * intl/tst-gettext4.sh Likewise.
27783 * intl/tst-gettext6.sh: Likewise.
27784 * intl/tst-translit.sh: Likewise.
27785 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
27786 with $(test-program-cmd).
27787 * libio/Makefile ($(objpfx)test-freopen.out): Replace
27788 $(run-program-prefix) with $(test-program-prefix).
27789 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
27790 (test_program_prefix): This.
27791 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
27792 $(run-program-prefix) with $(test-program-prefix).
27793 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
27794 (test_program_prefix): This.
27795 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
27796 * posix/Makefile ($(objpfx)globtest.out): Replace
27797 $(run-via-rtld-prefix) and $(test-wrapper) with
27798 $(test-program-prefix) and $(test-via-rtld-prefix).
27799 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
27800 $(test-program-prefix).
27801 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
27802 $(host-test-program-cmd).
27803 (tst-spawn-ARGS): Likewise.
27804 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
27805 $(test-program-prefix).
27806 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
27807 (test_via_rtld_prefix): This.
27808 (test_wrapper): Renamed to ...
27809 (test_program_prefix): This.
27810 (run_program_prefix): Replaced by test_program_prefix.
27811 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
27812 (test_program_prefix): This.
27813 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
27814 with $(host-test-program-cmd).
27815 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
27816 $(run-program-prefix) with $(test-program-prefix).
27817 ($(objpfx)tst-printf.out): Likewise.
27818 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
27819 $(test-program-cmd).
27820 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
27821 (test_program_prefix): This.
27822 * stdio-common/tst-unbputc.sh: Likewise.
27823 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
27824 $(run-program-prefix) with $(test-program-prefix).
27825 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
27826 (test_program_prefix): This.
27827 * string/Makefile ($(objpfx)tst-svc.out): Replace
27828 $(built-program-cmd) with $(test-program-cmd).
27830 2013-01-11 Andreas Jaeger <aj@suse.de>
27833 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
27834 value. Sync with Linux 3.7.
27836 2013-01-10 David S. Miller <davem@davemloft.net>
27838 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
27839 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27840 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27842 2013-01-10 Roland McGrath <roland@hack.frob.com>
27844 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
27846 * configure: Regenerated.
27848 2013-01-10 David S. Miller <davem@davemloft.net>
27850 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
27851 sparc V9 rather than using V8 code.
27852 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
27853 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
27855 2013-01-10 Roland McGrath <roland@hack.frob.com>
27857 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
27858 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
27859 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
27860 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
27861 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
27862 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
27863 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
27864 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
27865 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
27866 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
27867 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
27868 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
27869 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
27870 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
27871 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
27872 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
27873 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
27874 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
27875 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
27876 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
27877 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
27878 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
27879 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
27880 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27881 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
27882 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
27883 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
27885 2013-01-10 David S. Miller <davem@davemloft.net>
27887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27889 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27891 * posix/Makefile (tests-static): New variable.
27892 (tests): Add $(tests-static).
27893 (tst-exec-static-ARGS): New variable.
27894 (tst-spawn-static-ARGS): Likewise.
27895 * posix/tst-exec-static.c: New file.
27896 * posix/tst-spawn-static.c: Likewise.
27897 * posix/tst-exec.c: Support run directly.
27898 * posix/tst-spawn.c: Likewise.
27900 2013-01-10 Joseph Myers <joseph@codesourcery.com>
27902 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
27904 * math/bits/mathcalls.h (llrint): Likewise.
27905 (llround): Likewise.
27906 * stdlib/stdlib.h (struct drand48_data): Likewise.
27907 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
27908 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
27909 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
27911 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
27913 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
27914 (elf_greg_t): Likewise.
27915 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
27916 (__jmp_buf): Likewise.
27917 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
27919 (llrint): Likewise, for all definitions.
27920 (llrintl): Likewise.
27922 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
27923 Remove [__GNUC__] condition.
27924 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
27925 condition to just [__USE_ISOC99].
27926 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
27928 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
27931 * sysdeps/unix/sysv/linux/x86/bits/environments.h
27932 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
27934 (_POSIX_V6_ILP32_OFF32): Likewise.
27935 (_XBS5_ILP32_OFF32): Likewise.
27936 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
27937 (__ILP32_OFFBIG_LDFLAGS): Likewise.
27939 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27941 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
27943 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
27944 doubles __mpexp_twomm1. Adjust usage.
27945 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
27948 2013-01-10 Andreas Schwab <schwab@suse.de>
27951 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
27952 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
27954 2013-01-09 David S. Miller <davem@davemloft.net>
27957 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
27958 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
27959 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
27960 (TCP_FASTOPEN): Define.
27961 (tcp_repair_opt): New structure.
27962 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
27964 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
27965 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
27966 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
27967 (tcp_cookie_transactions): New structure.
27969 2013-01-09 Anton Blanchard <anton@samba.org>
27971 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
27972 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
27973 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
27974 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27976 2013-01-09 Joseph Myers <joseph@codesourcery.com>
27978 * include/features.h (__USE_ANSI): Remove.
27980 2013-01-09 Roland McGrath <roland@hack.frob.com>
27982 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
27984 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
27986 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
27988 * sysdeps/s390/fpu/libm-test-ulps: Update.
27990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27992 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
27996 (denorm): Likewise.
27997 (__mp_dbl): Likewise.
27998 (__dbl_mp): Likewise.
27999 (add_magnitudes): Likewise.
28000 (sub_magnitudes): Likewise.
28006 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28010 (denorm): Likewise.
28011 (__mp_dbl): Likewise.
28012 (__dbl_mp): Likewise.
28013 (add_magnitudes): Likewise.
28014 (sub_magnitudes): Likewise.
28020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28024 (denorm): Likewise.
28025 (__mp_dbl): Likewise.
28026 (__dbl_mp): Likewise.
28027 (add_magnitudes): Likewise.
28028 (sub_magnitudes): Likewise.
28035 2013-01-08 Joseph Myers <joseph@codesourcery.com>
28037 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28038 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28039 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28040 2 && __USE_EXTERN_INLINES]: Likewise.
28042 2013-01-08 Andreas Jaeger <aj@suse.de>
28045 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28047 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28048 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28050 2013-01-07 Anton Blanchard <anton@samba.org>
28052 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28053 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28054 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28055 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28056 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28057 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28058 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28059 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28061 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28062 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28063 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28065 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28066 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28067 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28068 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28069 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28070 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28071 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28072 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28073 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28074 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28075 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28076 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28077 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28078 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28079 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28080 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28081 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28082 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28084 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28085 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28086 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28087 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28088 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28092 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28093 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28094 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28096 2013-01-07 Joseph Myers <joseph@codesourcery.com>
28098 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28099 (__MALLOC_PMT): Likewise.
28100 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28101 [__GNUC__], only on [_LIBC].
28102 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28103 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28104 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28105 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28106 forward declaration.
28107 (realloc_hook_ini): Likewise.
28108 (memalign_hook_ini): Likewise.
28109 (__libc_memalign): Do not use __MALLOC_PMT in variable
28111 (__libc_valloc): Likewise.
28112 (__libc_pvalloc): Likewise.
28113 (__libc_calloc): Likewise.
28114 (__posix_memalign): Likewise.
28117 * math/s_casinh.c: Include <float.h>.
28118 (__casinh): Do not do computation with squaring and square root
28119 for large arguments.
28120 * math/s_casinhf.c: Include <float.h>.
28121 (__casinhf): Do not do computation with squaring and square root
28122 for large arguments.
28123 * math/s_casinhl.c: Include <float.h>.
28124 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28125 (__casinhl): Do not do computation with squaring and square root
28126 for large arguments.
28127 * math/libm-test.inc (casin_test): Add more tests.
28128 (casinh_test): Likewise.
28129 * sysdeps/i386/fpu/libm-test-ulps: Update.
28130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28132 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28134 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28135 (__x86_64_raw_data_cache_size): Likewise.
28136 (__x86_64_data_cache_size_half): Likewise.
28137 (__x86_64_raw_data_cache_size_half): Likewise.
28138 (__x86_64_shared_cache_size): Likewise.
28139 (__x86_64_raw_shared_cache_size): Likewise.
28140 (__x86_64_shared_cache_size_half): Likewise.
28141 (__x86_64_raw_shared_cache_size_half): Likewise.
28142 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28144 (__x86_data_cache_size): This.
28145 (__x86_64_raw_data_cache_size): Renamed to ...
28146 (__x86_raw_data_cache_size): This.
28147 (__x86_64_data_cache_size_half): Renamed to ...
28148 (__x86_data_cache_size_half): This.
28149 (__x86_64_raw_data_cache_size_half): Renamed to ...
28150 (__x86_raw_data_cache_size_half): This.
28151 (__x86_64_shared_cache_size): Renamed to ...
28152 (__x86_shared_cache_size): This.
28153 (__x86_64_raw_shared_cache_size): Renamed to ...
28154 (__x86_raw_shared_cache_size): This.
28155 (__x86_64_shared_cache_size_half): Renamed to ...
28156 (__x86_shared_cache_size_half): This.
28157 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28158 (__x86_raw_shared_cache_size_half): This.
28159 * sysdeps/x86_64/memcpy.S: Updated.
28160 * sysdeps/x86_64/memset.S: Likewise.
28161 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28162 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28165 2013-01-04 David S. Miller <davem@davemloft.net>
28167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28169 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28171 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28172 1 to avoid redefinition warning.
28173 (__USE_GNU): Don't define.
28174 (init_signaling_nan): Protoize.
28176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28178 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28180 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28182 (__cpymn): Likewise.
28183 (norm): Remove commented code.
28184 (denorm): Likewise.
28185 (__mp_dbl): Likewise.
28187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28188 (__cpymn): Likewise.
28189 (norm): Remove commented code.
28190 (denorm): Likewise.
28191 (__mp_dbl): Likewise.
28194 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28195 mp_no value for 1.0 and 2.0.
28196 (norm): Use RADIXI instead of radixi.d.
28197 (denorm): Likewise.
28198 (__mul): Use 0.0 instead of zero.d.
28199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28200 mp_no value for 1.0 and 2.0.
28201 (norm): Use RADIXI instead of radixi.d.
28202 (denorm): Likewise.
28203 (__mul): Use 0.0 instead of zero.d.
28205 2013-01-04 Joseph Myers <joseph@codesourcery.com>
28208 * math/s_casinh.c (__casinh): Reduce finite argument to first
28209 quadrant then set signs of results at the end.
28210 * math/s_casinhf.c (__casinhf): Likewise.
28211 * math/s_casinhl.c (__casinhl): Likewise.
28212 * math/libm-test.inc (casin_test): Add more tests.
28213 (casinh_test): Likewise.
28214 * sysdeps/i386/fpu/libm-test-ulps: Update.
28215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28217 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28219 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28221 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28223 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28225 (denorm): Likewise.
28226 (__mp_dbl): Likewise.
28229 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28230 and adjust the header comment.
28232 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28233 variable name from declaration.
28235 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28237 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28238 Initialize COMMON_CPUID_INDEX_7 element.
28239 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28240 (CPUID_RTM): Likewise.
28241 (HAS_RTM): Likewise.
28242 (COMMON_CPUID_INDEX_7): New enum.
28244 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28247 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28248 size is zero, record memory as freed.
28250 2013-01-03 Andreas Jaeger <aj@suse.de>
28252 * po/ia.po: Add new Interlingua translation.
28254 2012-01-03 Allan McRae <allan@archlinux.org>
28256 * locale/programs/localedef.c: Fix description of '--posix' flag.
28258 2013-01-02 Joseph Myers <joseph@codesourcery.com>
28260 * NEWS: Update dates in second copyright notice.
28261 * README: Update copyright dates in example.
28262 * manual/libc.texinfo: Update copyright dates.
28263 * scripts/test-installation.pl: Update copyright date in --version
28266 * hurd/ctty-input.c: Fix copyright notice formatting.
28267 * hurd/ctty-output.c: Likewise.
28268 * hurd/dtable.c: Likewise.
28269 * hurd/hurd-raise.c: Likewise.
28270 * hurd/hurdprio.c: Likewise.
28271 * hurd/msgportdemux.c: Likewise.
28272 * misc/sys/file.h: Likewise.
28273 * misc/sys/ioctl.h: Likewise.
28274 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28275 * sysdeps/mach/hurd/chdir.c: Likewise.
28276 * sysdeps/mach/hurd/fchdir.c: Likewise.
28277 * sysdeps/mach/hurd/rename.c: Likewise.
28278 * sysdeps/mach/hurd/rmdir.c: Likewise.
28279 * sysdeps/mach/hurd/seekdir.c: Likewise.
28280 * sysdeps/mach/hurd/setsid.c: Likewise.
28281 * sysdeps/posix/wait3.c: Likewise.
28283 * All files with FSF copyright notices: Update copyright dates
28284 using scripts/update-copyrights.
28285 * intl/plural.c: Regenerated.
28286 * locale/programs/charmap-kw.h: Likewise.
28287 * locale/programs/locfile-kw.h: Likewise.
28289 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28291 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
28294 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
28295 calculation loop and add branch prediction.
28297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
28298 check access beyond bounds of m1np.
28300 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28302 (__inv): Remove local variable MPTWO to use the global
28304 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
28305 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28307 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
28308 MP3HALFS static const.
28310 2013-01-01 David S. Miller <davem@davemloft.net>
28312 * po/ca.po: Update from translation team.
28314 2013-01-01 Joseph Myers <joseph@codesourcery.com>
28316 * scripts/update-copyrights: New file.
28317 * Makeconfig: Reformat copyright notice.
28318 * ctype/ctype.h: Likewise.
28319 * debug/swprintf_chk.c: Likewise.
28320 * elf/dl-cache.c: Likewise.
28321 * elf/dl-debug.c: Likewise.
28322 * elf/dl-object.c: Likewise.
28323 * grp/initgroups.c: Likewise.
28324 * hurd/Makefile: Likewise.
28325 * hurd/hurd/signal.h: Likewise.
28326 * hurd/hurdfault.c: Likewise.
28327 * hurd/hurdioctl.c: Likewise.
28328 * hurd/hurdlookup.c: Likewise.
28329 * hurd/intr-msg.c: Likewise.
28330 * iconv/gconv_open.c: Likewise.
28331 * libio/swprintf.c: Likewise.
28332 * locale/lc-ctype.c: Likewise.
28333 * locale/nl_langinfo.c: Likewise.
28334 * mach/Machrules: Likewise.
28335 * mach/Makefile: Likewise.
28336 * malloc/obstack.h: Likewise.
28337 * manual/Makefile: Likewise.
28338 * manual/tsort.awk: Likewise.
28339 * misc/bits/stab.def: Likewise.
28340 * nis/nis_print_group_entry.c: Likewise.
28341 * nis/nis_table.c: Likewise.
28342 * nis/nss_compat/compat-pwd.c: Likewise.
28343 * nis/nss_compat/compat-spwd.c: Likewise.
28344 * po/Makefile: Likewise.
28345 * posix/fnmatch.c: Likewise.
28346 * posix/regex.h: Likewise.
28347 * resolv/Makefile: Likewise.
28348 * resolv/nss_dns/dns-network.c: Likewise.
28349 * resolv/res_hconf.c: Likewise.
28350 * scripts/gen-sorted.awk: Likewise.
28351 * soft-fp/soft-fp.h: Likewise.
28352 * stdio-common/printf.h: Likewise.
28353 * stdlib/monetary.h: Likewise.
28354 * stdlib/random.c: Likewise.
28355 * stdlib/random_r.c: Likewise.
28356 * sysdeps/generic/Makefile: Likewise.
28357 * sysdeps/gnu/Makefile: Likewise.
28358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28360 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28365 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28366 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28368 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28369 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28370 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28371 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28372 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
28373 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28374 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28375 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28381 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
28382 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
28383 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28384 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28385 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
28386 * sysdeps/mach/hurd/errnos.awk: Likewise.
28387 * sysdeps/mach/hurd/fork.c: Likewise.
28388 * sysdeps/mach/hurd/getcwd.c: Likewise.
28389 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
28390 * sysdeps/mach/hurd/mmap.c: Likewise.
28391 * sysdeps/mach/hurd/utimes.c: Likewise.
28392 * sysdeps/mach/hurd/xmknod.c: Likewise.
28393 * sysdeps/posix/profil.c: Likewise.
28394 * sysdeps/posix/readdir_r.c: Likewise.
28395 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28396 * sysdeps/powerpc/bits/setjmp.h: Likewise.
28397 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
28398 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28400 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28401 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28404 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28405 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28406 * sysdeps/pthread/lio_listio.c: Likewise.
28407 * sysdeps/sparc/dl-procinfo.h: Likewise.
28408 * sysdeps/unix/i386/sysdep.S: Likewise.
28409 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
28410 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
28411 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
28412 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
28413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28414 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
28415 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
28416 * sysdeps/unix/sysv/linux/speed.c: Likewise.
28417 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28418 * sysdeps/wordsize-32/divdi3.c: Likewise.
28419 * time/sys/time.h: Likewise.
28420 * wcsmbs/Makefile: Likewise.
28422 2013-01-01 David S. Miller <davem@davemloft.net>
28424 * po/fr.po: Update from translation team.
28426 * catgets/gencat.c: Update copyright year.
28427 * csu/version.c: Likewise.
28428 * debug/catchsegv.sh: Likewise.
28429 * debug/pcprofiledump.c: Likewise.
28430 * debug/xtrace.sh: Likewise.
28431 * elf/ldconfig.c: Likewise.
28432 * elf/ldd.bash.in: Likewise.
28433 * elf/pldd.c: Likewise.
28434 * elf/sotruss.ksh: Likewise.
28435 * elf/sprof.c: Likewise.
28436 * iconv/iconv_prog.c: Likewise.
28437 * iconv/iconvconfig.c: Likewise.
28438 * locale/programs/locale.c: Likewise.
28439 * locale/programs/localedef.c: Likewise.
28440 * login/programs/pt_chown.c: Likewise.
28441 * malloc/memusage.sh: Likewise.
28442 * malloc/memusagestat.c: Likewise.
28443 * malloc/mtrace.pl: Likewise.
28444 * nscd/nscd.c: Likewise.
28445 * nss/getent.c: Likewise.
28446 * nss/makedb.c: Likewise.
28447 * posix/getconf.c: Likewise.
28449 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
28451 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
28454 2012-12-30 Mike Frysinger <vapier@gentoo.org>
28456 * math/bits/mathcalls.h (modf): Use __nonnull.
28458 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28460 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
28461 (split): Use macro CN instead of the bare value.
28462 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
28464 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
28465 instead of the bare value.
28466 (power1): Likewise.
28468 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
28472 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28474 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
28476 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28477 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28478 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
28479 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28481 2012-12-28 Andreas Jaeger <aj@suse.de>
28483 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
28484 values are from Linux 3.7.
28486 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
28487 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
28489 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28491 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
28494 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
28496 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
28497 variables with preprocessor constants.
28498 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28499 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28500 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28502 2012-12-27 Bruno Haible <bruno@clisp.org>
28505 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
28508 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28510 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
28511 and use variable directly.
28512 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
28514 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
28516 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
28517 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
28519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28521 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
28522 include directive. Remove local variable MPONE.
28523 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
28524 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
28525 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28527 2012-12-25 David S. Miller <davem@davemloft.net>
28529 * version.h (RELEASE): Set to "development".
28530 (VERSION): Set to "2.17.90".
28531 * NEWS: Add 2.18 section.
28533 2012-12-21 David S. Miller <davem@davemloft.net>
28535 * po/hr.po: Update from translation team.
28537 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28539 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
28541 2012-12-19 Steve Ellcey <sellcey@mips.com>
28543 * NEWS: Mention new memcpy for MIPS.
28545 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28547 * manual/contrib.texi (Contributors): Spelling correction.
28549 2012-12-15 David S. Miller <davem@davemloft.net>
28551 * po/ru.po: Update from translation team.
28553 2012-12-13 David S. Miller <davem@davemloft.net>
28555 * NEWS: Mention IFUNC testsuite enhancements.
28557 * po/pl.po: Update from translation team.
28558 * po/bg.po: Likewise.
28560 * manual/contrib.texi (Contributors): Update entries for Hongjiu
28561 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
28563 2012-12-11 David S. Miller <davem@davemloft.net>
28565 * po/sv.po: Update from translation team.
28567 * po/vi.po: Update from translation team.
28569 * po/cs.po: Update from translation team.
28571 * po/de.po: Update from translation team.
28572 * po/eo.po: Likewise.
28573 * po/nl.po: Likewise.
28575 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28578 * manual/argp.texi (Argp Helper Functions): Move node to follow
28579 Argp Parsing State.
28582 * manual/conf.texi (Limits on File System Capacity): Mention if
28583 terminating null is included in the max size.
28585 2012-12-10 Andreas Jaeger <aj@suse.de>
28587 * po/cs.po: Update from translation team.
28589 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28591 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
28592 void pointer and cast to uintptr_t.
28593 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
28595 * sysdeps/s390/s390-64/memcpy.S: Likewise.
28596 * sysdeps/s390/s390-64/memset.S: Likewise.
28598 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
28601 * menual/message.texi (Message Translation): Fix typos.
28602 (Helper programs for gettext): Likewise.
28604 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
28607 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
28610 2012-12-07 David S. Miller <davem@davemloft.net>
28612 * po/libc.pot: Update.
28614 2012-12-07 Richard Henderson <rth@redhat.com>
28617 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
28618 normal/normal case to before the switch.
28619 (_FP_DIV): Likewise.
28621 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
28622 Mike Frysinger <vapier@gentoo.org>
28624 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
28625 check for __NR_fadvise64_64.
28627 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
28629 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
28630 0, not just to plain "0" as a statement.
28631 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
28634 2012-12-06 Joseph Myers <joseph@codesourcery.com>
28636 * NEWS: Use sourceware.org in Bugzilla URL.
28638 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28641 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28643 * stdio-common/tst-put-error.c (do_test): Add newline to the
28644 padded test to ensure flush.
28646 2012-12-05 Jeff Law <law@redhat.com>
28648 * sunrpc/etc.rpc (fedfs_admin): Add entry.
28650 2012-12-05 Joseph Myers <joseph@codesourcery.com>
28652 * README: Don't refer to ports add-on as distributed separately.
28653 Mention AArch64 in list of systems supported in the ports add-on.
28655 * LICENSES: Add more non-FSF copyright and license notices.
28657 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
28660 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
28662 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
28663 10000 as width of padded output.
28665 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28667 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
28669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
28670 variable LX with __attribute__ ((unused)).
28671 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28673 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
28676 with __attribute__ ((unused)).
28678 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
28680 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
28682 2012-12-04 Joseph Myers <joseph@codesourcery.com>
28684 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
28685 (CFLAGS-nldbl-acos.c): New variable.
28686 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
28687 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
28688 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
28689 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
28690 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
28691 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
28692 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
28693 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
28694 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
28695 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
28696 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
28697 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
28698 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
28699 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
28700 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
28701 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
28702 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
28703 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
28704 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
28705 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
28706 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
28707 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
28708 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
28709 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
28710 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
28711 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
28712 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
28713 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
28714 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
28715 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
28716 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
28717 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
28718 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
28719 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
28720 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
28721 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
28722 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
28723 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
28724 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
28725 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
28726 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
28727 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
28728 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
28729 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
28730 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
28731 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
28732 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
28733 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
28734 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
28735 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
28736 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
28737 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
28738 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
28739 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
28740 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
28741 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
28742 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
28743 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
28744 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
28745 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
28746 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
28747 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
28748 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
28749 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
28750 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
28751 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
28752 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
28753 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
28754 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
28755 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
28756 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
28757 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
28758 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
28759 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
28760 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
28761 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
28762 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
28763 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
28764 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
28765 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
28766 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
28767 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
28768 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
28769 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
28770 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
28771 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
28772 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
28773 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
28774 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
28775 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
28776 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
28777 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
28778 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
28779 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
28780 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
28781 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
28782 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
28784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28785 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
28788 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
28789 whole low double instead of just low 47 bits when splitting values
28792 2012-12-03 Allan McRae <allan@archlinux.org>
28794 * manual/stdio.texi (Predefined Printf Handlers): Remove
28795 @hsep and @vsep usage.
28797 2012-12-03 Mike Frysinger <vapier@gentoo.org>
28799 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
28800 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
28802 2012-12-03 Jeff Law <law@redhat.com>
28804 * time/sys/time.h (settimeofday): Do not mark TV argument
28807 2012-12-01 Mike Frysinger <vapier@gentoo.org>
28809 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
28810 when currently writing and seek to current position when not.
28811 * libio/Makefile (tests): Remove bug-fclose1.
28812 * libio/bug-fclose1.c: Delete.
28814 2012-12-01 Joseph Myers <joseph@codesourcery.com>
28816 * manual/arith.texi (feenableexcept): Fix typo.
28817 (fedisableexcept): Likewise.
28819 2012-11-30 Roland McGrath <roland@hack.frob.com>
28821 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
28822 second, differently-typed declaration, rather than a cast.
28824 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28826 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
28827 * include/rpc/svc.h: ... here.
28829 2012-11-30 Aurelien Jarno <aurel32@debian.org>
28832 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
28833 depending n and resplen2 to catch cases where answer
28836 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
28838 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
28839 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
28841 2012-11-29 Mike Frysinger <vapier@gentoo.org>
28843 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
28845 2012-11-29 Roland McGrath <roland@hack.frob.com>
28847 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
28849 2012-11-28 Jeff Law <law@redhat.com>
28852 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
28853 dataset_temporary. Track alloca usage into alloca_used.
28854 If dataset is large allocate and release it via malloc/free.
28856 2012-06-04 Florian Weimer <fweimer@redhat.com>
28859 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
28861 2012-11-28 David S. Miller <davem@davemloft.net>
28863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28865 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28868 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
28869 of pi/2 rounded to nearest to 64 bits.
28870 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
28871 nearest to 64 bits.
28872 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
28875 2012-11-28 Jeff Law <law@redhat.com>
28876 Martin Osvald <mosvald@redhat.com>
28879 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
28880 * sunrpc/svc.c: Include time.h.
28881 (__svc_accept_failed): New function.
28882 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
28883 any reason other than EINTR, call __svc_accept_failed.
28884 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
28885 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
28887 2012-11-28 Andreas Schwab <schwab@suse.de>
28889 * scripts/abilist.awk: Also handle indirect functions in .opd
28892 2012-11-28 Joseph Myers <joseph@codesourcery.com>
28895 * sysdeps/x86/fpu/powl_helper.c: New file.
28896 * sysdeps/x86/fpu/Makefile: Likewise.
28897 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
28899 (__ieee754_powl): Use __powl_helper for finite arguments except
28900 integer exponents below 8.
28901 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
28903 (__ieee754_powl): Use __powl_helper for finite arguments except
28904 integer exponents below 8.
28905 * math/libm-test.inc (pow_test): Add more tests and enable some
28906 previously disabled tests.
28907 * sysdeps/i386/fpu/libm-test-ulps: Update.
28908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28910 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28911 Carlos O'Donell <carlos_odonell@mentor.com>
28913 * nss/makedb.c (is_prime): Assert that input is odd and greater
28914 than 4. Note that fact in a comment too.
28915 (next_prime): Add 4 to input.
28917 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28920 * libio/Makefile (tests): Add test case tst-fwrite-error.
28921 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
28922 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28923 * libio/tst-fwrite-error.c: New test case.
28925 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
28927 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
28928 before casting to void *.
28929 * include/libc-internal.h (__pointer_type): New macro.
28930 (__integer_if_pointer_type_sub): Likewise.
28931 (__integer_if_pointer_type): Likewise.
28932 (cast_to_integer): Likewise.
28933 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
28934 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
28935 before casting to atomic64_t.
28936 (atomic_exchange_acq): Likewise.
28937 (__arch_exchange_and_add_body): Likewise.
28938 (__arch_add_body): Likewise.
28939 (atomic_add_negative): Likewise.
28940 (atomic_add_zero): Likewise.
28942 2012-11-26 Joseph Myers <joseph@codesourcery.com>
28944 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
28945 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
28946 (add_fdes): Likewise.
28947 (linear_search_fdes): Likewise.
28948 (binary_search_unencoded_fdes): Likewise.
28950 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
28952 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
28954 2012-11-24 Adam Conrad <adconrad@0c3.net>
28956 * configure.in: Autodetect C++ header directories.
28957 * configure: Regenerated.
28959 2012-11-23 Mike Frysinger <vapier@gentoo.org>
28961 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
28963 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
28965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28967 2012-11-22 Joseph Myers <joseph@codesourcery.com>
28969 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
28970 LDBL_MANT_DIG == 106]: Disable some tests.
28971 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28973 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
28977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
28978 input for small inputs. Return +/- pi/2 for large inputs.
28979 * math/libm-test.inc (atan_test): Add more tests.
28981 * sysdeps/generic/unwind-dw2-fde-glibc.c
28982 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
28983 __attribute__ ((unused)).
28986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
28987 x * y if x and y are nonzero and z is zero.
28990 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
28991 nonzero exponents with absolute value below 0x1p-117 to +/-
28995 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
28996 up arguments below 2**-450, not just those below 2**-500.
28997 * math/libm-test.inc (hypot_test): Add another test.
29000 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29001 Return a+b for ratio over 2**120, not 2**60.
29002 * math/libm-test.inc (hypot_test): Add another test.
29004 * math/libm-test.inc (clog_test): Use
29005 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29006 (clog10_test): Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29011 2012-11-22 Andreas Schwab <schwab@suse.de>
29013 * sysdeps/i386/fpu/libm-test-ulps: Update.
29015 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29017 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29018 printf output with newline.
29020 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29023 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29024 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29025 -z nodlopen, -z initfirst and -z execstack support.
29026 * configure: Regenerated.
29028 * elf/elf.h (DF_1_NODIRECT): New macro.
29029 (DF_1_IGNMULDEF): Likewise.
29030 (DF_1_NOKSYMS): Likewise.
29031 (DF_1_NOHDR): Likewise.
29032 (DF_1_EDITED): Likewise.
29033 (DF_1_NORELOC): Likewise.
29034 (DF_1_SYMINTPOSE): Likewise.
29035 (DF_1_GLOBAUDIT): Likewise.
29036 (DF_1_SINGLETON): Likewise.
29037 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29038 DT_1_SUPPORTED_MASK bits.
29039 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29041 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29043 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29045 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29047 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29050 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29051 (sendmmsg): Move declarations...
29052 * socket/sys/socket.h: ... here.
29053 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29054 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29056 * socket/recvmmsg.c: ... this new file.
29057 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29058 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29059 definition of __sendmmsg hidden.
29060 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29061 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29062 Move ENOSYS stub into and include it from...
29063 * socket/sendmmsg.c: ... this new file.
29064 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29065 (sysdep_routines): Move recvmmsg and sendmmsg...
29066 * socket/Makefile (routines): ... here.
29067 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29068 (GLIBC_PRIVATE): Add __sendmmsg.
29069 * include/sys/socket.h (__sendmmsg): Add declarations.
29070 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29073 2012-11-20 Joseph Myers <joseph@codesourcery.com>
29075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29076 variable I1 with __attribute__ ((unused)).
29077 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29079 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29081 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29082 DUMMY variables with __attribute__ ((unused)).
29084 * bits/byteswap.h: Include <bits/types.h>.
29085 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29087 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29089 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29090 string_t. Do not manually set errno.
29091 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29092 length with __strnlen. Make sure to both set errno and return it on
29095 2012-11-19 David S. Miller <davem@davemloft.net>
29097 With help from Joseph Myers.
29098 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29099 very large arguments properly.
29100 * math/libm-test.inc (atan_test): New tests.
29101 (atan2_test): New tests.
29102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29105 2012-11-19 Joseph Myers <joseph@codesourcery.com>
29108 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29111 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29112 [POSIX] (EADDRNOTAVAIL): Likewise.
29113 [POSIX] (EAFNOSUPPORT): Likewise.
29114 [POSIX] (EALREADY): Likewise.
29115 [POSIX] (ECONNABORTED): Likewise.
29116 [POSIX] (ECONNREFUSED): Likewise.
29117 [POSIX] (ECONNRESET): Likewise.
29118 [POSIX] (EDESTADDRREQ): Likewise.
29119 [POSIX] (EDQUOT): Likewise.
29120 [POSIX] (EHOSTUNREACH): Likewise.
29121 [POSIX] (EIDRM): Likewise.
29122 [POSIX] (EISCONN): Likewise.
29123 [POSIX] (ELOOP): Likewise.
29124 [POSIX] (EMULTIHOP): Likewise.
29125 [POSIX] (ENETDOWN): Likewise.
29126 [POSIX] (ENETUNREACH): Likewise.
29127 [POSIX] (ENOBUFS): Likewise.
29128 [POSIX] (ENODATA): Likewise.
29129 [POSIX] (ENOLINK): Likewise.
29130 [POSIX] (ENOMSG): Likewise.
29131 [POSIX] (ENOPROTOOPT): Likewise.
29132 [POSIX] (ENOSR): Likewise.
29133 [POSIX] (ENOSTR): Likewise.
29134 [POSIX] (ENOTCONN): Likewise.
29135 [POSIX] (ENOTSOCK): Likewise.
29136 [POSIX] (EOPNOTSUPP): Likewise.
29137 [POSIX] (EOVERFLOW): Likewise.
29138 [POSIX] (EPROTO): Likewise.
29139 [POSIX] (EPROTONOSUPPORT): Likewise.
29140 [POSIX] (EPROTOTYPE): Likewise.
29141 [POSIX] (ESTALE): Likewise.
29142 [POSIX] (ETIME): Likewise.
29143 [POSIX] (ETXTBSY): Likewise.
29144 [POSIX] (EWOULDBLOCK): Likewise.
29145 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29146 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29147 [POSIX] (SEEK_CUR): Likewise.
29148 [POSIX] (SEEK_END): Likewise.
29149 [POSIX || UNIX98] (mode_t): Do not require.
29150 [POSIX] (off_t): Likewise.
29151 [POSIX] (pid_t): Likewise.
29152 [POSIX] (sys/stat.h): Do not allow header.
29153 [POSIX] (unistd.h): Likewise.
29154 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29155 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29156 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29157 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29159 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29160 sigevent): Specify elements.
29161 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29163 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29164 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29166 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29167 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29168 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29169 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29170 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29171 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29172 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29173 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29174 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29175 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29176 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29177 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29178 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29179 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29181 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29183 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29185 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29187 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29188 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29189 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29190 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29191 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29192 Specify lower bound on value.
29193 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29194 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29195 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29196 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29197 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29198 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29199 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29200 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29202 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29204 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29205 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29206 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29207 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29208 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29209 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29210 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29211 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29212 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29213 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29214 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29215 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29216 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29217 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29218 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29219 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29221 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29223 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29224 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29225 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29226 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29227 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29228 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29230 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29231 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29232 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29233 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29234 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29235 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29236 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29238 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29239 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29240 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29241 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29242 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29243 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29244 specify as optional.
29245 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29246 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29247 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29248 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29249 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29250 [XPG3] (NL_LANGMAX): Likewise.
29251 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29252 [POSIX || XPG3] (NL_NMAX): Likewise.
29253 [POSIX || XPG3] (NL_SETMAX): Likewise.
29254 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29255 [XPG3] (NZERO): Likewise.
29256 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29257 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29258 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29259 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29260 (REG_ERANGE): Expect.
29261 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29263 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29264 Use (void) in prototype.
29265 [POSIX] (*_t): Allow.
29266 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29267 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29268 (WRDE_BADVAL): Expect.
29270 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29272 [XPG3 || XPG4] (O_RSYNC): Likewise.
29273 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29275 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29276 [XPG3 || XPG4] (sigqueue): Likewise.
29277 [XPG3 || XPG4] (sigtimedwait): Likewise.
29278 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29279 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29280 [XPG3 || XPG4] (vsnprintf): Likewise.
29281 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29283 [XPG3 || XPG4] (blksize_t): Likewise.
29284 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29286 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29287 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29288 [XPG3 || XPG4] (struct itimerspec): Likewise.
29289 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29290 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29291 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
29292 [XPG3 || XPG4] (clockid_t): Likewise.
29293 [XPG3 || XPG4] (timer_t): Likewise.
29294 [XPG3 || XPG4] (clock_getres): Likewise.
29295 [XPG3 || XPG4] (clock_gettime): Likewise.
29296 [XPG3 || XPG4] (clock_settime): Likewise.
29297 [XPG3 || XPG4] (nanosleep): Likewise.
29298 [XPG3 || XPG4] (timer_create): Likewise.
29299 [XPG3 || XPG4] (timer_delete): Likewise.
29300 [XPG3 || XPG4] (timer_gettime): Likewise.
29301 [XPG3 || XPG4] (timer_getoverrun): Likewise.
29302 [XPG3 || XPG4] (timer_settime): Likewise.
29303 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
29304 [XPG3 || XPG4] (getlogin_r): Likewise.
29305 [XPG3 || XPG4] (pread): Likewise.
29306 [XPG3 || XPG4] (pthread_atfork): Likewise.
29307 [XPG3 || XPG4] (pwrite): Likewise.
29310 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
29313 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29315 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
29316 finalizing MALLSTREAM.
29318 * sysdeps/mach/hurd/syncfs.c: New file.
29320 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29323 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
29324 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
29325 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
29326 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
29327 (_nss_dns_gethostbyname4_r): Likewise.
29328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
29329 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
29331 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
29334 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
29336 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
29338 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
29339 * elf/cache.c (print_entry): Print ",AArch64" for
29342 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
29343 * elf/cache.c (print_entry): Print ",hard-float" for
29346 2012-11-18 David S. Miller <davem@davemloft.net>
29348 With help from Joseph Myers.
29349 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
29351 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
29353 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
29354 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
29356 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
29357 * math/libm-test.inc (y0_test): New tests.
29358 (y1_test): New tests.
29359 * sysdeps/i386/fpu/libm-test-ulps: Update.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29363 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
29365 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
29367 * configure: Regenerated.
29369 2012-11-17 David S. Miller <davem@davemloft.net>
29372 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
29373 nonzero exponents with absolute value below 0x1p-128 to +/-
29376 2012-11-17 Joseph Myers <joseph@codesourcery.com>
29378 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
29380 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
29382 * posix/getconf-speclist.c: New file.
29383 * posix/posix-envs.def: Likewise.
29384 * posix/confstr.c (START_ENV_GROUP): New macro.
29385 (END_ENV_GROUP): Likewise.
29386 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29387 (KNOWN_PRESENT_ENV_STRING): Likewise.
29388 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29389 (UNKNOWN_ENVIRONMENT): Likewise.
29390 (confstr): Include posix-envs.def instead of handling
29391 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
29392 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
29393 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
29394 (END_ENV_GROUP): Likewise.
29395 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
29396 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
29397 (UNKNOWN_ENVIRONMENT): Likewise.
29398 (__sysconf): Include posix-envs.def instead of handling associated
29399 cases directly here.
29400 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
29401 preprocessing getconf-speclist.c rather than running getconf or
29402 generating empty file.
29404 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
29406 * scripts/check-local-headers.sh: Ignore 'mach' headers.
29408 2012-11-16 Andrej Lajovic <natrij@gmail.com>
29411 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
29413 2012-11-16 David S. Miller <davem@davemloft.net>
29415 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
29416 smaller than LDBL_EPSILON/2.0L, just return xm1.
29418 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
29420 * elf/tst-array1.c (init): Set constructor priority to 1000.
29421 (fini): Set destructor priority to 1000.
29422 * elf/tst-array2dep.c: Likewise.
29424 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29427 * libio/fileops.c (_IO_new_file_write): Correctly return error.
29428 (_IO_new_file_xsputn): Also return EOF if none of the input
29429 data was written when overflow failed.
29430 * libio/iopadn.c (_IO_padn): Likewise.
29431 * libio/iowpadn.c (_IO_wpadn): Likewise.
29432 * stdio-common/tst-put-error.c: Add copyright notice.
29433 (do_test): Add case for printing padded string.
29434 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
29435 _IO_padn returned error.
29436 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
29437 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
29440 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29442 * libio/libioP.h: Add comment note that the references to C++
29443 bits are now obsolete.
29445 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29447 * math/libm-test.inc (check_complex): Use asprintf.
29449 2012-11-14 Joseph Myers <joseph@codesourcery.com>
29451 * debug/pcprofiledump.c (print_version): Update copyright year.
29452 * malloc/memusagestat.c (print_version): Likewise.
29454 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
29457 * elf/Makefile (tests): Add tst-audit8.
29458 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
29459 ($(objpfx)tst-audit8.out): New target.
29460 (tst-audit8-ENV): New variable.
29461 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
29462 audit if l_reloc_result is NULL.
29463 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
29464 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
29465 * elf/tst-audit8.c: New file.
29467 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29469 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
29470 * misc/Makefile (CFLAGS-select.c): Define.
29471 * posix/Makefile (CFLAGS-pause.c): Define.
29473 2012-11-13 David S. Miller <davem@davemloft.net>
29475 * crypt/Makefile: Move test targets after toplevel Rules
29476 inclusion. Grab any necessary sysdep routines when linking.
29477 * crypt/md5.c (md5_process_block): Remove define, we will always
29478 name it __md5_process_block.
29479 (md5_finish_ctx): Update md5_process_block call.
29480 (md5_stream): Likewise.
29481 (md5_process_bytes): Likewise.
29482 (md5_process_block): Rename to __md5_process_block and move to ...
29483 * crypt/md5-block.c: ... here.
29484 * crypt/sha256.c (sha256_process_block): Move to ...
29485 * crypt/sha256-block.c: ... here.
29486 * crypt/sha512.c (sha512_process_block): Move to ...
29487 * crypt/sha512-block.c: ... here.
29488 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
29490 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
29491 * sysdeps/sparc/sparc64/multiarch/Makefile
29492 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
29494 (localedef-aux): Add md5 crypto assembler when in locale subdir.
29495 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
29497 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
29498 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
29499 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
29500 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
29501 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
29502 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
29503 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
29504 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
29505 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
29507 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
29508 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
29510 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
29512 2012-11-13 Joseph Myers <joseph@codesourcery.com>
29514 * timezone/tzselect.ksh: Update from tzcode git revision
29515 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
29516 * timezone/zdump.c: Likewise.
29517 * timezone/zic.c: Likewise.
29518 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
29519 in TZVERSION setting, not $(PKGVERSION).
29520 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
29521 REPORT_BUGS_TO settings.
29524 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
29527 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29529 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
29530 detection to immediately after _FP_ROUND().
29531 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
29534 2012-11-11 David S. Miller <davem@davemloft.net>
29536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
29538 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
29539 __close rather than their public counterparts.
29541 2012-11-10 Joseph Myers <joseph@codesourcery.com>
29543 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
29545 [UNIX98] (sem_timedwait): Do not expect.
29546 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
29547 [XPG4 || UNIX98] (sockatmark): Do not expect.
29548 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
29549 (clock_getcpuclockid): Do not expect.
29550 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
29551 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
29553 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
29554 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
29555 [UNIX98] (vwscanf): Likewise.
29556 [UNIX98] (vswscanf): Likewise.
29558 2012-11-09 Joseph Myers <joseph@codesourcery.com>
29560 * timezone/version.h: Remove file.
29561 * timezone/README: Do not refer to version.h.
29562 * timezone/Makefile ($(objpfx)zic.o): New dependency on
29563 $(objpfx)version.h.
29564 ($(objpfx)zdump.o): Likewise.
29565 ($(objpfx)version.h): New target.
29567 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
29569 * timezone/README: Don't mention modification to tzselect.ksh.
29570 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
29571 work on unmodified tzselect.ksh. Substitute version numbers in
29574 * Makefile (format-me): Remove.
29575 (INSTALL): Adjust indentation. Use commands directly instead of
29576 using $(format-me).
29578 * aclocal.m4 (ACX_PKGVERSION): New macro.
29579 (ACX_BUGURL): Likewise.
29580 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
29581 (PKGVERSION): New AC_DEFINE_UNQUOTED.
29582 (REPORT_BUGS_TO): Likewise.
29583 * configure: Regenerated.
29584 * config.h.in (PKGVERSION): New macro.
29585 (REPORT_BUGS_TO): Likewise.
29586 * config.make.in (PKGVERSION): New variable.
29587 (PKGVERSION_TEXI): Likewise.
29588 (REPORT_BUGS_TO): Likewise.
29589 (REPORT_BUGS_TEXI): Likewise.
29590 * Makefile (format-me): Use -I$(common-objpfx)manual.
29591 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
29592 ($(common-objpfx)manual/%): New target.
29593 (manual/%): Remove target.
29594 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
29595 (print_version): Use PKGVERSION.
29596 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
29597 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
29598 and REPORT_BUGS_TO.
29599 ($(objpfx)xtrace): Likewise.
29600 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
29601 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
29602 (print_version): Use PKGVERSION.
29603 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
29604 (do_version): Use PKGVERSION.
29605 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
29607 (common-ldd-rewrite): Likewise.
29608 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
29609 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
29610 (print_version): Use PKGVERSION.
29611 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
29612 * elf/pldd.c (argp_program_bug_address): Remove variable.
29613 (more_help): New function.
29614 (argp): Use more_help.
29615 (print_version): Use PKGVERSION.
29616 * elf/sln.c (main): Use PKGVERSION.
29617 (usage): Use REPORT_BUGS_TO.
29618 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
29619 (top level): Use PKGVERSION.
29620 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
29621 (print_version): Use PKGVERSION.
29622 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
29623 (print_version): Use PKGVERSION.
29624 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
29625 (print_version): Use PKGVERSION.
29626 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
29627 (print_version): Use PKGVERSION.
29628 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
29629 (print_version): Use PKGVERSION.
29630 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
29631 (print_version): Use PKGVERSION.
29632 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
29634 ($(objpfx)memusage): Likewise.
29635 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
29636 (do_version): Use PKGVERSION.
29637 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
29638 (print_version): Use PKGVERSION.
29639 * malloc/mtrace.pl ($PACKAGE): Remove variable.
29640 ($PKGVERSION): New variable.
29641 ($REPORT_BUGS_TO): Likewise.
29642 (usage): Use $REPORT_BUGS_TO.
29643 (top level): Use $PKGVERSION.
29644 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
29645 ($(objpfx)pkgvers.texi): New rule.
29646 ($(objpfx)stamp-pkgvers): Likewise.
29647 * manual/install.texi: Include pkgvers.texi.
29648 (--with-pkgversion): Document new configure option.
29649 (--with-bugurl): Likewise.
29650 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
29651 than necessarily for this particular distribution. Use
29652 REPORT_BUGS_TO for where to report bugs.
29653 * INSTALL: Regenerated.
29654 * manual/libc.texinfo: Include pkgvers.texi.
29655 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
29656 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
29657 (print_version): Use PKGVERSION.
29658 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
29659 (print_version): Use PKGVERSION.
29660 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
29661 (print_version): Use PKGVERSION.
29662 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
29663 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
29665 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
29666 (print_version): Use PKGVERSION.
29667 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
29668 (print_version): Use PKGVERSION.
29669 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
29672 * timezone/checktab.awk: Update from tzcode 2012i.
29673 * timezone/ialloc.c: Likewise.
29674 * timezone/private.h: Likewise.
29675 * timezone/scheck.c: Likewise.
29676 * timezone/tzfile.h: Likewise.
29677 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
29678 (TZVERSION): Hardcode tzcode version number.
29679 * timezone/zdump.c: Update from tzcode 2012i.
29680 * timezone/zic.c: Likewise.
29681 * timezone/version.h: New file.
29682 * timezone/README: Describe version.h. Update upstream location.
29685 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
29686 (mktemp): Enable declaration.
29687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
29688 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
29689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
29690 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
29692 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
29694 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
29696 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
29698 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
29700 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
29704 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
29705 offset in buffer as u_int32_t not u_long. Consistently use memcpy
29706 for copies of such integer values.
29707 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29708 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29710 2012-11-09 Andreas Jaeger <aj@suse.de>
29712 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
29713 definitions and declarations that are provided by
29714 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29716 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29718 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
29719 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
29720 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
29723 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29725 * elf/elf.h: Update comment before AArch64 relocations.
29727 2012-11-07 David S. Miller <davem@davemloft.net>
29729 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
29730 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
29731 (__start_context): Declare.
29732 (__makecontext_ret): Delete.
29733 (__makecontext): Hook up __start_context instead of
29735 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
29736 (sysdep_routines): Add __start_context when in stdlib.
29738 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29740 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
29741 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
29742 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
29744 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
29745 (READELF): New variable. Use it instead of hardcoded "readelf".
29747 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
29749 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
29750 * sysdeps/x86/Makefile: Here.
29751 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
29752 * sysdeps/x86/tst-xmmymm.sh: This.
29754 2012-11-07 Joseph Myers <joseph@codesourcery.com>
29756 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
29758 [UNIX98] (pthread_barrier_t): Do not expect.
29759 [UNIX98] (pthread_barrierattr_t): Likewise.
29760 [UNIX98] (pthread_spinlock_t): Likewise.
29761 [UNIX98] (pthread_barrier_destroy): Likewise.
29762 [UNIX98] (pthread_barrier_init): Likewise.
29763 [UNIX98] (pthread_barrier_wait): Likewise.
29764 [UNIX98] (pthread_barrierattr_destroy): Likewise.
29765 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
29766 [UNIX98] (pthread_barrierattr_init): Likewise.
29767 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
29768 [UNIX98] (pthread_getcpuclockid): Likewise.
29769 [UNIX98] (pthread_mutex_timedlock): Likewise.
29770 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
29771 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
29772 [UNIX98] (pthread_sigmask): Likewise.
29773 [UNIX98] (pthread_spin_destroy): Likewise.
29774 [UNIX98] (pthread_spin_init): Likewise.
29775 [UNIX98] (pthread_spin_lock): Likewise.
29776 [UNIX98] (pthread_spin_trylock): Likewise.
29777 [UNIX98] (pthread_spin_unlock): Likewise.
29778 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
29780 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
29781 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
29782 [XPG3 || XPG4] (pthread_cond_t): Likewise.
29783 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
29784 [XPG3 || XPG4] (pthread_key_t): Likewise.
29785 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
29786 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
29787 [XPG3 || XPG4] (pthread_once_t): Likewise.
29788 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
29789 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
29790 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
29791 [XPG3 || XPG4] (pthread_t): Likewise.
29793 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
29795 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
29797 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
29798 Change function return type to int.
29800 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
29801 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
29802 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
29803 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
29804 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
29805 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
29806 [!POSIX] (posix_madvise): Likewise.
29807 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
29809 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
29810 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
29811 (mode_t): Likewise.
29812 (posix_mem_offset): Likewise.
29813 (posix_typed_mem_get_info): Likewise.
29814 (posix_typed_mem_open): Likewise.
29816 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
29817 Change condition to [XOPEN2K8].
29819 * conform/conformtest.pl: Preprocess allow-header data with -x c
29820 instead of from stdin.
29821 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
29822 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
29823 [C99-based standards] (cerfc): Likewise.
29824 [C99-based standards] (cexp2): Likewise.
29825 [C99-based standards] (cexpm1): Likewise.
29826 [C99-based standards] (clog10): Likewise.
29827 [C99-based standards] (clog1p): Likewise.
29828 [C99-based standards] (clog2): Likewise.
29829 [C99-based standards] (clgamma): Likewise.
29830 [C99-based standards] (ctgamma): Likewise.
29831 [C99-based standards] (cerff): Likewise.
29832 [C99-based standards] (cerfcf): Likewise.
29833 [C99-based standards] (cexp2f): Likewise.
29834 [C99-based standards] (cexpm1f): Likewise.
29835 [C99-based standards] (clog10f): Likewise.
29836 [C99-based standards] (clog1pf): Likewise.
29837 [C99-based standards] (clog2f): Likewise.
29838 [C99-based standards] (clgammaf): Likewise.
29839 [C99-based standards] (ctgammaf): Likewise.
29840 [C99-based standards] (cerfl): Likewise.
29841 [C99-based standards] (cerfcl): Likewise.
29842 [C99-based standards] (cexp2l): Likewise.
29843 [C99-based standards] (cexpm1l): Likewise.
29844 [C99-based standards] (clog10l): Likewise.
29845 [C99-based standards] (clog1pl): Likewise.
29846 [C99-based standards] (clog2l): Likewise.
29847 [C99-based standards] (clgammal): Likewise.
29848 [C99-based standards] (ctgammal): Likewise.
29849 * conform/data/inttypes.h-data [C99-based standards]: Include
29850 stdint.h-data. Remove all expectations for stdint.h contents.
29851 [C99-based standards] (PRI*): Do not allow.
29852 [C99-based standards] (SCN*): Likewise.
29853 [C99-based standards] (*_t): Likewise.
29854 [C99-based-standards] (PRId8): Expect macro.
29855 [C99-based-standards] (PRIi8): Likewise.
29856 [C99-based-standards] (PRIo8): Likewise.
29857 [C99-based-standards] (PRIu8): Likewise.
29858 [C99-based-standards] (PRIx8): Likewise.
29859 [C99-based-standards] (PRIX8): Likewise.
29860 [C99-based-standards] (SCNd8): Likewise.
29861 [C99-based-standards] (SCNi8): Likewise.
29862 [C99-based-standards] (SCNo8): Likewise.
29863 [C99-based-standards] (SCNu8): Likewise.
29864 [C99-based-standards] (SCNx8): Likewise.
29865 [C99-based-standards] (PRIdLEAST8): Likewise.
29866 [C99-based-standards] (PRIiLEAST8): Likewise.
29867 [C99-based-standards] (PRIoLEAST8): Likewise.
29868 [C99-based-standards] (PRIuLEAST8): Likewise.
29869 [C99-based-standards] (PRIxLEAST8): Likewise.
29870 [C99-based-standards] (PRIXLEAST8): Likewise.
29871 [C99-based-standards] (SCNdLEAST8): Likewise.
29872 [C99-based-standards] (SCNiLEAST8): Likewise.
29873 [C99-based-standards] (SCNoLEAST8): Likewise.
29874 [C99-based-standards] (SCNuLEAST8): Likewise.
29875 [C99-based-standards] (SCNxLEAST8): Likewise.
29876 [C99-based-standards] (PRIdFAST8): Likewise.
29877 [C99-based-standards] (PRIiFAST8): Likewise.
29878 [C99-based-standards] (PRIoFAST8): Likewise.
29879 [C99-based-standards] (PRIuFAST8): Likewise.
29880 [C99-based-standards] (PRIxFAST8): Likewise.
29881 [C99-based-standards] (PRIXFAST8): Likewise.
29882 [C99-based-standards] (SCNdFAST8): Likewise.
29883 [C99-based-standards] (SCNiFAST8): Likewise.
29884 [C99-based-standards] (SCNoFAST8): Likewise.
29885 [C99-based-standards] (SCNuFAST8): Likewise.
29886 [C99-based-standards] (SCNxFAST8): Likewise.
29887 [C99-based-standards] (PRId16): Likewise.
29888 [C99-based-standards] (PRIi16): Likewise.
29889 [C99-based-standards] (PRIo16): Likewise.
29890 [C99-based-standards] (PRIu16): Likewise.
29891 [C99-based-standards] (PRIx16): Likewise.
29892 [C99-based-standards] (PRIX16): Likewise.
29893 [C99-based-standards] (SCNd16): Likewise.
29894 [C99-based-standards] (SCNi16): Likewise.
29895 [C99-based-standards] (SCNo16): Likewise.
29896 [C99-based-standards] (SCNu16): Likewise.
29897 [C99-based-standards] (SCNx16): Likewise.
29898 [C99-based-standards] (PRIdLEAST16): Likewise.
29899 [C99-based-standards] (PRIiLEAST16): Likewise.
29900 [C99-based-standards] (PRIoLEAST16): Likewise.
29901 [C99-based-standards] (PRIuLEAST16): Likewise.
29902 [C99-based-standards] (PRIxLEAST16): Likewise.
29903 [C99-based-standards] (PRIXLEAST16): Likewise.
29904 [C99-based-standards] (SCNdLEAST16): Likewise.
29905 [C99-based-standards] (SCNiLEAST16): Likewise.
29906 [C99-based-standards] (SCNoLEAST16): Likewise.
29907 [C99-based-standards] (SCNuLEAST16): Likewise.
29908 [C99-based-standards] (SCNxLEAST16): Likewise.
29909 [C99-based-standards] (PRIdFAST16): Likewise.
29910 [C99-based-standards] (PRIiFAST16): Likewise.
29911 [C99-based-standards] (PRIoFAST16): Likewise.
29912 [C99-based-standards] (PRIuFAST16): Likewise.
29913 [C99-based-standards] (PRIxFAST16): Likewise.
29914 [C99-based-standards] (PRIXFAST16): Likewise.
29915 [C99-based-standards] (SCNdFAST16): Likewise.
29916 [C99-based-standards] (SCNiFAST16): Likewise.
29917 [C99-based-standards] (SCNoFAST16): Likewise.
29918 [C99-based-standards] (SCNuFAST16): Likewise.
29919 [C99-based-standards] (SCNxFAST16): Likewise.
29920 [C99-based-standards] (PRId32): Likewise.
29921 [C99-based-standards] (PRIi32): Likewise.
29922 [C99-based-standards] (PRIo32): Likewise.
29923 [C99-based-standards] (PRIu32): Likewise.
29924 [C99-based-standards] (PRIx32): Likewise.
29925 [C99-based-standards] (PRIX32): Likewise.
29926 [C99-based-standards] (SCNd32): Likewise.
29927 [C99-based-standards] (SCNi32): Likewise.
29928 [C99-based-standards] (SCNo32): Likewise.
29929 [C99-based-standards] (SCNu32): Likewise.
29930 [C99-based-standards] (SCNx32): Likewise.
29931 [C99-based-standards] (PRIdLEAST32): Likewise.
29932 [C99-based-standards] (PRIiLEAST32): Likewise.
29933 [C99-based-standards] (PRIoLEAST32): Likewise.
29934 [C99-based-standards] (PRIuLEAST32): Likewise.
29935 [C99-based-standards] (PRIxLEAST32): Likewise.
29936 [C99-based-standards] (PRIXLEAST32): Likewise.
29937 [C99-based-standards] (SCNdLEAST32): Likewise.
29938 [C99-based-standards] (SCNiLEAST32): Likewise.
29939 [C99-based-standards] (SCNoLEAST32): Likewise.
29940 [C99-based-standards] (SCNuLEAST32): Likewise.
29941 [C99-based-standards] (SCNxLEAST32): Likewise.
29942 [C99-based-standards] (PRIdFAST32): Likewise.
29943 [C99-based-standards] (PRIiFAST32): Likewise.
29944 [C99-based-standards] (PRIoFAST32): Likewise.
29945 [C99-based-standards] (PRIuFAST32): Likewise.
29946 [C99-based-standards] (PRIxFAST32): Likewise.
29947 [C99-based-standards] (PRIXFAST32): Likewise.
29948 [C99-based-standards] (SCNdFAST32): Likewise.
29949 [C99-based-standards] (SCNiFAST32): Likewise.
29950 [C99-based-standards] (SCNoFAST32): Likewise.
29951 [C99-based-standards] (SCNuFAST32): Likewise.
29952 [C99-based-standards] (SCNxFAST32): Likewise.
29953 [C99-based-standards] (PRId64): Likewise.
29954 [C99-based-standards] (PRIi64): Likewise.
29955 [C99-based-standards] (PRIo64): Likewise.
29956 [C99-based-standards] (PRIu64): Likewise.
29957 [C99-based-standards] (PRIx64): Likewise.
29958 [C99-based-standards] (PRIX64): Likewise.
29959 [C99-based-standards] (SCNd64): Likewise.
29960 [C99-based-standards] (SCNi64): Likewise.
29961 [C99-based-standards] (SCNo64): Likewise.
29962 [C99-based-standards] (SCNu64): Likewise.
29963 [C99-based-standards] (SCNx64): Likewise.
29964 [C99-based-standards] (PRIdLEAST64): Likewise.
29965 [C99-based-standards] (PRIiLEAST64): Likewise.
29966 [C99-based-standards] (PRIoLEAST64): Likewise.
29967 [C99-based-standards] (PRIuLEAST64): Likewise.
29968 [C99-based-standards] (PRIxLEAST64): Likewise.
29969 [C99-based-standards] (PRIXLEAST64): Likewise.
29970 [C99-based-standards] (SCNdLEAST64): Likewise.
29971 [C99-based-standards] (SCNiLEAST64): Likewise.
29972 [C99-based-standards] (SCNoLEAST64): Likewise.
29973 [C99-based-standards] (SCNuLEAST64): Likewise.
29974 [C99-based-standards] (SCNxLEAST64): Likewise.
29975 [C99-based-standards] (PRIdFAST64): Likewise.
29976 [C99-based-standards] (PRIiFAST64): Likewise.
29977 [C99-based-standards] (PRIoFAST64): Likewise.
29978 [C99-based-standards] (PRIuFAST64): Likewise.
29979 [C99-based-standards] (PRIxFAST64): Likewise.
29980 [C99-based-standards] (PRIXFAST64): Likewise.
29981 [C99-based-standards] (SCNdFAST64): Likewise.
29982 [C99-based-standards] (SCNiFAST64): Likewise.
29983 [C99-based-standards] (SCNoFAST64): Likewise.
29984 [C99-based-standards] (SCNuFAST64): Likewise.
29985 [C99-based-standards] (SCNxFAST64): Likewise.
29986 [C99-based-standards] (PRIdMAX): Likewise.
29987 [C99-based-standards] (PRIiMAX): Likewise.
29988 [C99-based-standards] (PRIoMAX): Likewise.
29989 [C99-based-standards] (PRIuMAX): Likewise.
29990 [C99-based-standards] (PRIxMAX): Likewise.
29991 [C99-based-standards] (PRIXMAX): Likewise.
29992 [C99-based-standards] (SCNdMAX): Likewise.
29993 [C99-based-standards] (SCNiMAX): Likewise.
29994 [C99-based-standards] (SCNoMAX): Likewise.
29995 [C99-based-standards] (SCNuMAX): Likewise.
29996 [C99-based-standards] (SCNxMAX): Likewise.
29997 [C99-based-standards] (PRIdPTR): Likewise.
29998 [C99-based-standards] (PRIiPTR): Likewise.
29999 [C99-based-standards] (PRIoPTR): Likewise.
30000 [C99-based-standards] (PRIuPTR): Likewise.
30001 [C99-based-standards] (PRIxPTR): Likewise.
30002 [C99-based-standards] (PRIXPTR): Likewise.
30003 [C99-based-standards] (SCNdPTR): Likewise.
30004 [C99-based-standards] (SCNiPTR): Likewise.
30005 [C99-based-standards] (SCNoPTR): Likewise.
30006 [C99-based-standards] (SCNuPTR): Likewise.
30007 [C99-based-standards] (SCNxPTR): Likewise.
30008 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30010 * conform/data/stdint.h-data: Update comments to clarify
30012 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30014 [C99-based standards] (INT8_MAX): Likewise.
30015 [C99-based standards] (INT16_MIN): Likewise.
30016 [C99-based standards] (INT16_MAX): Likewise.
30017 [C99-based standards] (INT32_MIN): Likewise.
30018 [C99-based standards] (INT32_MAX): Likewise.
30019 [C99-based standards] (INT64_MIN): Likewise.
30020 [C99-based standards] (INT64_MAX): Likewise.
30021 [C99-based standards] (UINT8_MAX): Likewise.
30022 [C99-based standards] (UINT16_MAX): Likewise.
30023 [C99-based standards] (UINT32_MAX): Likewise.
30024 [C99-based standards] (UINT64_MAX): Likewise.
30025 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30026 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30027 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30028 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30029 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30030 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30031 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30032 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30033 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30034 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30035 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30036 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30037 [C99-based standards] (INT_FAST8_MIN): Likewise.
30038 [C99-based standards] (INT_FAST8_MAX): Likewise.
30039 [C99-based standards] (INT_FAST16_MIN): Likewise.
30040 [C99-based standards] (INT_FAST16_MAX): Likewise.
30041 [C99-based standards] (INT_FAST32_MIN): Likewise.
30042 [C99-based standards] (INT_FAST32_MAX): Likewise.
30043 [C99-based standards] (INT_FAST64_MIN): Likewise.
30044 [C99-based standards] (INT_FAST64_MAX): Likewise.
30045 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30046 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30047 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30048 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30049 [C99-based standards] (INTPTR_MIN): Likewise.
30050 [C99-based standards] (INTPTR_MAX): Likewise.
30051 [C99-based standards] (UINTPTR_MAX): Likewise.
30052 [C99-based standards] (INTMAX_MIN): Likewise.
30053 [C99-based standards] (INTMAX_MAX): Likewise.
30054 [C99-based standards] (UINTMAX_MAX): Likewise.
30055 [C99-based standards] (PTRDIFF_MIN): Likewise.
30056 [C99-based standards] (PTRDIFF_MAX): Likewise.
30057 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30058 [C99-based standards] (SIZE_MAX): Likewise.
30059 [C99-based standards] (WCHAR_MAX): Likewise.
30060 [C99-based standards] (WINT_MAX): Likewise.
30061 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30062 constraint on value.
30063 [C99-based standards] (WCHAR_MIN): Likewise.
30064 [C99-based standards] (WINT_MIN): Likewise.
30065 [C99-based standards] (*_t): Allow.
30066 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30067 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30068 Include math.h-data and complex.h-data. Remove all expectations
30069 of math.h and complex.h contents.
30070 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30072 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30073 (struct tm): Expect tag.
30074 [C99-based-standards] (wcstof): Expect function.
30075 [C99-based-standards] (wcstold): Likewise.
30076 [C99-based-standards] (wcstoll): Likewise.
30077 [C99-based-standards] (wcstoull): Likewise.
30078 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30079 macro-int-constant. Specify type.
30080 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30081 constraint on value.
30082 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30084 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30086 [ISO C standards]: Do not allow headers.
30087 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30088 wcs[abcdefghijklmnopqrstuvwxyz]*.
30089 [ISO C standards] (*_t): Do not allow.
30090 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30092 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30093 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30095 [ISO C standards]: Do not allow headers.
30096 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30097 is[abcdefghijklmnopqrstuvwxyz]*.
30098 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30099 to[abcdefghijklmnopqrstuvwxyz]*.
30100 [ISO C standards] (*_t): Do not allow.
30101 * conform/data/stdalign.h-data: New file.
30102 * conform/data/stdbool.h-data: Likewise.
30103 * conform/data/stdnoreturn.h-data: Likewise.
30105 2012-11-07 Roland McGrath <roland@hack.frob.com>
30108 * manual/filesys.texi (Directory Entries): Typo fix.
30109 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30111 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30113 * elf/elf.h (EM_AARCH64): New macro.
30114 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30115 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30116 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30117 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30118 (R_AARCH64_TLSDESC): Likewise.
30119 (NT_ARM_TLS): Likewise.
30120 (NT_ARM_HW_BREAK): Likewise.
30121 (NT_ARM_HW_WATCH): Likewise.
30123 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30126 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30127 (__ieee754_powl): Saturate nonzero exponents with absolute value
30128 below 0x1p-79 to +/- 0x1p-79.
30129 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30130 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30131 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30132 nonzero exponents with absolute value below 0x1p-32 to +/-
30134 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30135 (__ieee754_powl): Saturate nonzero exponents with absolute value
30136 below 0x1p-79 to +/- 0x1p-79.
30137 * math/libm-test.inc (pow_test): Add more tests.
30139 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30141 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30142 _dl_s390_cap_flags with kernel. Increase string length.
30143 (_dl_s390_platforms): Add z196 and zEC12.
30145 2012-11-07 Joseph Myers <joseph@codesourcery.com>
30147 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30148 Change XOPEN21K to XOPEN2K.
30150 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30152 * string/memmove.c: Use memcpy when possible.
30154 2012-11-06 Andreas Jaeger <aj@suse.de>
30156 * po/eo.po: Update from translation team.
30158 2012-11-06 Joseph Myers <joseph@codesourcery.com>
30161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30162 exponent and small x and y exponents, scale x or y up. Increase
30163 by 2 the exponent used in scaling up.
30164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30166 * math/libm-test.inc (fma_test): Add more tests.
30167 (fma_test_towardzero): Likewise.
30168 (fma_test_downward): Likewise.
30169 (fma_test_upward): Likewise.
30171 2012-11-05 Joseph Myers <joseph@codesourcery.com>
30174 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30178 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30179 namespace for names of struct fields.
30180 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30182 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30183 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30185 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30188 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30190 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30192 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30196 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30199 2012-11-04 Joseph Myers <joseph@codesourcery.com>
30202 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30203 definitely overflow as x * y not x * y + z.
30204 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30205 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30206 * math/libm-test.inc (fma_test): Add more tests.
30207 (fma_test_towardzero): Likewise.
30208 (fma_test_downward): Likewise.
30209 (fma_test_upward): Likewise.
30211 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30215 * include/stub-tag.h: Remove file.
30216 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30218 * manual/maint.texi (Porting): Don't reference it.
30219 * Makerules ($(objpfx)stubs): Likewise.
30220 * dirent/closedir.c: Don't include <stub-tag.h>.
30221 * dirent/dirfd.c: Likewise.
30222 * dirent/fdopendir.c: Likewise.
30223 * dirent/getdents.c: Likewise.
30224 * dirent/getdents64.c: Likewise.
30225 * dirent/opendir.c: Likewise.
30226 * dirent/readdir.c: Likewise.
30227 * dirent/readdir64.c: Likewise.
30228 * dirent/readdir64_r.c: Likewise.
30229 * dirent/readdir_r.c: Likewise.
30230 * dirent/rewinddir.c: Likewise.
30231 * dirent/seekdir.c: Likewise.
30232 * dirent/telldir.c: Likewise.
30233 * gmon/profil.c: Likewise.
30234 * grp/setgroups.c: Likewise.
30235 * inet/if_index.c: Likewise.
30236 * io/access.c: Likewise.
30237 * io/chdir.c: Likewise.
30238 * io/chmod.c: Likewise.
30239 * io/chown.c: Likewise.
30240 * io/close.c: Likewise.
30241 * io/dup.c: Likewise.
30242 * io/dup2.c: Likewise.
30243 * io/dup3.c: Likewise.
30244 * io/euidaccess.c: Likewise.
30245 * io/faccessat.c: Likewise.
30246 * io/fchdir.c: Likewise.
30247 * io/fchmod.c: Likewise.
30248 * io/fchmodat.c: Likewise.
30249 * io/fchown.c: Likewise.
30250 * io/fchownat.c: Likewise.
30251 * io/fcntl.c: Likewise.
30252 * io/flock.c: Likewise.
30253 * io/fstatfs.c: Likewise.
30254 * io/fstatfs64.c: Likewise.
30255 * io/fstatvfs.c: Likewise.
30256 * io/fstatvfs64.c: Likewise.
30257 * io/futimens.c: Likewise.
30258 * io/fxstat.c: Likewise.
30259 * io/fxstat64.c: Likewise.
30260 * io/fxstatat.c: Likewise.
30261 * io/fxstatat64.c: Likewise.
30262 * io/getcwd.c: Likewise.
30263 * io/isatty.c: Likewise.
30264 * io/lchmod.c: Likewise.
30265 * io/lchown.c: Likewise.
30266 * io/link.c: Likewise.
30267 * io/linkat.c: Likewise.
30268 * io/lseek.c: Likewise.
30269 * io/lseek64.c: Likewise.
30270 * io/lxstat64.c: Likewise.
30271 * io/mkdir.c: Likewise.
30272 * io/mkdirat.c: Likewise.
30273 * io/mkfifo.c: Likewise.
30274 * io/mkfifoat.c: Likewise.
30275 * io/open.c: Likewise.
30276 * io/open64.c: Likewise.
30277 * io/openat.c: Likewise.
30278 * io/openat64.c: Likewise.
30279 * io/pipe.c: Likewise.
30280 * io/pipe2.c: Likewise.
30281 * io/poll.c: Likewise.
30282 * io/posix_fadvise.c: Likewise.
30283 * io/posix_fadvise64.c: Likewise.
30284 * io/posix_fallocate.c: Likewise.
30285 * io/posix_fallocate64.c: Likewise.
30286 * io/read.c: Likewise.
30287 * io/readlink.c: Likewise.
30288 * io/readlinkat.c: Likewise.
30289 * io/rmdir.c: Likewise.
30290 * io/sendfile.c: Likewise.
30291 * io/sendfile64.c: Likewise.
30292 * io/statfs.c: Likewise.
30293 * io/statfs64.c: Likewise.
30294 * io/statvfs.c: Likewise.
30295 * io/statvfs64.c: Likewise.
30296 * io/symlink.c: Likewise.
30297 * io/symlinkat.c: Likewise.
30298 * io/ttyname.c: Likewise.
30299 * io/ttyname_r.c: Likewise.
30300 * io/umask.c: Likewise.
30301 * io/unlink.c: Likewise.
30302 * io/unlinkat.c: Likewise.
30303 * io/utime.c: Likewise.
30304 * io/utimensat.c: Likewise.
30305 * io/write.c: Likewise.
30306 * io/xmknod.c: Likewise.
30307 * io/xmknodat.c: Likewise.
30308 * io/xstat.c: Likewise.
30309 * io/xstat64.c: Likewise.
30310 * login/getpt.c: Likewise.
30311 * login/grantpt.c: Likewise.
30312 * login/unlockpt.c: Likewise.
30313 * math/e_acoshl.c: Likewise.
30314 * math/e_acosl.c: Likewise.
30315 * math/e_asinl.c: Likewise.
30316 * math/e_atan2l.c: Likewise.
30317 * math/e_atanhl.c: Likewise.
30318 * math/e_coshl.c: Likewise.
30319 * math/e_expl.c: Likewise.
30320 * math/e_fmodl.c: Likewise.
30321 * math/e_gammal_r.c: Likewise.
30322 * math/e_hypotl.c: Likewise.
30323 * math/e_j0l.c: Likewise.
30324 * math/e_j1l.c: Likewise.
30325 * math/e_jnl.c: Likewise.
30326 * math/e_lgammal_r.c: Likewise.
30327 * math/e_log10l.c: Likewise.
30328 * math/e_log2l.c: Likewise.
30329 * math/e_logl.c: Likewise.
30330 * math/e_powl.c: Likewise.
30331 * math/e_rem_pio2l.c: Likewise.
30332 * math/e_sinhl.c: Likewise.
30333 * math/e_sqrtl.c: Likewise.
30334 * math/fclrexcpt.c: Likewise.
30335 * math/fedisblxcpt.c: Likewise.
30336 * math/feenablxcpt.c: Likewise.
30337 * math/fegetenv.c: Likewise.
30338 * math/fegetexcept.c: Likewise.
30339 * math/fegetround.c: Likewise.
30340 * math/feholdexcpt.c: Likewise.
30341 * math/fesetenv.c: Likewise.
30342 * math/fesetround.c: Likewise.
30343 * math/feupdateenv.c: Likewise.
30344 * math/fgetexcptflg.c: Likewise.
30345 * math/fraiseexcpt.c: Likewise.
30346 * math/fsetexcptflg.c: Likewise.
30347 * math/ftestexcept.c: Likewise.
30348 * math/k_cosl.c: Likewise.
30349 * math/k_rem_pio2l.c: Likewise.
30350 * math/k_sinl.c: Likewise.
30351 * math/k_tanl.c: Likewise.
30352 * math/s_asinhl.c: Likewise.
30353 * math/s_atanl.c: Likewise.
30354 * math/s_cbrtl.c: Likewise.
30355 * math/s_erfl.c: Likewise.
30356 * math/s_expm1l.c: Likewise.
30357 * math/s_log1pl.c: Likewise.
30358 * math/s_tanhl.c: Likewise.
30359 * misc/acct.c: Likewise.
30360 * misc/brk.c: Likewise.
30361 * misc/chflags.c: Likewise.
30362 * misc/chroot.c: Likewise.
30363 * misc/fchflags.c: Likewise.
30364 * misc/fgetxattr.c: Likewise.
30365 * misc/flistxattr.c: Likewise.
30366 * misc/fremovexattr.c: Likewise.
30367 * misc/fsetxattr.c: Likewise.
30368 * misc/fsync.c: Likewise.
30369 * misc/ftruncate.c: Likewise.
30370 * misc/futimes.c: Likewise.
30371 * misc/futimesat.c: Likewise.
30372 * misc/getdomain.c: Likewise.
30373 * misc/getdtsz.c: Likewise.
30374 * misc/gethostid.c: Likewise.
30375 * misc/gethostname.c: Likewise.
30376 * misc/getloadavg.c: Likewise.
30377 * misc/getpagesize.c: Likewise.
30378 * misc/getsysstats.c: Likewise.
30379 * misc/getxattr.c: Likewise.
30380 * misc/gtty.c: Likewise.
30381 * misc/ioctl.c: Likewise.
30382 * misc/lgetxattr.c: Likewise.
30383 * misc/listxattr.c: Likewise.
30384 * misc/llistxattr.c: Likewise.
30385 * misc/lremovexattr.c: Likewise.
30386 * misc/lsetxattr.c: Likewise.
30387 * misc/lutimes.c: Likewise.
30388 * misc/madvise.c: Likewise.
30389 * misc/mincore.c: Likewise.
30390 * misc/mlock.c: Likewise.
30391 * misc/mlockall.c: Likewise.
30392 * misc/mmap.c: Likewise.
30393 * misc/mprotect.c: Likewise.
30394 * misc/msync.c: Likewise.
30395 * misc/munlock.c: Likewise.
30396 * misc/munlockall.c: Likewise.
30397 * misc/munmap.c: Likewise.
30398 * misc/preadv.c: Likewise.
30399 * misc/preadv64.c: Likewise.
30400 * misc/ptrace.c: Likewise.
30401 * misc/pwritev.c: Likewise.
30402 * misc/pwritev64.c: Likewise.
30403 * misc/readv.c: Likewise.
30404 * misc/reboot.c: Likewise.
30405 * misc/remap_file_pages.c: Likewise.
30406 * misc/removexattr.c: Likewise.
30407 * misc/revoke.c: Likewise.
30408 * misc/select.c: Likewise.
30409 * misc/setdomain.c: Likewise.
30410 * misc/setegid.c: Likewise.
30411 * misc/seteuid.c: Likewise.
30412 * misc/sethostid.c: Likewise.
30413 * misc/sethostname.c: Likewise.
30414 * misc/setregid.c: Likewise.
30415 * misc/setreuid.c: Likewise.
30416 * misc/setxattr.c: Likewise.
30417 * misc/sstk.c: Likewise.
30418 * misc/stty.c: Likewise.
30419 * misc/swapoff.c: Likewise.
30420 * misc/swapon.c: Likewise.
30421 * misc/sync.c: Likewise.
30422 * misc/syncfs.c: Likewise.
30423 * misc/syscall.c: Likewise.
30424 * misc/truncate.c: Likewise.
30425 * misc/ualarm.c: Likewise.
30426 * misc/usleep.c: Likewise.
30427 * misc/ustat.c: Likewise.
30428 * misc/utimes.c: Likewise.
30429 * misc/vhangup.c: Likewise.
30430 * misc/writev.c: Likewise.
30431 * posix/_exit.c: Likewise.
30432 * posix/alarm.c: Likewise.
30433 * posix/execve.c: Likewise.
30434 * posix/fexecve.c: Likewise.
30435 * posix/fork.c: Likewise.
30436 * posix/fpathconf.c: Likewise.
30437 * posix/getaddrinfo.c: Likewise.
30438 * posix/getegid.c: Likewise.
30439 * posix/geteuid.c: Likewise.
30440 * posix/getgid.c: Likewise.
30441 * posix/getgroups.c: Likewise.
30442 * posix/getlogin.c: Likewise.
30443 * posix/getlogin_r.c: Likewise.
30444 * posix/getpgid.c: Likewise.
30445 * posix/getpid.c: Likewise.
30446 * posix/getppid.c: Likewise.
30447 * posix/getresgid.c: Likewise.
30448 * posix/getresuid.c: Likewise.
30449 * posix/getsid.c: Likewise.
30450 * posix/getuid.c: Likewise.
30451 * posix/glob64.c: Likewise.
30452 * posix/nanosleep.c: Likewise.
30453 * posix/pathconf.c: Likewise.
30454 * posix/pause.c: Likewise.
30455 * posix/posix_madvise.c: Likewise.
30456 * posix/pread.c: Likewise.
30457 * posix/pread64.c: Likewise.
30458 * posix/pwrite.c: Likewise.
30459 * posix/pwrite64.c: Likewise.
30460 * posix/sched_getaffinity.c: Likewise.
30461 * posix/sched_getp.c: Likewise.
30462 * posix/sched_gets.c: Likewise.
30463 * posix/sched_primax.c: Likewise.
30464 * posix/sched_primin.c: Likewise.
30465 * posix/sched_rr_gi.c: Likewise.
30466 * posix/sched_setaffinity.c: Likewise.
30467 * posix/sched_setp.c: Likewise.
30468 * posix/sched_sets.c: Likewise.
30469 * posix/sched_yield.c: Likewise.
30470 * posix/setgid.c: Likewise.
30471 * posix/setlogin.c: Likewise.
30472 * posix/setpgid.c: Likewise.
30473 * posix/setresgid.c: Likewise.
30474 * posix/setresuid.c: Likewise.
30475 * posix/setsid.c: Likewise.
30476 * posix/setuid.c: Likewise.
30477 * posix/sleep.c: Likewise.
30478 * posix/spawni.c: Likewise.
30479 * posix/sysconf.c: Likewise.
30480 * posix/times.c: Likewise.
30481 * posix/wait.c: Likewise.
30482 * posix/wait3.c: Likewise.
30483 * posix/wait4.c: Likewise.
30484 * posix/waitpid.c: Likewise.
30485 * resolv/gai_sigqueue.c: Likewise.
30486 * resource/getpriority.c: Likewise.
30487 * resource/getrlimit.c: Likewise.
30488 * resource/getrusage.c: Likewise.
30489 * resource/nice.c: Likewise.
30490 * resource/setpriority.c: Likewise.
30491 * resource/setrlimit.c: Likewise.
30492 * resource/ulimit.c: Likewise.
30493 * rt/aio_cancel.c: Likewise.
30494 * rt/aio_fsync.c: Likewise.
30495 * rt/aio_read.c: Likewise.
30496 * rt/aio_sigqueue.c: Likewise.
30497 * rt/aio_suspend.c: Likewise.
30498 * rt/aio_write.c: Likewise.
30499 * rt/clock_getres.c: Likewise.
30500 * rt/clock_gettime.c: Likewise.
30501 * rt/clock_nanosleep.c: Likewise.
30502 * rt/clock_settime.c: Likewise.
30503 * rt/lio_listio.c: Likewise.
30504 * rt/mq_close.c: Likewise.
30505 * rt/mq_getattr.c: Likewise.
30506 * rt/mq_notify.c: Likewise.
30507 * rt/mq_open.c: Likewise.
30508 * rt/mq_receive.c: Likewise.
30509 * rt/mq_send.c: Likewise.
30510 * rt/mq_setattr.c: Likewise.
30511 * rt/mq_timedreceive.c: Likewise.
30512 * rt/mq_timedsend.c: Likewise.
30513 * rt/mq_unlink.c: Likewise.
30514 * rt/shm_open.c: Likewise.
30515 * rt/shm_unlink.c: Likewise.
30516 * rt/timer_create.c: Likewise.
30517 * rt/timer_delete.c: Likewise.
30518 * rt/timer_getoverr.c: Likewise.
30519 * rt/timer_gettime.c: Likewise.
30520 * rt/timer_settime.c: Likewise.
30521 * setjmp/__longjmp.c: Likewise.
30522 * setjmp/setjmp.c: Likewise.
30523 * signal/kill.c: Likewise.
30524 * signal/killpg.c: Likewise.
30525 * signal/raise.c: Likewise.
30526 * signal/sigaction.c: Likewise.
30527 * signal/sigaltstack.c: Likewise.
30528 * signal/sigblock.c: Likewise.
30529 * signal/sigignore.c: Likewise.
30530 * signal/sigintr.c: Likewise.
30531 * signal/signal.c: Likewise.
30532 * signal/sigpause.c: Likewise.
30533 * signal/sigpending.c: Likewise.
30534 * signal/sigqueue.c: Likewise.
30535 * signal/sigreturn.c: Likewise.
30536 * signal/sigset.c: Likewise.
30537 * signal/sigsetmask.c: Likewise.
30538 * signal/sigstack.c: Likewise.
30539 * signal/sigsuspend.c: Likewise.
30540 * signal/sigtimedwait.c: Likewise.
30541 * signal/sigvec.c: Likewise.
30542 * signal/sigwait.c: Likewise.
30543 * signal/sigwaitinfo.c: Likewise.
30544 * signal/sysv_signal.c: Likewise.
30545 * socket/accept.c: Likewise.
30546 * socket/accept4.c: Likewise.
30547 * socket/bind.c: Likewise.
30548 * socket/connect.c: Likewise.
30549 * socket/getpeername.c: Likewise.
30550 * socket/getsockname.c: Likewise.
30551 * socket/getsockopt.c: Likewise.
30552 * socket/isfdtype.c: Likewise.
30553 * socket/listen.c: Likewise.
30554 * socket/recv.c: Likewise.
30555 * socket/recvfrom.c: Likewise.
30556 * socket/recvmsg.c: Likewise.
30557 * socket/send.c: Likewise.
30558 * socket/sendmsg.c: Likewise.
30559 * socket/sendto.c: Likewise.
30560 * socket/setsockopt.c: Likewise.
30561 * socket/shutdown.c: Likewise.
30562 * socket/sockatmark.c: Likewise.
30563 * socket/socket.c: Likewise.
30564 * socket/socketpair.c: Likewise.
30565 * stdio-common/ctermid.c: Likewise.
30566 * stdio-common/cuserid.c: Likewise.
30567 * stdio-common/remove.c: Likewise.
30568 * stdio-common/rename.c: Likewise.
30569 * stdio-common/renameat.c: Likewise.
30570 * stdio-common/tempname.c: Likewise.
30571 * stdlib/getcontext.c: Likewise.
30572 * stdlib/makecontext.c: Likewise.
30573 * stdlib/setcontext.c: Likewise.
30574 * stdlib/swapcontext.c: Likewise.
30575 * stdlib/system.c: Likewise.
30576 * streams/fattach.c: Likewise.
30577 * streams/fdetach.c: Likewise.
30578 * streams/getmsg.c: Likewise.
30579 * streams/getpmsg.c: Likewise.
30580 * streams/putmsg.c: Likewise.
30581 * streams/putpmsg.c: Likewise.
30582 * sysdeps/unix/bsd/getpt.c: Likewise.
30583 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
30584 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
30585 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30588 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
30589 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30590 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
30591 * sysvipc/msgctl.c: Likewise.
30592 * sysvipc/msgget.c: Likewise.
30593 * sysvipc/msgrcv.c: Likewise.
30594 * sysvipc/msgsnd.c: Likewise.
30595 * sysvipc/semctl.c: Likewise.
30596 * sysvipc/semget.c: Likewise.
30597 * sysvipc/semop.c: Likewise.
30598 * sysvipc/semtimedop.c: Likewise.
30599 * sysvipc/shmat.c: Likewise.
30600 * sysvipc/shmctl.c: Likewise.
30601 * sysvipc/shmdt.c: Likewise.
30602 * sysvipc/shmget.c: Likewise.
30603 * termios/tcdrain.c: Likewise.
30604 * termios/tcflow.c: Likewise.
30605 * termios/tcflush.c: Likewise.
30606 * termios/tcgetattr.c: Likewise.
30607 * termios/tcgetpgrp.c: Likewise.
30608 * termios/tcsendbrk.c: Likewise.
30609 * termios/tcsetattr.c: Likewise.
30610 * termios/tcsetpgrp.c: Likewise.
30611 * time/adjtime.c: Likewise.
30612 * time/clock.c: Likewise.
30613 * time/getitimer.c: Likewise.
30614 * time/gettimeofday.c: Likewise.
30615 * time/setitimer.c: Likewise.
30616 * time/settimeofday.c: Likewise.
30617 * time/stime.c: Likewise.
30618 * time/time.c: Likewise.
30620 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
30622 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
30625 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
30627 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
30629 2012-11-03 Joseph Myers <joseph@codesourcery.com>
30632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
30633 FE_TONEAREST before applying Dekker multiplication and Knuth
30634 addition. Clear inexact exceptions and check for exact zero
30635 results afterwards.
30636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30639 * math/libm-test.inc (fma_test): Add more tests.
30640 (fma_test_towardzero): Likewise.
30641 (fma_test_downward): Likewise.
30642 (fma_test_upward): Likewise.
30643 * sysdeps/generic/math_private.h (default_libc_fesetround): New
30645 (libc_fesetround): New macro.
30646 (libc_fesetroundf): Likewise.
30647 (libc_fesetroundl): Likewise.
30648 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
30650 (libc_fesetround_387): Likewise.
30651 (libc_fesetroundf): New macro.
30652 (libc_fesetround): Likewise.
30653 (libc_fesetroundl): Likewise.
30654 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
30656 (libc_fesetroundf): New macro.
30657 (libc_fesetround): Likewise.
30658 (libc_fesetroundl): Likewise.
30659 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
30660 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
30661 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
30663 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
30664 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
30666 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
30667 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
30669 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
30673 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
30674 integer constant usable in #if and use that to give value to enum
30676 (FE_DIVBYZERO): Likewise.
30677 (FE_UNDERFLOW): Likewise.
30678 (FE_OVERFLOW): Likewise.
30679 (FE_INVALID): Likewise.
30680 (FE_INVALID_SNAN): Likewise.
30681 (FE_INVALID_ISI): Likewise.
30682 (FE_INVALID_IDI): Likewise.
30683 (FE_INVALID_ZDZ): Likewise.
30684 (FE_INVALID_IMZ): Likewise.
30685 (FE_INVALID_COMPARE): Likewise.
30686 (FE_INVALID_SOFTWARE): Likewise.
30687 (FE_INVALID_SQRT): Likewise.
30688 (FE_INVALID_INTEGER_CONVERSION): Likewise.
30689 (FE_TONEAREST): Likewise.
30690 (FE_TOWARDZERO): Likewise.
30691 (FE_UPWARD): Likewise.
30692 (FE_DOWNWARD): Likewise.
30693 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
30694 (FE_DIVBYZERO): Likewise.
30695 (FE_OVERFLOW): Likewise.
30696 (FE_UNDERFLOW): Likewise.
30697 (FE_INEXACT): Likewise.
30698 (FE_TONEAREST): Likewise.
30699 (FE_DOWNWARD): Likewise.
30700 (FE_UPWARD): Likewise.
30701 (FE_TOWARDZERO): Likewise.
30702 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
30703 (FE_UNDERFLOW): Likewise.
30704 (FE_OVERFLOW): Likewise.
30705 (FE_DIVBYZERO): Likewise.
30706 (FE_INVALID): Likewise.
30707 (FE_TONEAREST): Likewise.
30708 (FE_TOWARDZERO): Likewise.
30709 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
30710 (FE_OVERFLOW): Likewise.
30711 (FE_UNDERFLOW): Likewise.
30712 (FE_DIVBYZERO): Likewise.
30713 (FE_INEXACT): Likewise.
30714 (FE_TONEAREST): Likewise.
30715 (FE_TOWARDZERO): Likewise.
30716 (FE_UPWARD): Likewise.
30717 (FE_DOWNWARD): Likewise.
30718 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
30719 (FE_DIVBYZERO): Likewise.
30720 (FE_OVERFLOW): Likewise.
30721 (FE_UNDERFLOW): Likewise.
30722 (FE_INEXACT): Likewise.
30723 (FE_TONEAREST): Likewise.
30724 (FE_DOWNWARD): Likewise.
30725 (FE_UPWARD): Likewise.
30726 (FE_TOWARDZERO): Likewise.
30728 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
30730 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
30732 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
30734 * scripts/cross-test-ssh.sh (command): Use newlines to separate
30735 commands. Quote $PWD.
30736 (blacklist_exports): Don't use remove_newlines. Replace "declare
30738 (remove_newlines): Remove.
30740 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
30742 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
30743 * stdlib/stdlib.h (atof): Moved to ...
30744 * include/bits/stdlib-float.h: Here. New file.
30745 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
30746 * stdlib/bits/stdlib-float.h: New file.
30747 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
30749 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
30752 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30754 * conform/conformtest.pl (@headers): Add fenv.h.
30755 * conform/data/fenv.h-data: New file.
30756 * include/fenv.h [_ISOMAC]: Disable all contents of file except
30757 include of <math/fenv.h>.
30759 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
30760 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
30761 && !UNIX98]. Enables tests for XOPEN2K8.
30762 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
30763 POSIX2008]: Likewise.
30765 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
30766 (struct rusage): Do not expect type or its members.
30769 * math/math.h (FP_NAN): Define macro to integer constant usable in
30770 #if and use that to give value to enum constant.
30771 (FP_INFINITE): Likewise.
30772 (FP_ZERO): Likewise.
30773 (FP_SUBNORMAL): Likewise.
30774 (FP_NORMAL): Likewise.
30776 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
30778 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
30779 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
30782 2012-11-02 Roland McGrath <roland@hack.frob.com>
30784 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
30785 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
30786 autoconf-time if not.
30787 * configure.in: Remove AC_PREREQ.
30789 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30791 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
30792 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
30793 of the internal implementation.
30795 2012-11-02 Joseph Myers <joseph@codesourcery.com>
30797 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
30798 except include of <misc/sys/syslog.h>.
30800 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
30803 function returns with a NULL context exit with zero.
30805 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30807 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
30809 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
30811 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
30812 (run_program_cmd): This.
30813 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
30814 (tst_langinfo): New variable. Use it.
30816 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
30818 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
30819 floating point opcodes.
30821 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30823 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
30826 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
30828 * sysdeps/mach/hurd/powerpc: Remove directory.
30829 * sysdeps/mach/powerpc: Likewise.
30831 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
30833 * scripts/check-local-headers.sh: Ignore c++ headers.
30835 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30837 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
30838 __libc_cleanup_region_start argument.
30840 2012-11-01 Joseph Myers <joseph@codesourcery.com>
30844 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
30845 x * y using scaling, not as x * y + z.
30846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30848 * math/libm-test.inc (fma_test): Add more tests.
30849 (fma_test_towardzero): Likewise.
30850 (fma_test_downward): Likewise.
30851 (fma_test_upward): Likewise.
30853 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
30855 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
30857 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30859 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
30862 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
30864 * rt/tst-shm.c (worker): Correct checking for mmap failure.
30866 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30873 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30876 Fix the order of the list for glibc 2.17.
30877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30880 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
30882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30884 2012-10-31 Joseph Myers <joseph@codesourcery.com>
30887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
30888 for low part of x being zero before using __atanl (y).
30889 * math/libm-test.inc (atan2_test): Add another test.
30891 * manual/install.texi (Configuring and compiling): Document
30892 general use of test-wrapper and test-wrapper-env.
30893 * INSTALL: Regenerated.
30895 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
30896 (__fma): Do not extract and scale down low bits on after-rounding
30897 systems when result rounded to normal precision would have normal
30899 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
30900 (__fmal): Do not extract and scale down low bits on after-rounding
30901 systems when result rounded to normal precision would have normal
30903 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
30904 (__fmal): Do not extract and scale down low bits on after-rounding
30905 systems when result rounded to normal precision would have normal
30907 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
30909 (fma_test): Add more tests.
30910 (fma_test_towardzero): Likewise.
30911 (fma_test_downward): Likewise.
30912 (fma_test_upward): Likewise.
30914 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
30916 * sysdeps/i386/tininess.h: Renamed to ...
30917 * sysdeps/x86/tininess.h: This.
30918 * sysdeps/x86_64/tininess.h: Removed.
30920 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30922 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
30923 input. Use $(build-program-cmd).
30924 ($(objpfx)tst-array1-static.out): Likewise.
30925 ($(objpfx)tst-array2.out): Likewise.
30926 ($(objpfx)tst-array3.out): Likewise.
30927 ($(objpfx)tst-array4.out): Likewise.
30928 ($(objpfx)tst-array5.out): Likewise.
30929 ($(objpfx)tst-array5-static.out): Likewise.
30931 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
30933 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
30936 * nss/nsswitch.h (nss_interface_function): Provide new
30937 macro for use with NSS functions.
30938 * grp/initgroups.c: Use new macro.
30939 * nss/getXXbyYY.c: Likewise.
30940 * nss/getXXbyYY_r.c: Likewise.
30941 * nss/getXXent.c: Likewise.
30942 * nss/getXXent_r.c: Likewise.
30943 * sysdeps/posix/getaddrinfo.c: Likewise.
30945 2012-10-30 Andreas Jaeger <aj@suse.de>
30947 * po/ru.po: Update Russion translation from translation project.
30949 2012-10-30 Joseph Myers <joseph@codesourcery.com>
30953 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
30954 result and shift together with sticky bit instead of replicating
30955 round-to-nearest rounding.
30956 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30957 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30958 * math/libm-test.inc (fma_test): Add more tests. Do not permit
30959 missing underflow exceptions.
30960 (fma_test_towardzero): Add more tests.
30961 (fma_test_downward): Likewise.
30962 (fma_test_upward): Likewise.
30965 * sysdeps/generic/tininess.h: New file.
30966 * sysdeps/i386/tininess.h: Likewise.
30967 * sysdeps/sh/tininess.h: Likewise.
30968 * sysdeps/x86_64/tininess.h: Likewise.
30969 * stdlib/tst-strtod-underflow.c: Likewise.
30970 * stdlib/tst-tininess.c: Likewise.
30971 * stdlib/strtod_l.c: Include <tininess.h>.
30972 (round_and_return): Do not set errno for exact underflow cases.
30973 Force an underflow exception when setting errno for underflow.
30974 Determine underflow based on rounding to normal precision if
30975 TININESS_AFTER_ROUNDING.
30976 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
30977 ERANGE for exact underflow cases.
30978 * stdlib/Makefile (tests): Add tst-tininess and
30979 tst-strtod-underflow.
30980 ($(objpfx)tst-tininess): Use $(link-libm).
30981 ($(objpfx)tst-strtod-underflow): Likewise.
30983 2012-10-30 Andreas Jaeger <aj@suse.de>
30986 * elf/Makefile (tests): Remove conditional for have-initfini-array
30987 since this is now always required and the variable does not exist
30989 (tests-static): Likewise.
30990 (modules-names): Likewise.
30992 * po/eo.po: Add Esperanto translation from translation project.
30994 * elf/tst-array1.c (fini_array): Make writeable so that it can be
30995 merged with constructor/destructor.
30996 (init_array): Likewise.
30997 * elf/tst-array2dep.c (fini_array): Likewise.
30998 (init_array): Likewise.
31000 2012-10-29 Mike Frysinger <vapier@gentoo.org>
31002 * manual/message.texi: Delete @cartouche tags.
31004 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31006 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31008 * sysdeps/mach/hurd/fsync.c: Likewise.
31010 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31011 [_POSIX_REALTIME_SIGNALS]: Change condition to
31012 [_POSIX_REALTIME_SIGNALS > 0].
31014 2012-10-27 Andreas Jaeger <aj@suse.de>
31016 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31017 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31018 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31019 [__WORDSIZE != 64]: Likewise.
31021 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31023 * iconvdata/tst-table.sh: Remove ${SHELL}.
31024 * iconvdata/tst-tables.sh: Likewise.
31026 2012-10-25 David S. Miller <davem@davemloft.net>
31028 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31029 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31034 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31035 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31036 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31039 2012-10-25 Roland McGrath <roland@hack.frob.com>
31041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31042 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31045 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31046 Jim Blandy <jimb@codesourcery.com>
31048 * scripts/cross-test-ssh.sh: New file.
31049 * manual/install.texi (Configuring and compiling): Document use of
31051 * INSTALL: Regenerated.
31053 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31055 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31058 2012-10-25 Joseph Myers <joseph@codesourcery.com>
31060 * Makeconfig (run-program-prefix): Fix comment.
31062 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31063 Jim Blandy <jimb@codesourcery.com>
31065 * Makeconfig (test-wrapper): New variable,
31066 (test-wrapper-env): Likewise.
31067 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31068 (run-built-tests): Define to yes.
31069 (run-program-prefix): Use $(test-wrapper).
31070 (built-program-cmd): Likewise.
31071 * Rules (make-test-out): Use $(test-wrapper-env) and
31072 $(host-built-program-cmd).
31073 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31074 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31076 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31077 $(test-wrapper-env) to tst-rtld-load-self.sh.
31078 ($(objpfx)order2.out): Use $(test-wrapper).
31079 ($(objpfx)tst-initorder.out): Likewise.
31080 ($(objpfx)tst-initorder2.out): Likewise.
31081 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31082 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31083 (test_wrapper_env): New variable. Use it to run ld.so.
31084 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31085 Use it to run ld.so.
31086 (test_wrapper_env): Likewise.
31087 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31088 $(test-wrapper) to run-iconv-test.sh.
31089 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31090 (ICONV): Use $test_wrapper.
31091 * posix/Makefile ($(objpfx)globtest.out): Pass
31092 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31093 globtest.sh, not $(run-program-prefix).
31094 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31095 (test_wrapper): Likewise.
31096 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31097 set together with run_via_rtld_prefix.
31098 (run_program_prefix): Define in terms of test_wrapper and
31099 run_via_rtld_prefix.
31101 2012-10-24 Roland McGrath <roland@hack.frob.com>
31103 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31104 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31108 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31109 Declare __clock_getres, __clock_gettime, __clock_settime,
31110 __clock_nanosleep, and __clock_getcpuclockid.
31111 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31112 Remove librt_hidden_def (clock_gettime).
31113 * sysdeps/unix/clock_gettime.c: Likewise.
31114 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31115 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31116 * rt/clock_getres.c: Define __clock_getres as an alias.
31117 * sysdeps/posix/clock_getres.c: Likewise.
31118 * rt/clock_settime.c: Define __clock_settime as an alias.
31119 * sysdeps/unix/clock_settime.c: Likewise.
31120 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31121 * sysdeps/unix/clock_nanosleep.c: Likewise.
31122 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31123 * rt/clock-compat.c: New file.
31124 * rt/Makefile (librt-routines): Add clock-compat and move
31125 $(clock-routines) to ...
31126 (routines): ... here, new variable.
31127 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31128 Don't add get_clockfreq here.
31129 * rt/Versions (libc: GLIBC_2.17): New version set.
31130 Add clock_* symbols here.
31131 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31133 (GLIBC_2.17): Add clock_* symbols.
31134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31136 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31145 * NEWS: Mention the move.
31147 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31148 Use __open, __read, __close rather than their public counterparts.
31149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31150 (__get_clockfreq_via_cpuinfo): Likewise.
31151 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31152 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31154 * config.h.in (HAVE_IFUNC): New #undef.
31155 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31157 * configure: Regenerated.
31159 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31161 * configure.in: Move READELF check to start of file.
31162 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31163 libc_cv_asm_gnu_indirect_function in the process.
31164 * configure: Regenerated.
31166 2012-10-24 Mike Frysinger <vapier@gentoo.org>
31168 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31169 send the output to /dev/null.
31170 (libc_cv_cc_with_libunwind): Likewise.
31171 (libc_cv_as_noexecstack): Likewise.
31172 * configure: Regenerate.
31174 2012-10-24 Joseph Myers <joseph@codesourcery.com>
31176 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31178 * posix/globtest.sh (TMPDIR): Do not set.
31179 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31180 (testout): Likewise.
31182 2012-10-24 Andreas Jaeger <aj@suse.de>
31184 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31185 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31186 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31187 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31188 posix_fadvise64, posix_fallocate64.
31190 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31191 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31192 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31194 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31196 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31199 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31200 <bits/fcntl-linux.h>.
31201 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31204 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31205 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31206 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31207 [__WORDSIZE != 64]: Likewise.
31209 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31211 * Makeconfig (run-built-tests): New variable.
31212 * Rules [$(cross-compiling) = yes]: Change condition to
31213 [$(run-built-tests) = no].
31214 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31215 to [$(run-built-tests) = yes].
31216 * elf/Makefile [$(cross-compiling) = no]: Likewise
31217 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31218 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31219 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31220 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31221 * io/Makefile [$(cross-compiling) = no]: Likewise.
31222 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31223 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31224 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31225 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31226 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31227 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31228 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31229 * string/Makefile [$(cross-compiling) = no]: Likewise.
31231 * posix/Makefile ($(objpfx)globtest.out): Pass
31232 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31233 $(rtld-installed-name).
31234 * posix/globtest.sh (elf_objpfx): Remove variable.
31235 (rtld_installed_name): Likewise.
31236 (library_path): Likewise.
31237 (run_program_prefix): New variable. Use for running globtest
31240 2012-10-23 Jim Blandy <jimb@codesourcery.com>
31241 Joseph Myers <joseph@codesourcery.com>
31243 * Makeconfig (host-built-program-cmd): New variable.
31244 * elf/Makefile (tst-stackguard1-ARGS): Use
31245 $(host-built-program-cmd).
31246 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31247 (tst-spawn-ARGS): Likewise.
31248 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31250 2012-10-23 Joseph Myers <joseph@codesourcery.com>
31251 Jim Blandy <jimb@codesourcery.com>
31253 * Makeconfig (run-via-rtld-prefix): New variable.
31254 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31255 (built-program-cmd): Likewise.
31257 2012-10-22 Andreas Jaeger <aj@suse.de>
31259 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31260 __O_RSYNC if it exists, otherwise to O_SYNC.
31262 2012-10-22 Jim Blandy <jimb@codesourcery.com>
31263 Joseph Myers <joseph@codesourcery.com>
31265 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31267 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31269 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31272 2012-10-22 Andreas Jaeger <aj@suse.de>
31274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31279 bits/fcntl-linux.h.
31281 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31282 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31289 2012-10-21 Jim Blandy <jimb@codesourcery.com>
31290 Joseph Myers <joseph@codesourcery.com>
31292 * config.make.in (NM): New variable.
31294 2012-10-21 Andreas Jaeger <aj@suse.de>
31296 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
31297 definitions and declarations that are provided by
31298 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31300 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31303 * elf/Makefile (tests-static): Add tst-leaks1-static.
31304 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
31305 ($(objpfx)tst-leaks1-static): New rule.
31306 ($(objpfx)tst-leaks1-static-mem): Likewise.
31307 (tst-leaks1-static-ENV): New macro.
31308 * elf/dl-open.c (dl_open_worker): Check the main application
31309 only if SHARED is defined.
31310 * elf/tst-leaks1-static.c: New file.
31312 2012-10-20 Andreas Jaeger <aj@suse.de>
31314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
31315 generic values for Linux.
31316 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
31317 and declarations that are provided by <bits/fcntl-linux.h> and
31318 include <bits/fcntl-linux.h>.
31319 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31322 2012-10-20 Roland McGrath <roland@hack.frob.com>
31324 * io/fcntl.h: Move include of <bits/types.h> to the top and
31325 include it unconditionally.
31327 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
31329 * wcsmbs/Makefile (tests-ifunc): New variable.
31330 (tests): Add $(tests-ifunc).
31331 * wcsmbs/test-wcschr-ifunc.c: New file.
31332 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31333 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31334 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31335 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31336 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31338 * string/Makefile (tests-ifunc): New variable.
31339 (tests): Add $(tests-ifunc).
31340 * string/test-memccpy.c (TEST_NAME): New macro.
31341 * string/test-memchr.c (TEST_NAME): Likewise.
31342 * string/test-memcmp.c (TEST_NAME): Likewise.
31343 * string/test-memcpy.c (TEST_NAME): Likewise.
31344 * string/test-memmem.c (TEST_NAME): Likewise.
31345 * string/test-memmove.c (TEST_NAME): Likewise.
31346 * string/test-memset.c (TEST_NAME): Likewise.
31347 * string/test-rawmemchr.c (TEST_NAME): Likewise.
31348 * string/test-stpcpy.c (TEST_NAME): Likewise.
31349 * string/test-stpncpy.c (TEST_NAME): Likewise.
31350 * string/test-strcasecmp.c (TEST_NAME): Likewise.
31351 * string/test-strcasestr.c (TEST_NAME): Likewise.
31352 * string/test-strcat.c (TEST_NAME): Likewise.
31353 * string/test-strchr.c (TEST_NAME): Likewise.
31354 * string/test-strcmp.c(TEST_NAME): Likewise.
31355 * string/test-strcpy.c (TEST_NAME): Likewise.
31356 * string/test-strcspn.c (TEST_NAME): Likewise.
31357 * string/test-strlen.c (TEST_NAME): Likewise.
31358 * string/test-strncasecmp.c (TEST_NAME): Likewise.
31359 * string/test-strncmp.c (TEST_NAME): Likewise.
31360 * string/test-strncpy.c (TEST_NAME): Likewise.
31361 * string/test-strnlen.c (TEST_NAME): Likewise.
31362 * string/test-strpbrk.c (TEST_NAME): Likewise.
31363 * string/test-strrchr.c (TEST_NAME): Likewise.
31364 * string/test-strspn.c (TEST_NAME): Likewise.
31365 * string/test-strstr.c (TEST_NAME): Likewise.
31366 * string/test-bcopy-ifunc.c: New file.
31367 * string/test-bzero-ifunc.c: Likewise.
31368 * string/test-memccpy-ifunc.c: Likewise.
31369 * string/test-memchr-ifunc.c: Likewise.
31370 * string/test-memcmp-ifunc.c: Likewise.
31371 * string/test-memcpy-ifunc.c: Likewise.
31372 * string/test-memmem-ifunc.c: Likewise.
31373 * string/test-memmove-ifunc.c: Likewise.
31374 * string/test-mempcpy-ifunc.c: Likewise.
31375 * string/test-memset-ifunc.c: Likewise.
31376 * string/test-rawmemchr-ifunc.c: Likewise.
31377 * string/test-stpcpy-ifunc.c: Likewise.
31378 * string/test-stpncpy-ifunc.c: Likewise.
31379 * string/test-strcasecmp-ifunc.c: Likewise.
31380 * string/test-strcasestr-ifunc.c: Likewise.
31381 * string/test-strcat-ifunc.c: Likewise.
31382 * string/test-strchr-ifunc.c: Likewise.
31383 * string/test-strchrnul-ifunc.c: Likewise.
31384 * string/test-strcmp-ifunc.c: Likewise.
31385 * string/test-strcpy-ifunc.c: Likewise.
31386 * string/test-strcspn-ifunc.c: Likewise.
31387 * string/test-strlen-ifunc.c: Likewise.
31388 * string/test-strncasecmp-ifunc.c: Likewise.
31389 * string/test-strncat-ifunc.c: Likewise.
31390 * string/test-strncmp-ifunc.c: Likewise.
31391 * string/test-strncpy-ifunc.c: Likewise.
31392 * string/test-strnlen-ifunc.c: Likewise.
31393 * string/test-strpbrk-ifunc.c: Likewise.
31394 * string/test-strrchr-ifunc.c: Likewise.
31395 * string/test-strspn-ifunc.c: Likewise.
31396 * string/test-strstr-ifunc.c: Likewise.
31398 * debug/Makefile (tests-ifunc): New variable.
31399 (tests): Add $(tests-ifunc).
31400 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
31401 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
31402 * debug/test-stpcpy_chk-ifunc.c: New file.
31403 * debug/test-strcpy_chk-ifunc.c: Likewise.
31405 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31408 * elf/dl-load.c (open_verify): Retry read if the entire ELF
31409 header is not read in.
31411 2012-10-19 Joseph Myers <joseph@codesourcery.com>
31413 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
31414 script to $(SHELL) as $<. Pass $(common-objpfx) to script
31415 directly. Pass built executable to script as
31416 $(built-program-cmd).
31417 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
31418 $testprogram without using LD_LIBRARY_PATH and $ldso.
31420 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
31421 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
31422 $(rtld-installed-name).
31423 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
31424 (rtld_installed_name): Likewise.
31425 (library_path): Likewise.
31426 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
31427 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
31428 $(run-program-prefix) to tst-tables.sh.
31429 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
31430 it to run tst-table-from and tst-table-to.
31431 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
31432 Pass it to tst-table.sh.
31433 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
31434 $(run-program-prefix) to tst-gettext.sh.
31435 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
31437 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
31439 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
31440 to run tst-gettext.
31441 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
31442 to run tst-gettext2.
31443 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
31444 to run tst-translit.
31445 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
31446 $(run-program-prefix) to tst-mtrace.sh.
31447 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
31449 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
31450 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
31451 $(rtld-installed-name).
31452 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
31453 (rtld_installed_name): Likewise.
31454 (run_program_prefix): New variable. Use it to run wordexp-test.
31456 * Makeconfig (ARCH): Remove all definitions.
31457 (machine): Likewise.
31458 [ARCH]: Remove conditional code.
31459 [!objdir]: Give error.
31460 [!objdir] (objpfx): Remove.
31461 [!objdir] (common-objpfx): Likewise.
31462 [!objdir] (common-objdir): Likewise.
31463 * configure.in (config_makefile): Remove. Hardcode Makefile in
31464 AC_CONFIG_FILES call.
31465 * configure: Regenerated.
31468 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
31470 (testout): Likewise.
31472 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
31473 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
31474 $(rtld-installed-name).
31475 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
31476 (rtld_installed_name): Likwise.
31477 (runit): Remove function.
31478 (run_getconf): New variable, Use it for running getconf binary.
31480 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
31483 * string/test-memmem.c (check_result): New function.
31484 (do_one_test): Use it.
31485 (check1): New function.
31486 (test_main): Use it.
31488 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
31490 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
31492 2012-10-18 Joseph Myers <joseph@codesourcery.com>
31494 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
31495 (_G_LSEEK64): Likewise.
31496 (_G_MMAP64): Likewise.
31497 (_G_FSTAT64): Likewise.
31498 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
31499 (_G_LSEEK64): Likewise.
31500 (_G_MMAP64): Likewise.
31501 (_G_FSTAT64): Likewise.
31502 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
31503 unconditional. Call __mmap64 directly.
31504 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
31505 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
31506 __lseek64 directly.
31507 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
31508 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
31510 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
31511 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
31512 __lseek64 directly.
31513 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
31514 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
31515 __lseek64 directly.
31516 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
31517 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
31518 __lseek64 directly.
31519 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
31520 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
31521 __fxstat64 directly.
31522 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
31523 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
31525 (freopen64) [!_G_OPEN64]: Remove conditional code.
31526 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
31528 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
31529 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
31531 (ftello64) [!_G_LSEEK64]: Remove conditional code.
31532 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
31534 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31535 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
31537 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
31538 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
31540 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31541 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
31543 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
31544 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
31546 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
31548 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31551 * manual/memory.texi (Malloc Tunable Parameters): Add note
31552 about free list pointers overwriting some perturb bytes.
31553 Wording suggested by Roland McGrath.
31555 2012-10-17 Joseph Myers <joseph@codesourcery.com>
31557 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
31558 (lgamma_test): Likewise.
31559 (tgamma_test): Likewise.
31561 2012-10-16 Florian Weimer <fweimer@redhat.com>
31564 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
31565 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
31567 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
31569 * NEWS: Mention BZ #14716.
31570 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
31571 when removing AVAILABLE1_USES_J macro.
31573 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
31575 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
31576 (__bswap_64): __uint64_t for unsigned 64-bit int.
31578 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
31580 * include/string.h (memmem): Declare libc hidden alias.
31581 * string/memmem.c (memmem): Define libc hidden alias.
31582 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
31583 __read, __close instead of open, read, close.
31585 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
31587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
31588 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
31590 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
31591 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
31592 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
31594 (__rawmemchr_sse2): Likewise.
31595 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
31596 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
31597 (__strchr_sse2): Likewise.
31598 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
31599 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
31600 (__strcasecmp_sse2): Likewise.
31601 (__strncasecmp_sse2): Likewise.
31602 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
31603 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
31604 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
31605 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
31606 (__strrchr_sse2): Likewise.
31607 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
31609 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
31610 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
31611 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
31612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31613 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
31614 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
31615 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31616 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31617 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
31618 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
31619 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
31620 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
31621 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
31622 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
31623 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
31624 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
31625 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
31626 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
31627 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
31628 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
31629 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
31630 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
31631 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
31632 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31633 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
31634 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31635 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31636 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31637 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
31638 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
31640 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
31642 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
31643 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
31644 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
31645 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
31647 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
31649 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
31650 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
31651 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
31652 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
31654 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31655 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31656 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31657 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31658 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31659 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31660 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31661 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31662 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31663 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31664 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31665 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31666 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31667 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
31668 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
31669 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31670 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
31671 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
31672 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31673 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31674 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31675 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31676 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31677 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31679 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
31680 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
31681 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
31682 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
31683 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31684 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
31685 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31686 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31687 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
31688 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31689 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31690 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31691 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31692 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31693 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31694 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
31696 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
31697 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
31698 * include/ifunc-impl-list.h: New file.
31699 * misc/ifunc-impl-list.c: Likewise.
31700 * misc/Makefile (routines): Add ifunc-impl-list.
31701 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
31702 * string/test-string.h: Include <ifunc-impl-list.h>.
31703 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
31704 TEST_NAME]: New variables.
31705 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
31707 (test_init): Call __libc_ifunc_impl_list to initialize
31708 func_list if TEST_IFUNC and TEST_NAME are defined.
31710 * string/Makefile (strop-tests): Add bcopy and bzero.
31711 * string/test-bcopy.c: New file.
31712 * string/test-bzero.c: Likewise.
31713 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
31715 * string/test-memset.c: Support bzero test if TEST_BZERO is
31717 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
31719 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
31721 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
31724 2012-10-10 Joseph Myers <joseph@codesourcery.com>
31726 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
31727 * configure: Regenerated.
31729 * Makeconfig (+link-static-before-libc): Don't include
31730 $(link-static-libc).
31732 * libio/libio.h (_IO_pos_t): Remove.
31734 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31736 * NEWS: Add note about FIPS mode. Wording suggested by Roland
31739 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31741 * crypt/crypt-entry.c: Include fips-private.h.
31742 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
31743 * crypt/md5c-test.c (main): Tolerate disabled MD5.
31744 * sysdeps/unix/sysv/linux/fips-private.h: New file.
31745 * sysdeps/generic/fips-private.h: New file, dummy fallback.
31747 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
31749 * crypt/crypt-private.h: Include stdbool.h.
31750 (_ufc_setup_salt_r): Return bool.
31751 * crypt/crypt-entry.c: Include errno.h.
31752 (__crypt_r): Return NULL with EINVAL for bad salt.
31753 * crypt/crypt_util.c (bad_for_salt): New.
31754 (_ufc_setup_salt_r): Check that salt is long enough and within
31755 the specified alphabet.
31756 * crypt/badsalttest.c: New file.
31757 * crypt/Makefile (tests): Add it.
31758 ($(objpfx)badsalttest): New.
31760 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
31762 * NEWS: Add entry for BZ #14602.
31764 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31766 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
31768 * math/libm-test.inc: Update comment listing what functions and
31770 (isgreater_test): New function.
31771 (isgreaterequal_test): Likewise.
31772 (isless_test): Likewise.
31773 (islessequal_test): Likewise.
31774 (islessgreater_test): Likewise.
31775 (isunordered_test): Likewise.
31776 (main): Call the new functions.
31778 2012-10-09 Roland McGrath <roland@hack.frob.com>
31780 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
31781 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
31782 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
31783 * sysdeps/i386/configure: Regenerated.
31784 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
31785 * sysdeps/mach/configure: Regenerated.
31786 * sysdeps/mach/hurd/configure: Regenerated.
31787 * sysdeps/powerpc/configure: Regenerated.
31788 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31789 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31790 * sysdeps/s390/s390-32/configure: Regenerated.
31791 * sysdeps/s390/s390-64/configure: Regenerated.
31792 * sysdeps/sh/configure: Regenerated.
31793 * sysdeps/sparc/configure: Regenerated.
31794 * sysdeps/unix/sysv/linux/configure: Regenerated.
31795 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31796 * sysdeps/x86_64/configure: Regenerated.
31798 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
31799 defined. Don't check if MAP is NULL.
31801 2012-10-09 Joseph Myers <joseph@codesourcery.com>
31803 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
31804 (_G_stat64): Likewise.
31805 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
31806 (_G_stat64): Likewise.
31807 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
31808 instead of struct _G_stat64.
31809 * libio/fileops.c (mmap_remap_check): Likewise.
31810 (decide_maybe_mmap): Likewise.
31811 (_IO_new_file_seekoff): Likewise.
31812 (_IO_file_stat): Likewise.
31813 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
31815 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
31816 instead of struct _G_stat64.
31817 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
31819 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
31822 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31824 (CHECK_EOL): New macro.
31825 (two_way_short_needle): Check beginning of haystack for EOL. Use
31827 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31828 Replace with CHECK_EOL.
31829 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
31830 Replace with CHECK_EOL.
31832 2012-10-08 Joseph Myers <joseph@codesourcery.com>
31834 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
31836 * math/libm-test.inc: Update comment listing what functions and
31838 (finite_test): New function.
31839 (isinf_test): Likewise.
31840 (isnan_test): Likewise.
31841 (fpclassify_test): Test subnormal input.
31842 (isfinite_test): Likewise.
31843 (isnormal_test): Likewise.
31844 (main): Call the new functions.
31846 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
31849 * Makerules (%.dynsym): Force C locale when running
31850 $(OBJDUMP) --dynamic-syms.
31852 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
31854 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
31857 2012-10-06 David S. Miller <davem@davemloft.net>
31859 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
31860 upper 32-bits of the length value in %o2 since we use branch-on-register
31861 tests which consider the entire 64-bit register.
31863 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
31865 * string/test-strstr.c (check2): Add a test for page boundary.
31867 2012-10-05 David S. Miller <davem@davemloft.net>
31869 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
31870 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
31872 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
31874 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
31875 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
31876 and bzero when HWCAP_SPARC_CRYPTO is present.
31878 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
31881 * string/test-strstr.c (check2): New function.
31882 (test_main): Call check2.
31884 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
31886 * string/bug-strcasestr1.c (do_test): Moved to ...
31887 * string/test-strcasestr.c (check1): Here. New function.
31888 (do_one_test): Break out result checking code into ...
31889 (check_result): This. New function.
31890 (do_one_test): Call check_result.
31891 (test_main): Call check1.
31892 * string/bug-strchr1.c (do_test): Moved to ...
31893 * string/test-strchr.c (check1): Here. New function.
31894 (do_one_test): Break out result checking code into ...
31895 (check_result): This. New function.
31896 (do_one_test): Call check_result.
31897 (test_main): Call check1.
31898 * string/bug-strstr1.c (main): Moved to ...
31899 * string/test-strstr.c (check1): Here. New function.
31900 (do_one_test): Break out result checking code into ...
31901 (check_result): This. New function.
31902 (do_one_test): Call check_result.
31903 (test_main): Call check1.
31904 * string/bug-strcasestr1.c: Removed.
31905 * string/bug-strchr1.c: Likewise.
31906 * string/bug-strstr1.c: Likewise.
31908 * elf/Makefile (dl-routines): Add hwcaps.
31909 * elf/dl-support.c (_dl_important_hwcaps): Removed.
31910 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
31911 (_dl_important_hwcaps): Moved to ...
31912 * elf/dl-hwcaps.c: Here. New file.
31913 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
31916 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
31917 if IS_IN_rtld isn't defined.
31919 * elf/dl-support.c (_dl_sysinfo_map): New.
31920 Include "get-dynamic-info.h" and "setup-vdso.h".
31921 (_dl_non_dynamic_init): Call setup_vdso.
31922 * elf/dynamic-link.h: Don't include <assert.h>.
31923 (elf_get_dynamic_info): Moved to ...
31924 * elf/get-dynamic-info.h: Here. New file.
31925 * elf/dynamic-link.h: Include "get-dynamic-info.h".
31926 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
31927 * elf/setup-vdso.h: Here. New file.
31928 * elf/rtld.c: Include "setup-vdso.h".
31929 (dl_main): Call setup_vdso.
31931 2012-10-05 Joseph Myers <joseph@codesourcery.com>
31933 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
31934 creal in comment listing functions tested. List finite, isinf,
31935 isnan, isless, islessequal, isgreater, isgreaterequal,
31936 islessgreater, isunordered, lgamma_r and pow10 as functions and
31937 macros not tested. Mention which functions not tested are aliases
31938 for other functions. Fix typo. Note that signs of NaNs are not
31941 * scripts/config.guess: Update from config.git.
31942 * scripts/config.sub: Likewise.
31944 2012-10-04 Roland McGrath <roland@hack.frob.com>
31946 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
31947 * misc/madvise.c (madvise): Renamed to __madvise.
31948 Make madvise a weak alias.
31949 * include/sys/mman.h: Declare __madvise.
31950 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
31951 * sysdeps/unix/syscalls.list
31952 (madvise): Make __madvise the strong name, and madvise a weak alias.
31953 * sysdeps/unix/sysv/linux/syscalls.list
31954 (madvise, mmap): Remove redundant entries.
31955 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
31956 * malloc/malloc.c (mtrim): Likewise.
31957 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
31959 2012-10-03 Roland McGrath <roland@hack.frob.com>
31961 * sysdeps/mach/hurd/dl-cache.c: File removed.
31962 * config.h.in (USE_LDCONFIG): New #undef.
31963 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
31964 * configure: Regenerated.
31965 * elf/Makefile (dl-routines): Add dl-cache only under
31966 [$(use-ldconfig) = yes].
31967 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
31968 cache on [USE_LDCONFIG].
31969 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
31971 * elf/rtld.c (dl_main): Likewise.
31973 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
31975 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
31976 _SC_LEVEL4_CACHE_LINESIZE.
31978 2012-10-03 Roland McGrath <roland@hack.frob.com>
31980 * sysdeps/unix/bsd/confstr.h: File removed.
31982 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
31984 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
31987 2012-10-02 Roland McGrath <roland@hack.frob.com>
31989 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
31990 Make 'mapoff' field ElfW(Off) rather than off_t.
31992 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
31994 * nscd/Makefile: Remove nscd-cflags and all its users.
31995 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
31996 (CFLAGS-nonlib): Add compiler flags for nscd modules.
31999 * malloc.c (malloc_printerr): Clarify error message.
32001 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32005 Set bit_FMA_Usable if FMA is supported.
32006 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32008 (bit_FMA4_Usable): Updated.
32009 (index_FMA_Usable): New macro.
32010 (CPUID_FMA): Likewise
32011 (HAS_FMA): Defined with bit_FMA_Usable.
32013 2012-10-01 Roland McGrath <roland@hack.frob.com>
32015 * bits/types.h (__swblk_t): Type removed.
32016 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32017 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32018 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32019 (__SWBLK_T_TYPE): Likewise.
32020 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32021 (__SWBLK_T_TYPE): Likewise.
32022 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32023 (__SWBLK_T_TYPE): Likewise.
32024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32025 (__SWBLK_T_TYPE): Likewise.
32027 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
32028 Honza Horak <hhorak@redhat.com>
32030 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32031 (xdr_mapname): Use YPMAXMAP as maxsize.
32032 (xdr_peername): Use YPMAXPEER as maxsize.
32033 (xdr_keydat): Use YPAXRECORD as maxsize.
32034 (xdr_valdat): Use YPMAXRECORD as maxsize.
32036 2012-10-01 Roland McGrath <roland@hack.frob.com>
32038 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32040 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32041 * csu/init-first.c: ... here.
32042 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32043 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32044 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32046 * sysdeps/i386/init-first.c: File removed.
32047 * sysdeps/sh/init-first.c: File removed.
32049 2012-10-01 Joseph Myers <joseph@codesourcery.com>
32052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32053 if x * y might underflow to zero and z is zero.
32054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32056 * math/libm-test.inc (min_subnorm_value): New variable.
32057 (fma_test): Add more tests.
32058 (fma_test_towardzero): Likewise.
32059 (fma_test_downward): Likewise
32060 (fma_test_upward): Likewise.
32061 (initialize): Set min_subnorm_value.
32063 2012-09-29 Joseph Myers <joseph@codesourcery.com>
32066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32068 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32069 mode for addition resulting in exact zero.
32070 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32073 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32075 * math/libm-test.inc (fma_test): Add more tests.
32076 (fma_test_towardzero): New function.
32077 (fma_test_downward): Likewise.
32078 (fma_test_upward): Likewise.
32079 (main): Call the new functions.
32081 2012-09-28 David S. Miller <davem@davemloft.net>
32083 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32085 2012-09-28 Roland McGrath <roland@hack.frob.com>
32087 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32088 instead of SIGALRM.
32090 * sysdeps/gnu/_G_config.h: Moved to ...
32091 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32092 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32093 * sysdeps/generic/_G_config.h: ... here.
32095 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32097 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32099 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32100 Conditionalize target on [libnss_test1.so-version].
32102 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32104 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32105 (elfobjdir): Move out of conditionals.
32107 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32108 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32109 (__nss_lookup_function): Conditionalize label remove_from_tree on
32110 [!DO_STATIC_NSS || SHARED], matching its only use.
32112 2012-09-28 David S. Miller <davem@davemloft.net>
32114 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32115 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32117 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32119 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32121 when HWCAP_SPARC_CRYPTO is present.
32123 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32125 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32127 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32130 * stdio-common/vfprintf.c (process_string_arg): Revert
32133 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32135 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32137 * stdio-common/tst-sprintf.c: Include <locale.h>
32138 (main): Test sprintf's handling of incomplete multibyte
32141 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32143 * elf/dl-runtime.c (VERSYMIDX): Removed.
32144 * elf/dl-version.c (VERSYMIDX): Likewise.
32145 * elf/do-rel.h (VERSYMIDX): Likewise.
32146 (VALIDX): Likewise.
32147 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32148 * elf/rtld.c (VALIDX): Likewise.
32149 (ADDRIDX): Likewise.
32150 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32151 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32152 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
32153 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32154 (VALIDX): Likewise.
32155 (ADDRIDX): Likewise.
32157 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32159 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32161 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32164 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32166 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32167 addresses are in the same scope as 192.0.2/24.
32168 * posix/gai.conf: Document new scope table defaults.
32170 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32173 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32174 for ftell. Compute offsets from write pointers instead.
32175 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32177 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32180 * libio/Makefile (tests): New test case tst-fseek.
32181 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32182 combination works in wide mode.
32183 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32184 state when the external buffer state changes.
32186 2012-09-27 David S. Miller <davem@davemloft.net>
32189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32190 pass reloc->r_addend in as the 'high' argument to
32191 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32195 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32197 * rt/tst-aio2.c: Include <pthread.h>.
32198 * rt/tst-aio3.c: Likewise.
32200 2012-09-27 Steve Ellcey <sellcey@mips.com>
32202 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32204 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32206 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32207 contents on [SHARED].
32209 2012-09-26 Marek Polacek <polacek@redhat.com>
32213 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32214 for C++ and GCC <4.3 as well as for non GCC compilers.
32216 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32220 2012-09-25 Roland McGrath <roland@hack.frob.com>
32222 * Makefile.in (all, install): Declare with .PHONY.
32223 Reported by Michael Hope <michael.hope@linaro.org>.
32225 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32227 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32228 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32230 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32232 (sydep_routines): Add the new and the internal functions.
32233 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32234 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32236 (GLIBC_2.17): Add the new function.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32238 (GLIBC_2.17): Likewise.
32239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32240 (GLIBC_2.17): Likewise.
32241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32242 (GLIBC_2.17): Likewise.
32243 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32245 2012-09-25 Alan Modra <amodra@gmail.com>
32247 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32248 Add release barrier before setting once_control to say
32249 initialisation is done. Add hints on lwarx. Use macro in
32251 (clear_once_control): Add release barrier.
32253 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32256 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32258 * math/s_clog10.c (__clog10): Likewise.
32259 * math/s_clog10f.c (__clog10f): Likewise.
32260 * math/s_clog10l.c (__clog10l): Likewise.
32261 * math/s_clogf.c (__clogf): Likewise.
32262 * math/s_clogl.c (__clogl): Likewise.
32263 * math/Makefile (libm-calls): Add x2y2m1.
32264 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32265 (__x2y2m1): Likewise.
32266 (__x2y2m1l): Likewise.
32267 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32268 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32269 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32270 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32271 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32272 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32273 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32274 * sysdeps/i386/fpu/libm-test-ulps: Update.
32275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32278 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32279 int as type of variable DEPTH.
32280 (glob): Use size_t instead of int as type of variables NEWCOUNT
32283 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32285 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32286 Add s_sincosf-sse2.
32287 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32288 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32289 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32290 macros for using routine as __sincosf_ia32.
32291 Use macro for function declaration and weak_alias.
32292 * sysdeps/i386/fpu/libm-test-ulps: Update.
32294 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
32295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32297 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
32298 subnormal argument.
32299 * math/s_cexpf.c (__cexpf): Likewise.
32300 * math/s_csinf.c (__csinf): Likewise.
32301 * math/s_csinhf.c (__csinhf): Likewise.
32302 * math/s_ctanf.c (__ctanf): Likewise.
32303 * math/s_ctanhf.c (__ctanhf): Likewise.
32304 * math/s_ccosh.c (__ccoshf): Likewise.
32305 * math/s_cexp.c (__cexpl): Likewise.
32306 * math/s_csin.c (__csin): Likewise.
32307 * math/s_csinh.c (__csinh): Likewise.
32308 * math/s_ctan.c (__ctan): Likewise.
32309 * math/s_ctanh.c (ctanh): Likewise.
32310 * math/s_ccoshl.c (__ccoshl): Likewise.
32311 * math/s_cexpl.c (__cexpl): Likewise.
32312 * math/s_csinl.c (__csinl): Likewise.
32313 * math/s_csinhl.c (__csinhl): Likewise.
32314 * math/s_ctanl.c (__ctanl): Likewise.
32315 * math/s_ctanhl.c (__ctanhl): Likewise.
32317 2012-09-25 Joseph Myers <joseph@codesourcery.com>
32319 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
32320 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
32321 (_IO_off_t): Define to __off_t, not _G_off_t.
32322 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
32323 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
32324 (_IO_wint_t): Define to wint_t, not _G_wint_t.
32325 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
32326 type of __dummy and __dummy2 fields.
32327 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
32328 (_G_ssize_t): Likewise.
32329 (_G_off_t): Likewise.
32330 (_G_pid_t): Likewise.
32331 (_G_uid_t): Likewise.
32332 (_G_wchar_t): Likewise.
32333 (_G_wint_t): Likewise.
32334 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
32335 (_G_ssize_t): Likewise.
32336 (_G_off_t): Likewise.
32337 (_G_pid_t): Likewise.
32338 (_G_uid_t): Likewise.
32339 (_G_wchar_t): Likewise.
32340 (_G_wint_t): Likewise.
32341 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
32342 (_G_ssize_t): Likewise.
32343 (_G_off_t): Likewise.
32344 (_G_pid_t): Likewise.
32345 (_G_uid_t): Likewise.
32346 (_G_wchar_t): Likewise.
32347 (_G_wint_t): Likewise.
32349 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32351 * malloc/arena.c: Include malloc-sysdep.h.
32352 (shrink_heap): Use check_may_shrink_heap to decide if madvise
32353 is sufficient to shrink the heap or an unmap is needed.
32354 * sysdeps/generic/malloc-sysdep.h: New file. Define
32355 new function check_may_shrink_heap.
32356 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
32357 new function check_may_shrink_heap.
32359 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32361 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
32364 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
32366 * catgets/test-gencat.sh: Add "set -e".
32367 * elf/tst-pathopt.sh: Likewise.
32368 * grp/tst_fgetgrent.sh: Likewise.
32369 * iconvdata/run-iconv-test.sh: Likewise.
32370 * intl/tst-gettext.sh: Likewise.
32371 * intl/tst-gettext2.sh: Likewise.
32372 * intl/tst-gettext4.sh: Likewise.
32373 * intl/tst-gettext6.sh: Likewise.
32374 * intl/tst-translit.sh: Likewise.
32375 * io/ftwtest-sh: Likewise.
32376 * libio/test-freopen.sh: Likewise.
32377 * malloc/tst-mtrace.sh: Likewise.
32378 * posix/globtest.sh: Likewise.
32379 * posix/tst-getconf.sh: Likewise.
32380 * posix/wordexp-tst.sh: Likewise.
32381 * stdio-common/tst-printf.sh: Likewise.
32382 * stdio-common/tst-unbputc.sh: Likewise.
32383 * stdlib/tst-fmtmsg.sh: Likewise.
32384 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32385 * catgets/Makefile: Do not specify -e option when running
32386 testsuite shell scripts.
32387 * elf/Makefile: Likewise.
32388 * grp/Makefile: Likewise.
32389 * iconvdata/Makefile: Likewise.
32390 * intl/Makefile: Likewise.
32391 * io/Makefile: Likewise.
32392 * libio/Makefile: Likewise.
32393 * malloc/Makefile: Likewise.
32394 * posix/Makefile: Likewise.
32395 * stdio-common/Makefile: Likewise.
32396 * stdlib/Makefile: Likewise.
32397 * sysdeps/x86_64/Makefile: Likewise.
32399 * io/ftwtest-sh: Add copyright header.
32400 * posix/globtest.sh: Likewise.
32401 * posix/tst-getconf.sh: Likewise.
32402 * posix/wordexp-tst.sh: Likewise.
32403 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
32405 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
32408 * Makeconfig (+link): Defined as $(+link-static) if
32409 $(build-shared) isn't yes.
32410 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
32412 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
32414 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
32417 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
32418 new chunk size with MALLOC_ALIGN_MASK.
32420 2012-09-24 Joseph Myers <joseph@codesourcery.com>
32423 * stdio-common/printf_fphex.c: Include <stdbool.h> and
32425 (__printf_fphex): Determine rounding using get_rounding_mode and
32427 * stdio-common/tst-printf-round.c (struct hex_test): New
32429 (hex_tests): New variable.
32430 (test_hex_in_one_mode): New function.
32431 (do_test): Also run tests for hex float output.
32433 2012-09-21 Joseph Myers <joseph@codesourcery.com>
32435 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32436 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32437 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
32438 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
32439 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
32440 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
32441 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32442 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
32444 2012-09-20 Joseph Myers <joseph@codesourcery.com>
32446 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
32447 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
32448 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
32449 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
32451 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
32454 * elf/rtld.c (dl_main): Limit the check for self loading to normal
32456 * elf/tst-rtld-load-self.sh: New test.
32457 * elf/Makefile: Run it.
32459 2012-09-18 Joseph Myers <joseph@codesourcery.com>
32461 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
32462 (tst-writev-ENV): Remove.
32463 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
32465 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
32467 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
32469 2012-09-17 Joseph Myers <joseph@codesourcery.com>
32471 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
32473 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
32475 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
32476 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
32477 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
32480 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
32483 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
32484 * config.make.in (have-cpp-asm-debuginfo): Removed.
32485 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
32486 * configure: Regenerated.
32488 2012-09-14 Joseph Myers <joseph@codesourcery.com>
32491 * stdio-common/printf_fp.c: Include <stdbool.h> and
32493 (___printf_fp): Determine rounding using get_rounding_mode and
32495 * stdio-common/tst-printf-round.c: New file.
32496 * stdio-common/Makefile (tests): Add tst-printf-round.
32497 (link-libm): New variable.
32498 ($(objpfx)tst-printf-round): Depend in $(link-libm).
32500 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
32503 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
32504 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
32506 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
32509 2012-09-13 Joseph Myers <joseph@codesourcery.com>
32511 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
32512 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32513 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32514 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
32516 2012-09-12 Joseph Myers <joseph@codesourcery.com>
32519 * include/rounding-mode.h: New file.
32520 * sysdeps/generic/get-rounding-mode.h: Likewise.
32521 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
32522 * stdlib/strtod_l.c: Include <rounding-mode.h>.
32523 (MAX_VALUE): New macro.
32524 (MIN_VALUE): Likewise.
32525 (overflow_value): New function.
32526 (underflow_value): Likewise.
32527 (round_and_return): Use overflow_value and underflow_value to
32528 determine return values in overflow and underflow cases. Use
32529 round_away to determine rounding depending on rounding mode.
32530 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
32531 determine return values in overflow and underflow cases.
32532 * stdlib/tst-strtod-round.c: Include <fenv.h>.
32533 (struct test_results): New structure.
32534 (struct test): Use struct test_results to store expected results
32535 for all rounding modes.
32536 (TEST): Include expected results for all rounding modes.
32537 (test_in_one_mode): New function.
32538 (do_test): Use test_in_one_mode to compute and check results.
32539 Check results for all rounding modes.
32540 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
32543 2012-12-09 Allan McRae <allan@archlinux.org>
32545 * sysdeps/i386/fpu/libm-test-ulps: Update
32547 2012-09-11 Joseph Myers <joseph@codesourcery.com>
32549 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
32550 (_G_int32_t): Likewise.
32551 (_G_uint16_t): Likewise.
32552 (_G_uint32_t): Likewise.
32553 (_G_HAVE_BOOL): Likewise.
32554 (_G_HAVE_ATEXIT): Likewise.
32555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32556 (_G_HAVE_IO_FILE_OPEN): Likewise.
32557 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
32558 (_G_int32_t): Likewise.
32559 (_G_uint16_t): Likewise.
32560 (_G_uint32_t): Likewise.
32561 (_G_HAVE_BOOL): Likewise.
32562 (_G_HAVE_ATEXIT): Likewise.
32563 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32564 (_G_HAVE_IO_FILE_OPEN): Likewise.
32565 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
32566 (_G_int32_t): Likewise.
32567 (_G_uint16_t): Likewise.
32568 (_G_uint32_t): Likewise.
32569 (_G_HAVE_BOOL): Likewise.
32570 (_G_HAVE_ATEXIT): Likewise.
32571 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
32572 (_G_HAVE_IO_FILE_OPEN): Likewise.
32574 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
32576 * csu/libc-tls.c: Update copyright years.
32578 2012-09-10 Joseph Myers <joseph@codesourcery.com>
32580 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
32581 [!_G_USING_THUNKS]: Remove conditional code.
32582 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
32583 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
32585 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
32586 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
32587 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32588 (_G_VTABLE_LABEL_PREFIX): Likewise.
32589 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32590 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32591 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32592 (_G_VTABLE_LABEL_PREFIX): Likewise.
32593 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32594 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
32595 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
32596 (_G_VTABLE_LABEL_PREFIX): Likewise.
32597 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
32599 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
32601 * libio/Makefile: Include ../Makeconfig before tests.
32602 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
32603 only if $(build-shared) is yes.
32605 * iconv/gconv_db.c: Update copyright years.
32607 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32609 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
32610 unwind info if defined PIC. Fix special cases description.
32611 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
32613 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
32615 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
32617 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
32619 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
32621 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
32624 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
32625 (LDLIBS-tst-chk4): This.
32626 (LDFLAGS-tst-chk5): Renamed to ...
32627 (LDLIBS-tst-chk5): This.
32628 (LDFLAGS-tst-chk6): Renamed to ...
32629 (LDLIBS-tst-chk6): This.
32630 (LDFLAGS-tst-lfschk4): Renamed to ...
32631 (LDLIBS-tst-lfschk4): This.
32632 (LDFLAGS-tst-lfschk5): Renamed to ...
32633 (LDLIBS-tst-lfschk5): This.
32634 (LDFLAGS-tst-lfschk6): Renamed to ...
32635 (LDLIBS-tst-lfschk6): This.
32637 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
32638 on $(common-objpfx)soversions.mk.
32640 2012-09-07 Joseph Myers <joseph@codesourcery.com>
32643 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
32646 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
32648 * malloc/arena.c (arena_get_retry): New function that gets
32649 another arena for the caller to try its request on.
32650 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
32651 current arena cannot fulfill the request.
32652 (__libc_memalign): Likewise.
32653 (__libc_memalign): Likewise.
32654 (__libc_pvalloc): Likewise.
32655 (__libc_calloc): Likewise.
32657 2012-09-05 John Tobey <john.tobey@gmail.com>
32660 * manual/arith.texi (Operations on Complex): Fix description
32661 of carg branch cut.
32663 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32666 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
32670 * manual/memory.texi (Memory): Make order of menu items match
32673 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32675 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
32676 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
32677 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
32679 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32681 * csu/libc-tls.c (static_dtv): Renamed to ...
32682 (_dl_static_dtv): This. Make it global.
32683 (_dl_initial_dtv): Removed.
32684 (__libc_setup_tls): Updated.
32685 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
32686 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
32689 2012-09-06 Petr Machata <pmachata@redhat.com>
32691 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
32692 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
32693 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
32694 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
32696 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32699 * csu/libc-tls.c (_dl_initial_dtv): New variable.
32700 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
32703 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
32706 * Makeconfig (link-static-before-libc): Replace $(+prector)
32708 (link-static-after-libc): Replace $(+postctor) with
32710 (link-bounded): Replace $(+prector)/$(+postctor) with
32711 $(+prectorT)/$(+postctorT).
32712 (+prectorT): New macro.
32713 (+postctorT): Likewise.
32715 2012-09-06 Joseph Myers <joseph@codesourcery.com>
32717 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
32718 (round_str): Handle values above the maximum for IBM long double
32720 * stdlib/tst-strtod-round.c (tests): Regenerated.
32722 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32724 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
32726 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
32727 zarch_nohighgprs around the zarch optimized routines.
32728 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32729 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32730 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
32733 2012-09-05 David S. Miller <davem@davemloft.net>
32735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32737 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
32738 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
32739 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
32740 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32743 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32745 * malloc/arena.c: Fold copyright years.
32746 * malloc/mcheck.c, malloc/memusage.c: Likewise.
32748 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32750 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
32752 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32754 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
32756 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32758 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
32759 change internal state upon failure.
32761 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
32763 * malloc/mcheck.c (mcheck_check_all): Fix typo.
32764 * malloc/memusage.c (mmap): Likewise.
32765 (mmap64, mremap): Likewise. Adjust name in comment.
32767 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32769 * libio/fileops.c: Fix typos in comments.
32770 * libio/oldfileops.c: Likewise.
32771 * libio/wfileops.c: Likewise.
32773 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
32776 * malloc/Makefile (tests): Add tst-malloc-usable test case.
32777 (tst-malloc-usable-ENV): Set environment for test case.
32778 * malloc/hooks.c (malloc_check_get_size): New function to get
32780 * malloc/malloc.c (musable): Use malloc_check_get_size.
32781 * malloc/tst-malloc-usable.c: New test case.
32783 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32785 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
32787 2012-09-05 Allan McRae <allan@archlinux.org>
32790 * configure.in (CXX_SYSINCLUDES): Use compiler output to
32791 determine header location.
32792 * configure: Regenerated.
32794 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
32796 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
32798 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
32799 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
32801 (test): Regenerate.
32803 2012-09-04 David S. Miller <davem@davemloft.net>
32805 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
32806 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
32807 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
32809 2012-09-04 Florian Weimer <fweimer@redhat.com>
32811 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
32814 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
32816 2012-09-04 Joseph Myers <joseph@codesourcery.com>
32819 * libio/iogetdelim.c: Include <limits.h>.
32820 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
32821 + len + 1 would overflow.
32823 2012-09-03 Andreas Jaeger <aj@suse.de>
32825 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32826 * sysdeps/i386/fpu/libm-test-ulps: Update.
32828 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32830 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32831 Add s_sinf-sse2, s_conf-sse2.
32833 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
32834 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
32835 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
32836 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
32838 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
32839 for using routine as __sinf_ia32.
32840 Use macro for function declaration and weak_alias.
32841 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
32842 for using routine as __cosf_ia32.
32843 Use macro for function declaration and weak_alias.
32845 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
32846 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
32848 * sysdeps/x86_64/fpu/s_sinf.S: New file.
32849 * sysdeps/x86_64/fpu/s_cosf.S: New file.
32850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32852 * math/libm-test.inc (cos_test): Add more test cases.
32853 (sin_test): Likewise.
32854 (sincos_test): Likewise.
32856 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32858 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
32859 (IFUNC_RESOLVE): Make pointers to the specialized implementations
32861 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32863 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
32866 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
32867 first element of the GOT.
32868 (elf_machine_load_address): Return the difference between
32869 the runtime address of _DYNAMIC and elf_machine_dynamic ().
32871 2012-09-01 Allan McRae <allan@archlinux.org>
32874 * configure.in (AWK): Require gawk version 3.0 or later.
32875 * configure: Regenerated.
32877 2012-09-01 Joseph Myers <joseph@codesourcery.com>
32879 * sysdeps/unix/sysv/linux/kernel-features.h
32880 (__ASSUME_POSIX_CPU_TIMERS): Remove.
32881 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
32882 [__NR_clock_getres]: Make code unconditional.
32883 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
32884 (clock_getcpuclockid): Remove code left unreachable by removal of
32886 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
32887 code unconditional.
32888 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32889 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32890 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
32891 Make code unconditional.
32892 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
32893 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32894 * sysdeps/unix/sysv/linux/clock_settime.c
32895 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
32897 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
32898 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
32900 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
32903 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
32904 scripts/test-installation.pl.
32906 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
32907 and $ld_so_version if it is set.
32909 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32912 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
32913 failure if reading from procfs failed.
32914 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
32916 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32918 * sysdeps/unix/sysv/linux/kernel-features.h
32919 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
32920 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32921 Remove conditional code.
32922 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32923 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
32924 Remove conditional code.
32925 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32926 * sysdeps/unix/sysv/linux/i386/fxstat.c
32927 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32928 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32929 * sysdeps/unix/sysv/linux/i386/fxstatat.c
32930 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32932 * sysdeps/unix/sysv/linux/i386/lxstat.c
32933 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
32934 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32935 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
32936 Remove conditional code.
32937 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32938 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
32939 Remove conditional code.
32940 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32941 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
32942 <kernel-features.h>.
32943 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
32945 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
32946 Remove conditional code.
32947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
32948 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
32949 Remove conditional.
32951 2012-08-27 Mike Frysinger <vapier@gentoo.org>
32954 * NEWS: Add fixed bug number.
32956 2012-08-27 Joseph Myers <joseph@codesourcery.com>
32959 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
32960 underflowing exponent in case of negative sign.
32961 * stdlib/tst-strtod-round-data: Add more tests.
32962 * stdlib/tst-strtod-round.c (tests): Regenerated.
32965 * stdlib/strtod_l.c (NDIG): Remove.
32966 (HEXNDIG): Likewise.
32967 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
32968 smallest representable value.
32969 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
32970 lie within an exact representation of 1/2 ulp of the result.
32971 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
32973 (TENS_P9_IDX): Define unconditionally.
32974 (TENS_P9_SIZE): Likewise.
32975 (TENS_P10_IDX): Likewise.
32976 (TENS_P10_SIZE): Likewise.
32977 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
32978 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
32979 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
32980 entries for 10^2^13 and 10^2^14.
32981 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
32982 (TENS_P13_IDX): Define.
32983 (TENS_P13_SIZE): Likewise.
32984 (TENS_P14_IDX): Likewise.
32985 (TENS_P14_SIZE): Likewise.
32986 (_fpioconst_pow10): Change array size to
32987 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
32989 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
32990 1024]: Add entries for 10^2^13 and 10^2^14.
32991 [LAST_POW10 > _LAST_POW10]: Remove #error.
32992 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
32993 (_fpioconst_pow10): Change array size to
32994 FPIOCONST_POW10_ARRAY_SIZE.
32995 * stdlib/gen-fpioconst.c: New file.
32996 * stdlib/gen-tst-strtod-round.c: Likewise.
32997 * stdlib/tst-strtod-round-data: Likewise.
32998 * stdlib/tst-strtod-round.c: Likewise.
32999 * stdlib/Makefile (tests): Add tst-strtod-round.
33002 * stdlib/strtod_l.c: Include <stdint.h>.
33003 (NDEBUG): Do not define.
33004 (round_and_return): Change EXPONENT parameter to type intmax_t.
33005 Rearrange calculations to avoid internal overflow possibilities.
33006 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33007 Rearrange calculations to avoid internal overflow possibilities.
33008 Assert that number fits inside MPNSIZE limbs.
33009 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33010 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33011 calculations and add assertions to avoid internal overflow
33012 possibilities. Add casts to avoid signed/unsigned operations.
33013 * stdlib/tst-strtod-overflow.c: New file.
33014 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33016 2012-08-25 Marek Polacek <polacek@redhat.com>
33018 * time/time.h: Fix some typos in comments.
33020 2012-08-23 Roland McGrath <roland@hack.frob.com>
33022 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33023 * posix/tst-rfc3484-2.c: Likewise.
33024 * posix/tst-rfc3484-3.c: Likewise.
33026 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33028 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33029 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33031 2012-08-23 Joseph Myers <joseph@codesourcery.com>
33033 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33034 #include of fxstatat64.c.
33036 2012-08-22 Roland McGrath <roland@hack.frob.com>
33038 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33039 * shadow/getspent_r.c: Likewise.
33040 * shadow/getspnam.c: Likewise.
33041 * shadow/getspnam_r.c: Likewise.
33042 * gshadow/getsgent.c: Likewise.
33043 * gshadow/getsgent_r.c: Likewise.
33044 * gshadow/getsgnam.c: Likewise.
33045 * gshadow/getsgnam_r.c: Likewise.
33046 * inet/getnetbyad.c: Likewise.
33047 * inet/getnetbyad_r.c: Likewise.
33048 * inet/getnetbynm.c: Likewise.
33049 * inet/getnetbynm_r.c: Likewise.
33050 * inet/getnetent.c: Likewise.
33051 * inet/getnetent_r.c: Likewise.
33052 * inet/getproto.c: Likewise.
33053 * inet/getproto_r.c: Likewise.
33054 * inet/getprtent.c: Likewise.
33055 * inet/getprtent_r.c: Likewise.
33056 * inet/getprtname.c: Likewise.
33057 * inet/getprtname_r.c: Likewise.
33058 * inet/getrpcbyname.c: Likewise.
33059 * inet/getrpcbyname_r.c: Likewise.
33060 * inet/getrpcbynumber.c: Likewise.
33061 * inet/getrpcbynumber_r.c: Likewise.
33062 * inet/getrpcent.c: Likewise.
33063 * inet/getrpcent_r.c: Likewise.
33064 * inet/getaliasent.c: Likewise.
33065 * inet/getaliasent_r.c: Likewise.
33066 * inet/getaliasname.c: Likewise.
33067 * inet/getaliasname_r.c: Likewise.
33068 * nscd/getgrgid_r.c: Likewise.
33069 * nscd/getgrnam_r.c: Likewise.
33070 * nscd/gethstbyad_r.c: Likewise.
33071 * nscd/gethstbynm3_r.c: Likewise.
33072 * nscd/getpwnam_r.c: Likewise.
33073 * nscd/getpwuid_r.c: Likewise.
33074 * nscd/getsrvbynm_r.c: Likewise.
33075 * nscd/getsrvbypt_r.c: Likewise.
33076 * nscd/gai.c: Likewise.
33078 * configure.in (build_nscd): New substituted variable, set
33079 by --disable-build-nscd and defaults to $use_nscd.
33080 * configure: Regenerated.
33081 * config.make.in (build-nscd): New substituted variable.
33082 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33083 Change conditional to require [$(build-nscd) = yes] as well.
33084 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33087 * configure.in (use_nscd): New substituted variable, set by
33088 --disable-nscd. If enabled, define USE_NSCD.
33089 * configure: Regenerated.
33090 * config.h.in: Add USE_NSCD.
33091 * config.make.in (use-nscd): New substituted variable.
33092 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33093 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33094 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33095 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33096 (CFLAGS-getgrnam_r.c): Likewise.
33097 (CFLAGS-initgroups.c): Likewise.
33098 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33099 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33101 * inet/getnetgrent_r.c
33102 (nscd_setnetgrent): New function, broken out of ...
33103 (setnetgrent): ... here. Call it.
33104 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33105 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33106 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33107 * nscd/Makefile (routines, aux): Move definitions after include of
33108 Makeconfig. Conditionalize on [$(use-nscd) != no].
33109 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33110 Conditionalize on [USE_NSCD].
33111 (is_nscd, nscd_init_cb): Likewise.
33112 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33113 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33114 * nss/nss_db/db-init.c: Likewise.
33115 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33117 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33118 (make_request): Use it.
33119 (cache_valid_p): New function.
33120 (__check_pf): Use it.
33121 * NEWS: Add item for --disable-nscd.
33123 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33125 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33126 to support sed >= 4.2.1-20-ga9bf076.
33127 * configure: Regenerated.
33129 2012-08-22 Roland McGrath <roland@hack.frob.com>
33131 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33132 Conditionalize whole body on [IREL].
33134 2012-08-22 Jeff Law <law@redhat.com>
33137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33138 if the family is PF_UNSPEC.
33140 2012-08-22 Mike Frysinger <vapier@gentoo.org>
33142 * Makerules (lib-version): Rename from V.
33143 (install-lib-nosubdir): Change V to lib-version.
33145 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33148 * powerpc32/power6/wcschr.c: New file.
33149 * powerpc32/power6/wcscpy.c: New file.
33150 * powerpc32/power6/wcsrchr.c: New file.
33151 * powerpc64/power6/wcschr.c: New file.
33152 * powerpc64/power6/wcscpy.c: New file.
33153 * powerpc64/power6/wcsrchr.c: New file.
33155 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33157 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33158 (two_way_short_needle): Use it.
33159 * string/strstr.c (AVAILABLE1_USES_J): Define.
33160 * string/strcasestr.c: Likewise.
33162 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33164 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33167 * NEWS: Add an entry.
33168 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33169 define their defaults.
33170 (two_way_short_needle): Detect end-of-string on-the-fly.
33171 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33172 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33173 * string/bug-strcasestr1.c: New test.
33174 * string/Makefile: Run it.
33176 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33179 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33180 the first character.
33182 2012-08-21 Roland McGrath <roland@hack.frob.com>
33184 * csu/elf-init.c (__libc_csu_irel): Function removed.
33185 * csu/libc-start.c (apply_irel): New function.
33186 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33188 2012-08-21 Joseph Myers <joseph@codesourcery.com>
33190 * sysdeps/unix/sysv/linux/kernel-features.h
33191 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33192 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33193 <kernel-features.h>.
33194 [__NR_fadvise64_64]: Make code unconditional.
33195 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33196 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33197 !__NR_fadvise64_64)]: Likewise.
33198 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33199 !__NR_fadvise64_64))]: Likewise.
33200 [__NR_fadvise64]: Make code unconditional.
33201 [!__NR_fadvise64]: Remove conditional code.
33202 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33203 <kernel-features.h>.
33204 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33206 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33209 not include <kernel-features.h>.
33210 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33212 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33214 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33215 include <kernel-features.h>.
33216 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33218 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33221 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33223 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33224 slight instruction rearrangements per scrollpipe analysis.
33225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33227 2012-08-20 Roland McGrath <roland@hack.frob.com>
33229 * manual/syslog.texi (syslog; vsyslog, closelog):
33230 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33231 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33233 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33234 DSOCAPS to match condition on defining it.
33236 2012-08-20 Joseph Myers <joseph@codesourcery.com>
33238 * sysdeps/unix/sysv/linux/kernel-features.h
33239 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33241 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33242 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33244 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33245 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33247 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33248 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33250 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33251 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33253 * sysdeps/unix/sysv/linux/kernel-features.h
33254 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33255 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33257 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33258 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33259 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33260 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33261 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33262 Make code unconditional.
33263 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33264 (__mmap64) [!__NR_mmap2]: Likewise.
33265 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33266 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33267 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33268 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33269 [__NR_mmap2]: Make code unconditional.
33270 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33271 (__mmap64) [!__NR_mmap2]: Likewise.
33273 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33275 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33277 2012-08-18 Andreas Jaeger <aj@suse.de>
33279 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33281 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33283 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33284 * include/unistd.h (__have_sock_cloexec): Likewise.
33285 (__have_pipe2): Likewise.
33286 (__have_dup3): Likewise.
33288 2012-08-18 Mike Frysinger <vapier@gentoo.org>
33291 * include/unistd.h (__have_pipe2): Change define into an extern int.
33292 (__have_dup3): Likewise.
33293 * socket/have_sock_cloexec.c: Include fcntl.h.
33294 (__have_pipe2): New variable.
33295 (__have_dup3): Likewise.
33297 2012-08-17 Mike Frysinger <vapier@gentoo.org>
33299 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
33301 2012-08-17 Marek Polacek <polacek@redhat.com>
33303 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
33304 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
33306 2012-08-17 Roland McGrath <roland@hack.frob.com>
33308 * configure.in: Add AC_SUBST for sysheaders.
33309 * configure: Regenerated.
33310 * config.make.in (sysheaders): New substituted variable.
33312 * sysdeps/unix/mkfifo.c: Moved ...
33313 * sysdeps/posix/mkfifo.c: ... here.
33314 * sysdeps/unix/mkfifoat.c: Moved ...
33315 * sysdeps/posix/mkfifoat.c: ... here.
33317 * sysdeps/unix/utime.c: Moved ...
33318 * sysdeps/posix/utime.c: ... here.
33320 * sysdeps/unix/time.c: Moved ...
33321 * sysdeps/posix/time.c: ... here.
33322 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
33323 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
33325 * sysdeps/unix/nice.c: Moved ...
33326 * sysdeps/posix/nice.c: ... here.
33328 * sysdeps/unix/alarm.c: Moved ...
33329 * sysdeps/posix/alarm.c: ... here.
33331 * intl/Makefile ($(codeset_mo)): Depend on the input file.
33333 2012-08-17 Jeff Law <law@redhat.com>
33335 * intl/Makefile (codeset_mo): New variable.
33336 ($(codeset_mo)): New target.
33337 (tst-codeset.out): Depend on that. Remove explicit rule.
33338 (tst-gettext3.out, tst-gettext5.out): Likewise.
33339 (LOCPATH-ENV, tst-codeset-ENV): New variables.
33340 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
33341 * intl/tst-codeset.sh: Remove.
33342 * intl/tst-gettext3.sh: Likewise.
33343 * intl/tst-gettext5.sh: Likewise.
33345 2012-08-17 Roland McGrath <roland@hack.frob.com>
33347 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
33348 * sysdeps/unix/syscalls.list: ... here.
33350 * sysdeps/posix/getaddrinfo.c
33351 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
33352 (gaiconf_init, gaiconf_reload): Use them.
33353 [!_STATBUF_ST_NSEC]
33354 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
33355 Define using time_t rather than struct timespec.
33357 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
33358 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
33360 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
33362 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
33363 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
33366 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
33367 __libc_cleanup_push argument.
33369 * bits/param.h: New file.
33370 * misc/sys/param.h: New file.
33371 * include/sys/param.h: New file.
33372 * misc/Makefile (headers): Add bits/param.h.
33373 * sysdeps/generic/sys/param.h: File removed.
33374 * sysdeps/unix/sysv/linux/bits/param.h: New file.
33375 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
33376 * sysdeps/mach/hurd/bits/param.h: New file.
33377 * sysdeps/mach/hurd/sys/param.h: File removed.
33379 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
33382 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
33384 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
33385 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
33388 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
33389 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
33390 rather than -D_IO_MTSAFE_IO conditionally.
33391 * stdio-common/Makefile (CPPFLAGS): Likewise.
33392 * wcsmbs/Makefile (CPPFLAGS): Likewise.
33393 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
33394 Use $(libio-mtsafe).
33395 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
33396 of -D_IO_MTSAFE_IO.
33397 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
33398 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
33399 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
33400 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
33401 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
33402 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
33403 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
33404 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
33405 (CFLAGS-fread_u_chk.c): Likewise.
33406 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
33407 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
33408 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
33409 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
33410 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
33411 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
33412 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
33413 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
33414 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
33416 * libio/Makefile: Test [$(libc-reentrant) = yes]
33417 instead of [$(filter %REENTRANT, $(defines)) nonempty].
33420 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
33421 * sysdeps/pthread/configure: File removed.
33422 * sysdeps/pthread/Makeconfig: New file.
33423 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
33424 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
33426 2012-08-16 Gary Benson <gbenson@redhat.com>
33428 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
33429 unmapping the first object in a namespace.
33431 2012-08-16 Roland McGrath <roland@hack.frob.com>
33433 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
33434 (__internal_setnetgrent): ... this. Add internal_function to
33435 definition. Add libc_hidden_def.
33436 (setnetgrent): Update caller.
33437 (internal_endnetgrent): Renamed to ...
33438 (__internal_endnetgrent): ... this. Add internal_function to
33439 definition. Add libc_hidden_def.
33440 (endnetgrent): Update caller.
33441 (internal_getnetgrent_r): Renamed to ...
33442 (__internal_getnetgrent_r): ... this. Add internal_function to
33443 definition. Add libc_hidden_def.
33444 (__getnetgrent_r): Update caller.
33445 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
33447 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33449 * stdlib/longlong.h: Update from GCC.
33451 2012-08-16 Roland McGrath <roland@hack.frob.com>
33453 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
33454 on _QL, which is set by umul_ppmm but never used.
33455 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
33456 variables, which are set by GMP macros but never used.
33457 * stdio-common/_itowa.c (_itowa): Likewise.
33458 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
33459 * stdlib/mod_1.c (mpn_mod_1): Likewise.
33461 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
33463 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
33464 struct La_sh_regs is not constant.
33465 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
33466 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
33467 and struct La_sparc64_regs are not constant.
33469 2012-08-16 Joseph Myers <joseph@codesourcery.com>
33471 * sysdeps/unix/sysv/linux/kernel-features.h
33472 (__ASSUME_POSIX_TIMERS): Remove.
33473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33474 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33475 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
33476 Make code unconditional.
33477 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33478 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
33479 Make code unconditional.
33480 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33481 * sysdeps/unix/sysv/linux/clock_nanosleep.c
33482 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
33483 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33484 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
33485 Make code unconditional.
33486 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
33487 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
33488 (__libc_missing_posix_timers): Remove.
33490 2012-08-15 Roland McGrath <roland@hack.frob.com>
33492 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
33493 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
33495 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
33497 * elf/dl-sym.c: Include <stdlib.h>.
33499 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
33500 constants, which avoids warnings in 32-bit builds.
33502 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
33503 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
33505 * misc/lseek.c: File moved to ...
33506 * io/lseek.c: ... here.
33508 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
33510 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
33511 shifting LEN more than 31 bits at once.
33513 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33516 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
33517 segmentation fault for a case of two empty input strings.
33518 * string/test-strncasecmp.c (check1): Renamed to...
33519 (bz12205): ...this.
33520 (bz14195): Add new testcase for two empty input strings and N > 0.
33521 (test_main): Call new testcase, adapt for renamed function.
33523 2012-08-15 Andreas Jaeger <aj@suse.de>
33526 * crypt/md5test2.c: New test, based on test supplied by Serge
33527 Belyshev <belyshev@depni.sinp.msu.ru>.
33528 * crypt/Makefile (xtests): Add md5test-giant..
33529 * crypt/Makefile ($(objpfx)md5test-giant): Add.
33531 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
33534 * crypt/md5.c (md5_process_block): Don't assume the buffer
33535 length is less than 2**32.
33536 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
33537 length is less than 2**64.
33539 2012-08-15 Roland McGrath <roland@hack.frob.com>
33541 * string/str-two-way.h: Include <sys/param.h>.
33542 (MAX): Macro removed.
33544 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
33545 Move #define and #undef of memmove to just before and after
33546 including <string.h>.
33548 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
33549 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
33550 and after including <string.h>. Move declarations of
33551 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
33552 to before #include "string/memmove.c".
33554 * include/dirent.h: Declare __getdirentries.
33556 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
33557 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
33559 2012-08-14 Mike Frysinger <vapier@gentoo.org>
33561 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
33562 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
33563 * sysdeps/i386/configure: Regenerated.
33564 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
33565 STABS_CURRENT_FILE, and STABS_FUN.
33566 (END): Remove call to STABS_FUN_END.
33567 (STABS_CURRENT_FILE1): Delete.
33568 (STABS_CURRENT_FILE): Likewise.
33569 (STABS_FUN): Likewise.
33570 (STABS_FUN_END): Likewise.
33571 (STABS_FUN2): Likewise.
33572 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
33573 * sysdeps/x86_64/configure: Regenerated.
33575 2012-08-14 Roland McGrath <roland@hack.frob.com>
33577 * elf/dl-open.c: Include <atomic.h>.
33578 * elf/dl-lookup.c: Likewise.
33580 2012-08-14 Joseph Myers <joseph@codesourcery.com>
33582 * sysdeps/unix/sysv/linux/kernel-features.h
33583 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
33584 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
33586 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
33588 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
33589 condition on __ASSUME_CLONE_THREAD_FLAGS.
33591 2012-08-14 Andreas Jaeger <aj@suse.de>
33593 * sysdeps/i386/fpu/libm-test-ulps: Update.
33595 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
33597 * include/atomic.h (atomic_exchange_and_add): Split into ...
33598 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
33601 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
33603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33605 2012-08-13 Jeff Law <law@redhat.com>
33607 * manual/stdio.texi (snprintf): Clarify handling of the trailing
33608 null byte in the output string.
33610 2012-08-10 Joseph Myers <joseph@codesourcery.com>
33612 * sysdeps/unix/sysv/linux/kernel-features.h
33613 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
33614 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
33615 (__ASSUME_ARG_MAX_STACK_BASED): Define.
33616 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
33617 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
33618 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
33619 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
33621 2012-08-09 Jeff Law <law@redhat.com>
33624 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
33625 When avoid_arena is set, don't retry in the that arena. Pick the
33626 next one, whatever it might be.
33627 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
33628 (arena_lock): Pass in new parameter to arena_get2.
33629 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
33631 (__libc_malloc): Unify retrying after main arena failure with
33632 __libc_memalign version.
33633 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
33635 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
33638 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
33639 to __redirect_strstr.
33640 (__strstr_sse42): Use typeof __redirect_strstr.
33641 (__strstr_ia32): Likewise.
33642 (__libc_strstr): New prototype.
33643 (strstr): Renamed to ...
33644 (__libc_strstr): This.
33645 (strstr): New strong alias of __libc_strstr.
33646 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33647 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
33650 (__libc_time): New prototype.
33651 (time_ifunc): Replace time with __libc_time.
33652 (time): New strong alias and hidden definition of __libc_time.
33653 (__GI_time): Remove strong alias.
33654 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
33655 Include <stddef.h>.
33656 (memmove): Redefined to __redirect_memmove.
33657 (__memmove_sse2): Use typeof __redirect_memmove.
33658 (__memmove_ssse3): Likewise.
33659 (__memmove_ssse3_back): Likewise.
33660 (__libc_memmove): New prototype.
33661 (memmove): Renamed to ...
33662 (__libc_memmove): This.
33663 (memmove): New strong alias of __libc_memmove.
33665 2012-08-08 Mark Salter <msalter@redhat.com>
33668 (R_MN10300_TLS_GD): Define.
33669 (R_MN10300_TLS_LD): Likewise.
33670 (R_MN10300_TLS_LDO): Likewise.
33671 (R_MN10300_TLS_GOTIE): Likewise.
33672 (R_MN10300_TLS_IE): Likewise.
33673 (R_MN10300_TLS_LE): Likewise.
33674 (R_MN10300_TLS_DTPMOD): Likewise.
33675 (R_MN10300_TLS_DTPOFF): Likewise.
33676 (R_MN10300_TLS_TPOFF): Likewise.
33677 (R_MN10300_SYM_DIFF): Likewise.
33678 (R_MN10300_ALIGN): Likewise.
33679 (R_MN10300_NUM): Update.
33681 2012-08-08 Joseph Myers <joseph@codesourcery.com>
33683 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
33686 2012-08-08 Roland McGrath <roland@hack.frob.com>
33688 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
33690 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
33691 sysdeps/unix -> sysdeps/posix move.
33692 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33694 2012-08-07 Allan McRae <allan@archlinux.org>
33697 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
33698 (SUNOS_CPP): Likewise.
33699 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
33701 (open_input): Call CPP using execvp.
33703 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33705 * sysdeps/unix/sysv/linux/kernel-features.h
33706 (__ASSUME_PROT_GROWSUPDOWN): Remove.
33707 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33708 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33709 (__ASSUME_WAITID_SYSCALL): Likewise.
33710 * sysdeps/unix/sysv/linux/dl-execstack.c
33711 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
33712 code unconditional.
33713 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
33715 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
33716 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
33717 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
33719 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
33721 [__ASSUME_WAITID_SYSCALL]: Likewise.
33722 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
33724 2012-08-07 Roland McGrath <roland@hack.frob.com>
33726 * sysdeps/unix/closedir.c: Renamed to ...
33727 * sysdeps/posix/closedir.c: ... here.
33728 * sysdeps/unix/dirfd.c: Renamed to ...
33729 * sysdeps/posix/dirfd.c: ... here.
33730 * sysdeps/unix/dirstream.h: Renamed to ...
33731 * sysdeps/posix/dirstream.h: ... here.
33732 * sysdeps/unix/fdopendir.c: Renamed to ...
33733 * sysdeps/posix/fdopendir.c: ... here.
33734 * sysdeps/unix/opendir.c: Renamed to ...
33735 * sysdeps/posix/opendir.c: ... here.
33736 * sysdeps/unix/readdir.c: Renamed to ...
33737 * sysdeps/posix/readdir.c: ... here.
33738 * sysdeps/unix/readdir_r.c: Renamed to ...
33739 * sysdeps/posix/readdir_r.c: ... here.
33740 * sysdeps/unix/rewinddir.c: Renamed to ...
33741 * sysdeps/posix/rewinddir.c: ... here.
33742 * sysdeps/unix/seekdir.c: Renamed to ...
33743 * sysdeps/posix/seekdir.c: ... here.
33744 * sysdeps/unix/telldir.c: Renamed to ...
33745 * sysdeps/posix/telldir.c: ... here.
33746 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
33747 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
33748 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
33749 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
33751 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
33752 * bits/fcntl.h: ... here.
33754 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
33756 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
33757 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
33758 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
33759 (struct flock): Move l_start, l_len to the beginning.
33760 Use __pid_t for l_pid.
33761 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
33762 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
33763 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
33764 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
33765 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
33766 [__USE_LARGEFILE64] (struct flock64): New type.
33767 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
33769 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
33770 * bits/dirent.h: ... here.
33772 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
33773 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
33775 2012-08-07 Joseph Myers <joseph@codesourcery.com>
33777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33778 Change from 2.6.0 to 2.6.16.
33779 * sysdeps/unix/sysv/linux/configure: Regenerated.
33780 * sysdeps/unix/sysv/linux/kernel-features.h
33781 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
33782 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
33784 (__ASSUME_UTIMES): Likewise.
33785 (__ASSUME_CLONE_STOPPED): Remove.
33786 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
33787 architectures, not kernel version.
33788 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
33789 (__ASSUME_NO_CLONE_DETACHED): Likewise.
33790 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
33791 (__ASSUME_WAITID_SYSCALL): Likewise.
33792 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
33793 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
33794 * README: State 2.6.16 as minimum Linux kernel version. Do not
33795 refer to older versions.
33797 2012-08-06 Roland McGrath <roland@hack.frob.com>
33799 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
33800 Define alphasort64 as an alias.
33801 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
33802 Define versionsort64 as an alias.
33803 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
33804 Define scandir64 as an alias.
33805 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
33806 Define scandirat64 as an alias.
33807 * dirent/alphasort64.c (alphasort64):
33808 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
33809 * dirent/versionsort64.c: Likewise.
33810 * dirent/scandir64.c: Likewise.
33811 * dirent/scandirat64.c: Likewise.
33812 * sysdeps/wordsize-64/alphasort.c: File removed.
33813 * sysdeps/wordsize-64/alphasort64.c: File removed.
33814 * sysdeps/wordsize-64/scandir.c: File removed.
33815 * sysdeps/wordsize-64/scandir64.c: File removed.
33816 * sysdeps/wordsize-64/scandirat.c: File removed.
33817 * sysdeps/wordsize-64/scandirat64.c: File removed.
33818 * sysdeps/wordsize-64/versionsort.c: File removed.
33819 * sysdeps/wordsize-64/versionsort64.c: File removed.
33820 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
33821 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
33822 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
33823 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
33824 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
33825 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
33826 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
33827 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
33829 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
33830 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33831 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
33832 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33833 [defined __arch64__ || defined __sparcv9]
33834 (__INO_T_MATCHES_INO64_T): New macro.
33835 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33836 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
33837 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
33838 * sysdeps/unix/sysv/linux/bits/dirent.h
33839 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
33840 (_DIRENT_MATCHES_DIRENT64): New macro.
33842 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
33843 Define lockf64 as an alias.
33844 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
33845 Define fseeko64 as an alias.
33846 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
33847 Define ftello64 as an alias.
33848 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
33849 Define _IO_fgetpos64 and fgetpos64 as aliases.
33850 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
33851 Define _IO_fsetpos64 and fsetpos64 as aliases.
33852 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
33853 Conditionalize body on this.
33854 * libio/fseeko64.c: Likewise.
33855 * libio/ftello64.c: Likewise.
33856 * libio/iofgetpos64.c: Likewise.
33857 * libio/iofsetpos64.c: Likewise.
33858 * sysdeps/wordsize-64/lockf.c: File removed.
33859 * sysdeps/wordsize-64/lockf64.c: File removed.
33860 * sysdeps/wordsize-64/fseeko.c: File removed.
33861 * sysdeps/wordsize-64/fseeko64.c: File removed.
33862 * sysdeps/wordsize-64/ftello.c: File removed.
33863 * sysdeps/wordsize-64/ftello64.c: File removed.
33864 * sysdeps/wordsize-64/iofgetpos.c: File removed.
33865 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
33866 * sysdeps/wordsize-64/iofsetpos.c: File removed.
33867 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
33868 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
33869 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
33870 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
33871 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
33872 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
33873 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
33874 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
33875 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
33876 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
33877 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
33879 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33880 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
33881 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
33882 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33883 [defined __arch64__ || defined __sparcv9]
33884 (__OFF_T_MATCHES_OFF64_T): New macro.
33885 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33886 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
33887 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33888 (__OFF_T_MATCHES_OFF64_T): New macro.
33890 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33892 * stdlib/secure-getenv.c (__secure_getenv): Replace
33893 GLIBC_2_16 with GLIBC_2_17.
33895 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
33897 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
33898 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33900 2012-08-03 David S. Miller <davem@davemloft.net>
33902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33904 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33906 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
33908 (__ASSUME_CORRECT_SI_PID): Likewise.
33909 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
33910 (__ASSUME_TMPFS_NAME): Likewise.
33911 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
33912 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
33913 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
33914 (HAVE_AUX_SECURE): Make definition unconditional.
33915 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
33916 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
33918 2012-08-03 Roland McGrath <roland@hack.frob.com>
33920 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
33921 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
33922 * sysdeps/mach/hurd/eloop-threshold.h: New file.
33923 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33924 __eloop_threshold instead of SYMLOOP_MAX.
33926 * sysdeps/generic/eloop-threshold.h: New file.
33927 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
33929 * elf/chroot_canon.c (chroot_canon): Likewise.
33931 2012-08-03 Joseph Myers <joseph@codesourcery.com>
33934 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
33935 Change to 2.6.0 everywhere.
33936 * sysdeps/unix/sysv/linux/configure: Regenerated.
33937 * sysdeps/unix/sysv/linux/kernel-features.h
33938 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
33939 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
33941 (__ASSUME_POSIX_TIMERS): Define unconditionally.
33942 (__ASSUME_FUTEX_REQUEUE): Remove.
33943 (__ASSUME_STATFS64): Define unconditionally.
33944 (__ASSUME_AT_SECURE): Likewise.
33945 (__ASSUME_CORRECT_SI_PID): Likewise.
33946 (__ASSUME_TGKILL): Define without depending on kernel version for
33948 (__ASSUME_UTIMES): Likewise.
33949 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
33951 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
33952 (__ASSUME_TMPFS_NAME): Likewise.
33953 * README: Update reference to Linux kernel versions.
33955 2012-08-02 Marek Polacek <polacek@redhat.com>
33958 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
33959 libc_cv_asm_type_prefix with %.
33960 * configure: Regenerated.
33961 * include/libc-symbols.h: Remove comment about
33962 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33963 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
33964 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
33965 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
33966 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
33967 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
33968 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
33969 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
33970 * elf/tst-unique2mod1.c: Likewise.
33971 * elf/tst-unique1mod2.c: Likewise.
33972 * elf/tst-unique1mod1.c: Likewise.
33973 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
33974 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
33975 Replace ASM_TYPE_DIRECTIVE with .type.
33976 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33977 * sysdeps/i386/sysdep.h: Likewise.
33978 * sysdeps/x86_64/sysdep.h: Likewise.
33979 * sysdeps/sh/sysdep.h: Likewise.
33980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33981 Do not define ASM_TYPE_DIRECTIVE.
33982 * sysdeps/powerpc/sysdep.h: Likewise.
33983 * sysdeps/powerpc/powerpc32/sysdep.h:
33984 Replace ASM_TYPE_DIRECTIVE with .type.
33985 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
33986 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33987 * sysdeps/i386/fpu/e_powf.S: Likewise.
33988 * sysdeps/i386/fpu/e_expl.S: Likewise.
33989 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33990 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33991 * sysdeps/i386/fpu/e_pow.S: Likewise.
33992 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
33993 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33994 * sysdeps/i386/fpu/s_expm1.S: Likewise.
33995 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
33996 * sysdeps/i386/fpu/e_log2.S: Likewise.
33997 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33998 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33999 * sysdeps/i386/fpu/e_powl.S: Likewise.
34000 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34001 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34002 * sysdeps/i386/fpu/e_logl.S: Likewise.
34003 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34004 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34005 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34006 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34007 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34008 * sysdeps/i386/fpu/e_log.S: Likewise.
34009 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34010 * sysdeps/i386/fpu/e_logf.S: Likewise.
34011 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34012 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34013 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34014 * sysdeps/i386/fpu/e_log10.S: Likewise.
34015 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34016 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34017 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34018 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34019 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34020 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34021 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34022 * sysdeps/i386/i686/strtok.S: Likewise.
34023 * sysdeps/i386/i386-mcount.S: Likewise.
34024 * sysdeps/i386/strtok.S: Likewise.
34025 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34026 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34027 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34028 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34029 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34030 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34031 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34032 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34033 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34034 * sysdeps/x86_64/_mcount.S: Likewise.
34035 * sysdeps/x86_64/strtok.S: Likewise.
34036 * sysdeps/sh/_mcount.S: Likewise.
34038 2012-08-01 Roland McGrath <roland@hack.frob.com>
34040 * libio/iofopen.c: Include <fcntl.h>.
34041 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34042 (_IO_fopen64, fopen64): Define as aliases.
34043 * libio/iofopen64.c: Include <fcntl.h>.
34044 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34045 Conditionalize body on this.
34046 * sysdeps/wordsize-64/iofopen.c: File removed.
34047 * sysdeps/wordsize-64/iofopen64.c: File removed.
34049 2012-08-01 Marek Polacek <polacek@redhat.com>
34051 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34052 Use dlfcn directly instead of a variable.
34053 (binfmt-subdir): Do not define.
34056 2012-08-01 Joseph Myers <joseph@codesourcery.com>
34058 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34059 Remove all definitions.
34060 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34061 <kernel-features.h>.
34062 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34063 (miss_F_GETOWN_EX): Remove all definitions.
34064 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34066 [!__ASSUME_FCNTL64]: Remove conditional code.
34067 [__ASSUME_FCNTL64]: Make code unconditional.
34068 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34069 <kernel-features.h>.
34070 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34071 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34072 (lockf64) [__NR_fcntl64]: Make code unconditional.
34073 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34075 * sysdeps/unix/sysv/linux/kernel-features.h
34076 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34077 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34078 Make code unconditional.
34079 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34080 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34082 [__NR_vfork]: Make code unconditional.
34083 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34084 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34086 [__NR_vfork]: Make code unconditional.
34087 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34088 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34090 2012-08-01 Roland McGrath <roland@hack.frob.com>
34092 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34093 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34095 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34096 Define mkstemp64 as an alias.
34097 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34098 Define mkstemps64 as an alias.
34099 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34100 Define mkostemp64 as an alias.
34101 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34102 Define mkostemps64 as an alias.
34103 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34104 Conditionalize body on this.
34105 * misc/mkostemp64.c: Likewise.
34106 * misc/mkostemps64.c: Likewise.
34107 * misc/mkstemps64.c: Likewise.
34108 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34109 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34110 * sysdeps/wordsize-64/mkostemp.c: File removed.
34111 * sysdeps/wordsize-64/mkstemp.c: File removed.
34112 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34118 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34119 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34120 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34121 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34123 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34124 compat_symbol macros from <shlib-compat.h> rather than the underlying
34125 default_symbol_version and symbol_version macros, so that DEFAULT
34126 lines in shlib-versions are respected.
34127 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34129 2012-08-01 Florian Weimer <fweimer@redhat.com>
34131 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34132 Declare with warn_unused_result.
34133 (setgid, setregid, setegid, setresgid): Likewise.
34134 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34136 * WUR-REPORT: Remove set*id functions.
34138 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34140 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34142 2012-07-31 Roland McGrath <roland@hack.frob.com>
34145 * include/sys/socket.h (__libc_accept, __libc_accept4):
34146 Add attribute_hidden.
34147 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34149 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34151 * inet/getnetgrent_r.c (setup): Likewise.
34153 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34155 2012-07-31 David S. Miller <davem@davemloft.net>
34157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34159 2012-07-31 Joseph Myers <joseph@codesourcery.com>
34162 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34163 value between 1.0 and 2.0 and smaller part has absolute value less
34165 * math/s_clog10.c (__clog10): Likewise.
34166 * math/s_clog10f.c (__clog10f): Likewise.
34167 * math/s_clog10l.c (__clog10l): Likewise.
34168 * math/s_clogf.c (__clogf): Likewise.
34169 * math/s_clogl.c (__clogl): Likewise.
34170 * math/libm-test.inc (clog_test): Add more tests.
34171 (clog10_test): Likewise.
34172 * sysdeps/i386/fpu/libm-test-ulps: Update.
34173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175 2012-07-31 Florian Weimer <fweimer@redhat.com>
34177 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34178 Exit with zero in case no suitable GID is found, and write a
34179 message to standard error.
34181 2012-07-30 Roland McGrath <roland@hack.frob.com>
34183 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34185 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34186 (MAXPATHLEN): Removed.
34187 (NOGROUP, NODEV): New macros.
34188 (setbit, clrbit, isset, isclr): New macros.
34189 (howmany, roundup, powerof2): New macros.
34190 (DEV_BSIZE): New macro.
34192 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34193 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34195 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34196 definition on [!__NO_LONG_DOUBLE_MATH].
34198 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34199 PTR_MANGLE and PTR_DEMANGLE.
34201 * socket/accept4.c (accept4): Rename to __libc_accept4.
34202 Define accept4 as a weak alias.
34204 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34205 on [_DIRENT_HAVE_D_TYPE].
34206 * io/ftw.c (ftw_dir): Likewise.
34208 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34210 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34212 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34213 Use the BSD numbers rather than the arbitrary ones we had.
34214 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34215 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34216 (SIGXCPU, SIGXFSZ): New macros.
34219 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34220 initializer on [_LIBC_REENTRANT].
34222 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34223 definitions inside [_POSIX_MAPPED_FILES].
34225 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34227 * dirent/opendir.c: Include <fcntl.h>.
34229 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34230 (__libc_getspecific): Likewise.
34231 (__libc_key_create): Likewise.
34233 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34234 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34235 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34236 (tmpfile64): Define as alias.
34237 * sysdeps/wordsize-64/tmpfile.c: File removed.
34238 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34240 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34242 * stdio-common/vfscanf.c: Include <stdbool.h>.
34243 * nss/makedb.c: Likewise.
34244 * stdio-common/_i18n_number.h: Likewise.
34245 * argp/argp-help.c: Likewise.
34246 * posix/wordexp.c: Likewise.
34247 * sysdeps/posix/spawni.c: Likewise.
34248 * nss/nss_files/files-initgroups.c: Likewise.
34249 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34250 * nss/nss_files/files-initgroups.c: Likewise.
34251 * nss/nss_db/db-netgrp.c: Likewise.
34252 * nss/nss_db/db-initgroups.c: Likewise.
34253 * io/fchmodat.c: Include <sys/stat.h>.
34255 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34256 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34258 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34261 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34262 Add multiple inclusion protection.
34264 2012-07-27 David S. Miller <davem@davemloft.net>
34266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34268 2012-07-27 Gary Benson <gbenson@redhat.com>
34271 * elf/rtld.c: Include <stap-probe.h>.
34272 (dl_main): Added static probes "init_start" and "init_complete".
34273 * elf/dl-load.c: Include <stap-probe.h>.
34274 (lose): Take new parameter "nsid".
34275 Added static probe "map_failed".
34276 (_dl_map_object_from_fd): Pass namespace id to lose.
34277 Added static probe "map_start".
34278 (open_verify): Pass namespace id to lose.
34279 * elf/dl-open.c: Include <stap-probe.h>.
34280 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34281 and "reloc_complete".
34282 * elf/dl-close.c: Include <stap-probe.h>.
34283 (_dl_close_worker): Added static probes "unmap_start" and
34285 * elf/rtld-debugger-interface.txt: New file documenting the above.
34287 2012-07-26 Roland McGrath <roland@hack.frob.com>
34289 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34290 rather than a string variable.
34291 * sunrpc/rpc_main.c (h_output): Likewise.
34292 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
34294 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
34296 * inet/check_native.c: New file.
34298 2012-07-26 Joseph Myers <joseph@codesourcery.com>
34301 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
34302 if larger part has absolute value 1.0.
34303 * math/s_clog10.c (__clog10): Likewise.
34304 * math/s_clog10f.c (__clog10f): Likewise.
34305 * math/s_clog10l.c (__clog10l): Likewise.
34306 * math/s_clogf.c (__clogf): Likewise.
34307 * math/s_clogl.c (__clogl): Likewise.
34308 * math/libm-test.inc (clog_test): Add more tests.
34309 (clog10_test): Likewise.
34310 * sysdeps/i386/fpu/libm-test-ulps: Update.
34311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34313 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
34314 (pltexit): Likewise.
34315 (La_regs): Likewise.
34316 (La_retval): Likewise.
34317 (int_retval): Likewise.
34318 Update #error for removed macros to refer only to definitions in
34320 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
34322 (pltexit): Likewise.
34323 (La_regs): Likewise.
34324 (La_retval): Likewise.
34325 (int_retval): Likewise.
34326 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
34328 (pltexit): Likewise.
34329 (La_regs): Likewise.
34330 (La_retval): Likewise.
34331 (int_retval): Likewise.
34332 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
34334 (pltexit): Likewise.
34335 (La_regs): Likewise.
34336 (La_retval): Likewise.
34337 (int_retval): Likewise.
34338 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
34340 (pltexit): Likewise.
34341 (La_regs): Likewise.
34342 (La_retval): Likewise.
34343 (int_retval): Likewise.
34344 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
34346 (pltexit): Likewise.
34347 (La_regs): Likewise.
34348 (La_retval): Likewise.
34349 (int_retval): Likewise.
34350 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
34352 (pltexit): Likewise.
34353 (La_regs): Likewise.
34354 (La_retval): Likewise.
34355 (int_retval): Likewise.
34356 * sysdeps/generic/tst-audit.h: Update comment to refer only to
34357 macro definitions in tst-audit.h.
34358 * sysdeps/i386/tst-audit.h: New file.
34359 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
34360 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
34361 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
34362 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
34363 * sysdeps/sh/tst-audit.h: Likewise.
34364 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
34365 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
34366 * sysdeps/x86_64/tst-audit.h: Likewise.
34368 2012-07-26 Andreas Jaeger <aj@suse.de>
34370 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
34373 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
34374 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
34375 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
34377 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
34378 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
34379 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
34381 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
34384 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
34386 (si_call_addr, si_syscall, si_arch): Define new macro.
34387 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
34389 (si_call_addr, si_syscall, si_arch): Define new marcro.
34390 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
34392 (si_call_addr, si_syscall, si_arch): Define new macro.
34393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
34395 (si_call_addr, si_syscall, si_arch): Define new macro.
34397 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34401 Change to 2.4.21 where previously 2.4.1.
34402 * sysdeps/unix/sysv/linux/configure: Regenerated.
34403 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
34404 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
34405 Linux kernel version.
34406 (__ASSUME_STD_AUXV): Remove.
34407 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
34409 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
34410 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
34411 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
34412 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
34413 (__ASSUME_NETLINK_SUPPORT): Likewise.
34414 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
34415 (__no_netlink_support): Remove conditional definition.
34416 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
34418 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34419 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
34420 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
34421 (if_nameindex_ioctl): Remove.
34422 (if_nameindex_netlink): Do not handle __no_netlink_support.
34423 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34425 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
34426 Remove conditional code.
34427 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
34429 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
34431 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
34432 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
34433 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
34435 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
34436 [!__ASSUME_STD_AUXV]: Remove conditional code.
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
34438 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
34439 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
34440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
34441 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
34442 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34444 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
34446 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
34447 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34449 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
34450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
34451 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
34453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
34454 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
34456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
34457 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34458 code unconditional.
34459 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34461 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34463 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34466 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34468 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
34471 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34472 code unconditional.
34473 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34475 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34477 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
34480 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
34481 code unconditional.
34482 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34484 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
34486 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
34489 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
34491 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
34492 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
34493 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34494 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
34495 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
34496 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34497 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34498 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
34499 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
34500 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34501 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
34502 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
34503 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
34504 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34505 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
34506 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
34507 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
34508 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
34509 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
34510 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
34511 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
34512 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
34513 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
34515 2012-07-25 Florian Weimer <fweimer@redhat.com>
34517 * Versions.def: Add GLIBC_2.17.
34518 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
34519 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
34520 Introduce __libc_secure_getenv.
34521 * stdlib/Versions (2.17): Add secure_getenv
34522 (GLIBC_PRIVATE): Add __libc_secure_getenv.
34523 * stdlib/secure-getenv.c: Rename __secure_getenv to
34524 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
34525 symbol __secure_getenv for GLIBC_2.0.
34526 * stdlib/tst-secure-getenv.c: New.
34527 * stdlib/Makefile (tests): Add testcase.
34528 * manual/startup.texi (Environment Access): Document
34530 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
34531 __libc_secure_getenv.
34532 * inet/ruserpass.c (ruserpass): Likewise.
34533 * malloc/mtrace.c (mtrace): Likewise.
34534 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
34535 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
34536 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
34537 * sysdeps/posix/tempname.c: Likewise. Evaluate
34538 HAVE_SECURE_GETENV.
34539 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
34540 __secure_getenv to __libc_secure_getenv.
34541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34548 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34554 2012-07-25 Joseph Myers <joseph@codesourcery.com>
34556 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
34557 (struct La_i86_retval): Likewise.
34558 (struct La_x86_64_regs): Likewise.
34559 (struct La_x86_64_retval): Likewise.
34560 (struct La_x32_regs): Likewise.
34561 (struct La_x32_retval): Likewise.
34562 (struct La_ppc32_regs): Likewise.
34563 (struct La_ppc32_retval): Likewise.
34564 (struct La_ppc64_regs): Likewise.
34565 (struct La_ppc64_retval): Likewise.
34566 (struct La_sh_regs): Likewise.
34567 (struct La_sh_retval): Likewise.
34568 (struct La_s390_32_regs): Likewise.
34569 (struct La_s390_32_retval): Likewise.
34570 (struct La_s390_64_regs): Likewise.
34571 (struct La_s390_64_retval): Likewise.
34572 (struct La_sparc32_regs): Likewise.
34573 (struct La_sparc32_retval): Likewise.
34574 (struct La_sparc64_regs): Likewise.
34575 (struct La_sparc64_retval): Likewise.
34576 (struct audit_ifaces): Remove architecture-specific pltenter and
34578 * sysdeps/i386/ldsodefs.h: New file.
34579 * sysdeps/powerpc/ldsodefs.h: Likewise.
34580 * sysdeps/s390/ldsodefs.h: Likewise.
34581 * sysdeps/sh/ldsodefs.h: Likewise.
34582 * sysdeps/sparc/ldsodefs.h: Likewise.
34583 * sysdeps/x86_64/ldsodefs.h: Likewise.
34585 2012-07-25 Marek Polacek <polacek@redhat.com>
34588 * math/libm-test.inc (yn_test): Add another test.
34589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
34590 to ERANGE when the result is +-Inf.
34591 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
34592 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34593 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
34594 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
34596 2012-07-24 Joseph Myers <joseph@codesourcery.com>
34598 * conform/data/time.h-data (NULL): Use macro-constant. Require
34600 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
34602 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
34604 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
34606 * configure.in <sysdeps resolving>: Correct printing
34608 * configure: Regenerate.
34610 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
34612 * math/w_ilogb.c: Include <limits.h>.
34613 * math/w_ilogbl.c: Likewise.
34615 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34617 * manual/lang.texi (__va_copy): Document primarily as ISO C99
34618 va_copy. Document allowing for unavailable va_copy only as
34619 pre-C99 compatibility.
34620 * manual/string.texi (Copying and Concatenation): Use va_copy
34621 instead of __va_copy in concat example.
34623 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
34625 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
34626 (__sendto): Use create_address_port. Initialize APORT and deallocate
34629 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
34630 with O_NOLINK passed to __file_name_lookup.
34632 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
34633 with O_NOLINK passed to __file_name_lookup.
34635 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
34636 negative N or less than NGIDS.
34638 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
34639 type to string_t. Set ERANGE as errno and return it if NAME is not big
34640 enough. Use memcpy instead of strncpy.
34642 2012-07-20 Joseph Myers <joseph@codesourcery.com>
34644 * elf/Makefile (check-data): Remove.
34645 (localplt.data): New vpath directive.
34646 ($(objpfx)check-localplt.out): Use localplt.data from vpath
34647 instead of $(check-data).
34648 * scripts/data/localplt-generic.data: Move to ...
34649 * sysdeps/generic/localplt.data: ... here.
34650 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
34651 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
34652 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
34653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34655 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
34656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34658 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
34659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
34661 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
34662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34664 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
34665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
34667 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
34668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
34671 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34673 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
34674 PPC32 and PPC64 files.
34675 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
34676 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
34678 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34680 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
34681 __makecontext_ret to ...
34682 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34683 ... here and call exit if uc_link is NULL. New file.
34684 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
34685 __makecontext_ret.S.
34686 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
34687 __makecontext_ret to ...
34688 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34689 ... here and call exit if uc_link is NULL. New file.
34690 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
34691 __makecontext_ret.S.
34693 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34695 * elf/elf.h (R_390_IRELATIVE): New definition.
34696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
34697 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
34698 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
34699 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34700 (elf_machine_lazy_rel): Likewise.
34701 * sysdeps/s390/dl-irel.h: New file.
34702 * sysdeps/s390/s390-64/memcpy.S: New asm code.
34703 * sysdeps/s390/s390-64/memset.S: New asm code.
34704 * sysdeps/s390/s390-64/memcmp.S: New asm code.
34705 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
34706 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
34707 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
34708 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
34709 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
34710 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
34711 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
34712 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
34713 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
34714 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
34715 * sysdeps/s390/s390-32/memcpy.S: New asm code.
34716 * sysdeps/s390/s390-32/memset.S: New asm code.
34717 * sysdeps/s390/s390-32/memcmp.S: New asm code.
34719 2012-07-17 Marek Polacek <polacek@redhat.com>
34722 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
34723 * sysdeps/s390/s390-64/configure.in: Likewise.
34724 * sysdeps/sparc/configure.in: Likewise.
34725 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
34726 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
34727 * sysdeps/i386/configure.in: Likewise.
34728 * sysdeps/x86_64/configure.in: Likewise.
34729 * sysdeps/sh/configure.in: Likewise.
34730 * sysdeps/s390/s390-32/configure: Regenerated.
34731 * sysdeps/s390/s390-64/configure: Likewise.
34732 * sysdeps/x86_64/configure: Likewise.
34733 * sysdeps/sh/configure: Likewise.
34734 * sysdeps/powerpc/powerpc64/configure: Likewise.
34735 * sysdeps/powerpc/powerpc32/configure: Likewise.
34736 * sysdeps/sparc/configure: Likwise.
34737 * sysdeps/i386/configure: Likewise.
34739 * elf/dl-open.c: Comment fixes.
34741 2012-07-17 Joseph Myers <joseph@codesourcery.com>
34743 * Makefile [CXX] (check-data): Remove.
34744 [CXX] (c++-types.data): New vpath directive.
34745 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
34746 vpath. Do not allow for C++ type data being missing.
34747 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
34748 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
34749 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
34750 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
34751 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
34752 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
34753 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
34754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34756 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
34757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34759 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
34760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
34762 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
34763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
34765 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
34766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
34768 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
34769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
34771 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
34772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
34774 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
34775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
34777 * elf/tls-macros.h (TLS_LE): Move architecture-specific
34778 definitions to architecture-specific files.
34779 (TLS_IE): Likewise.
34780 (TLS_LD): Likewise.
34781 (TLS_GD): Likewise.
34782 * sysdeps/i386/tls-macros.h: New file.
34783 * sysdeps/powerpc/tls-macros.h: Likewise.
34784 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
34785 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
34786 * sysdeps/sh/tls-macros.h: Likewise.
34787 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
34788 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
34789 * sysdeps/x86_64/tls-macros.h: Likewise.
34791 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34793 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
34794 zero value for regular exit case.
34796 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
34797 (__start_context): Preserve zero value for regular exit case.
34799 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
34800 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34802 * manual/setjmp.texi (setcontext): Clarify normal process
34803 termination when uc_link is the null pointer.
34804 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
34807 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
34809 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
34810 preprocessor. Test for each exception mask separately.
34812 2012-07-16 Andreas Jaeger <aj@suse.de>
34814 * po/ru.po: Update from translation team.
34816 2012-07-15 Joseph Myers <joseph@codesourcery.com>
34818 * conform/data/string.h-data (NULL): Use macro-constant. Require
34820 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34821 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34822 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
34823 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
34824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34826 2012-07-13 Andreas Jaeger <aj@suse.de>
34828 * po/fr.po: Update from translation team.
34830 2012-07-12 Marek Polacek <polacek@redhat.com>
34833 * math/libm-test.inc (yn_test): Add test for BZ #14173.
34834 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
34837 2012-07-12 Joseph Myers <joseph@codesourcery.com>
34840 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34841 Change to 2.4.1 where previously 2.4.0.
34842 * sysdeps/unix/sysv/linux/configure: Regenerated.
34843 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
34844 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
34846 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
34847 (__ASSUME_AT_CLKTCK): Remove.
34848 (__ASSUME_AT_PAGESIZE): Likewise.
34849 (__ASSUME_AT_XID): Likewise.
34850 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
34851 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
34852 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
34854 (HAVE_AUX_PAGESIZE): Likewise.
34855 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
34856 [__ASSUME_AT_CLKTCK]: Make code unconditional.
34857 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
34859 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
34862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
34863 the temporary buffer used to invoke __gethostbyname2_r,
34864 __gethostbyaddr_r and gethostbyname4_r to make room for struct
34865 host_data / struct gaih_addrtuple.
34866 * resolv/nss_dns/dns-host.c (global scope): Move definition of
34867 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
34868 header file nss/nsswitch.h.
34869 * nss/nsswitch.h (global scope): Add definition of implementation
34870 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
34871 resolv/nss_dns/dns-host.c).
34873 2012-07-11 Andreas Jaeger <aj@suse.de>
34875 * po/fr.po: Update from translation team.
34877 * po/sv.po: Update from translation team
34878 * po/fr.po: Another update from translation team.
34880 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
34883 for subnormals or multiply small sinh result by itself.
34884 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34887 2012-07-11 David S. Miller <davem@davemloft.net>
34889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34891 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
34894 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
34895 (INTERNAL_MARK): Shift it here.
34897 2012-07-10 Marek Polacek <polacek@redhat.com>
34900 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
34901 libc_cv_asm_global_directive with .globl.
34902 * configure: Regenerated.
34903 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
34905 * sysdeps/i386/configure: Regenerated.
34906 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
34908 * sysdeps/x86_64/configure: Regenerated.
34909 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
34910 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
34911 * elf/tst-unique2mod2.c: Likewise.
34912 * elf/tst-unique2mod1.c: Likewise.
34913 * elf/tst-unique1mod2.c: Likewise.
34914 * elf/tst-unique1mod1.c: Likewise.
34915 * sysdeps/s390/s390-32/sysdep.h: Likewise.
34916 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34917 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34918 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34919 * sysdeps/mach/sysdep.h: Likewise.
34920 * sysdeps/i386/sysdep.h: Likewise.
34921 * sysdeps/i386/i386-mcount.S: Likewise.
34922 * sysdeps/x86_64/_mcount.S: Likewise.
34923 * sysdeps/x86_64/sysdep.h: Likewise.
34924 * sysdeps/sh/_mcount.S: Likewise.
34925 * sysdeps/sh/sysdep.h: Likewise.
34926 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
34927 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
34928 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
34929 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34930 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
34931 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
34932 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
34933 * locale/localeinfo.h: Likewise.
34934 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
34935 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
34937 2012-07-09 Roland McGrath <roland@hack.frob.com>
34940 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
34942 * manual/message.texi (The Uniforum approach): Likewise.
34943 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
34944 (glibc iconv Implementation): Likewise.
34946 2012-07-09 Joseph Myers <joseph@codesourcery.com>
34949 * math/s_clog.c (__clog): Avoid scaling a value down where that
34950 could result in underflow.
34951 * math/s_clog10.c (__clog10): Likewise.
34952 * math/s_clog10f.c (__clog10f): Likewise.
34953 * math/s_clog10l.c (__clog10l): Likewise.
34954 * math/s_clogf.c (__clogf): Likewise.
34955 * math/s_clogl.c (__clogl): Likewise.
34956 * math/libm-test.inc (clog_test): Add more tests.
34957 (clog10_test): Likewise.
34958 * sysdeps/i386/fpu/libm-test-ulps: Update.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34961 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
34964 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
34965 by 7 not 8 to examine high bit of fractional part.
34968 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
34969 for call to __mcount_internal.
34970 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
34971 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
34972 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
34974 2012-07-06 Joseph Myers <joseph@codesourcery.com>
34977 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
34978 approximation for values within 0x1p-13f of an odd multiple of
34980 * math/libm-test.inc (tan_test): Do not allow spurious underflow
34981 exception. Add more tests.
34982 * sysdeps/i386/fpu/libm-test-ulps: Update.
34985 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
34986 inputs and return -1 for them. Do not check for +Inf in case not
34987 reachable for +Inf.
34988 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
34989 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
34990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34991 and return -1 for them. Do not check for +Inf in case not
34992 reachable for +Inf.
34993 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
34995 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
34996 and return -1 for them. Do not check for +Inf in case not
34997 reachable for +Inf.
34998 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
34999 spurious underflow.
35000 * sysdeps/i386/fpu/libm-test-ulps: Update.
35001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35003 2012-07-06 Mike Frysinger <vapier@gentoo.org>
35005 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35007 2012-07-05 Joseph Myers <joseph@codesourcery.com>
35011 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35012 could result in spurious underflow. Scale down values above
35013 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35014 * math/s_csqrtf.c (__csqrtf): Likewise.
35015 * math/s_csqrtl.c (__csqrtl): Likewise.
35016 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35017 spurious underflow.
35018 * sysdeps/i386/fpu/libm-test-ulps: Update.
35019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35021 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35023 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35025 * catgets/xopen-msg.awk: New file.
35026 * catgets/xopen-msg.sed: Removed.
35028 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35030 * intl/po2test.awk: New file.
35031 * intl/po2test.sed: Removed.
35033 2012-07-04 Joseph Myers <joseph@codesourcery.com>
35036 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35037 or multiply small sinh result by itself.
35038 * math/s_ctanf.c (__ctanf): Likewise.
35039 * math/s_ctanh.c (__ctanh): Likewise.
35040 * math/s_ctanhf.c (__ctanhf): Likewise.
35041 * math/s_ctanhl.c (__ctanhl): Likewise.
35042 * math/s_ctanl.c (__ctanl): Likewise.
35043 * math/libm-test.inc (ctan_test_tonearest): New function.
35044 (ctan_test_towardzero): Likewise.
35045 (ctan_test_downward): Likewise.
35046 (ctan_test_upward): Likewise.
35047 (ctanh_test_tonearest): Likewise.
35048 (ctanh_test_towardzero): Likewise.
35049 (ctanh_test_downward): Likewise.
35050 (ctanh_test_upward): Likewise.
35051 (main): Call these new functions.
35052 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35055 2012-07-03 Mike Frysinger <vapier@gentoo.org>
35057 * .gitignore: Delete /ports entry.
35059 2012-07-03 Andreas Jaeger <aj@suse.de>
35061 * po/bg.po: Update from translation team.
35062 * po/cs.po: Likewise.
35063 * po/de.po: Likewise.
35064 * po/hr.po: Likewise.
35065 * po/nl.pl: Likewise.
35066 * po/pl.po: Likewise.
35067 * po/vi.po: Likewise.
35069 2012-07-03 Joseph Myers <joseph@codesourcery.com>
35071 * Makeconfig [!+link] (+link-before-libc): New variable.
35072 [!+link] (+link-after-libc): Likewise.
35073 [!+link] (+link-tests): Likewise.
35074 [!+link] (+link): Define in terms of $(+link-before-libc) and
35075 $(+link-after-libc).
35076 [!+link-static] (+link-static-before-libc): New variable.
35077 [!+link-static] (+link-static-after-libc): Likewise.
35078 [!+link-static] (+link-static-tests): Likewise.
35079 [!+link-static] (+link-static): Define in terms of
35080 $(+link-static-before-libc) and $(+link-static-after-libc).
35081 [build-shared] (link-libc-before-gnulib): New variable.
35082 [build-shared] (link-libc-tests): Likewise.
35083 [build-shared] (link-libc): Define in terms of
35084 $(link-libc-before-gnulib).
35085 [!build-shared] (link-libc-tests): New variable.
35086 (link-libc-static-tests): New variable.
35087 [!gnulib] (gnulib-arch): New variable.
35088 [!gnulib] (gnulib-tests): Likewise.
35089 [!gnulib] (static-gnulib-arch): Likewise.
35090 [!gnulib] (static-gnulib-tests): Likewise.
35091 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35092 Define with "=" instead of ":=".
35093 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35094 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35095 * Rules (binaries-all-notests): New variable.
35096 (binaries-all-tests): Likewise.
35097 (binaries-static-notests): Likewise.
35098 (binaries-static-tests): Likewise.
35099 (binaries-all): Define using $(binaries-all-notests) and
35100 $(binaries-all-tests).
35101 (binaries-static): Define using $(binaries-static-notests) and
35102 $(binaries-static-tests).
35103 (binaries-shared-tests): New variable.
35104 (binaries-shared-notests): Likewise.
35105 (binaries-shared): Remove variable.
35106 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35107 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35108 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35109 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35110 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35111 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35112 * elf/Makefile (sln-modules): New variable.
35113 (extra-objs): Add $(sln-modules:=.o).
35114 (ldconfig-modules): Add static-stubs.
35115 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35116 * elf/static-stubs.c: New file.
35119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35120 by 7 not 8 to examine high bit of fractional part. Use volatile
35121 variables when splitting into final array of floats if
35122 __FLT_EVAL_METHOD__ != 0.
35123 * math/libm-test.inc (cos_test): Add another test.
35124 (sin_test): Likewise.
35125 * sysdeps/i386/fpu/libm-test-ulps: Update.
35128 * math/libm-test.inc (cosh_test): Add more tests.
35130 * version.h (RELEASE): Set to "development".
35131 (VERSION): Set to "2.16.90".
35133 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35135 * NEWS: Update copyright. Remove last-updated date.
35136 Mention math library bug fixes and timezone data changes.
35137 * README: Mention GNU/Hurd, x32, and HPPA support status.
35139 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35141 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35143 2012-06-27 Andreas Jaeger <aj@suse.de>
35145 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35147 2012-06-25 Andreas Jaeger <aj@suse.de>
35149 * sysdeps/s390/fpu/libm-test-ulps: Update.
35151 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35152 Thomas Schwinge <thomas@codesourcery.com>
35154 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35155 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35156 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35159 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35161 * sysdeps/mach/start.c: Remove file.
35162 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35163 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35164 * sysdeps/sh/init-first.c: Likewise.
35166 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35167 registers for frame unwinding purposes, add CFI directives.
35168 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35169 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35170 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35173 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35174 __fortify_fail returning.
35175 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35177 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35178 sysdeps/sh/____longjmp_chk.S.
35179 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35180 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35181 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35182 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35184 * sysdeps/sh/abort-instr.h: New file.
35185 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35186 process in case exit returns.
35188 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35189 initialize the GOT register before use.
35191 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35192 calculation of ARGC > 4.
35194 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35195 meaningful names to some local labels.
35197 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35198 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35200 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35201 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35202 (__arch_compare_and_exchange_val_16_acq): Likewise.
35203 (__arch_compare_and_exchange_val_32_acq): Likewise.
35204 (atomic_exchange_and_add): Fix gUSA sequence.
35205 (atomic_add): Likewise.
35206 (atomic_add_negative): Likewise.
35207 (atomic_add_zero): Likewise.
35208 (atomic_bit_test_set): Likewise.
35210 2012-06-22 Andreas Schwab <schwab@redhat.com>
35213 * include/link.h (struct link_map): Add l_free_initfini.
35214 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35216 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35217 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35218 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35221 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35223 * configure.in: Use AC_LANG_SOURCE.
35224 * configure: Regenerate.
35226 2012-06-22 Roland McGrath <roland@hack.frob.com>
35228 * configure.in (libc_cv_localstatedir): New substituted variable.
35229 * configure: Regenerated.
35230 * config.make.in (localstatedir): New variable, substituted from
35231 libc_cv_localstatedir.
35232 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35233 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35234 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35235 * sysdeps/gnu/configure: Regenerated.
35237 2012-06-21 Jeff Law <law@redhat.com>
35240 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35241 free. Simplify list management for _LIBC case.
35243 2012-06-21 Joseph Myers <joseph@codesourcery.com>
35246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35247 Clear sign bit of 64-bit integer value before comparing against
35250 * sysdeps/mach/configure: Regenerated.
35252 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35255 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35257 2012-06-21 Jeff Law <law@redhat.com>
35260 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35261 uint16_t for elements in the "seen" array to avoid char overflows.
35262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
35263 * elf/dl-open.c (dl_open_worker): Likewise.
35265 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35267 * scripts/list-sources.sh: Scan PORTS for translations.
35268 * po/libc.pot: Regenerated.
35270 2012-06-21 Andreas Jaeger <aj@suse.de>
35273 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35275 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35276 * bits/byteswap-16.h (__bswap_16): Likewise.
35277 * bits/byteswap.h (__bswap_constant_16): Likewise.
35279 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35282 * sysdeps/i386/fpu_control.h: Removed.
35283 * sysdeps/x86_64/fpu_control.h: Moved to ...
35284 * sysdeps/x86/fpu_control.h: Here.
35286 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35287 (_FPU_SETCW): Likewise.
35289 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35292 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
35293 * sysdeps/x86/fpu/bits/mathinline.h: This.
35294 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
35298 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
35299 functions if __x86_64__ is defined.
35301 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
35303 * string/endian.h: Add !__ASSEMBLER__ condition for including
35304 conversion interfaces.
35306 2012-06-15 Joseph Myers <joseph@codesourcery.com>
35309 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
35310 of ABS(x) in calculating zero to negative powers other than odd
35312 * math/libm-test.inc (pow_test): Add more tests.
35314 2012-06-15 Andreas Jaeger <aj@suse.de>
35316 * manual/contrib.texi (Contributors): Update entry of Liubov
35317 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
35320 2012-06-15 Cyril Hrubis <metan@ucw.cz>
35322 * string/string.h: Add __wur to GNU version of strerror_r.
35324 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
35327 * string/Makefile (tests): Add tst-strtok_r.
35328 * string/tst-strtok_r.c: New file.
35329 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
35330 RAX_LP/RDX_LP on SAVE_PTR.
35332 2012-06-14 Roland McGrath <roland@hack.frob.com>
35334 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
35336 2012-06-14 Joseph Myers <joseph@codesourcery.com>
35338 * libm_test.inc (csqrt_test): Allow more spurious underflow
35340 (j0_test): Likewise.
35341 (j1_test): Likewise.
35342 (y0_test): Likewise.
35343 (y1_test): Likewise.
35345 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
35347 * po/Makefile (libc.pot): Use UTF-8 charset.
35349 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
35352 Suppress sign-conversion warning from FD_SET.
35353 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
35354 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
35355 not unsigned long int.
35356 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
35358 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
35362 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
35363 __extern_always_inline instead of __extern_inline.
35364 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
35365 (__signbit): Likewise.
35366 (__signbitl): Support C++ namespace.
35367 (lrintf): New inline function.
35369 (llrintf): Likewise.
35370 (llrint): Likewise.
35380 (floorf): Likewise.
35381 (nearbyint): Likewise.
35382 (nearbyintf): Likewise.
35384 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
35386 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
35387 non-default versions.
35389 2012-06-11 Roland McGrath <roland@hack.frob.com>
35392 * manual/argp.texi (Argp): Reword argp_parse description slightly.
35394 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
35396 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
35397 (FE_UPWARD, FE_DOWNWARD): Don't define.
35398 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
35399 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35401 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
35403 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35404 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35406 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35408 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
35410 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
35411 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
35413 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
35416 * sysdeps/i386/fpu/bits/fenv.h: Removed.
35417 * sysdeps/i386/fpu/Implies: New file.
35418 * sysdeps/x86_64/fpu/Implies: Likewise.
35419 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
35420 * sysdeps/x86/fpu/bits/fenv.h: This.
35422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
35425 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35428 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
35429 character 0xffff that matches the last element of the
35432 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
35437 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
35440 values higher than 25.6283.
35442 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
35445 subnormal exponent extraction and add some __builtin_expect.
35446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
35447 Fix for subnormal mantissa calculation.
35449 2012-06-04 Mike Frysinger <vapier@gentoo.org>
35451 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
35452 cpu2 is -1 and errno is not ENOSYS.
35454 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
35457 * sysdeps/i386/i486/bits/string.h: Renamed to ...
35458 * sysdeps/x86/bits/string.h: This.
35459 * sysdeps/x86_64/bits/string.h: Removed.
35461 * sysdeps/i386/i486/bits/string.h: Define inline functions only
35462 if not compiling for x86-64, but compiling for >= i486.
35464 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
35465 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
35467 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
35468 New macro from Linux kernel 3.4.0.
35469 (FP_XSTATE_MAGIC2): Likewise.
35470 (FP_XSTATE_MAGIC2_SIZE): Likewise.
35471 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
35472 (struct _fpx_sw_bytes): New struct.
35473 (struct _xsave_hdr): Likewise.
35474 (struct _ymmh_state): Likewise.
35475 (struct _xstate): Likewise.
35477 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
35478 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
35479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
35480 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
35481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
35482 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
35484 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
35485 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
35486 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
35487 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
35488 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
35489 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
35491 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35494 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
35495 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
35496 (sysdep_headers): Include sys/platform/ppc.h.
35497 * sysdeps/powerpc/test-gettimebase.c: Test for
35498 __ppc_get_timebase() to catch future ISA opcode/insn changes.
35499 * manual/Makefile (appendices): Include platform.texi.
35500 * manual/contrib.texi (Contributors): Update @node pointers.
35501 * manual/maint.texi (Maintenance): Likewise.
35502 (Platform): New node.
35503 * manual/platform.texi: New file. Document the new features.
35505 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35506 Jakub Jelinek <jakub@redhat.com>
35509 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
35510 where __builtin_expect is unavailable.
35512 2012-06-03 David S. Miller <davem@davemloft.net>
35514 * stdlib/longlong.h: Updated from GCC.
35516 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
35519 * sysdeps/powerpc/powerpc32/mcount.c: New file.
35520 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
35522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35523 (GLIBC_2.16): Likewise.
35525 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35527 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
35529 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
35532 (default-abi): New variable.
35533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
35534 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
35536 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
35538 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
35540 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
35543 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
35544 definition. Document in comment.
35546 2012-06-01 David S. Miller <davem@davemloft.net>
35548 * stdlib/longlong.h: Updated from GCC.
35550 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35553 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
35554 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
35555 sys/debugreg.h sys/io.h here.
35556 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
35557 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
35559 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
35560 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
35561 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
35562 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
35563 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
35564 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
35566 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
35567 Define only if __x86_64__ is defined.
35569 2012-06-01 Joseph Myers <joseph@codesourcery.com>
35572 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
35573 Use int64_t for variable i.
35574 * math/libm-test.inc (fmod_test): Add more tests.
35576 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
35577 z computation is not scheduled after fetestexcept.
35578 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
35579 Use math_force_eval instead of asm to ensure calculation scheduled
35580 before exception test.
35581 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
35582 Ensure a1 + u.d computation is not scheduled after fetestexcept.
35584 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
35586 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
35587 computation is not scheduled after fetestexcept.
35589 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
35592 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
35593 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
35595 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35597 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
35598 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35600 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35603 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
35605 (__WCHAR_MIN): Support __WORDSIZE == 64.
35606 (__WCHAR_MAX): Likewise.
35608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
35609 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
35612 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
35613 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
35616 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
35617 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
35619 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
35620 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
35622 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
35623 Defined to 1 if __x86_64__ isn't defined.
35624 (_STAT_VER_LINUX_OLD): New.
35625 (st_atime): Remove duplicate.
35626 (st_mtime): Likewise.
35627 (st_ctime): Likewise.
35629 2012-05-31 David S. Miller <davem@davemloft.net>
35631 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
35634 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
35636 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
35640 * elf/dl-reloc.c: Include <_itoa.h>.
35641 (_dl_reloc_bad_type): Remove use of INTUSE.
35642 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
35643 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
35644 * stdio-common/psiginfo.c (psiginfo): Likewise.
35645 * stdio-common/psignal.c (psignal): Likewise.
35646 * string/strsignal.c (strsignal): Likewise.
35647 * include/signal.h (_sys_siglist): Declare hidden proto.
35648 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
35649 INTVARDEF with libc_hidden_data_def.
35650 * stdio-common/itoa-udigits.c: Likewise.
35651 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
35652 (_itoa_lower_digits_internal): Remove declaration.
35653 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
35654 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
35655 (_sys_sigabbrev_internal): Remove aliases.
35656 (_sys_siglist): Define hidden alias.
35658 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
35660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35663 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
35666 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
35667 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
35669 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
35670 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
35671 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
35672 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
35673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
35674 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
35676 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
35677 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
35678 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
35680 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
35688 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
35689 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
35690 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
35692 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
35693 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
35694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
35695 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
35696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
35697 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
35699 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
35700 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
35702 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
35703 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
35705 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
35706 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
35707 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
35709 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
35710 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
35712 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
35714 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
35715 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
35716 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
35718 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
35720 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
35722 2012-05-31 Joseph Myers <joseph@codesourcery.com>
35724 * math/math.h (M_El): Use two more decimal places.
35725 (M_LOG2El): Likewise.
35726 (M_LOG10El): Likewise.
35727 (M_LN2l): Likewise.
35728 (M_LN10l): Likewise.
35730 (M_PI_2l): Likewise.
35731 (M_PI_4l): Likewise.
35732 (M_1_PIl): Likewise.
35733 (M_2_PIl): Likewise.
35734 (M_2_SQRTPIl): Likewise.
35735 (M_SQRT2l): Likewise.
35736 (M_SQRT1_2l): Likewise.
35738 2012-05-31 David S. Miller <davem@davemloft.net>
35740 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
35741 values between float registers.
35742 * sysdeps/sparc/sparc64/memset.S: Likewise.
35743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35745 2012-05-31 Mike Frysinger <vapier@gentoo.org>
35747 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
35748 -D_FORTIFY_SOURCE=1.
35749 (CPPFLAGS-tst-longjmp_chk.c): Define.
35750 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
35751 (CPPFLAGS-tst-longjmp_chk2.c): Define.
35752 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
35753 CFLAGS-tst-wchar-h.c.
35755 2012-05-31 Marek Polacek <polacek@redhat.com>
35758 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
35759 __endmntent_internal): Remove declaration.
35760 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
35761 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
35762 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
35764 2012-05-30 David S. Miller <davem@davemloft.net>
35766 * sysdeps/sparc/sparc32/soft-fp/q_util.c
35767 (___Q_simulate_exceptions): Use real FP ops rather than writing
35769 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
35772 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35775 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
35776 * sysdeps/x86/bits/xtitypes.h: This.
35778 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
35779 * sysdeps/x86/bits/wordsize.h: This.
35781 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
35782 * sysdeps/x86/bits/huge_vall.h: This.
35784 * sysdeps/i386/bits/select.h: Removed.
35785 * sysdeps/x86_64/bits/select.h: Renamed to ...
35786 * sysdeps/x86/bits/select.h: This.
35788 * sysdeps/i386/bits/setjmp.h: Removed.
35789 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
35790 * sysdeps/x86/bits/setjmp.h: This.
35792 * sysdeps/i386/bits/mathdef.h: Removed.
35793 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
35794 * sysdeps/x86/bits/mathdef.h: This.
35796 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
35799 * include/sys/socket.h (__connect_internal)
35800 (__libc_sa_len_internal): Remove declaration.
35801 (__connect, __libc_sa_len): Declare hidden_proto.
35802 (SA_LEN): Remove use of INTUSE.
35803 * socket/connect.c: Add libc_hidden_def.
35804 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
35805 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
35806 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
35808 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35809 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
35810 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
35811 of adding _internal alias.
35813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35816 * sysdeps/i386/bits/link.h: Removed.
35817 * sysdeps/i386/bits/linkmap.h: Likewise.
35818 * sysdeps/x86_64/bits/link.h: Renamed to ...
35819 * sysdeps/x86/bits/link.h: This.
35820 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
35821 * sysdeps/x86/bits/linkmap.h: This.
35823 * sysdeps/i386/bits/endian.h: Removed.
35824 * sysdeps/x86_64/bits/endian.h: Renamed to ...
35825 * sysdeps/x86/bits/endian.h: This.
35827 * sysdeps/i386/bits/byteswap.h: Removed.
35828 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35829 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
35830 * sysdeps/x86/bits/byteswap.h: This.
35831 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
35832 * sysdeps/x86/bits/byteswap-16.h: This.
35833 * sysdeps/i386/Implies: Add x86.
35834 * sysdeps/x86_64/Implies: Likewise.
35836 2012-05-30 David S. Miller <davem@davemloft.net>
35838 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
35839 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
35840 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35841 (FP_TRAPPING_EXCEPTIONS): Define.
35842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35843 (FP_TRAPPING_EXCEPTIONS): Define.
35844 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
35845 subnormals only when inexact has been signalled or underflow
35846 exceptions are enabled.
35847 (_FP_PACK_CANONICAL): Likewise.
35849 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35852 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
35853 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35855 2012-05-30 Richard Henderson <rth@twiddle.net>
35857 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
35858 with #ifndef NOT_IN_libc.
35860 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
35861 marked to avoid plt entry.
35863 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
35866 * Makeconfig (default-abi): New macro.
35867 (abi-includes): Likewise.
35868 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
35869 $(abi-$(default-abi)-lib-soname) for soname if defined.
35870 ($(common-objpfx)gnu/lib-names.stmp): Generate from
35872 * Makefile (installed-stubs): Likewise.
35873 * include/stubs-biarch.h: Removed.
35874 * scripts/lib-names.awk: Only handle one library at a time.
35875 * scripts/soversions.awk: Remove WORDSIZE support.
35876 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
35878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
35880 (syscall-list-default-condition): Likewise.
35881 (syscall-list-default-condition): Likewise.
35882 (syscall-list-includes): Likewise.
35883 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
35884 syscall-list-* with abi-*. Handle undefined abi-variants.
35885 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
35886 * sysdeps/unix/sysv/linux/i386/Implies: New file.
35887 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
35888 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
35889 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
35890 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
35892 (syscall-list-32-options): Likewise.
35893 (syscall-list-32-condition): Likewise.
35894 (syscall-list-64-options): Likewise.
35895 (syscall-list-64-condition): Likewise.
35896 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
35898 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
35901 (abi-64-ld-soname): New macro.
35902 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
35903 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
35906 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
35907 * sysdeps/x86_64/x32/shlib-versions: Likewise.
35909 2012-05-30 Joseph Myers <joseph@codesourcery.com>
35911 * sysdeps/unix/sysv/linux/kernel-features.h
35912 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
35913 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
35914 include <kernel-features.h>.
35915 [!__NR_ftruncate64]: Remove conditional code.
35916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35917 [__NR_ftruncate64]: Make code unconditional.
35918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35919 * sysdeps/unix/sysv/linux/truncate64.c: Do not
35920 include <kernel-features.h>.
35921 [!__NR_ftruncate64]: Remove conditional code.
35922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35923 [__NR_ftruncate64]: Make code unconditional.
35924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
35926 include <kernel-features.h>.
35927 [!__NR_ftruncate64]: Remove conditional code.
35928 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35929 [__NR_ftruncate64]: Make code unconditional.
35930 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35932 include <kernel-features.h>.
35933 [!__NR_ftruncate64]: Remove conditional code.
35934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35935 [__NR_ftruncate64]: Make code unconditional.
35936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
35938 * configure.in (libc_cv_fpie): Weaken to a compile test using
35939 LIBC_TRY_CC_OPTION.
35940 * configure: Regenerated.
35942 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
35945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
35946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
35947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
35950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
35951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
35952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
35953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
35954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35957 2012-05-27 David S. Miller <davem@davemloft.net>
35959 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
35961 (__Q_simulate_exceptions): Return void. Change to simulate
35962 exceptions by writing into the %fsr.
35963 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
35964 (__Qp_handle_exceptions): Likewise.
35966 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
35967 __Qp_handle_exceptions.
35968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
35969 __Qp_handle_exceptions.
35970 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35971 as unused and give dummy FP_RND_NEAREST initializer.
35972 (FP_INHIBIT_RESULTS): Define.
35973 (___Q_simulate_exceptions): Update declaration.
35974 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
35976 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
35977 as unused and give dummy FP_RND_NEAREST initializer.
35978 (__Qp_handle_exceptions): Update declaration.
35979 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
35982 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
35984 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
35985 the temporary FPU control word.
35986 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35987 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
35988 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35989 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
35990 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35991 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35992 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35993 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35994 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35995 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
35996 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35998 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36000 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36003 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36005 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36006 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36007 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36008 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36010 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36011 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36014 2012-05-27 Ulrich Drepper <drepper@gmail.com>
36016 * po/h.po: Update from translation team.
36018 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36020 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36022 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36023 handling of denormals.
36024 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36025 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36026 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36027 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36029 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36033 2012-05-26 Marek Polacek <polacek@redhat.com>
36036 * math/libm-test.inc (fma_test): Don't always expect underflow
36039 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36042 * elf/tst-execstack.c: Include stackinfo.h.
36043 (do_test): Adjust test case to ensure that pthread_getattr_np
36044 behaviour remains the same after marking stack executable.
36046 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36048 * sysdeps/unix/sysv/linux/kernel-features.h
36049 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36050 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36052 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36053 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36054 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36056 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36057 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36059 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36061 * configure.in: Define the default includes to being none.
36062 * configure: Regenerated.
36064 2012-05-25 Roland McGrath <roland@hack.frob.com>
36066 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36067 * sysdeps/x86_64/setjmp.S: Likewise.
36068 * sysdeps/i386/bsd-setjmp.S: Likewise.
36069 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36070 * sysdeps/i386/setjmp.S: Likewise.
36071 * sysdeps/i386/__longjmp.S: Likewise.
36072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36073 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36075 * include/stap-probe.h: New file.
36076 * configure.in: Handle --enable-systemtap.
36077 * configure: Regenerated.
36078 * config.h.in (USE_STAP_PROBE): New #undef.
36079 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36080 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36081 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36083 2012-05-25 Joseph Myers <joseph@codesourcery.com>
36086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36087 to 2.4.0 where earlier.
36088 * sysdeps/unix/sysv/linux/configure: Regenerated.
36089 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36090 <kernel-features.h>.
36091 [__ASSUME_32BITUIDS]: Make code unconditional.
36092 [!__ASSUME_32BITUIDS]: Remove conditional code.
36093 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36094 <kernel-features.h>.
36095 [__ASSUME_32BITUIDS]: Make code unconditional.
36096 [!__ASSUME_32BITUIDS]: Remove conditional code.
36097 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36098 [__ASSUME_32BITUIDS]: Make code unconditional.
36099 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36100 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36101 <kernel-features.h>.
36102 [__ASSUME_32BITUIDS]: Make code unconditional.
36103 [!__ASSUME_32BITUIDS]: Remove conditional code.
36104 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36105 <kernel-features.h>.
36106 [__ASSUME_32BITUIDS]: Make code unconditional.
36107 [!__ASSUME_32BITUIDS]: Remove conditional code.
36108 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36109 <kernel-features.h>.
36110 [__ASSUME_32BITUIDS]: Make code unconditional.
36111 [!__ASSUME_32BITUIDS]: Remove conditional code.
36112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36113 <kernel-features.h>.
36114 [__ASSUME_32BITUIDS]: Make code unconditional.
36115 [!__ASSUME_32BITUIDS]: Remove conditional code.
36116 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36117 <kernel-features.h>.
36118 [__ASSUME_32BITUIDS]: Make code unconditional.
36119 [!__ASSUME_32BITUIDS]: Remove conditional code.
36120 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36121 <kernel-features.h>.
36122 [__ASSUME_32BITUIDS]: Make code unconditional.
36123 [!__ASSUME_32BITUIDS]: Remove conditional code.
36124 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36125 <kernel-features.h>.
36126 [__ASSUME_32BITUIDS]: Make code unconditional.
36127 [!__ASSUME_32BITUIDS]: Remove conditional code.
36128 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36129 <kernel-features.h>.
36130 [__ASSUME_32BITUIDS]: Make code unconditional.
36131 [!__ASSUME_32BITUIDS]: Remove conditional code.
36132 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36133 <kernel-features.h>.
36134 [__ASSUME_32BITUIDS]: Make code unconditional.
36135 [!__ASSUME_32BITUIDS]: Remove conditional code.
36136 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36137 <kernel-features.h>.
36138 [__ASSUME_32BITUIDS]: Make code unconditional.
36139 [!__ASSUME_32BITUIDS]: Remove conditional code.
36140 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36141 <kernel-features.h>.
36142 [__NR_setresgid] (__setresgid): Do not declare.
36143 [__ASSUME_32BITUIDS]: Make code unconditional.
36144 [!__ASSUME_32BITUIDS]: Remove conditional code.
36145 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36146 <kernel-features.h>.
36147 [__NR_setresuid] (__setresuid): Do not declare.
36148 [__ASSUME_32BITUIDS]: Make code unconditional.
36149 [!__ASSUME_32BITUIDS]: Remove conditional code.
36150 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36151 <kernel-features.h>.
36152 [__ASSUME_32BITUIDS]: Make code unconditional.
36153 [!__ASSUME_32BITUIDS]: Remove conditional code.
36154 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36155 <kernel-features.h>.
36156 [__ASSUME_32BITUIDS]: Make code unconditional.
36157 [!__ASSUME_32BITUIDS]: Remove conditional code.
36158 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36159 <kernel-features.h>.
36160 [__ASSUME_32BITUIDS]: Make code unconditional.
36161 [!__ASSUME_32BITUIDS]: Remove conditional code.
36162 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36163 <kernel-features.h>.
36164 [__ASSUME_32BITUIDS]: Make code unconditional.
36165 [!__ASSUME_32BITUIDS]: Remove conditional code.
36166 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36167 <kernel-features.h>.
36168 [__ASSUME_32BITUIDS]: Make code unconditional.
36169 [!__ASSUME_32BITUIDS]: Remove conditional code.
36170 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36171 <kernel-features.h>.
36172 [__ASSUME_32BITUIDS]: Make code unconditional.
36173 [!__ASSUME_32BITUIDS]: Remove conditional code.
36174 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36175 <kernel-features.h>.
36176 [__ASSUME_32BITUIDS]: Make code unconditional.
36177 [!__ASSUME_32BITUIDS]: Remove conditional code.
36178 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36179 <kernel-features.h>.
36180 [__ASSUME_32BITUIDS]: Make code unconditional.
36181 [!__ASSUME_32BITUIDS]: Remove conditional code.
36182 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36183 <kernel-features.h>.
36184 [__ASSUME_32BITUIDS]: Make code unconditional.
36185 [!__ASSUME_32BITUIDS]: Remove conditional code.
36186 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36187 <kernel-features.h>.
36188 [__ASSUME_32BITUIDS]: Make code unconditional.
36189 [!__ASSUME_32BITUIDS]: Remove conditional code.
36190 * sysdeps/unix/sysv/linux/kernel-features.h
36191 (__ASSUME_SETRESUID_SYSCALL): Remove.
36192 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36193 (__ASSUME_32BITUIDS): Likewise.
36194 (__ASSUME_LDT_WORKS): Likewise.
36195 (__ASSUME_O_DIRECTORY): Likewise.
36196 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36197 architecture but not kernel version.
36198 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36199 (__ASSUME_MMAP2_SYSCALL): Likewise.
36200 (__ASSUME_STAT64_SYSCALL): Likewise.
36201 (__ASSUME_IPC64): Likewise.
36202 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36203 <kernel-features.h>.
36204 [__ASSUME_32BITUIDS]: Make code unconditional.
36205 [!__ASSUME_32BITUIDS]: Remove conditional code.
36206 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36207 <kernel-features.h>.
36208 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36209 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36210 132096]: Remove conditional code.
36211 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36212 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36213 <kernel-features.h>.
36214 [__ASSUME_32BITUIDS]: Make code unconditional.
36215 [!__ASSUME_32BITUIDS]: Remove conditional code.
36216 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36217 <kernel-features.h>.
36218 [__ASSUME_32BITUIDS]: Make code unconditional.
36219 [!__ASSUME_32BITUIDS]: Remove conditional code.
36220 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36221 <kernel-features.h>.
36222 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36224 (__setresgid): Do not declare.
36225 [__ASSUME_32BITUIDS]: Make code unconditional.
36226 [!__ASSUME_32BITUIDS]: Remove conditional code.
36227 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36228 <kernel-features.h>.
36229 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36231 (__setresuid): Do not declare.
36232 [__ASSUME_32BITUIDS]: Make code unconditional.
36233 [!__ASSUME_32BITUIDS]: Remove conditional code.
36234 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36235 <kernel-features.h>.
36236 [__ASSUME_32BITUIDS]: Make code unconditional.
36237 [!__ASSUME_32BITUIDS]: Remove conditional code.
36238 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36239 <kernel-features.h>.
36240 [__ASSUME_32BITUIDS]: Make code unconditional.
36241 [!__ASSUME_32BITUIDS]: Remove conditional code.
36243 2012-05-25 Richard Henderson <rth@twiddle.net>
36245 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36246 dl_hwcap to ifunc resolver.
36247 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36249 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36250 dl_hwcap to ifunc resolver.
36251 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36253 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36256 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36257 for |x| <= 2**-26, not 2**-57.
36258 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36261 2012-05-24 Jeff Law <law@redhat.com>
36263 * stdio-common/Makefile (tests): Add bug25.
36264 * stdio-common/bug25.c: New test.
36266 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36269 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36270 multiple of MALLOC_ALIGNMENT in size.
36271 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36273 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36275 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36277 (FILENAME_MAX): Use macro-int-constant.
36278 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36279 (_IOFBF): Use macro-int-constant.
36280 (_IOLBF): Likewise.
36281 (_IONBF): Likewise.
36282 (SEEK_CUR): Likewise.
36283 (SEEK_END): Likewise.
36284 (SEEK_SET): Likewise.
36285 (TMP_MAX): Likewise.
36286 (EOF): Use macro-int-constant. Require < 0.
36287 (NULL): Use macro-constant. Require == 0.
36288 (stdin): Require type to be FILE *.
36289 (stdout): Likewise.
36290 (stderr): Likewise.
36291 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
36292 macro-int-constant.
36293 (EXIT_SUCCESS): Likewise.
36294 (NULL): Use macro-constant. Require == 0.
36295 (RAND_MAX): Use macro-int-constant.
36296 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
36297 [C99-based standards] (strtof): Require function.
36298 [C99-based standards] (strtold): Likewise.
36299 [C99-based standards] (strtoll): Likewise.
36300 [C99-based standards] (strtoull): Likewise.
36301 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36302 [ISO || ISO99 || ISO11] (limits.h): Likewise.
36303 [ISO || ISO99 || ISO11] (math.h): Likewise.
36304 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
36305 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36308 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
36311 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
36312 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
36313 * intl/dgettext.c (DCGETTEXT): Likewise.
36314 * intl/gettext.c (DCGETTEXT): Likewise.
36315 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
36316 * posix/regex_internal.h (gettext): Likewise.
36317 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
36318 Remove declaration.
36319 * include/argz.h (__argz_count_internal)
36320 (__argz_stringify_internal): Remove declaration.
36321 (__argz_count, __argz_stringify): Declare hidden proto.
36322 * intl/dcgettext.c: Remove use of INTDEF.
36323 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
36324 * string/argz-stringify.c: Likewise.
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/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
36329 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
36330 Declare hidden proto.
36331 * include/stdio.h (__asprintf_internal): Don't declare.
36332 (__asprintf): Don't define as macro. Declare hidden proto.
36333 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
36334 (__fsetlocking): Declare hidden proto.
36335 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
36336 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
36338 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
36339 (_IO_setlinebuf): Remove use of INTUSE.
36340 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
36341 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
36342 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
36343 Remove declaration.
36344 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
36345 (_IO_do_flush): Remove use of INTUSE.
36346 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
36347 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
36348 (_IO_adjust_column, _IO_least_wmarker)
36349 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
36350 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
36351 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
36352 (_IO_default_doallocate, _IO_wdefault_doallocate)
36353 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
36354 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
36355 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
36356 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
36357 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
36358 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
36359 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
36360 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
36361 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
36362 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
36363 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
36364 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
36365 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
36367 (_IO_flush_all_internal, _IO_adjust_column_internal)
36368 (_IO_default_uflow_internal, _IO_default_finish_internal)
36369 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
36370 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
36371 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
36372 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
36373 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
36374 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
36375 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
36376 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
36377 (_IO_file_close_internal, _IO_file_close_it_internal)
36378 (_IO_file_underflow_internal, _IO_file_overflow_internal)
36379 (_IO_file_init_internal, _IO_file_attach_internal)
36380 (_IO_file_fopen_internal, _IO_file_read_internal)
36381 (_IO_file_sync_internal, _IO_file_seek_internal)
36382 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
36383 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
36384 (_IO_str_underflow_internal, _IO_str_overflow_internal)
36385 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
36386 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
36387 (_IO_list_all_internal, _IO_link_in_internal)
36388 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
36389 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
36390 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
36391 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
36392 (_IO_do_write_internal, _IO_padn_internal)
36393 (_IO_getline_info_internal, _IO_getline_internal)
36394 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
36395 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
36396 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
36397 (_IO_vfscanf_internal, _IO_vfprintf_internal)
36398 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
36399 (_IO_init_internal, _IO_un_link_internal): Don't declare.
36400 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
36401 with libc_hidden_ver, remove use of INTUSE.
36402 * libio/genops.c: Likewise.
36403 * libio/freopen.c: Likewise.
36404 * libio/freopen64.c: Likewise.
36405 * libio/iofclose.c: Likewise.
36406 * libio/iofdopen.c: Likewise.
36407 * libio/iofflush.c: Likewise.
36408 * libio/iofflush_u.c: Likewise.
36409 * libio/iofgets.c: Likewise.
36410 * libio/iofgets_u.c: Likewise.
36411 * libio/iofopen.c: Likewise.
36412 * libio/iofopncook.c: Likewise.
36413 * libio/iofread.c: Likewise.
36414 * libio/iofread_u.c: Likewise.
36415 * libio/ioftell.c: Likewise.
36416 * libio/iofwrite.c: Likewise.
36417 * libio/iogetline.c: Likewise.
36418 * libio/iogets.c: Likewise.
36419 * libio/iogetwline.c: Likewise.
36420 * libio/iopadn.c: Likewise.
36421 * libio/iopopen.c: Likewise.
36422 * libio/ioseekoff.c: Likewise.
36423 * libio/ioseekpos.c: Likewise.
36424 * libio/iosetbuffer.c: Likewise.
36425 * libio/iosetvbuf.c: Likewise.
36426 * libio/ioungetc.c: Likewise.
36427 * libio/ioungetwc.c: Likewise.
36428 * libio/iovdprintf.c: Likewise.
36429 * libio/iovsprintf.c: Likewise.
36430 * libio/iovsscanf.c: Likewise.
36431 * libio/memstream.c: Likewise.
36432 * libio/obprintf.c: Likewise.
36433 * libio/oldfileops.c: Likewise.
36434 * libio/oldiofclose.c: Likewise.
36435 * libio/oldiofdopen.c: Likewise.
36436 * libio/oldiofopen.c: Likewise.
36437 * libio/oldiopopen.c: Likewise.
36438 * libio/oldstdfiles.c: Likewise.
36439 * libio/putc.c: Likewise.
36440 * libio/setbuf.c: Likewise.
36441 * libio/setlinebuf.c: Likewise.
36442 * libio/stdfiles.c: Likewise.
36443 * libio/strops.c: Likewise.
36444 * libio/vasprintf.c: Likewise.
36445 * libio/vscanf.c: Likewise.
36446 * libio/vsnprintf.c: Likewise.
36447 * libio/vswprintf.c: Likewise.
36448 * libio/wfiledoalloc.c: Likewise.
36449 * libio/wfileops.c: Likewise.
36450 * libio/wgenops.c: Likewise.
36451 * libio/wmemstream.c: Likewise.
36452 * libio/wstrops.c: Likewise.
36453 * libio/__fpurge.c: Likewise.
36454 * libio/__fsetlocking.c: Likewise.
36455 * assert/assert.c: Likewise.
36456 * debug/fgets_chk.c: Likewise.
36457 * debug/fgets_u_chk.c: Likewise.
36458 * debug/fread_chk.c: Likewise.
36459 * debug/fread_u_chk.c: Likewise.
36460 * debug/gets_chk.c: Likewise.
36461 * debug/obprintf_chk.c: Likewise.
36462 * debug/vasprintf_chk.c: Likewise.
36463 * debug/vdprintf_chk.c: Likewise.
36464 * debug/vsnprintf_chk.c: Likewise.
36465 * debug/vsprintf_chk.c: Likewise.
36466 * malloc/mtrace.c: Likewise.
36467 * misc/error.c: Likewise.
36468 * misc/syslog.c: Likewise.
36469 * stdio-common/asprintf.c: Likewise.
36470 * stdio-common/fxprintf.c: Likewise.
36471 * stdio-common/getw.c: Likewise.
36472 * stdio-common/isoc99_fscanf.c: Likewise.
36473 * stdio-common/isoc99_scanf.c: Likewise.
36474 * stdio-common/isoc99_vfscanf.c: Likewise.
36475 * stdio-common/isoc99_vscanf.c: Likewise.
36476 * stdio-common/isoc99_vsscanf.c: Likewise.
36477 * stdio-common/printf-prs.c: Likewise.
36478 * stdio-common/printf_fp.c: Likewise.
36479 * stdio-common/printf_fphex.c: Likewise.
36480 * stdio-common/printf_size.c: Likewise.
36481 * stdio-common/putw.c: Likewise.
36482 * stdio-common/scanf.c: Likewise.
36483 * stdio-common/sprintf.c: Likewise.
36484 * stdio-common/tmpfile.c: Likewise.
36485 * stdio-common/vfprintf.c: Likewise.
36486 * stdio-common/vfscanf.c: Likewise.
36487 * stdlib/strfmon_l.c: Likewise.
36488 * sunrpc/openchild.c: Likewise.
36489 * sunrpc/xdr_stdio.c: Likewise.
36490 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
36491 * sysdeps/mach/hurd/tmpfile.c: Likewise.
36493 2012-05-24 Roland McGrath <roland@hack.frob.com>
36495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36497 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
36498 in the third column, to generate for the shared library an IFUNC
36499 that uses _dl_vdso_vsym.
36500 * Makerules (COMPILE.c, compile-stdin.c): New variables.
36501 * Makeconfig (object-suffixes-noshared): New variable.
36503 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
36504 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
36505 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
36506 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
36509 * include/sys/time.h (__gettimeofday): Remove macro.
36510 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
36511 * time/gettimeofday.c (__gettimeofday): Remove #undef.
36513 (__gettimeofday): Add libc_hidden_def.
36514 (gettimeofday): Add libc_hidden_weak.
36515 * sysdeps/mach/gettimeofday.c: Likewise.
36516 * sysdeps/posix/gettimeofday.c: Likewise.
36517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
36518 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
36520 (__gettimeofday_internal): Remove strong_alias.
36521 (__gettimeofday): Add libc_hidden_def.
36522 (gettimeofday): Add libc_hidden_weak.
36523 * sysdeps/unix/syscalls.list (gettimeofday):
36524 Remove __gettimeofday_internal alias.
36526 2012-05-24 Daniel Jacobowitz <drow@false.org>
36527 H.J. Lu <hongjiu.lu@intel.com>
36530 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
36531 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
36532 (largebin_index_32_big): New.
36533 (largebin_index): Use it for 16-byte alignment.
36534 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
36535 correction with front_misalign.
36537 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
36540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
36544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
36548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
36550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
36552 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
36554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
36556 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
36558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
36560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
36565 * scripts/data/c++-types-x32-linux-gnu.data: New file.
36566 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
36568 2012-05-24 Joseph Myers <joseph@codesourcery.com>
36572 * math/libm-test.inc (exp_test): Add test from bug 14036.
36573 (pow_test): Add test from bug 10846.
36575 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
36577 (special_function): Do not include flags in test name.
36578 (parse_args): Likewise.
36579 * sysdeps/i386/fpu/libm-test-ulps: Update.
36580 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36581 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
36582 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
36583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36585 * math/gen-libm-test.pl (%beautify): Add entries for underflow
36587 * math/libm-test.inc ("Philosophy"): Update comment about
36589 (UNDERFLOW_EXCEPTION): New macro.
36590 (UNDERFLOW_EXCEPTION_OK): Likewise.
36591 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
36592 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
36593 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
36594 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
36595 (INVALID_EXCEPTION_OK): Update value.
36596 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36597 (OVERFLOW_EXCEPTION_OK): Likewise.
36598 (IGNORE_ZERO_INF_SIGN): Likewise.
36599 (test_exceptions): Handle underflow exceptions.
36600 (acos_test): Update for underflow exception expectations.
36601 (cexp_test): Likewise.
36602 (clog_test): Likewise.
36603 (clog10_test): Likewise.
36604 (csqrt_test): Likewise.
36605 (ctan_test): Likewise.
36606 (ctanh_test): Likewise.
36607 (exp_test): Likewise.
36608 (exp10_test): Likewise.
36609 (exp2_test): Likewise.
36610 (expm1_test): Likewise.
36611 (fma_test): Likewise.
36612 (j0_test): Likewise.
36613 (jn_test): Likewise.
36614 (nexttoward_test): Likewise.
36615 (pow_test): Likewise.
36616 (scalbn_test): Likewise.
36617 (scalbln_test): Likewise.
36618 (tan_test): Likewise.
36619 (y1_test): Likewise.
36620 * sysdeps/i386/fpu/libm-test-ulps: Update.
36621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36623 2012-05-23 David S. Miller <davem@davemloft.net>
36625 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
36626 (__libc_sigaction): Remove unused local variables.
36628 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36630 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
36632 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
36634 mktime: avoid signed integer overflow
36635 * time/mktime.c (__mktime_internal): Do not mishandle the case
36636 where diff == INT_MIN.
36638 mktime: simplify computation of average
36639 * time/mktime.c (ranged_convert): Use new time_t_avg function
36640 instead of rolling our own (probably-slower) code.
36642 mktime: do not assume signed right shift propagates sign bit
36643 * time/mktime.c (isdst_differ): New static function.
36644 (__mktime_internal): No need to normalize tm_isdst now.
36645 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
36648 mktime: merge another wrapv change from gnulib
36649 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
36650 from some compilers.
36652 mktime: remove incorrect attempt at unusual arithmetics
36653 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
36654 The code didn't really work on such machines anyway.
36655 (TYPE_MINIMUM): Assume two's complement.
36656 (twos_complement_arithmetic): Verify that long_int and time_t
36657 are two's complement (or unsigned, in the latter case).
36659 mktime: check signed shifts on long_int and time_t, too
36660 * time/mktime.c (SHR): Check that shifts work as desired
36661 on the types long_int and time_t too, as SHR is used on
36664 mktime: do not assume 'long' is wide enough
36665 * time/mktime.c (verify): Move decl up.
36666 (long_int): New type.
36667 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
36668 to remove assumption in the code that 'long' is wide enough to
36669 store year values. This assumption is not true on x32 and on
36670 some non-glibc platforms.
36672 mktime: merge wrapv change from gnulib
36673 * time/mktime.c (WRAPV): New macro.
36674 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
36675 (guess_time_tm, __mktime_internal): Do not assume that signed
36676 integer overflow wraps around; modern compilers generate code
36677 where this assumption is no longer valid.
36679 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36681 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36682 Replace "jmp L(pseudo_end)" with "ret".
36683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
36686 2012-05-23 Andreas Jaeger <aj@suse.de>
36688 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
36689 * sysdeps/unix/sysv/linux/poll.c: Remove file.
36691 2012-05-23 Andreas Jaeger <aj@suse.de>
36692 Maximilian Attems <max@stro.at>
36694 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
36697 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
36699 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
36700 code so that pseudo_end is just ret and the stack pointer is
36701 correct also for static library in error case.
36703 2012-05-23 Joseph Myers <joseph@codesourcery.com>
36705 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
36706 move to syscalls.list.
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
36708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
36709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
36710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
36712 * manual/install.texi (Running make install): Do not mention Linux
36713 kernel version for which pt_chown is not needed.
36714 (Linux): Do not mention problems with nscd with 2.0 kernels.
36715 * INSTALL: Regenerated.
36717 2012-05-23 Andreas Jaeger <aj@suse.de>
36719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
36720 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
36722 * sysdeps/unix/sysv/linux/s390/bits/mman.h
36723 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36724 * sysdeps/unix/sysv/linux/sh/bits/mman.h
36725 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36726 * sysdeps/unix/sysv/linux/i386/bits/mman.h
36727 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36728 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
36729 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
36731 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
36732 * sysdeps/unix/sysv/linux/bits/in.h
36733 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
36735 2012-05-22 Roland McGrath <roland@hack.frob.com>
36737 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
36738 (PREPARE_VERSION): Just use assert instead, it will be elided
36739 under [NDEBUG] anyway.
36741 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36743 * sysdeps/unix/sysv/linux/Makefile: Include
36744 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
36745 (sysdep_routines): Remove sysctl.
36746 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
36747 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
36748 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
36749 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
36750 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
36752 2012-05-22 Andreas Jaeger <aj@suse.de>
36754 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
36755 that pseudo_end is just ret and the stack pointer is correct also
36756 for static library in error case.
36758 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
36761 * nss/nsswitch.c (defconfig_entries): New variable.
36762 (__nss_database_lookup): Don't leak defconfig entries.
36763 (nss_parse_service_list): Don't leak on error paths.
36764 (free_database_entries): New function.
36765 (free_defconfig): New function.
36766 (free_mem): Move common code to free_database_entries.
36768 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36770 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
36772 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
36774 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36775 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
36776 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
36778 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
36779 (INTERNAL_SYSCALL_TYPES): Likewise.
36780 (LOAD_ARGS_TYPES_[1-6]): Likewise.
36781 (LOAD_REGS_TYPES_[1-6]): Likewise.
36782 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
36783 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
36785 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
36788 copysignl for GLIBC_2_0.
36789 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
36790 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
36791 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
36792 logbl for GLIBC_2_0.
36793 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36794 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36796 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
36799 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
36801 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
36804 * time/mktime.c: Update copyright years.
36806 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
36808 mktime: merge comment-quoting-style change from gnulib
36809 * time/mktime.c: Quote 'like this' in comments.
36810 The GNU coding standards suggest that we no longer quote `like this',
36811 as "`" and "'" are typically rendered asymmetrically nowadays.
36812 The typical gnulib style is to quote 'like this' when quoting
36813 code, and "like this" when quoting English.
36815 * time/mktime.c (compile-command): Add "-I.".
36817 mktime: merge mktime-internal.h change from gnulib
36818 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
36820 mktime: merge time_r change from gnulib
36821 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
36823 mktime: merge DEBUG change from gnulib
36824 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
36825 case system <time.h> has a #define.
36827 mktime: merge <sys/types.h> change from gnulib
36828 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
36829 since <time.t> is now guaranteed to define time_t.
36831 mktime: merge HAVE_CONFIG_H change from gnulib
36832 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
36834 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
36836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36839 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
36841 (struct rusage): Use anonymous union to pad each field to
36844 2012-05-21 David S. Miller <davem@davemloft.net>
36846 * Makefules (o-iterator): Remove .s cases.
36847 (compile-command.s): Delete.
36848 (COMPILE.s): Delete.
36849 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
36851 2012-05-21 Joseph Myers <joseph@codesourcery.com>
36853 * configure.in (libc_cv_predef_stack_protector): Only consider
36854 "foobar" and "__stack_chk_fail" lines in libc_undefs.
36855 * configure: Regenerated.
36857 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36859 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
36860 New macro. Use R*LP on int and pointer.
36861 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
36862 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
36863 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
36864 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
36866 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
36867 [__WORDSIZE_TIME64_COMPAT32] instead of
36868 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
36869 (struct utmp): Likewise.
36870 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
36871 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
36873 (__WORDSIZE_TIME64_COMPAT32): This.
36874 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
36875 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
36876 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
36877 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
36878 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
36879 (__WORDSIZE_TIME64_COMPAT32): New macro.
36881 2012-05-21 Andreas Jaeger <aj@suse.de>
36883 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
36884 only if [SHARED]. Add prototype for __wcschr_ia32.
36886 2012-05-21 Roland McGrath <roland@hack.frob.com>
36888 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
36889 of %rbp unmolested in the jmp_buf while mangling the low bits.
36890 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
36891 unmolested high bits of %rbp while demangling the low bits.
36892 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36894 2012-05-21 Andreas Jaeger <aj@suse.de>
36896 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
36897 * sunrpc/svc_simple.c: Use it for registerrpc.
36898 * sunrpc/xcrypt.c: Use it for passwd2des.
36900 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
36902 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36904 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
36905 Don't define if [__SYSCALL_WORDSIZE != 32].
36906 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
36909 2012-05-21 Bruno Haible <bruno@clisp.org>
36910 Andreas Jaeger <aj@suse.de>
36912 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
36913 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
36914 inptr and inend for must_buffer_ch.
36915 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
36916 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
36917 * stdio-common/Makefile (tests): Remove bug15.
36918 (bug15-ENV): Remove macro.
36919 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
36922 2012-05-19 Andreas Jaeger <aj@suse.de>
36923 Roland McGrath <roland@hack.frob.com>
36925 * manual/contrib.texi: Completely rewritten. It contains now an
36926 alphabetical list of contributors and their contributions.
36928 2012-05-21 Richard Henderson <rth@twiddle.net>
36930 * misc/getauxval.c (__getauxval): Use unsigned long int.
36931 * misc/sys/auxv.h: Include <sys/cdefs.h>.
36932 (getauxval): Use unsigned long int.
36934 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
36936 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
36938 2012-05-21 Roland McGrath <roland@hack.frob.com>
36940 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
36941 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
36942 __alignof__ (long double).
36944 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36948 2012-05-20 Richard Henderson <rth@twiddle.net>
36950 * misc/getauxval.c: New file.
36951 * misc/sys/auxv.h: New file.
36952 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
36953 (routines): Add getauxval.
36954 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
36955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
36956 * elf/dl-sysdep.c (_dl_auxv): Remove.
36957 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
36958 * elf/dl-support.c (_dl_auxv): New variable.
36959 (_dl_aux_init): Initialize it.
36960 * manual/startup.texi (Auxiliary Vector): New node.
36961 * sysdeps/generic/bits/hwcap.h: New file.
36962 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
36963 * sysdeps/powerpc/sysdep.h: ... here. Include it.
36964 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
36965 * sysdeps/sparc/sysdep.h: ... here. Include it.
36966 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
36967 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
36968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
36971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
36972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
36973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
36974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
36976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
36977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
36979 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36983 2012-05-19 David S. Miller <davem@davemloft.net>
36985 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36987 2012-05-19 Joseph Myers <joseph@codesourcery.com>
36990 * math/s_ccosh.c: Include <float.h>
36991 (__ccosh): Avoid internal overflow calculating sinh and cosh
36992 values before multiplying by sin and cos values.
36993 * math/s_ccoshf.c: Likewise.
36994 * math/s_ccoshl.c: Likewise.
36995 * math/s_csin.c: Likewise.
36996 * math/s_csinf.c: Likewise.
36997 * math/s_csinl.c: Likewise.
36998 * math/s_csinh.c: Likewise.
36999 * math/s_csinhf.c: Likewise.
37000 * math/s_csinhl.c: Likewise.
37001 * math/libm-test.inc (ccos_test): Add more tests.
37002 (ccosh_test): Likewise.
37003 (csin_test): Likewise.
37004 (csinh_test): Likewise.
37005 * sysdeps/i386/fpu/libm-test-ulps: Update.
37006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37008 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37010 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37011 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37013 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37015 2012-05-19 Joseph Myers <joseph@codesourcery.com>
37017 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37018 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37019 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37020 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37021 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37022 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37023 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37024 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37025 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37026 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37027 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37028 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37029 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37030 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37031 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37032 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37033 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37034 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37035 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37036 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37037 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37038 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37039 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37040 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37041 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37042 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37043 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37044 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37045 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37046 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37047 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37049 2012-05-18 Andreas Jaeger <aj@suse.de>
37051 * csu/.gitignore: Delete.
37053 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37055 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37056 (timex): Use __syscall_slong_t.
37058 2012-05-18 Andreas Jaeger <aj@suse.de>
37059 Carlos O'Donell <carlos_odonell@mentor.com>
37061 * manual/install.texi (Configuring and compiling): Update
37062 description about files modified in the source directory.
37063 * INSTALL: Regenerated.
37065 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37067 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37068 value. Use "or" to set return value to -1.
37069 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37070 negate return value.
37072 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37074 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37075 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
37076 failure if the compiler has Graphite support disabled.
37077 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37079 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37080 (CFLAGS-memmove.c): Likewise.
37081 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37084 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37086 * sysdeps/x86_64/x32/_itoa.h: New file.
37088 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37089 getdents system call only if kernel and user dirents have the
37090 same d_ino and d_off.
37092 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37093 LLONG_MAX != LONG_MAX.
37094 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37095 (_fitoa_word): Likewise.
37097 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37099 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37100 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37101 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37103 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37104 include <bits/wordsize.h>. Check __x86_64__ instead of
37106 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37107 if __x86_64__ is defined. Use anonymous union on fpstate.
37109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37112 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37114 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37115 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37116 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37117 Refer to _rtld_local_ro instead of _rtld_global_ro.
37118 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37120 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37122 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37124 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37125 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37126 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37128 * sysdeps/powerpc/powerpc32/dl-machine.c
37129 (__elf_machine_runtime_setup) [PROF]: Don't reference
37132 2012-05-18 Andreas Jaeger <aj@suse.de>
37134 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37135 function only available for GCCs before 3.4 since GCC 3.4
37136 introduced a builtin.
37138 (llrintf): Likewise.
37139 (llrint): Likewise.
37146 (nearbyint): Likewise.
37147 (nearbyintf): Likewise.
37151 (floorf): Likewise.
37153 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37155 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37156 on both fields and cast pointer to __syscall_ulong_t.
37158 * bits/types.h (__fsword_t): New type.
37159 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37160 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37162 (__FSWORD_T_TYPE): Likewise.
37163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37164 (__FSWORD_T_TYPE): Likewise.
37165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37166 (__FSWORD_T_TYPE): Likewise.
37167 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37168 (__FSWORD_T_TYPE): Likewise.
37169 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37170 __SWORD_TYPE with __fsword_t.
37171 (statfs64): Likewise.
37173 2012-05-17 David S. Miller <davem@davemloft.net>
37175 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37177 2012-05-17 Andreas Jaeger <aj@suse.de>
37179 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37182 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37184 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37186 2012-05-17 Andreas Jaeger <aj@suse.de>
37188 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37191 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37193 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37195 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37197 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37198 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37200 2012-05-17 Andreas Jaeger <aj@suse.de>
37201 Carlos O'Donell <carlos_odonell@mentor.com>
37204 * sysdeps/x86_64/multiarch/init-arch.h
37205 (bit_YMM_Usable): Rename to...
37206 (bit_AVX_Usable): ... this.
37207 (bit_FMA4_Usable): New macro.
37208 (bit_XMM_state): New macro.
37209 (bit_YMM_state): New macro.
37210 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37211 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37212 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37213 (CPUID_OSXSAVE): New macro.
37214 (CPUID_AVX): New macro.
37215 (CPUID_FMA4): New macro.
37216 (index_YMM_Usable): Rename to...
37217 (index_AVX_Usable): ... this.
37218 (HAS_AVX): Use HAS_ARCH_FEATURE.
37219 (HAS_FMA4): Likewise.
37220 (HAS_YMM_USABLE): Remove.
37221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37222 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37224 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37225 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37226 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37227 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37228 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37230 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37232 * math/libm-test.c: Support platforms without multiple rounding modes.
37233 * math/bug-nextafter.c: Support platforms without FP exceptions.
37234 * math/bug-nexttoward.c: Likewise.
37235 * math/test-fenv.c: Likewise.
37236 * math/test-misc.c: Likewise.
37237 * stdlib/bug-getcontext.c: Likewise.
37239 2012-05-17 Andreas Jaeger <aj@suse.de>
37241 * manual/examples/search.c (critter_cmp): Change signature to
37243 * manual/string.texi (Collation Functions): Likewise.
37245 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37247 * bits/types.h: Fold copyright years.
37248 * bits/typesizes.h: Likewise.
37249 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37250 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37253 * time/time.h: Likewise.
37255 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37258 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37259 in instead of returning them. Return void.
37260 (__libc_mallinfo): Accumulate over all arenas.
37261 (__malloc_stats): Adjust for change in int_mallinfo interface.
37263 2012-05-16 Roland McGrath <roland@hack.frob.com>
37266 * configure.in (NM): Add AC_CHECK_TOOL for it.
37267 (libc_extra_cflags): New substituted variable.
37268 Check for -fstack-protector being used implicitly.
37269 * configure: Regenerated.
37270 * config.make.in (config-extra-cflags): New variable,
37271 gets @libc_extra_cflags@.
37272 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37275 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37276 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37277 * configure: Regenerated.
37278 * config.make.in (CPPUNDEFS): New substituted variable.
37279 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37280 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37281 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37283 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37285 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37286 (mq_attr): Use __syscall_slong_t.
37288 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37290 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37291 Check __x86_64__ instead of __WORDSIZE.
37292 (_STAT_VER_LINUX): Likewise.
37293 (stat): Check __x86_64__ instead of __WORDSIZE. Use
37294 __syscall_ulong_t and __syscall_slong_t.
37295 (stat64): Likewise.
37297 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37299 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
37301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37303 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
37305 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37307 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
37310 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
37311 include <bits/wordsize.h>. Check __x86_64__ instead of
37313 (greg_t): Use "__extension__ long long int" if __x86_64__ is
37315 (mcontext_t): Replace "unsigned long" with "unsigned long long".
37317 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
37318 include <bits/wordsize.h>. Check __x86_64__ instead of
37320 (user_regs_struct): Use "__extension__ unsigned long long"
37321 instead of "unsigned long" if __x86_64__ is defined.
37322 (user): Likewise. Pad after pointer field if __ILP32__ is
37325 2012-05-16 Joseph Myers <joseph@codesourcery.com>
37327 * configure.in (makeinfo): Require version 4.5 or later. Allow
37329 * configure: Regenerated.
37330 * manual/install.texi (texinfo): Increase version requirement to
37332 * INSTALL: Regenerated.
37334 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
37336 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37338 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
37340 * sysdeps/x86_64/x32/ffs.c: New file.
37342 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
37344 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
37345 defined. Use __syscall_ulong_t.
37346 (shminfo): Use __syscall_ulong_t.
37347 (shm_info): Likewise.
37349 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
37352 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
37354 (msgqnum_t): Use __syscall_ulong_t.
37355 (msglen_t): Likewise.
37356 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
37359 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
37360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37362 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
37364 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
37365 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
37367 * sysvipc/sys/msg.h (msgbuf): Replace long int with
37370 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
37371 include <bits/wordsize.h>. Check __x86_64__ instead of
37374 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
37375 "unsigned long long int" if __x86_64__ is defined.
37376 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
37378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
37379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37380 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
37382 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
37384 (GET_PC): Cast to uintptr_t first.
37385 (GET_FRAME): Likewise.
37386 (GET_STACK): Likewise.
37388 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
37389 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
37390 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
37391 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
37392 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
37393 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
37394 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
37395 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
37396 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
37397 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
37398 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
37399 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
37400 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37401 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
37402 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
37403 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
37404 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
37405 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
37406 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
37407 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
37408 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
37409 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
37410 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
37411 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
37412 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
37413 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
37414 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
37415 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
37416 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
37418 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
37420 * Makerules (+depfiles): Also collect depfiles from .oS in
37422 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
37423 .oS, $(libnldbl-routines)).
37425 * Makerules (native-compile-mkdep-flags): Define.
37426 * sunrpc/Makefile (extra-objs): Add $(addprefix
37427 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
37428 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
37429 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
37430 calling $(make-target-directory).
37432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37434 * bits/types.h (__snseconds_t): Removed.
37435 * time/time.h (struct timespec): Replace __snseconds_t with
37437 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
37438 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
37440 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37441 (__SNSECONDS_T_TYPE): Likewise.
37442 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37443 (__SNSECONDS_T_TYPE): Likewise.
37444 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37445 (__SNSECONDS_T_TYPE): Likewise.
37447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37449 * sysdeps/mach/hurd/bits/typesizes.h
37450 (__SYSCALL_SLONG_TYPE): New macro.
37451 (__SYSCALL_ULONG_TYPE): Likewise.
37453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37455 * bits/types.h (__syscall_slong_t): New type.
37456 (__syscall_ulong_t): Likewise.
37458 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
37459 (__SYSCALL_ULONG_TYPE): Likewise.
37460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37461 (__SYSCALL_SLONG_TYPE): Likewise.
37462 (__SYSCALL_ULONG_TYPE): Likewise.
37463 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37464 (__SYSCALL_SLONG_TYPE): Likewise.
37465 (__SYSCALL_ULONG_TYPE): Likewise.
37466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37467 (__SYSCALL_SLONG_TYPE): Likewise.
37468 (__SYSCALL_ULONG_TYPE): Likewise.
37470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37472 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
37473 Add sigaltstack-offsets.sym.
37474 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
37475 <sigaltstack-offsets.h>.
37476 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
37477 longjmp_msg pointer.
37478 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
37479 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
37481 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
37483 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37485 * elf/stackguard-macros.h: Remove file.
37486 * sysdeps/generic/stackguard-macros.h: New file.
37487 * sysdeps/i386/stackguard-macros.h: Likewise.
37488 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
37489 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
37490 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
37491 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
37492 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
37493 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
37494 * sysdeps/x86_64/stackguard-macros.h: Likewise.
37495 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
37496 <elf/stackguard-macros.h>.
37499 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
37500 __aligned__ in attribute.
37501 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
37502 (gregset_t): Likewise.
37504 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37506 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
37507 * sysdeps/x86_64/64/Implies-after: Here. New file.
37508 * sysdeps/x86_64/x32/Implies-after: New file.
37510 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37512 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
37513 and access return value for _dl_profile_fixup. Use R10_LP to
37516 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37518 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
37520 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37522 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
37523 * sysdeps/x86_64/x32/sysdep.h: New file.
37525 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37527 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
37528 * sysdeps/x86_64/setjmp.S: Likewise.
37530 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37532 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
37533 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
37534 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
37535 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
37536 remove unused global constant.
37538 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
37540 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
37541 include of <not-cancel.h>.
37543 2012-05-15 Roland McGrath <roland@hack.frob.com>
37545 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
37547 2012-05-15 Jeff Law <law@redhat.com>
37548 Andreas Jaeger <aj@suse.de>
37551 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
37553 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
37554 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
37555 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
37556 code changing __hst_map_handle.map.
37558 2012-05-15 Roland McGrath <roland@hack.frob.com>
37560 * configure.in (sysnames): Look for Implies-before and Implies-after
37562 * configure: Regenerated.
37564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37566 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
37567 8-byte data alignment with LP_SIZE alignment.
37569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37571 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
37574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37576 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
37578 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
37581 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
37582 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
37584 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37586 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37588 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
37589 (stackinfo_sub_sp): Likewise.
37591 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
37596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37598 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
37601 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
37606 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37608 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
37610 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37612 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
37613 into R11_LP and load __x86_64_shared_cache_size_half into
37616 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
37618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
37621 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
37625 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
37627 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
37629 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
37630 powerpc32/power7/fpu/s_logb.c via #include.
37631 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
37632 powerpc32/power7/fpu/s_logbf.c via #include.
37633 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
37634 powerpc32/power7/fpu/s_logbl.c via #include.
37636 2012-05-15 Joseph Myers <joseph@codesourcery.com>
37638 * README.libm: Remove file.
37640 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37642 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
37643 count for x32. Use R*_LP and omit operand-size suffix.
37645 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37647 * shlib-versions: Move x86_64-.*-linux.* entries to ...
37648 * sysdeps/x86_64/64/shlib-versions: Here. New file.
37649 * sysdeps/x86_64/x32/shlib-versions: New file.
37651 2012-05-14 Roland McGrath <roland@hack.frob.com>
37653 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
37654 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
37655 Use _dl_fatal_printf instead.
37657 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37659 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
37660 set if not set by the user. Do not allow for being unset.
37661 * sysdeps/unix/sysv/linux/configure: Regenerated.
37663 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37665 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
37666 the `q' suffix from lea and replace .quad with ASM_ADDR.
37668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37670 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
37671 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
37673 (PTR_DEMANGLE): Likewise.
37675 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37677 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
37679 (ASM_ADDR): Likewise.
37680 (RAX_LP): Likewise.
37681 (RBP_LP): Likewise.
37682 (RBX_LP): Likewise.
37683 (RCX_LP): Likewise.
37684 (RDI_LP): Likewise.
37685 (RSI_LP): Likewise.
37686 (RSP_LP): Likewise.
37689 (R10_LP): Likewise.
37690 (R10_LP): Likewise.
37691 (R11_LP): Likewise.
37692 (R12_LP): Likewise.
37693 (R13_LP): Likewise.
37694 (R14_LP): Likewise.
37695 (R15_LP): Likewise.
37697 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37699 * sysdeps/x86_64/x32/dl-machine.h: New file.
37701 2012-05-14 Andreas Jaeger <aj@suse.de>
37703 * manual/Makefile (subdir): Remove export of subdir.
37704 (all): Remove target.
37705 (.PHONY): Remove all from list.
37706 (mkinstalldirs): Remove.
37707 (.PHONY): Remove installdirs from list.
37708 ($(inst_infodir)/libc.info): Use make-target-directory.
37709 (installdirs): Remove.
37710 (subdir_%): Remove.
37711 (glibc-targets): Remove.
37714 ($(objpfx)stubs ../po/manual.pot): Remove.
37715 ($(objpfx)stamp%): Remove.
37716 (make-target-directory): Remove.
37717 (subdir_install): Remove.
37718 (routines): Remove.
37725 * manual/.gitignore: Remove, it's not needed anymore.
37726 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
37728 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
37730 (texis): Renamed to $(objpfx)texis.
37731 (texis-path): New, contains path to generated files.
37732 (chapters.%): Use texis-path for complete path, add extra argument
37734 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
37735 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
37736 (summary,texi, stamp-summary): Use complete path of
37737 files. Generate files in build dir.
37738 (dir-add.texi): Build in build dir.
37739 (libm-err.texi,stamp-libm-err): Likewise.
37740 (version.texi, stamp-version): Likewise.
37741 (.%c.texi): Likewise.
37742 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
37743 (mostlyclean): Remove target.
37744 (realclean): Remove target.
37745 (generated): Add new variable with contents from mostlyclean and
37746 realclean, remove entries duplicated in common-mostlyclean, add
37747 stamp-libm-err and stamp-version.
37748 (generated-dirs): Add libc directory.
37749 ($(inst_infodir)/libc.info): Install files from build dir.
37751 * manual/install.texi (Configuring and compiling): Adjust since
37752 the info files are not part of the tar ball anymore.
37754 2012-05-14 Andreas Jaeger <aj@suse.de>
37756 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
37759 2012-05-14 Joseph Myers <joseph@codesourcery.com>
37762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37763 to 2.2.0 where earlier.
37764 * sysdeps/unix/sysv/linux/configure: Regenerated.
37765 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
37766 Remove conditional code.
37767 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
37768 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
37769 Remove conditional code.
37770 [!__NR_lchown]: Likewise.
37771 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37772 [__NR_lchown]: Likewise.
37773 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
37774 comment referencing __ASSUME_LCHOWN_SYSCALL.
37775 * sysdeps/unix/sysv/linux/i386/sigaction.c
37776 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37777 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37778 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
37779 Remove conditional code.
37780 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
37781 (__protocol_available): Remove #if 0 code.
37782 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
37784 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
37785 * sysdeps/unix/sysv/linux/kernel-features.h
37786 (__ASSUME_GETCWD_SYSCALL): Don't define.
37787 (__ASSUME_REALTIME_SIGNALS): Likewise.
37788 (__ASSUME_PREAD_SYSCALL): Likewise.
37789 (__ASSUME_PWRITE_SYSCALL): Likewise.
37790 (__ASSUME_POLL_SYSCALL): Likewise.
37791 (__ASSUME_LCHOWN_SYSCALL): Likewise.
37792 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
37794 (__ASSUME_SIOCGIFNAME): Don't define.
37795 (__ASSUME_MSG_NOSIGNAL): Likewise.
37796 (__ASSUME_SENDFILE): Define unconditionally.
37797 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
37798 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
37800 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
37801 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
37802 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37803 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37804 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
37805 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
37806 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
37807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
37808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
37811 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
37814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
37817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
37820 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
37823 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
37824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
37826 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
37829 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37830 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37831 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
37832 Remove conditional code.
37833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37834 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37835 Remove conditional code.
37836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37837 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
37838 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
37839 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37840 Remove conditional code.
37841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37842 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
37843 Remove conditional code.
37844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37845 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
37846 Remove conditional code.
37847 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37848 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
37849 Remove conditional code.
37850 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
37851 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
37852 Remove conditional code.
37853 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37854 * sysdeps/unix/sysv/linux/sh/pwrite64.c
37855 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
37856 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
37857 * sysdeps/unix/sysv/linux/sigaction.c
37858 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37859 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37860 * sysdeps/unix/sysv/linux/sigpending.c
37861 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37862 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37863 * sysdeps/unix/sysv/linux/sigprocmask.c
37864 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37865 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37866 * sysdeps/unix/sysv/linux/sigsuspend.c
37867 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
37868 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
37869 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37870 (__libc_missing_rt_sigs): Remove.
37871 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
37872 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
37873 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
37874 Remove conditional code.
37875 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
37876 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
37878 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
37879 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
37880 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
37881 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
37883 2012-05-14 Andreas Jaeger <aj@suse.de>
37885 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
37886 it's not used in glibc.
37887 (__coshm1): Likewise.
37888 (__acosh1p): Likewise.
37891 * manual/string.texi (Copying and Concatenation): Add missing
37892 variable in concat example.
37893 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
37895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37898 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
37899 __builtin_clzl with __builtin_clzll.
37901 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
37904 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
37907 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37909 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
37910 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
37911 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
37912 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
37914 2012-05-14 Mike Frysinger <vapier@gentoo.org>
37916 * NEWS: Update ia64 info.
37918 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
37920 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
37923 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
37925 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
37926 * sysdeps/unix/syscalls.list (dup3): Likewise.
37927 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
37928 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
37930 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37932 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
37933 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
37935 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
37937 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
37939 (TLS_IE): Use mov/add instead of movq/addq to load thread
37941 (TLS_GD_PREFIX): New.
37944 2012-05-11 David S. Miller <davem@davemloft.net>
37946 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
37947 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
37948 (_FPU_SETCW): Likewise.
37950 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37952 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
37953 is 32-byte aligned.
37955 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
37958 * iconvdata/gb18030.c: Update tables.
37959 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
37960 characters specially.
37961 (BODY for TO_LOOP): Add encoding of missing ranges.
37963 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
37966 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
37967 * sysdeps/mach/hurd/dup3.c: Likewise.
37968 * sysdeps/mach/hurd/readlinkat.c: Likewise.
37969 * sysdeps/powerpc/memmove.c:: Likewise.
37971 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37973 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
37974 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
37976 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
37978 * elf/elf.h (R_X86_64_RELATIVE64): New.
37979 (R_X86_64_NUM): Updated.
37980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37981 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
37982 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
37983 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
37984 tst-quad1pie tst-quad2pie
37985 (modules-names): Add tst-quadmod1 tst-quadmod2.
37986 ($(objpfx)tst-quad1): New dependency.
37987 ($(objpfx)tst-quad2): Likewise.
37988 ($(objpfx)tst-quad1pie): Likewise.
37989 ($(objpfx)tst-quad2pie): Likewise.
37990 * sysdeps/x86_64/tst-quad1.c: New file.
37991 * sysdeps/x86_64/tst-quad1pie.c: New file.
37992 * sysdeps/x86_64/tst-quad2.c: Likewise.
37993 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
37994 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
37995 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
37996 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
37997 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
37999 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38001 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38002 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38003 * streams/stropts.h (t_scalar_t): Define type.
38005 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38006 (_PATH_PRESERVE): Set to "/var/lib".
38007 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38009 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38012 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38013 if __dir_mkfile succeeded.
38015 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38016 checking for _hurd_dtablesize. Unlock it right after having
38017 finished _hurd_dtable allocation.
38019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38021 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38022 * sysdeps/mach/hurd/configure: Regenerated.
38023 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38024 special-casing to...
38025 * sysdeps/gnu/configure.in: ... this new file.
38026 * sysdeps/unix/sysv/linux/configure: Regenerated.
38027 * sysdeps/gnu/configure: New generated file.
38029 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38030 for Linux: use nsec instead of usec, as well as:
38031 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38032 members of type struct timespec.
38033 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38035 (struct stat64): Likewise.
38036 (_STATBUF_ST_NSEC): New macro.
38037 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38039 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38040 __strtoul_internal rather than strtoul.
38042 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38044 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38047 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38049 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38050 which preserves existing values.
38051 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38053 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38055 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38056 TIMEOUT values. Return EINVAL for NFDS values either negative or
38057 greater than FD_SETSIZE.
38059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38061 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38062 allocated, call __vm_protect to finish enabling the existing space, and
38063 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38064 allocate the remainder.
38066 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38068 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38069 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38073 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38074 sysdeps/mach/hurd/readlink.c.
38076 * posix/tst-sysconf.c (posix_options): Only use
38077 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38078 _POSIX_SYNCHRONIZED_IO when they are defined
38079 * sysdeps/mach/hurd/bits/posix_opt.h:
38080 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38081 (_XOPEN_REALTIME): Undefine macro.
38082 (_XOPEN_REALTIME_THREADS): Undefine macro.
38083 (_XOPEN_SHM): Undefine macro.
38084 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38086 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38088 (_POSIX_ASYNC_IO): Undefine macro.
38089 (_POSIX_PRIORITIZED_IO): Undefine macro.
38090 (_POSIX_SPIN_LOCKS): Define macro to -1.
38092 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38093 SA_NODEFER, SA_RESETHAND.
38094 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38095 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38098 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38100 * elf/Makefile (pldd-modules): Define unconditionally.
38102 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38104 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38108 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38109 Return ENOENT when name is empty.
38110 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38112 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38114 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38116 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38120 Fix mlock in all cases except non-readable pages.
38121 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38122 instead of VM_PROT_ALL as parameter to __vm_wire function.
38124 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38125 (__mkdir): When path is `/', just fail with EEXIST.
38126 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38128 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38130 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38131 <sys/uio.h> (for writev).
38132 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38133 and <sys/param.h> (for MIN).
38135 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38137 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38138 REQUESTED_TIME. Properly set the remaining time and return EINTR
38141 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38143 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38144 Depend on against $(link-rpcuserlibs).
38146 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38148 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38149 (__libc_stack_end): Do not use attribute_relro.
38150 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38151 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
38152 to libthread-provided value.
38153 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38156 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38159 * bits/libc-lock.h (__libc_once_get): New macro.
38160 * sysdeps/mach/bits/libc-lock.h: Likewise.
38161 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38162 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38163 instead of using implementation details.
38165 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38166 * libio/freopen.c: Likewise.
38167 * libio/freopen64.c: Likewise.
38168 * misc/syslog.c: Likewise.
38169 * nscd/connections.c: Likewise.
38170 * nscd/netgroupcache.c: Likewise.
38171 * sysdeps/posix/getcwd.c: Likewise.
38173 2012-05-10 Roland McGrath <roland@hack.frob.com>
38175 * math/w_ilogbf.c: Add #include <limits.h>.
38177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38179 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
38180 path instead of returning without unlocking.
38182 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38183 immediate-write ioctls.
38184 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38186 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38188 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38189 __builtin_frame_address instead of making assumptions about the
38190 location of the return address relative to DATA. Force early load of
38191 the return address.
38192 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38193 __builtin_frame_address.
38196 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38197 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38198 implement dup3 and do some further code clean-ups.
38199 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38200 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38202 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38204 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38206 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38207 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38208 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38209 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38210 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38213 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38214 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38215 when handler == SIG_ERR, not when handler != SIG_ERR.
38217 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38219 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38220 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38223 accept4 for GNU Hurd.
38224 * include/sys/socket.h (__libc_accept4): New prototype.
38225 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38226 to implement __libc_accept4.
38227 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38229 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38231 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38232 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38233 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38234 signal-defines.sym.
38236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38238 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
38240 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
38242 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38243 assertion on O_CLOEXEC flag.
38244 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38245 * hurd/intern-fd.c: Likewise.
38246 * hurd/port2fd.c: Likewise.
38248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38251 * bits/in.h (IPV6_PKTINFO): Define new macro.
38252 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38254 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38259 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38261 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38262 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38264 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38265 * math/libm-test.inc (logb_test) : Additional logb tests.
38267 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38268 Andreas Jaeger <aj@suse.de>
38270 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38271 * configure: Regenerated.
38272 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38273 * config.make.in (link-obsolete-rpc): New substituted variable.
38274 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38275 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38276 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38277 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38278 so that libc.a contains the symbols.
38279 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38280 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38281 * sunrpc/auth_none.c: Likewise.
38282 * sunrpc/auth_unix.c: Likewise.
38283 * sunrpc/authdes_prot.c: Likewise.
38284 * sunrpc/authuxprot.c: Likewise.
38285 * sunrpc/clnt_gen.c: Likewise.
38286 * sunrpc/clnt_perr.c: Likewise.
38287 * sunrpc/clnt_raw.c: Likewise.
38288 * sunrpc/clnt_simp.c: Likewise.
38289 * sunrpc/clnt_tcp.c: Likewise.
38290 * sunrpc/clnt_udp.c: Likewise.
38291 * sunrpc/clnt_unix.c: Likewise.
38292 * sunrpc/des_crypt.c: Likewise.
38293 * sunrpc/des_soft.c: Likewise.
38294 * sunrpc/get_myaddr.c: Likewise.
38295 * sunrpc/key_call.c: Likewise.
38296 * sunrpc/key_prot.c: Likewise.
38297 * sunrpc/netname.c: Likewise.
38298 * sunrpc/pm_getmaps.c: Likewise.
38299 * sunrpc/pm_getport.c: Likewise.
38300 * sunrpc/pmap_clnt.c: Likewise.
38301 * sunrpc/pmap_prot.c: Likewise.
38302 * sunrpc/pmap_prot2.c: Likewise.
38303 * sunrpc/pmap_rmt.c: Likewise.
38304 * sunrpc/publickey.c: Likewise.
38305 * sunrpc/rpc_cmsg.c: Likewise.
38306 * sunrpc/rpc_common.c: Likewise.
38307 * sunrpc/rpc_dtable.c: Likewise.
38308 * sunrpc/rpc_prot.c: Likewise.
38309 * sunrpc/rpc_thread.c: Likewise.
38310 * sunrpc/rtime.c: Likewise.
38311 * sunrpc/svc.c: Likewise.
38312 * sunrpc/svc_auth.c: Likewise.
38313 * sunrpc/svc_raw.c: Likewise.
38314 * sunrpc/svc_run.c: Likewise.
38315 * sunrpc/svc_tcp.c: Likewise.
38316 * sunrpc/svc_udp.c: Likewise.
38317 * sunrpc/svc_unix.c: Likewise.
38318 * sunrpc/svcauth_des.c: Likewise.
38319 * sunrpc/xcrypt.c: Likewise.
38320 * sunrpc/xdr.c: Likewise.
38321 * sunrpc/xdr_array.c: Likewise.
38322 * sunrpc/xdr_float.c: Likewise.
38323 * sunrpc/xdr_intXX_t.c: Likewise.
38324 * sunrpc/xdr_mem.c: Likewise.
38325 * sunrpc/xdr_rec.c: Likewise.
38326 * sunrpc/xdr_ref.c: Likewise.
38327 * sunrpc/xdr_sizeof.c: Likewise.
38328 * sunrpc/xdr_stdio.c: Likewise.
38330 2012-05-10 Roland McGrath <roland@hack.frob.com>
38332 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
38333 change. Update copyright years.
38335 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38337 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
38339 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
38340 Joseph Myers <joseph@codesourcery.com>
38341 Paul Pluzhnikov <ppluzhnikov@google.com>
38344 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
38346 [cross-compiling] (extra-libs): Likewise.
38347 [cross-compiling] (extra-libs-others): Likewise.
38348 [cross-compiling] (librpcsvc-routines): Likewise.
38349 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
38350 [cross-compiling] (omit-deps): Likewise.
38351 (sunrpc-CPPFLAGS): New variable.
38352 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
38353 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
38354 (cross-rpcgen-objs): New variable.
38355 (extra-objs): Append $(cross-rpcgen-objs).
38356 ($(cross-rpcgen-objs)): New rule.
38357 ($(objpfx)cross-rpcgen): Likewise.
38358 (rpcgen-cmd): Define to use $(built-program-file). Expand
38360 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
38361 ($(objpfx)x%.stmp): Likewise.
38362 * sunrpc/proto.h [IS_IN_build] (_): Define.
38363 [IS_IN_build] (_libc_intl_domainname): Likewise.
38365 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38367 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
38368 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
38369 and R_X86_64_TPOFF64.
38371 2012-05-10 Joseph Myers <joseph@codesourcery.com>
38373 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
38374 sysdeps/unix/sysv/syscalls.list.
38377 * sysdeps/unix/sysv/syscalls.list: Remove file.
38379 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
38382 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
38383 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
38384 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
38385 (__LC_IDENTIFICATION): Make these macros useful in #if
38386 expressions, as required by C99.
38388 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
38390 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
38391 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
38394 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
38396 * stdlib/longlong.h: Updated from GCC.
38398 2012-05-09 Andreas Jaeger <aj@suse.de>
38400 * nscd/nscd.c (run_modes): Make named enum, reorder so that
38401 default is first entry.
38402 (run_mode): Set type.
38403 (main): Remove informal message about syslog.
38404 (options): Fix typo.
38407 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
38410 (llrintf): Likewise.
38411 (llrint): Likewise.
38414 (nearbyint): Likewise.
38415 (nearbyintf): Likewise.
38417 2012-05-09 Andreas Jaeger <aj@suse.de>
38418 Pedro Alves <palves@redhat.com>
38420 * nscd/nscd.c (run_mode): Use enum.
38421 (main): Cleanup coding style issue.
38423 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
38424 Andreas Jaeger <aj@suse.de>
38426 * nscd/nscd.c (go_background): Replaced with...
38427 (run_mode): ... this.
38428 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
38429 (options): Add -F --foreground.
38430 (main): Implement it.
38431 (parse_opt): Parse it.
38433 2012-05-09 Andreas Jaeger <aj@suse.de>
38436 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
38437 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
38438 -Wconversion warning.
38439 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
38442 2012-05-09 Joseph Myers <joseph@codesourcery.com>
38444 * conform/data/locale.h-data (NULL): Use macro-constant. Require
38446 (LC_ALL): Use macro-int-constant.
38447 (LC_COLLATE): Likewise.
38448 (LC_CTYPE): Likewise.
38449 (LC_MESSAGES): Likewise.
38450 (LC_MONETARY): Likewise.
38451 (LC_NUMERIC): Likewise.
38452 (LC_TIME): Likewise.
38453 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
38454 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38455 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38456 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
38458 [C99-based standards] (float_t): Expect type.
38459 [C99-based standards] (double_t): Expect type.
38460 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
38462 [C99-based standards] (HUGE_VALL): Likewise.
38463 [C99-based standards] (INFINITY): Likewise.
38464 [C99-based standards] (NAN): Likewise.
38465 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
38466 [C99-based standards] (FP_NAN): Likewise.
38467 [C99-based standards] (FP_NORMAL): Likewise.
38468 [C99-based standards] (FP_SUBNORMAL): Likewise.
38469 [C99-based standards] (FP_ZERO): Likewise.
38470 [C99-based standards] (FP_FAST_FMA): Use
38471 optional-macro-int-constant. Specify type. Require == 1.
38472 [C99-based standards] (FP_FAST_FMAF): Likewise.
38473 [C99-based standards] (FP_FAST_FMAL): Likewise.
38474 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
38475 [C99-based standards] (FP_ILOGBNAN): Likewise.
38476 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
38478 [C99-based standards] (MATH_ERREXCEPT): Likewise.
38479 [C99-based standards] (math_errhandling): Specify type.
38480 [ISO99 || ISO11] (signgam): Do not allow.
38481 [non-C99-based standards] (copysignf): Do not allow.
38482 [non-C99-based standards] (exp2f): Likewise.
38483 [non-C99-based standards] (log2f): Likewise.
38484 [non-C99-based standards] (modff): Allow.
38485 [non-C99-based standards] (erff): Do not allow.
38486 [non-C99-based standards] (erfcf): Likewise.
38487 [non-C99-based standards] (gammaf): Likewise.
38488 [non-C99-based standards] (hypotf): Likewise.
38489 [non-C99-based standards] (j0f): Likewise.
38490 [non-C99-based standards] (j1f): Likewise.
38491 [non-C99-based standards] (jnf): Likewise.
38492 [non-C99-based standards] (lgammaf): Likewise.
38493 [non-C99-based standards] (tgammaf): Likewise.
38494 [non-C99-based standards] (y0f): Likewise.
38495 [non-C99-based standards] (y1f): Likewise.
38496 [non-C99-based standards] (ynf): Likewise.
38497 [non-C99-based standards] (isnanf): Likewise.
38498 [non-C99-based standards] (acoshf): Likewise.
38499 [non-C99-based standards] (asinhf): Likewise.
38500 [non-C99-based standards] (atanhf): Likewise.
38501 [non-C99-based standards] (cbrtf): Likewise.
38502 [non-C99-based standards] (expm1f): Likewise.
38503 [non-C99-based standards] (ilogbf): Likewise.
38504 [non-C99-based standards] (log1pf): Likewise.
38505 [non-C99-based standards] (logbf): Likewise.
38506 [non-C99-based standards] (nextafterf): Likewise.
38507 [non-C99-based standards] (remainderf): Likewise.
38508 [non-C99-based standards] (rintf): Likewise.
38509 [non-C99-based standards] (scalbf): Likewise.
38510 [non-C99-based standards] (copysignl): Likewise.
38511 [non-C99-based standards] (exp2l): Likewise.
38512 [non-C99-based standards] (log2l): Likewise.
38513 [non-C99-based standards] (modfl): Allow.
38514 [non-C99-based standards] (erfl): Do not allow.
38515 [non-C99-based standards] (erfcl): Likewise.
38516 [non-C99-based standards] (gammal): Likewise.
38517 [non-C99-based standards] (hypotl): Likewise.
38518 [non-C99-based standards] (j0l): Likewise.
38519 [non-C99-based standards] (j1l): Likewise.
38520 [non-C99-based standards] (jnl): Likewise.
38521 [non-C99-based standards] (lgammal): Likewise.
38522 [non-C99-based standards] (tgammal): Likewise.
38523 [non-C99-based standards] (y0l): Likewise.
38524 [non-C99-based standards] (y1l): Likewise.
38525 [non-C99-based standards] (ynl): Likewise.
38526 [non-C99-based standards] (isnanl): Likewise.
38527 [non-C99-based standards] (acoshl): Likewise.
38528 [non-C99-based standards] (asinhl): Likewise.
38529 [non-C99-based standards] (atanhl): Likewise.
38530 [non-C99-based standards] (cbrtl): Likewise.
38531 [non-C99-based standards] (expm1l): Likewise.
38532 [non-C99-based standards] (ilogbl): Likewise.
38533 [non-C99-based standards] (log1pl): Likewise.
38534 [non-C99-based standards] (logbl): Likewise.
38535 [non-C99-based standards] (nextafterl): Likewise.
38536 [non-C99-based standards] (remainderl): Likewise.
38537 [non-C99-based standards] (rintl): Likewise.
38538 [non-C99-based standards] (scalbl): Likewise.
38539 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38540 [non-C99-based standards] (FP_*): Do not allow.
38541 [C99-based standards] (FP_*): Change to
38542 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
38543 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38545 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
38546 (SIG_ERR): Likewise.
38547 [X/Open-based standards] (SIG_HOLD): Likewise.
38548 (SIG_IGN): Likewise.
38549 (SIGABRT): Use macro-int-constant. Specify type. Require
38551 (SIGFPE): Likewise.
38552 (SIGILL): Likewise.
38553 (SIGINT): Likewise.
38554 (SIGSEGV): Likewise.
38555 (SIGTER): Likewise.
38556 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
38557 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
38558 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
38559 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
38560 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
38561 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
38562 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
38563 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
38564 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
38565 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
38566 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
38567 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
38568 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
38569 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
38570 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
38571 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
38572 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
38573 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
38574 [X/Open-based standards] (SIGTRAP): Likewise.
38575 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
38576 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
38577 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
38578 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
38579 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
38582 2012-05-08 Ian Wienand <ianw@vmware.com>
38585 * time/tzset.c (__tzset_parse_tz): Update default rules for
38586 daylight time changes in the Energy Policy Act of 2005.
38588 2012-05-09 Andreas Jaeger <aj@suse.de>
38591 * elf/ldconfig.c (parse_conf): Change string to make clear that
38592 ldconfig only issued a warning if ld.so.conf does not exist.
38594 2012-05-08 David S. Miller <davem@davemloft.net>
38596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
38597 movxtod instead of popping the value on the stack.
38599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38601 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
38603 * config.h.in: Add HAVE_ARM_PCS_VFP.
38605 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
38608 * include/features.h: Warn if user requests __FORTIFY_SOURCE
38609 checking but the checks are disabled for any reason.
38611 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
38613 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
38614 and ELF64_R_TYPE with ELFW(R_TYPE).
38616 2012-05-08 Joseph Myers <joseph@codesourcery.com>
38618 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
38619 (ulimit): Likewise.
38621 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
38622 (settimeofday): Likewise.
38624 2012-05-08 Mike Frysinger <vapier@gentoo.org>
38626 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
38627 a struct th_u2 inside the union, and move tu_block/tu_code into
38628 a new th_u3 union of tu_block/tu_code inside of that. Move
38629 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
38630 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
38631 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
38632 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
38633 (th_stuff): Change to th_u1.tu_stuff.
38635 (th_msg): Change to th_u1.th_u2.tu_data.
38637 2012-05-07 David S. Miller <davem@davemloft.net>
38639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38642 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
38643 (SETUP_PIC_REG): Use it.
38644 (SETUP_PIC_REG_LEAF): Use it.
38646 2012-05-07 Joseph Myers <joseph@codesourcery.com>
38650 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38652 (EXPL_FINITE): Likewise.
38653 (FLDLOG): Likewise.
38654 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38655 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38659 (EXPL_FINITE): Likewise.
38660 (FLDLOG): Likewise.
38661 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
38662 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
38664 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
38665 test of -max_value argument for long double.
38666 * sysdeps/i386/fpu/libm-test-ulps: Update.
38667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38669 2012-05-06 David S. Miller <davem@davemloft.net>
38671 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
38672 quad soft-float symbols whose references which are compiler
38674 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38676 2012-05-06 Joseph Myers <joseph@codesourcery.com>
38680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38682 (EXPL_FINITE): Likewise.
38683 (FLDLOG): Likewise.
38686 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38687 Adjust comments for base varying.
38688 (__expl_finite): Change alias to EXPL_FINITE.
38689 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
38691 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
38692 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
38693 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38694 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
38695 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
38697 (EXPL_FINITE): Likewise.
38698 (FLDLOG): Likewise.
38701 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
38702 Adjust comments for base varying.
38703 (__expl_finite): Change alias to EXPL_FINITE.
38704 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
38706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38709 * math/libm-test.inc (check_float_internal): Correct ulp
38710 calculation for subnormal expected results.
38712 2012-05-06 Andreas Jaeger <aj@suse.de>
38714 * Makeconfig (+math-flags): New, set to -frounding-math.
38715 (+cflags): Add +math-flags so that all of glibc gets compiled with
38718 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
38720 2012-05-05 Joseph Myers <joseph@codesourcery.com>
38722 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
38728 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
38729 (__ieee754_expl): Allow for and saturate large arguments.
38730 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
38731 (u_threshold): Likewise.
38732 (__exp): Call __ieee754_exp before checking for overflow and
38734 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
38735 (u_threshold): Likewise.
38736 (__expf): Call __ieee754_expf before checking for overflow and
38738 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
38739 (u_threshold): Likewise.
38740 (__expl): Call __ieee754_expl before checking for overflow and
38742 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
38743 (__ieee754_expl): Allow for and saturate large arguments.
38744 * math/libm-test.inc (exp_test): Add another test. Do not allow
38745 missing overflow exception on overflow.
38746 (expm1_test): Do not allow missing overflow exception on overflow.
38748 * sysdeps/i386/fpu/e_expl.c: Move to ...
38749 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
38750 rather than using inline asm.
38751 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
38752 * sysdeps/x86_64/fpu/e_expl.S: Copy from
38753 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
38755 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
38758 (signal): Likewise.
38762 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38764 * sysdeps/unix/syscalls.list (adjtime): Add entry from
38765 sysdeps/unix/common/syscalls.list.
38766 (fchmod): Likewise.
38767 (fchown): Likewise.
38768 (ftruncate): Likewise.
38769 (getrusage): Likewise.
38770 (gettimeofday): Likewise.
38771 (setpgid): Likewise.
38772 (setregid): Likewise.
38773 (setreuid): Likewise.
38774 (sigaction): Likewise.
38775 (truncate): Likewise.
38776 (vhangup): Likewise.
38777 * sysdeps/unix/common/syscalls.list: Remove file.
38778 * sysdeps/unix/bsd/Implies: Don't include unix/common.
38779 * sysdeps/unix/sysv/linux/Implies: Likewise.
38781 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
38783 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
38784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
38785 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
38787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38789 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
38791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
38792 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
38794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
38795 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
38797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
38798 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
38800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
38801 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
38803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
38804 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
38806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
38807 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
38809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
38811 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
38813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
38815 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
38817 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
38818 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
38820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
38822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
38824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
38826 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38828 * sysdeps/unix/common/bits/dirent.h: Remove file.
38829 * sysdeps/unix/common/bits/fcntl.h: Likewise.
38831 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
38832 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
38833 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
38834 * sysdeps/unix/bsd/isatty.c: Likewise.
38835 * sysdeps/unix/bsd/tcdrain.c: Likewise.
38836 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
38837 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
38839 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38842 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
38843 long double comparison inaccuracies.
38844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38847 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
38849 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
38850 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
38852 2012-05-04 Joseph Myers <joseph@codesourcery.com>
38855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
38856 nonzero digits before rounding a hex value.
38857 * stdlib/tst-strtod.c (tests): Add another test.
38859 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38861 * sysdeps/s390/fpu/libm-test-ulps: Update.
38863 2012-05-03 Andreas Jaeger <aj@suse.de>
38865 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
38866 does not get optimized out.
38867 (malloc_opt_barrier): New.
38869 2012-05-03 Andreas Jaeger <aj@suse.de>
38870 Roland McGrath <roland@hack.frob.com>
38872 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
38873 intermediate file deletion.
38874 (generated): Add .symlist files.
38876 2012-05-03 Joseph Myers <joseph@codesourcery.com>
38879 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
38880 Redirect under this condition.
38881 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38882 [__USE_GNU] (__dprintf_chk): Not under this condition.
38883 [__USE_GNU] (__vdprintf_chk): Likewise.
38884 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
38885 under this condition.
38886 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
38887 [__USE_XOPEN2K8] (dprintf): Define under this condition.
38888 [__USE_XOPEN2K8] (vdprintf): Likewise.
38889 [__USE_GNU] (__dprintf_chk): Not under this condition.
38890 [__USE_GNU] (__vdprintf_chk): Likewise.
38891 [__USE_GNU] (dprintf): Likewise.
38892 [__USE_GNU] (vdprintf): Likewise.
38894 2012-05-03 Roland McGrath <roland@hack.frob.com>
38896 * elf/Makefile (common-generated): Set this instead of generated for
38897 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
38898 $(all-built-dso)-derived lists.
38900 2012-05-03 Andreas Jaeger <aj@suse.de>
38902 * sysdeps/i386/fpu/libm-test-ulps: Update.
38905 * FAQ.in: Likewise.
38906 * scripts/gen-FAQ.pl: Likewise.
38907 * manual/install.texi (Installation): Point to online location of
38909 * Makefile (files-for-dist): Remove FAQ.
38912 2012-05-02 Allan McRae <allan@archlinux.org>
38914 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
38915 (LDFLAGS-reldepmod5.so): Likewise.
38916 (LDFLAGS-reldep6mod1.so): Likewise.
38917 (LDFLAGS-reldep6mod4.so): Likewise.
38918 (LDFLAGS-reldep8mod3.so): Likewise.
38919 (LDFLAGS-unload4mod1.so): Likewise.
38920 (LDFLAGS-unload4mod2.so): Likewise.
38921 (LDFLAGS-tst-initorder): Likewise.
38922 (LDFLAGS-tst-initordera2.so): Likewise.
38923 (LDFLAGS-tst-initordera3.so): Likewise.
38924 (LDFLAGS-tst-initordera4.so): Likewise.
38925 (LDFLAGS-tst-initorderb2.so): Likewise.
38926 (LDFLAGS-noload): Likewise.
38927 (LDFLAGS-next): Likewise.
38928 (LDFLAGS-order2mod1.so): Likewise.
38929 (LDFLAGS-order2mod2.so): Likewise.
38930 (LDFLAGS-tst-initorder2): Likewise.
38931 (LDFLAGS-tst-initorder2a.so): Likewise.
38932 (LDFLAGS-tst-initorder2b.so): Likewise.
38933 (LDFLAGS-tst-initorder2c.so): Likewise.
38934 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
38936 2012-05-02 David S. Miller <davem@davemloft.net>
38938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38940 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
38943 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
38945 2012-05-02 Andreas Jaeger <aj@suse.de>
38947 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
38948 since we manipulate rounding mode.
38949 (CPPFLAGS-test-idouble.c): Likewise.
38950 (CPPFLAGS-test-ifloat.c): Likewise.
38951 (CFLAGS-test-ldouble.c): Likewise.
38952 (CFLAGS-test-double.c): Likewise.
38953 (CFLAGS-test-float.c): Likewise.
38954 (CFLAGS-test-misc.c): Likewise.
38955 (CFLAGS-test-test-fenv.c): Likewise.
38957 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38961 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
38962 comparisons to determine direction to adjust input.
38964 2012-05-01 Roland McGrath <roland@hack.frob.com>
38966 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
38967 output to the target.
38969 * scripts/localplt.awk: New file.
38970 * elf/Makefile ($(objpfx)check-localplt): Target removed.
38971 (check-localplt-CFLAGS): Variable removed.
38972 ($(all-built-dso:=.jmprel)): New static pattern rule.
38973 (generated): Add those targets.
38974 (localplt-built-dso): New variable.
38975 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
38977 * elf/check-localplt.c: File removed.
38979 * scripts/check-execstack.awk: New file.
38980 * elf/Makefile ($(objpfx)check-execstack): Target removed.
38981 (check-execstack-CFLAGS): Variable removed.
38982 ($(objpfx)check-execstack.h): Target removed.
38983 ($(objpfx)execstack-default): New target.
38984 (generated): Add that instead of check-execstack.h.
38985 ($(all-built-dso:=.phdr)): New static pattern rule.
38986 (generated): Add those targets.
38987 * elf/check-execstack.c: File removed.
38989 * scripts/check-textrel.awk: New file.
38990 * elf/Makefile ($(objpfx)check-textrel): Target removed.
38991 (check-textrel-CFLAGS): Variable removed.
38992 (all-built-dso): Use := to define.o
38993 ($(all-built-dso:=.dyn)): New static pattern rule.
38994 (generated): Add those targets.
38995 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
38996 * config.make.in (READELF): New substituted variable.
38997 * elf/check-textrel.c: File removed.
38999 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39001 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39003 * conform/data/ctype.h-data [C99-based standards] (isblank):
39005 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39006 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39008 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39009 Specify type. Require positive value.
39010 (EILSEQ): Likewise.
39011 (ERANGE): Likewise.
39012 [ISO || POSIX] (EILSEQ): Do not expect.
39013 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39014 Specify type. Require positive value.
39015 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39016 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39017 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39018 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39019 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39020 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39021 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39022 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39023 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39024 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39025 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39026 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39027 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39028 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39029 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39030 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39031 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39032 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39033 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39034 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39035 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39036 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39037 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39038 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39039 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39040 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39041 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39042 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39043 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39044 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39045 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39046 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39047 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39048 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39049 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39050 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39051 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39052 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39053 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39054 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39055 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39056 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39057 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39058 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39059 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39060 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39061 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39062 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39063 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39064 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39065 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39066 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39067 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39068 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39069 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39070 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39071 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39072 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39073 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39074 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39075 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39076 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39077 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39078 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39079 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39080 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39081 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39082 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39083 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39084 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39085 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39086 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39087 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39088 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39089 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39090 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39091 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39093 (FLT_ROUNDS): Expect as macro, not constant.
39094 (FLT_MANT_DIG): Use macro-int-constant.
39095 (DBL_MANT_DIG): Likewise.
39096 (LDBL_MANT_DIG): Likewise.
39097 (FLT_DIG): Likewise.
39098 (DBL_DIG): Likewise.
39099 (LDBL_DIG): Likewise.
39100 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39101 (DBL_MIN_EXP): Likewise.
39102 (LDBL_MIN_EXP): Likewise.
39103 (FLT_MAX_EXP): Use macro-int-constant.
39104 (DBL_MAX_EXP): Likewise.
39105 (LDBL_MAX_EXP): Likewise.
39106 (FLT_MAX_10_EXP): Likewise.
39107 (DBL_MAX_10_EXP): Likewise.
39108 (LDBL_MAX_10_EXP): Likewise.
39109 (FLT_MAX): Use macro-constant.
39110 (DBL_MAX): Likewise.
39111 (LDBL_MAX): Likewise.
39112 (FLT_EPSILON): Use macro-constant. Give upper bound.
39113 (DBL_EPSILON): Likewise.
39114 (LDBL_EPSILON): Likewise.
39115 (FLT_MIN): Likewise.
39116 (DBL_MIN): Likewise.
39117 (LDBL_MIN): Likewise.
39118 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39119 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39120 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39121 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39122 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39123 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39124 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39125 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39126 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39127 [ISO11] (FLT_TRUE_MIN): Likewise.
39128 [ISO11] (LDBL_TRUE_MIN): Likewise.
39129 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39130 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39131 (SCHAR_MIN): Use macro-int-constant. Specify type.
39132 (SCHAR_MAX): Likewise.
39133 (UCHAR_MAX): Likewise.
39134 (CHAR_MIN): Likewise.
39135 (CHAR_MAX): Likewise.
39136 (MB_LEN_MAX): Use macro-int-constant.
39137 (SHRT_MIN): Use macro-int-constant. Specify type.
39138 (SHRT_MAX): Likewise.
39139 (USHRT_MAX): Likewise.
39140 (INT_MAX): Likewise.
39141 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39143 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39145 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39147 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39148 bound negative. Suffix upper bound with "L".
39149 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39151 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39153 [C99-based standards] (LLONG_MAX): Likewise.
39154 [C99-based standards] (ULLONG_MAX): Likewise.
39155 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39157 [ISO11] (max_align_t): Require type.
39158 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39160 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39161 from $CFLAGS, without defining away __attribute__ calls.
39162 (checknamespace): Use $CFLAGS_namespace.
39164 * conform/conformtest.pl (@keywords): Only include C99 keywords
39165 for standards based on C99 or C11.
39167 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39169 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39172 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39173 usability of symbols in #if.
39175 * conform/conformtest.pl: If macro or constant types start
39176 "promoted:", expect the symbol to be of the following type
39177 promoted by the integer promotions.
39179 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39180 in one place. Also handle "macro-constant".
39182 * conform/conformtest.pl: Only accept expected macro values with
39183 "==". Parse all "macro" lines in one place.
39184 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39186 * conform/conformtest.pl: Handle braced types on "constant" lines
39187 instead of handling "typed-constant".
39188 * conform/data/signal.h-data: Use "constant" instead of
39191 * conform/conformtest.pl: Handle "optional-" at start of lines in
39192 one place rather than duplicating several cases. Handle each
39193 format of "macro" line with initial "optional-".
39195 * conform/conformtest.pl: Only accept expected constant or
39196 optional-constant values with "==". Parse all "constant" lines in
39197 one place. Parse all "optional-constant" lines in one place.
39198 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39199 * conform/data/fmtmsg.h-data: Likewise.
39200 * conform/data/netinet/in.h-data: Likewise.
39201 * conform/data/tar.h-data: Likewise.
39202 * conform/data/limits.h-data: Use "==" form on "constant" and
39203 "optional-constant" lines.
39205 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39206 Use -std=c99 for XOPEN2K.
39207 (@knownproblems): Remove.
39208 (newtoken): Don't check %isknown.
39210 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39211 Do not expect macro.
39212 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39213 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39214 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39215 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39216 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39217 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39218 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39219 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39220 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39221 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39222 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39223 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39224 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39225 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39226 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39227 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39228 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39229 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39230 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39231 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39232 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39233 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39234 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39235 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39236 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39237 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39238 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39239 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39240 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39241 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39242 [XPG3] (acosh): Likewise.
39243 [XPG3] (asinh): Likewise.
39244 [XPG3] (atanh): Likewise.
39245 [XPG3] (cbrt): Likewise.
39246 [XPG3] (expm1): Likewise.
39247 [XPG3] (ilogb): Likewise.
39248 [XPG3] (log1p): Likewise.
39249 [XPG3] (logb): Likewise.
39250 [XPG3] (nextafter): Likewise.
39251 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39252 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39253 [XPG3] (remainder): Likewise.
39254 [XPG3] (rint): Likewise.
39255 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39256 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39257 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39258 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39259 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39260 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39261 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39262 [UNIX98 || XOPEN2K] (scalb): Expect.
39263 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39264 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39265 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39266 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39267 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39268 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39269 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39270 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39271 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39272 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39273 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39274 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39275 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39276 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39277 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39278 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39279 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39280 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39281 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39282 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39283 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39284 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39285 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39286 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39287 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39288 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39289 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39290 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39291 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
39292 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
39293 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
39294 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
39295 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
39296 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
39297 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
39298 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
39299 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
39300 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
39301 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
39302 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
39303 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
39304 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
39305 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
39306 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
39307 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
39308 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
39309 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
39310 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
39311 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
39312 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
39313 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
39314 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
39315 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
39316 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
39317 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
39318 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
39319 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
39320 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
39321 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
39322 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
39323 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
39324 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
39325 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
39326 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
39327 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
39328 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
39329 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
39330 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
39331 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
39332 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
39333 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
39334 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
39335 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
39336 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
39337 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
39338 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
39339 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
39340 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
39341 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
39342 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
39343 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
39344 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
39345 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
39346 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
39347 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
39348 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
39349 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
39350 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
39351 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
39352 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
39353 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
39354 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
39355 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
39356 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
39357 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
39358 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
39359 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
39360 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
39361 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
39362 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
39363 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
39364 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
39365 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
39366 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
39367 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
39368 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
39369 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
39370 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
39371 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
39372 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
39373 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
39374 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
39375 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
39376 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
39377 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
39378 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
39379 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
39380 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
39381 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
39382 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
39383 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
39384 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
39385 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
39386 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
39387 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
39388 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
39389 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
39390 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
39391 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
39392 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
39393 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
39394 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
39395 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
39396 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
39397 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
39398 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
39399 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
39401 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
39402 _XOPEN_SOURCE_EXTENDED for XPG4.
39404 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
39406 * Makeconfig (localtime): Remove variable.
39407 (inst_localtime-file): Likewise.
39409 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
39423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
39427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39430 2012-05-01 Joseph Myers <joseph@codesourcery.com>
39434 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
39435 comparisons to determine direction to adjust input.
39436 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39437 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
39438 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
39440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39442 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39444 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
39445 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
39447 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
39449 * math/libm-test.inc (nexttoward_test): Add more tests.
39451 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
39454 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
39455 in version GLIBC_2.1, not GLIBC_2.0.
39456 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
39459 2012-04-30 Joseph Myers <joseph@codesourcery.com>
39462 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
39464 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39465 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
39466 * math/libm-test.inc (acos_test): Add more tests.
39467 (asin_test): Likewise.
39468 * sysdeps/i386/fpu/libm-test-ulps: Update.
39469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39472 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
39474 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
39475 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
39476 * math/libm-test.inc (acos_test_tonearest): New function.
39477 (acos_test_towardzero): Likewise.
39478 (acos_test_downward): Likewise.
39479 (acos_test_upward): Likewise.
39480 (asin_test_tonearest): Likewise.
39481 (asin_test_towardzero): Likewise.
39482 (asin_test_downward): Likewise.
39483 (asin_test_upward): Likewise.
39484 (main): Call the new functions.
39485 * sysdeps/i386/fpu/libm-test-ulps: Update.
39486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39490 * math/e_exp10.c: Include <float.h>.
39491 (__ieee754_exp10): Handle underflow here rather than multiplying
39492 large negative argument by M_LN10.
39493 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
39495 * math/e_exp10l.c: Include <float.h>.
39496 (__ieee754_exp10l): Handle underflow here rather than multiplying
39497 large negative argument by M_LN10l.
39498 * math/libm-test.inc (exp10_test): Add another test. Do not allow
39499 spurious overflow exception on underflow.
39501 2012-04-29 Marek Polacek <polacek@redhat.com>
39503 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
39504 (__fortify_function): New macro.
39505 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
39506 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
39507 __extern_always_inline.
39508 * libio/bits/stdio2.h: Likewise.
39509 * libio/bits/stdio.h: Likewise.
39510 * string/string.h: Likewise.
39511 * string/bits/string3.h: Likewise.
39512 * include/stdio.h: Likewise.
39513 * stdlib/bits/stdlib.h: Likewise.
39514 * stdlib/stdlib.h: Likewise.
39515 * rt/bits/mqueue2.h: Likewise.
39516 * rt/mqueue.h: Likewise.
39517 * posix/bits/unistd.h: Likewise.
39518 * posix/unistd.h: Likewise.
39519 * io/bits/poll2.h: Likewise.
39520 * io/bits/fcntl2.h: Likewise.
39521 * io/fcntl.h: Likewise.
39522 * io/sys/poll.h: Likewise.
39523 * misc/bits/syslog.h: Likewise.
39524 * misc/bits/syslog-ldbl.h: Likewise.
39525 * misc/sys/syslog.h: Likewise.
39526 * socket/bits/socket2.h: Likewise.
39527 * socket/sys/socket.h: Likewise.
39528 * debug/tst-chk1.c: Likewise.
39529 * wcsmbs/bits/wchar2.h: Likewise.
39530 * wcsmbs/bits/wchar-ldbl.h: Likewise.
39531 * wcsmbs/wchar.h: Likewise.
39533 2012-04-29 Andreas Jaeger <aj@suse.de>
39535 * Makerules (tests): Remove enable-check-abi protection.
39536 (check-abi-warn): Remove.
39537 (check-abi-%): Remove check-abi-warn usage.
39539 * configure.in: Remove check-abi configure option.
39540 * configure: Regenerated.
39541 * config.make.in (enable-check-abi): Remove.
39543 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
39546 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
39547 double functions to double *_finite functions.
39550 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
39551 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
39553 * stdio-common/Makefile (tests): Add tst-sprintf3.
39554 * stdio-common/tst-sprintf3.c: New file.
39556 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
39557 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
39559 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39561 * conform/conformtest.pl: Remove duplicate typed-constant
39564 2012-04-28 David S. Miller <davem@davemloft.net>
39566 * Makerules (%.abilist): Add vpath on sysdep_dirs.
39567 (check-abi-%): Remove AWK script prerequisite and explicit
39569 (check-abi): Rewrite to just diff the symlist with the abilist.
39570 (config-tls, config-abi-config): Delete, no longer used.
39571 (update-abi-%): Remove AWK script and explicit abilist directory.
39572 (update-abi): Rewrite to simply compare and conditionally copy the
39573 symlist and the sysdep abilist file. Remove update-abi-config
39575 * abilist/ld.abilist: Remove.
39576 * abilist/libBrokenLocale.abilist: Remove.
39577 * abilist/libanl.abilist: Remove.
39578 * abilist/libcrypt.abilist: Remove.
39579 * abilist/libdl.abilist: Remove.
39580 * abilist/librt.abilist: Remove.
39581 * abilist/libthread_db.abilist: Remove.
39582 * abilist/libutil.abilist: Remove.
39583 * scripts/extract-abilist.awk: Remove.
39584 * scripts/merge-abilist.awk: Remove.
39585 * sysdeps/generic/libcidn.abilist: New file.
39586 * sysdeps/generic/libnss_compat.abilist: New file.
39587 * sysdeps/generic/libnss_db.abilist: New file.
39588 * sysdeps/generic/libnss_dns.abilist: New file.
39589 * sysdeps/generic/libnss_files.abilist: New file.
39590 * sysdeps/generic/libnss_hesiod.abilist: New file.
39591 * sysdeps/generic/libnss_nis.abilist: New file.
39592 * sysdeps/generic/libnss_nisplus.abilist: New file.
39593 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
39594 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
39595 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
39597 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
39598 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
39599 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
39600 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
39601 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
39602 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
39603 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
39604 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
39605 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
39607 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
39608 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
39609 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
39610 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
39612 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
39613 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
39614 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
39615 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
39616 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
39617 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
39619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
39620 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
39621 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
39623 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
39624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
39626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
39628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
39630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
39632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
39634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
39636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
39638 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
39640 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
39642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
39644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
39646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
39648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
39650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
39652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
39658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
39664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
39677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
39679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
39681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
39683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
39685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
39687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
39689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
39691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
39695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
39697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
39699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
39701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
39702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
39704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
39706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
39708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
39710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
39712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
39714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
39716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
39720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
39722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
39724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
39726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39727 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
39728 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
39730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
39731 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
39732 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
39733 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
39734 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
39735 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
39736 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
39737 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
39738 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
39739 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
39740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
39741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
39743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
39745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
39747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
39749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
39751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
39753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
39755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
39759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
39761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
39763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
39765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
39766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
39768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
39770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
39772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
39774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
39776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
39778 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
39780 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39782 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
39784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
39786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
39788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
39791 2012-04-28 Joseph Myers <joseph@codesourcery.com>
39793 * conform/conformtest.pl: Fix typo in handling typed-constant from
39796 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39798 * README: Cut down references to pre-2.6 Linux kernels and
39799 Linuxthreads. Update lists of configurations in libc and ports
39800 and sort alphabetically. Say "or newer" with Linux kernel version
39803 * config.h.in [IS_IN_build]: Allow compiling without optimization.
39805 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
39808 * math/libm-test.inc (logb_test_downward): New test to expose
39809 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
39812 2012-04-27 Joseph Myers <joseph@codesourcery.com>
39815 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
39817 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
39818 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
39820 2012-04-26 Joseph Myers <joseph@codesourcery.com>
39822 * sysdeps/unix/i386/brk.S: Remove file.
39823 * sysdeps/unix/i386/dl-brk.S: Likewise.
39824 * sysdeps/unix/i386/pipe.S: Likewise.
39825 * sysdeps/unix/i386/sigreturn.S: Likewise.
39826 * sysdeps/unix/i386/syscall.S: Likewise.
39827 * sysdeps/unix/i386/vfork.S: Likewise.
39828 * sysdeps/unix/i386/wait.S: Likewise.
39830 * sysdeps/unix/common/tcsendbrk.c: Move to ...
39831 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
39833 * configure.in (arm*-none*): Do not allow without
39834 --enable-hacker-mode.
39835 (netbsd*): Remove case setting base_os.
39836 (386bsd*): Likewise.
39837 (freebsd*): Likewise.
39840 (sunos*): Likewise.
39841 (ultrix*): Likewise.
39842 (newsos*): Likewise.
39843 (dynix*): Likewise.
39849 (minix*): Likewise.
39850 (irix4*): Likewise.
39851 (irix6*): Likewise.
39852 (solaris[2-9]*): Likewise.
39854 * configure: Regenerated.
39856 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39859 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
39860 overflow or cancellation in calculating denominator.
39861 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
39862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
39863 down expression to avoid unexpected rounding in newer GCCs.
39864 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
39866 2012-04-26 David S. Miller <davem@davemloft.net>
39868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39869 long-double compat symbols.
39870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
39874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
39876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
39877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
39878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
39879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
39880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
39881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
39882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39884 2012-04-25 David S. Miller <davem@davemloft.net>
39886 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
39887 HWCAP_* values only after the memory barriers have been defined.
39888 (atomic_full_barrier): Define.
39889 (atomic_read_barrier): Define.
39890 (atomic_write_barrier): Define.
39892 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39894 * shlib-versions: Add libgcc_s version information.
39895 * sysdeps/generic/libgcc_s.h: Remove.
39896 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
39898 * sysdeps/gnu/unwind-resume.c: Likewise.
39899 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
39901 2012-04-25 David S. Miller <davem@davemloft.net>
39903 * sysdeps/unix/sparc/brk.S: Delete.
39904 * sysdeps/unix/sparc/dl-brk.S: Delete.
39905 * sysdeps/unix/sparc/pipe.S: Delete.
39906 * sysdeps/unix/sparc/sysdep.S: Delete.
39907 * sysdeps/unix/sparc/sysdep.h: Delete.
39908 * sysdeps/unix/sparc/vfork.S: Delete.
39909 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
39910 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
39911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
39912 (ret_ERRVAL, r0, r1, MOVE): Define.
39913 (JUMPTARGET): Remove.
39914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
39915 sysdeps/unix/sparc/sysdep.h
39916 (ENTRY, END): Remove.
39917 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39919 2012-04-25 Joseph Myers <joseph@codesourcery.com>
39921 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39922 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
39925 * timezone/README: Update upstream location and email address for
39927 * timezone/zdump.c: Update from tzcode 2012b.
39928 * timezone/zic.c: Likewise.
39930 * configure.in (libc_cv_as_needed): Remove test.
39931 * configure: Regenerated.
39932 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
39933 conditional definition.
39934 [$(have-as-needed) != yes] (no-as-needed): Likewise.
39935 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
39936 * config.make.in (have-as-needed): Remove variable.
39938 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39939 Paul Pluzhnikov <ppluzhnikov@google.com>
39941 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
39944 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
39946 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
39947 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
39948 * sysdeps/sh/strlen.S: Likewise.
39950 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39952 * sysdeps/unix/fork.S: Remove file.
39953 * sysdeps/unix/i386/fork.S: Likewise.
39954 * sysdeps/unix/sparc/fork.S: Likewise.
39956 * sysdeps/unix/system.c: Remove file.
39957 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
39959 * sysdeps/unix/getegid.S: Remove file.
39960 * sysdeps/unix/geteuid.S: Likewise.
39962 2012-04-24 Roland McGrath <roland@hack.frob.com>
39964 * scripts/check-localplt.awk: New file.
39965 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
39967 * scripts/data/localplt-generic.data: Add a comment.
39969 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
39970 NODE when __dir_mkfile failed.
39971 * sysdeps/mach/hurd/symlinkat.c: Likewise.
39972 Reported by Ludovic Courtès <ludo@gnu.org>.
39974 2012-04-24 Andreas Jaeger <aj@suse.de>
39976 * Makerules (common-clean): Also remove gen-as-const-headers
39979 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39981 * Makerules (native-compile): Do not change working directory for
39982 build. Use $(OUTPUT_OPTION) in command.
39983 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
39985 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39988 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
39989 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
39990 * math/libm-test.inc (floor_test): Add more tests.
39991 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
39993 2012-04-24 Joseph Myers <joseph@codesourcery.com>
39995 * sysdeps/unix/getdents.c: Remove file.
39996 * sysdeps/unix/sysv/getdents.c: Likewise.
39997 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
39999 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40000 sysdeps/unix/mman/syscalls.list.
40002 (mprotect): Likewise.
40004 (munmap): Likewise.
40005 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40006 * sysdeps/unix/mman/syscalls.list: Remove.
40007 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40009 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40010 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40011 * configure: Regenerated.
40012 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40013 $(libgcc_s_suffix).
40014 * config.make.in (libgcc_s_suffix): Remove variable.
40016 2012-04-23 Joseph Myers <joseph@codesourcery.com>
40018 * sysdeps/unix/sysv/gethostname.c: Move to ...
40019 * sysdeps/posix/gethostname.c: ... here.
40021 * sysdeps/unix/execve.S: Remove file.
40023 * sysdeps/unix/_exit.S: Remove file.
40025 2012-04-23 Andreas Jaeger <aj@suse.de>
40028 * manual/Makefile: Remove make dist support, there's no
40029 need for a stand-alone documentation tar ball.
40030 (TEXI2DVI): Define always, it's not in Makeconfig.
40033 (edition): Removed.
40034 (glibc-doc-$(edition).tar): Removed
40038 (ETAGS): Remove, it's in Makeconfig.
40039 (move-if-change): Remove, it's in Makeconfig.
40041 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
40044 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40045 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40046 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40047 (strtod_l, strtof_l, strtold_l): Remove __wur.
40048 It is not necessarily an error to ignore strtol's return value.
40049 One can reliably look at the stored endptr to decide whether
40050 the number had valid syntax.
40052 2012-04-21 Andreas Jaeger <aj@suse.de>
40055 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40057 2012-04-21 Joseph Myers <joseph@codesourcery.com>
40059 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40060 * sysdeps/unix/sysv/Versions: Remove file.
40062 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40067 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
40070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40071 version from __vm86.
40073 2012-04-20 Joseph Myers <joseph@codesourcery.com>
40075 * sysdeps/unix/common/lxstat.c: Remove file.
40076 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40078 * sysdeps/unix/sysv/Makefile: Remove file.
40080 * sysdeps/unix/sysv/direct.h: Remove file.
40082 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40083 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40084 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40085 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40086 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40087 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40088 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40090 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40092 * sysdeps/unix/xmknod.c: Remove file.
40093 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40095 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40097 * sysdeps/unix/sysv/i386/time.S: Remove file.
40099 * sysdeps/unix/fxstat.c: Remove file.
40100 * sysdeps/unix/xstat.c: Likewise.
40101 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40103 * sysdeps/unix/sysv/sigaction.c: Remove file.
40105 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40106 (sysdep_headers): Remove variable.
40107 [termio.h not in sysdep_headers] (generated): Likewise.
40108 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40109 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40110 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40111 * sysdeps/unix/sysv/tcflow.c: Likewise.
40112 * sysdeps/unix/sysv/tcflush.c: Likewise.
40113 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40114 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40115 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40116 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40117 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40119 * sysdeps/unix/siglist.c: Remove file.
40121 * sysdeps/unix/getppid.S: Remove file.
40123 * sysdeps/unix/mkdir.c: Remove file.
40124 * sysdeps/unix/rmdir.c: Likewise.
40126 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40128 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40130 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40131 errlist-compat value.
40133 2012-04-18 David S. Miller <davem@davemloft.net>
40135 * sysdeps/generic/memcopy.h (reg_char): Delete.
40136 * debug/strcat_chk.c: Use char, not reg_char.
40137 * debug/strcpy_chk.c: Likewise.
40138 * debug/strncat_chk.c: Likewise.
40139 * debug/strncpy_chk.c: Likewise.
40140 * string/memchr.c: Likewise.
40141 * string/memrchr.c: Likewise.
40142 * string/rawmemchr.c: Likewise.
40143 * string/strcat.c: Likewise.
40144 * string/strchr.c: Likewise.
40145 * string/strchrnul.c: Likewise.
40146 * string/strcmp.c: Likewise.
40147 * string/strcpy.c: Likewise.
40148 * string/strncat.c: Likewise.
40149 * string/strncmp.c: Likewise.
40150 * string/strncpy.c: Likewise.
40152 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40154 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40155 __builtin_memcopy is called when src and dest ranges are known to not
40158 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40160 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40161 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40162 fwd_align_merge macro call.
40163 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40164 bwd_align_merge macro call.
40165 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40167 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40169 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40170 bwd_align_merge macros.
40171 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40172 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40173 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40175 2012-04-18 David S. Miller <davem@davemloft.net>
40177 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40179 2012-04-18 Andreas Jaeger <aj@suse.de>
40182 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40183 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40184 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40187 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40188 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40190 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40191 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40192 Adjust for changed ldbl-128 files.
40194 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40195 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40196 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40198 2012-04-17 David S. Miller <davem@davemloft.net>
40200 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40202 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40204 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40205 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40206 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40207 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40208 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40209 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40211 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40214 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40215 * math/libm-test.inc: Add ilogb errno and exception tests.
40216 * math/w_ilogb.c: New file: ilogb wrapper.
40217 * math/w_ilogbf.c: New file: ilogbf wrapper.
40218 * math/w_ilogbl.c: New file: ilogbl wrapper.
40219 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40220 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40221 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40222 exception being thrown with 0.0 as argument.
40223 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40224 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40225 exception being thrown with 0.0 as argument.
40226 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40227 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40228 exception being thrown with 0.0 as argument.
40229 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40230 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40231 exception being thrown with 0.0 as argument.
40232 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40233 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
40234 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
40235 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40236 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40237 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40238 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40239 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40240 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40242 2012-04-17 Petr Baudis <pasky@ucw.cz>
40244 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40247 2012-04-16 Marek Polacek <polacek@redhat.com>
40249 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40251 2012-04-16 Marek Polacek <polacek@redhat.com>
40253 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40254 operands of fdivp instruction.
40256 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40258 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40259 * elf/tst-auditmod3b.c: Likewise.
40260 * elf/tst-auditmod4b.c: Likewise.
40261 * elf/tst-auditmod5b.c: Likewise.
40262 * elf/tst-auditmod6b.c: Likewise.
40263 * elf/tst-auditmod6c.c: Likewise.
40264 * elf/tst-auditmod7b.c: Likewise.
40265 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40266 * sysdeps/x86_64/preconfigure.in: Likewise.
40267 * sysdeps/x86_64/preconfigure: Regenerated.
40269 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40271 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40274 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
40276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40277 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40279 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40282 * locale/iso-639.def: Fix gl language name. Spotted by
40285 2012-04-12 Roland McGrath <roland@hack.frob.com>
40288 * libio/libio.h (__io_write_fn): Update comment.
40290 2012-04-12 Petr Baudis <pasky@ucw.cz>
40293 * stdio.texi (Hook Functions): The user provided writer function
40294 is not allowed to return -1.
40296 2012-04-11 David S. Miller <davem@davemloft.net>
40298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40300 2012-04-11 Mike Frysinger <vapier@gentoo.org>
40302 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
40303 Add a leading slash to rtkaio.
40305 2012-04-11 Jim Meyering <meyering@redhat.com>
40308 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
40309 It is not necessarily an error to ignore fwrite's return
40310 value. One can reliably use ferror to test for errors after
40313 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40315 * bits/types.h (__snseconds_t): New type.
40316 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
40318 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
40319 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40320 (__SNSECONDS_T_TYPE): Likewise.
40321 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40322 (__SNSECONDS_T_TYPE): Likewise.
40323 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40324 (__SNSECONDS_T_TYPE): Likewise.
40326 2012-04-10 Andreas Jaeger <aj@suse.de>
40329 * manual/time.texi (Processor Time): Return type of times is
40330 elapsed real time since an arbitrary point in the past.
40331 (CPU Time): Move CLK_TCK from here...
40332 (Processor Time): ...to here. Correct description.
40333 * manual/conf.texi (Constants for Sysconf): Correct description of
40336 2012-04-10 David S. Miller <davem@davemloft.net>
40339 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
40340 where the is a gap between DT_REL(A) and DT_JMPREL.
40342 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
40344 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
40345 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40346 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40348 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
40350 * elf/dl-support.c (_dl_inhibit_cache): New variable.
40351 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
40352 (dl_main): Handle --inhibit-cache.
40353 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
40355 * elf/dl-load.c (_dl_map_object): Use it.
40356 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
40358 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40361 * sysdeps/i386/fpu/e_powl.S (p78): New object.
40362 (__ieee754_powl): Saturate large exponents rather than testing for
40363 overflow of y*log2(x).
40364 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40365 * math/libm-test.inc (pow_test): Do not permit spurious overflow
40369 * math/s_ctan.c: Include <float.h>.
40370 (__ctan): Avoid internal overflow or cancellation in calculating
40372 * math/s_ctanf.c: Likewise.
40373 * math/s_ctanl.c: Likewise.
40374 * math/s_ctanh.c: Likewise.
40375 * math/s_ctanhf.c: Likewise.
40376 * math/s_ctanhl.c: Likewise.
40377 * math/libm-test.inc (ctan_test): Add more tests.
40378 (ctanh_test): Likewise.
40379 * sysdeps/i386/fpu/libm-test-ulps: Update.
40380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40382 2012-04-09 Andreas Jaeger <aj@suse.de>
40385 * manual/filesys.texi (Directory Entries): Mention that d_namlen
40386 is an optional BSD extension.
40389 * manual/stdio.texi (Opening Streams): Document additional fopen
40392 2012-04-09 Roland McGrath <roland@hack.frob.com>
40394 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
40395 %eax without telling the compiler.
40397 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
40400 * manual/install.texi: Use sourceware.org.
40402 2012-04-09 Joseph Myers <joseph@codesourcery.com>
40405 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
40406 (__ieee754_pow): Generate overflow and underflow using huge*huge
40407 and tiny*tiny rather than just returning constant infinity or zero
40408 for large exponents.
40409 * math/libm-test.inc (pow_test): Require overflow exceptions for
40410 applicable cases of large exponents.
40413 * sysdeps/i386/fpu/e_pow.S (p10): New object.
40414 (__ieee754_pow): Use iterative multiplication algorithm only for
40415 integer exponents with absolute value below 1024. Check for odd
40416 integer exponents when using algorithm for real exponents.
40417 * math/libm-test.inc (pow_test): Add more tests.
40418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40420 2012-04-08 Joseph Myers <joseph@codesourcery.com>
40423 * math/libm-test.inc (exp_test): Do not allow overflow exception
40426 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
40429 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
40430 instead of __kernel_standard_f.
40432 2012-04-08 Mike Frysinger <vapier@gentoo.org>
40434 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
40435 * sysdeps/x86_64/memset_chk.S: Likewise.
40437 2012-04-08 Andreas Jaeger <aj@suse.de>
40440 * manual/startup.texi (Environment Access): Describe return value
40441 for putenv and setenv.
40444 * manual/filesys.texi (Directory Entries): Add description for
40448 * manual/filesys.texi (Directory Entries): Clarify that it's file
40449 system not operating system in the description of DT_UNKNOWN.
40452 * manual/syslog.texi (closelog): Fix reference, it's openlog.
40454 2012-04-08 Stephen Compall <s11@member.fsf.org>
40457 * manual/llio.texi (Opening and Closing Files): Add cross
40458 reference to explain mode argument.
40460 2012-04-07 Mike Frysinger <vapier@gentoo.org>
40462 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
40463 * sysdeps/x86_64/memset_chk.S: Likewise.
40465 2012-04-07 David S. Miller <davem@davemloft.net>
40467 * elf/elf.h (R_SPARC_WDISP10): Define.
40468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
40470 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40471 R_SPARC_SIZE64 and R_SPARC_H34.
40473 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
40475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
40476 conditions and remove no longer applicable assertion.
40478 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40480 * bits/byteswap.h: Include <features.h>.
40481 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
40482 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
40484 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
40486 * bits/byteswap.h (__bswap_16): Removed.
40487 Include <bits/byteswap-16.h> to get __bswap_16.
40488 * sysdeps/i386/bits/byteswap.h: Likewise.
40489 * sysdeps/s390/bits/byteswap.h: Likewise.
40490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40491 * bits/byteswap-16.h: New file.
40492 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40493 * sysdeps/s390/bits/byteswap-16.h: Likewise.
40494 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
40495 * string/Makefile (headers): Add bits/byteswap-16.h.
40497 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40500 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
40502 * nss/Makefile (tests-static, tests): Add tst-nss-static.
40503 * nss/tst-nss-static.c: New.
40505 2012-04-06 Robert Millan <rmh@gnu.org>
40508 * manual/llio.texi (File Position Primitive): lseek
40509 refers to WHENCE when it really means OFFSET.
40511 2012-04-06 Andreas Jaeger <aj@suse.de>
40513 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
40514 strncmp declarations.
40516 * abilist/libc.abilist: Add __poll and __ppoll.
40518 2012-04-05 David S. Miller <davem@davemloft.net>
40520 * scripts/check-local-headers.sh: Accept a host triplet in the
40521 path matched by the exclude regexp.
40523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
40525 * sysdeps/powerpc/powerpc32/dl-machine.h
40526 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
40527 * sysdeps/s390/s390-32/dl-machine.h
40528 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40529 * sysdeps/sparc/sparc32/dl-machine.h
40530 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40531 * sysdeps/sparc/sparc64/dl-machine.h
40532 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
40534 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
40536 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
40537 undefined symbol errors.
40539 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
40542 2012-04-05 Michael Matz <matz@suse.de>
40545 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
40547 2012-04-05 Andreas Jaeger <aj@suse.de>
40550 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
40553 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40555 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
40556 which ROUND is no valid rounding mode.
40558 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40560 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
40562 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
40564 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40566 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
40567 an exception using FPU order intentionally.
40569 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
40571 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
40572 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
40573 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
40574 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
40576 2012-04-05 Simon Josefsson <simon@josefsson.org>
40579 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
40580 EINVAL when BUFLEN is too smal.
40582 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
40585 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
40586 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
40588 2012-04-03 Andreas Jaeger <aj@suse.de>
40591 * manual/setjmp.texi (System V contexts): Fix sentence.
40594 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
40595 New macro for this case.
40596 [!__GNUC__] (__bswap_64): New inline function for this case.
40597 * sysdeps/x86_64/bits/byteswap.h: Likewise.
40598 * bits/byteswap.h: Likewise.
40599 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
40600 ull, guard with __GLIBC_HAVE_LONG_LONG.
40602 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
40603 __GLIBC_HAVE_LONG_LONG.
40605 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
40606 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
40608 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40611 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
40612 inptr and inend, rather than using last_ch.
40614 2012-04-02 David S. Miller <davem@davemloft.net>
40616 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
40617 * stdio-common/printf-parse.h (read_int): Change return type to
40618 'int', return -1 on INT_MAX overflow.
40619 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
40620 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
40621 overflows INT_MAX. Check for overflow of in-format-string precision
40622 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
40623 SIZE_MAX not INT_MAX for integer overflow test.
40624 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
40625 skip the construct in the format string but do not record anything.
40626 * stdio-common/bug22.c: Adjust to test both width/prevision
40627 INT_MAX overflow as well as total length INT_MAX overflow. Check
40628 explicitly for proper errno values.
40630 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
40632 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
40634 * string/test-strcmp.c [! WIDE]: Likewise.
40635 * time/tst-mktime2.c: Likewise for INT_MAX.
40636 * string/test-string.h: #include <sys/param.h> for MIN.
40638 * csu/init-first.c (__libc_init_first): Call __ctype_init.
40639 * sysdeps/i386/init-first.c (init): Likewise.
40640 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
40641 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
40642 * sysdeps/sh/init-first.c (init): Likewise.
40644 2012-04-01 Ulrich Drepper <drepper@gmail.com>
40646 * po/ru.po: Update from translation team.
40647 * po/vi.po: Likewise.
40649 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
40651 * resolv/nss_dns/dns-host.c: Merge copyright years.
40653 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40655 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40656 Optimize memcpy with prefetch if
40657 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
40658 src, dst pointers have unequal 16 byte alignments.
40660 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
40663 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
40664 from a CNAME entry and return the minimum ttl for the query.
40665 (gaih_getanswer_slice): Likewise.
40667 2012-03-30 Jeff Law <law@redhat.com>
40669 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
40671 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
40672 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
40674 * resolv/nss_dns/dns-host.c: Update copyright year.
40676 2012-03-30 Ulrich Drepper <drepper@gmail.com>
40678 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
40679 requests to save a system call. Fix check that all bytes are sent.
40681 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
40682 comments for sendmmsg.
40684 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40687 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
40688 with only 1 character between 0x0041 and 0x01b0.
40689 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
40690 * wcsmbs/tst-mbsnrtowcs.c: New file.
40692 2012-03-29 David S. Miller <davem@davemloft.net>
40694 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
40695 small copies by hand.
40697 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40700 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
40701 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
40704 2012-03-28 David S. Miller <davem@davemloft.net>
40706 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
40707 that branches into memcpy.
40708 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40710 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40711 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
40714 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
40715 implementation too.
40716 * sysdeps/sparc/mempcpy.S: New file.
40718 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
40719 the IFUNC routine in the libc case.
40720 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40722 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
40723 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
40724 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
40725 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
40726 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
40727 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
40728 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
40729 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
40731 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
40732 loop to 256 bytes instead of 64 bytes and fix test signedness.
40734 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
40735 * sysdeps/sparc/sparc32/Makefile: rather than here...
40736 * sysdeps/sparc/sparc64/Makefile: and here.
40738 2012-03-28 Ulrich Drepper <drepper@gmail.com>
40740 * malloc/mallocbug.c: Avoid warnings about unused variables.
40742 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40745 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
40746 in the right place. Discard and retry query if response is
40747 larger than input buffer size.
40749 2012-03-28 Joseph Myers <joseph@codesourcery.com>
40754 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
40755 x for large integer exponent.
40756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40757 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
40758 sign of result as needed afterwards.
40759 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40760 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
40761 result for underflowing pow the same as for overflow.
40762 (__kernel_standard_l): Handle powl overflow and underflow here
40763 rather than calling __kernel_standard.
40764 * math/libm-test.inc (pow_test): Add more tests.
40779 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
40780 * sysdeps/ieee754/k_standard.c: Include <float.h>.
40781 (__kernel_standard_l): New function.
40782 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
40784 * math/w_acosl.c (__acosl): Likewise.
40785 * math/w_asinl.c (__asinl): Likewise.
40786 * math/w_atan2l.c (__atan2l): Likewise.
40787 * math/w_atanhl.c (__atanhl): Likewise.
40788 * math/w_coshl.c (__coshl): Likewise.
40789 * math/w_exp10l.c (__exp10l): Likewise.
40790 * math/w_exp2l.c (__exp2l): Likewise.
40791 * math/w_fmodl.c (__fmodl): Likewise.
40792 * math/w_hypotl.c (__hypotl): Likewise.
40793 * math/w_j0l.c (__j0l, __y0l): Likewise.
40794 * math/w_j1l.c (__j1l, __y1l): Likewise.
40795 * math/w_jnl.c (__jnl, __ynl): Likewise.
40796 * math/w_lgammal.c (__lgammal): Likewise.
40797 * math/w_log10l.c (__log10l): Likewise.
40798 * math/w_log2l.c (__log2l): Likewise.
40799 * math/w_logl.c (__logl): Likewise.
40800 * math/w_powl.c (__powl): Likewise.
40801 * math/w_remainderl.c (__remainderl): Likewise.
40802 * math/w_scalbl.c (sysv_scalbl): Likewise.
40803 * math/w_sinhl.c (__sinhl): Likewise.
40804 * math/w_sqrtl.c (__sqrtl): Likewise.
40805 * math/w_tgammal.c (__tgammal): Likewise.
40806 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
40807 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
40808 * math/libm-test.inc (acos_test): Add more tests.
40809 (acosh_test): Likewise.
40810 (asin_test): Likewise.
40811 (atanh_test): Likewise.
40812 (exp_test): Likewise.
40813 (exp10_test): Likewise.
40814 (exp2_test): Likewise.
40815 (expm1_test): Likewise.
40816 (lgamma_test): Likewise.
40817 (log_test): Likewise.
40818 (log10_test): Likewise.
40819 (log1p_test): Likewise.
40820 (log2_test): Likewise.
40821 (pow_test): Do not allow some spurious overflow exceptions.
40822 (sqrt_test): Add more tests.
40823 (tgamma_test): Likewise.
40824 (y0_test): Likewise.
40825 (y1_test): Likewise.
40826 (yn_test): Likewise.
40828 2012-03-27 Anton Blanchard <anton@samba.org>
40830 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
40832 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40833 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40834 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40836 2012-03-27 David S. Miller <davem@davemloft.net>
40838 * conform/Makefile: Run run-conformtest.sh using $(BASH).
40840 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
40841 have-as-vis3 check.
40843 2012-03-27 Andreas Jaeger <aj@suse.de>
40845 * sysdeps/x86_64/elf/configure.in: Moved to ...
40846 * sysdeps/x86_64/configure.in: ... here.
40847 * sysdeps/x86_64/elf/start.S: Moved to ...
40848 * sysdeps/x86_64/start.S: ... here.
40849 * sysdeps/x86_64/elf/configure: Delete.
40851 * sysdeps/x86_64/configure.in: Merge contents from
40852 sysdeps/i386/configure.in (without i686 check).
40854 * sysdeps/i386/elf/Versions: Merge into ...
40855 * sysdeps/i386/Versions: ... this.
40856 * sysdeps/i386/elf/Versions: Delete file.
40857 * sysdeps/i386/elf/start.S: Moved to ...
40858 * sysdeps/i386/start.S: ...here.
40859 * sysdeps/i386/elf/configure.in: Merge into...
40860 * sysdeps/i386/configure.in: ...here.
40861 * sysdeps/i386/elf/configure.in: Delete file.
40862 * sysdeps/i386/elf/configure: Delete file.
40864 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
40865 * debug/backtracesyms.c: ... here.
40866 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
40867 * debug/backtracesymsfd.c: ... here.
40868 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
40869 * sysdeps/generic/ifunc-sel.h: ... here.
40871 * sysdeps/unix/i386/start.c: Delete file.
40872 * sysdeps/unix/sparc/start.c: Delete file.
40873 * sysdeps/unix/start.c: Delete file.
40875 * sysdeps/sh/elf/configure.in: Moved to ...
40876 * sysdeps/sh/configure.in: ... here.
40877 * sysdeps/sh/elf/start.S: Moved to ...
40878 * sysdeps/sh/start.S: ... here.
40879 * sysdeps/sh/elf/configure: Delete file.
40881 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
40882 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
40883 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
40884 * sysdeps/powerpc/powerpc64/entry.h: ... here.
40885 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
40886 * sysdeps/powerpc/powerpc64/start.S: here.
40887 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
40888 * sysdeps/powerpc/powerpc64/Makefile: ... this.
40889 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
40890 * sysdeps/powerpc/powerpc64/configure.in: ... this.
40891 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
40893 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
40894 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
40895 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
40896 * sysdeps/powerpc/powerpc32/start.S: ... here.
40897 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
40898 * sysdeps/powerpc/powerpc32/configure.in: ... this.
40899 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
40901 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
40902 * sysdeps/powerpc/ifunc-sel.h: ... here.
40903 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
40904 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
40906 * sysdeps/sparc/elf/configure.in: Moved to ...
40907 * sysdeps/sparc/configure.in: ... here.
40908 * sysdeps/sparc/elf/configure: Delete file.
40909 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
40910 * sysdeps/sparc/sparc32/start.S: ... here.
40911 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
40912 * sysdeps/sparc/sparc64/start.S: ... here.
40913 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
40914 * sysdeps/sparc/sparc32/Makefile: ... this.
40915 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
40916 * sysdeps/sparc/sparc64/Makefile: ... this.
40918 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
40919 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
40920 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
40921 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
40922 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
40923 * sysdeps/s390/s390-32/setjmp.S: ... here.
40924 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
40925 * sysdeps/s390/s390-32/configure.in: ... here.
40926 * sysdeps/s390/s390-32/elf/configure: Delete file.
40927 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
40928 * sysdeps/s390/s390-32/start.S: ... here.
40930 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
40931 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
40932 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
40933 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
40934 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
40935 * sysdeps/s390/s390-64/setjmp.S: ... here.
40936 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
40937 * sysdeps/s390/s390-64/configure.in: ... here
40938 * sysdeps/s390/s390-64/elf/configure: Delete file.
40939 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
40940 * sysdeps/s390/s390-64/start.S: ... here.
40941 * sysdeps/s390/s390-64/elf/configure: Delete.
40943 * configure.in: Remove support for elf directories in sysdeps.
40945 * configure: Regenerated.
40946 * sysdeps/i386/configure: Regenerated.
40947 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40948 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40949 * sysdeps/s390/s390-32/configure: Regenerated.
40950 * sysdeps/s390/s390-64/configure: Regenerated.
40951 * sysdeps/sh/configure: Regenerated.
40952 * sysdeps/sparc/configure: Regenerated.
40953 * sysdeps/x86_64/configure: Regenerated.
40955 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
40957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
40960 denormal result into account.
40962 2012-03-25 Roland McGrath <roland@hack.frob.com>
40964 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
40965 Reported by Allan McRae <allan@archlinux.org>.
40967 2012-03-23 Jeff Law <law@redhat.com>
40969 * nss/getnssent.c (__nss_getent): Fix typo.
40971 2012-03-23 David S. Miller <davem@davemloft.net>
40973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40975 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
40977 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
40978 to pad to uint64_t for each field.
40979 (dl_tls_index): Replace unsigned long with uint64_t.
40981 2012-03-23 Daniel Jacobowitz <dmj@google.com>
40982 Paul Pluzhnikov <ppluzhnikov@google.com>
40985 * grp/Makefile (otherlibs): Don't set it.
40986 * inet/Makefile (otherlibs): Likewise.
40987 * login/Makefile (otherlibs): Likewise.
40988 * nscd/Makefile (otherlibs): Likewise.
40989 * posix/Makefile (otherlibs): Likewise.
40990 * pwd/Makefile (otherlibs): Likewise.
40991 * rt/Makefile (otherlibs): Likewise.
40992 * sunrpc/Makefile (otherlibs): Likewise.
40993 * nss/Makefile (otherlibs): Likewise.
40994 Add libnss_files to routines and static-only-routines.
40995 ($(objpfx)getent): Remove rule.
40996 * resolv/Makefile: Add libnss_dns and libresolv to routines and
40997 static-only-routines.
40999 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41002 * math/s_cexp.c: Include <float.h>.
41003 (__cexp): Handle exp result overflowing not necessarily
41004 overflowing both real and imaginary parts of result.
41005 * math/s_cexpf.c: Likewise.
41006 * math/s_cexpl.c: Likewise.
41007 * math/libm-test.inc (cexp_test): Add more tests.
41008 * sysdeps/i386/fpu/libm-test-ulps: Update.
41009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41011 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41013 * include/link.h (ELFW): New macro.
41014 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41015 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41017 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41019 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41022 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41024 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41026 (struct La_x32_retval): Likewise.
41028 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41030 * sysdeps/x86_64/preconfigure.in: New file.
41031 * sysdeps/x86_64/preconfigure: New generated file.
41033 2012-03-22 Joseph Myers <joseph@codesourcery.com>
41036 * math/e_exp2l.c: Include <float.h>.
41037 (__ieee754_exp2l): Handle overflow and underflow cases
41038 separately. Only pass fractional part of argument to
41040 * math/libm-test.inc (exp2_test): Add more tests.
41042 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41043 negating x to take absolute value.
41044 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41046 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41049 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41050 computing low part if x was negated.
41051 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41053 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41055 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41056 la_x32_gnu_pltexit.
41057 (pltexit): Cast int_retval to ptrdiff_t.
41058 * elf/tst-auditmod3b.c: Likewise.
41059 * elf/tst-auditmod4b.c: Likewise.
41060 * elf/tst-auditmod5b.c: Likewise.
41061 * elf/tst-auditmod6b.c: Likewise.
41062 * elf/tst-auditmod6c.c: Likewise.
41063 * elf/tst-auditmod7b.c: Likewise.
41065 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41066 and x32_gnu_pltexit.
41068 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41069 __ELF_NATIVE_CLASS.
41070 (La_x32_regs): New macro.
41071 (La_x32_retval): Likewise.
41072 (la_x32_gnu_pltenter): New function prototype.
41073 (la_x32_gnu_pltexit): Likewise.
41075 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41077 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41082 * configure.in (libc_cv_cc_nofma): Check for option to disable
41083 generation of FMA instructions.
41084 * configure: Regenerate.
41085 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41086 * sysdeps/ieee754/dbl-64/Makefile: New file.
41087 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41088 Remove brandred-fma4.
41089 (CFLAGS-brandred-fma4.c): Remove.
41090 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41091 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41093 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41096 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41098 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41099 LLONG_MAX != LONG_MAX.
41100 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41101 (_fitoa_word): Likewise.
41102 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41103 LLONG_MAX != LONG_MAX.
41104 * stdio-common/_itowa.h: Include <_itoa.h>.
41105 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41106 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41107 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41108 only if not defined.
41109 (_ITOA_WORD_TYPE): Likewise.
41110 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41111 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41113 2012-03-21 David S. Miller <davem@davemloft.net>
41115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41117 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41119 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41120 of x86_64 when setting libc_cv_slibdir, libdir and
41122 * sysdeps/unix/sysv/linux/configure: Regenerated.
41124 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41126 * manual/lang.texi (Old Varargs): Remove section.
41127 (How Variadic): Update menu.
41128 (va_start): Do not mention varargs.h.
41130 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41131 Joseph Myers <joseph@codesourcery.com>
41133 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41135 * configure: Regenerated.
41137 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41139 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41140 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41143 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41146 * Makefile (files-for-dist): Remove NOTES.
41147 (NOTES): Remove rule.
41148 * README: Don't refer to NOTES.
41149 * manual/creature.texi: Don't include macros.texi.
41150 * manual/intro.texi (creature.texi): Remove comment referring to
41153 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41154 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41155 * configure: Regenerated.
41156 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41157 LIBC_TRY_CC_OPTION.
41158 (libc_cv_as_i686): Likewise.
41159 (libc_cv_cc_avx): Likewise.
41160 (libc_cv_cc_sse2avx): Likewise.
41161 (libc_cv_cc_fma4): Likewise.
41162 (libc_cv_cc_novzeroupper): Likewise.
41163 * sysdeps/i386/configure: Regenerated.
41166 * sysdeps/i386/fpu/s_cexp.S: Remove.
41167 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41168 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41169 * math/libm-test.inc (cexp_test): Add more tests.
41170 * sysdeps/i386/fpu/libm-test-ulps: Update.
41171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41173 2012-03-21 Allan McRae <allan@archlinux.org>
41175 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41177 2012-03-21 Joseph Myers <joseph@codesourcery.com>
41180 * math/w_exp2.c: Do not include <float.h>.
41181 (o_threshold, u_threshold): Remove.
41182 (__exp2): Calculate result before checking finiteness and calling
41184 * math/w_exp2f.c: Likewise.
41185 * math/w_exp2l.c: Likewise.
41186 * math/libm-test.inc (exp2_test): Require overflow exception for
41190 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41191 range of signed 64-bit integers before using fistpll. Remove
41192 checks for whether integers fit in mantissa bits.
41193 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41194 the range of signed 32-bit integers before using fistpl. Remove
41195 checks for whether integers fit in mantissa bits.
41196 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41197 (__ieee754_powl): Test for y outside the range of signed 64-bit
41198 integers before using fistpll. Reduce 64-bit values to 63-bit
41200 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41201 divide-by-zero is raised for zero to large negative powers.
41202 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41203 (__ieee754_powl): Test for y outside the range of signed 64-bit
41204 integers before using fistpll. Reduce 64-bit values to 63-bit
41206 * math/libm-test.inc (pow_test): Add more tests.
41208 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41210 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41211 <stdio-common/_itoa.h>.
41212 * debug/segfault.c: Likewise.
41213 * elf/dl-cache.c: Likewise.
41214 * elf/dl-minimal.c: Likewise.
41215 * elf/dl-misc.c: Likewise.
41216 * elf/dl-sysdep.c: Likewise.
41217 * elf/dl-version.c: Likewise.
41218 * elf/rtld.c: Likewise.
41219 * hurd/hurdsock.c: Likewise.
41220 * hurd/lookup-retry.c: Likewise.
41221 * malloc/malloc.c: Likewise.
41222 * malloc/mtrace.c: Likewise.
41223 * nscd/nscd_getgr_r.c: Likewise.
41224 * nscd/nscd_getpw_r.c: Likewise.
41225 * nscd/nscd_getserv_r.c: Likewise.
41226 * posix/getopt_init.c: Likewise.
41227 * posix/wordexp.c: Likewise.
41228 * stdio-common/_itoa.c: Likewise.
41229 * stdio-common/printf_fphex.c: Likewise.
41230 * stdio-common/vfprintf.c: Likewise.
41231 * string/_strerror.c: Likewise.
41232 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41233 * sysdeps/i386/i686/hp-timing.h: Likewise.
41234 * sysdeps/mach/_strerror.c: Likewise.
41235 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41236 * sysdeps/mach/hurd/sethostid.c: Likewise.
41237 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41238 * sysdeps/mach/xpg-strerror.c: Likewise.
41239 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41240 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41241 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41242 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41243 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41244 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41245 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41246 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41247 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41248 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41249 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41250 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41251 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41252 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41253 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41254 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41255 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41256 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41257 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41258 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41259 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41261 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41263 * stdio-common/_itoa.h: Moved to ...
41264 * sysdeps/generic/_itoa.h: Here.
41266 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41268 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41269 instead of "_itoa.h" and "_itowa.h".
41270 * stdio-common/vfprintf.: Likewise.
41272 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41274 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41276 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41277 (__signbit): Likwise.
41278 (llrintf): Likwise.
41281 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41283 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41286 2012-03-20 Joseph Myers <joseph@codesourcery.com>
41288 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41289 OVERFLOW_EXCEPTION_OK.
41290 * math/libm-test.inc ("Philosophy"): Update comment about
41292 (OVERFLOW_EXCEPTION): Define.
41293 (OVERFLOW_EXCEPTION_OK): Likewise.
41294 (INVALID_EXCEPTION_OK): Renumber.
41295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41296 (IGNORE_ZERO_INF_SIGN): Likewise.
41297 (test_exceptions): Handle FE_OVERFLOW.
41298 (exp10_test): Expect overflow exceptions.
41299 (exp2_test): Likewise.
41300 (expm1_test): Likewise.
41301 (nextafter_test): Likewise.
41302 (pow_test): Likewise.
41303 (scalbn_test): Likewise.
41304 (scalbln_test): Likewise.
41306 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41308 * sysdeps/x86_64/bits/atomic.h
41309 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
41311 (atomic_exchange_acq): Likewise.
41312 (__arch_exchange_and_add_body): Likewise.
41313 (__arch_add_body): Likewise.
41314 (atomic_add_negative): Likewise.
41315 (atomic_add_zero): Likewise.
41317 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41319 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
41320 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
41322 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41324 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
41325 Check __x86_64__ instead of __WORDSIZE.
41327 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41329 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
41331 2012-03-19 David S. Miller <davem@davemloft.net>
41333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41335 * sysdeps/sparc/fpu/fenv_private.h: New file.
41336 * sysdeps/sparc/fpu/math_private.h: Use it.
41337 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
41339 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
41340 (libc_feholdexcept_setroundl): Remove.
41341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
41343 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
41344 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
41346 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41348 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
41349 int64_t instead of long int.
41350 (INSERT_WORDS64): Likwise.
41352 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
41354 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
41355 _Unwind_GetCFA return to _Unwind_Ptr first.
41357 2012-03-19 Joseph Myers <joseph@codesourcery.com>
41360 * math/s_clog.c: Include <float.h>.
41361 (__clog): Scale large or subnormal inputs.
41362 * math/s_clogf.c: Likewise.
41363 * math/s_clogl.c: Likewise.
41364 * math/s_clog10.c: Include <float.h>.
41365 (M_LOG10_2): Define.
41366 (__clog10): Scale large or subnormal inputs.
41367 * math/s_clog10f.c: Likewise.
41368 * math/s_clog10l.c: Likewise.
41369 * math/libm-test.inc (clog_test): Add more tests.
41370 (clog10_test): Likewise.
41371 * sysdeps/i386/fpu/libm-test-ulps: Update.
41372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
41377 * math/libm-test.inc (atan2_test): Add another test.
41379 * Makerules (common-objdir-compile): Remove.
41380 * sysdeps/unix/Makefile (config-generated): Do not add
41381 $(unix-generated) to variable.
41382 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
41383 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
41385 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
41387 [generic bits/local_lim.h] (before-compile): Do not append to
41389 [generic bits/local_lim.h] (common-generated): Likewise.
41390 [generic sys/param.h] (before-compile): Do not append to variable.
41391 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
41392 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
41393 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
41394 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
41396 [generic sys/param.h] (sys/param.h-includes): Remove variable.
41397 [generic sys/param.h] (sys/param.h-includes): Remove rule.
41398 [generic sys/param.h] ($(addprefix
41399 $(common-objpfx),$(sys/param.h-includes))): Likewise.
41400 [generic sys/param.h] (common-generated): Do not append to
41402 [generic sys/param.h] (sysdep_headers): Likewise.
41403 [generic bits/errno.h] (before-compile): Do not append to
41405 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
41407 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
41408 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
41409 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
41410 [generic bits/errno.h] (common-generated): Do not append to
41412 [generic bits/ioctls.h] (before-compile): Do not append to
41414 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
41416 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
41417 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
41418 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
41420 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
41421 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
41422 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
41423 [generic bits/ioctls.h] (common-generated): Do not append to
41425 [generic sys/syscall.h] (syscall.h): Remove variable.
41426 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
41428 [generic sys/syscall.h] (before-compile): Do not append to
41430 [generic sys/syscall.h] (common-generated): Likewise.
41431 * sysdeps/unix/errnos-tmpl.c: Remove file.
41432 * sysdeps/unix/errnos.awk: Likewise.
41433 * sysdeps/unix/ioctls-tmpl.c: Likewise.
41434 * sysdeps/unix/ioctls.awk: Likewise.
41435 * sysdeps/unix/mk-local_lim.c: Likewise.
41436 * sysdeps/unix/snarf-ioctls: Likewise.
41438 2012-03-19 Richard Henderson <rth@twiddle.net>
41440 * sysdeps/i386/fpu/fenv_private.h: New file.
41441 * sysdeps/i386/fpu/math_private.h: Use it.
41442 (math_opt_barrier, math_force_eval): Remove.
41443 (libc_feholdexcept_setround_53bit): Remove.
41444 (libc_feupdateenv_53bit): Remove.
41445 * sysdeps/x86_64/fpu/math_private.h: Likewise.
41446 (math_opt_barrier, math_force_eval): Remove.
41447 (libc_feholdexcept): Remove.
41448 (libc_feholdexcept_setround): Remove.
41449 (libc_fetestexcept, libc_fesetenv): Remove.
41450 (libc_feupdateenv_test): Remove.
41451 (libc_feupdateenv, libc_feholdsetround): Remove.
41452 (libc_feresetround): Remove.
41454 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
41455 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41457 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
41458 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
41459 (libc_feupdateenv_testl): New.
41460 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
41461 (libc_feupdateenv_testf): New.
41462 (libc_feupdateenv): Use libc_feupdateenv_test.
41463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
41464 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
41466 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
41467 (libc_feholdsetroundf, libc_feholdsetroundl): New.
41468 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
41469 (libc_feresetround_noex): New.
41470 (libc_feresetround_noexf): New.
41471 (libc_feresetround_noexl): New.
41472 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
41473 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
41474 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
41475 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
41477 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
41478 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
41480 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
41481 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
41482 SET_RESTORE_ROUND_NOEX.
41483 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
41484 SET_RESTORE_ROUND_NOEXF.
41485 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
41486 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
41487 (libc_feholdsetroundf): New.
41488 (libc_feresetround, libc_feresetroundf): New.
41490 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
41491 (libc_feholdexcept_setround_53bit): Convert from macro to function.
41492 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
41494 * sysdeps/generic/math_private.h: Include <fenv.h>.
41495 (default_libc_feholdexcept): New.
41496 (default_libc_feholdexcept_setround): New.
41497 (default_libc_fesetenv, default_libc_feupdateenv): New.
41498 (libc_feholdexcept): Only define if undefined.
41499 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
41500 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
41501 (libc_feholdexcept_setroundl): Likewise.
41502 (libc_feholdexcept_setround_53bit): Likewise.
41503 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
41504 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
41505 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
41506 (libc_feupdateenv_53bit): Likewise.
41507 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
41508 (libc_feholdexcept): Convert from macro to inline function.
41509 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
41510 (libc_fesetenv, libc_feupdateenv): Likewise.
41512 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
41513 not previously defined.
41514 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
41515 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
41516 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
41517 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
41518 * sysdeps/ieee754/flt-32/math_private.h: New file.
41519 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
41520 math_private.h below SET_FLOAT_WORD.
41521 (__isnan, __isinf_ns, __finite): Remove.
41522 (__isnanf, __isinf_nsf, __finitef): Remove.
41524 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
41526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41528 2012-03-17 David S. Miller <davem@davemloft.net>
41531 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
41534 2012-03-16 David S. Miller <davem@davemloft.net>
41536 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
41540 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
41542 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
41543 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
41544 sysdep_routines when subdir is sysvipc.
41545 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
41546 __getshmlba helper.
41548 * sysdeps/sparc/fpu/libm-test/ulps: Update.
41550 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41552 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
41555 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
41558 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
41559 (__lround): Renamed to ...
41560 (__llround): This. Replace long int with long long int.
41561 Define lround functions as aliases of llround functions.
41562 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
41564 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41566 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
41567 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
41568 adresses to uintptr_t. Replace "long int" and "unsigned long
41569 int" with "greg_t" on va_arg.
41571 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41573 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
41574 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
41576 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
41577 Move e_machine check before EI_CLASS check. Handle x32
41578 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
41579 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
41580 SKIP_EM_IA_64 and include
41581 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
41583 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
41584 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
41585 (add_system_dir): New macro.
41587 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
41588 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
41590 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41601 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
41603 * math/w_j0f.c (j0f): Likewise.
41605 * math/w_j0l.c (__j0l): Likewise.
41607 * math/w_j1.c (j1): Likewise.
41609 * math/w_j1f.c (j1f): Likewise.
41611 * math/w_j1l.c (__j1l): Likewise.
41613 * math/w_jn.c (jn): Likewise.
41615 * math/w_jnf.c (jnf): Likewise.
41617 * math/w_jnl.c (__jnl): Likewise.
41619 * math/libm-test.inc (j0_test): Add more tests.
41620 (j1_test): Likewise.
41621 (jn_test): Likewise. Add trailing semicolon to existing test.
41622 (y0_test): Likewise.
41623 (y1_test): Likewise.
41624 * sysdeps/i386/fpu/libm-test-ulps: Update.
41625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
41630 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
41631 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
41632 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
41633 (__tanl): Set errno for infinite argument.
41634 * sysdeps/i386/fpu/mptan.c: Remove.
41635 * sysdeps/i386/fpu/s_tan.S: Likewise.
41636 * sysdeps/i386/fpu/s_tanl.S: Likewise.
41637 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
41638 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
41639 * math/libm-test.inc (tan_test): Add more tests and enable more
41640 tests for double and long double.
41641 * sysdeps/i386/fpu/libm-test-ulps: Update.
41642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41644 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
41646 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
41647 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
41649 2012-03-16 Roland McGrath <roland@hack.frob.com>
41651 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
41652 * configure.in: Use it for both main tree and add-ons.
41653 * configure: Regenerated.
41655 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
41657 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
41659 2012-03-16 Joseph Myers <joseph@codesourcery.com>
41661 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
41665 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
41666 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
41667 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
41668 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
41669 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
41671 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
41672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
41673 != 0 for prec == 2.
41674 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
41675 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
41676 * sysdeps/i386/fpu/s_cosl.S: Likewise.
41677 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
41678 * sysdeps/i386/fpu/s_sinl.S: Likewise.
41679 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
41680 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
41681 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
41682 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
41683 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
41684 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
41685 * math/libm-test.inc (cos_test): Add more tests and enable more
41686 tests for long double.
41687 (sin_test): Likewise.
41688 (sincos_test): Likewise.
41689 * sysdeps/i386/fpu/libm-test-ulps: Update.
41690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41692 2012-03-16 David S. Miller <davem@davemloft.net>
41694 * sysdeps/sparc/fpu/math_private.h: New file.
41696 2012-03-15 David S. Miller <davem@davemloft.net>
41698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
41700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
41701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
41703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
41704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
41705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
41706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
41707 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
41708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
41710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41712 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
41713 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
41715 * sysdeps/sparc/sparc-ifunc.h: New file.
41716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
41718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
41721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
41723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
41724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
41725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
41730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
41732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
41734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
41736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
41738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
41739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
41740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
41743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
41744 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
41747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
41748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
41749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
41750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
41751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
41752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
41753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
41754 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
41755 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
41756 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
41757 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
41758 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
41759 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
41761 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41763 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
41765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41767 2012-03-15 Andreas Jaeger <aj@suse.de>
41770 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
41771 ieee754/flt-32 implementation for sin, cos and sincos.
41772 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
41773 * sysdeps/i386/fpu/s_cosf.S: Likewise.
41774 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
41775 * sysdeps/i386/fpu/s_sinf.S: Likewise.
41776 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
41777 ieee754/flt-32 implementation for tan.
41779 * math/libm-test.inc (cos_test): Enable some large input tests for
41781 (sin_test): Likewise.
41782 (sincos_test): Likewise.
41783 (tan_test): Add tests for large input.
41785 * sysdeps/i386/fpu/libm-test-ulps: Update.
41787 2012-03-15 Andreas Jaeger <aj@suse.de>
41790 * math/libm-test.inc (cos_test): Add more test cases.
41791 (sin_test): Likewise.
41792 (sincos_test): Likewise.
41794 2012-03-15 Andreas Jaeger <aj@suse.de>
41797 * math/libm-test.inc (cos_test): Add a test case for large input
41799 (sin_test): Likewise.
41800 (sincos_test): Likewise.
41802 2012-03-15 Andreas Jaeger <aj@suse.de>
41803 Joseph Myers <joseph@codesourcery.com>
41806 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
41807 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
41808 * sysdeps/i386/fpu/branred.c: Likewise.
41809 * sysdeps/i386/fpu/dosincos.c: Likewise.
41810 * sysdeps/i386/fpu/mpa.c: Likewise.
41811 * sysdeps/i386/fpu/s_cos.S: Likewise.
41812 * sysdeps/i386/fpu/s_sin.S: Likewise.
41813 * sysdeps/i386/fpu/s_sincos.S: Likewise.
41814 * sysdeps/i386/fpu/sincos32.c: Likewise.
41816 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
41818 (libc_feupdateenv_53bit): Define.
41819 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
41821 (libc_feupdateenv_53bit): Define.
41823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
41824 53 bit (without extend i386 double precision).
41826 * math/libm-test.inc (sincos_test): Add tests for large input.
41830 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41832 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
41834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41836 2012-03-15 David S. Miller <davem@davemloft.net>
41838 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
41839 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
41840 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
41841 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
41842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
41843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
41844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
41845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
41846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
41847 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
41848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
41849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
41850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
41851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
41852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
41853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
41855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
41856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
41858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
41859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
41861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
41862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
41864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
41865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
41866 fmin/fmax sysdep routines.
41867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
41869 2012-03-14 David S. Miller <davem@davemloft.net>
41871 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
41872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
41873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
41874 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
41875 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
41876 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
41877 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
41878 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
41879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
41880 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
41881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
41882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
41883 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
41884 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
41885 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
41886 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
41887 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
41888 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
41889 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
41890 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
41891 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
41892 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
41893 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
41894 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
41895 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
41896 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
41897 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
41898 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
41899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
41901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
41903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
41904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
41906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
41907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
41909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
41910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
41912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
41913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
41915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
41916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
41918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
41920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
41922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
41924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
41926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
41928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
41930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
41931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
41933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
41934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
41936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
41937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
41939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
41940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
41943 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41948 * sysdeps/sparc/configure.in: New file.
41949 * sysdeps/sparc/configure: Generate.
41950 * configure.in (libc_cv_sparc_as_vis3): Substitute.
41951 * configure: Regenerate.
41952 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
41953 * config.make.in (have-as-vis3): New.
41954 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
41955 available use -Av9d instead of -Av9a.
41956 * sysdeps/sparc/sparc64/Makefile: Likewise.
41957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
41958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
41960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
41962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
41964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
41966 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
41967 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
41968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
41969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
41970 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
41972 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
41973 fzeros/fnegs to load 0x80000000 into a float register instead of
41975 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
41977 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41979 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41981 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
41982 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
41983 ($(inst_includedir)/bits/syscall.h): Remove rule.
41984 ($(objpfx)bits/syscall.d): Include instead of
41985 $(objpfx)syscall-list.d.
41986 (generated): Change syscall-list.h and syscall-list.d to
41987 bits/syscall.h and bits/syscall.d.
41989 2012-03-14 Roland McGrath <roland@hack.frob.com>
41992 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
41994 2012-03-14 Joseph Myers <joseph@codesourcery.com>
41997 * math/s_csqrt.c: Include <float.h>.
41998 (__csqrt): Scale large or subnormal inputs.
41999 * math/s_csqrtf.c: Likewise.
42000 * math/s_csqrtl.c: Likewise.
42001 * math/libm-test.inc (csqrt_test): Add more tests.
42002 * sysdeps/i386/fpu/libm-test-ulps: Update.
42003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42006 * math/libm-test.inc (hypot_test): Add more tests.
42008 2012-03-13 David S. Miller <davem@davemloft.net>
42011 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42012 double-precision for the calculation instead of scaling.
42014 2012-03-13 Joseph Myers <joseph@codesourcery.com>
42016 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42017 manipulate bits before adding and subtracting TWO52[sx].
42018 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42019 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42021 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42023 2012-03-13 David S. Miller <davem@davemloft.net>
42025 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42026 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42028 rtld-global-offsets.h
42029 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42031 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42034 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42036 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42037 'err' in the ifdef scope in which it is actually used.
42039 * nss/nss_db/db-init.c: Include string.h
42041 2012-03-12 David S. Miller <davem@davemloft.net>
42043 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42044 masking out of the most significant byte of random value used.
42045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42046 Fix coding style in previous change.
42048 * sysdeps/unix/sysv/linux/kernel-features.h
42049 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42050 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42052 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42055 2012-03-11 David S. Miller <davem@davemloft.net>
42057 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42058 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42059 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42060 for 'resultvar' otherwise things get truncated on 64-bit.
42062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42063 Fix masking out of the most significant byte of random value used.
42065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42067 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42071 2012-03-09 David S. Miller <davem@davemloft.net>
42073 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42074 variables with appropriate CPP guards.
42075 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42076 from the frame pointer, not the stack pointer. Correct layout
42077 comments. Fix test on resulting framesize and the management of
42078 the outregs buffer for pltexit. Preserve floating point return
42079 values across _dl_call_pltexit call.
42080 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42081 framesize and the management of the outregs buffer for pltexit.
42082 Preserve floating point return values across _dl_call_pltexit
42084 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42085 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42086 (la_sparc64_gnu_pltexit): New functions.
42087 (print_exit): Fix format string for return register value.
42089 2012-03-10 Joseph Myers <joseph@codesourcery.com>
42091 * sunrpc/Makefile (others): Add rpcgen.
42092 ($(objpfx)rpcgen): Remove special build rule and dependency on
42094 * sunrpc/rpcgen.c: New file.
42096 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42099 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42100 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42101 * sysdeps/i386/crti.S: Likewise.
42102 * sysdeps/i386/crtn.S: Likewise.
42103 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42104 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42105 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42106 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42107 * sysdeps/sh/crti.S: Likewise.
42108 * sysdeps/sh/crtn.S: Likewise.
42109 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42112 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42114 * locale/programs/locfile-kw.gperf: Likewise.
42115 * locale/programs/charmap-kw.h: Regenerated.
42116 * locale/programs/locfile-kw.h: Likewise.
42119 * intl/plural.y: Replace FSF snail mail address with URL.
42120 * intl/plural.c: Regenerated.
42122 2012-03-09 Richard Henderson <rth@twiddle.net>
42124 * include/math_private.h: Remove file.
42125 * math/math_private.h: Move file ...
42126 * sysdeps/generic/math_private.h: ... here.
42128 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42129 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42130 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42132 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
42133 and <math_private.h>.
42134 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42135 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42136 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42137 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42138 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42139 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42140 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42142 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42143 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42144 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42145 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42146 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42148 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42149 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42152 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42153 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42155 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42156 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42158 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42159 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42160 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42161 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42162 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42163 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42164 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42166 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42167 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42168 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42169 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42170 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42171 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42172 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42174 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42175 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42176 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42177 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42178 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42180 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42181 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42182 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42183 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42184 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42185 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42186 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42188 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42189 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42190 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42191 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42192 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42193 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42195 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42197 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42198 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42199 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42200 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42201 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42203 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42204 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42206 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42207 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42208 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42212 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42214 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42215 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42216 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42217 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42220 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42221 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42222 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42223 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42224 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42225 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42226 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42227 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42228 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42229 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42233 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42234 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42235 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42236 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42237 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42238 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42239 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42240 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42241 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42246 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42247 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42248 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42249 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42250 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42251 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42252 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42253 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42254 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42255 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42256 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42257 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42258 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42259 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42261 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42262 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42263 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42264 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42265 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42266 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42267 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42268 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42269 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42270 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42271 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42272 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42273 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42275 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42276 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42277 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42278 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42279 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42280 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42281 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42282 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42283 * sysdeps/ieee754/k_standard.c: Likewise.
42284 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42285 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42286 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42287 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42288 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42289 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42290 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42291 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42292 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42293 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42294 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42295 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42296 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42297 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42298 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42299 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42300 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42301 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42302 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42303 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
42304 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
42305 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
42306 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42307 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42308 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42309 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
42310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42311 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42312 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42313 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42314 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42315 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42316 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42317 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42318 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42319 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42320 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42321 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
42322 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
42323 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42324 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42325 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42326 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42327 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42328 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42329 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42330 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42331 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42332 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42333 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42334 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42335 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42336 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42337 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
42338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42340 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
42341 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
42342 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42343 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42344 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42345 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42346 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42350 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42352 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42354 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42357 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42360 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
42361 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42362 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42363 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42364 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42365 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42366 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42367 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42368 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
42369 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42370 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
42372 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
42373 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42374 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
42375 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
42377 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42380 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
42381 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
42382 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
42383 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
42384 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42386 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42387 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42388 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
42389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42391 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
42392 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
42393 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42394 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42395 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42396 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42397 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42398 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42399 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42400 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42401 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42402 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42403 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42404 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42405 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42406 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42407 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42408 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42409 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
42410 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42411 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42412 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42414 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42415 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42416 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42417 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
42418 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42419 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42420 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
42421 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
42422 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42426 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42433 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
42434 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
42440 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42441 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
42444 * sysdeps/ieee754/s_lib_version.c: Likewise.
42445 * sysdeps/ieee754/s_matherr.c: Likewise.
42446 * sysdeps/ieee754/s_signgam.c: Likewise.
42447 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42448 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42449 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
42450 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
42451 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
42452 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42453 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
42454 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
42455 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
42456 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
42457 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42458 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
42459 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42460 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42461 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
42462 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42463 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42464 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42465 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42467 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42469 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42471 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
42472 * sunrpc/rpc_main.c: Likewise.
42473 * sunrpc/rpc_svcout.c: Likewise.
42475 2012-03-09 David S. Miller <davem@davemloft.net>
42477 * include/math_private.h: New file.
42479 2012-03-09 Joseph Myers <joseph@codesourcery.com>
42481 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
42482 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
42483 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
42484 from <bits/socket_type.h>.
42485 (enum __socket_type): Don't define here.
42486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
42487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42488 bits/socket_type.h.
42491 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
42492 checking __USE_GNU.
42494 * Makerules ($(inst_includedir)/%.h): New rule.
42495 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
42496 (install-others): Remove variable setting.
42497 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
42499 2012-03-08 Richard Henderson <rth@twiddle.net>
42501 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
42502 from macro to inline function; merge with the
42503 !__LIBC_INTERNAL_MATH_INLINES version.
42504 (__ieee754_sqrtf): Likewise.
42506 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
42507 to inline function.
42508 (__rintf, __floor, __floorf): Likewise.
42510 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
42511 macro to inline function.
42512 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
42514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
42515 not <math/math_private.h>.
42517 2012-03-08 David S. Miller <davem@davemloft.net>
42519 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
42521 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
42523 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
42525 * resolv/gai_misc.c (handle_requests): Fix struct timespec
42527 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
42528 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42530 2012-03-08 Ulrich Drepper <drepper@gmail.com>
42532 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
42533 be defined individually, they must be defined as a block. Define
42534 S for printing a string instead of hidint the different by using a
42535 macro for adding the 'l'.
42536 * stdio-common/tst-fphex-wide.c: Adjust.
42538 2012-03-07 Marek Polacek <polacek@redhat.com>
42540 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
42542 2012-03-08 Marek Polacek <polacek@redhat.com>
42545 * stdio-common/Makefile (tests): Add tst-fphex-wide.
42546 * stdio-common/tst-fphex.c: Define a few macros to make the
42547 test reusable. Use them.
42548 * stdio-common/tst-fphex-wide.c: New file.
42550 2012-03-08 Joseph Myers <joseph@codesourcery.com>
42553 * manual/macros.texi (gnusystems): New macro.
42554 (nongnusystems): Likewise.
42555 (gnulinuxhurdsystems): Likewise.
42556 (gnuhurdsystems): Likewise..
42557 (gnulinuxsystems): Likewise.
42558 * manual/charset.texi: Use new macros or @theglibc{} to refer to
42559 variants of the GNU system, not "GNU system".
42560 * manual/conf.texi: Likewise.
42561 * manual/errno.texi: Likewise. Update example of errno macro
42563 * manual/filesys.texi: Likewise.
42564 (getumask): Document as specific to GNU/Hurd.
42565 * manual/install.texi: Likewise. Reword some references to
42567 * manual/intro.texi: Likewise.
42568 * manual/io.texi: Likewise.
42569 (File Name Portability): Detail which constraints are inapplicable
42570 to all GNU systems and which are only inapplicable to GNU/Hurd.
42571 * manual/job.texi: Likewise.
42572 * manual/llio.texi: Likewise.
42573 (O_NOCTTY): Document as present on GNU/Linux.
42574 * manual/maint.texi: Likewise.
42575 * manual/memory.texi: Likewise.
42576 * manual/pattern.texi: Likewise.
42577 * manual/pipe.texi: Likewise.
42578 * manual/process.texi: Likewise.
42579 * manual/resource.texi: Likewise.
42580 (RUSAGE_CHILDREN): Remove statement about specifying a particular
42582 * manual/setjmp.texi: Likewise.
42583 * manual/signal.texi: Likewise.
42584 * manual/startup.texi: Likewise.
42585 * manual/stdio.texi: Likewise.
42586 * manual/terminal.texi: Likewise.
42587 (ONLCR): Document as POSIX.
42588 (OXTABS): Document availability on GNU/Linux as XTABS.
42589 (ONOEOT): Document availability separately from other bits.
42590 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
42591 * manual/time.texi: Likewise.
42592 * manual/users.texi: Likewise.
42593 * INSTALL: Regenerated.
42594 * sysdeps/gnu/errlist.c: Regenerated.
42596 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
42597 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
42598 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
42600 * configure: Regenerated.
42602 2012-03-07 Joseph Myers <joseph@codesourcery.com>
42604 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
42605 default includes instead of AC_HEADER_CHECK.
42606 * sysdeps/i386/configure: Regenerated.
42609 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
42610 * math/s_cacoshf.c (__cacoshf): Likewise.
42611 * math/s_cacoshl.c (__cacoshl): Likewise.
42612 * math/s_casinh.c (__casinh): Set signs of result from argument.
42613 * math/s_casinhf.c (__casinhf): Likewise.
42614 * math/s_casinhl.c (__casinhl): Likewise.
42615 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
42616 (casinh_test): Add more tests.
42617 * sysdeps/i386/fpu/libm-test-ulps: Update.
42618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42620 2012-03-07 Ulrich Drepper <drepper@gmail.com>
42622 * po/zh_TW.po: Update from translation team.
42624 * login/Makefile (distribute): Remove variable.
42625 * catgets/Makefile: Likewise.
42626 * mach/Makefile: Likewise.
42627 * malloc/Makefile: Likewise.
42628 * misc/Makefile: Likewise.
42629 * iconv/Makefile: Likewise.
42630 * nscd/Makefile: Likewise.
42631 * hurd/Makefile: Likewise.
42632 * manual/Makefile: Likewise.
42633 * locale/Makefile: Likewise.
42634 * intl/Makefile: Likewise.
42635 * conform/Makefile: Likewise.
42636 * nss/Makefile: Likewise.
42637 * time/Makefile: Likewise.
42638 * soft-fp/Makefile: Likewise.
42639 * dirent/Makefile: Likewise.
42640 * gmon/Makefile: Likewise.
42641 * po/Makefile: Likewise.
42642 * rt/Makefile: Likewise.
42643 * socket/Makefile: Likewise.
42644 * math/Makefile: Likewise.
42645 * signal/Makefile: Likewise.
42646 * debug/Makefile: Likewise.
42647 * elf/Makefile: Likewise.
42648 * timezone/Makefile: Likewise.
42649 * stdlib/Makefile: Likewise.
42650 * iconvdata/Makefile: Likewise.
42651 * sunrpc/Makefile: Likewise.
42652 * io/Makefile: Likewise.
42653 * argp/Makefile: Likewise.
42654 * inet/Makefile: Likewise.
42655 * hesiod/Makefile: Likewise.
42656 * grp/Makefile: Likewise.
42657 * csu/Makefile: Likewise.
42658 * wctype/Makefile: Likewise.
42659 * crypt/Makefile: Likewise.
42660 * libio/Makefile: Likewise.
42661 * string/Makefile: Likewise.
42662 * nis/Makefile: Likewise.
42663 * resolv/Makefile: Likewise.
42664 * stdio-common/Makefile: Likewise.
42665 * wcsmbs/Makefile: Likewise.
42666 * dlfcn/Makefile: Likewise.
42667 * posix/Makefile: Likewise.
42670 * timezone/Makefile: Don't install timezone files, just the programs
42673 2012-03-06 Ulrich Drepper <drepper@gmail.com>
42675 * nss/databases.def: Add missing gshadow entry.
42677 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
42679 2012-03-06 Marek Polacek <polacek@redhat.com>
42682 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
42683 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42684 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
42685 * stdio-common/tst-long-dbl-fphex.c: New file.
42687 2012-03-06 David S. Miller <davem@davemloft.net>
42689 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42690 (set_obp_int): New function.
42691 (get_obp_int): New function.
42692 (__get_clockfreq_via_dev_openprom): Likewise.
42693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
42694 Avoid unused variable warnings on 'val' and use builtin_expect.
42695 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
42697 (INLINE_CLONE_SYSCALL): Likewise.
42699 2012-03-05 David S. Miller <davem@davemloft.net>
42701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42703 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
42705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
42708 only for |x| >= 40.
42709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42711 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
42713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
42714 Replace gettimeofday with __vdso_gettimeofday.
42716 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42717 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
42718 __vdso_clock_gettime and __vdso_getcpu.
42720 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
42721 time with __vdso_time.
42723 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42725 * manual/lang.texi (size_t): Note types to which size_t may be
42726 equivalent with the GNU C Library, but do not describe when
42727 differences between them are significant.
42729 2012-03-05 Andreas Jaeger <aj@suse.de>
42731 * sysdeps/i386/fpu/libm-test-ulps: Update.
42733 2012-03-05 Joseph Myers <joseph@codesourcery.com>
42736 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
42737 (__ieee754_pow): Save and restore rounding mode and use
42738 round-to-nearest for main computations.
42739 * math/libm-test.inc (pow_test_tonearest): New function.
42740 (pow_test_towardzero): Likewise.
42741 (pow_test_downward): Likewise.
42742 (pow_test_upward): Likewise.
42743 (main): Call the new functions.
42744 * sysdeps/i386/fpu/libm-test-ulps: Update.
42745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42748 * math/libm-test.inc (cosh_test_tonearest): New function.
42749 (cosh_test_towardzero): Likewise.
42750 (cosh_test_downward): Likewise.
42751 (cosh_test_upward): Likewise.
42752 (sinh_test_tonearest): Likewise.
42753 (sinh_test_towardzero): Likewise.
42754 (sinh_test_downward): Likewise.
42755 (sinh_test_upward): Likewise.
42756 (main): Call the new functions.
42757 * sysdeps/i386/fpu/libm-test-ulps: Update.
42758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42760 2012-03-05 Tom de Vries <tom@codesourcery.com>
42762 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
42763 default stack guard is set in last bytes.
42764 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
42766 2012-03-05 Kees Cook <keescook@chromium.org>
42768 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
42771 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
42772 possibly allocate from heap instead of stack.
42773 * stdio-common/bug-vfprintf-nargs.c: New file.
42774 * stdio-common/Makefile (tests): Add nargs overflow test.
42776 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
42778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42780 2012-03-03 Marek Polacek <polacek@redhat.com>
42782 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
42783 * math/math_private.h: Likewise.
42784 * stdlib/tst-strtod.c: Likewise.
42785 * sysdeps/i386/i486/bits/atomic.h: Likewise.
42786 * sysdeps/x86_64/bits/atomic.h: Likewise.
42788 2012-03-02 David S. Miller <davem@davemloft.net>
42790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
42791 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
42792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
42793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
42794 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
42795 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
42796 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
42797 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
42799 2012-03-02 Roland McGrath <roland@hack.frob.com>
42802 * manual/examples/README: New file, says the example source files
42803 can be used under GPL>=2.
42804 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
42805 line containing just "*/".
42806 * manual/examples/add.c: Add copyright header (GPL>=2).
42807 * manual/examples/argp-ex1.c: Likewise.
42808 * manual/examples/argp-ex2.c: Likewise.
42809 * manual/examples/argp-ex3.c: Likewise.
42810 * manual/examples/argp-ex4.c: Likewise.
42811 * manual/examples/atexit.c: Likewise.
42812 * manual/examples/db.c: Likewise.
42813 * manual/examples/dir.c: Likewise.
42814 * manual/examples/dir2.c: Likewise.
42815 * manual/examples/execinfo.c: Likewise.
42816 * manual/examples/filecli.c: Likewise.
42817 * manual/examples/filesrv.c: Likewise.
42818 * manual/examples/fmtmsgexpl.c: Likewise.
42819 * manual/examples/genpass.c: Likewise.
42820 * manual/examples/inetcli.c: Likewise.
42821 * manual/examples/inetsrv.c: Likewise.
42822 * manual/examples/isockad.c: Likewise.
42823 * manual/examples/longopt.c: Likewise.
42824 * manual/examples/memopen.c: Likewise.
42825 * manual/examples/memstrm.c: Likewise.
42826 * manual/examples/mkfsock.c: Likewise.
42827 * manual/examples/mkisock.c: Likewise.
42828 * manual/examples/mygetpass.c: Likewise.
42829 * manual/examples/pipe.c: Likewise.
42830 * manual/examples/popen.c: Likewise.
42831 * manual/examples/rprintf.c: Likewise.
42832 * manual/examples/search.c: Likewise.
42833 * manual/examples/select.c: Likewise.
42834 * manual/examples/setjmp.c: Likewise.
42835 * manual/examples/sigh1.c: Likewise.
42836 * manual/examples/sigusr.c: Likewise.
42837 * manual/examples/stpcpy.c: Likewise.
42838 * manual/examples/strdupa.c: Likewise.
42839 * manual/examples/strftim.c: Likewise.
42840 * manual/examples/strncat.c: Likewise.
42841 * manual/examples/subopt.c: Likewise.
42842 * manual/examples/swapcontext.c: Likewise.
42843 * manual/examples/termios.c: Likewise.
42844 * manual/examples/testopt.c: Likewise.
42845 * manual/examples/testpass.c: Likewise.
42846 * manual/examples/timeval_subtract.c: Likewise.
42849 * manual/time.texi (Elapsed Time): Move timeval_subtract example
42851 * manual/timeval_subtract.c.texi: ... here, new file.
42853 2012-03-02 David S. Miller <davem@davemloft.net>
42855 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
42857 2012-03-02 Joseph Myers <joseph@codesourcery.com>
42860 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
42861 (__sin): Save and restore rounding mode and use round-to-nearest
42862 for all computations.
42863 (__cos): Save and restore rounding mode and use round-to-nearest
42864 for all computations.
42865 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
42867 (tan): Save and restore rounding mode and use round-to-nearest for
42869 * math/libm-test.inc (cos_test_tonearest): New function.
42870 (cos_test_towardzero): Likewise.
42871 (cos_test_downward): Likewise.
42872 (cos_test_upward): Likewise.
42873 (sin_test_tonearest): Likewise.
42874 (sin_test_towardzero): Likewise.
42875 (sin_test_downward): Likewise.
42876 (sin_test_upward): Likewise.
42877 (tan_test_tonearest): Likewise.
42878 (tan_test_towardzero): Likewise.
42879 (tan_test_downward): Likewise.
42880 (tan_test_upward): Likewise.
42881 (main): Call the new functions.
42882 * sysdeps/i386/fpu/libm-test-ulps: Update.
42883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42886 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
42887 small n, then large n, before computing and testing k+n.
42888 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42889 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
42891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
42893 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
42894 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
42895 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
42896 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
42897 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42898 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
42900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
42901 * math/libm-test.inc (scalbn_test): Add more tests.
42902 (scalbln_test): Likewise.
42904 * manual/filesys.texi (mode_t): Describe constraints on size and
42905 signedness, not exact equivalence to a particular type.
42907 (ino64_t): Likewise.
42909 (nlink_t): Likewise.
42910 (blkcnt_t): Likewise.
42911 (blkcnt64_t): Likewise.
42912 * manual/llio.texi (off_t): Likewise.
42915 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
42916 (__ieee754_exp): Save and restore rounding mode and use
42917 round-to-nearest for all computations.
42918 * math/libm-test.inc (exp_test_tonearest): New function.
42919 (exp_test_towardzero): Likewise.
42920 (exp_test_downward): Likewise.
42921 (exp_test_upward): Likewise.
42922 (main): Call the new functions.
42923 * sysdeps/i386/fpu/libm-test-ulps: Update.
42924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42926 2012-03-01 Chris Demetriou <cgd@google.com>
42928 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
42929 have predictable order.
42931 2012-03-01 David S. Miller <davem@davemloft.net>
42933 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
42935 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
42936 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
42937 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
42938 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
42940 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
42941 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
42942 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
42943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
42944 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
42945 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
42946 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
42947 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
42948 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
42950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
42953 * sysdeps/sparc/fpu/libm-test-ulps: to here.
42954 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
42956 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
42957 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42958 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
42959 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
42960 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
42961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
42962 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
42963 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42964 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
42965 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
42966 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
42967 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
42968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42969 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
42970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42971 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42972 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
42973 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
42974 * sysdeps/sparc/elf/configure: Regenerated.
42976 2012-03-01 Joseph Myers <joseph@codesourcery.com>
42978 * configure.in (AS, LD): Require binutils 2.20 or later.
42979 * configure: Regenerated.
42980 * manual/install.texi (Tools for Compilation): Give binutils 2.20
42981 as required minimum version.
42982 * INSTALL: Regenerated.
42986 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
42987 before squaring exponent.
42988 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
42989 bottom long double and 27 bits of top long double before squaring
42991 * math/libm-test.inc (erfc_test): Add more tests.
42992 * sysdeps/i386/fpu/libm-test-ulps: Update.
42993 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42996 2012-03-01 Kai Tietz <ktietz@redhat.com>
42998 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
42999 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43000 containing bit-fields.
43001 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43002 * soft-fp/single.h (_FP_UNION_S): Likewise.
43003 * soft-fp/double.h (_FP_UNION_D): Likewise.
43005 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43008 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43009 not include ../strcmp.S.
43010 [USE_AS_STRNCASECMP_L]: Likewise.
43011 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43012 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43013 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43014 (__strncasecmp_l_ia32): Define as alias to
43015 __strncasecmp_l_nonascii.
43018 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43019 * sysdeps/i386/fpu/libm-test-ulps: Update.
43020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43022 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43025 2012-02-29 Jeff Law <law@redhat.com>
43027 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43028 out of bounds read.
43030 2012-02-29 Marek Polacek <polacek@redhat.com>
43033 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43034 * elf/Makefile: Add rules to run tst-unused-dep.out.
43036 2012-02-28 David S. Miller <davem@davemloft.net>
43038 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43039 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43040 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43041 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43042 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43043 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43045 2012-02-29 Joseph Myers <joseph@codesourcery.com>
43047 * math/libm-test.inc (llround_test): Move one test from
43048 lround_test. Use TEST_f_L in moved test.
43049 (lround_test): Move misplaced test to llround_test. Add testcase
43052 2012-02-28 Ulrich Drepper <drepper@gmail.com>
43054 * sysdeps/x86_64/fpu/e_expf.S: New file.
43055 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43057 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43060 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43061 of remain_len that may cause incomplete multi-byte character and
43063 * posix/bug-regex33.c: New file.
43064 * posix/Makefile (tests): Add bug-regex33.
43066 2012-02-28 Joseph Myers <joseph@codesourcery.com>
43068 * manual/macros.texi: New file.
43069 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43070 * manual/libc.texinfo: Include macros.texi.
43071 * manual/creatute.texi: Likewise.
43072 * manual/install.texi: Likewise.
43073 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43074 @glibcadj{} in references to the GNU C Library.
43075 * manual/charset.texi: Likewise.
43076 * manual/conf.texi: Likewise.
43077 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43078 when not using those macros.
43079 * manual/creature.texi: Likewise.
43080 * manual/crypt.texi: Likewise.
43081 * manual/errno.texi: Likewise.
43082 * manual/filesys.texi: Likewise.
43083 * manual/header.texi: Likewise.
43084 * manual/install.texi: Likewise.
43085 * manual/intro.texi: Likewise.
43086 * manual/io.texi: Likewise.
43087 * manual/job.texi: Likewise.
43088 * manual/lang.texi: Likewise.
43089 * manual/libc.texiinfo: Likewise.
43090 * manual/llio.texi: Likewise.
43091 * manual/locale.texi: Likewise.
43092 * manual/maint.texi: Likewise.
43093 * manual/math.texi: Likewise.
43094 * manual/memory.texi: Likewise.
43095 * manual/message.texi: Likewise.
43096 * manual/nss.texi: Likewise.
43097 * manual/pattern.texi: Likewise.
43098 * manual/process.texi: Likewise.
43099 * manual/resource.texi: Likewise.
43100 * manual/search.texi: Likewise.
43101 * manual/setjmp.texi: Likewise.
43102 * manual/signal.texi: Likewise.
43103 * manual/socket.texi: Likewise.
43104 * manual/startup.texi: Likewise.
43105 * manual/stdio.texi: Likewise.
43106 * manual/string.texi: Likewise.
43107 * manual/sysinfo.texi: Likewise.
43108 * manual/syslog.texi: Likewise.
43109 * manual/terminal.texi: Likewise.
43110 * manual/time.texi: Likewise.
43111 * manual/users.texi: Likewise.
43112 * INSTALL: Regenerated.
43113 * NOTES: Regenerated.
43114 * sysdeps/gnu/errlist.c: Regenerated.
43116 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43118 * include/dirent.h: Include <dirstream.h> before
43121 2012-02-28 David S. Miller <davem@davemloft.net>
43123 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43124 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43125 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43126 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43128 2012-02-27 David S. Miller <davem@davemloft.net>
43130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43132 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43133 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43136 frame pointer instead of stack pointer relative arg slot.
43137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43141 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43144 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43146 2012-02-27 David S. Miller <davem@davemloft.net>
43148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43152 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43153 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43154 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43155 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43157 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43159 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43160 later. Allow versions 5-9.
43161 * configure: Regenerated.
43162 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43163 required minimum version and 4.6 as recommended version. Do not
43164 mention bugs in GCC 2.7 and 2.8.
43165 * INSTALL: Regenerated.
43167 2012-02-27 David S. Miller <davem@davemloft.net>
43169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43173 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43174 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43175 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43176 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43179 manipulate bits before adding and subtracting TWO112[sx].
43180 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43182 2012-02-27 Roland McGrath <roland@hack.frob.com>
43185 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43186 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43187 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43188 being in POSIX, because they are in 1003.1-2008.
43190 * rt/tst-aio.c: Include <fcntl.h>.
43191 * rt/tst-aio7.c: Likewise.
43192 * rt/tst-aio64.c: Likewise.
43194 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43196 2012-02-27 Joseph Myers <joseph@codesourcery.com>
43198 * manual/install.texi (--with-headers): Describe headers as
43199 interface headers, not private headers.
43200 (Specific advice for GNU/Linux systems): Describe use of headers
43201 from "make headers_install", not private headers from older
43203 * INSTALL: Regenerated.
43204 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43206 * sysdeps/unix/sysv/linux/configure: Regenerated.
43208 * manual/llio.texi (fclean): Remove documentation.
43210 * manual/Makefile (libc-texi-generated): New variable. Include
43212 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43213 $(libc-texi-generated), not duplicated list of files.
43214 (version.texi, stamp-version): New rules.
43215 (realclean): Remove $(libc-texi-generated), not individual files
43216 from that list. Do not remove dir-add.texinfo.
43217 * manual/libc.texinfo: Comment out uses of edition numbers and
43218 references to printed manual. Remove last-updated dates.
43219 (EDITION): Comment out.
43221 (VERSION, UPDATED): Remove.
43222 (version.texi): Include.
43224 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43226 * sysdeps/posix/spawni.c: Include <signal.h>.
43227 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43228 * sysdeps/pthread/aio_fsync.c: Likewise.
43230 2012-02-26 Ulrich Drepper <drepper@gmail.com>
43232 * conform/Makefile (tests): Run only when not cross-compiling and
43233 when fast-check is not defined.
43235 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43236 * conform/data/limits.h-data: Fixes for POSIX2008.
43237 * conform/run-conformtest.sh: Run all tests.
43238 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43240 * include/bits/dlfcn.h: Likewise.
43241 * include/langinfo.h: Likewise.
43242 * include/monetary.h: Likewise.
43243 * include/sys/poll.h: Likewise.
43245 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43247 * posix/spawn.h: Define __need_sigset_t.
43248 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43249 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43250 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43251 to get sigevent_t only.
43252 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43253 only for __USE_GNU.
43254 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43255 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43256 process_vm_writev only for __USE_GNU.
43257 * termios/termios.h: Declare tcgetsid also for POSIX2008.
43259 * conform/Makefile: For now ignore errors from run-conformtest.
43260 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43261 POSIX to avoid namespace pollution. Don't prepend headers.
43262 * conform/data/aio.h-data: Fixes for POSIX testing.
43263 * conform/data/fcntl.h-data: Likewise.
43264 * conform/data/glob.h-data: Likewise.
43265 * conform/data/grp.h-data: Likewise.
43266 * conform/data/pthread.h-data: Likewise.
43267 * conform/data/pwd.h-data: Likewise.
43268 * conform/data/signal.h-data: Likewise.
43269 * conform/data/spawn.h-data: Likewise.
43270 * conform/data/stdio.h-data: Likewise.
43271 * conform/data/stdlib.h-data: Likewise.
43272 * conform/data/stropts.h-data: Likewise.
43273 * conform/data/sys/mman.h-data: Likewise.
43274 * conform/data/sys/stat.h-data: Likewise.
43275 * conform/data/sys/types.h-data: Likewise.
43276 * conform/data/sys/wait.h-data: Likewise.
43277 * conform/data/time.h-data: Likewise.
43278 * conform/data/unistd.h-data: Likewise.
43279 * conform/data/utime.h-data: Likewise.
43281 * io/sys/stat.h: fchmod was always in POSIX.
43282 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43283 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43284 * rt/aio.h: Define __need_timespec before including <time.h>.
43285 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43286 struct. Add forward declaration of pthread_attr_t and use it in
43288 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43289 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43290 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43291 always remove CLK_TCK definition.
43293 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
43295 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
43297 2012-02-25 Ulrich Drepper <drepper@gmail.com>
43299 * conform/run-conformtest.sh: New file.
43300 * conform/Makefile: Run run-conformtest for tests.
43301 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
43304 * conform/data/uchar.h-data: New file.
43305 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
43306 * conform/data/arpa/inet.h-data: Likewise.
43307 * conform/data/assert.h-data: Likewise.
43308 * conform/data/complex.h-data: Likewise.
43309 * conform/data/cpio.h-data: Likewise.
43310 * conform/data/ctype.h-data: Likewise.
43311 * conform/data/dirent.h-data: Likewise.
43312 * conform/data/dlfcn.h-data: Likewise.
43313 * conform/data/errno.h-data: Likewise.
43314 * conform/data/fcntl.h-data: Likewise.
43315 * conform/data/float.h-data: Likewise.
43316 * conform/data/fmtmsg.h-data: Likewise.
43317 * conform/data/fnmatch.h-data: Likewise.
43318 * conform/data/ftw.h-data: Likewise.
43319 * conform/data/glob.h-data: Likewise.
43320 * conform/data/grp.h-data: Likewise.
43321 * conform/data/iconv.h-data: Likewise.
43322 * conform/data/inttypes.h-data: Likewise.
43323 * conform/data/langinfo.h-data: Likewise.
43324 * conform/data/libgen.h-data: Likewise.
43325 * conform/data/limits.h-data: Likewise.
43326 * conform/data/locale.h-data: Likewise.
43327 * conform/data/math.h-data: Likewise.
43328 * conform/data/monetary.h-data: Likewise.
43329 * conform/data/mqueue.h-data: Likewise.
43330 * conform/data/ndbm.h-data: Likewise.
43331 * conform/data/net/if.h-data: Likewise.
43332 * conform/data/netdb.h-data: Likewise.
43333 * conform/data/netinet/in.h-data: Likewise.
43334 * conform/data/nl_types.h-data: Likewise.
43335 * conform/data/poll.h-data: Likewise.
43336 * conform/data/pthread.h-data: Likewise.
43337 * conform/data/pwd.h-data: Likewise.
43338 * conform/data/regex.h-data: Likewise.
43339 * conform/data/sched.h-data: Likewise.
43340 * conform/data/search.h-data: Likewise.
43341 * conform/data/semaphore.h-data: Likewise.
43342 * conform/data/setjmp.h-data: Likewise.
43343 * conform/data/signal.h-data: Likewise.
43344 * conform/data/spawn.h-data: Likewise.
43345 * conform/data/stdarg.h-data: Likewise.
43346 * conform/data/stdio.h-data: Likewise.
43347 * conform/data/stdlib.h-data: Likewise.
43348 * conform/data/string.h-data: Likewise.
43349 * conform/data/strings.h-data: Likewise.
43350 * conform/data/stropts.h-data: Likewise.
43351 * conform/data/sys/ipc.h-data: Likewise.
43352 * conform/data/sys/mman.h-data: Likewise.
43353 * conform/data/sys/msg.h-data: Likewise.
43354 * conform/data/sys/resource.h-data: Likewise.
43355 * conform/data/sys/select.h-data: Likewise.
43356 * conform/data/sys/sem.h-data: Likewise.
43357 * conform/data/sys/shm.h-data: Likewise.
43358 * conform/data/sys/socket.h-data: Likewise.
43359 * conform/data/sys/stat.h-data: Likewise.
43360 * conform/data/sys/statvfs.h-data: Likewise.
43361 * conform/data/sys/time.h-data: Likewise.
43362 * conform/data/sys/timeb.h-data: Likewise.
43363 * conform/data/sys/times.h-data: Likewise.
43364 * conform/data/sys/types.h-data: Likewise.
43365 * conform/data/sys/uio.h-data: Likewise.
43366 * conform/data/sys/un.h-data: Likewise.
43367 * conform/data/sys/utsname.h-data: Likewise.
43368 * conform/data/sys/wait.h-data: Likewise.
43369 * conform/data/syslog.h-data: Likewise.
43370 * conform/data/tar.h-data: Likewise.
43371 * conform/data/termios.h-data: Likewise.
43372 * conform/data/utime.h-data: Likewise.
43373 * conform/data/utmpx.h-data: Likewise.
43374 * conform/data/varargs.h-data: Likewise.
43375 * conform/data/wchar.h-data: Likewise.
43376 * conform/data/wctype.h-data: Likewise.
43377 * conform/data/wordexp.h-data: Likewise.
43379 * include/stropts.h: New file.
43380 * include/uchar.h: New file.
43381 * include/aio.h: Changes to allow conformtest.pl to use the headers.
43382 * include/assert.h: Likewise.
43383 * include/ctype.h: Likewise.
43384 * include/dirent.h: Likewise.
43385 * include/dlfcn.h: Likewise.
43386 * include/fcntl.h: Likewise.
43387 * include/fnmatch.h: Likewise.
43388 * include/glob.h: Likewise.
43389 * include/grp.h: Likewise.
43390 * include/libio.h: Likewise.
43391 * include/locale.h: Likewise.
43392 * include/math.h: Likewise.
43393 * include/net/if.h: Likewise.
43394 * include/netdb.h: Likewise.
43395 * include/netinet/in.h: Likewise.
43396 * include/pthread.h: Likewise.
43397 * include/pwd.h: Likewise.
43398 * include/regex.h: Likewise.
43399 * include/sched.h: Likewise.
43400 * include/search.h: Likewise.
43401 * include/setjmp.h: Likewise.
43402 * include/signal.h: Likewise.
43403 * include/stdio.h: Likewise.
43404 * include/stdlib.h: Likewise.
43405 * include/string.h: Likewise.
43406 * include/sys/cdefs.h: Likewise.
43407 * include/sys/mman.h: Likewise.
43408 * include/sys/msg.h: Likewise.
43409 * include/sys/resource.h: Likewise.
43410 * include/sys/select.h: Likewise.
43411 * include/sys/socket.h: Likewise.
43412 * include/sys/stat.h: Likewise.
43413 * include/sys/statvfs.h: Likewise.
43414 * include/sys/time.h: Likewise.
43415 * include/sys/times.h: Likewise.
43416 * include/sys/uio.h: Likewise.
43417 * include/sys/utsname.h: Likewise.
43418 * include/sys/wait.h: Likewise.
43419 * include/termios.h: Likewise.
43420 * include/time.h: Likewise.
43421 * include/ulimit.h: Likewise.
43422 * include/unistd.h: Likewise.
43423 * include/utime.h: Likewise.
43424 * include/wchar.h: Likewise.
43425 * include/wctype.h: Likewise.
43426 * include/wordexp.h: Likewise.
43428 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
43430 * time/time.h: TIME_UTC must be a macro.
43431 Make timespec_get available for ISO C11 only as well.
43433 2012-02-24 Ulrich Drepper <drepper@gmail.com>
43435 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
43436 Reported by Peng Haitao <penght@cn.fujitsu.com>.
43438 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43440 * configure.in: Use -o not -a in test for unsupported multi-arch.
43442 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43444 * manual/texinfo.tex: Update to version 2012-01-19.16.
43446 2012-02-24 Joseph Myers <joseph@codesourcery.com>
43448 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
43450 2012-02-24 Roland McGrath <roland@hack.frob.com>
43453 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
43454 * manual/fdl-1.3.texi: New file.
43455 * manual/fdl-1.1.texi: File removed.
43458 * manual/libc.texinfo (FDL_VERSION): New @set.
43459 Use it for mention of FDL in cover text.
43460 (Documentation License): Use it in @include file name.
43462 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43463 Roland McGrath <roland@hack.frob.com>
43466 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
43467 (not LONG_LONG_MAX and LONG_LONG_MIN.
43468 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
43469 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
43471 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
43473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43477 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
43478 manipulate bits before adding and subtracting TWO23[sx].
43479 * math/libm-test.inc (nearbyint_test): Add more tests.
43481 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43484 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
43485 bits before adding and subtracting TWO23[sx].
43486 * math/libm-test.inc (rint_test): Add more tests.
43487 (rint_test_tonearest): Likewise.
43488 (rint_test_towardzero): Likewise.
43489 (rint_test_downward): Likewise.
43490 (rint_test_upward: Likewise.
43492 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43495 * include/stdc-predef.h: New file. Extracted from features.h.
43496 * include/features.h: Include stdc-predef.h.
43497 * Makefile (headers): Add stdc-predef.h.
43498 * CONFORMANCE (Compiler limitations): Update.
43500 2012-02-22 Joseph Myers <joseph@codesourcery.com>
43502 * manual/libc.texinfo (VERSION, UPDATED): Revert.
43504 2012-02-21 David S. Miller <davem@davemloft.net>
43506 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
43507 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43509 2012-02-20 David S. Miller <davem@davemloft.net>
43511 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
43512 using a normal save/restore sequence, rather than allocating a
43513 dummy stack frame just to store a frame pointer and restore.
43514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43516 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43518 * manual/install.texi: Fix stray word in line-wrapped comment.
43520 2012-02-20 David S. Miller <davem@davemloft.net>
43522 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
43523 both binutils and gcc support GOTDATA.
43525 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
43526 "rd %pc" in the PIC register setup sequences.
43528 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
43529 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
43530 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43531 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
43532 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43533 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43534 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
43537 (SYSCALL_ERROR_HANDLER): Likewise.
43538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
43541 (SYSCALL_ERROR_HANDLER): Likewise.
43543 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
43544 (HAVE_GCC_GOTDATA): New.
43545 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
43546 relocation support in both binutils and gcc.
43547 * sysdeps/sparc/elf/configure: Regenerate.
43549 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
43550 * sysdeps/sparc/sparc32/elf/configure: Delete.
43551 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
43552 * sysdeps/sparc/sparc64/elf/configure: Delete.
43553 * sysdeps/sparc/elf/configure.in: New file.
43554 * sysdeps/sparc/elf/configure: Generate.
43556 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
43557 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
43558 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43559 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
43560 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
43562 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43564 * manual/install.texi: Do not mention specific glibc version
43566 * manual/libc.texinfo (VERSION, UPDATED): Update.
43567 (@copying): Use @copyright{} and range of years.
43569 2012-02-21 Joseph Myers <joseph@codesourcery.com>
43572 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
43573 [crti.S not in sysdirs] (generated): Do not append.
43574 [crti.S not in sysdirs] (omit-deps): Likewise.
43575 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
43576 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
43577 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
43578 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
43579 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
43581 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
43582 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
43583 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
43584 * csu/defs.awk: Remove file.
43585 * sysdeps/generic/initfini.c: Likewise.
43586 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
43588 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
43591 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43593 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
43594 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
43595 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
43596 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
43597 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43598 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
43600 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
43601 (__EPOLL_PACKED): Define to empty if not defined by
43603 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
43604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43607 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43609 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
43610 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
43611 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
43612 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
43614 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
43615 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43618 2012-02-20 Joseph Myers <joseph@codesourcery.com>
43620 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
43622 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43623 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43624 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
43625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43627 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
43629 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43630 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
43632 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
43634 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
43635 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
43637 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
43639 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
43642 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
43644 * math/w_acos.c: Use non-signaling floating-point comparisons.
43645 * math/w_acosf.c: Likewise.
43646 * math/w_acosh.c: Likewise.
43647 * math/w_acoshf.c: Likewise.
43648 * math/w_acoshl.c: Likewise.
43649 * math/w_acosl.c: Likewise.
43650 * math/w_asin.c: Likewise.
43651 * math/w_asinf.c: Likewise.
43652 * math/w_asinl.c: Likewise.
43653 * math/w_atanh.c: Likewise.
43654 * math/w_atanhf.c: Likewise.
43655 * math/w_atanhl.c: Likewise.
43656 * math/w_exp2.c: Likewise.
43657 * math/w_exp2f.c: Likewise.
43658 * math/w_exp2l.c: Likewise.
43659 * math/w_j0.c: Likewise.
43660 * math/w_j0f.c: Likewise.
43661 * math/w_j0l.c: Likewise.
43662 * math/w_j1.c: Likewise.
43663 * math/w_j1f.c: Likewise.
43664 * math/w_j1l.c: Likewise.
43665 * math/w_jn.c: Likewise.
43666 * math/w_jnf.c: Likewise.
43667 * math/w_log.c: Likewise.
43668 * math/w_log10.c: Likewise.
43669 * math/w_log10f.c: Likewise.
43670 * math/w_log10l.c: Likewise.
43671 * math/w_log2.c: Likewise.
43672 * math/w_log2f.c: Likewise.
43673 * math/w_log2l.c: Likewise.
43674 * math/w_logf.c: Likewise.
43675 * math/w_logl.c: Likewise.
43676 * math/w_sqrt.c: Likewise.
43677 * math/w_sqrtf.c: Likewise.
43678 * math/w_sqrtl.c: Likewise.
43679 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43680 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
43681 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43682 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
43683 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
43685 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43688 * manual/string.texi (strnlen): Use correct parameter name in
43689 equivalent expression.
43691 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43694 * manual/users.texi (seteuid): Consistently use neweuid for
43697 2012-02-19 Joseph Myers <joseph@codesourcery.com>
43700 * manual/nss.texi (Services in the NSS configuration): Correct
43701 list of services in example configuration file.
43703 2012-02-19 Nick Bowler <nbowler@draconx.ca>
43706 * manual/arith.texi: Remove statements about negative zero
43707 behaving identically to zero.
43709 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43712 * manual/install.texi: Do not document upgrading from libc5.
43714 2012-02-18 Joseph Myers <joseph@codesourcery.com>
43717 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
43719 2012-02-18 David S. Miller <davem@davemloft.net>
43721 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
43722 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
43723 %o7 across the call.
43724 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
43726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
43727 SETUP_PIC_REG_LEAF.
43728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43729 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
43730 * sysdeps/sparc/crtn.S: Likewise.
43732 2012-02-17 Ulrich Drepper <drepper@gmail.com>
43734 * aout/Makefile: Remove.
43736 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
43739 * manual/examples/argp-ex1.c (main): Format definition in GNU
43741 * manual/examples/argp-ex2.c (main): Likewise.
43742 * manual/examples/argp-ex3.c (main): Likewise.
43743 * manual/examples/argp-ex4.c (main): Likewise.
43744 * manual/examples/longopt.c (main): Use new-style prototype
43746 * manual/examples/strncat.c (main): Specify return type and use
43747 (void) for arguments.
43748 * manual/examples/subopt.c (main): Use char **argv argument.
43750 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43753 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
43756 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
43759 * manual/string.texi (strchr): Change when strchrnul is
43762 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
43765 * manual/locale.texi (setlocale): Document LOCPATH.
43767 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43770 * manual/process.texi (execle): Move @dots{} before last argument.
43772 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
43775 * manual/charset.texi (Generic Charset Conversion): Fix typo
43776 (LC_TYPE -> LC_CTYPE).
43778 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
43781 * manual/arith.texi (scalbn): Use @var{} on parameter names.
43782 (scalbnf): Likewise.
43783 (scalbnl): Likewise.
43784 (scalbln): Likewise.
43785 (scalblnf): Likewise.
43786 (scalblnl): Likewise.
43787 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
43788 (vwarnx): Likewise.
43791 * manual/filesys.texi (telldir): Use braces around return type.
43792 * manual/llio.texi (mmap): Add space after comma.
43793 (mmap64): Likewise.
43794 * manual/math.texi (jn): Use @var{} on parameter names.
43800 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
43802 * manual/resource.texi (ulimit): Use @dots{} instead of literal
43804 (sched_get_priority_min): Remove semicolon on @deftypefun line.
43805 (sched_get_priority_max): Likewise.
43806 * manual/signal.texi (sigvec): Add space after comma.
43807 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
43809 (if_indextoname): Likewise.
43810 (if_freenameindex): Likewise.
43811 (sendto): Use ',' instead of '.' in prototype.
43812 * manual/startup.texi (syscall): Use @dots{} instead of literal
43814 * manual/stdio.texi (__fpending): Separate initial words of
43815 paragraph from @deftypefun line.
43816 * manual/syslog.texi (syslog): Use @dots{} instead of literal
43818 (vsyslog): Use @var{} on parameter names.
43819 * manual/terminal.texi (stty): Use @var{} on parameter names.
43820 * manual/users.texi (getutmp): Use @var{} on parameter names.
43821 (getutmpx): Likewise.
43823 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43826 * manual/stdio.texi (fopen): Fix typos in description of
43829 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
43832 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
43833 get clock_id definition.
43835 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
43838 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
43839 (madvise): Cast every argument to void on its own.
43841 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43844 * manual/startup.texi (Exit Status): Fix typo.
43846 2012-02-17 Joseph Myers <joseph@codesourcery.com>
43849 * manual/examples/argp-ex1.c: Include <stdlib.h>.
43850 * manual/examples/argp-ex2.c: Likewise.
43851 * manual/examples/argp-ex3.c: Likewise.
43853 2012-02-16 Richard Henderson <rth@redhat.com>
43855 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
43856 * sysdeps/s390/s390-32/initfini.c: Remove.
43857 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
43858 * sysdeps/s390/s390-64/initfini.c: Remove.
43860 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43862 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
43863 compiler output for sysdeps/generic/initfini.c.
43864 * sysdeps/sh/elf/initfini.c: Remove file.
43866 2012-02-16 David S. Miller <davem@davemloft.net>
43869 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
43871 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
43872 * sysdeps/sparc/crti.S: New file.
43873 * sysdeps/sparc/crtn.S: New file.
43874 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
43875 * sysdeps/sparc/sparc64/Makefile: Likewise.
43877 2012-02-15 Mike Frysinger <vapier@gentoo.org>
43880 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
43882 2012-02-15 Roland McGrath <roland@hack.frob.com>
43885 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
43887 * mach/devstream.c (cookie_io_functions_t): Macro removed.
43888 (write, read, close): Likewise.
43889 Patch by Aurelien Jarno <aurelien@aurel32.net>.
43891 2012-02-15 Joseph Myers <joseph@codesourcery.com>
43893 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
43894 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
43895 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
43896 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
43898 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
43899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43902 2012-02-14 Marek Polacek <polacek@redhat.com>
43904 * sysdeps/x86_64/crti.S: New file.
43905 * sysdeps/x86_64/crtn.S: New file.
43906 * sysdeps/x86_64/elf/initfini.c: Remove file.
43908 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43910 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
43911 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
43912 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
43913 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
43915 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
43916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43919 2012-02-13 Joseph Myers <joseph@codesourcery.com>
43921 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
43922 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
43923 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
43924 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
43926 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
43927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43930 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
43932 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
43933 __feraiseexcept instead of feraiseexcept.
43935 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
43936 nanosleep invocations.
43937 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
43938 strings, and add error checking for a nanosleep invocations.
43940 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
43942 Replace FSF snail mail address with URLs, as per GNU coding standards.
43943 Most of the snail mail addresses were wrong anyway, and omitting
43944 them makes the source code easier to maintain. Almost all of the
43945 changes are to license notices and to locale LC_IDENTIFICATION
43946 addresses, except for this one:
43947 * manual/libc.texinfo: In "Published by", give the FSF's URL,
43948 not its snail mail address.
43950 2012-02-09 Richard Henderson <rth@twiddle.net>
43952 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
43953 of kernel-features.h.
43955 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
43957 2012-02-08 Marek Polacek <polacek@redhat.com>
43959 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
43960 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
43961 * sysdeps/gnu/_G_config.h: Likewise.
43962 * sysdeps/generic/_G_config.h: Likewise.
43964 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
43966 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
43968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43970 * sysdeps/powerpc/powerpc32/crti.S: New file.
43971 * sysdeps/powerpc/powerpc32/crtn.S: New file.
43972 * sysdeps/powerpc/powerpc64/crti.S: New file.
43973 * sysdeps/powerpc/powerpc64/crtn.S: New file.
43975 * Makeconfig (have-initfini): Don't set.
43976 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
43977 * configure.in (nopic_initfini): Don't substitute.
43978 * config.h.in (HAVE_INITFINI): Don't #undef.
43979 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
43980 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43982 2012-02-08 Joseph Myers <joseph@codesourcery.com>
43984 Support crti.S and crtn.S provided directly by architectures.
43985 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
43986 [crti.S in sysdirs] (omit-deps): Likewise.
43987 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
43988 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
43989 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
43990 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
43991 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
43992 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
43993 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
43994 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
43995 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
43996 compiler output for sysdeps/generic/initfini.c.
43997 * sysdeps/i386/elf/Makefile: Remove file.
43998 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44000 2012-02-07 Marek Polacek <polacek@redhat.com>
44002 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44003 * sysdeps/gnu/_G_config.h: Likewise.
44004 * sysdeps/mach/hurd/_G_config.h: Likewise.
44006 2012-02-07 Marek Polacek <polacek@redhat.com>
44008 * math/Makefile (tests): Add tst-CMPLX2.
44009 * math/tst-CMPLX2.c: New file.
44011 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44013 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44015 * math/libm-test.inc (jn_test): Add missing L suffix.
44017 2012-02-06 Marek Polacek <polacek@redhat.com>
44019 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44020 * sysdeps/i386/fpu/e_powf.S: Likewise.
44021 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44022 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44024 * sysdeps/i386/fpu/e_pow.S: Likewise.
44025 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44026 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44027 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44028 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44029 * sysdeps/i386/fpu/e_log2.S: Likewise.
44030 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44031 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44032 * sysdeps/i386/fpu/e_powl.S: Likewise.
44033 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44034 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44035 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44036 * sysdeps/i386/fpu/e_logl.S: Likewise.
44037 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44038 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44039 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44040 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44041 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44042 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44043 * sysdeps/i386/fpu/e_log.S: Likewise.
44044 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44045 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44046 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44047 * sysdeps/i386/fpu/e_logf.S: Likewise.
44048 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44049 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44050 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44051 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44052 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44053 * sysdeps/i386/fpu/e_log10.S: Likewise.
44054 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44055 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44056 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44057 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44058 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44059 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44060 * sysdeps/i386/asm-syntax.h: Likewise.
44061 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44062 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44063 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44064 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44065 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44066 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44067 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44068 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44070 * sysdeps/powerpc/sysdep.h: Likewise.
44071 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44072 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44074 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44077 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44079 2012-02-06 Joseph Myers <joseph@codesourcery.com>
44081 * sysdeps/i386/sysdep.h: Include <features.h>.
44082 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44085 2012-02-05 Joseph Myers <joseph@codesourcery.com>
44087 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44089 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44092 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44094 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44095 (SETUP_PIC_REG): Use GET_PC_THUNK.
44096 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44099 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44101 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44102 for non-PIC compilation.
44103 (SETUP_PIC_REG): Add .p2align directive.
44104 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44105 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44106 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44107 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44108 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44109 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44110 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44111 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44112 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44113 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44114 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44115 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44116 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44117 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44118 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44119 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44120 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44121 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44122 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44123 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44124 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44125 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44126 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44127 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44128 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44130 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44131 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44132 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44133 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44134 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44136 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44137 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44138 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44139 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44140 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44141 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44142 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44143 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44144 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44146 2012-02-03 Joseph Myers <joseph@codesourcery.com>
44148 * math/tst-CMPLX.c: Include <stdio.h>.
44150 2012-01-31 Joseph Myers <joseph@codesourcery.com>
44152 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44154 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44155 * sysdeps/sparc/bits/mathdef.h: Likewise.
44157 2012-01-31 Marek Polacek <polacek@redhat.com>
44159 * libio/libio.h: Don't define _PARAMS.
44160 * locale/programs/config.h: Don't define PARAMS.
44161 * stdlib/strtol_l.c: Likewise.
44162 (__strtol_l): Remove PARAMS from the prototype.
44164 2012-01-31 Ulrich Drepper <drepper@gmail.com>
44166 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44167 names. Just use the correct names. Remove unnecessary wrapper
44169 * malloc/arena.c: Likewise.
44170 * malloc/hooks.c: Likewise.
44172 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44173 ARENA_TEST says not to. Simplify test for creation of a new arena.
44174 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44176 2012-01-30 Ulrich Drepper <drepper@gmail.com>
44178 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44180 (update_get_addr): New function.
44181 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44182 GET_ADDR_MODULE parameter.
44184 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44186 * crypt/cert.c: Remove __STDC__ conditionals.
44187 * crypt/crypt-entry.c: Likewise.
44188 * crypt/crypt_util.c: Likewise.
44189 * libio/filedoalloc.c: Likewise.
44190 * libio/fileops.c: Likewise.
44191 * libio/genops.c: Likewise.
44192 * libio/iofclose.c: Likewise.
44193 * libio/iofdopen.c: Likewise.
44194 * libio/iofopen.c: Likewise.
44195 * libio/iofopen64.c: Likewise.
44196 * libio/iogetdelim.c: Likewise.
44197 * libio/iopopen.c: Likewise.
44198 * libio/obprintf.c: Likewise.
44199 * libio/oldfileops.c: Likewise.
44200 * libio/oldiofclose.c: Likewise.
44201 * libio/oldiofdopen.c: Likewise.
44202 * libio/oldiofopen.c: Likewise.
44203 * libio/oldiopopen.c: Likewise.
44204 * libio/wfiledoalloc.c: Likewise.
44205 * libio/wgenops.c: Likewise.
44206 * locale/programs/xmalloc.c: Likewise.
44207 * misc/syslog.c: Likewise.
44208 * stdio-common/xbug.c: Likewise.
44209 * string/memchr.c: Likewise.
44210 * string/memcmp.c: Likewise.
44211 * string/memrchr.c: Likewise.
44212 * string/rawmemchr.c: Likewise.
44213 * sysdeps/posix/getcwd.c: Likewise.
44214 * time/strftime_l.c: Likewise.
44216 2012-01-30 Joseph Myers <joseph@codesourcery.com>
44218 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
44219 * config.make.in (config-cflags-sse2avx): Define.
44220 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44223 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44225 * scripts/config.guess: Update from upstream config git repository.
44226 * scripts/config.sub: Likewise.
44228 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44230 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44232 (R_TILEPRO_*, R_TILEGX_*): New macros.
44234 * scripts/firstversions.awk: Fix bug in version range handling.
44236 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44238 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44240 * include/sys/epoll.h: New file.
44241 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44244 2012-01-28 Ulrich Drepper <drepper@gmail.com>
44246 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44247 Avoid unnecessary __WORDSIZE == 64 test.
44248 (fmaxf): Use VEX format if possible.
44253 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44254 * math/math_private.h: Remove libc_fegetround* and
44256 * sysdeps/i386/configure.in: Check for -msse2avx.
44257 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44258 also if SSE2AVX is defined.
44259 Remove libc_fegetround* and libc_fesetround*.
44260 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44261 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44262 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44264 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44265 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44267 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44270 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44272 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44274 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44276 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44278 2012-01-27 Ulrich Drepper <drepper@gmail.com>
44281 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44283 * Makeconfig (libm): Define.
44284 * elf/Makefile: Add rules to build and run tst-relsort1.
44285 * elf/tst-relsort1.c: New file.
44286 * elf/tst-relsort1mod1.c: New file.
44287 * elf/tst-relsort1mod2.c: New file.
44289 2012-01-27 Joseph Myers <joseph@codesourcery.com>
44291 * math/s_ldexp.c: Remove __STDC__ conditionals.
44292 * math/s_ldexpf.c: Likewise.
44293 * math/s_ldexpl.c: Likewise.
44294 * math/s_nextafter.c: Likewise.
44295 * math/s_nexttowardf.c: Likewise.
44296 * math/s_significand.c: Likewise.
44297 * math/s_significandf.c: Likewise.
44298 * math/s_significandl.c: Likewise.
44299 * math/w_jnl.c: Likewise.
44300 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44301 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44302 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44303 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44304 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44306 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
44307 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44308 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44309 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44310 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44311 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44312 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44313 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44314 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44315 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44316 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44317 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44319 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44320 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44321 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44322 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44323 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44324 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44325 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44326 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44327 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44328 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44329 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44330 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44331 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44332 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44333 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44334 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44335 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44336 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44337 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44338 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44339 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44340 * sysdeps/ieee754/k_standard.c: Likewise.
44341 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44342 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44343 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44344 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44345 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44346 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44347 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44348 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44349 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44350 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44351 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44352 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44353 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44354 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44355 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44356 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44357 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44358 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44359 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44360 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44363 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44364 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44365 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44366 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44367 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44368 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44370 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44371 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44372 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
44373 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44374 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44375 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44376 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44377 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
44378 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44379 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44380 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
44381 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
44382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44383 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
44384 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
44385 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44386 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
44387 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44389 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44390 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
44391 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
44392 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44393 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44394 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44395 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44396 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44397 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
44398 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44399 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44400 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44401 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44402 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44403 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44405 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44406 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44407 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44408 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44409 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44410 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44411 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44412 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44413 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44414 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44415 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44416 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44417 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44418 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44420 * sysdeps/ieee754/s_matherr.c: Likewise.
44421 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44422 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44423 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44424 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44426 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44428 * crypt/md5.h: Remove __STDC__ conditionals.
44429 * libio/libioP.h: Likewise.
44430 * locale/programs/config.h: Likewise.
44431 * sysdeps/generic/sysdep.h: Likewise.
44432 * sysdeps/i386/asm-syntax.h: Likewise.
44433 * sysdeps/s390/asm-syntax.h: Likewise.
44434 * sysdeps/unix/sysdep.h: Likewise.
44435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
44436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
44438 2012-01-26 Joseph Myers <joseph@codesourcery.com>
44440 * libio/libio.h: Remove __STDC__ conditionals.
44441 * malloc/obstack.h: Likewise.
44442 * math/complex.h: Likewise.
44443 * math/math.h: Likewise.
44444 * sysdeps/generic/_G_config.h: Likewise.
44445 * sysdeps/gnu/_G_config.h: Likewise.
44446 * sysdeps/mach/hurd/_G_config.h: Likewise.
44447 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44448 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44449 * sysdeps/sparc/bits/mathdef.h: Likewise.
44451 2012-01-26 Ulrich Drepper <drepper@gmail.com>
44454 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
44455 Clean up HAS_* macros.
44456 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
44457 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
44459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
44461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44467 2012-01-25 Joseph Myers <joseph@codesourcery.com>
44469 * elf/tst-unique3.cc (gets): Remove declaration.
44470 * elf/tst-unique3lib.cc (gets): Likewise.
44471 * elf/tst-unique3lib2.cc (gets): Likewise.
44472 * elf/tst-unique4.cc (gets): Likewise.
44474 2012-01-24 Ulrich Drepper <drepper@gmail.com>
44476 * include/stdio.h: Add C++ protection. Add gets declarations and
44478 * debug/tst-chk1.c: Don't declare gets here.
44479 * stdio-common/tst-gets.c: Likewise.
44481 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44483 * posix/glob: Remove directory.
44485 2012-01-24 Joseph Myers <joseph@codesourcery.com>
44487 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
44489 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
44491 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
44492 of the non-standard EPFNOSUPPORT.
44494 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
44496 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
44497 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
44498 ANYWHERE set to 1 only on KERN_NO_SPACE error.
44500 2012-01-21 Ulrich Drepper <drepper@gmail.com>
44502 * wcsmbs/uchar.h: Test __STDC_VERSION__.
44504 2012-01-20 Ulrich Drepper <drepper@gmail.com>
44506 * nscd/aicache.c (addhstaiX): Do not cache negative results of
44508 * nscd/grpcache.c (cache_addgr): Likewise.
44509 * nscd/hstcache.c (cache_addhst): Likewise.
44510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
44511 * nscd/pwdcache.c (cache_addpw): Likewise.
44512 * nscd/servicescache.c (cache_addserv): Likewise.
44514 2012-01-16 Ulrich Drepper <drepper@gmail.com>
44516 * malloc/malloc.c: Various cleanups.
44517 * malloc/hooks.c: Likewise.
44519 * stdlib/Makefile (tests): Add bug-fmtmsg1.
44520 * stdlib/bug-fmtmsg1.c: New file.
44522 * stdlib/fmtmsg.c (init): Add missing unlock.
44523 Patch by Peng Haitao <penght@cn.fujitsu.com>.
44525 2012-01-12 Marek Polacek <polacek@redhat.com>
44527 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
44530 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
44532 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
44533 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
44534 macro to ensure uniqueness of label name.
44535 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
44536 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
44538 2012-01-11 Ulrich Drepper <drepper@gmail.com>
44540 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
44542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
44543 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44544 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44545 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
44547 2012-01-10 Ulrich Drepper <drepper@gmail.com>
44549 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
44551 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
44552 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44553 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44555 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
44557 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
44558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44559 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
44562 * math/bits/math-finite.h: Add ldexp support.
44564 2012-01-10 Marek Polacek <polacek@redhat.com>
44566 * locale/programs/localedef.h (show_archive_content): Add noreturn
44569 2012-01-09 Ulrich Drepper <drepper@gmail.com>
44571 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
44573 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44575 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
44577 * io/Makefile (headers): Add bits/poll2.h.
44579 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
44581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
44582 typo #include statement.
44584 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44586 * include/sys/cdefs.h: Define __attribute_alloc_size.
44587 * catgets/gencat.c: Add alloc_size attribute and apply consistently
44588 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
44589 * elf/pldd.c: Likewise.
44590 * iconv/iconv_charmap.c: Likewise.
44591 * iconv/iconvconfig.c: Likewise.
44592 * iconv/strtab.c: Likewise.
44593 * locale/programs/locale.c: Likewise.
44594 * locale/programs/localedef.h: Likewise.
44595 * locale/programs/simple-hash.c: Likewise.
44596 * nscd/nscd.h: Likewise.
44597 * nss/makedb.c: Likewise.
44598 * sysdeps/generic/ldconfig.h: Likewise.
44599 * locale/programs/localedef.c: Remove xmalloc prototype.
44600 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
44602 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44604 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
44607 2012-01-08 Ulrich Drepper <drepper@gmail.com>
44609 * math/Makefile (tests): Add tst-CMPLX.
44610 * math/tst-CMPLX.c: New file.
44612 * math/complex.h (CMPLXL): Fix typo.
44614 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
44615 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
44617 * debug/tst-chk1.c: Add poll and ppoll tests.
44618 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
44619 * include/sys/poll.h: Add hidden proto for ppoll.
44620 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
44621 * sysdeps/mach/hurd/ppoll.c: Likewise.
44622 * io/ppoll.c: Likewise.
44623 * debug/poll_chk.c: New file.
44624 * debug/ppoll_chk.c: New file.
44625 * include/bits/poll2.h: New file.
44626 * io/bits/poll2.h: New file.
44629 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
44631 * configure.in: static is always set to yes. Remove.
44632 * config.make.in: Don't set build-static.
44633 * Makeconfig: Remove use of build-static.
44634 * dlfcn/Makefile: Likewise.
44635 * elf/Makefile: Likewise.
44636 * math/Makefile: Likewise.
44637 * misc/Makefile: Likewise.
44638 * nptl/Makefile: Likewise.
44639 * sysdeps/mach/hurd/Makefile: Likewise.
44641 * configure.in: PWD_P is not used anymore.
44642 * config.make.in: Remove PWD_P entry.
44644 * configure.in: Remove last remnants of RANLIB.
44645 No need to check for signed size_t anymore.
44646 Don't set libc_commonpagesize and libc_relro_required here for Alpha
44648 Remove __builtin_expect test because we require at least gcc 3.4.
44649 * aclocal.m4: Likewise.
44651 * wcsmbs/mbrtoc16.c: Implement using towc function.
44652 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
44653 * wcsmbs/wcsmbsload.c: Likewise.
44654 * iconv/gconv_simple.c: Likewise.
44655 * iconv/gconv_int.h: Likewise.
44656 * iconv/gconv_builtin.h: Likewise.
44657 * iconv/iconv_prog.c: Remove CHAR16 handling.
44659 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
44661 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
44663 * configure.in: Remove --with-elf and --enable-bounded options.
44664 Dont set base_machine for ia64. More non-ELF conditions removed.
44665 Remove testing and setting of leading underscore information.
44666 * config.make.in (build-bounded): Set to no.
44667 * config.h.in: Remove NO_UNDERSCORES entry.
44668 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
44670 * csu/start.c: Remove !NO_UNDERSCORE code.
44671 * locale/localeinfo.h: Likewise.
44672 * sysdeps/generic/machine-gmon.h: Likewise.
44673 * sysdeps/generic/sysdep.h: Likewise.
44674 * sysdeps/i386/sysdep.h: Likewise.
44675 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44676 * sysdeps/mach/sysdep.h: Likewise.
44677 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44678 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44679 * sysdeps/sh/sysdep.h: Likewise.
44680 * sysdeps/sparc/sparc32/alloca.S: Likewise.
44681 * sysdeps/unix/i386/sysdep.S: Likewise.
44682 * sysdeps/unix/sparc/start.c: Likewise.
44683 * sysdeps/unix/sparc/sysdep.S: Likewise.
44684 * sysdeps/unix/sparc/sysdep.h: Likewise.
44685 * sysdeps/unix/start.c: Likewise.
44686 * sysdeps/unix/x86_64/sysdep.S: Likewise.
44687 * sysdeps/x86_64/sysdep.h: Likewise.
44689 2012-01-07 Ulrich Drepper <drepper@gmail.com>
44692 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
44694 * argp/argp-fmtstream.h: Use const instead __const.
44695 * argp/argp.h: Likewise.
44696 * assert/assert.h: Likewise.
44697 * bits/fenv.h: Likewise.
44698 * bits/sched.h: Likewise.
44699 * bits/sigset.h: Likewise.
44700 * bits/sigthread.h: Likewise.
44701 * catgets/nl_types.h: Likewise.
44702 * conform/data/pthread.h-data: Likewise.
44703 * crypt/crypt-private.h: Likewise.
44704 * crypt/crypt.h: Likewise.
44705 * crypt/crypt_util.c: Likewise.
44706 * ctype/ctype.h: Likewise.
44707 * debug/execinfo.h: Likewise.
44708 * debug/mbsnrtowcs_chk.c: Likewise.
44709 * debug/mbsrtowcs_chk.c: Likewise.
44710 * debug/wcsnrtombs_chk.c: Likewise.
44711 * debug/wcsrtombs_chk.c: Likewise.
44712 * debug/wcstombs_chk.c: Likewise.
44713 * dirent/dirent.h: Likewise.
44714 * dlfcn/dlfcn.h: Likewise.
44715 * elf/neededtest4.c: Likewise.
44716 * grp/grp.h: Likewise.
44717 * gshadow/gshadow.h: Likewise.
44718 * iconv/gconv.h: Likewise.
44719 * iconv/gconv_int.h: Likewise.
44720 * iconv/gconv_simple.c: Likewise.
44721 * iconv/iconv.h: Likewise.
44722 * iconv/loop.c: Likewise.
44723 * iconv/skeleton.c: Likewise.
44724 * include/aio.h: Likewise.
44725 * include/aliases.h: Likewise.
44726 * include/argz.h: Likewise.
44727 * include/arpa/inet.h: Likewise.
44728 * include/assert.h: Likewise.
44729 * include/dirent.h: Likewise.
44730 * include/dlfcn.h: Likewise.
44731 * include/execinfo.h: Likewise.
44732 * include/fcntl.h: Likewise.
44733 * include/fenv.h: Likewise.
44734 * include/glob.h: Likewise.
44735 * include/grp.h: Likewise.
44736 * include/libintl.h: Likewise.
44737 * include/mntent.h: Likewise.
44738 * include/netdb.h: Likewise.
44739 * include/pwd.h: Likewise.
44740 * include/rpc/netdb.h: Likewise.
44741 * include/sched.h: Likewise.
44742 * include/search.h: Likewise.
44743 * include/shadow.h: Likewise.
44744 * include/signal.h: Likewise.
44745 * include/stdio.h: Likewise.
44746 * include/stdlib.h: Likewise.
44747 * include/string.h: Likewise.
44748 * include/sys/socket.h: Likewise.
44749 * include/sys/stat.h: Likewise.
44750 * include/sys/statfs.h: Likewise.
44751 * include/sys/statvfs.h: Likewise.
44752 * include/sys/syslog.h: Likewise.
44753 * include/sys/time.h: Likewise.
44754 * include/sys/uio.h: Likewise.
44755 * include/time.h: Likewise.
44756 * include/unistd.h: Likewise.
44757 * include/utmp.h: Likewise.
44758 * include/wchar.h: Likewise.
44759 * include/wctype.h: Likewise.
44760 * inet/aliases.h: Likewise.
44761 * inet/arpa/inet.h: Likewise.
44762 * inet/netinet/ether.h: Likewise.
44763 * inet/netinet/in.h: Likewise.
44764 * intl/libintl.h: Likewise.
44765 * io/bits/fcntl2.h: Likewise.
44766 * io/fcntl.h: Likewise.
44767 * io/ftw.h: Likewise.
44768 * io/sys/poll.h: Likewise.
44769 * io/sys/stat.h: Likewise.
44770 * io/sys/statfs.h: Likewise.
44771 * io/sys/statvfs.h: Likewise.
44772 * io/utime.h: Likewise.
44773 * libio/bits/stdio.h: Likewise.
44774 * libio/bits/stdio2.h: Likewise.
44775 * libio/libio.h: Likewise.
44776 * libio/libioP.h: Likewise.
44777 * libio/stdio.h: Likewise.
44778 * locale/lc-ctype.c: Likewise.
44779 * locale/locale.h: Likewise.
44780 * login/utmp.h: Likewise.
44781 * malloc/arena.c: Likewise.
44782 * malloc/malloc.c: Likewise.
44783 * malloc/malloc.h: Likewise.
44784 * malloc/mcheck.c: Likewise.
44785 * malloc/mtrace.c: Likewise.
44786 * math/bits/mathcalls.h: Likewise.
44787 * math/fenv.h: Likewise.
44788 * math/math_private.h: Likewise.
44789 * misc/bits/error.h: Likewise.
44790 * misc/bits/syslog.h: Likewise.
44791 * misc/err.h: Likewise.
44792 * misc/error.h: Likewise.
44793 * misc/fstab.h: Likewise.
44794 * misc/mntent.h: Likewise.
44795 * misc/regexp.h: Likewise.
44796 * misc/search.h: Likewise.
44797 * misc/sgtty.h: Likewise.
44798 * misc/sys/mman.h: Likewise.
44799 * misc/sys/syslog.h: Likewise.
44800 * misc/sys/uio.h: Likewise.
44801 * misc/sys/xattr.h: Likewise.
44802 * misc/ttyent.h: Likewise.
44803 * nis/rpcsvc/ypclnt.h: Likewise.
44804 * nss/nss.h: Likewise.
44805 * posix/bits/unistd.h: Likewise.
44806 * posix/fnmatch.h: Likewise.
44807 * posix/glob.h: Likewise.
44808 * posix/sched.h: Likewise.
44809 * posix/spawn.h: Likewise.
44810 * posix/sys/wait.h: Likewise.
44811 * posix/unistd.h: Likewise.
44812 * posix/wordexp.h: Likewise.
44813 * pwd/pwd.h: Likewise.
44814 * resolv/netdb.h: Likewise.
44815 * resource/sys/resource.h: Likewise.
44816 * rt/aio.h: Likewise.
44817 * rt/bits/mqueue2.h: Likewise.
44818 * rt/mqueue.h: Likewise.
44819 * shadow/shadow.h: Likewise.
44820 * signal/signal.h: Likewise.
44821 * socket/send.c: Likewise.
44822 * socket/sendto.c: Likewise.
44823 * socket/sys/socket.h: Likewise.
44824 * stdio-common/printf.h: Likewise.
44825 * stdlib/bits/stdlib.h: Likewise.
44826 * stdlib/fmtmsg.h: Likewise.
44827 * stdlib/monetary.h: Likewise.
44828 * stdlib/stdlib.h: Likewise.
44829 * stdlib/ucontext.h: Likewise.
44830 * streams/stropts.h: Likewise.
44831 * string/argz.h: Likewise.
44832 * string/bits/string2.h: Likewise.
44833 * string/string.h: Likewise.
44834 * string/strings.h: Likewise.
44835 * sunrpc/rpc/auth.h: Likewise.
44836 * sunrpc/rpc/auth_des.h: Likewise.
44837 * sunrpc/rpc/clnt.h: Likewise.
44838 * sunrpc/rpc/netdb.h: Likewise.
44839 * sunrpc/rpc/pmap_clnt.h: Likewise.
44840 * sunrpc/rpc/xdr.h: Likewise.
44841 * sysdeps/generic/inttypes.h: Likewise.
44842 * sysdeps/generic/net/if.h: Likewise.
44843 * sysdeps/generic/sys/swap.h: Likewise.
44844 * sysdeps/gnu/net/if.h: Likewise.
44845 * sysdeps/gnu/utmpx.h: Likewise.
44846 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
44847 * sysdeps/i386/i486/bits/string.h: Likewise.
44848 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
44849 * sysdeps/s390/bits/string.h: Likewise.
44850 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
44851 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
44852 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
44853 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
44854 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
44855 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
44856 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
44857 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
44858 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
44859 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
44860 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
44861 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44862 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
44863 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44864 * sysdeps/unix/sysv/linux/readv.c: Likewise.
44865 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
44866 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44868 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44869 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44870 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
44871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
44872 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
44873 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
44874 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
44875 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
44876 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
44877 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44878 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
44879 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
44880 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
44881 * sysvipc/sys/ipc.h: Likewise.
44882 * sysvipc/sys/msg.h: Likewise.
44883 * sysvipc/sys/sem.h: Likewise.
44884 * sysvipc/sys/shm.h: Likewise.
44885 * termios/termios.h: Likewise.
44886 * time/sys/time.h: Likewise.
44887 * time/time.h: Likewise.
44888 * wcsmbs/bits/wchar2.h: Likewise.
44889 * wcsmbs/uchar.h: Likewise.
44890 * wcsmbs/wchar.h: Likewise.
44891 * wctype/wctype.h: Likewise.
44894 * Makeconfig: Remove all but ELF support including AIX support.
44895 * Makerules: Likewise.
44896 * config.h.in: Likewise.
44897 * config.make.in: Likewise.
44898 * configure: Likewise.
44899 * configure.in: Likewise.
44900 * csu/Makefile: Likewise.
44901 * csu/version.c: Likewise.
44902 * debug/Makefile: Likewise.
44903 * dlfcn/Makefile: Likewise.
44904 * elf/Makefile: Likewise.
44905 * extra-lib.mk: Likewise.
44906 * iconv/Makefile: Likewise.
44907 * include/libc-symbols.h: Likewise.
44908 * include/shlib-compat.h: Likewise.
44909 * resolv/Makefile: Likewise.
44910 * resolv/res_libc.c: Likewise.
44911 * rt/Makefile: Likewise.
44912 * sysdeps/i386/asm-syntax.h: Likewise.
44913 * sysdeps/i386/sysdep.h: Likewise.
44914 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
44915 * sysdeps/mach/sysdep.h: Likewise.
44916 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
44917 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
44918 * sysdeps/s390/asm-syntax.h: Likewise.
44919 * sysdeps/s390/s390-32/sysdep.h: Likewise.
44920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
44921 * sysdeps/sh/sysdep.h: Likewise.
44922 * sysdeps/unix/sparc/sysdep.h: Likewise.
44923 * sysdeps/wordsize-32/divdi3.c: Likewise.
44924 * sysdeps/x86_64/sysdep.h: Likewise.
44926 * argp/Versions: Remove _argp_unlock_xxx.
44929 * abilist/ld.abilist: Update. Adjust for removal of tls option.
44930 * abilist/libBrokenLocale.abilist: Likewise.
44931 * abilist/libanl.abilist: Likewise.
44932 * abilist/libc.abilist: Likewise.
44933 * abilist/libcrypt.abilist: Likewise.
44934 * abilist/libdl.abilist: Likewise.
44935 * abilist/libm.abilist: Likewise.
44936 * abilist/libnsl.abilist: Likewise.
44937 * abilist/libpthread.abilist: Likewise.
44938 * abilist/libresolv.abilist: Likewise.
44939 * abilist/librt.abilist: Likewise.
44940 * abilist/libthread_db.abilist: Likewise.
44941 * abilist/libutil.abilist: Likewise.
44942 * abilist/libnss_db.abilist: New file.
44944 * scripts/abilist.awk: Add support for indirect functions.
44946 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
44948 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
44950 * shlib-versions: Remove entries for ports architectures.
44952 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
44954 * elf/stackguard-macros.h: Remove support for IA-64.
44955 * elf/tst-auditmod1.c: Likewise.
44956 * sysdeps/generic/ldsodefs.h: Likewise.
44958 * sysdeps/unix/sysv/linux/configure.in: Ports should define
44959 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
44963 * configure.in: Remove --enable-omitfp support.
44965 * config.make.in: Likewise.
44966 * Makeconfig: Likewise.
44967 * manual/install.texi: Likewise.
44969 In case anyone cares, the IA-64 architecture could move to ports.
44970 * sysdeps/ia64/*: Removed.
44971 * sysdeps/unix/sysv/linux/ia64/*: Removed.
44972 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
44975 * configure.in: Remove entries for unsupported architectures.
44978 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
44979 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
44981 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
44982 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
44983 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
44984 fall back to using wcrtomb.
44985 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
44986 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
44988 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
44989 * wcsmbs/tst-c16c32-1.c: New file.
44991 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
44994 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
44996 * elf/tst-unique3.cc: Add explicit declaration of gets.
44997 * elf/tst-unique3lib.cc: Likewise.
44998 * elf/tst-unique3lib2.cc: Likewise.
44999 * elf/tst-unique4.cc: Likewise.
45001 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45003 2012-01-06 Joseph Myers <joseph@codesourcery.com>
45006 * assert/assert.h (static_assert): Don't define for C++.
45007 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45008 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45010 2012-01-03 Ulrich Drepper <drepper@gmail.com>
45012 * iconv/loop.c (single loop): Fix assertion in storing of
45015 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45017 2012-01-01 Ulrich Drepper <drepper@gmail.com>
45019 * posix/getconf.c: Update copyright year.
45020 * nss/getent.c: Likewise.
45021 * nss/makedb.c: Likewise.
45022 * iconv/iconvconfig.c: Likewise.
45023 * iconv/iconv_prog.c: Likewise.
45024 * elf/ldconfig.c: Likewise.
45025 * elf/pldd.c: Likewise.
45026 * elf/sotruss.ksh: Likewise.
45027 * catgets/gencat.c: Likewise.
45028 * csu/version.c: Likewise.
45029 * elf/ldd.bash.in: Likewise.
45030 * elf/sprof.c (print_version): Likewise.
45031 * locale/programs/locale.c: Likewise.
45032 * locale/programs/localedef.c: Likewise.
45033 * login/programs/pt_chown.c: Likewise.
45034 * nscd/nscd.c (print_version): Likewise.
45035 * debug/xtrace.sh: Likewise.
45036 * malloc/memusage.sh: Likewise.
45037 * malloc/mtrace.pl: Likewise.
45038 * debug/catchsegv.sh: Likewise.
45040 2011-12-30 Jakub Jelinek <jakub@redhat.com>
45042 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45045 2011-12-24 Ulrich Drepper <drepper@gmail.com>
45048 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45049 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45051 * iconv/gconv_int.h: Likewise.
45052 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45053 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45054 from libc for GLIBC_2.16.
45055 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45056 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45057 * wcsmbs/uchar.h: Really define mbstate_t.
45058 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45059 * wcsmbs/c16rtomb.c: New file.
45060 * wcsmbs/mbrtoc16.c: New file.
45061 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45062 for C/POSIX locale.
45063 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45064 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45066 * wcsmbs/wchar.h: Add missing __restrict.
45068 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45071 * time/Makefile (routines): Add timespec_get.
45072 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45073 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45074 timespec for ISO C11.
45075 * time/timespec_get.c: New file.
45076 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45077 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45080 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45081 * stdlib/stdlib.h: Declare aligned_alloc.
45082 * Versions.def: Add GLIBC_2.16 for libc.
45083 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45086 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45089 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
45093 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45096 * assert/assert.h (static_assert): Define.
45098 * version.h: Update for 2.16 development version.
45101 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45104 * version.h (RELEASE): Bump for 2.15 release.
45105 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45107 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45108 Patch by Marek Polacek <mpolacek@redhat.com>.
45110 * bits/byteswap.h: Protect long long constants with __extension__.
45111 * sysdeps/i386/bits/byteswap.h: Likewise.
45112 * sysdeps/ia64/bits/byteswap.h: Likewise.
45113 * sysdeps/s390/bits/byteswap.h: Likewise.
45114 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45116 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45119 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45120 destination buffer.
45121 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45123 2011-12-23 Marek Polacek <polacek@redhat.com>
45125 * elf/dl-addr.c (determine_info): Add inline keyword.
45126 * elf/tst-auditmod4b.c (check_avx): Likewise.
45127 * elf/tst-auditmod6b.c (check_avx): Likewise.
45128 * elf/tst-auditmod6c.c (check_avx): Likewise.
45129 * elf/tst-auditmod7b.c (check_avx): Likewise.
45131 2011-12-23 Ulrich Drepper <drepper@gmail.com>
45133 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45136 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45139 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45140 processing for last bytes.
45142 2011-08-06 Bruno Haible <bruno@clisp.org>
45145 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45146 U+0385, not to U+1FEE.
45149 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45150 entry for U+00A5 U+0301.
45152 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45155 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45156 buffer for the output is too small.
45158 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45162 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45163 SSE flags if possible.
45165 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45169 processing for last bytes.
45171 2011-12-22 Joseph Myers <joseph@codesourcery.com>
45173 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45174 (syscall-list-default-options, syscall-list-default-condition)
45175 (syscall-list-includes): Define.
45176 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45177 list of ABIs and options and #if conditions for each ABI. Do not
45178 handle common syscalls between ABIs specially.
45179 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45181 (syscall-list-variants, syscall-list-32bit-options)
45182 (syscall-list-32bit-condition, syscall-list-64bit-options)
45183 (syscall-list-64bit-condition): Define.
45184 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45185 (syscall-list-variants, syscall-list-32bit-options)
45186 (syscall-list-32bit-condition, syscall-list-64bit-options)
45187 (syscall-list-64bit-condition): Define.
45188 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45190 (syscall-list-variants, syscall-list-32bit-options)
45191 (syscall-list-32bit-condition, syscall-list-64bit-options)
45192 (syscall-list-64bit-condition): Define.
45193 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45195 (syscall-list-variants, syscall-list-32bit-options)
45196 (syscall-list-32bit-condition, syscall-list-64bit-options)
45197 (syscall-list-64bit-condition): Define.
45199 2011-12-22 Ulrich Drepper <drepper@gmail.com>
45201 * locale/iso-639.def: Add brx entry.
45204 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45205 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45207 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45208 __feraiseexcept_renamed.
45210 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45213 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45214 EPOLLET with unsigned values.
45215 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45216 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45218 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45219 to large cancellation.
45220 * math/s_cacoshf.c: Likewise.
45221 * math/s_cacoshl.c: Likewise.
45223 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45227 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45228 * math/s_cacoshf.c: Likewise.
45229 * math/s_cacoshl.c: Likewise.
45231 2011-12-21 Ulrich Drepper <drepper@gmail.com>
45234 * iconv/gconv.h: Define __GCONV_SWAP.
45235 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45236 * iconvdata/utf-16.c: Likewise.
45237 * iconvdata/utf-32.c: Likewise.
45239 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45242 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45243 numerator after shifting it by one limb.
45245 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45247 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45248 under [__USE_EXTERN_INLINES].
45250 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45253 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45255 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45257 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45258 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45260 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45261 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45262 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45263 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45264 for strncasecmp/strncasecmp_l compilation.
45265 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45266 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45268 2011-12-08 Marek Polacek <mpolacek@redhat.com>
45271 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45274 2011-12-17 Ulrich Drepper <drepper@gmail.com>
45277 * time/tzfile.c (__tzfile_read): Check values from file header.
45279 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45281 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45282 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45283 * powerpc/powerpc32/dl-start.S: Likewise.
45284 * powerpc/powerpc32/elf/start.S: Likewise.
45285 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45286 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45287 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45288 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45289 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45290 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45291 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
45292 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45293 * powerpc/powerpc32/fpu/s_round.S: Likewise.
45294 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
45295 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
45296 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
45297 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
45298 * powerpc/powerpc32/memset.S: Likewise.
45299 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
45300 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
45301 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
45302 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
45303 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
45304 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45305 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45306 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45307 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
45308 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
45309 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
45310 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45311 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45313 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45315 * math/libm-test.inc: Added more nearbyint tests.
45316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
45317 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
45318 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
45319 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
45321 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
45323 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
45326 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45328 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
45329 Add wcscpy-ssse3 wcscpy-c.
45330 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
45331 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
45332 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
45333 * sysdeps/x86_64/wcschr.S: New file.
45334 * sysdeps/x86_64/wcsrchr.S: New file.
45335 * string/test-strcmp.c: Remove checking of wcscmp function for
45337 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
45338 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
45339 wcsrchr-sse2 wcsrchr-c.
45340 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
45341 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
45342 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
45343 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
45344 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
45345 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
45346 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
45347 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
45348 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
45349 * wcsmbc/wcschr.c (WCSCHR): New macro.
45351 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45353 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
45354 * wcsmbs/test-wcsrchr.c: New file.
45355 * string/test-strrchr.c: Add wcsrchr support.
45357 * wcsmbs/test-wcscpy.c: New file.
45358 * string/test-strcpy.c: Add wcscpy support.
45361 2011-12-10 Ulrich Drepper <drepper@gmail.com>
45363 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
45366 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
45369 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
45371 2011-12-04 Ulrich Drepper <drepper@gmail.com>
45373 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
45374 Minor optimizations.
45376 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
45377 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
45378 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
45380 2011-12-03 Ulrich Drepper <drepper@gmail.com>
45382 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
45383 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
45384 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
45385 for gcc to avoid warnings.
45386 * inet/Makefile (tests): Add tst-checks.
45387 * inet/tst-checks.c: New file.
45389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
45392 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
45395 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
45396 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
45398 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
45400 2011-12-02 Ulrich Drepper <drepper@gmail.com>
45402 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
45405 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
45407 2011-11-29 Joseph Myers <joseph@codesourcery.com>
45409 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
45410 conditional on GCC version.
45411 (__arch_compare_and_exchange_val_8_acq)
45412 (__arch_compare_and_exchange_val_16_acq)
45413 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
45414 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
45415 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
45417 2011-12-02 Joseph Myers <joseph@codesourcery.com>
45419 * sysdeps/sh/backtrace.c: New file.
45421 2011-12-02 Andreas Schwab <schwab@redhat.com>
45423 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
45426 2011-12-01 Andreas Schwab <schwab@redhat.com>
45428 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
45429 falling back to utime.
45431 2011-11-30 Andreas Schwab <schwab@redhat.com>
45433 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
45434 expectations for float.
45436 2011-11-29 Andreas Schwab <schwab@redhat.com>
45438 * locale/weight.h (findidx): Add parameter len.
45439 * locale/weightwc.h (findidx): Likewise.
45440 * posix/fnmatch_loop.c (FCT): Adjust caller.
45441 * posix/regcomp.c (build_equiv_class): Likewise.
45442 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
45443 * posix/regexec.c (check_node_accept_bytes): Likewise.
45444 * string/strcoll_l.c (STRCOLL): Likewise.
45445 * string/strxfrm_l.c (STRXFRM): Likewise.
45447 2011-11-17 Ulrich Drepper <drepper@gmail.com>
45449 * Makefile.in: Remove CVSOPT handling.
45450 * configure.in: Remove use of AC_REVISION.
45451 * iconvdata/Makefile (distribute): No need to filter out CVS.
45452 * scripts/list-sources.sh: Remove CVS, subversion and monotone
45455 2011-11-16 Andreas Schwab <schwab@redhat.com>
45457 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
45458 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
45459 [USE_AS_STRNCASECMP_L]: Likewise.
45460 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
45461 NO_TLS_DIRECT_SEG_REFS.
45462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
45463 Fix argument offsets for non-PIC.
45464 [USE_AS_STRNCASECMP_L]: Likewise.
45465 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
45466 NO_TLS_DIRECT_SEG_REFS.
45468 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45470 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
45472 * locale/loadlocale.c (_nl_load_locale): Likewise.
45474 2011-11-15 Andreas Schwab <schwab@redhat.com>
45476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
45477 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
45478 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
45479 (SYSCALL_GETTIME): Set errno on error.
45481 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
45482 count references to noai6ai_cached.
45484 2011-11-15 Ulrich Drepper <drepper@gmail.com>
45486 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
45488 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
45489 FD_CLOEXEC for /proc/self/maps.
45491 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
45492 FD_CLOEXEC for /proc/meminfo.
45494 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
45497 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
45498 FD_CLOEXEC for given file.
45500 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
45502 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
45503 FD_CLOEXEC for /etc/hosts.
45504 (_gethtent): Likewise.
45506 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
45508 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
45509 cancellation and set FD_CLOEXEC for /etc/netgroup.
45511 * nss/nss_files/files-key.c (search): Don't allow cancellation when
45512 reading /etc/publickey.
45514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
45515 allow cancellation when reading /etc/group.
45517 * nss/nss_files/files-alias.c (internal_setent): Don't allow
45519 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
45521 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
45522 when using data file.
45524 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
45526 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
45527 (write_nis_obj): Use "c" and "e" in fopen.
45529 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
45531 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
45533 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
45535 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
45537 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
45540 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
45542 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
45544 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
45546 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
45547 file parsing and set FD_CLOEXEC.
45549 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45551 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
45553 2011-11-14 Andreas Schwab <schwab@redhat.com>
45555 * malloc/arena.c (arena_get2): Don't call reused_arena when
45556 _int_new_arena failed.
45558 2011-11-14 Ulrich Drepper <drepper@gmail.com>
45560 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
45561 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
45562 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
45563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45564 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45565 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
45566 to compile strcasecmp and strncasecmp.
45567 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
45568 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
45570 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
45572 2011-11-13 Ulrich Drepper <drepper@gmail.com>
45574 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
45575 locale-defines.sym to gen-as-const-headers.
45576 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
45577 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
45578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
45579 to compile strcasecmp and strncasecmp.
45580 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
45581 strcasecmp_l and strncasecmp_l.
45582 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
45583 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
45584 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
45585 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
45586 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
45587 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
45588 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
45589 * sysdeps/i386/i686/multiarch/strncase.S: New file.
45590 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
45591 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
45592 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
45594 2011-11-12 Ulrich Drepper <drepper@gmail.com>
45596 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
45597 result of SYSDEP_GETTIME_CPU to retval.
45598 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
45599 parameter list to macro. Remove trailing semicolon. Adjust users.
45601 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
45604 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
45606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
45608 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
45609 from unused variable.
45611 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
45613 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
45616 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
45619 * sunrpc/rpc_prot.c (rejected): Fix case value.
45621 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
45622 unsigned long long int to avoid warnings in shift.
45624 * posix/regex_internal.c (re_string_reconstruct): Actually use result
45626 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
45629 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
45630 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
45631 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
45633 * nis/nis_table.c (nis_list): Use variable of correct type for
45634 result of __follow_path call.
45636 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45638 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
45639 of math functions ceil, trunc, floor, round, and sqrt, when
45640 avaliable on the platform.
45641 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
45643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45644 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
45645 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
45647 2011-10-30 Marek Polacek <mpolacek@redhat.com>
45649 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
45650 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
45652 2011-11-11 Roland McGrath <roland@hack.frob.com>
45654 * include/unistd.h: Fix __readlink return type.
45655 Reported by Chris Metcalf <cmetcalf@tilera.com>.
45657 2011-11-11 Ulrich Drepper <drepper@gmail.com>
45659 * stdlib/ucontext.h: Undo last change for makecontext.
45661 2011-11-11 Andreas Schwab <schwab@redhat.com>
45663 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
45665 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
45666 * setjmp/setjmp.h: Mark functions as non-leaf.
45667 * setjmp/bits/setjmp2.h: Likewise.
45668 * stdlib/ucontext.h: Likewise.
45670 2011-11-10 Andreas Schwab <schwab@redhat.com>
45672 * malloc/arena.c (_int_new_arena): Don't increment narenas.
45673 (reused_arena): Don't check arena limit.
45674 (arena_get2): Atomically check arena limit.
45676 2011-11-08 Ulrich Drepper <drepper@gmail.com>
45678 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
45679 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
45681 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
45684 2011-11-07 Andreas Schwab <schwab@redhat.com>
45686 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
45687 handler when locking.
45689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45690 Fix size of allocated buffer.
45692 2011-11-04 Andreas Schwab <schwab@redhat.com>
45695 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
45696 declarations for long double functions.
45697 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
45699 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
45701 2011-11-03 Andreas Schwab <schwab@redhat.com>
45703 * nscd/nscd.c (main): Don't start AVC thread until credentials are
45706 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
45709 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
45711 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
45713 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
45715 * include/alloca.h (stackinfo_alloca_round): Define.
45716 (extend_alloca): Use it.
45717 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
45718 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
45721 * scripts/check-local-headers.sh: Ignore libaudit.h.
45723 * nscd/Makefile (extra-objs): Make recursively expanded.
45725 2011-11-01 Ulrich Drepper <drepper@gmail.com>
45727 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
45728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
45730 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
45731 * posix/tst-rfc3484-2.c: Likewise.
45732 * posix/tst-rfc3484-3.c: Likewise.
45734 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45736 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
45738 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
45739 process_vm_writev from libc using GLIBC_2.15 version.
45741 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
45743 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
45745 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
45748 2011-10-31 Ulrich Drepper <drepper@gmail.com>
45751 * nss/getent.c (initgroups_keys): Show error message in case no group
45754 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
45755 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
45756 __bump_nl_timestamp.
45757 * nscd/connections (nscd_init): When host database is served open
45758 netlink socket and request notification about configuration changes.
45759 (main_loop_poll): Track netlink file descriptor and bump timestamp
45760 in case data becomes available.
45761 (main_loop_epoll): Likewise.
45762 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
45763 (database_pers_head): Add extra_data fileds.
45764 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
45765 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
45766 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
45768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
45769 in6ai data, call __free_in6ai.
45770 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
45771 Add -DHAVE_NETLINK.
45772 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
45773 interface information. Reuse previous data if netlink timestamp
45775 (__bump_nl_timestamp): New function.
45776 (__free_in6ai): New function.
45778 2011-10-30 Ulrich Drepper <drepper@gmail.com>
45780 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
45781 close_not_cancel_no_status here.
45782 (__check_pf): Reorganize code a bit to not call close twice if OOM.
45784 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45787 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
45790 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
45791 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
45792 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
45794 2011-07-03 Andreas Jaeger <aj@suse.de>
45797 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
45798 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
45799 * math/libm-test.inc (sin_test): Add test case.
45801 2011-10-29 Ulrich Drepper <drepper@gmail.com>
45804 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
45805 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45807 * elf/chroot_canon.c (chroot_canon): Cleanups.
45809 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
45812 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
45813 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
45815 * string/test-strchr.c: Make usable for strchrnul testing.
45816 * string/test-strchrnul.c: New file.
45817 * string/Makefile (strop-tests): Add strchrnul.
45819 * po/it.po: Update from translation team.
45820 * po/es.po: Likewise.
45822 2011-10-28 Ulrich Drepper <drepper@gmail.com>
45824 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
45825 the three constants needed as parameters. Drop the others.
45826 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
45827 __m128i_strloadu_tolower.
45828 Create and initialize variable zero and use it in all the places
45829 where _mm_setzero_si128 was used.
45831 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
45832 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
45833 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
45834 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
45836 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
45837 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
45838 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
45839 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
45840 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
45841 __mpranred, __mptan.
45842 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
45843 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
45844 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
45845 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
45846 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
45847 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
45848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
45849 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
45850 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
45852 2011-10-28 Andreas Schwab <schwab@redhat.com>
45854 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
45855 redefine if SHARED.
45856 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
45858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
45859 wide char related routines to wcsmbs subdir.
45861 2011-10-27 Andreas Schwab <schwab@redhat.com>
45864 * misc/sys/cdefs.h (__THROWNL): Define.
45865 * posix/unistd.h: Use __THREADNL instead of __THREAD
45866 for memory synchronization functions.
45868 2011-10-26 Roland McGrath <roland@hack.frob.com>
45871 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
45873 * manual/stdio.texi (Obstack Streams): Node removed.
45875 2011-10-26 Andreas Schwab <schwab@redhat.com>
45877 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
45878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45879 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45881 * math/math_private.h (math_force_eval): Allow non-addressable
45883 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
45885 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45887 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
45888 file is not needed.
45890 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
45891 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
45892 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45893 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45894 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45895 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45896 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45897 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
45899 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
45900 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
45901 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
45902 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
45903 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
45904 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
45905 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
45906 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
45907 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
45908 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
45909 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
45910 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
45911 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
45912 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
45913 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
45914 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
45915 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
45916 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
45917 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
45919 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
45920 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
45922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
45923 place. Use VEX encoding when compiling for AVX.
45925 2011-10-25 Andreas Schwab <schwab@redhat.com>
45927 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
45928 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
45930 * string/test-strchr.c (do_test): Don't generate NUL bytes.
45932 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45934 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
45935 useless if() expression.
45936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45937 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45938 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45939 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45940 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45941 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45944 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45945 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45946 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45947 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45948 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45950 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45951 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45952 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45954 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45956 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
45958 2011-10-25 Andreas Schwab <schwab@redhat.com>
45960 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
45962 * elf/dl-fini.c (_dl_sort_fini): Likewise.
45964 2011-10-25 Ulrich Drepper <drepper@gmail.com>
45966 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
45967 .text section. Avoid duplicate constants.
45968 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45969 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45970 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45971 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45972 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45973 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45974 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45975 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45976 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45977 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
45978 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45979 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
45980 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
45981 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
45982 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
45983 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
45984 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
45985 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45986 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45987 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45988 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45989 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45990 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45991 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
45992 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
45993 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
45994 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
45995 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
45996 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
45997 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45998 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
45999 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46000 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46001 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46002 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46003 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46004 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46005 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46006 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46007 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46008 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46009 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46010 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46011 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46012 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46014 2011-10-24 Ulrich Drepper <drepper@gmail.com>
46016 * sysdeps/x86_64/dla.h: Move to ...
46017 * sysdeps/x86_64/fpu/dla.h: ...here.
46018 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46019 situations. Use __builtin_fma only for gcc 4.6 and up.
46021 * config.make.in: Add have-mfma4 entry.
46022 * configure.in: Substitute libc_cv_cc_fma4.
46023 * math/Makefile (dbl-only-routines): Add sincostab.
46024 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46025 Use __sincostab not sincos.
46026 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46028 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46029 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46031 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46033 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46034 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46035 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46036 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46038 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46039 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46041 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46042 define aliases when function name is a macro.
46043 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46044 sysdeps/ieee754/dbl-64/sincos.tbl.
46045 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46046 fma4-enabled routines.
46047 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46048 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46049 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46050 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46051 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46052 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46053 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46054 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46056 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46057 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46058 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46059 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46060 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46061 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46062 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46063 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46064 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46065 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46067 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46068 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46070 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46072 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46073 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46074 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46075 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46076 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46078 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46080 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46081 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46083 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46084 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46085 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46087 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46089 2011-10-24 Andreas Schwab <schwab@redhat.com>
46091 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46093 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46095 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46097 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46099 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46101 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46102 Remove unused variable magic_bits.
46103 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46105 * string/strnlen.c: Define and use STRNLEN macro.
46106 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46107 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46109 * wcsmbs/wcslen.c: Define and use WCSLEN.
46110 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46111 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46112 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46113 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46114 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46115 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46116 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46118 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46121 strnlen-sse2-no-bsf.
46122 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46123 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46124 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46125 Add strnlen support.
46126 (USE_AS_STRNLEN): New macro.
46127 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46128 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46129 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46130 * sysdeps/x86_64/wcslen.S: New file.
46132 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46134 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46135 XMM-moves are used for copying on small sizes.
46137 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46139 * wcsmbs/Makefile (strop-tests): Add wcschr.
46140 * wcsmbs/test-wcschr.c: New file.
46141 * string/test-strchr.c: Update.
46142 Add wcschr support.
46145 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46147 * wcsmbs/Makefile (strop-tests): Add wcslen.
46148 * wcsmbs/test-wcslen.c: New file.
46149 * string/test-strlen.c: Update.
46150 Add wcslen support.
46153 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46155 * po/it.po: Update from translation team.
46157 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46159 * sysdeps/x86_64/wcscmp.S: Update.
46160 Fix wrong comparison semantics.
46161 wcscmp shall use signed comparison not unsigned.
46162 Don't use substraction to avoid overflow bug.
46163 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46164 * wcsmbc/wcscmp.c: Likewise.
46165 * string/test-strcmp.c: Likewise.
46166 Add new tests to check cases with negative values.
46168 2011-10-23 Ulrich Drepper <drepper@gmail.com>
46170 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46171 * sysdeps/x86_64/dla.h: ...here. New file.
46172 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46175 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46176 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46179 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46180 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46182 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46185 __ynl_finite aliases.
46187 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46191 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46193 [DLA_FMA] (EMULV): Use DLA_FMA.
46194 [DLA_FMA] (MUL12): Use EMULV.
46195 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46196 that are not needed.
46197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46199 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46200 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46201 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46202 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46203 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46205 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46207 * math/s_nan.c: Undef __nan.
46208 * math/s_nanf.c: Undef __nanf.
46209 * math/s_nanl.c: Undef __nanl.
46210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46213 2011-10-22 Ulrich Drepper <drepper@gmail.com>
46215 * math/s_catan.c: Add branch predictions.
46216 * math/s_catanf.c: Likewise.
46217 * math/s_catanh.c: Likewise.
46218 * math/s_catanhf.c: Likewise.
46219 * math/s_catanhl.c: Likewise.
46220 * math/s_catanl.c: Likewise.
46221 * math/s_cexp.c: Likewise.
46222 * math/s_cexpf.c: Likewise.
46223 * math/s_cexpl.c: Likewise.
46224 * math/s_clog.c: Likewise.
46225 * math/s_clog10.c: Likewise.
46226 * math/s_clog10f.c: Likewise.
46227 * math/s_clog10l.c: Likewise.
46228 * math/s_clogf.c: Likewise.
46229 * math/s_clogl.c: Likewise.
46230 * math/s_csqrt.c: Likewise.
46231 * math/s_csqrtf.c: Likewise.
46232 * math/s_csqrtl.c: Likewise.
46233 * math/s_ctanf.c: Likewise.
46234 * math/s_ctanh.c: Likewise.
46235 * math/s_ctanhf.c: Likewise.
46236 * math/s_ctanhl.c: Likewise.
46237 * math/s_ctanl.c: Likewise.
46239 * math/math_private.h: Define __nan, __nanf, __nanl.
46240 * math/s_cacosh.c: Include <math_private.h>.
46241 * math/s_cacoshl.c: Likewise.
46242 * math/s_casinh.c: Likewise.
46243 * math/s_casinhf.c: Likewise.
46244 * math/s_casinhl.c: Likewise.
46245 * math/s_ccos.c: Rely entire on ccosh.
46246 * math/s_ccosf.c: Rely entire on ccoshf.
46247 * math/s_ccosl.c: Rely entirely on ccoshl.
46248 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46249 Remove tests for FE_INVALID.
46250 * math/s_ccoshf.c: Likewise.
46251 * math/s_ccoshl.c: Likewise.
46252 * math/s_csin.c: Likewise.
46253 * math/s_csinf.c: Likewise.
46254 * math/s_csinh.c Likewise.
46255 * math/s_csinhf.c: Likewise.
46256 * math/s_csinhl.c: Likewise.
46257 * math/s_csinl.c: Likewise.
46258 * math/s_ctan.c: Likewise.
46259 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46260 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46263 2011-10-21 Ulrich Drepper <drepper@gmail.com>
46265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46266 compilation problems.
46268 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46271 2011-10-20 Ulrich Drepper <drepper@gmail.com>
46273 * sysdeps/i386/configure.in: Test for -mfma4 option.
46274 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46275 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46276 COMMON_CPUID_INDEX_80000001.
46277 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46278 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46279 use it if FMA3 is not supported.
46280 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46282 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46283 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46285 2011-10-20 Andreas Schwab <schwab@redhat.com>
46288 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46289 it would create a cycle with a link time dependency.
46291 2011-10-19 Ulrich Drepper <drepper@gmail.com>
46293 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
46295 * string/Makefile (strop-tests): Add rawmemchr.
46296 * string/test-rawmemchr.c: New file.
46298 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
46299 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
46300 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
46301 when compiling str{,n}casecmp and when AVX is available. Hook up
46302 new optimized code in initializers.
46304 2011-10-19 Andreas Schwab <schwab@redhat.com>
46306 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
46307 __feraiseexcept instead of feraiseexcept.
46309 2011-10-18 Ulrich Drepper <drepper@gmail.com>
46311 * math/math_private.h: Define defaults for libc_fetestexcept and
46313 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
46314 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
46315 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46316 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46317 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46318 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46319 libc_fetestexcept and libc_feupdateenv.
46321 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
46322 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
46323 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
46324 * sysdeps/x86_64/fpu/math_private.h: Define special version of
46325 libc_feholdexcept_setround.
46327 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
46328 Add s_nearbyint-c and s_nearbyintf-c.
46329 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
46330 nearbyintf inlines.
46331 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
46332 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
46333 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
46334 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
46336 * math/math_private.h: Define defaults for libc_fegetround,
46337 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
46338 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
46339 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
46340 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
46341 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
46342 standard functions.
46343 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46344 Remove comments and hacks for old compiler versions.
46345 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
46346 libc_fegetround, libc_fesetround, libc_feholdexcept, and
46347 libc_feholdexceptl.
46349 2011-10-18 Andreas Schwab <schwab@redhat.com>
46351 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
46352 (__feraiseexcept_renamed): Add __NTH.
46353 (feraiseexcept): Add __NTH. Rename local variables to fix
46354 namespace violations.
46356 2011-10-17 Ulrich Drepper <drepper@gmail.com>
46358 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
46360 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
46362 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
46363 recently added interfaces.
46364 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
46366 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
46367 about macro parameter expansion.
46369 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
46370 __NO_MATH_INLINES is defined. Cleanups.
46372 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
46373 and __floorf is target has SSE4.1.
46374 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
46375 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
46376 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
46377 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
46379 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
46381 (floorf): Likewise.
46383 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
46385 2011-10-17 Andreas Schwab <schwab@redhat.com>
46387 * misc/sys/cdefs.h: Fix last change.
46389 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
46392 2011-10-16 Ulrich Drepper <drepper@gmail.com>
46394 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
46396 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
46397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46398 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46399 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46400 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46402 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46403 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46404 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46405 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
46406 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
46407 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
46408 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
46409 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
46410 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
46411 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
46412 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
46413 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
46414 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
46415 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
46416 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
46417 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
46419 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
46420 ceil, ceilf, floor, floorf.
46422 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
46423 Perform IRELATIVE relocations last.
46425 * elf/do-rel.h: Add another parameter nrelative, replacing the
46426 local variable with the same name. Change name of the function
46427 to end in Rel or Rela (uppercase).
46428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
46429 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
46430 elf_dynamic_do_##reloc function.
46432 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46434 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
46435 is sufficient, at least on modern CPUs.
46437 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
46439 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
46440 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
46442 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
46444 * math/bits/math-finite.h: Add entries for exp.
46445 * math/e_expl.c: Add __*_finite alias.
46446 * sysdeps/i386/fpu/e_exp.S: Likewise.
46447 * sysdeps/i386/fpu/e_expf.S: Likewise.
46448 * sysdeps/i386/fpu/e_expl.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46450 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
46451 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46452 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
46454 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46455 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46457 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
46458 is sufficient, at least on modern CPUs.
46460 * ctype/ctype-info.c (__ctype_init): Define.
46461 * include/ctype.h (__ctype_init): Declare.
46462 (__ctype_b_loc): The variable is always initialized.
46463 (__ctype_toupper_loc): Likewise.
46464 (__ctype_tolower_loc): Likewise.
46465 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
46466 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
46468 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
46470 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
46472 * configure.in: Also look in $cxxmachine/include for C++ system
46475 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46477 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
46478 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
46479 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
46480 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
46481 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
46482 (USE_AS_WMEMCMP): New macro.
46484 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
46485 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
46486 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
46487 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
46488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46489 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
46490 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
46491 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
46492 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
46493 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
46494 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
46495 (USE_AS_WMEMCMP): New macro.
46496 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
46497 * sysdeps/string/test-memcmp.c: Update.
46498 Fix simple_wmemcmp.
46500 * wcsmbs/wmemcmp.c: Update.
46501 (WMEMCMP): New macro.
46504 2011-10-12 Andreas Jaeger <aj@suse.de>
46507 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
46509 2011-10-15 Ulrich Drepper <drepper@gmail.com>
46511 * libio/iofwide.c (do_length): Avoid warning.
46513 * ctype/ctype.h (__isctype_f): Add missing __THROW.
46515 2011-10-14 Ulrich Drepper <drepper@gmail.com>
46517 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
46519 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
46520 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
46521 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
46522 * sysdeps/i386/i686/fpu/e_log.S: New file.
46523 * sysdeps/i386/i686/fpu/e_logf.S: New file.
46524 * sysdeps/i386/i686/fpu/e_logl.S: New file.
46526 * ctype/ctype.h: Add support for inlined isXXX functions when
46527 compiling C++ code.
46529 2011-10-14 Andreas Schwab <schwab@redhat.com>
46531 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46533 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
46535 2011-10-13 Roland McGrath <roland@hack.frob.com>
46538 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
46540 2011-10-13 Andreas Schwab <schwab@redhat.com>
46542 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
46543 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
46546 * sysdeps/x86_64/memrchr.S: Check for zero size.
46548 * string/stratcliff.c: Add memrchr tests.
46550 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46553 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
46554 rawmemchr-sse2 rawmemchr-sse2-bsf.
46555 * sysdeps/i386/i686/multiarch/memchr.S: New file.
46556 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
46557 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
46558 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
46559 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
46560 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
46561 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
46562 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
46563 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
46564 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
46565 * string/memrchr.c (MEMRCHR): New macro.
46567 2011-10-12 Ulrich Drepper <drepper@gmail.com>
46569 Add integration with gcc's -ffinite-math-only and optimize wrapper
46571 * Versions.def: Define GLIBC_2.15 version for libm.
46572 * math/Makefile (headers): Add bits/math-finite.h.
46573 * math/bits/math-finite.h: New file.
46574 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
46575 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
46576 * math/e_acoshl.c: Add __*_finite alias.
46577 * math/e_acosl.c: Likewise.
46578 * math/e_asinl.c: Likewise.
46579 * math/e_atan2l.c: Likewise.
46580 * math/e_atanhl.c: Likewise.
46581 * math/e_coshl.c: Likewise.
46582 * math/e_exp10.c: Likewise.
46583 * math/e_exp10f.c: Likewise.
46584 * math/e_exp10l.c: Likewise.
46585 * math/e_exp2l.c: Likewise.
46586 * math/e_fmodl.c: Likewise.
46587 * math/e_gammal_r.c: Likewise.
46588 * math/e_hypotl.c: Likewise.
46589 * math/e_j0l.c: Likewise.
46590 * math/e_j1l.c: Likewise.
46591 * math/e_jnl.c: Likewise.
46592 * math/e_lgammal_r.c: Likewise.
46593 * math/e_log10l.c: Likewise.
46594 * math/e_log2l.c: Likewise.
46595 * math/e_logl.c: Likewise.
46596 * math/e_powl.c: Likewise.
46597 * math/e_sinhl.c: Likewise.
46598 * math/e_sqrtl.c: Likewise.
46599 * math/e_scalb.c: Completely rewritten and optimized.
46600 * math/e_scalbf.c: Likewise.
46601 * math/e_scalbl.c: Likewise.
46602 * math/w_acos.c: Likewise.
46603 * math/w_acosf.c: Likewise.
46604 * math/w_acosl.c: Likewise.
46605 * math/w_acosh.c: Likewise.
46606 * math/w_acoshf.c: Likewise.
46607 * math/w_acoshl.c: Likewise.
46608 * math/w_asin.c: Likewise.
46609 * math/w_asinf.c: Likewise.
46610 * math/w_asinl.c: Likewise.
46611 * math/w_atan2.c: Likewise.
46612 * math/w_atan2f.c: Likewise.
46613 * math/w_atan2l.c: Likewise.
46614 * math/w_atanh.c: Likewise.
46615 * math/w_atanhf.c: Likewise.
46616 * math/w_atanhl.c: Likewise.
46617 * math/w_exp10.c: Likewise.
46618 * math/w_exp10f.c: Likewise.
46619 * math/w_exp10l.c: Likewise.
46620 * math/w_fmod.c: Likewise.
46621 * math/w_fmodf.c: Likewise.
46622 * math/w_fmodl.c: Likewise.
46623 * math/w_j0.c: Likewise.
46624 * math/w_j0f.c: Likewise.
46625 * math/w_j0l.c: Likewise.
46626 * math/w_j1.c: Likewise.
46627 * math/w_j1f.c: Likewise.
46628 * math/w_j1l.c: Likewise.
46629 * math/w_jn.c: Likewise.
46630 * math/w_jnf.c: Likewise.
46631 * math/w_log.c: Likewise.
46632 * math/w_logf.c: Likewise.
46633 * math/w_logl.c: Likewise.
46634 * math/w_log10.c: Likewise.
46635 * math/w_log10f.c: Likewise.
46636 * math/w_log10l.c: Likewise.
46637 * math/w_log2.c: Likewise.
46638 * math/w_log2f.c: Likewise.
46639 * math/w_log2l.c: Likewise.
46640 * math/w_pow.c: Likewise.
46641 * math/w_powf.c: Likewise.
46642 * math/w_powl.c: Likewise.
46643 * math/w_remainder.c: Likewise.
46644 * math/w_remainderf.c: Likewise.
46645 * math/w_remainderl.c: Likewise.
46646 * math/w_scalb.c: Likewise.
46647 * math/w_scalbf.c: Likewise.
46648 * math/w_scalbl.c: Likewise.
46649 * math/w_sqrt.c: Likewise.
46650 * math/w_sqrtf.c: Likewise.
46651 * math/w_sqrtl.c: Likewise.
46652 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
46653 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
46655 * math/math_private.h: Declare __kernel_standard_f.
46656 * math/w_cosh.c: Remove cruft and optimize a bit.
46657 * math/w_coshf.c: Likewise.
46658 * math/w_coshl.c: Likewise.
46659 * math/w_exp2.c: Likewise.
46660 * math/w_exp2f.c: Likewise.
46661 * math/w_exp2l.c: Likewise.
46662 * math/w_hypot.c: Likewise.
46663 * math/w_hypotf.c: Likewise.
46664 * math/w_hypotl.c: Likewise.
46665 * math/w_lgamma.c: Likewise.
46666 * math/w_lgamma_r.c: Likewise.
46667 * math/w_lgammaf.c: Likewise.
46668 * math/w_lgammaf_r.c: Likewise.
46669 * math/w_lgammal.c: Likewise.
46670 * math/w_lgammal_r.c: Likewise.
46671 * math/w_sinh.c: Likewise.
46672 * math/w_sinhf.c: Likewise.
46673 * math/w_sinhl.c: Likewise.
46674 * math/w_tgamma.c: Likewise.
46675 * math/w_tgammaf.c: Likewise.
46676 * math/w_tgammal.c: Likewise.
46677 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46678 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46679 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
46680 Minor optimizations. Pretty printing. Remove cruft.
46681 * sysdeps/i386/fpu/e_acosf.S: Likewise.
46682 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46683 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46684 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46685 * sysdeps/i386/fpu/e_acosl.c: Likewise.
46686 * sysdeps/i386/fpu/e_asin.S: Likewise.
46687 * sysdeps/i386/fpu/e_asinf.S: Likewise.
46688 * sysdeps/i386/fpu/e_atan2.S: Likewise.
46689 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
46690 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
46691 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46692 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46693 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46694 * sysdeps/i386/fpu/e_exp10.S: Likewise.
46695 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
46696 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
46697 * sysdeps/i386/fpu/e_exp2.S: Likewise.
46698 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
46699 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
46700 * sysdeps/i386/fpu/e_fmod.S: Likewise.
46701 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
46702 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
46703 * sysdeps/i386/fpu/e_hypot.S: Likewise.
46704 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
46705 * sysdeps/i386/fpu/e_log.S: Likewise.
46706 * sysdeps/i386/fpu/e_log10.S: Likewise.
46707 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46708 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46709 * sysdeps/i386/fpu/e_log2.S: Likewise.
46710 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46711 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46712 * sysdeps/i386/fpu/e_logf.S: Likewise.
46713 * sysdeps/i386/fpu/e_logl.S: Likewise.
46714 * sysdeps/i386/fpu/e_pow.S: Likewise.
46715 * sysdeps/i386/fpu/e_powf.S: Likewise.
46716 * sysdeps/i386/fpu/e_powl.S: Likewise.
46717 * sysdeps/i386/fpu/e_remainder.S: Likewise.
46718 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
46719 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
46720 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46721 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46722 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46723 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
46724 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
46725 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46734 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46735 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46736 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46737 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46738 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46740 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46742 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46747 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46748 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46749 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46750 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46751 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46752 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
46753 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46754 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
46755 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46756 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46757 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46758 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46759 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46760 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46761 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46762 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46763 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46764 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46765 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46766 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46767 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46768 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46769 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46771 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46772 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46773 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46774 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46775 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
46776 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46777 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46778 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46779 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46780 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46781 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46782 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46783 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46784 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46785 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46786 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46787 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46788 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46789 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46791 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46792 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46793 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46794 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
46795 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46797 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46798 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46799 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46800 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46801 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46802 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
46803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
46809 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46810 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46811 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46812 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46813 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46814 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46815 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46816 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46819 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46820 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46821 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46822 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46823 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
46824 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
46825 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
46826 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
46827 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
46828 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
46829 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
46830 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46831 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46832 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46834 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
46835 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46836 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
46837 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
46838 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
46839 (__isnanf): Likewise.
46840 (__isinf_ns): Likewise.
46841 (__isinf_nsf): Likewise.
46842 (__finite): Likewise.
46843 (__finitef): Likewise.
46844 (__ieee754_sqrt): Define as macro.
46845 (__ieee754_sqrtf): Define as macro.
46846 (__ieee754_sqrtl): Define as macro.
46847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
46849 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
46850 __FINITE_MATH_ONLY__ consistent.
46851 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
46853 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
46855 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
46858 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
46860 2011-10-09 Ulrich Drepper <drepper@gmail.com>
46862 * po/ja.po: Update from translation team.
46864 2011-10-08 Roland McGrath <roland@hack.frob.com>
46866 * locale/programs/locarchive.c (prepare_address_space): New function.
46867 (create_archive, enlarge_archive, open_archive): Use it.
46869 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
46870 inside [SHARED], where it is used.
46872 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
46874 * nss/getent.c (netgroup_keys): Remove unused variable.
46875 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46877 2011-10-08 Ulrich Drepper <drepper@gmail.com>
46879 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
46880 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
46881 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
46882 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
46883 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
46884 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
46885 * math/Makefile (libm-calls): Add s_isinf_ns.
46886 * math/divtc3.c: Use __isinf_nsl instead of isinf.
46887 * math/multc3.c: Likewise.
46888 * math/s_casin.c: Likewise.
46889 * math/s_casinf.c: Likewise.
46890 * math/s_casinl.c: Likewise.
46891 * math/s_ccos.c: Likewise.
46892 * math/s_ccosf.c: Likewise.
46893 * math/s_ccosl.c: Likewise.
46894 * math/s_ctan.c: Likewise.
46895 * math/s_ctanf.c: Likewise.
46896 * math/s_ctanh.c: Likewise.
46897 * math/s_ctanhf.c: Likewise.
46898 * math/s_ctanhl.c: Likewise.
46899 * math/s_ctanl.c: Likewise.
46900 * math/w_fmod.c: Likewise.
46901 * math/w_fmodf.c: Likewise.
46902 * math/w_fmodl.c: Likewise.
46903 * math/w_remainder.c: Likewise.
46904 * math/w_remainderf.c: Likewise.
46905 * math/w_remainderl.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
46907 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
46908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
46909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
46910 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
46911 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
46912 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
46913 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
46915 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
46917 * stdio-common/printf_fphex.c: Likewise.
46918 * stdio-common/printf_size.c: Likewise.
46920 * math/e_exp10.c: Include math_private.h using <...> not "...".
46921 * math/e_exp10f.c: Likewise.
46922 * math/e_exp10l.c: Likewise.
46923 * math/e_exp2l.c: Likewise.
46924 * math/e_j0l.c: Likewise.
46925 * math/e_j1l.c: Likewise.
46926 * math/e_jnl.c: Likewise.
46927 * math/e_lgammal_r.c: Likewise.
46928 * math/e_rem_pio2l.c: Likewise.
46929 * math/e_scalb.c: Likewise.
46930 * math/e_scalbf.c: Likewise.
46931 * math/e_scalbl.c: Likewise.
46932 * math/k_cosl.c: Likewise.
46933 * math/k_sinl.c: Likewise.
46934 * math/k_tanl.c: Likewise.
46935 * math/s_cacoshf.c: Likewise.
46936 * math/s_catan.c: Likewise.
46937 * math/s_catanf.c: Likewise.
46938 * math/s_catanh.c: Likewise.
46939 * math/s_catanhf.c: Likewise.
46940 * math/s_catanhl.c: Likewise.
46941 * math/s_catanl.c: Likewise.
46942 * math/s_ccosh.c: Likewise.
46943 * math/s_ccoshf.c: Likewise.
46944 * math/s_ccoshl.c: Likewise.
46945 * math/s_cexp.c: Likewise.
46946 * math/s_cexpf.c: Likewise.
46947 * math/s_cexpl.c: Likewise.
46948 * math/s_clog.c: Likewise.
46949 * math/s_clog10.c: Likewise.
46950 * math/s_clog10f.c: Likewise.
46951 * math/s_clog10l.c: Likewise.
46952 * math/s_clogf.c: Likewise.
46953 * math/s_clogl.c: Likewise.
46954 * math/s_csin.c: Likewise.
46955 * math/s_csinf.c: Likewise.
46956 * math/s_csinh.c: Likewise.
46957 * math/s_csinhf.c: Likewise.
46958 * math/s_csinhl.c: Likewise.
46959 * math/s_csinl.c: Likewise.
46960 * math/s_csqrt.c: Likewise.
46961 * math/s_csqrtf.c: Likewise.
46962 * math/s_csqrtl.c: Likewise.
46963 * math/s_ctan.c: Likewise.
46964 * math/s_ctanf.c: Likewise.
46965 * math/s_ctanh.c: Likewise.
46966 * math/s_ctanhf.c: Likewise.
46967 * math/s_ctanhl.c: Likewise.
46968 * math/s_ctanl.c: Likewise.
46969 * math/s_ldexp.c: Likewise.
46970 * math/s_ldexpf.c: Likewise.
46971 * math/s_ldexpl.c: Likewise.
46972 * math/s_significand.c: Likewise.
46973 * math/s_significandf.c: Likewise.
46974 * math/s_significandl.c: Likewise.
46975 * math/w_acos.c: Likewise.
46976 * math/w_acosf.c: Likewise.
46977 * math/w_acosh.c: Likewise.
46978 * math/w_acoshf.c: Likewise.
46979 * math/w_acoshl.c: Likewise.
46980 * math/w_acosl.c: Likewise.
46981 * math/w_asin.c: Likewise.
46982 * math/w_asinf.c: Likewise.
46983 * math/w_asinl.c: Likewise.
46984 * math/w_atan2.c: Likewise.
46985 * math/w_atan2f.c: Likewise.
46986 * math/w_atan2l.c: Likewise.
46987 * math/w_atanh.c: Likewise.
46988 * math/w_atanhf.c: Likewise.
46989 * math/w_atanhl.c: Likewise.
46990 * math/w_cosh.c: Likewise.
46991 * math/w_coshf.c: Likewise.
46992 * math/w_coshl.c: Likewise.
46993 * math/w_dremf.c: Likewise.
46994 * math/w_exp10.c: Likewise.
46995 * math/w_exp10f.c: Likewise.
46996 * math/w_exp10l.c: Likewise.
46997 * math/w_exp2.c: Likewise.
46998 * math/w_exp2f.c: Likewise.
46999 * math/w_fmod.c: Likewise.
47000 * math/w_fmodf.c: Likewise.
47001 * math/w_fmodl.c: Likewise.
47002 * math/w_hypot.c: Likewise.
47003 * math/w_hypotf.c: Likewise.
47004 * math/w_hypotl.c: Likewise.
47005 * math/w_j0.c: Likewise.
47006 * math/w_j0f.c: Likewise.
47007 * math/w_j0l.c: Likewise.
47008 * math/w_j1.c: Likewise.
47009 * math/w_j1f.c: Likewise.
47010 * math/w_j1l.c: Likewise.
47011 * math/w_jn.c: Likewise.
47012 * math/w_jnf.c: Likewise.
47013 * math/w_jnl.c: Likewise.
47014 * math/w_lgamma.c: Likewise.
47015 * math/w_lgamma_r.c: Likewise.
47016 * math/w_lgammaf.c: Likewise.
47017 * math/w_lgammaf_r.c: Likewise.
47018 * math/w_lgammal.c: Likewise.
47019 * math/w_lgammal_r.c: Likewise.
47020 * math/w_log.c: Likewise.
47021 * math/w_log10.c: Likewise.
47022 * math/w_log10f.c: Likewise.
47023 * math/w_log10l.c: Likewise.
47024 * math/w_log2.c: Likewise.
47025 * math/w_log2f.c: Likewise.
47026 * math/w_log2l.c: Likewise.
47027 * math/w_logf.c: Likewise.
47028 * math/w_logl.c: Likewise.
47029 * math/w_pow.c: Likewise.
47030 * math/w_powf.c: Likewise.
47031 * math/w_powl.c: Likewise.
47032 * math/w_remainder.c: Likewise.
47033 * math/w_remainderf.c: Likewise.
47034 * math/w_remainderl.c: Likewise.
47035 * math/w_scalb.c: Likewise.
47036 * math/w_scalbf.c: Likewise.
47037 * math/w_scalbl.c: Likewise.
47038 * math/w_sinh.c: Likewise.
47039 * math/w_sinhf.c: Likewise.
47040 * math/w_sinhl.c: Likewise.
47041 * math/w_sqrt.c: Likewise.
47042 * math/w_sqrtf.c: Likewise.
47043 * math/w_sqrtl.c: Likewise.
47044 * math/w_tgamma.c: Likewise.
47045 * math/w_tgammaf.c: Likewise.
47046 * math/w_tgammal.c: Likewise.
47048 * po/ja.po: Update from translation team.
47050 2011-09-29 Andreas Jaeger <aj@suse.de>
47053 * sunrpc/netname.c (netname2host): Fix logic.
47057 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47059 * math/w_remainder.c (__remainder): Likewise.
47060 * math/w_remainderf.c (__remainderf): Likewise.
47061 * math/libm-test.inc (remainder_test): Add test cases.
47063 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47065 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47068 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47070 * string/test-memcmp.c: Avoid unncessary #defines.
47071 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47073 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47075 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47076 Use new sse2 version for core i3 - i7 as it's faster
47077 than sse42 version.
47078 (bit_Prefer_PMINUB_for_stringop): New.
47079 * sysdeps/x86_64/rawmemchr.S: Update.
47080 Replace with faster SSE2 version.
47081 * sysdeps/x86_64/memrchr.S: New file.
47082 * sysdeps/x86_64/memchr.S: Update.
47083 Replace with faster SSE2 version.
47085 2011-09-12 Marek Polacek <mpolacek@redhat.com>
47087 * elf/dl-load.c (lose): Add cast to avoid warning.
47089 2011-10-07 Ulrich Drepper <drepper@gmail.com>
47091 * po/ca.po: Update from translation team.
47093 * inet/getnetgrent_r.c: Hook up nscd.
47094 * nscd/Makefile (routines): Add nscd_netgroup.
47095 (nscd-modules): Add netgroupcache.
47096 (CFLAGS-netgroupcache.c): Define.
47097 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47098 (cache_search): Add const to second parameter.
47099 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47101 (dbs): Add netgrdb entry.
47102 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47103 (verify_persistent_db): Handle netgrdb.
47104 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47105 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47107 (netgroup_response_header): Define.
47108 (innetgroup_response_header): Define.
47109 (datahead): Add netgroup_response_header and innetgroup_response_header
47111 * nscd/nscd.conf: Add entries for netgroup cache.
47112 * nscd/nscd.h (dbtype): Add netgrdb.
47113 (_PATH_NSCD_NETGROUP_DB): Define.
47114 (netgroup_iov_disabled): Declare.
47115 (xmalloc, xcalloc, xrealloc): Move declarations here.
47116 (cache_search): Adjust prototype.
47117 Add netgroup-related prototypes.
47118 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47119 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47120 (__nscd_innetgr): Declare.
47121 * nscd/selinux.c (perms): Use access_vector_t as element type and
47122 add netgroup-related initializers.
47123 * nscd/netgroupcache.c: New file.
47124 * nscd/nscd_netgroup.c: New file.
47125 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47126 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47127 For four parameters use innetgr.
47128 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47129 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47130 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47131 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47133 * nscd/connections.c (register_traced_file): Don't register file
47134 for disabled databases.
47136 2011-10-06 Ulrich Drepper <drepper@gmail.com>
47138 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47140 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47141 from tree and freeing node.
47143 2011-09-25 Jiri Olsa <jolsa@redhat.com>
47145 * nss/nsswitch.c (__nss_database_lookup): Handle
47146 nss_parse_service_list out of memory case.
47148 2011-09-15 Jiri Olsa <jolsa@redhat.com>
47150 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47151 out of memory case.
47153 2011-10-04 Andreas Schwab <schwab@redhat.com>
47155 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47156 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47158 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47159 elf_machine_rela, elf_machine_lazy_rel.
47160 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47161 (ELF_DYNAMIC_DO_REL): Likewise.
47162 (ELF_DYNAMIC_DO_RELA): Likewise.
47163 (ELF_DYNAMIC_RELOCATE): Likewise.
47164 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47165 to ELF_DYNAMIC_DO_REL.
47166 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47167 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47168 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47170 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47171 skip_ifunc, don't call ifunc function if non-zero.
47172 (elf_machine_rela): Likewise.
47173 (elf_machine_lazy_rel): Likewise.
47174 (elf_machine_lazy_rela): Likewise.
47175 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47176 (elf_machine_lazy_rel): Likewise.
47177 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47179 (elf_machine_lazy_rel): Likewise.
47180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47182 (elf_machine_lazy_rel): Likewise.
47183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47184 (elf_machine_lazy_rel): Likewise.
47185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47186 (elf_machine_lazy_rel): Likewise.
47187 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47188 (elf_machine_lazy_rel): Likewise.
47189 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47190 (elf_machine_lazy_rel): Likewise.
47191 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47192 (elf_machine_lazy_rel): Likewise.
47193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47194 (elf_machine_lazy_rel): Likewise.
47196 2011-09-28 Ulrich Drepper <drepper@gmail.com>
47198 * nss/nss_files/files-init.c (_nss_files_init): Use static
47199 initialization for all the *_traced_file variables.
47201 2011-09-28 Andreas Schwab <schwab@redhat.com>
47203 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47205 2011-09-27 Roland McGrath <roland@hack.frob.com>
47208 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47210 2011-09-27 Andreas Schwab <schwab@redhat.com>
47212 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47213 Reread the line before reparsing it.
47215 2011-09-26 Andreas Schwab <schwab@redhat.com>
47217 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47219 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47220 Maxim Kuvyrkov <maxim@codesourcery.com>
47221 Joseph Myers <joseph@codesourcery.com>
47223 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47224 if needed for __stack_chk_guard.
47226 2011-09-19 Roland McGrath <roland@hack.frob.com>
47228 * sysdeps/posix/spawni.c (script_execute): Always define it.
47229 It will be optimized away if unused.
47230 (maybe_script_execute): New function.
47231 (__spawni): Call it.
47233 * Makerules: Don't include tls.make.
47234 (config-tls): Always set to thread.
47235 * tls.make.c: File removed.
47237 2011-09-19 Mike Frysinger <vapier@gentoo.org>
47239 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47240 * config.make.in (CPPFLAGS-config): New substituted variable.
47242 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47247 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47248 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47250 2011-09-15 Roland McGrath <roland@hack.frob.com>
47252 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47253 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47255 (CALL_FAIL): Likewise.
47256 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47257 (CALL_FAIL): Macro removed.
47258 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47260 2011-09-15 Ulrich Drepper <drepper@gmail.com>
47262 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47263 for __FINITE_MATH_ONLY__ == 1.
47265 2011-09-15 Andreas Schwab <schwab@redhat.com>
47267 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47268 __ieee754_sqrt instead of sqrt.
47269 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47270 __ieee754_sqrtf instead of sqrtf.
47271 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47272 __floorf instead of floorf.
47273 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47274 __floorf, __truncf instead of floorf, truncf.
47276 2011-09-14 Ulrich Drepper <drepper@gmail.com>
47278 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47280 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47281 __extern_always_inline.
47282 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47285 2011-09-14 Andreas Schwab <schwab@redhat.com>
47287 * elf/rtld.c (dl_main): Also relocate in dependency order when
47288 doing symbol dependency testing.
47290 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47292 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47293 Always define `refsym'.
47295 2011-09-13 Andreas Schwab <schwab@redhat.com>
47297 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
47298 (__FD_ELT): Renamed from __FDELT.
47299 * misc/bits/select2.h (__FD_ELT): Likewise.
47300 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
47301 __FD_MASK instead of __FDELT, __FDMASK.
47302 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47304 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
47307 * elf/Makefile (gen-ldd): Fix pattern.
47309 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
47310 (init_tls): Likewise.
47312 2011-09-12 Ulrich Drepper <drepper@gmail.com>
47314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
47316 2011-09-12 Andreas Schwab <schwab@redhat.com>
47318 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
47319 `struct cmsghdr *' instead of `void *'.
47320 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
47323 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
47325 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
47327 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
47328 ldd_rewrite_script.
47330 2011-09-11 Ulrich Drepper <drepper@gmail.com>
47332 * configure.in: Remove --with-tls option.
47333 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
47334 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
47335 out in case it is missing.
47336 * sysdeps/ia64/elf/configure.in: Likewise.
47337 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
47338 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
47339 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
47340 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
47341 * sysdeps/sh/elf/configure.in: Likewise.
47342 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
47343 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47344 * sysdeps/x86_64/elf/configure.in: Likewise.
47345 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
47346 * sysdeps/mach/hurd/tls.h: Likewise.
47349 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
47352 * configure.in: Fix use of AC_INIT.
47354 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
47356 2011-09-10 Ulrich Drepper <drepper@gmail.com>
47358 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
47360 * malloc/hooks.c: Likewise.
47363 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
47364 variables statically.
47365 (narenas): Initialize.
47366 (list_lock): Initialize.
47367 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
47368 initializtion of main_arena and list_lock. Small cleanups.
47369 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
47370 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
47371 Add initializers to main_arena and mp_.
47372 (malloc_state): Remove pagesize member. Change all users to use
47375 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
47376 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
47377 is always initialized.
47379 * malloc/malloc.c: Removed unused configurations and dead code.
47380 * malloc/arena.c: Likewise.
47381 * malloc/hooks.c: Likewise.
47382 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
47384 * include/tls.h: Removed. USE___THREAD must always be defined.
47385 * bits/libc-tsd.h: Don't handle !USE___THREAD.
47386 * elf/dl-libc.c: Likewise.
47387 * elf/dl-tsd.c: Likewise.
47388 * include/errno.h: Likewise.
47389 * include/netdb.h: Likewise.
47390 * include/resolv.h: Likewise.
47391 * inet/herrno-loc.c: Likewise.
47392 * inet/herrno.c: Likewise.
47393 * malloc/arena.c: Likewise.
47394 * malloc/hooks.c: Likewise.
47395 * malloc/malloc.c: Likewise.
47396 * resolv/res-state.c: Likewise.
47397 * resolv/res_libc.c: Likewise.
47398 * sysdeps/i386/dl-machine.h: Likewise.
47399 * sysdeps/ia64/dl-machine.h: Likewise.
47400 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47401 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47402 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47403 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47404 * sysdeps/sh/dl-machine.h: Likewise.
47405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47406 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47407 * sysdeps/unix/i386/sysdep.S: Likewise.
47408 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47409 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
47410 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
47411 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
47413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47414 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
47415 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47417 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47418 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47419 * sysdeps/x86_64/dl-machine.h: Likewise.
47420 * tls.make.c: Likewise.
47422 * configure.in: Remove --with-__thread option. Make tests for
47423 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
47424 tls_model attribute fail if no support is available. Remove
47426 * Makeconfig: Adjust for dropped configure option. All features are
47428 * Makerules: Likewise.
47429 * Versions.def: Likewise.
47430 * argp/argp-fmtstream.c: Likewise.
47431 * argp/argp-fmtstream.h: Likewise.
47432 * argp/argp-help.c: Likewise.
47433 * assert/assert.c: Likewise.
47434 * config.h.in: Likewise.
47435 * config.make.in: Likewise.
47436 * configure: Likewise.
47437 * configure.in: Likewise.
47438 * csu/Versions: Likewise.
47439 * csu/init.c: Likewise.
47440 * elf/tst-audit2.c: Likewise.
47441 * elf/tst-tls10.c: Likewise.
47442 * elf/tst-tls10.h: Likewise.
47443 * elf/tst-tls11.c: Likewise.
47444 * elf/tst-tls12.c: Likewise.
47445 * elf/tst-tls14.c: Likewise.
47446 * elf/tst-tlsmod11.c: Likewise.
47447 * elf/tst-tlsmod12.c: Likewise.
47448 * elf/tst-tlsmod13.c: Likewise.
47449 * elf/tst-tlsmod13a.c: Likewise.
47450 * elf/tst-tlsmod14a.c: Likewise.
47451 * elf/tst-tlsmod15b.c: Likewise.
47452 * elf/tst-tlsmod16a.c: Likewise.
47453 * elf/tst-tlsmod16b.c: Likewise.
47454 * elf/tst-tlsmod7.c: Likewise.
47455 * elf/tst-tlsmod8.c: Likewise.
47456 * elf/tst-tlsmod9.c: Likewise.
47457 * gmon/gmon.c: Likewise.
47458 * grp/fgetgrent_r.c: Likewise.
47459 * grp/putgrent.c: Likewise.
47460 * hurd/fopenport.c: Likewise.
47461 * include/libc-symbols.h: Likewise.
47462 * include/tls.h: Likewise.
47463 * intl/gettextP.h: Likewise.
47464 * intl/loadinfo.h: Likewise.
47465 * locale/global-locale.c: Likewise.
47466 * locale/localeinfo.h: Likewise.
47467 * mach/devstream.c: Likewise.
47468 * malloc/arena.c: Likewise.
47469 * malloc/set-freeres.c: Likewise.
47470 * misc/err.c: Likewise.
47471 * misc/getttyent.c: Likewise.
47472 * misc/mntent_r.c: Likewise.
47473 * posix/getopt.c: Likewise.
47474 * posix/wordexp.c: Likewise.
47475 * pwd/fgetpwent_r.c: Likewise.
47476 * resolv/Versions: Likewise.
47477 * resolv/res_hconf.c: Likewise.
47478 * shadow/fgetspent_r.c: Likewise.
47479 * shadow/putspent.c: Likewise.
47480 * stdio-common/printf_fphex.c: Likewise.
47481 * stdio-common/tmpfile.c: Likewise.
47482 * stdlib/abort.c: Likewise.
47483 * stdlib/fmtmsg.c: Likewise.
47484 * sunrpc/auth_unix.c: Likewise.
47485 * sunrpc/clnt_perr.c: Likewise.
47486 * sunrpc/clnt_tcp.c: Likewise.
47487 * sunrpc/clnt_udp.c: Likewise.
47488 * sunrpc/clnt_unix.c: Likewise.
47489 * sunrpc/openchild.c: Likewise.
47490 * sunrpc/svc_simple.c: Likewise.
47491 * sunrpc/svc_tcp.c: Likewise.
47492 * sunrpc/svc_udp.c: Likewise.
47493 * sunrpc/svc_unix.c: Likewise.
47494 * sunrpc/xdr.c: Likewise.
47495 * sunrpc/xdr_array.c: Likewise.
47496 * sunrpc/xdr_rec.c: Likewise.
47497 * sunrpc/xdr_ref.c: Likewise.
47498 * sunrpc/xdr_stdio.c: Likewise.
47500 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47502 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47504 2011-07-03 Andreas Jaeger <aj@suse.de>
47506 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
47507 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
47508 regenerate with gen-libm-tests.pl.
47510 2010-05-12 Petr Baudis <pasky@suse.cz>
47513 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
47514 around j0() zero points by switching to j1().
47515 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47516 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47518 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47520 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47522 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
47524 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
47526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47527 Patch in part by Pavel Roskin <proski@gnu.org>.
47530 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
47532 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
47533 Free memory block if necessary.
47536 * libio/genops.c (INTDEF): For string streams the _lock pointer can
47537 be NULL. Don't lock in this case.
47539 2011-09-09 Roland McGrath <roland@hack.frob.com>
47541 * elf/elf.h (ELFOSABI_GNU): New macro.
47542 (ELFOSABI_LINUX): Define to that.
47544 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
47546 * string/strncat.c (strncat): Undef the symbol in case it has been
47547 defined in bits/string.h.
47549 2011-09-09 Ulrich Drepper <drepper@gmail.com>
47551 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
47553 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
47556 2011-08-17 Andreas Jaeger <aj@suse.de>
47558 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
47560 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
47561 Ian Lance Taylor <iant@google.com>
47563 * math/libm-test.inc (lround_test): New testcase.
47564 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
47566 2011-09-08 Ulrich Drepper <drepper@gmail.com>
47568 * Makefile: Remove support for automatic cvs check-ins.
47569 * Makerules: Likewise.
47570 * config.make.in: Likewise.
47571 * configure.in: Likewise.
47572 * intl/Makefile: Likewise.
47573 * locale/Makefile: Likewise.
47574 * po/Makefile: Likewise.
47575 * posix/Makefile: Likewise.
47576 * sysdeps/gnu/Makefile: Likewise.
47577 * sysdeps/mach/hurd/Makefile: Likewise.
47578 * sysdeps/sparc/sparc32/Makefile: Likewise.
47581 * posix/Makefile (bug-regex32-ENV): Define.
47582 Patch by John Stanley <jpsinthemix@verizon.net>.
47584 * misc/Makefile (headers): Add bits/select2.h.
47585 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
47586 * misc/bits/select2.h: New file.
47587 * include/bits/select2.h: New file.
47588 * debug/Makefile (routines): Add fdelt_chk.
47589 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
47590 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
47592 * debug/fdelt_chk.c: New file.
47594 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
47595 * wcsmbs/test-wmemcmp.c: Likewise.
47596 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
47597 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
47599 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47601 * string/Makefile (strop-tests): Add memcmp.
47602 * string/test-wmemcmp.c: New file.
47603 * string/test-memcmp.c: Add wmemcmp support.
47605 2011-09-08 Roland McGrath <roland@hack.frob.com>
47608 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
47611 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
47612 garbage value in a __mach_port_mod_refs call in the cases of the
47613 task-self and thread-self ports.
47615 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
47617 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
47619 2011-09-08 Andreas Schwab <schwab@redhat.com>
47621 * elf/dl-load.c (lose): Check for non-null L.
47623 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47625 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
47627 * elf/dl-libc.c (dlerror_run): Pass back error code from
47631 * elf/dl-load.c (lose): Free l_origin if it is valid.
47633 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
47635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
47636 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47637 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
47638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47639 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
47640 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
47642 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47644 * sysdeps/powerpc/fpu/e_hypot.c: New file.
47645 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
47646 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
47647 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
47648 * sysdeps/powerpc/fpu/k_cosf.c: New file.
47649 * sysdeps/powerpc/fpu/k_sinf.c: New file.
47650 * sysdeps/powerpc/fpu/s_cosf.c: New file.
47651 * sysdeps/powerpc/fpu/s_sinf.c: New file.
47652 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
47653 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
47655 2011-08-15 Alan Modra <amodra@gmail.com>
47658 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
47659 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
47660 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
47661 ppc_mcount to static-only-routines.
47662 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
47664 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
47665 __mcount_internal with usual JUMPTARGET. Remove useless nop.
47667 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
47669 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
47670 for finite and infinity parameters.
47672 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47674 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
47675 and add nop instructions for throughput optimization.
47676 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47678 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
47680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
47681 aligned copy for power7 with vector-scalar instructions.
47682 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47684 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
47686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
47689 2011-09-07 Andreas Schwab <schwab@redhat.com>
47692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
47695 2011-09-07 Ulrich Drepper <drepper@gmail.com>
47697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47698 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
47699 syscall wrapper around clock_gettime in __vdso_clock_gettime.
47700 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
47703 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47705 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
47706 Forgot to demangle the pointer.
47708 * sysdeps/i386/sysdep.h: Define atom_text_section.
47709 * sysdeps/x86_64/sysdep.h: Likewise.
47710 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
47711 section with atom_text_section.
47712 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
47713 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
47714 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
47715 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
47716 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
47718 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
47719 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
47720 already be defined. Change to take two parameters and don't assign
47721 result to variable. Adjust all users.
47722 Define INTERNAL_GETTIME if not already defined.
47723 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
47725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
47726 HAVE_CLOCK_GETTIME_VSYSCALL.
47727 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
47729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
47730 gettimeofday vsyscall, just use time.
47732 2011-09-06 Andreas Schwab <schwab@redhat.com>
47734 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
47737 2011-09-06 Ulrich Drepper <drepper@gmail.com>
47739 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
47741 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
47743 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
47744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
47745 syscall if possible.
47747 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47749 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
47750 e_ident. Don't pass to find_mapsXX.
47751 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
47753 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47756 strchr-sse2-no-bsf strrchr-sse2-no-bsf
47757 * sysdeps/x86_64/multiarch/strchr.S: Update.
47758 Check bit_slow_BSF bit.
47759 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47760 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
47761 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
47763 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47766 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
47768 (tryshell): Define.
47769 (__spawni): Change last parameter to be flag. Test
47770 SPAWN_XFLAGS_USE_PATH flag to use path or not.
47771 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
47772 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
47773 * posix/spawni.c: Likewise.
47774 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
47775 * posix/spawnp.c: Likewise. Change normal version to use
47776 SPAWN_XFLAGS_USE_PATH.
47777 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
47778 SPAWN_XFLAGS_TRY_SHELL.
47781 * posix/glob.h: Remove gcc 1.x support.
47784 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
47786 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
47788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47789 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
47791 * sysdeps/i386/i686/multiarch/strchr.S: New file.
47792 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
47793 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
47794 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
47795 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
47796 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
47798 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47800 * sysdeps/x86_64/wcscmp.S: New file.
47802 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
47803 wcscmp-c wcscmp-sse2
47804 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
47805 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
47806 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
47807 * wcsmbs/wcscmp.c: Allow renaming.
47809 2011-09-05 David S. Miller <davem@davemloft.net>
47811 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
47812 stack slot, rather than the struct return pointer slot.
47813 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
47814 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
47815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
47816 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
47818 2011-09-05 Ulrich Drepper <drepper@gmail.com>
47820 * po/ja.po: Update from translation team.
47823 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
47824 kernel in 64-bit binaries.
47826 2011-09-01 David S. Miller <davem@davemloft.net>
47828 * elf/elf.h (HWCAP_SPARC_*): Move to..
47829 * sysdeps/sparc/sysdep.h: this new file and add new values.
47830 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
47831 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
47832 _DL_HWCAP_COUNT to 24.
47833 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47835 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
47836 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
47837 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
47838 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
47839 instead of magic constants.
47840 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47842 2011-08-31 David S. Miller <davem@davemloft.net>
47844 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
47845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
47846 Reimplement to do errno handling inline.
47847 (SYSCALL_ERROR_HANDLER): New macro.
47848 (__SYSCALL_STRING): Do not do errno handling in asm.
47849 (__CLONE_SYSCALL_STRING): Delete.
47850 (__INTERNAL_SYSCALL_STRING): Delete.
47851 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
47852 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
47853 (PSEUDO): Reimplement to do errno handling inline.
47854 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
47855 (SYSCALL_ERROR_HANDLER): New macro.
47856 (__SYSCALL_STRING): Do not do errno handling in asm.
47857 (__CLONE_SYSCALL_STRING): Delete.
47858 (__INTERNAL_SYSCALL_STRING): Delete.
47859 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
47860 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
47862 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
47863 (inline_syscall*): Add 'err' argument.
47864 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
47865 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
47866 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
47867 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
47869 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
47870 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47872 2011-08-30 Andreas Schwab <schwab@redhat.com>
47874 * elf/rtld.c (dl_main): Relocate objects in dependency order.
47876 2011-08-29 Jiri Olsa <jolsa@redhat.com>
47878 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
47881 2011-08-24 David S. Miller <davem@davemloft.net>
47883 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
47885 2011-08-24 Andreas Schwab <schwab@redhat.com>
47887 * elf/Makefile: Add rules to build and run unload8 test.
47888 * elf/unload8.c: New file.
47889 * elf/unload8mod1.c: New file.
47890 * elf/unload8mod1x.c: New file.
47891 * elf/unload8mod2.c: New file.
47892 * elf/unload8mod3.c: New file.
47894 * elf/dl-close.c (_dl_close_worker): Reset private search list if
47897 2011-08-23 David S. Miller <davem@davemloft.net>
47899 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
47900 subtract stack bias.
47901 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
47902 %sp not %fp in calculations.
47903 (_JMPBUF_UNWINDS_ADJ): Likewise.
47905 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
47906 (aio_suspend): Call it to force an exception region around the
47907 AIO_MISC_WAIT() invocation.
47909 2011-08-23 Andreas Schwab <schwab@redhat.com>
47911 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
47914 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
47916 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
47918 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
47919 and <dl-machine.h>.
47920 (Elf64_FuncDesc): Remove.
47922 2011-08-22 David S. Miller <davem@davemloft.net>
47924 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
47925 sigaltstack check, add missing cfi directives.
47926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
47927 missing cfi directives, and sigaltstack handling.
47929 2011-08-16 Andreas Schwab <schwab@redhat.com>
47932 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
47933 object is seen twice.
47934 * elf/dl-fini.c (_dl_sort_fini): Likewise.
47936 * elf/Makefile (distribute): Add tst-initorder2.c.
47937 (tests): Add tst-initorder2.
47938 (modules-names): Add tst-initorder2a tst-initorder2b
47939 tst-initorder2c tst-initorder2d. Add rules to build them.
47940 ($(objpfx)tst-initorder2.out): New rule.
47941 * elf/tst-initorder2.c: New file.
47942 * elf/tst-initorder2.exp: New file.
47944 2011-08-22 Andreas Schwab <schwab@redhat.com>
47946 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
47948 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
47949 dependencies back to end of function.
47951 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47952 $(elfobjdir)/ld.so.
47954 2011-08-21 Ulrich Drepper <drepper@gmail.com>
47956 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
47957 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
47958 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
47959 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
47960 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
47961 of __vdso_gettimeofday.
47962 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
47963 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
47965 (_libc_vdso_platform_setup): Remove initialization of
47966 __vdso_gettimeofday and __vdso_time.
47968 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47970 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
47971 and fgetc_unlocked.
47972 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
47975 * elf/dl-open.c (add_to_global): Report additions to the global scope
47976 for LD_DEBUG=scopes.
47977 (dl_open_worker): Also print scope of newly loaded dependencies.
47978 (_dl_show_scope): Indicate if there is no scope.
47981 * stdio-common/Makefile (tests): Add bug24.
47982 * stdio-common/bug24.c: New file.
47984 2011-08-19 Andreas Jaeger <aj@suse.de>
47987 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
47988 non-existant file when using close-on-exec mode.
47990 2011-08-20 Ulrich Drepper <drepper@gmail.com>
47992 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
47993 the very first instruction.
47995 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
47996 the CFI state in the end.
47997 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
47998 inclusion of dl-trampoline.h.
47999 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48001 2011-08-19 Andreas Schwab <schwab@redhat.com>
48003 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48004 expectations for long double.
48006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48007 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48009 2011-08-14 David S. Miller <davem@davemloft.net>
48011 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48012 artificual limit depends upon the system page size.
48014 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48016 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48017 * resolv/Makefile: Define CFLAGS-libresolv.
48019 2011-08-17 Andreas Schwab <schwab@redhat.com>
48021 * nss/makedb.c (compute_tables): Make variables used in nested
48024 2011-08-17 Ulrich Drepper <drepper@gmail.com>
48026 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48027 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48028 if buffer was too small.
48030 * elf/pldd.c (main): Attach to all threads in the process.
48031 Rewrite /proc handling to use *at functions.
48033 2011-08-16 Ulrich Drepper <drepper@gmail.com>
48035 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48036 specifies first scope to show.
48037 (dl_open_worker): Update callers. Move printing scope of new
48038 object to before the relocation.
48039 * elf/rtld.c (dl_main): Update _dl_show_scope call.
48040 * sysdeps/generic/ldsodefs.h: Update declaration.
48042 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48043 string for the scope number.
48045 2011-08-14 Ulrich Drepper <drepper@gmail.com>
48047 * nscd/servicescache.c (cache_addserv): Make sure written is always
48050 2011-08-14 Roland McGrath <roland@hack.frob.com>
48052 * sysdeps/i386/i486/bits/atomic.h
48053 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48054 statement expression, so as to suppress "set but not used" warning.
48055 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48057 * string/strncat.c (STRNCAT): Use prototype definition.
48059 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48060 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48062 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48063 (localedef-modules): Add localedef.
48064 (locale-modules): Add locale.
48066 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48067 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48068 to avoid a warning.
48070 2011-08-14 David S. Miller <davem@davemloft.net>
48072 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48073 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48075 2011-08-13 Ulrich Drepper <drepper@gmail.com>
48077 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
48078 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48079 * elf/rtld.c (dl_main): Set l_name of vDSO.
48080 Call _dl_show_scope when DL_DEBUG_SCOPES.
48081 (process_dl_debug): Recognize scopes flag and also set it for all.
48082 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48083 Declare _dl_show_scope.
48085 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48086 (do_dlopen): Pass caller_dlopen to dl_open.
48087 (__libc_dlopen_mode): Initialize caller_dlopen.
48089 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48090 of libc. Make tolower call locale-independent. Optimize a bit by
48091 using isdigit instead of isalnum.
48092 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48094 2011-08-12 Ulrich Drepper <drepper@gmail.com>
48096 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48097 was a dependency or dynamically loaded.
48099 2011-08-11 Ulrich Drepper <drepper@gmail.com>
48101 * intl/l10nflist.c: Allow architecture-specific pop function.
48102 * sysdeps/x86_64/l10nflist.c: New file.
48104 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48107 2011-08-10 Andreas Schwab <schwab@redhat.com>
48109 * include/dirent.h: Add libc_hidden_proto for scandirat and
48110 scandirat64. Don't declare __scandirat64.
48111 * dirent/scandirat.c: Add libc_hidden_def.
48112 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48113 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48115 2011-08-10 David S. Miller <davem@davemloft.net>
48117 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48120 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48121 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48123 2011-08-09 Ulrich Drepper <drepper@gmail.com>
48125 * Versions.def [libc]: Add GLIBC_2.15.
48126 * dirent/Makefile (routines): Add scandirat and scandirat64.
48127 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48129 * dirent/dirent.h: Declare scandirat and scandirat64.
48130 * dirent/scandirat.c: New file.
48131 * dirent/scandirat64.c: New file.
48132 * sysdeps/wordsize-64/scandirat.c: New file.
48133 * sysdeps/wordsize-64/scandirat64.c: New file.
48134 * dirent/opendir.c: Define opendirat.
48135 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48137 * dirent/scandir64.c: Adjust for scandir.c change.
48138 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48139 __scandirat64, and __scandir_cancel_handler.
48140 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48141 additional parameter and use openat instead of open (outside of ld.so).
48142 Add new __opendir as wrapper around __opendirat.
48143 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48144 here without requiring old scandirat implementation.
48146 2011-08-08 Ulrich Drepper <drepper@gmail.com>
48148 * dirent/scandir.c (cancel_handler): Renamed to
48149 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48150 defined. Adjust users.
48151 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48152 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48154 2011-08-04 Ulrich Drepper <drepper@gmail.com>
48156 * string/test-string.h (IMPL): Use __STRING to expand name and then
48159 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48162 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48164 * string/Makefile: Update.
48165 (strop-tests): Append strncat.
48166 * string/test-wcscmp.c: New file.
48167 New comprehensive test for wcscmp.
48168 * string/test-strcmp.c: Update.
48169 (WIDE): New define.
48171 2011-07-22 Andreas Schwab <schwab@redhat.com>
48173 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48176 2011-07-26 Andreas Schwab <schwab@redhat.com>
48178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48179 encoding to ACE if AI_IDN.
48181 2011-08-01 Jakub Jelinek <jakub@redhat.com>
48183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48184 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48186 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48188 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48189 Fix overflow bug in strncat.
48190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48192 * string/test-strncat.c: Update.
48193 Add new tests for checking overflow bugs.
48195 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48198 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48199 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48200 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48201 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48202 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48203 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48204 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48205 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48208 (USE_AS_STRCAT): Define.
48209 Add strcat and strncat support.
48210 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48212 2011-07-25 Andreas Schwab <schwab@redhat.com>
48214 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48215 __n bigger than INT_MAX+1.
48216 (__strncmp_g): Likewise.
48218 2011-07-23 Ulrich Drepper <drepper@gmail.com>
48220 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48221 * libio/stido.h: Likewise.
48223 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48225 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48228 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48229 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48232 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48235 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48240 (_dl_x86_64_save_sse): Likewise.
48242 2011-07-22 Ulrich Drepper <drepper@gmail.com>
48244 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48246 (_dl_x86_64_save_sse): Likewise.
48248 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48250 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48252 2011-07-21 Andreas Schwab <schwab@redhat.com>
48254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48256 (_dl_x86_64_save_sse): Use correct AVX check.
48258 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48260 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48261 bug in strncpy/strncat.
48262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48264 2011-07-21 Ulrich Drepper <drepper@gmail.com>
48266 * string/tester.c (test_strcat): Add tests for different alignments
48267 of source and destination.
48268 (test_strncat): Likewise.
48270 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48273 * posix/glob.c (glob): Check passed in values before using them in
48274 expressions to avoid some overflows.
48275 (glob_in_dir): Likewise.
48278 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48279 check for AVX enablement so that we don't crash with old kernels and
48281 * elf/tst-audit4.c: Add same checks here.
48282 * elf/tst-audit6.c: Likewise.
48284 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
48286 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48288 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48290 2011-07-20 Ulrich Drepper <drepper@gmail.com>
48292 * po/cs.po: Update from translation team.
48293 * po/bg.po: Likewise.
48295 2011-07-12 Marek Polacek <mpolacek@redhat.com>
48297 * misc/sys/cdefs.h: Add support for const attribute.
48298 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
48299 to gnu_dev_{major,minor,makedev} functions.
48301 2011-07-20 Marek Polacek <mpolacek@redhat.com>
48303 * intl/dcigettext.c (get_output_charset): Add missing bracket.
48305 2011-07-20 Andreas Schwab <schwab@redhat.com>
48307 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
48310 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48312 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
48313 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
48314 register in order to avoid conflicts with the soft frame pointer
48315 being held in r11 when necessary.
48316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
48317 (INTERNAL_VSYSCALL_NCS): Likewise.
48319 2011-07-14 Marek Polacek <mpolacek@redhat.com>
48321 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
48322 * elf/dl-fini.c (_dl_fini): Adjust caller.
48323 * elf/dl-close.c (_dl_close_worker): Likewise.
48324 * sysdeps/generic/ldsodefs.h: Adjust declaration.
48326 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48328 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
48329 "aux_cache->nlibs < 0".
48331 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
48332 in the reload-count case.
48334 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48337 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
48338 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
48339 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
48340 * sysdeps/x86_64/multiarch/strcat.S: New file.
48341 * sysdeps/x86_64/multiarch/strncat.S: New file.
48342 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
48343 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
48344 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
48345 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
48346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
48347 (USE_AS_STRCAT): Define.
48348 Add strcat and strncat support.
48349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48350 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
48351 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
48352 * string/strncat.c: Update.
48353 (USE_AS_STRNCAT): Define.
48354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48355 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
48357 * sysdeps/x86_64/multiarch/init-arch.h
48358 (bit_Prefer_PMINUB_for_stringop): New.
48359 (index_Prefer_PMINUB_for_stringop): Likewise.
48360 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
48361 bit_Prefer_PMINUB_for_stringop.
48363 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48365 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
48367 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
48368 of casting of buffer.
48369 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
48370 buffer32 and buffer64.
48371 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
48372 writes instead of casting of buffer.
48373 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
48375 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
48378 2011-07-19 Andreas Schwab <schwab@redhat.com>
48380 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
48382 2011-07-19 Ulrich Drepper <drepper@gmail.com>
48384 * nscd/nscd.c (termination_handler): Don't do anything for a database
48385 if it has not yet been initialized.
48387 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48389 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48391 2011-07-15 Marek Polacek <mpolacek@redhat.com>
48393 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
48395 2011-07-18 Ulrich Drepper <drepper@gmail.com>
48397 * po/nl.po: Update from translation team.
48398 * po/sv.po: Likewise.
48400 2011-07-16 Roland McGrath <roland@hack.frob.com>
48402 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
48403 now disallowed by GCC.
48405 * configure.in (use-default-link): Default to yes if a test -shared
48406 link meets our qualifications.
48407 * configure: Regenerated.
48409 * config.make.in (output-format): New variable.
48410 * configure.in: Check for ld --print-output-format support.
48411 * configure: Regenerated.
48412 * Makerules ($(common-objpfx)format.lds)
48413 [$(output-format) != unknown]: Just use $(output-format),
48414 instead of the linker-script munging.
48416 2011-07-14 Roland McGrath <roland@hack.frob.com>
48418 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
48419 of $(common-objpfx)shlib.lds.
48420 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
48422 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
48423 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
48425 * configure.in (-z relro check): Adjust test code to add a large
48426 writable data section after it.
48427 * configure: Regenerated.
48429 2011-07-11 Roland McGrath <roland@hack.frob.com>
48431 * configure.in (-z relro check): Fix test code to make the variable
48433 * configure: Regenerated.
48435 2011-07-11 Ulrich Drepper <drepper@gmail.com>
48437 * nscd/nscd.h (struct traced_file): Define.
48438 (struct database_dyn): Remove inotify_descr, reset_res, and filename
48439 elements. Add traced_files.
48440 (inotify_fd): Declare.
48441 (register_traced_file): Declare.
48442 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
48443 (inotify_fd): Export.
48444 (resolv_conf_descr): Remove.
48445 (nscd_init): Move inotify descriptor creation to main.
48446 Don't register files for notification here.
48447 (register_traced_file): New function.
48448 (invalidate_cache): Don't use reset_res to determine whether to call
48449 res_init, go through the list of registered files.
48450 (main_loop_poll): The inotify descriptors are now stored in the
48451 structures for the traced files.
48452 (main_loop_epoll): Likewise
48453 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
48454 to __nss_disable_nscd.
48455 * nscd/cache.c (prune_cache): There is no single inotify descriptor
48456 for a database anymore. Check the records for all the registered
48458 * nss/Makefile (libnss_files-routines): Add files-init.
48459 (libnss_db-routines): Add db-init.
48460 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
48461 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
48462 * nss/nss_db/db-init.c: New file.
48463 * nss/nss_files/files-init.c: New file.
48464 * nss/nsswitch.c (nss_load_library): New function. Broken out of
48465 __nss_lookup_function.
48466 (__nss_lookup_function): Call nss_load_library.
48467 (nss_load_all_libraries): New function.
48468 (__nss_disable_nscd): Take parameter with callback function for files
48469 to register. Set is_nscd. Load all the DSOs for the NSS modules
48470 used for the cached services.
48471 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
48472 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
48473 options for features to all the files in nscd.
48475 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
48477 2011-07-10 Roland McGrath <roland@hack.frob.com>
48479 * csu/elf-init.c (__libc_csu_init): Comment typo.
48481 2011-07-09 Ulrich Drepper <drepper@gmail.com>
48483 * po/pl.po: Update from translation team.
48484 * po/ja.po: Likewise.
48485 * po/ru.po: Likewise.
48486 * po/ko.po: Likewise.
48487 * po/fr.po: Likewise.
48489 2011-07-09 Roland McGrath <roland@hack.frob.com>
48491 * configure.in (.ctors/.dtors header and trailer check):
48492 Use an empirical test on a built program.
48493 * configure: Regenerated.
48495 * configure.in (-z relro check): Use an empirical test on a built DSO.
48496 Detect, but do not require, on ia64.
48497 * configure: Regenerated.
48499 * configure.in (READELF): Find it with AC_CHECK_TOOL.
48500 Update tests that use readelf to use $READELF instead.
48501 * configure: Regenerated.
48503 2011-07-08 Ulrich Drepper <drepper@gmail.com>
48505 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
48506 if the result is not used.
48508 2011-07-05 Andreas Jaeger <aj@suse.de>
48511 * stdlib/tst-strtod.c: Add testcase.
48513 2011-07-07 Ulrich Drepper <drepper@gmail.com>
48515 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
48516 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
48517 The latter has a higher limit. Take additional parameter to pass to
48519 (__pathconf): Pass file to __statfs_link_max.
48520 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
48522 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
48526 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
48527 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48529 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
48530 (__statfs_filesize_max): Likewise.
48531 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
48533 2011-07-05 Andreas Jaeger <aj@suse.de>
48535 * resolv/res_comp.c (dn_skipname): Remove unused variable.
48537 2011-07-06 Marek Polacek <mpolacek@redhat.com>
48539 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
48541 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
48544 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
48546 * Makefile (strop-tests): Add strncat.
48547 * string/test-strncat.c: New file.
48549 2011-06-30 Marek Polacek <mpolacek@redhat.com>
48551 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
48553 2011-06-21 Andreas Jaeger <aj@suse.de>
48555 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
48556 Copy rule from iconvdata/Makefile.
48558 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48561 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
48562 but no long options are defined, just return 'W'.
48564 2011-06-22 Marek Polacek <mpolacek@redhat.com>
48567 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
48569 2011-07-06 Ulrich Drepper <drepper@gmail.com>
48571 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
48573 (innetgr): Likewise.
48575 2011-07-05 Roland McGrath <roland@hack.frob.com>
48577 * config.make.in (install_root): Default to $(DESTDIR).
48579 2011-07-05 Ulrich Drepper <drepper@gmail.com>
48581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
48583 2011-07-02 Roland McGrath <roland@hack.frob.com>
48585 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
48587 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
48588 containing directory rather than embedding absolute directory names.
48590 * scripts/check-local-headers.sh: Rewritten using awk.
48591 Match by word, not by line. Print error messages for matches.
48592 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
48594 * Makerules [shlib-lds-flags empty]:
48595 ($(common-objpfx)libc_pic.opts): New target.
48596 ($(common-objpfx)libc_pic.os.clean): New target.
48597 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
48599 * config.make.in (OBJCOPY): New variable.
48600 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
48601 * configure: Regenerated.
48603 * config.make.in (use-default-link): New variable.
48604 * configure.in (use_default_link): Grok --with-default-link to set it.
48605 * configure: Regenerated.
48606 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
48607 (shlib-lds, shlib-lds-flags): Define to empty.
48609 * Makerules (shlib-lds): New variable.
48610 (shlib-lds-flags): New variable.
48611 (build-shlib, build-moduile, build-module-asneeded): Use it.
48612 ($(common-objpfx)libc.so): Use $(shlib-lds).
48613 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
48614 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
48616 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
48617 DT_FLAGS/DT_FLAGS_1 with zero flags.
48619 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
48620 linker script munging.
48622 2011-07-02 Ulrich Drepper <drepper@gmail.com>
48624 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
48626 * crypt/sha512.c (sha512_process_block): Perform total addition using
48627 128-bit if possible.
48628 (__sha512_finish_ctx): Likewise.
48629 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
48631 * crypt/sha256.c (SWAP64): Define.
48632 (sha256_process_block): Perform total addition using 64-bit if
48634 (__sha256_finish_ctx): Likewise.
48636 2011-07-01 Ulrich Drepper <drepper@gmail.com>
48638 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
48639 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48640 * nscd/hstcache.c (cache_addhst): Likewise.
48641 * nscd/grpcache.c (cache_addgr): Likewise.
48642 * nscd/aicache.c (addhstaiX): Likewise
48643 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
48645 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
48647 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
48648 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48649 * nscd/hstcache.c (cache_addhst): Likewise.
48650 * nscd/grpcache.c (cache_addgr): Likewise.
48651 * nscd/aicache.c (addhstaiX): Likewise
48653 2011-07-01 Andreas Schwab <schwab@redhat.com>
48655 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
48656 domain only when needed.
48658 2011-06-30 Andreas Schwab <schwab@redhat.com>
48660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
48661 is always restored.
48663 2011-06-29 Ulrich Drepper <drepper@gmail.com>
48665 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
48666 are re-adding the entry.
48667 * nscd/servicescache.c (cache_addserv): Likewise.
48669 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
48671 * sysdeps/generic/dl-irel.h: fix protection against multiple
48673 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
48675 2011-06-28 Ulrich Drepper <drepper@gmail.com>
48678 * malloc/memusage.sh: Fix quoting in message.
48679 * debug/xtrace.sh: Likewise.
48681 * configure.in: Remove support for --experimental-malloc option, make
48683 * config.make.in: Likewise.
48684 * malloc/Makefile: Likewise.
48686 2011-06-27 Andreas Schwab <schwab@redhat.com>
48688 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
48689 two-byte characters.
48691 2011-06-27 Roland McGrath <roland@hack.frob.com>
48693 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
48694 AC_CACHE_CHECK invocation.
48695 * configure: Regenerated.
48697 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
48699 2011-06-27 Ulrich Drepper <drepper@gmail.com>
48702 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
48703 bit from old_res_options.
48705 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
48707 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
48708 value type for setfct.
48710 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
48712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48713 __gettimeofday instead of gettimeofday.
48715 2011-06-26 Ulrich Drepper <drepper@gmail.com>
48717 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
48719 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
48721 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
48723 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
48726 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48729 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48730 strcpy-sse2-unaligned strncpy-sse2-unaligned
48731 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
48732 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
48733 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
48734 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
48735 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
48736 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
48737 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
48738 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
48739 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
48740 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
48741 (STRCPY): Support SSE2 and SSSE3 versions.
48743 2011-06-24 Ulrich Drepper <drepper@gmail.com>
48746 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
48747 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
48748 kernels which artificially limit size of requests.
48750 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
48752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48753 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
48754 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
48755 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
48756 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
48757 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
48758 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
48759 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
48760 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
48761 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
48762 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
48763 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
48764 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
48765 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
48766 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
48767 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48768 Enable unaligned load optimization for Intel Core i3, i5 and i7
48770 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
48772 (index_Fast_Unaligned_Load): Define.
48773 (HAS_FAST_UNALIGNED_LOAD): Define.
48775 2011-06-23 Marek Polacek <mpolacek@redhat.com>
48777 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
48779 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48782 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
48783 until it is clear that the information is realy needed.
48784 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
48786 2011-06-22 Andreas Schwab <schwab@redhat.com>
48788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
48790 2011-06-22 Ulrich Drepper <drepper@gmail.com>
48792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
48793 /sys/devices/system/cpu/online if it is usable.
48795 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
48796 reading the information from the /proc filesystem to once a second.
48798 2011-06-21 Andreas Jaeger <aj@suse.de>
48800 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
48801 NULL after inclusion of kernel headers.
48803 2011-06-21 Ulrich Drepper <drepper@gmail.com>
48805 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
48806 calls to internal_setent.
48809 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
48810 addresses using gethostbyname4_r ignore IPv4 addresses.
48812 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
48813 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
48815 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
48817 2011-06-20 David S. Miller <davem@davemloft.net>
48819 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
48821 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
48823 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
48824 (elf_irel): Use it.
48825 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
48826 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
48827 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
48828 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
48829 * sysdeps/x86_64/dl-irel.h: Likewise.
48831 * elf/dl-runtime.c: Use elf_ifunc_invoke.
48832 * elf/dl-sym.c: Likewise.
48834 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48836 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
48837 need to dereference resplen2.
48839 2011-06-14 Andreas Schwab <schwab@redhat.com>
48841 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
48843 2011-06-15 Ulrich Drepper <drepper@gmail.com>
48845 * Makeconfig: Define vardbdir and inst_vardbdir.
48846 * nss/Makefile: Add rules to install db-Makefile.
48848 * nss/nss_db/db-XXX.c: Cleanup.
48850 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
48851 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
48853 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
48854 * nss/makedb.c: Implement -g option to specify that value strings
48855 are generated and should not be added to table iterated over for
48857 * nss/nss_db/db-initgroups.c: New file.
48859 * nss/getent.c: Add support for initgroups lookups through getgrouplist
48862 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
48863 (internal_getgrouplist): Adjust to name change.
48864 Update use_initgroups_entry if this is not the first call.
48865 * nss/databases.def: Add initgroups entry.
48867 * nss/makedb.c (compute_tables): Check result of multiple hash table
48868 sizes to minimize maximum chain length.
48870 2011-06-14 Ulrich Drepper <drepper@gmail.com>
48872 * Versions.def: Add entry for libnss_db.
48873 * shlib-versions: Likewise.
48874 * nss/Makefile: Add rules to build libnss_db.
48875 * nss/Versions: Add libnss_db information. Organize libnss_files
48877 * nss/db-Makefile: Add gshadow support. Change rules for the new
48878 makedb progra. Some minor improvements to generate smaller files.
48879 * nss/nss_db/nss_db.h: Move NSS database header data structures to
48881 * nss/makedb.c: ...here.
48882 Improve database format to be smaller and require less memory at
48884 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
48886 * nss/nss_db/db-netgrp.c: Likewise.
48887 * nss/nss_db/db-open.c: Likewise.
48888 * nss/nss_files/flies-XXX.x: Adjust comments.
48889 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
48890 * nss/nss_files/files-grp.c: Likewise.
48891 * nss/nss_files/files-hosts.c: Likewise.
48892 * nss/nss_files/files-network.c: Likewise.
48893 * nss/nss_files/files-proto.c: Likewise.
48894 * nss/nss_files/files-pwd.c: Likewise.
48895 * nss/nss_files/files-rpc.c: Likewise.
48896 * nss/nss_files/files-service.c: Likewise.
48897 * nss/nss_files/files-sgrp.c: Likewise.
48898 * nss/nss_files/files-spwd.c: Likewise.
48899 * nss/nss_db/db-alias.c: Removed.
48900 * nss/nss_db/dummy-db.h: Removed.
48902 2011-06-02 Ulrich Drepper <drepper@gmail.com>
48904 * nss/makedb.c: Rewritten to not use database library.
48905 * nss/Makefile: Update to build new makedb program.
48907 2011-06-14 Andreas Jaeger <aj@suse.de>
48909 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
48910 memset declaration.
48912 2011-06-10 Andreas Schwab <schwab@redhat.com>
48914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
48917 2011-06-10 Roland McGrath <roland@hack.frob.com>
48919 * Makerules (shlib.lds): Fail if the linker script comes out empty.
48920 * elf/Makefile ($(objpfx)ld.so): Likewise.
48922 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
48923 Don't list ld.so twice in dependencies.
48925 * posix/bug-regex31.c: Include <stdlib.h>.
48927 * nscd/hstcache.c (cache_addhst): Remove unused variable.
48929 * nis/nss_compat/compat-spwd.c
48930 (getspent_next_nss_netgr): Remove unused variable.
48931 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
48933 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
48934 nonmembers" output to use the right array.
48936 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
48938 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
48940 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
48941 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
48942 * catgets/gencat.c (read_input_file): Likewise.
48943 * locale/programs/locarchive.c (enlarge_archive): Likewise.
48945 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
48946 variable definition inside #if's controlling its use.
48948 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
48950 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
48952 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
48954 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
48957 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
48959 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
48960 * configure: Regenerated.
48962 * Makerules: Revert last change.
48963 * elf/Makefile: Likewise.
48965 2011-06-09 Roland McGrath <roland@hack.frob.com>
48967 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
48968 * elf/Makefile ($(objpfx)librtld.os): Likewise.
48969 (reloc-link): Likewise.
48971 2011-06-09 Ulrich Drepper <drepper@gmail.com>
48973 * elf/Makefile: Add rules to build pldd.
48974 * elf/pldd.c: New file.
48975 * elf/pldd-xx.c: New file.
48977 2011-06-07 Ulrich Drepper <drepper@gmail.com>
48979 * version.h: Update for 2.15 development version.
48981 2011-06-07 David S. Miller <davem@davemloft.net>
48983 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
48985 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
48986 elf_machine_lazy_rel): Likewise.
48987 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
48988 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
48989 elf_machine_lazy_rel): Likewise.
48990 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
48991 dl_hwcap via passed in argument.
48992 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
48995 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48997 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
48999 2011-06-06 Roland McGrath <roland@hack.frob.com>
49002 * manual/fdl-1.1.texi: New file, verbatim from:
49003 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49004 * manual/lgpl-2.1.texi: New file, verbatim from:
49005 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49006 * manual/Makefile (licenses): New variable, list those new file names.
49008 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49010 * manual/fdl.texi: File removed.
49011 * manual/lesser.texi: File removed.
49012 * manual/libc.texinfo (Copying, Documentation License):
49013 Use new @include file names, put @appendix directive before @include.
49015 2011-06-04 Jakub Jelinek <jakub@redhat.com>
49018 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49019 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49020 (mq_open): Add __NTH.
49022 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49025 Assume Intel Core i3/i5/i7 processor if AVX is available.
49027 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49029 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49032 2011-05-31 Andreas Schwab <schwab@redhat.com>
49034 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49035 memory. Use alloca_account. Fix memory leak when retrying.
49037 2011-05-31 Ulrich Drepper <drepper@gmail.com>
49039 * version.h (RELEASE): Bump for 2.14 release.
49040 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49042 * config.make.in (RANLIB): Remove entry.
49044 2011-05-30 Ulrich Drepper <drepper@gmail.com>
49046 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49047 (libc.pot): Work around missing support for .ksh extension in xgettext.
49050 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49051 if both request failed.
49052 (send_dg): In case of server errors clear resplen or *resplen2.
49055 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49056 when there are multiple maps.
49057 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49058 (_dl_fini): Remove test here.
49060 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49062 2011-05-29 Ulrich Drepper <drepper@gmail.com>
49065 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49066 bit from old_res_options.
49067 (gaih_inet): Likewise.
49070 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
49073 * resolv/res_init.c (res_setoptions): Make the code more compact.
49076 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49080 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49082 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49085 * malloc/malloc.h: Declare malloc hook variables as volatile.
49087 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49091 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
49092 raise in the comment.
49093 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49094 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49095 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
49097 2011-05-28 Ulrich Drepper <drepper@gmail.com>
49100 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49101 grow the buffers more if it already has to be sufficient.
49102 (build_wcs_upper_buffer): Likewise.
49103 * posix/regexec.c (check_matching): Likewise.
49104 (clean_state_log_if_needed): Likewise.
49105 (extend_buffers): Don't enlarge buffers beyond size of the input
49107 Patches mostly by Emil Wojak <emil@wojak.eu>.
49108 * posix/bug-regex32.c: New file.
49109 * posix/Makefile (tests): Add bug-regex32.
49111 * locale/findlocale.c (_nl_find_locale): Return right away if
49112 _nl_explode_name failed.
49113 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49115 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49117 * debug/xtrace.sh: Unify messages.
49118 * malloc/memusage.sh: Likewise.
49121 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49122 time symbol from vDSO. Substitute with vsyscall if not available.
49123 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49126 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49127 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49128 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49129 Add sendmmsg and internal_sendmmsg.
49130 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49131 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49132 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49134 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49135 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49138 2011-05-27 Ulrich Drepper <drepper@gmail.com>
49141 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49142 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49144 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49148 * iconvdata/Makefile (tests): Add bug-iconv9.
49149 * iconvdata/bug-iconv9.c: New file.
49151 2011-05-27 Andreas Schwab <schwab@redhat.com>
49154 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49156 2011-05-25 Jakub Jelinek <jakub@redhat.com>
49158 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49159 (struct user_regs_struct): Change intcs field back to cs.
49161 2011-05-25 Ulrich Drepper <drepper@gmail.com>
49163 * po/ja.po: Update from translation team.
49165 2011-05-23 Ulrich Drepper <drepper@gmail.com>
49168 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49169 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49171 2011-05-20 Andreas Schwab <schwab@redhat.com>
49173 * stdlib/longlong.h: Update from GCC.
49175 2011-05-23 Andreas Schwab <schwab@redhat.com>
49177 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49179 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49180 Add parameter name.
49181 (__sysconf): Pass it down.
49183 2011-05-22 Ulrich Drepper <drepper@gmail.com>
49186 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49188 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49189 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49190 add in in __libc_use_alloca calls. Adjust callers.
49191 (glob): Use malloc in some situations.
49193 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49194 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49197 2011-05-21 Ulrich Drepper <drepper@gmail.com>
49199 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49200 and CLOCK_BOOTTIME_ALARM.
49203 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49206 * string/_strerror.c (__strerror_r): Print negative errors as signed
49210 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49211 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49212 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49214 * configure.in: Fix typo in redirection and correct removal of test
49215 files in two cases.
49218 * locale/setlocale.c (new_composite_name): Fix test to check for
49219 identical name of all categories.
49222 * libio/filedoalloc.c (local_isatty): New function.
49223 (_IO_file_doallocate): Use local_isatty.
49224 * stdio-common/perror.c (perror): In case a new stream is used
49225 forward the stream error.
49226 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49229 2011-05-20 Ulrich Drepper <drepper@gmail.com>
49232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49234 * include/alloca.h (extend_alloca_account): Define.
49237 * posix/regex.h: Fix comments with documentation of user-accessible
49238 fields after compilation and describe correct free'ing of pattern
49239 after re_compile_pattern.
49240 Patch by Reuben Thomas <rrt@sc3d.org>.
49242 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49244 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49245 and -mno-altivec to prevent the compiler from using Altivec and/or
49246 VSX instructions when the corresponding registers are not available.
49248 2011-05-19 Andreas Schwab <schwab@redhat.com>
49250 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49252 2011-05-19 Ulrich Drepper <drepper@gmail.com>
49254 * libio/freopen.c (freopen): Use __dup2, not dup2.
49255 * libio/freopen64.c (freopen64): Likewise.
49257 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49260 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49261 * math/Makefile (tests): Add test-powl.
49262 (CFLAGS-test-powl.c): Define.
49263 * math/test-powl.c: New file.
49265 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49267 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49269 2011-05-17 Ulrich Drepper <drepper@gmail.com>
49272 * iconvdata/gb18030.c: Update to GB18020-2005.
49274 2011-05-16 Ulrich Drepper <drepper@gmail.com>
49276 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49277 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49278 Patch by Aharon Robbins <arnold@skeeve.com>.
49281 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49285 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49286 through underflows.
49289 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49290 point to strings before performing equality test for error_one_per_line
49294 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
49297 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49298 (struct user_fpregs_struct): Avoid __uint*_t types.
49301 * malloc/mtrace.c (tr_where): Add additional parameter to point to
49302 symbol info. Use it instead of calling _dl_addr locally.
49303 (lock_and_info): New function.
49304 (tr_freehook): Call lock_and_info and pass symbol info as additional
49305 parameter to tr_where.
49306 (tr_mallochook): Likewise.
49307 (tr_reallochook): Likewise.
49308 (tr_memalignhook): Likewise.
49310 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
49311 used and couldn't be at all thread-safe.
49313 2011-05-15 Ulrich Drepper <drepper@gmail.com>
49315 * libio/freopen.c (freopen): Don't close old file descriptor
49316 before the new one is opened. Instead dup the new file descriptor
49317 to the old one after the new stream is created.
49318 * libio/freopen64.c (freopen64): Likewise.
49319 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
49320 * libio/fileops.c (_IO_new_file_close_it): Handle new
49321 _IO_FLAGS2_NOCLOSE flag.
49322 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
49323 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
49324 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
49325 _IO_FLAGS2_NOCLOSE flag.
49326 * include/unistd.h: Add hidden_proto for dup3.
49327 Define __have_dup3.
49328 * io/dup3.c: Define hidden symbol.
49329 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
49332 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
49333 when an incomplete long option is used.
49334 * posix/tst-getopt_long1.c: New file.
49335 * posix/Makefile (tests): Add tst-getopt_long1.
49338 * scripts/config.guess: Update from autoconf-2.68.
49339 * scripts/config.sub: Likewise.
49342 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
49344 (has_cpuclock): ...this. New function.
49345 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
49346 macro here based on has_cpuclock code.
49349 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49350 First byte (not low byte) is now always NUL.
49351 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
49353 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
49354 Use non-cancelable interfaces.
49357 * locale/iso-639.def: Add entry for Sorani.
49360 * include/stdlib.h: Move include protection to the right place.
49361 Define abort_msg_s. Declare __abort_msg with it.
49362 * stdlib/abort.c (__abort_msg): Adjust type.
49363 * assert/assert.c (__assert_fail_base): New function. Majority
49364 of code from __assert_fail. Allocate memory for __abort_msg with
49366 (__assert_fail): Now call __assert_fail_base.
49367 * assert/assert-perr.c: Remove bulk of implementation. Use
49368 __assert_fail_base.
49369 * include/assert.hL Declare __assert_fail_base.
49370 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
49372 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
49374 2011-05-14 Ulrich Drepper <drepper@gmail.com>
49378 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
49379 until all modules are registered in the DTV.
49380 * elf/Makefile: Add rules to build and run tst-tls19.
49381 * elf/tst-tls19.c: New file.
49382 * elf/tst-tls19mod1.c: New file.
49383 * elf/tst-tls19mod2.c: New file.
49384 * elf/tst-tls19mod3.c: New file.
49385 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
49388 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
49392 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
49393 two-byte sequence errors.
49394 * iconvdata/Makefile (tests): Add bug-iconv8.
49395 * iconvdata/bug-iconv8.c: New file.
49398 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
49401 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
49404 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
49405 (dummy_getcfa): New function.
49406 (init): Get _Unwind_GetCFA address, use dummy if not found.
49407 (backtrace_helper): In recursion check, also check whether CFA changes.
49408 (__backtrace): Completely initialize arg.
49410 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
49411 storing incomplete byte sequence in state object. Avoid testing for
49412 guaranteed too small input if we know there is enough data available.
49414 2011-05-11 Andreas Schwab <schwab@redhat.com>
49416 * Makeconfig (+link-pie): Indent.
49417 * Rules (binaries-pie): Define if $(have-fpie) and
49419 (binaries-shared): Also filter out $(binaries-pie).
49420 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
49421 * nscd/Makefile (others-pie): Add nscd.
49422 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
49423 ($(objpfx)nscd): Remove command override.
49424 * login/Makefile (others-pie): Add pt_chown.
49425 ($(objpfx)pt_chown): Remove command override.
49426 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
49427 remove command overrides.
49429 2011-05-13 Ulrich Drepper <drepper@gmail.com>
49431 * libio/tst_putwc.c: Fix error messages.
49434 * libio/fileops.c (_IO_new_file_close_it): Always flush when
49435 currently writing and seek to current position when not.
49436 * libio/Makefile (tests): Add bug-fclose1.
49437 * libio/bug-fclose1.c: New file.
49439 2011-05-12 Ulrich Drepper <drepper@gmail.com>
49442 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
49443 don't set DF_1_NODELETE here.
49444 (do_lookup_x): When entering new entry test for copy relocation
49445 and if necessary set DF_1_NODELETE flag.
49446 * elf/tst-unique4.cc: New file.
49447 * elf/tst-unique4.h: New file.
49448 * elf/tst-unique4lib.cc: New file.
49449 * elf/Makefile: Add rules to build and run tst-unique4.
49450 Patch by Piotr Bury <pbury@goahead.com>.
49452 2011-05-11 Ulrich Drepper <drepper@gmail.com>
49455 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
49458 * misc/mntent_r.c (addmntent): Flush the stream after the output
49461 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
49462 (is_trusted_path_normalize): Skip initial colon. Append slash
49463 to empty buffer. Duplicate is_trusted_path code but allow
49464 constructed patch to be prefix.
49465 (is_dst): Allow $ORIGIN followed by /.
49466 (_dl_dst_substitute): Correct clearing of check_for_trusted.
49467 Correct testing of result of is_trusted_path_normalize
49468 (decompose_rpath): Fix warning.
49470 2011-05-10 Ulrich Drepper <drepper@gmail.com>
49473 * grp/initgroups.c (internal_getgrouplist): When we found the service
49474 list through the initgroups entry in nsswitch.conf do not always
49475 continue on a successful lookup. Don't always use the
49476 __nss_group_database value if it is set.
49477 * nss/nsswitch.conf (initgroups): Change action for successful db
49478 lookup to continue for compatibility.
49480 2011-05-09 Ulrich Drepper <drepper@gmail.com>
49483 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
49485 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
49487 * iconvdata/tst-tables.sh: Likewise.
49488 * iconvdata/cp770.c: New file.
49489 * iconvdata/cp771.c: New file.
49490 * iconvdata/cp772.c: New file.
49491 * iconvdata/cp773.c: New file.
49492 * iconvdata/cp774.c: New file.
49493 * iconvdata/testdata/CP770: New file.
49494 * iconvdata/testdata/CP770..UTF8: New file.
49495 * iconvdata/testdata/CP771: New file.
49496 * iconvdata/testdata/CP771..UTF8: New file.
49497 * iconvdata/testdata/CP772: New file.
49498 * iconvdata/testdata/CP772..UTF8: New file.
49499 * iconvdata/testdata/CP773: New file.
49500 * iconvdata/testdata/CP773..UTF8: New file.
49501 * iconvdata/testdata/CP774: New file.
49502 * iconvdata/testdata/CP774..UTF8: New file.
49504 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
49506 * iconvdata/gen-8bit-gap.sh: Likewise.
49507 * iconvdata/gen-8bit.sh: Likewise.
49509 * locale/iso-639.def: Add ary entry.
49512 * locale/C-translit.h.in: Add U20A1 transliteration.
49515 * locale/iso-639.def: Add wae entry.
49516 Patch by Kevin Bortis <bortis@translate-wae.ch>.
49519 * locale/programs/localedef.c (construct_output_path): Use ssize_t
49523 * locale/C-translit.h.in: Add entry for U20B9.
49524 Patch by pravin.d.s@gmail.com.
49526 2011-05-08 Ulrich Drepper <drepper@gmail.com>
49529 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
49530 ENAMETOOLONG use generic getcwd.
49531 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
49532 in rtld. Use *stat64.
49533 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
49534 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
49535 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
49536 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
49537 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
49538 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
49539 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
49540 __fstatat64 macros.
49541 * include/dirent.h: Add libc_hidden_proto for rewinddir.
49542 * dirent/rewinddir.c: Add libc_hidden_def.
49543 * sysdeps/mach/hurd/rewinddir.c: Likewise.
49544 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
49546 * include/dirent.h (__alloc_dir): Add flags parameter.
49547 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
49548 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
49550 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
49551 from fdopendir if O_CLOEXEC is already set.
49553 2011-03-15 Alan Modra <amodra@gmail.com>
49555 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
49556 l_tls_firstbyte_offset non-zero. Save padding offset in
49557 l_tls_firstbyte_offset for later use.
49558 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
49559 freeing static tls block.
49561 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
49563 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
49564 where #ifdef was intended. The intent is to prevent ARG_MAX from
49565 being defined by the kernel headers.
49567 2011-05-07 Ulrich Drepper <drepper@gmail.com>
49570 * resolv/resolv.h: Define RES_NOTLDQUERY.
49571 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
49572 no-tld-query and set RES_NOTLDQUERY.
49573 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
49574 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
49575 modern BIND to search name as TLD unless forbidden.
49577 2011-05-07 Petr Baudis <pasky@suse.cz>
49578 Ulrich Drepper <drepper@gmail.com>
49581 * elf/dl-load.c (fillin_rpath): Move trusted path check...
49582 (is_trusted_path): ...to here.
49583 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
49584 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
49585 using is_trusted_path_normalize() in setuid scripts.
49587 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
49589 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
49590 __BEGIN/__END_DECLS.
49592 2011-05-06 Ulrich Drepper <drepper@gmail.com>
49594 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
49595 NSS_STATUS_NOTFOUND if no record was found.
49597 2011-05-05 Andreas Schwab <schwab@redhat.com>
49599 * sunrpc/Makefile (headers): Add rpc/netdb.h.
49600 (headers-not-in-tirpc): Remove rpc/netdb.h
49601 * resolv/netdb.h: Revert last change.
49603 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49605 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
49606 circular dependency between libgcc.a and libc.a.
49608 2011-05-05 Andreas Schwab <schwab@redhat.com>
49610 * resolv/netdb.h: Don't include <rpc/netdb.h>.
49611 * nis/Makefile: Don't install rpcsvc/*.
49612 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
49613 instead of <rpc/types.h>.
49614 (MAXHOSTNAMELEN): Define.
49616 2011-05-03 Andreas Schwab <schwab@redhat.com>
49618 * elf/ldconfig.c (add_dir): Don't crash on empty path.
49620 2011-04-28 Maciej Babinski <mbabinski@google.com>
49623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
49624 gethostbyname4_r when IPv6 results are possible.
49626 2011-05-02 Ulrich Drepper <drepper@gmail.com>
49629 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
49630 _PC_PIPE_BUF handling.
49632 2011-04-30 Bruno Haible <bruno@clisp.org>
49635 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
49636 * resolv/netdb.h (getnameinfo): Change type of flags parameter
49638 * inet/getnameinfo.c (getnameinfo): Likewise.
49640 2011-04-29 Ulrich Drepper <drepper@gmail.com>
49642 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
49643 to groups setting in database lookup.
49644 * nss/nsswitch.conf: Add initgroups entry.
49646 2011-04-22 Ulrich Drepper <drepper@gmail.com>
49649 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
49651 Patch by Eric Blake <eblake@redhat.com>.
49653 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
49655 * sunrpc/Makefile (need-export-routines): Add svc_run.
49656 (routines): Remove svc_run.
49657 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
49658 * sunrpc/clnt_perr.c (clnt_perrno): Export.
49659 * sunrpc/svc_run.c (svc_run): Likewise.
49660 * sunrpc/svc_udp.c (svcudp_create): Likewise.
49662 2011-04-21 Ulrich Drepper <drepper@gmail.com>
49664 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
49665 problem in reallocation in last patch.
49667 2011-04-20 Ulrich Drepper <drepper@gmail.com>
49669 * sunrpc/Makefile: Move inclusion of Rules.
49671 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49673 * nss/nss_files/files-initgroups.c: New file.
49674 * nss/Makefile (libnss_files-routines): Add files-initgroups.
49675 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
49676 _nss_files_initgroups_dyn.
49678 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
49680 * elf/elf.h (R_ARM_IRELATIVE): Define.
49682 2011-04-19 Ulrich Drepper <drepper@gmail.com>
49684 * po/ru.po: Update from translation team.
49686 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49688 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
49691 2011-02-06 Mike Frysinger <vapier@gentoo.org>
49694 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
49695 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
49696 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49698 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49700 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
49702 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
49704 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49706 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49708 2011-04-17 Ulrich Drepper <drepper@gmail.com>
49711 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
49713 * stdlib/bug-getcontext.c: New file.
49714 * stdlib/Makefile: Add rules to build and run bug-getcontext.
49716 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49718 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
49719 instructions into .machine "z9-109".
49720 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
49721 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
49723 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49725 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
49726 between environment variables and auxiliary vector.
49728 2011-04-16 Ulrich Drepper <drepper@gmail.com>
49730 * Makefile: Add rules to build linkobj/libc.so.
49731 * include/libc-symbols.h: Define libc_hidden_nolink.
49732 * include/rpc/auth.h: Mark functions which are to be hidden.
49733 * include/rpc/auth_des.h: Likewise.
49734 * include/rpc/auth_unix.h: Likewise.
49735 * include/rpc/clnt.h: Likewise.
49736 * include/rpc/des_crypt.h: Likewise.
49737 * include/rpc/key_prot.h: Likewise.
49738 * include/rpc/pmap_clnt.h: Likewise.
49739 * include/rpc/pmap_prot.h: Likewise.
49740 * include/rpc/pmap_rmt.h: Likewise.
49741 * include/rpc/rpc_msg.h: Likewise.
49742 * include/rpc/svc.h: Likewise.
49743 * include/rpc/svc_auth.h: Likewise.
49744 * include/rpc/xdr.h: Likewise.
49745 * nis/Makefile: Link all DSOs against linkobj/libc.so.
49746 * nss/Makefile: Likewise.
49747 * sunrpc/Makefile: Don't install headers. Build library with normal
49748 entry points. Don't build rpcinfo. Link RPC tests appropriately.
49749 * sunrpc/auth_des.c: Hide exported symbols by default, export some
49750 for the compat linking library. Remove use of INTDEF/INTUSE.
49751 * sunrpc/auth_none.c: Likewise.
49752 * sunrpc/auth_unix.c: Likewise.
49753 * sunrpc/authdes_prot.c: Likewise.
49754 * sunrpc/authuxprot.c: Likewise.
49755 * sunrpc/clnt_gen.c: Likewise.
49756 * sunrpc/clnt_perr.c: Likewise.
49757 * sunrpc/clnt_raw.c: Likewise.
49758 * sunrpc/clnt_simp.c: Likewise.
49759 * sunrpc/clnt_tcp.c: Likewise.
49760 * sunrpc/clnt_udp.c: Likewise.
49761 * sunrpc/clnt_unix.c: Likewise.
49762 * sunrpc/des_crypt.c: Likewise.
49763 * sunrpc/des_soft.c: Likewise.
49764 * sunrpc/get_myaddr.c: Likewise.
49765 * sunrpc/key_call.c: Likewise.
49766 * sunrpc/key_prot.c: Likewise.
49767 * sunrpc/netname.c: Likewise.
49768 * sunrpc/pm_getmaps.c: Likewise.
49769 * sunrpc/pm_getport.c: Likewise.
49770 * sunrpc/pmap_clnt.c: Likewise.
49771 * sunrpc/pmap_prot.c: Likewise.
49772 * sunrpc/pmap_prot2.c: Likewise.
49773 * sunrpc/pmap_rmt.c: Likewise.
49774 * sunrpc/publickey.c: Likewise.
49775 * sunrpc/rpc_cmsg.c: Likewise.
49776 * sunrpc/rpc_common.c: Likewise.
49777 * sunrpc/rpc_dtable.c: Likewise.
49778 * sunrpc/rpc_prot.c: Likewise.
49779 * sunrpc/rpc_thread.c: Likewise.
49780 * sunrpc/rtime.c: Likewise.
49781 * sunrpc/svc.c: Likewise.
49782 * sunrpc/svc_auth.c: Likewise.
49783 * sunrpc/svc_authux.c: Likewise.
49784 * sunrpc/svc_raw.c: Likewise.
49785 * sunrpc/svc_run.c: Likewise.
49786 * sunrpc/svc_simple.c: Likewise.
49787 * sunrpc/svc_tcp.c: Likewise.
49788 * sunrpc/svc_udp.c: Likewise.
49789 * sunrpc/svc_unix.c: Likewise.
49790 * sunrpc/svcauth_des.c: Likewise.
49791 * sunrpc/xcrypt.c: Likewise.
49792 * sunrpc/xdr.c: Likewise.
49793 * sunrpc/xdr_array.c: Likewise.
49794 * sunrpc/xdr_float.c: Likewise.
49795 * sunrpc/xdr_intXX_t.c: Likewise.
49796 * sunrpc/xdr_mem.c: Likewise.
49797 * sunrpc/xdr_rec.c: Likewise.
49798 * sunrpc/xdr_ref.c: Likewise.
49799 * sunrpc/xdr_sizeof.c: Likewise.
49800 * sunrpc/xdr_stdio.c: Likewise.
49802 2011-04-10 Ulrich Drepper <drepper@gmail.com>
49805 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
49806 * sysdeps/ia64/dl-tls.h: Likewise.
49807 * sysdeps/powerpc/dl-tls.h: Likewise.
49808 * sysdeps/s390/dl-tls.h: Likewise.
49809 * sysdeps/sh/dl-tls.h: Likewise.
49810 * sysdeps/sparc/dl-tls.h: Likewise.
49811 * sysdeps/x86_64/dl-tls.h: Likewise.
49812 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
49814 2011-03-14 Andreas Schwab <schwab@redhat.com>
49816 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
49817 rpath element also skip the following colon.
49818 (expand_dynamic_string_token): Add is_path parameter and pass
49819 down to DL_DST_REQUIRED and _dl_dst_substitute.
49820 (decompose_rpath): Call expand_dynamic_string_token with
49821 non-zero is_path. Ignore empty rpaths.
49822 (_dl_map_object_from_fd): Call expand_dynamic_string_token
49825 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
49827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
49830 2011-04-09 Ulrich Drepper <drepper@gmail.com>
49833 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
49834 Patch by Filipe David Manana <fdmanana@apache.org>.
49836 2011-04-07 Andreas Schwab <schwab@redhat.com>
49838 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
49839 Maintain aligned stack.
49840 (CHECK_RSP): Remove unused macro.
49842 2011-04-03 Ulrich Drepper <drepper@gmail.com>
49844 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
49845 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
49847 2011-04-02 Ulrich Drepper <drepper@gmail.com>
49849 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
49851 * include/features.h: Mention __USE_XOPEN2K8 in comment.
49853 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
49856 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
49857 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
49858 * sysdeps/x86_64/memmove.c: New file.
49859 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
49860 (memcpy): Renamed to ...
49861 (__new_memcpy): This.
49862 (memcpy): Provide GLIBC_2_14 memcpy.
49863 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
49864 (memcpy): Provide GLIBC_2_2_5 memcpy.
49866 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49869 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
49871 2011-03-30 Andreas Schwab <schwab@redhat.com>
49873 * misc/syncfs.c: New file.
49874 * misc/Makefile (routines): Add syncfs.
49875 * posix/unistd.h: Declare syncfs.
49876 * sysdeps/unix/syscalls.list: Add syncfs.
49878 2011-04-01 Andreas Schwab <schwab@redhat.com>
49880 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
49882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49883 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49885 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49887 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
49888 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49890 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49892 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
49893 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49894 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
49895 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49896 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49897 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49898 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49900 * io/Makefile: Compile fallocate.c, fallocate64.c, and
49901 sync_file_range.c with -fexceptions.
49902 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
49903 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
49904 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
49905 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
49906 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
49907 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
49908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
49909 sync_file_range as cancellation point
49910 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
49911 now a wrapper around __call_sync_file_range with cancellation handling.
49912 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
49913 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
49914 function name to __call_sync_file_range.
49915 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
49916 Add call_sync_file_range.
49918 2011-04-01 Andreas Schwab <schwab@redhat.com>
49920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49923 2011-04-01 Ulrich Drepper <drepper@gmail.com>
49925 * iconv/iconv.h: Fix typo in comment.
49926 * io/fcntl.h: Likewise.
49927 * libio/stdio.h: Likewise.
49928 * posix/spawn.h: Likewise.
49929 * posix/unistd.h: Likewise.
49930 * stdlib/stdlib.h: Likewise.
49931 * time/time.h: Likewise.
49932 * wcsmbs/wchar.h: Likewise.
49934 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
49935 open_by_handle): Add.
49936 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
49937 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
49938 Augment a few comments.
49939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
49940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49941 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49944 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
49947 * io/fcntl.h (AT_EMPTY_PATH): Define.
49949 2011-03-30 Ulrich Drepper <drepper@gmail.com>
49951 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
49952 * sysdeps/unix/sysv/linux/bits/time.h: New file.
49953 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
49955 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
49956 * Versions.def: Add GLIBC_2.14.
49957 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
49960 2011-03-22 Ulrich Drepper <drepper@gmail.com>
49962 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
49964 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49966 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
49969 * string/test-strncmp.c (do_page_test): New function.
49970 (check2): Likewise.
49971 (test_main): Call check2.
49972 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
49974 2011-03-20 Ulrich Drepper <drepper@gmail.com>
49977 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
49978 Handle cache information in CPU leaf 4.
49979 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
49981 2011-03-18 Ulrich Drepper <drepper@gmail.com>
49984 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
49985 character representation.
49986 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
49988 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
49990 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
49991 END(__isnan) to END(__isnanf) to match function entry point/label
49992 EALIGN(__isnanf,...).
49994 2011-03-10 Jakub Jelinek <jakub@redhat.com>
49996 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
49998 2011-03-10 Ulrich Drepper <drepper@gmail.com>
50001 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50002 copy from the symbol referenced in the relocation to initialize the
50004 Patch by Piotr Bury <pbury@goahead.com>.
50005 * elf/Makefile: Add rules to build and tst-unique3.
50006 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50007 * elf/tst-unique3.cc: New file.
50008 * elf/tst-unique3.h: New file.
50009 * elf/tst-unique3lib.cc: New file.
50010 * elf/tst-unique3lib2.cc: New file.
50012 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50014 2011-03-10 Mike Frysinger <vapier@gentoo.org>
50016 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50017 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50020 2011-03-06 Ulrich Drepper <drepper@gmail.com>
50022 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50023 to-be-loaded object along a path to loader is ld.so.
50025 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50026 Ulrich Drepper <drepper@gmail.com>
50028 * sysdeps/x86_64/memset.S: After aligning destination, code
50029 branches to different locations depending on the value of
50030 misalignment, when multiarch is enabled. Fix this.
50032 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50034 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50035 Set _x86_64_preferred_memory_instruction for AMD processsors.
50036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50037 Set bit_Prefer_SSE_for_memop for AMD processors.
50039 2011-03-04 Ulrich Drepper <drepper@gmail.com>
50041 * libio/fmemopen.c (fmemopen): Optimize a bit.
50043 2011-03-03 Andreas Schwab <schwab@redhat.com>
50045 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50047 2011-03-03 Roland McGrath <roland@redhat.com>
50049 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50051 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50053 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
50054 __bzero_ultra1 instead of __memset_ultra1.
50056 2011-02-23 Andreas Schwab <schwab@redhat.com>
50057 Ulrich Drepper <drepper@gmail.com>
50060 * include/link.h (struct link_map): Add l_orig_initfini.
50061 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50062 returning unsuccessfully.
50063 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50064 close of a file loaded at startup, restore the original l_initfini
50066 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50067 list, store the pointer.
50068 * elf/Makefile ($(objpfx)noload-mem): New rule.
50069 (noload-ENV): Define.
50070 (tests): Add $(objpfx)noload-mem.
50071 * elf/noload.c: Include <memcheck.h>.
50072 (main): Call mtrace. Close all opened handles.
50074 2011-02-17 Andreas Schwab <schwab@redhat.com>
50077 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50078 dependencies are missing.
50080 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50082 Fix __if_freereq crash: Unlike the generic version which uses free,
50084 * sysdeps/mach/hurd/ifreq.h: New file.
50086 2011-01-27 Petr Baudis <pasky@suse.cz>
50087 Ulrich Drepper <drepper@gmail.com>
50090 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50091 to extend_alloca().
50092 * stdio-common/bug23.c: New file.
50093 * stdio-common/Makefile (tests): Add bug23.
50095 2010-09-28 Andreas Schwab <schwab@redhat.com>
50096 Ulrich Drepper <drepper@gmail.com>
50099 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50100 before performing relro protection. At old place add assertion
50101 to make sure nothing changed.
50103 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50104 Glauber de Oliveira Costa <glommer@gmail.com>
50106 * elf/elf.h: Add new ARM TLS relocs.
50108 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50111 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50113 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50115 * sysdeps/wordsize-64/tst-writev.c: New file.
50117 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50119 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50120 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50121 insns in _dl_start to prevent a TOC reference before relocs are
50124 2011-02-15 Ulrich Drepper <drepper@gmail.com>
50127 * Makeconfig: Remove RANLIB definition.
50128 * Makerules: Don't use RANLIB.
50129 * aclocal.m4: Remove ranlib test.
50130 * configure.in: No need to check for ranlib.
50131 * elf/rtld-Rules: Don't use RANLIB.
50133 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50135 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50137 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50138 inclusion protection macro.
50140 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50141 SIGRTMIN and SIGRTMAX and print information in that case only when
50142 SIGRTMIN is defined.
50144 2011-02-11 Jakub Jelinek <jakub@redhat.com>
50146 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50147 arginfo fn returning -1.
50149 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50150 and thousands string is zero terminated.
50152 2011-02-03 Andreas Schwab <schwab@redhat.com>
50154 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50155 sysdeps/unix/sysv/linux/bits/socket.h.
50157 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50159 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50160 (__CPU_COUNT): Remove old macros.
50161 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50162 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50163 (__CPU_ALLOC, __CPU_FREE): Add macros.
50164 (__sched_cpualloc, __sched_cpufree): Add declarations.
50166 2011-02-05 Ulrich Drepper <drepper@gmail.com>
50168 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50169 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50170 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50171 (readdhstai): Return value of addhstaiX call.
50172 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50173 (addgrbyX): Return value returned by cache_addgr.
50174 (readdgrbyname): Return value returned by addgrbyX.
50175 (readdgrbygid): Likewise.
50176 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50177 (addpwbyX): Return value returned by cache_addpw.
50178 (readdpwbyname): Return value returned by addhstbyX.
50179 (readdpwbyuid): Likewise.
50180 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50181 (addservbyX): Return value returned by cache_addserv.
50182 (readdservbyname): Return value returned by addservbyX:
50183 (readdservbyport): Likewise.
50184 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50185 (addhstbyX): Return value returned by cache_addhst.
50186 (readdhstbyname): Return value returned by addhstbyX.
50187 (readdhstbyaddr): Likewise.
50188 (readdhstbynamev6): Likewise.
50189 (readdhstbyaddrv6): Likewise.
50190 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50191 (readdinitgroups): Return value returned by addinitgroupsX.
50192 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50193 (prune_cache): Keep track of timeout value of re-added entries.
50194 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50195 * nscd/nscd.h: Adjust prototypes of readd* functions.
50197 2011-02-04 Roland McGrath <roland@redhat.com>
50199 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50200 (nis_stats): Likewise.
50201 * nis/nis_modify.c (nis_modify): Likewise.
50202 * nis/nis_remove.c (nis_remove): Likewise.
50203 * nis/nis_add.c (nis_add): Likewise.
50205 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50207 * posix/fnmatch_loop.c: Add some consts.
50209 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50211 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50214 * config.make.in (config-cflags-novzeroupper): Define.
50215 * configure.in: Substitute libc_cv_cc_novzeroupper.
50216 * elf/Makefile (AVX-CFLAGS): Define.
50217 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50218 (CFLAGS-tst-auditmod4a.c): Likewise.
50219 (CFLAGS-tst-auditmod4b.c): Likewise.
50220 (CFLAGS-tst-auditmod6b.c): Likewise.
50221 (CFLAGS-tst-auditmod6c.c): Likewise.
50222 (CFLAGS-tst-auditmod7b.c): Likewise.
50223 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50225 2011-02-02 Ulrich Drepper <drepper@gmail.com>
50227 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50228 function to the callback.
50229 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50231 2011-02-02 Andreas Schwab <schwab@redhat.com>
50233 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50236 2011-01-19 Ulrich Drepper <drepper@gmail.com>
50239 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50241 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50243 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50246 * elf/Makefile: Add rules to build and run new test.
50247 * elf/tst-initorder.c: New file.
50248 * elf/tst-initorder.exp: New file.
50249 * elf/tst-initordera1.c: New file.
50250 * elf/tst-initordera2.c: New file.
50251 * elf/tst-initordera3.c: New file.
50252 * elf/tst-initordera4.c: New file.
50253 * elf/tst-initorderb1.c: New file.
50254 * elf/tst-initorderb2.c: New file.
50255 * elf/tst-order-a1.c: New file.
50256 * elf/tst-order-a2.c: New file.
50257 * elf/tst-order-a3.c: New file.
50258 * elf/tst-order-a4.c: New file.
50259 * elf/tst-order-b1.c: New file.
50260 * elf/tst-order-b2.c: New file.
50261 * elf/tst-order-main.c: New file.
50262 New test case by George Gensure <werkt0@gmail.com>.
50264 2010-10-01 Andreas Schwab <schwab@redhat.com>
50266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50267 decoding ACE if AI_CANONIDN.
50269 2011-01-18 Ulrich Drepper <drepper@gmail.com>
50271 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50273 2011-01-17 Ulrich Drepper <drepper@gmail.com>
50275 * version.h (RELEASE): Bump for 2.13 release.
50276 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50278 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50280 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50282 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50283 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50284 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50285 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50286 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50287 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50289 * posix/getconf.c: Update copyright year.
50290 * catgets/gencat.c: Likewise.
50291 * csu/version.c: Likewise.
50292 * debug/catchsegv.sh: Likewise.
50293 * debug/xtrace.sh: Likewise.
50294 * elf/ldconfig.c: Likewise.
50295 * elf/ldd.bash.in: Likewise.
50296 * elf/sprof.c (print_version): Likewise.
50297 * iconv/iconv_prog.c: Likewise.
50298 * iconv/iconvconfig.c: Likewise.
50299 * locale/programs/locale.c: Likewise.
50300 * locale/programs/localedef.c: Likewise.
50301 * malloc/memusage.sh: Likewise.
50302 * malloc/mtrace.pl: Likewise.
50303 * nscd/nscd.c (print_version): Likewise.
50304 * nss/getent.c: Likewise.
50306 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
50307 PF_CAIF, and PF_ALG.
50308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50310 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
50312 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
50313 (modules-names): Use them.
50314 (ifunc-test-modules, ifunc-pie-tests): Define.
50315 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
50316 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
50317 (test-extras): Likewise.
50318 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
50319 $(compile-command.c).
50320 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
50321 (all-built-dso): Define.
50322 (check-textrel.out, check-execstack.out): Depend on it.
50324 * configure.in: Don't override --enable-multi-arch.
50326 2011-01-15 Ulrich Drepper <drepper@gmail.com>
50329 * nscd/hstcache.c (tryagain): Define.
50330 (cache_addhst): Return tryagain not notfound for temporary errors.
50331 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
50334 2011-01-14 Ulrich Drepper <drepper@gmail.com>
50337 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
50338 to make the syscall.
50339 * sysdeps/unix/sysv/linux/setgroups.c: New file.
50342 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
50343 and fall back to matching as normal character if the string ends before
50344 the matching ']' is found. This is what POSIX requires.
50345 * posix/testfnm.c: Adjust test result.
50346 * posix/globtest.sh: Adjust test result. Add new test.
50347 * posix/tst-fnmatch.input: Likewise.
50348 * posix/tst-fnmatch2.c: Add new test.
50350 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
50352 * elf/Makefile (check-execstack): Revert last change. Depend on
50354 (check-execstack.h): New target.
50355 (generated): Add check-execstack.h.
50356 * elf/check-execstack.c: Include "check-execstack.h".
50357 (main): Revert last change.
50358 (handle_file): Return zero if GNU_STACK is absent and
50359 DEFAULT_STACK_PERMS doesn't include PF_X.
50361 2011-01-13 Ulrich Drepper <drepper@gmail.com>
50363 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
50364 in child fails because the descriptor is already closed.
50365 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
50366 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
50367 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
50370 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
50374 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
50375 temporary buffer used to handle multi lookups locally.
50376 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
50378 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50380 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
50383 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
50385 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
50386 alignment for SSE2.
50388 2011-01-12 Ulrich Drepper <drepper@gmail.com>
50391 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
50392 characters. When rounding increased number of integer digits recompute
50394 * stdio-common/tst-grouping.c: New file.
50395 * stdio-common/Makefile: Add rules to build and run tst-grouping.
50397 2011-01-09 Ulrich Drepper <drepper@gmail.com>
50399 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
50400 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
50402 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
50404 * bits/select.h: Likewise.
50406 2011-01-08 Ulrich Drepper <drepper@gmail.com>
50408 * po/ja.po: Update from translation team.
50410 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
50413 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
50414 implementation just like for lxstat, fxstatat, et al.
50416 2010-12-27 Jim Meyering <meyering@redhat.com>
50419 * posix/regexec.c (build_trtable): Return failure indication upon
50420 calloc failure. Otherwise, re_search_internal could infloop on OOM.
50422 2010-12-25 Ulrich Drepper <drepper@gmail.com>
50425 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
50426 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
50427 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
50428 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
50431 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
50434 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
50435 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
50437 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
50439 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
50440 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
50441 script has SORT_BY_INIT_PRIORITY.
50442 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
50443 NO_CTORS_DTORS_SECTIONS is defined.
50444 * elf/soinit.c: Likewise.
50445 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
50446 NO_CTORS_DTORS_SECTIONS is defined.
50447 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
50448 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
50449 * sysdeps/sh/init-first.c: Likewise.
50450 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
50452 2010-12-24 Ulrich Drepper <drepper@gmail.com>
50454 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
50455 always use the slow path.
50457 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
50459 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
50460 similar rule which adds the sysdep directories to the header search in
50461 order to pick up the correct platform stackinfo.h.
50462 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
50463 perform test if it is, otherwise return successfully without testing.
50464 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
50465 DEFAULT_STACK_PERMS define in stackinfo.h.
50466 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
50467 defined in stackinfo.h.
50468 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
50469 DEFAULT_STACK_PERMS defined in stackinfo.h.
50470 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
50471 * sysdeps/ia64/stackinfo.h: Likewise.
50472 * sysdeps/s390/stackinfo.h: Likewise.
50473 * sysdeps/sh/stackinfo.h: Likewise.
50474 * sysdeps/sparc/stackinfo.h: Likewise.
50475 * sysdeps/x86_64/stackinfo.h: Likewise.
50476 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
50477 PF_X for powerpc64. Retain PF_X for powerpc32.
50479 2010-12-19 Ulrich Drepper <drepper@gmail.com>
50481 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
50483 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
50484 GETDENTS_64BIT_ALIGNED.
50486 2010-12-14 Ulrich Drepper <dreper@gmail.com>
50488 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
50490 2010-12-10 Andreas Schwab <schwab@redhat.com>
50492 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
50495 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
50496 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
50498 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
50499 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
50501 2010-12-09 Ulrich Drepper <drepper@gmail.com>
50504 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
50507 2010-12-09 Jakub Jelinek <jakub@redhat.com>
50509 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
50511 2010-12-03 Ulrich Drepper <drepper@gmail.com>
50513 * po/it.po: Update from translation team.
50515 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
50517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
50520 2010-11-30 Ulrich Drepper <drepper@gmail.com>
50522 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
50524 2010-11-24 Andreas Schwab <schwab@redhat.com>
50526 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
50528 (gaih_getanswer_slice): Likewise.
50530 2010-10-20 Jakub Jelinek <jakub@redhat.com>
50532 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
50534 2010-05-31 Petr Baudis <pasky@suse.cz>
50537 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
50538 silently even in the chroot mode.
50540 2010-11-22 Ulrich Drepper <drepper@gmail.com>
50542 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
50543 last patch a bit. Pretty printing
50545 2010-05-31 Petr Baudis <pasky@suse.cz>
50548 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
50549 initialization of skip_initgroups_dyn.
50551 2010-11-19 Ulrich Drepper <drepper@gmail.com>
50553 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
50554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50556 2010-11-16 Ulrich Drepper <drepper@gmail.com>
50558 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
50560 2010-11-11 Andreas Schwab <schwab@redhat.com>
50562 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
50563 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
50564 (tst-fnmatch-ENV): Set MALLOC_TRACE.
50565 ($(objpfx)tst-fnmatch-mem): New rule.
50566 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
50567 * posix/tst-fnmatch.c (main): Call mtrace.
50569 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
50571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50572 Support Intel processor model 6 and model 0x2c.
50574 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
50576 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
50579 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
50582 * string/test-strncasecmp.c (check_result): New function.
50583 (do_one_test): Use it.
50584 (check1): New function.
50585 (test_main): Use it.
50586 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
50587 Support strcasecmp and strncasecmp.
50589 2010-11-08 Ulrich Drepper <drepper@gmail.com>
50592 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
50593 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50595 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
50597 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
50599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50601 * sysdeps/x86_64/multiarch/bzero.S: New file.
50602 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
50603 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
50604 * sysdeps/x86_64/multiarch/memset.S: New file.
50605 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
50606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50607 Set bit_Prefer_SSE_for_memop for Intel processors.
50608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
50610 (index_Prefer_SSE_for_memop): Define.
50611 (HAS_PREFER_SSE_FOR_MEMOP): Define.
50613 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
50615 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
50616 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
50618 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
50621 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50622 (__x86_64_raw_data_cache_size_half): Likewise.
50623 (__x86_64_raw_shared_cache_size): Likewise.
50624 (__x86_64_raw_shared_cache_size_half): Likewise.
50626 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
50627 (__x86_64_raw_data_cache_size_half): Likewise.
50628 (__x86_64_raw_shared_cache_size): Likewise.
50629 (__x86_64_raw_shared_cache_size_half): Likewise.
50630 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
50631 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
50632 and __x86_64_raw_shared_cache_size_half. Round
50633 __x86_64_data_cache_size_half, __x86_64_data_cache_size
50634 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
50635 to multiple of 256 bytes.
50637 2010-11-03 Ulrich Drepper <drepper@gmail.com>
50640 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
50641 of inacessible symlinks. Verify result of symlink before returning it.
50642 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50643 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
50645 2010-10-28 Erich Ritz <erichritz@gmail.com>
50647 * math/math.h (isinf): Fix typo in comment.
50649 2010-11-01 Ulrich Drepper <drepper@gmail.com>
50651 * po/da.po: Update from translation team.
50653 2010-10-26 Ulrich Drepper <drepper@gmail.com>
50655 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
50656 is added to the list.
50658 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50659 Ulrich Drepper <drepper@gmail.com>
50661 * elf/dl-object.c (_dl_new_object): Don't append the new object to
50662 the global list here. Move code to...
50663 (_dl_add_to_namespace_list): ...here. New function.
50664 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
50665 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
50666 * elf/dl-load.c (lose): Don't remove the element from the list.
50667 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
50668 (_dl_map_object): Likewise.
50670 2010-10-25 Ulrich Drepper <drepper@gmail.com>
50673 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
50674 into all bytes of SSE register.
50675 Patch by Richard Li <richardpku@gmail.com>.
50677 2010-10-24 Ulrich Drepper <drepper@gmail.com>
50680 * malloc/malloc.c (_int_free): Fill correct number of bytes when
50683 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
50685 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
50686 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
50687 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
50688 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
50691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
50693 2010-10-22 Andreas Schwab <schwab@redhat.com>
50695 * include/dlfcn.h (__RTLD_SECURE): Define.
50696 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
50697 mode & __RTLD_SECURE instead.
50698 (open_path): Rename preloaded parameter to secure.
50699 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
50700 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
50701 * elf/dl-deps.c (openaux): Likewise.
50702 * elf/rtld.c (struct map_args): Remove is_preloaded.
50703 (map_doit): Don't use it.
50704 (dl_main): Likewise.
50705 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
50706 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
50708 2010-09-09 Andreas Schwab <schwab@redhat.com>
50710 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
50711 (sysd-rules-targets): Remove duplicates.
50712 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
50713 rtld-%.$o dependency.
50715 2010-10-18 Andreas Schwab <schwab@redhat.com>
50717 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
50718 _dl_map_object do it.
50720 2010-10-19 Ulrich Drepper <drepper@gmail.com>
50722 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
50723 fast fma builtins, define the macros in the C99 standard.
50724 (FP_FAST_FMAF): Likewise.
50725 (FP_FAST_FMAL): Likewise.
50726 * sysdeps/x86_64/bits/mathdef.h: Likewise.
50728 * bits/mathdef.h: Update copyright year.
50729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50731 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
50733 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
50734 builtins, define the macros in the C99 standard.
50735 (FP_FAST_FMAF): Likewise.
50736 (FP_FAST_FMAL): Likewise.
50737 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
50739 (FP_FAST_FMAF): Likewise.
50741 2010-10-15 Jakub Jelinek <jakub@redhat.com>
50744 * math/libm-test.inc (fma_test): Some new testcases.
50745 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
50746 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
50747 y and infinite z. Do multiplication by C already in long double.
50748 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
50749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
50750 y and infinite z. Do bitwise or of inexact bit into u.d.
50751 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
50752 * sysdeps/i386/fpu/s_fmaf.S: Removed.
50753 * sysdeps/i386/fpu/s_fma.S: Removed.
50754 * sysdeps/i386/fpu/s_fmal.S: Removed.
50756 2010-10-16 Jakub Jelinek <jakub@redhat.com>
50759 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
50760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
50761 computation is not scheduled after fetestexcept. Fix value
50762 of minimum denormal long double.
50764 2010-10-14 Jakub Jelinek <jakub@redhat.com>
50767 * math/libm-test.inc (fma_test): Add some more tests.
50768 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
50771 2010-10-15 Andreas Schwab <schwab@redhat.com>
50773 * scripts/data/localplt-s390-linux-gnu.data: New file.
50774 * scripts/data/localplt-s390x-linux-gnu.data: New file.
50776 2010-10-13 Jakub Jelinek <jakub@redhat.com>
50779 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
50780 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
50782 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
50784 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
50785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
50786 if one of x and y is very large and the other is subnormal.
50787 * sysdeps/s390/fpu/s_fmaf.c: New file.
50788 * sysdeps/s390/fpu/s_fma.c: New file.
50789 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
50790 * sysdeps/powerpc/fpu/s_fma.S: New file.
50791 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
50792 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
50793 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
50795 2010-10-12 Jakub Jelinek <jakub@redhat.com>
50798 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
50800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
50801 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
50802 * sysdeps/i386/i686/multiarch/s_fma.c: Include
50803 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
50804 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
50805 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
50806 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
50808 2010-10-12 Ulrich Drepper <drepper@redhat.com>
50811 * posix/regcomp.c (parse_branch): One more memory leak plugged.
50812 * posix/bug-regex31.input: Add test case.
50814 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50816 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
50817 * posix/bug-regex31.input: New file.
50820 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
50821 (parse_sub_exp): Fix last change, use postorder.
50823 * posix/bug-regex31.c: New file.
50824 * posix/Makefile: Add rules to build and run bug-regex31.
50826 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
50829 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
50832 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
50833 to have entries in sys_siglist.
50836 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
50839 2010-10-07 Jakub Jelinek <jakub@redhat.com>
50842 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
50843 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
50844 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
50845 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
50846 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50847 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
50848 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
50849 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
50850 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
50851 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
50852 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
50853 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
50854 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
50855 * math/ftestexcept.c (fetestexcept): Likewise.
50856 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
50857 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
50858 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
50859 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
50860 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
50861 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
50862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50864 2010-10-11 Ulrich Drepper <drepper@gmail.com>
50867 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
50870 2010-10-06 Ulrich Drepper <drepper@gmail.com>
50872 * string/bug-strstr1.c: New file.
50873 * string/Makefile: Add rules to build and run bug-strstr1.
50875 2010-10-05 Eric Blake <eblake@redhat.com>
50878 * string/str-two-way.h (two_way_long_needle): Always clear memory
50879 when skipping input due to the shift table.
50881 2010-10-03 Ulrich Drepper <drepper@gmail.com>
50884 * malloc/mcheck.c: Handle large requests.
50887 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
50888 for strncmp and strncasecmp.
50889 * string/stratcliff.c: Add tests for strcmp and strncmp.
50890 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
50892 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50894 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
50897 2010-09-30 Andreas Jaeger <aj@suse.de>
50899 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
50900 (CGROUP_SUPER_MAGIC): Define.
50901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50902 Handle btrfs and cgroup file systems.
50903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
50906 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
50908 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
50909 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
50911 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50914 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
50915 trying to locate the ELF header.
50917 2010-09-27 Andreas Schwab <schwab@redhat.com>
50920 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
50921 Mask out sign-bit copies when constructing f_fsid.
50923 2010-09-24 Petr Baudis <pasky@suse.cz>
50925 * debug/stack_chk_fail_local.c: Add missing licence exception.
50926 * debug/warning-nop.c: Likewise.
50928 2010-09-15 Joseph Myers <joseph@codesourcery.com>
50930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
50931 implementing getdents64 using getdents syscall, set d_type if
50932 __ASSUME_GETDENTS32_D_TYPE.
50934 2010-09-16 Andreas Schwab <schwab@redhat.com>
50936 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
50937 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
50939 2010-09-21 Ulrich Drepper <drepper@redhat.com>
50942 * posix/unistd.h: Undo change of feature selection for ftruncate from
50945 2010-09-20 Ulrich Drepper <drepper@redhat.com>
50947 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
50950 2010-09-20 Andreas Schwab <schwab@redhat.com>
50952 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
50954 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
50956 2010-09-14 Andreas Schwab <schwab@redhat.com>
50958 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
50959 variables after CHECK_SP call.
50960 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
50962 2010-09-13 Andreas Schwab <schwab@redhat.com>
50963 Ulrich Drepper <drepper@redhat.com>
50965 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
50966 re-relocationg ld.so.
50967 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
50968 _dl_init_paths call.
50969 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
50972 2010-09-14 Ulrich Drepper <drepper@redhat.com>
50974 * resolv/res_init.c (__res_vinit): Count the default server we added.
50976 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
50977 Ulrich Drepper <drepper@redhat.com>
50980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50981 (____longjmp_chk): Use %ebx for saving value across system call.
50984 2010-09-06 Andreas Schwab <schwab@redhat.com>
50986 * manual/Makefile: Don't mix pattern rules with normal rules.
50988 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
50990 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
50992 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
50993 * libio/iofopncook.c (_IO_cookie_init): Likewise.
50994 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
50995 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
50996 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50999 2010-09-04 Ulrich Drepper <drepper@redhat.com>
51002 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51003 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51005 2010-09-02 Ulrich Drepper <drepper@redhat.com>
51007 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51008 * sysdeps/x86_64/addmul_1.S: Likewise.
51009 * sysdeps/x86_64/lshift.S: Likewise.
51010 * sysdeps/x86_64/mul_1.S: Likewise.
51011 * sysdeps/x86_64/rshift.S: Likewise.
51012 * sysdeps/x86_64/sub_n.S: Likewise.
51013 * sysdeps/x86_64/submul_1.S: Likewise.
51015 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51017 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51018 Define __sched_param instead of SCHED_* and sched_param when
51019 <bits/sched.h> is included with __need_schedparam defined.
51020 * bits/sched.h [__need_schedparam]
51021 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
51022 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51023 (__defined_schedparam): Define to 1.
51024 (__sched_param): New structure, identical to sched_param.
51025 (__need_schedparam): Undefine.
51027 2010-08-31 Mike Frysinger <vapier@gentoo.org>
51029 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51030 (epoll_create1): Declare.
51032 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51034 2010-08-31 Andreas Schwab <schwab@redhat.com>
51037 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51038 shifting retval into place.
51040 2010-09-01 Ulrich Drepper <drepper@redhat.com>
51042 * nis/rpcsvc/nis.h: Update copyright notice.
51043 * nis/rpcsvc/nis.x: Likewise.
51044 * nis/rpcsvc/nis_callback.h: Likewise.
51045 * nis/rpcsvc/nis_callback.x: Likewise.
51046 * nis/rpcsvc/nis_object.x: Likewise.
51047 * nis/rpcsvc/nis_tags.h: Likewise.
51048 * nis/rpcsvc/yp.h: Likewise.
51049 * nis/rpcsvc/yp.x: Likewise.
51050 * nis/rpcsvc/ypupd.h: Likewise.
51051 * nis/yp_xdr.c: Likewise.
51052 * nis/ypupdate_xdr.c: Likewise.
51054 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51055 mainly the body of pmap_getport. Add parameters to specify timeouts.
51056 (pmap_getport): Use __libc_rpc_getport.
51057 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51058 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51059 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51061 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51066 2010-08-27 Roland McGrath <roland@redhat.com>
51068 * sysdeps/i386/i686/multiarch/Makefile
51069 (CFLAGS-varshift.c): New variable.
51071 2010-08-27 Ulrich Drepper <drepper@redhat.com>
51073 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51074 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51076 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51078 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51080 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51082 * sysdeps/x86_64/strlen.S: Unroll the loop.
51083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51084 strlen-sse2 strlen-sse2-bsf.
51085 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51086 __strlen_no_bsf if bit_Slow_BSF is set.
51087 (__strlen_sse42): Removed.
51088 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51089 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51091 2010-08-25 Roland McGrath <roland@redhat.com>
51093 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51094 * sysdeps/x86_64/multiarch/varshift.c: New file.
51095 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51096 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51097 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51098 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51100 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51103 strlen-sse2 strlen-sse2-bsf.
51104 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51105 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51106 (__strlen_sse2): Removed.
51107 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51108 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51110 bit_Slow_BSF for Atom.
51111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51112 (index_Slow_BSF): Define.
51113 (HAS_SLOW_BSF): Define.
51115 2010-08-25 Ulrich Drepper <drepper@redhat.com>
51118 * resolv/res_init.c (__res_vinit): When no server address at all
51119 is given default to loopback.
51121 2010-08-24 Roland McGrath <roland@redhat.com>
51123 * configure.in: Remove config-name.h generation.
51124 * configure: Regenerated.
51125 * config-name.in: File removed.
51126 * scripts/config-uname.sh: New file.
51127 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51128 ($(objdir)config-name.h): New target.
51130 * sunrpc/rpc_parse.h: Avoid nested comment.
51132 2010-08-24 Richard Henderson <rth@redhat.com>
51133 Ulrich Drepper <drepper@redhat.com>
51134 H.J. Lu <hongjiu.lu@intel.com>
51136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51138 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51139 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51140 _mm_alignr_epi8 with _mm_loadu_si128.
51141 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51142 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51143 (__m128i_shift_right): Removed.
51144 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51145 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51146 * sysdeps/x86_64/multiarch/varshift.h: New file.
51147 * sysdeps/x86_64/multiarch/varshift.S: New file.
51149 2010-08-21 Mike Frysinger <vapier@gentoo.org>
51151 * configure.in: Move assembler checks to before sysdep dir checking.
51153 2010-08-20 Petr Baudis <pasky@suse.cz>
51155 * LICENSES: Sync the sunrpc license.
51157 2010-08-19 Ulrich Drepper <drepper@redhat.com>
51159 * sunrpc/auth_des.c: Update copyright notice once again.
51160 * sunrpc/auth_none.c: Likewise.
51161 * sunrpc/auth_unix.c: Likewise.
51162 * sunrpc/authdes_prot.c: Likewise.
51163 * sunrpc/authuxprot.c: Likewise.
51164 * sunrpc/bindrsvprt.c: Likewise.
51165 * sunrpc/clnt_gen.c: Likewise.
51166 * sunrpc/clnt_perr.c: Likewise.
51167 * sunrpc/clnt_raw.c: Likewise.
51168 * sunrpc/clnt_simp.c: Likewise.
51169 * sunrpc/clnt_tcp.c: Likewise.
51170 * sunrpc/clnt_udp.c: Likewise.
51171 * sunrpc/clnt_unix.c: Likewise.
51172 * sunrpc/des_crypt.c: Likewise.
51173 * sunrpc/des_soft.c: Likewise.
51174 * sunrpc/get_myaddr.c: Likewise.
51175 * sunrpc/getrpcport.c: Likewise.
51176 * sunrpc/key_call.c: Likewise.
51177 * sunrpc/key_prot.c: Likewise.
51178 * sunrpc/openchild.c: Likewise.
51179 * sunrpc/pm_getmaps.c: Likewise.
51180 * sunrpc/pm_getport.c: Likewise.
51181 * sunrpc/pmap_clnt.c: Likewise.
51182 * sunrpc/pmap_prot.c: Likewise.
51183 * sunrpc/pmap_prot2.c: Likewise.
51184 * sunrpc/pmap_rmt.c: Likewise.
51185 * sunrpc/rpc/auth.h: Likewise.
51186 * sunrpc/rpc/auth_unix.h: Likewise.
51187 * sunrpc/rpc/clnt.h: Likewise.
51188 * sunrpc/rpc/des_crypt.h: Likewise.
51189 * sunrpc/rpc/key_prot.h: Likewise.
51190 * sunrpc/rpc/netdb.h: Likewise.
51191 * sunrpc/rpc/pmap_clnt.h: Likewise.
51192 * sunrpc/rpc/pmap_prot.h: Likewise.
51193 * sunrpc/rpc/pmap_rmt.h: Likewise.
51194 * sunrpc/rpc/rpc.h: Likewise.
51195 * sunrpc/rpc/rpc_des.h: Likewise.
51196 * sunrpc/rpc/rpc_msg.h: Likewise.
51197 * sunrpc/rpc/svc.h: Likewise.
51198 * sunrpc/rpc/svc_auth.h: Likewise.
51199 * sunrpc/rpc/types.h: Likewise.
51200 * sunrpc/rpc/xdr.h: Likewise.
51201 * sunrpc/rpc_clntout.c: Likewise.
51202 * sunrpc/rpc_cmsg.c: Likewise.
51203 * sunrpc/rpc_common.c: Likewise.
51204 * sunrpc/rpc_cout.c: Likewise.
51205 * sunrpc/rpc_dtable.c: Likewise.
51206 * sunrpc/rpc_hout.c: Likewise.
51207 * sunrpc/rpc_main.c: Likewise.
51208 * sunrpc/rpc_parse.c: Likewise.
51209 * sunrpc/rpc_parse.h: Likewise.
51210 * sunrpc/rpc_prot.c: Likewise.
51211 * sunrpc/rpc_sample.c: Likewise.
51212 * sunrpc/rpc_scan.c: Likewise.
51213 * sunrpc/rpc_scan.h: Likewise.
51214 * sunrpc/rpc_svcout.c: Likewise.
51215 * sunrpc/rpc_tblout.c: Likewise.
51216 * sunrpc/rpc_util.c: Likewise.
51217 * sunrpc/rpc_util.h: Likewise.
51218 * sunrpc/rpcinfo.c: Likewise.
51219 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51220 * sunrpc/rpcsvc/key_prot.x: Likewise.
51221 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51222 * sunrpc/rpcsvc/mount.x: Likewise.
51223 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51224 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51225 * sunrpc/rpcsvc/rex.x: Likewise.
51226 * sunrpc/rpcsvc/rstat.x: Likewise.
51227 * sunrpc/rpcsvc/rusers.x: Likewise.
51228 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51229 * sunrpc/rpcsvc/spray.x: Likewise.
51230 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51231 * sunrpc/rtime.c: Likewise.
51232 * sunrpc/svc.c: Likewise.
51233 * sunrpc/svc_auth.c: Likewise.
51234 * sunrpc/svc_authux.c: Likewise.
51235 * sunrpc/svc_raw.c: Likewise.
51236 * sunrpc/svc_run.c: Likewise.
51237 * sunrpc/svc_simple.c: Likewise.
51238 * sunrpc/svc_tcp.c: Likewise.
51239 * sunrpc/svc_udp.c: Likewise.
51240 * sunrpc/svc_unix.c: Likewise.
51241 * sunrpc/svcauth_des.c: Likewise.
51242 * sunrpc/xcrypt.c: Likewise.
51243 * sunrpc/xdr.c: Likewise.
51244 * sunrpc/xdr_array.c: Likewise.
51245 * sunrpc/xdr_float.c: Likewise.
51246 * sunrpc/xdr_mem.c: Likewise.
51247 * sunrpc/xdr_rec.c: Likewise.
51248 * sunrpc/xdr_ref.c: Likewise.
51249 * sunrpc/xdr_sizeof.c: Likewise.
51250 * sunrpc/xdr_stdio.c: Likewise.
51252 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51255 2010-08-19 Andreas Schwab <schwab@redhat.com>
51257 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51259 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
51261 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51262 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51263 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51264 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51265 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51266 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51267 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51268 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51270 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51271 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51272 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51273 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51274 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51276 2010-07-26 Anton Blanchard <anton@samba.org>
51278 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51279 * malloc/arena.c (heap_trim): Likewise.
51281 2010-08-16 Ulrich Drepper <drepper@redhat.com>
51283 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51285 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51286 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51288 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51290 * sysdeps/i386/elf/Makefile: New file.
51292 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51294 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
51295 from fanotify_init.
51296 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
51297 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51299 2010-08-15 Ulrich Drepper <drepper@redhat.com>
51301 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
51303 * sysdeps/multiarch/strcmp.S: Likewise.
51305 2010-08-14 Ulrich Drepper <drepper@redhat.com>
51307 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51308 strncase_l-nonascii.
51309 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51310 Add strncase_l-ssse3.
51311 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
51312 * sysdeps/x86_64/strcmp.S: Likewise.
51313 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
51314 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
51315 * sysdeps/x86_64/strncase.S: New file.
51316 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
51317 * sysdeps/x86_64/strncase_l.S: New file.
51318 * string/Makefile (strop-tests): Add strncasecmp.
51319 * string/test-strncasecmp.c: New file.
51321 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
51324 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
51325 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
51327 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
51329 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
51331 2010-08-12 Ulrich Drepper <drepper@redhat.com>
51333 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
51334 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
51335 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
51337 2010-05-01 Alan Modra <amodra@gmail.com>
51339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
51340 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
51341 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
51342 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
51343 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
51344 tidying. Don't tail-call __sigjmp_save for static lib.
51345 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
51347 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
51348 (CALL_MCOUNT): Add eh info, and nop after bl.
51349 (TAIL_CALL_SYSCALL_ERROR): New macro.
51350 (PSEUDO_RET): Use it.
51351 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
51352 Correct save location of integer regs and cr.
51353 (_dl_profile_resolve): Correct cr save location. Delete nops
51354 after bl when SHARED. Reduce cfi size a little by better
51355 placement of cfi directives.
51356 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
51357 make a stack frame. Instead use parm save area as a temp.
51358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
51359 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
51360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
51361 Don't make a stack frame for parent, use parm save area.
51362 Increase child stack frame to 112 bytes. Don't save unused reg,
51363 and adjust reg usage. Set up cfi on error recovery and
51364 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
51365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
51366 (__makecontext): Add dummy nop after jump to exit.
51367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
51368 Use correct parm save area and cr save, reduce stack frame.
51369 Correct cfi for possible PSEUDO_RET frame setup.
51370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
51371 Branch to local label emitted by PSEUDO_RET rather than
51374 2010-08-12 Andreas Schwab <schwab@redhat.com>
51377 * locale/programs/locale.c (print_assignment): New function.
51378 (show_locale_vars): Use it.
51380 2010-08-11 Ulrich Drepper <drepper@redhat.com>
51382 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
51384 (struct statfs64): Likewise.
51385 (_STATFS_F_FLAGS): Define.
51386 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
51387 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51388 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
51389 (ST_VALID): Define locally.
51390 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
51391 __statvfs_getflags, use the provided value.
51392 * sysdeps/unix/sysv/linux/kernel-features.h: Define
51393 __ASSUME_STATFS_F_FLAGS.
51395 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
51397 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
51398 Add sys/fanotify.h.
51399 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
51400 fanotify_mask for GLIBC_2.13.
51401 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
51402 fanotify_init and fanotify_mark.
51403 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
51404 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
51406 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
51408 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
51409 prlimit64 for GLIBC_2.13.
51410 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
51412 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
51414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
51415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51416 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
51417 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
51418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
51420 * sysdeps/unix/sysv/linux/prlimit.c: New file.
51423 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
51424 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
51426 * nss/Makefile: Add rules to build and run tst-nss-test1.
51427 * shlib-versions: Add entry for libnss_test1.
51428 * nss/nss_test1.c: New file.
51429 * nss/tst-nss-test1.c: New file.
51431 * nss/nsswitch.c (__nss_database_custom): Define new variable.
51432 (__nss_configure_lookup): Set appropriate entry in
51433 __nss_configure_lookup to true.
51434 * nss/nsswitch.h: Define enum with indeces of databases in
51435 databases and __nss_database_custom arrays. Declare
51436 __nss_database_custom.
51437 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
51438 to avoid using nscd when custom rules are installed.
51439 * nss/getXXbyYY_r.c: Likewise.
51440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51442 * nss/nss_files/files-parse.c: Whitespace fixes.
51444 2010-08-09 Ulrich Drepper <drepper@redhat.com>
51447 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
51448 * posix/fnmatch_loop.c: Likewise.
51450 2010-07-17 Andi Kleen <ak@linux.intel.com>
51452 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
51453 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
51454 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
51455 * Versions.def [GLIBC_2.13]: Add.
51457 2010-08-06 Ulrich Drepper <drepper@redhat.com>
51459 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51460 Also fail if tpwd after pwuid call is NULL.
51462 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
51464 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
51465 when converting to ms.
51467 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51469 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
51470 EOPNOTSUPP errors with ENOTTY.
51471 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
51472 EOPNOTSUPP errors with ENOTTY.
51474 2010-07-31 Ulrich Drepper <drepper@redhat.com>
51476 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
51477 Add strcasecmp_l-ssse3.
51478 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
51480 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
51481 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
51482 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
51484 2010-07-30 Ulrich Drepper <drepper@redhat.com>
51486 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
51488 * string/Makefile (strop-tests): Add strcasecmp.
51489 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
51490 strcasecmp_l-nonascii.
51491 (gen-as-const-headers): Add locale-defines.sym.
51492 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
51493 * sysdeps/x86_64/strcasecmp.S: New file.
51494 * sysdeps/x86_64/strcasecmp_l.S: New file.
51495 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
51496 * sysdeps/x86_64/locale-defines.sym: New file.
51497 * string/test-strcasecmp.c: New file.
51499 * string/test-strcasestr.c: Test both ends of the range of characters.
51500 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
51502 2010-07-29 Roland McGrath <roland@redhat.com>
51505 * manual/locale.texi (Yes-or-No Questions): Fix example code.
51507 2010-07-27 Ulrich Drepper <drepper@redhat.com>
51509 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
51512 2010-07-27 Andreas Schwab <schwab@redhat.com>
51514 * manual/memory.texi (Malloc Tunable Parameters): Document
51517 2010-07-26 Roland McGrath <roland@redhat.com>
51520 * configure.in (-fgnu89-inline check): Set and substitute
51521 gnu89_inline, not libc_cv_gnu89_inline.
51522 * configure: Regenerated.
51523 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
51525 2010-07-26 Ulrich Drepper <drepper@redhat.com>
51527 * string/test-strnlen.c: New file.
51528 * string/Makefile (strop-tests): Add strnlen.
51529 * string/tester.c (test_strnlen): Add a few more test cases.
51530 * string/tst-strlen.c: Better error reporting.
51532 * sysdeps/x86_64/strnlen.S: New file.
51534 2010-07-24 Ulrich Drepper <drepper@redhat.com>
51536 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
51537 lower-latency instructions.
51539 2010-07-23 Ulrich Drepper <drepper@redhat.com>
51541 * string/test-strcasestr.c: New file.
51542 * string/test-strstr.c: New file.
51543 * string/Makefile (strop-tests): Add strstr and strcasestr.
51544 * string/str-two-way.h: Don't undefine MAX.
51545 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
51547 2010-07-21 Andreas Schwab <schwab@redhat.com>
51549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51550 strcasestr-nonascii.
51551 (CFLAGS-strcasestr-nonascii.c): Define.
51552 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
51553 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
51554 Remove unused attribute.
51556 2010-07-20 Roland McGrath <roland@redhat.com>
51558 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
51559 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
51560 ld.so.cache was broken. With it, there is no way to disable dsocaps
51561 like LD_HWCAP_MASK can disable hwcaps.
51563 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51565 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
51567 2010-07-16 Ulrich Drepper <drepper@redhat.com>
51569 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
51570 call in strcasestr.
51571 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
51572 __strcasestr_sse42_nonascii.
51573 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
51574 strcasestr-nonascii.c.
51575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
51577 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
51579 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
51580 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
51581 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
51582 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
51584 2010-07-09 Ulrich Drepper <drepper@redhat.com>
51586 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
51589 2010-07-06 Andreas Schwab <schwab@redhat.com>
51592 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
51595 2010-07-06 Ulrich Drepper <drepper@redhat.com>
51597 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
51598 _PC_PIPE_BUF using F_GETPIPE_SZ.
51600 2010-07-05 Roland McGrath <roland@redhat.com>
51602 * manual/arith.texi (Rounding Functions): Fix rint description
51603 implicit in round description.
51605 2010-07-02 Ulrich Drepper <drepper@redhat.com>
51607 * elf/Makefile: Fix linking for a few tests to make recent linker
51610 2010-06-30 Andreas Schwab <schwab@redhat.com>
51612 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51613 $(common-objpfx)libc_nonshared.a.
51615 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
51617 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
51618 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
51619 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51620 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51621 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
51622 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
51623 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51624 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
51626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
51627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
51628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
51629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
51630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
51631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
51632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
51633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
51634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
51635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
51636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
51637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
51638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
51639 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
51640 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
51641 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
51642 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
51643 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
51644 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
51645 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
51646 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
51647 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
51648 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
51649 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
51650 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
51651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
51652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
51653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
51654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
51655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
51656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
51657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
51658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
51659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
51660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
51661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
51662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
51663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
51664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
51666 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
51668 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
51669 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
51670 * string/memmove.c (memmove): Renamed to ...
51671 (MEMMOVE): ...this. Default to memmove.
51672 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
51673 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
51675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51676 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
51677 mempcpy-ssse3-back memmove-ssse3-back.
51678 * sysdeps/x86_64/multiarch/bcopy.S: New file .
51679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
51680 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
51681 * sysdeps/x86_64/multiarch/memcpy.S: New file.
51682 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
51683 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
51684 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
51685 * sysdeps/x86_64/multiarch/memmove.c: New file.
51686 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
51687 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
51688 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
51689 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
51690 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
51691 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
51693 (index_Fast_Copy_Backward): Define.
51694 (HAS_ARCH_FEATURE): Define.
51695 (HAS_FAST_REP_STRING): Define.
51696 (HAS_FAST_COPY_BACKWARD): Define.
51698 2010-06-21 Andreas Schwab <schwab@redhat.com>
51700 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
51701 Restore proper fallback handling.
51703 2010-06-19 Ulrich Drepper <drepper@redhat.com>
51706 * posix/group_member.c (__group_member): Correct checking loop.
51708 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
51709 OOM in getpwuid_r correctly. Return error number when the caller
51710 should return, otherwise -1.
51711 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
51712 call returning > 0 value.
51713 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
51715 2010-06-07 Andreas Schwab <schwab@redhat.com>
51717 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
51718 libc_nonshared.a from targets in modules-names.
51720 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
51722 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
51725 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
51727 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
51728 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
51729 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
51730 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
51732 2010-06-02 Andreas Schwab <schwab@redhat.com>
51734 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
51736 2010-06-14 Ulrich Drepper <drepper@redhat.com>
51738 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
51740 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51741 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51744 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
51747 2010-06-14 Roland McGrath <roland@redhat.com>
51749 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
51751 2010-06-07 Jakub Jelinek <jakub@redhat.com>
51753 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
51754 __REDIRECT followed by __THROW.
51755 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
51756 * posix/getopt.h (getopt): Likewise.
51758 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
51760 * hurd/lookup-at.c (__file_name_lookup_at): Accept
51761 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
51762 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
51764 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
51765 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
51767 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
51769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
51771 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
51774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51775 Properly check family and model.
51777 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
51779 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
51781 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
51783 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
51785 2010-05-21 Ulrich Drepper <drepper@redhat.com>
51787 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
51790 2010-05-19 Andreas Schwab <schwab@redhat.com>
51792 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
51795 2010-05-21 Andreas Schwab <schwab@redhat.com>
51797 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
51798 and internal_recvmmsg.
51799 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
51800 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
51801 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
51802 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
51804 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
51805 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51806 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51808 2010-05-20 Andreas Schwab <schwab@redhat.com>
51810 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
51812 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
51814 POWER7 optimizations.
51815 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
51816 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
51818 2010-05-19 Ulrich Drepper <drepper@redhat.com>
51820 * version.h: Update for 2.13 development version.
51822 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
51824 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
51825 exceptions. Return 0.
51827 2010-05-07 Roland McGrath <roland@redhat.com>
51829 * elf/ldconfig.c (main): Add a const.
51831 2010-05-06 Ulrich Drepper <drepper@redhat.com>
51833 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
51834 (args_options): Add no-idn option.
51835 (ahosts_keys_int): Add idn_flags to ai_flags.
51836 (parse_option): Handle 'i' option to clear idn_flags.
51838 * malloc/malloc.c (_int_free): Possible race in the most recently
51839 added check. Only act on the data if no current modification
51842 See ChangeLog.17 for earlier changes.